Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-11 23:59:02.746046
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/59/image_10072025_23_59_24_10652.jpg', 2), ('/home/nano/Desktop/images/10072025/23/59/image_10072025_23_59_13_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/23/58/image_10072025_23_59_03_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_54_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_43_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_34_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/59/image_10072025_23_59_24_10652.jpg', '/home/nano/Desktop/images/10072025/23/59/image_10072025_23_59_13_9652.jpg', '/home/nano/Desktop/images/10072025/23/58/image_10072025_23_59_03_9650.jpg', '/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_54_10661.jpg', '/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_43_9653.jpg', '/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_34_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/59/image_10072025_23_59_24_10652.jpg
/home/nano/Desktop/images/10072025/23/59/image_10072025_23_59_13_9652.jpg
/home/nano/Desktop/images/10072025/23/58/image_10072025_23_59_03_9650.jpg
/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_54_10661.jpg
/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_43_9653.jpg
/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_34_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371742289","1371742274","1371742282","1371742285","1371742293","1371742278"],"photo_ids_order":["1371742274","1371742278","1371742282","1371742285","1371742289","1371742293"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be5c1b486180d0c4efdfb4a48fa6533b.jpg","text":"TemporaryFile(/tmp/multipartBody8452932039351294273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271205987,"filename":"image_10072025_23_58_43_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1c5a38fa7dcd6d1782028950d5cd451.jpg","text":"TemporaryFile(/tmp/multipartBody3833254331142767257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271205987,"filename":"image_10072025_23_59_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e577350c6b62d525585f5b7ed9c8be27.jpg","text":"TemporaryFile(/tmp/multipartBody2136503914600315442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271205987,"filename":"image_10072025_23_59_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53ba0b8c4a12efb8a0850b676cf5c93f.jpg","text":"TemporaryFile(/tmp/multipartBody1359752413247746577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271205987,"filename":"image_10072025_23_58_54_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c20ec65bf0213e08ba3e0b5cf4916ab.jpg","text":"TemporaryFile(/tmp/multipartBody6976856837136226337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271205987,"filename":"image_10072025_23_58_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83290e4b0528cee8dbc743fb4b18f034.jpg","text":"TemporaryFile(/tmp/multipartBody582787018360549770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271205987,"filename":"image_10072025_23_59_13_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371742282","file1":"1371742278","file0":"1371742274","file4":"1371742289","file5":"1371742293","file3":"1371742285"},"map_files_photo_id_array":[{"photo_id":"1371742293","filename":"file5"},{"photo_id":"1371742282","filename":"file2"},{"photo_id":"1371742289","filename":"file4"},{"photo_id":"1371742278","filename":"file1"},{"photo_id":"1371742274","filename":"file0"},{"photo_id":"1371742285","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371742289":["hashtag1","hashtag2"]},{"1371742274":["hashtag1","hashtag2"]},{"1371742282":["hashtag1","hashtag2"]},{"1371742285":["hashtag1","hashtag2"]},{"1371742293":["hashtag1","hashtag2"]},{"1371742278":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371742289, 1371742274, 1371742282, 1371742285, 1371742293, 1371742278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11959958076477 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-11 23:59:46.851798
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_24_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_13_9673.jpg', 2), ('/home/nano/Desktop/images/10072025/23/57/image_10072025_23_58_04_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/23/57/image_10072025_23_57_43_9673.jpg', 2), ('/home/nano/Desktop/images/10072025/23/57/image_10072025_23_57_34_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/23/57/image_10072025_23_57_24_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_24_10662.jpg', '/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_13_9673.jpg', '/home/nano/Desktop/images/10072025/23/57/image_10072025_23_58_04_9657.jpg', '/home/nano/Desktop/images/10072025/23/57/image_10072025_23_57_43_9673.jpg', '/home/nano/Desktop/images/10072025/23/57/image_10072025_23_57_34_9644.jpg', '/home/nano/Desktop/images/10072025/23/57/image_10072025_23_57_24_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_24_10662.jpg
/home/nano/Desktop/images/10072025/23/58/image_10072025_23_58_13_9673.jpg
/home/nano/Desktop/images/10072025/23/57/image_10072025_23_58_04_9657.jpg
/home/nano/Desktop/images/10072025/23/57/image_10072025_23_57_43_9673.jpg
/home/nano/Desktop/images/10072025/23/57/image_10072025_23_57_34_9644.jpg
/home/nano/Desktop/images/10072025/23/57/image_10072025_23_57_24_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371742353","1371742341","1371742329","1371742349","1371742345","1371742356"],"photo_ids_order":["1371742329","1371742341","1371742345","1371742349","1371742353","1371742356"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a51480ea79247ebe7744374795e6179.jpg","text":"TemporaryFile(/tmp/multipartBody2952710165015244311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271250094,"filename":"image_10072025_23_57_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1061486c1f36fa40a1f90d538ec68753.jpg","text":"TemporaryFile(/tmp/multipartBody8508658644623186309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271250094,"filename":"image_10072025_23_58_13_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9e7ddf53a4d301e02fc881e4a479ac7.jpg","text":"TemporaryFile(/tmp/multipartBody733706397722349363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271250094,"filename":"image_10072025_23_58_24_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/016dd87c94fd6587ec2aa7bc3a652050.jpg","text":"TemporaryFile(/tmp/multipartBody5737858433037181344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271250094,"filename":"image_10072025_23_57_43_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ef2dae177f75ad7101c080953e9a9c5.jpg","text":"TemporaryFile(/tmp/multipartBody2065782460998616075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271250094,"filename":"image_10072025_23_58_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d876df0ae72bf197872e68758c6e14e4.jpg","text":"TemporaryFile(/tmp/multipartBody408088169397014078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271250094,"filename":"image_10072025_23_57_24_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371742345","file1":"1371742341","file0":"1371742329","file4":"1371742353","file5":"1371742356","file3":"1371742349"},"map_files_photo_id_array":[{"photo_id":"1371742356","filename":"file5"},{"photo_id":"1371742345","filename":"file2"},{"photo_id":"1371742353","filename":"file4"},{"photo_id":"1371742341","filename":"file1"},{"photo_id":"1371742329","filename":"file0"},{"photo_id":"1371742349","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371742353":["hashtag1","hashtag2"]},{"1371742341":["hashtag1","hashtag2"]},{"1371742329":["hashtag1","hashtag2"]},{"1371742349":["hashtag1","hashtag2"]},{"1371742345":["hashtag1","hashtag2"]},{"1371742356":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371742353, 1371742341, 1371742329, 1371742349, 1371742345, 1371742356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86066913604736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:00:31.962028
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_12072025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
0
3273661
0
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_44_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_34_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_23_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_14_9687.jpg', 2), ('/home/nano/Desktop/images/11072025/23/59/image_12072025_00_00_04_10667.jpg', 2)]
{'portfolio_id': 24862864, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1752271292000}
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_44_9630.jpg', '/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_34_10643.jpg', '/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_23_9650.jpg', '/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_14_9687.jpg', '/home/nano/Desktop/images/11072025/23/59/image_12072025_00_00_04_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_44_9630.jpg
/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_34_10643.jpg
/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_23_9650.jpg
/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_14_9687.jpg
/home/nano/Desktop/images/11072025/23/59/image_12072025_00_00_04_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371742515","1371742568","1371742541","1371742599","1371742488"],"photo_ids_order":["1371742488","1371742515","1371742541","1371742568","1371742599"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a7a76113d9364b7b021f439f9ab9f81.jpg","text":"TemporaryFile(/tmp/multipartBody4050196158414861835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271294569,"filename":"image_12072025_00_00_34_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37c94a7cca61b46e364a0464e8319bd1.jpg","text":"TemporaryFile(/tmp/multipartBody2967944797837650683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271294569,"filename":"image_12072025_00_00_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5531a4e82f17bb57e2af3bcf9831e0e4.jpg","text":"TemporaryFile(/tmp/multipartBody2708522710974994453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271294569,"filename":"image_12072025_00_00_23_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e89369cd3895db8de470471670d1ed6.jpg","text":"TemporaryFile(/tmp/multipartBody2949509889821992874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271294569,"filename":"image_12072025_00_00_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/246bddf35b43175a840af8af3aca4c18.jpg","text":"TemporaryFile(/tmp/multipartBody3087632770371015462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271294569,"filename":"image_12072025_00_00_44_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371742541","file1":"1371742515","file0":"1371742488","file4":"1371742599","file3":"1371742568"},"map_files_photo_id_array":[{"photo_id":"1371742541","filename":"file2"},{"photo_id":"1371742599","filename":"file4"},{"photo_id":"1371742515","filename":"file1"},{"photo_id":"1371742488","filename":"file0"},{"photo_id":"1371742568","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371742515":["hashtag1","hashtag2"]},{"1371742568":["hashtag1","hashtag2"]},{"1371742541":["hashtag1","hashtag2"]},{"1371742599":["hashtag1","hashtag2"]},{"1371742488":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371742515, 1371742568, 1371742541, 1371742599, 1371742488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.925990343093872 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:01:17.072142
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_43_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_34_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_23_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_14_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_53_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_43_9629.jpg', '/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_34_10640.jpg', '/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_23_9629.jpg', '/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_14_9654.jpg', '/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_53_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_43_9629.jpg
/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_34_10640.jpg
/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_23_9629.jpg
/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_14_9654.jpg
/home/nano/Desktop/images/12072025/00/00/image_12072025_00_00_53_9632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371742803","1371742883","1371742856","1371742829","1371742779"],"photo_ids_order":["1371742779","1371742803","1371742829","1371742856","1371742883"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/227f4a40ebf1cc53b0bd322288e14841.jpg","text":"TemporaryFile(/tmp/multipartBody7307622109895075549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271338452,"filename":"image_12072025_00_01_34_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/927993fa9e44c73f8bc5d5d206599474.jpg","text":"TemporaryFile(/tmp/multipartBody5164546560882005083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271338452,"filename":"image_12072025_00_00_53_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/345ffa0e77f0b459278e6477380e39a8.jpg","text":"TemporaryFile(/tmp/multipartBody8536556760293086693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271338452,"filename":"image_12072025_00_01_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1badf0ab7130df3ddf80008198e1165d.jpg","text":"TemporaryFile(/tmp/multipartBody7654991127554005142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271338452,"filename":"image_12072025_00_01_23_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d568ca6e430ca3411f207bff13b911f.jpg","text":"TemporaryFile(/tmp/multipartBody7872171836152635244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271338452,"filename":"image_12072025_00_01_43_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371742829","file1":"1371742803","file0":"1371742779","file4":"1371742883","file3":"1371742856"},"map_files_photo_id_array":[{"photo_id":"1371742829","filename":"file2"},{"photo_id":"1371742883","filename":"file4"},{"photo_id":"1371742803","filename":"file1"},{"photo_id":"1371742779","filename":"file0"},{"photo_id":"1371742856","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371742803":["hashtag1","hashtag2"]},{"1371742883":["hashtag1","hashtag2"]},{"1371742856":["hashtag1","hashtag2"]},{"1371742829":["hashtag1","hashtag2"]},{"1371742779":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371742803, 1371742883, 1371742856, 1371742829, 1371742779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.150346755981445 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:01:47.060620
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/56/image_10072025_23_57_04_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/56/image_10072025_23_56_54_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/23/56/image_10072025_23_56_43_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/23/56/image_10072025_23_56_34_9660.jpg', 2), ('/home/nano/Desktop/images/10072025/23/56/image_10072025_23_56_13_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/23/55/image_10072025_23_56_04_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/56/image_10072025_23_57_04_9646.jpg', '/home/nano/Desktop/images/10072025/23/56/image_10072025_23_56_54_10655.jpg', '/home/nano/Desktop/images/10072025/23/56/image_10072025_23_56_43_9644.jpg', '/home/nano/Desktop/images/10072025/23/56/image_10072025_23_56_34_9660.jpg', '/home/nano/Desktop/images/10072025/23/56/image_10072025_23_56_13_9663.jpg', '/home/nano/Desktop/images/10072025/23/55/image_10072025_23_56_04_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/56/image_10072025_23_57_04_9646.jpg
/home/nano/Desktop/images/10072025/23/56/image_10072025_23_56_54_10655.jpg
/home/nano/Desktop/images/10072025/23/56/image_10072025_23_56_43_9644.jpg
/home/nano/Desktop/images/10072025/23/56/image_10072025_23_56_34_9660.jpg
/home/nano/Desktop/images/10072025/23/56/image_10072025_23_56_13_9663.jpg
/home/nano/Desktop/images/10072025/23/55/image_10072025_23_56_04_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371743039","1371743071","1371743074","1371743067","1371743013","1371742986"],"photo_ids_order":["1371742986","1371743013","1371743039","1371743067","1371743071","1371743074"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b0a863ea25e6c91dc330b2cbc9366f5.jpg","text":"TemporaryFile(/tmp/multipartBody4674535494379605995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271369773,"filename":"image_10072025_23_56_43_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f55961bd3054faeb310f5ae7b26255c.jpg","text":"TemporaryFile(/tmp/multipartBody6093952876343712496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271369773,"filename":"image_10072025_23_56_13_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06f3cf5385c8b5f1b0a1002437ebc86e.jpg","text":"TemporaryFile(/tmp/multipartBody6096790139507495242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271369773,"filename":"image_10072025_23_56_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6004a293e2e4c3d1994598a21656b99e.jpg","text":"TemporaryFile(/tmp/multipartBody9171932649212615468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271369773,"filename":"image_10072025_23_56_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/971eb72cb946b16ddbacdcb6f2c17e48.jpg","text":"TemporaryFile(/tmp/multipartBody1739340384184995309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271369773,"filename":"image_10072025_23_56_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79be37a40f091e8c56d996c1ad725aa0.jpg","text":"TemporaryFile(/tmp/multipartBody5181784823369153658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271369773,"filename":"image_10072025_23_57_04_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371743039","file1":"1371743013","file0":"1371742986","file4":"1371743071","file5":"1371743074","file3":"1371743067"},"map_files_photo_id_array":[{"photo_id":"1371743074","filename":"file5"},{"photo_id":"1371743039","filename":"file2"},{"photo_id":"1371743071","filename":"file4"},{"photo_id":"1371743013","filename":"file1"},{"photo_id":"1371742986","filename":"file0"},{"photo_id":"1371743067","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371743039":["hashtag1","hashtag2"]},{"1371743071":["hashtag1","hashtag2"]},{"1371743074":["hashtag1","hashtag2"]},{"1371743067":["hashtag1","hashtag2"]},{"1371743013":["hashtag1","hashtag2"]},{"1371742986":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371743039, 1371743071, 1371743074, 1371743067, 1371743013, 1371742986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.276063680648804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:02:32.178485
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_43_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_34_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_24_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_13_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/01/image_12072025_00_02_04_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_53_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_43_9631.jpg', '/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_34_9628.jpg', '/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_24_10640.jpg', '/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_13_9647.jpg', '/home/nano/Desktop/images/12072025/00/01/image_12072025_00_02_04_10655.jpg', '/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_53_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_43_9631.jpg
/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_34_9628.jpg
/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_24_10640.jpg
/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_13_9647.jpg
/home/nano/Desktop/images/12072025/00/01/image_12072025_00_02_04_10655.jpg
/home/nano/Desktop/images/12072025/00/01/image_12072025_00_01_53_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371743192","1371743135","1371743224","1371743107","1371743163","1371743085"],"photo_ids_order":["1371743085","1371743107","1371743135","1371743163","1371743192","1371743224"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b735f0d2e677f8c173cdbaa74e305ce.jpg","text":"TemporaryFile(/tmp/multipartBody3201083442943686158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271413616,"filename":"image_12072025_00_02_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d210bdbd77ae758addf0e3e3ea164318.jpg","text":"TemporaryFile(/tmp/multipartBody7216359554135610222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271413616,"filename":"image_12072025_00_02_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f8d2ba68de86035ccd002e65ef7d300.jpg","text":"TemporaryFile(/tmp/multipartBody3021105802329897964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271413616,"filename":"image_12072025_00_01_53_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f6cc8fefdd675c00f82bd49a065b7ab.jpg","text":"TemporaryFile(/tmp/multipartBody6035958696455754906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271413616,"filename":"image_12072025_00_02_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c693887638644a63713e9620ba55681.jpg","text":"TemporaryFile(/tmp/multipartBody8305280776571161928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271413616,"filename":"image_12072025_00_02_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f6752a63d9c7e2fd187c5e6b4128f62.jpg","text":"TemporaryFile(/tmp/multipartBody1765585302149239510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271413616,"filename":"image_12072025_00_02_43_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371743135","file1":"1371743107","file0":"1371743085","file4":"1371743192","file5":"1371743224","file3":"1371743163"},"map_files_photo_id_array":[{"photo_id":"1371743224","filename":"file5"},{"photo_id":"1371743135","filename":"file2"},{"photo_id":"1371743192","filename":"file4"},{"photo_id":"1371743107","filename":"file1"},{"photo_id":"1371743085","filename":"file0"},{"photo_id":"1371743163","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371743192":["hashtag1","hashtag2"]},{"1371743135":["hashtag1","hashtag2"]},{"1371743224":["hashtag1","hashtag2"]},{"1371743107":["hashtag1","hashtag2"]},{"1371743163":["hashtag1","hashtag2"]},{"1371743085":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371743192, 1371743135, 1371743224, 1371743107, 1371743163, 1371743085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55738425254822 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:03:17.291810
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_43_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_13_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/02/image_12072025_00_03_04_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_54_10662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_43_9636.jpg', '/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_34_9639.jpg', '/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_24_10647.jpg', '/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_13_9647.jpg', '/home/nano/Desktop/images/12072025/00/02/image_12072025_00_03_04_9639.jpg', '/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_54_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_43_9636.jpg
/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_34_9639.jpg
/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_24_10647.jpg
/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_13_9647.jpg
/home/nano/Desktop/images/12072025/00/02/image_12072025_00_03_04_9639.jpg
/home/nano/Desktop/images/12072025/00/02/image_12072025_00_02_54_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371743399","1371743372","1371743426","1371743330","1371743356","1371743364"],"photo_ids_order":["1371743330","1371743356","1371743364","1371743372","1371743399","1371743426"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17151ba8d06f86b627a1352593699e0b.jpg","text":"TemporaryFile(/tmp/multipartBody4728102352925960281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271458642,"filename":"image_12072025_00_03_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b3753558692b883713773bf6a76e153.jpg","text":"TemporaryFile(/tmp/multipartBody2042906442849814429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271458642,"filename":"image_12072025_00_03_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd830957b737cd26be174b426a2d4a32.jpg","text":"TemporaryFile(/tmp/multipartBody2205717496578640155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271458642,"filename":"image_12072025_00_02_54_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/856961840e143ec74df1f4d5525d0be8.jpg","text":"TemporaryFile(/tmp/multipartBody8555882143096266871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271458642,"filename":"image_12072025_00_03_43_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43a41bd0c3011fcfed9ea532da073f82.jpg","text":"TemporaryFile(/tmp/multipartBody6047896355783966872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271458642,"filename":"image_12072025_00_03_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df9b1d25579b8432acbf4e8457d7aef9.jpg","text":"TemporaryFile(/tmp/multipartBody2268274642463776718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271458642,"filename":"image_12072025_00_03_24_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371743364","file1":"1371743356","file0":"1371743330","file4":"1371743399","file5":"1371743426","file3":"1371743372"},"map_files_photo_id_array":[{"photo_id":"1371743426","filename":"file5"},{"photo_id":"1371743364","filename":"file2"},{"photo_id":"1371743399","filename":"file4"},{"photo_id":"1371743356","filename":"file1"},{"photo_id":"1371743330","filename":"file0"},{"photo_id":"1371743372","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371743399":["hashtag1","hashtag2"]},{"1371743372":["hashtag1","hashtag2"]},{"1371743426":["hashtag1","hashtag2"]},{"1371743330":["hashtag1","hashtag2"]},{"1371743356":["hashtag1","hashtag2"]},{"1371743364":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371743399, 1371743372, 1371743426, 1371743330, 1371743356, 1371743364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.705745697021484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:04:03.148335
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/55/image_10072025_23_55_54_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/23/55/image_10072025_23_55_13_9659.jpg', 2), ('/home/nano/Desktop/images/10072025/23/54/image_10072025_23_55_04_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/23/54/image_10072025_23_54_43_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/23/54/image_10072025_23_54_34_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/23/54/image_10072025_23_54_23_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/55/image_10072025_23_55_54_10654.jpg', '/home/nano/Desktop/images/10072025/23/55/image_10072025_23_55_13_9659.jpg', '/home/nano/Desktop/images/10072025/23/54/image_10072025_23_55_04_10658.jpg', '/home/nano/Desktop/images/10072025/23/54/image_10072025_23_54_43_9655.jpg', '/home/nano/Desktop/images/10072025/23/54/image_10072025_23_54_34_10655.jpg', '/home/nano/Desktop/images/10072025/23/54/image_10072025_23_54_23_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/55/image_10072025_23_55_54_10654.jpg
/home/nano/Desktop/images/10072025/23/55/image_10072025_23_55_13_9659.jpg
/home/nano/Desktop/images/10072025/23/54/image_10072025_23_55_04_10658.jpg
/home/nano/Desktop/images/10072025/23/54/image_10072025_23_54_43_9655.jpg
/home/nano/Desktop/images/10072025/23/54/image_10072025_23_54_34_10655.jpg
/home/nano/Desktop/images/10072025/23/54/image_10072025_23_54_23_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371743483","1371743471","1371743468","1371743466","1371743475","1371743463"],"photo_ids_order":["1371743463","1371743466","1371743468","1371743471","1371743475","1371743483"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56d95f2b11271113b37861504b826bdc.jpg","text":"TemporaryFile(/tmp/multipartBody351104677243622367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271506028,"filename":"image_10072025_23_54_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6b60737169171c8889393e0d5b13180.jpg","text":"TemporaryFile(/tmp/multipartBody8080407042026176263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271506028,"filename":"image_10072025_23_54_43_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2187aafef660bad0e7c8e7b8d333c754.jpg","text":"TemporaryFile(/tmp/multipartBody9156083499105909463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271506028,"filename":"image_10072025_23_55_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2af53f2f496b4786e1b11deaf7fdeeb.jpg","text":"TemporaryFile(/tmp/multipartBody9179700595154899776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271506028,"filename":"image_10072025_23_55_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e1bc470027d2ea0e26f57993304c5d6.jpg","text":"TemporaryFile(/tmp/multipartBody3933047534468981006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271506028,"filename":"image_10072025_23_54_34_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80ef52e71171e9fb69ac10bb382b84a3.jpg","text":"TemporaryFile(/tmp/multipartBody2520494741639319860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271506028,"filename":"image_10072025_23_55_54_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371743468","file1":"1371743466","file0":"1371743463","file4":"1371743475","file5":"1371743483","file3":"1371743471"},"map_files_photo_id_array":[{"photo_id":"1371743483","filename":"file5"},{"photo_id":"1371743468","filename":"file2"},{"photo_id":"1371743475","filename":"file4"},{"photo_id":"1371743466","filename":"file1"},{"photo_id":"1371743463","filename":"file0"},{"photo_id":"1371743471","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371743483":["hashtag1","hashtag2"]},{"1371743471":["hashtag1","hashtag2"]},{"1371743468":["hashtag1","hashtag2"]},{"1371743466":["hashtag1","hashtag2"]},{"1371743475":["hashtag1","hashtag2"]},{"1371743463":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371743483, 1371743471, 1371743468, 1371743466, 1371743475, 1371743463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40223169326782 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:04:47.524347
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_44_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_33_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_24_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_13_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/00/03/image_12072025_00_04_03_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_44_10640.jpg', '/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_33_9650.jpg', '/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_24_10639.jpg', '/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_13_9648.jpg', '/home/nano/Desktop/images/12072025/00/03/image_12072025_00_04_03_9638.jpg', '/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_44_10640.jpg
/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_33_9650.jpg
/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_24_10639.jpg
/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_13_9648.jpg
/home/nano/Desktop/images/12072025/00/03/image_12072025_00_04_03_9638.jpg
/home/nano/Desktop/images/12072025/00/03/image_12072025_00_03_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371743706","1371743702","1371743662","1371743632","1371743658","1371743672"],"photo_ids_order":["1371743632","1371743658","1371743662","1371743672","1371743702","1371743706"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/944a35d371f5ed899879b9c0df0bfebd.jpg","text":"TemporaryFile(/tmp/multipartBody4319526506319684216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271549094,"filename":"image_12072025_00_03_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72fe42f26a81936a7da3537eeeb15e4d.jpg","text":"TemporaryFile(/tmp/multipartBody7096517694186969105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271549094,"filename":"image_12072025_00_04_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e185d08cde236b67340a0e0939d98bcb.jpg","text":"TemporaryFile(/tmp/multipartBody3841854961107200254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271549094,"filename":"image_12072025_00_04_24_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6efdebe920381b90ba4276c1202b2870.jpg","text":"TemporaryFile(/tmp/multipartBody5346312743596178705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271549094,"filename":"image_12072025_00_04_44_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7ba599a9bc7e14ca83726dd9de52518.jpg","text":"TemporaryFile(/tmp/multipartBody2011553204338573665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271549094,"filename":"image_12072025_00_04_33_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8686add7d4446ddbacb1dd960644e38.jpg","text":"TemporaryFile(/tmp/multipartBody6425946442623495019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271549094,"filename":"image_12072025_00_04_13_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371743662","file1":"1371743658","file0":"1371743632","file4":"1371743702","file5":"1371743706","file3":"1371743672"},"map_files_photo_id_array":[{"photo_id":"1371743706","filename":"file5"},{"photo_id":"1371743662","filename":"file2"},{"photo_id":"1371743702","filename":"file4"},{"photo_id":"1371743658","filename":"file1"},{"photo_id":"1371743632","filename":"file0"},{"photo_id":"1371743672","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371743706":["hashtag1","hashtag2"]},{"1371743702":["hashtag1","hashtag2"]},{"1371743662":["hashtag1","hashtag2"]},{"1371743632":["hashtag1","hashtag2"]},{"1371743658":["hashtag1","hashtag2"]},{"1371743672":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371743706, 1371743702, 1371743662, 1371743632, 1371743658, 1371743672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.045982837677 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:05:32.610727
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_44_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_33_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_24_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_14_10685.jpg', 2), ('/home/nano/Desktop/images/12072025/00/04/image_12072025_00_05_03_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_44_10640.jpg', '/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_33_9629.jpg', '/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_24_9629.jpg', '/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_14_10685.jpg', '/home/nano/Desktop/images/12072025/00/04/image_12072025_00_05_03_9647.jpg', '/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_44_10640.jpg
/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_33_9629.jpg
/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_24_9629.jpg
/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_14_10685.jpg
/home/nano/Desktop/images/12072025/00/04/image_12072025_00_05_03_9647.jpg
/home/nano/Desktop/images/12072025/00/04/image_12072025_00_04_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371743810","1371743782","1371743785","1371743868","1371743778","1371743838"],"photo_ids_order":["1371743778","1371743782","1371743785","1371743810","1371743838","1371743868"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f902f240a002d196f229c272e5a919a0.jpg","text":"TemporaryFile(/tmp/multipartBody8737802566996449759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271594112,"filename":"image_12072025_00_05_14_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28f7cf8ad983962dc6205192294993f8.jpg","text":"TemporaryFile(/tmp/multipartBody2140459323045865117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271594112,"filename":"image_12072025_00_05_33_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75c9713346455ba148326061558dbb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4539209632322306559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271594112,"filename":"image_12072025_00_05_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ef1e95d39a6c16641a73163f857d4ec.jpg","text":"TemporaryFile(/tmp/multipartBody7470270027652431108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271594112,"filename":"image_12072025_00_04_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5175e6ed6b3d85bfc95fec6412b2a2c0.jpg","text":"TemporaryFile(/tmp/multipartBody100494660149073745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271594112,"filename":"image_12072025_00_05_44_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b4beccd44372dfdea3368e225167cd0.jpg","text":"TemporaryFile(/tmp/multipartBody1404453150837862154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271594112,"filename":"image_12072025_00_05_03_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371743785","file1":"1371743782","file0":"1371743778","file4":"1371743838","file5":"1371743868","file3":"1371743810"},"map_files_photo_id_array":[{"photo_id":"1371743868","filename":"file5"},{"photo_id":"1371743785","filename":"file2"},{"photo_id":"1371743838","filename":"file4"},{"photo_id":"1371743782","filename":"file1"},{"photo_id":"1371743778","filename":"file0"},{"photo_id":"1371743810","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371743810":["hashtag1","hashtag2"]},{"1371743782":["hashtag1","hashtag2"]},{"1371743785":["hashtag1","hashtag2"]},{"1371743868":["hashtag1","hashtag2"]},{"1371743778":["hashtag1","hashtag2"]},{"1371743838":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371743810, 1371743782, 1371743785, 1371743868, 1371743778, 1371743838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33683395385742 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:06:17.681048
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_44_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_33_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_23_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_14_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/00/05/image_12072025_00_06_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_44_10664.jpg', '/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_33_9628.jpg', '/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_23_9628.jpg', '/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_14_10668.jpg', '/home/nano/Desktop/images/12072025/00/05/image_12072025_00_06_03_9645.jpg', '/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_44_10664.jpg
/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_33_9628.jpg
/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_23_9628.jpg
/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_14_10668.jpg
/home/nano/Desktop/images/12072025/00/05/image_12072025_00_06_03_9645.jpg
/home/nano/Desktop/images/12072025/00/05/image_12072025_00_05_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371744431","1371744137","1371744328","1371744747","1371744584","1371744213"],"photo_ids_order":["1371744137","1371744213","1371744328","1371744431","1371744584","1371744747"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bdd3f71373d069453fd706e0bbcc39c.jpg","text":"TemporaryFile(/tmp/multipartBody8516426542042909334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271639235,"filename":"image_12072025_00_06_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e214b296e134cc1d528ab799c1182ed.jpg","text":"TemporaryFile(/tmp/multipartBody8928172100415974893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271639235,"filename":"image_12072025_00_06_44_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/961c5e1c0367c843c3dc65f72ef9f31b.jpg","text":"TemporaryFile(/tmp/multipartBody5637525008196947182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271639235,"filename":"image_12072025_00_06_23_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e94dfa4572984b5324c62f61718f0068.jpg","text":"TemporaryFile(/tmp/multipartBody6260070676100986520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271639235,"filename":"image_12072025_00_05_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e707f76a6a6822897ffb36f9eeeac615.jpg","text":"TemporaryFile(/tmp/multipartBody5800525432496837818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271639235,"filename":"image_12072025_00_06_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11b3a4a93f8ec3592d83c2900a185752.jpg","text":"TemporaryFile(/tmp/multipartBody4582918562204109300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271639235,"filename":"image_12072025_00_06_33_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371744328","file1":"1371744213","file0":"1371744137","file4":"1371744584","file5":"1371744747","file3":"1371744431"},"map_files_photo_id_array":[{"photo_id":"1371744747","filename":"file5"},{"photo_id":"1371744328","filename":"file2"},{"photo_id":"1371744584","filename":"file4"},{"photo_id":"1371744213","filename":"file1"},{"photo_id":"1371744137","filename":"file0"},{"photo_id":"1371744431","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371744431":["hashtag1","hashtag2"]},{"1371744137":["hashtag1","hashtag2"]},{"1371744328":["hashtag1","hashtag2"]},{"1371744747":["hashtag1","hashtag2"]},{"1371744584":["hashtag1","hashtag2"]},{"1371744213":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371744431, 1371744137, 1371744328, 1371744747, 1371744584, 1371744213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.029842376708984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:07:31.799635
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/07/image_12072025_00_07_44_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/00/07/image_12072025_00_07_23_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/07/image_12072025_00_07_14_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/00/06/image_12072025_00_07_04_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_53_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/07/image_12072025_00_07_44_9648.jpg', '/home/nano/Desktop/images/12072025/00/07/image_12072025_00_07_23_9631.jpg', '/home/nano/Desktop/images/12072025/00/07/image_12072025_00_07_14_9651.jpg', '/home/nano/Desktop/images/12072025/00/06/image_12072025_00_07_04_10652.jpg', '/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_53_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/07/image_12072025_00_07_44_9648.jpg
/home/nano/Desktop/images/12072025/00/07/image_12072025_00_07_23_9631.jpg
/home/nano/Desktop/images/12072025/00/07/image_12072025_00_07_14_9651.jpg
/home/nano/Desktop/images/12072025/00/06/image_12072025_00_07_04_10652.jpg
/home/nano/Desktop/images/12072025/00/06/image_12072025_00_06_53_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371745483","1371745350","1371745199","1371745416","1371745244"],"photo_ids_order":["1371745199","1371745244","1371745350","1371745416","1371745483"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df28593d03c8da5245d4213f47884e4e.jpg","text":"TemporaryFile(/tmp/multipartBody6819648083033376760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271713515,"filename":"image_12072025_00_06_53_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea74ed29707754913ba0ae2c57c8dbfa.jpg","text":"TemporaryFile(/tmp/multipartBody6207285770507098093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271713515,"filename":"image_12072025_00_07_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/623fad1617e66205c615b8a45b5319f0.jpg","text":"TemporaryFile(/tmp/multipartBody7170716909191735714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271713515,"filename":"image_12072025_00_07_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb3886e5f380e37801aa2a0cd031bf84.jpg","text":"TemporaryFile(/tmp/multipartBody8616375356230296629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271713515,"filename":"image_12072025_00_07_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95765000521bf339a1d9678548107c93.jpg","text":"TemporaryFile(/tmp/multipartBody3736413129258228910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271713515,"filename":"image_12072025_00_07_23_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371745350","file1":"1371745244","file0":"1371745199","file4":"1371745483","file3":"1371745416"},"map_files_photo_id_array":[{"photo_id":"1371745350","filename":"file2"},{"photo_id":"1371745483","filename":"file4"},{"photo_id":"1371745244","filename":"file1"},{"photo_id":"1371745199","filename":"file0"},{"photo_id":"1371745416","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371745483":["hashtag1","hashtag2"]},{"1371745350":["hashtag1","hashtag2"]},{"1371745199":["hashtag1","hashtag2"]},{"1371745416":["hashtag1","hashtag2"]},{"1371745244":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371745483, 1371745350, 1371745199, 1371745416, 1371745244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.97546577453613 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:08:16.920413
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_43_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_34_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_23_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_14_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/00/07/image_12072025_00_08_04_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/00/07/image_12072025_00_07_53_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_43_9636.jpg', '/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_34_10663.jpg', '/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_23_9630.jpg', '/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_14_9650.jpg', '/home/nano/Desktop/images/12072025/00/07/image_12072025_00_08_04_10648.jpg', '/home/nano/Desktop/images/12072025/00/07/image_12072025_00_07_53_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_43_9636.jpg
/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_34_10663.jpg
/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_23_9630.jpg
/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_14_9650.jpg
/home/nano/Desktop/images/12072025/00/07/image_12072025_00_08_04_10648.jpg
/home/nano/Desktop/images/12072025/00/07/image_12072025_00_07_53_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371745834","1371745914","1371745830","1371745799","1371745859","1371745823"],"photo_ids_order":["1371745799","1371745823","1371745830","1371745834","1371745859","1371745914"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d2e3db765fbc3eb14bcf30e95f713fb.jpg","text":"TemporaryFile(/tmp/multipartBody6041725406991973597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271758203,"filename":"image_12072025_00_08_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6417f0fadf89df89f7130268feaf311c.jpg","text":"TemporaryFile(/tmp/multipartBody391288923252643905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271758203,"filename":"image_12072025_00_07_53_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5913eaeb1441c625f9cdb19c1b1ab745.jpg","text":"TemporaryFile(/tmp/multipartBody5363934267862443350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271758203,"filename":"image_12072025_00_08_23_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/677ef2a6b31f3c19f908fe915b8bf235.jpg","text":"TemporaryFile(/tmp/multipartBody6776093981043171017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271758203,"filename":"image_12072025_00_08_43_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7b47fe7a739c4a6d4557d71b819707f.jpg","text":"TemporaryFile(/tmp/multipartBody7176244770539906180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271758203,"filename":"image_12072025_00_08_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f5aca16d5062ff971f4f81551e5d087.jpg","text":"TemporaryFile(/tmp/multipartBody7466670800210948015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271758203,"filename":"image_12072025_00_08_34_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371745830","file1":"1371745823","file0":"1371745799","file4":"1371745859","file5":"1371745914","file3":"1371745834"},"map_files_photo_id_array":[{"photo_id":"1371745914","filename":"file5"},{"photo_id":"1371745830","filename":"file2"},{"photo_id":"1371745859","filename":"file4"},{"photo_id":"1371745823","filename":"file1"},{"photo_id":"1371745799","filename":"file0"},{"photo_id":"1371745834","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371745834":["hashtag1","hashtag2"]},{"1371745914":["hashtag1","hashtag2"]},{"1371745830":["hashtag1","hashtag2"]},{"1371745799":["hashtag1","hashtag2"]},{"1371745859":["hashtag1","hashtag2"]},{"1371745823":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371745834, 1371745914, 1371745830, 1371745799, 1371745859, 1371745823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95487380027771 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:09:02.695175
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/54/image_10072025_23_54_13_9670.jpg', 2), ('/home/nano/Desktop/images/10072025/23/53/image_10072025_23_54_04_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/23/53/image_10072025_23_53_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/53/image_10072025_23_53_14_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/23/52/image_10072025_23_52_53_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/23/52/image_10072025_23_52_34_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/54/image_10072025_23_54_13_9670.jpg', '/home/nano/Desktop/images/10072025/23/53/image_10072025_23_54_04_10663.jpg', '/home/nano/Desktop/images/10072025/23/53/image_10072025_23_53_23_9646.jpg', '/home/nano/Desktop/images/10072025/23/53/image_10072025_23_53_14_9666.jpg', '/home/nano/Desktop/images/10072025/23/52/image_10072025_23_52_53_9645.jpg', '/home/nano/Desktop/images/10072025/23/52/image_10072025_23_52_34_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/54/image_10072025_23_54_13_9670.jpg
/home/nano/Desktop/images/10072025/23/53/image_10072025_23_54_04_10663.jpg
/home/nano/Desktop/images/10072025/23/53/image_10072025_23_53_23_9646.jpg
/home/nano/Desktop/images/10072025/23/53/image_10072025_23_53_14_9666.jpg
/home/nano/Desktop/images/10072025/23/52/image_10072025_23_52_53_9645.jpg
/home/nano/Desktop/images/10072025/23/52/image_10072025_23_52_34_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371746200","1371746137","1371746256","1371746309","1371746303","1371746170"],"photo_ids_order":["1371746137","1371746170","1371746200","1371746256","1371746303","1371746309"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89624d4a9c94e4d98248354a55f369f6.jpg","text":"TemporaryFile(/tmp/multipartBody1378765362078978613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271805968,"filename":"image_10072025_23_53_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a2af4e7efdf94209b2e2d9b61590c59.jpg","text":"TemporaryFile(/tmp/multipartBody556499590963734863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271805968,"filename":"image_10072025_23_54_13_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f1a861ab78ffd32c817224530edee22.jpg","text":"TemporaryFile(/tmp/multipartBody7919718843567954875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271805968,"filename":"image_10072025_23_53_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4137f91df202f806bf1f41407f001f9d.jpg","text":"TemporaryFile(/tmp/multipartBody3481065131122864155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271805968,"filename":"image_10072025_23_52_34_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9aeb0bfa2f09e7ed00d42513322d5f7a.jpg","text":"TemporaryFile(/tmp/multipartBody5066429333375432336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271805968,"filename":"image_10072025_23_52_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e11dac8c9465e9d2a3f2df641d821fb4.jpg","text":"TemporaryFile(/tmp/multipartBody288166464021169428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271805968,"filename":"image_10072025_23_54_04_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371746200","file1":"1371746170","file0":"1371746137","file4":"1371746303","file5":"1371746309","file3":"1371746256"},"map_files_photo_id_array":[{"photo_id":"1371746309","filename":"file5"},{"photo_id":"1371746200","filename":"file2"},{"photo_id":"1371746303","filename":"file4"},{"photo_id":"1371746170","filename":"file1"},{"photo_id":"1371746137","filename":"file0"},{"photo_id":"1371746256","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371746200":["hashtag1","hashtag2"]},{"1371746137":["hashtag1","hashtag2"]},{"1371746256":["hashtag1","hashtag2"]},{"1371746309":["hashtag1","hashtag2"]},{"1371746303":["hashtag1","hashtag2"]},{"1371746170":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371746200, 1371746137, 1371746256, 1371746309, 1371746303, 1371746170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50274348258972 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:09:47.048932
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/09/image_12072025_00_09_43_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/09/image_12072025_00_09_24_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/09/image_12072025_00_09_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/00/08/image_12072025_00_09_04_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_53_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/09/image_12072025_00_09_43_9631.jpg', '/home/nano/Desktop/images/12072025/00/09/image_12072025_00_09_24_10638.jpg', '/home/nano/Desktop/images/12072025/00/09/image_12072025_00_09_13_9659.jpg', '/home/nano/Desktop/images/12072025/00/08/image_12072025_00_09_04_10654.jpg', '/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_53_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/09/image_12072025_00_09_43_9631.jpg
/home/nano/Desktop/images/12072025/00/09/image_12072025_00_09_24_10638.jpg
/home/nano/Desktop/images/12072025/00/09/image_12072025_00_09_13_9659.jpg
/home/nano/Desktop/images/12072025/00/08/image_12072025_00_09_04_10654.jpg
/home/nano/Desktop/images/12072025/00/08/image_12072025_00_08_53_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371746379","1371746475","1371746439","1371746480","1371746471"],"photo_ids_order":["1371746379","1371746439","1371746471","1371746475","1371746480"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/854e59b7c9599956f729ef681ab770e1.jpg","text":"TemporaryFile(/tmp/multipartBody3198182974347998575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271849138,"filename":"image_12072025_00_09_43_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18c0723eb5ef0e3275a415cda6adfea3.jpg","text":"TemporaryFile(/tmp/multipartBody3565307974957467198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271849138,"filename":"image_12072025_00_09_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46918b5433354bd23d29dd71afffe958.jpg","text":"TemporaryFile(/tmp/multipartBody8667882736281297680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271849138,"filename":"image_12072025_00_09_24_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/663d35691b3a77131685db35cdebe38c.jpg","text":"TemporaryFile(/tmp/multipartBody5699943693625163027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271849138,"filename":"image_12072025_00_08_53_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3b80f10a2fdf82cd373b2ac5695bb1a.jpg","text":"TemporaryFile(/tmp/multipartBody8027743802848041246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271849138,"filename":"image_12072025_00_09_13_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371746471","file1":"1371746439","file0":"1371746379","file4":"1371746480","file3":"1371746475"},"map_files_photo_id_array":[{"photo_id":"1371746471","filename":"file2"},{"photo_id":"1371746480","filename":"file4"},{"photo_id":"1371746439","filename":"file1"},{"photo_id":"1371746379","filename":"file0"},{"photo_id":"1371746475","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371746379":["hashtag1","hashtag2"]},{"1371746475":["hashtag1","hashtag2"]},{"1371746439":["hashtag1","hashtag2"]},{"1371746480":["hashtag1","hashtag2"]},{"1371746471":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371746379, 1371746475, 1371746439, 1371746480, 1371746471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.501511335372925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:10:32.135851
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_34_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/00/09/image_12072025_00_10_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/00/09/image_12072025_00_09_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_43_9637.jpg', '/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_34_9647.jpg', '/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_24_10647.jpg', '/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_13_9657.jpg', '/home/nano/Desktop/images/12072025/00/09/image_12072025_00_10_04_9645.jpg', '/home/nano/Desktop/images/12072025/00/09/image_12072025_00_09_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_43_9637.jpg
/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_34_9647.jpg
/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_24_10647.jpg
/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_13_9657.jpg
/home/nano/Desktop/images/12072025/00/09/image_12072025_00_10_04_9645.jpg
/home/nano/Desktop/images/12072025/00/09/image_12072025_00_09_54_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371746509","1371746538","1371746523","1371746505","1371746519","1371746513"],"photo_ids_order":["1371746505","1371746509","1371746513","1371746519","1371746523","1371746538"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff8d12af8ac934fa6e97087e1efd35d4.jpg","text":"TemporaryFile(/tmp/multipartBody4833785006859239781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271893589,"filename":"image_12072025_00_10_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b58e8749103ce46190c99530c95c3b41.jpg","text":"TemporaryFile(/tmp/multipartBody1775038386417555043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271893589,"filename":"image_12072025_00_09_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0468ca740dd9e2f2fbe4cd769918f302.jpg","text":"TemporaryFile(/tmp/multipartBody1209054825212228500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271893589,"filename":"image_12072025_00_10_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bdc237c1d83d73e9fabdbeed88c4185b.jpg","text":"TemporaryFile(/tmp/multipartBody8403896363512758459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271893589,"filename":"image_12072025_00_10_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/947a5e391961dbad2c7c870cff9dc76c.jpg","text":"TemporaryFile(/tmp/multipartBody190928690855315080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271893589,"filename":"image_12072025_00_10_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/559a9b797c3cb6e465e566b6037d85ff.jpg","text":"TemporaryFile(/tmp/multipartBody6807098053581295137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271893589,"filename":"image_12072025_00_10_24_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371746513","file1":"1371746509","file0":"1371746505","file4":"1371746523","file5":"1371746538","file3":"1371746519"},"map_files_photo_id_array":[{"photo_id":"1371746538","filename":"file5"},{"photo_id":"1371746513","filename":"file2"},{"photo_id":"1371746523","filename":"file4"},{"photo_id":"1371746509","filename":"file1"},{"photo_id":"1371746505","filename":"file0"},{"photo_id":"1371746519","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371746509":["hashtag1","hashtag2"]},{"1371746538":["hashtag1","hashtag2"]},{"1371746523":["hashtag1","hashtag2"]},{"1371746505":["hashtag1","hashtag2"]},{"1371746519":["hashtag1","hashtag2"]},{"1371746513":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371746509, 1371746538, 1371746523, 1371746505, 1371746519, 1371746513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.263630390167236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:11:17.257825
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/11/image_12072025_00_11_44_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/00/11/image_12072025_00_11_24_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/11/image_12072025_00_11_13_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/00/10/image_12072025_00_11_03_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_54_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/11/image_12072025_00_11_44_10644.jpg', '/home/nano/Desktop/images/12072025/00/11/image_12072025_00_11_24_10638.jpg', '/home/nano/Desktop/images/12072025/00/11/image_12072025_00_11_13_9652.jpg', '/home/nano/Desktop/images/12072025/00/10/image_12072025_00_11_03_9648.jpg', '/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_54_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/11/image_12072025_00_11_44_10644.jpg
/home/nano/Desktop/images/12072025/00/11/image_12072025_00_11_24_10638.jpg
/home/nano/Desktop/images/12072025/00/11/image_12072025_00_11_13_9652.jpg
/home/nano/Desktop/images/12072025/00/10/image_12072025_00_11_03_9648.jpg
/home/nano/Desktop/images/12072025/00/10/image_12072025_00_10_54_10656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371746727","1371746657","1371746750","1371746698","1371746686"],"photo_ids_order":["1371746657","1371746686","1371746698","1371746727","1371746750"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2817203371cffdc4fae88e205f5268f5.jpg","text":"TemporaryFile(/tmp/multipartBody3551449332860871528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271938469,"filename":"image_12072025_00_11_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84fd8d78c8f9ce0dbb5759210c6d80c9.jpg","text":"TemporaryFile(/tmp/multipartBody3388936095027153285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271938469,"filename":"image_12072025_00_11_44_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ce59b789351c2b636b977daa912249b.jpg","text":"TemporaryFile(/tmp/multipartBody1158181719971208685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271938469,"filename":"image_12072025_00_10_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cfbd0850d9de0cd54c709f1383a995fa.jpg","text":"TemporaryFile(/tmp/multipartBody7802267578615616640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271938469,"filename":"image_12072025_00_11_13_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2df446e8b165ba35658327429a88d16.jpg","text":"TemporaryFile(/tmp/multipartBody5396172860407728236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271938469,"filename":"image_12072025_00_11_24_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371746698","file1":"1371746686","file0":"1371746657","file4":"1371746750","file3":"1371746727"},"map_files_photo_id_array":[{"photo_id":"1371746698","filename":"file2"},{"photo_id":"1371746750","filename":"file4"},{"photo_id":"1371746686","filename":"file1"},{"photo_id":"1371746657","filename":"file0"},{"photo_id":"1371746727","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371746727":["hashtag1","hashtag2"]},{"1371746657":["hashtag1","hashtag2"]},{"1371746750":["hashtag1","hashtag2"]},{"1371746698":["hashtag1","hashtag2"]},{"1371746686":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371746727, 1371746657, 1371746750, 1371746698, 1371746686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.488189458847046 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:11:47.232170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/52/image_10072025_23_52_23_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/23/52/image_10072025_23_52_14_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/23/51/image_10072025_23_52_04_10676.jpg', 2), ('/home/nano/Desktop/images/10072025/23/51/image_10072025_23_51_53_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/23/51/image_10072025_23_51_44_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/23/51/image_10072025_23_51_23_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/52/image_10072025_23_52_23_9663.jpg', '/home/nano/Desktop/images/10072025/23/52/image_10072025_23_52_14_9667.jpg', '/home/nano/Desktop/images/10072025/23/51/image_10072025_23_52_04_10676.jpg', '/home/nano/Desktop/images/10072025/23/51/image_10072025_23_51_53_9645.jpg', '/home/nano/Desktop/images/10072025/23/51/image_10072025_23_51_44_9645.jpg', '/home/nano/Desktop/images/10072025/23/51/image_10072025_23_51_23_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/52/image_10072025_23_52_23_9663.jpg
/home/nano/Desktop/images/10072025/23/52/image_10072025_23_52_14_9667.jpg
/home/nano/Desktop/images/10072025/23/51/image_10072025_23_52_04_10676.jpg
/home/nano/Desktop/images/10072025/23/51/image_10072025_23_51_53_9645.jpg
/home/nano/Desktop/images/10072025/23/51/image_10072025_23_51_44_9645.jpg
/home/nano/Desktop/images/10072025/23/51/image_10072025_23_51_23_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371746803","1371746798","1371746810","1371746794","1371746813","1371746807"],"photo_ids_order":["1371746794","1371746798","1371746803","1371746807","1371746810","1371746813"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee91b10b7763f22a04d4aeead46ba7d0.jpg","text":"TemporaryFile(/tmp/multipartBody2529288637452628246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271969978,"filename":"image_10072025_23_52_04_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ee34a98284d98b893efeca639d0157b.jpg","text":"TemporaryFile(/tmp/multipartBody1744446344965158295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271969978,"filename":"image_10072025_23_52_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9d445ad1ce931f47d66dc8b889027e0.jpg","text":"TemporaryFile(/tmp/multipartBody2645398140440368244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271969978,"filename":"image_10072025_23_51_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce71be6ecb211c54a30d17f8b7218374.jpg","text":"TemporaryFile(/tmp/multipartBody609805504847921433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271969978,"filename":"image_10072025_23_52_23_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/468fe9607b8bbab4a91c6fb57a792030.jpg","text":"TemporaryFile(/tmp/multipartBody804005514139560782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271969978,"filename":"image_10072025_23_51_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0471bd8bbaa161f4dff22ac78d4eebc8.jpg","text":"TemporaryFile(/tmp/multipartBody4969314681673407849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752271969978,"filename":"image_10072025_23_51_53_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371746803","file1":"1371746798","file0":"1371746794","file4":"1371746810","file5":"1371746813","file3":"1371746807"},"map_files_photo_id_array":[{"photo_id":"1371746813","filename":"file5"},{"photo_id":"1371746803","filename":"file2"},{"photo_id":"1371746810","filename":"file4"},{"photo_id":"1371746798","filename":"file1"},{"photo_id":"1371746794","filename":"file0"},{"photo_id":"1371746807","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371746803":["hashtag1","hashtag2"]},{"1371746798":["hashtag1","hashtag2"]},{"1371746810":["hashtag1","hashtag2"]},{"1371746794":["hashtag1","hashtag2"]},{"1371746813":["hashtag1","hashtag2"]},{"1371746807":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371746803, 1371746798, 1371746810, 1371746794, 1371746813, 1371746807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91976308822632 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:12:32.335176
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/12/image_12072025_00_12_44_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/00/12/image_12072025_00_12_24_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/00/12/image_12072025_00_12_14_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/00/11/image_12072025_00_12_03_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/00/11/image_12072025_00_11_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/12/image_12072025_00_12_44_10646.jpg', '/home/nano/Desktop/images/12072025/00/12/image_12072025_00_12_24_9634.jpg', '/home/nano/Desktop/images/12072025/00/12/image_12072025_00_12_14_10658.jpg', '/home/nano/Desktop/images/12072025/00/11/image_12072025_00_12_03_9632.jpg', '/home/nano/Desktop/images/12072025/00/11/image_12072025_00_11_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/12/image_12072025_00_12_44_10646.jpg
/home/nano/Desktop/images/12072025/00/12/image_12072025_00_12_24_9634.jpg
/home/nano/Desktop/images/12072025/00/12/image_12072025_00_12_14_10658.jpg
/home/nano/Desktop/images/12072025/00/11/image_12072025_00_12_03_9632.jpg
/home/nano/Desktop/images/12072025/00/11/image_12072025_00_11_54_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371746877","1371746871","1371746865","1371746882","1371746858"],"photo_ids_order":["1371746858","1371746865","1371746871","1371746877","1371746882"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6cec6874da945cfeccaffb9dc5509d04.jpg","text":"TemporaryFile(/tmp/multipartBody6677932645182691469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272013781,"filename":"image_12072025_00_12_03_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d9a074504b4a0aeb162d37fbae81092.jpg","text":"TemporaryFile(/tmp/multipartBody4787432285340872895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272013781,"filename":"image_12072025_00_12_14_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42111abadee811175a428c30e718e1c7.jpg","text":"TemporaryFile(/tmp/multipartBody3912578756966320176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272013781,"filename":"image_12072025_00_12_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81a2a2e5f7a5a1dc305b155cf0af13c9.jpg","text":"TemporaryFile(/tmp/multipartBody2296613855417687915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272013781,"filename":"image_12072025_00_11_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d279d2d20f9b4feca0c0d2e17a2d3af2.jpg","text":"TemporaryFile(/tmp/multipartBody5380541153268758636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272013781,"filename":"image_12072025_00_12_44_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371746871","file1":"1371746865","file0":"1371746858","file4":"1371746882","file3":"1371746877"},"map_files_photo_id_array":[{"photo_id":"1371746871","filename":"file2"},{"photo_id":"1371746882","filename":"file4"},{"photo_id":"1371746865","filename":"file1"},{"photo_id":"1371746858","filename":"file0"},{"photo_id":"1371746877","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371746877":["hashtag1","hashtag2"]},{"1371746871":["hashtag1","hashtag2"]},{"1371746865":["hashtag1","hashtag2"]},{"1371746882":["hashtag1","hashtag2"]},{"1371746858":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371746877, 1371746871, 1371746865, 1371746882, 1371746858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.114996910095215 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:13:02.881769
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/51/image_10072025_23_51_14_9687.jpg', 2), ('/home/nano/Desktop/images/10072025/23/50/image_10072025_23_51_04_10683.jpg', 2), ('/home/nano/Desktop/images/10072025/23/50/image_10072025_23_50_53_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/23/50/image_10072025_23_50_44_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/23/50/image_10072025_23_50_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/23/50/image_10072025_23_50_14_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/51/image_10072025_23_51_14_9687.jpg', '/home/nano/Desktop/images/10072025/23/50/image_10072025_23_51_04_10683.jpg', '/home/nano/Desktop/images/10072025/23/50/image_10072025_23_50_53_9653.jpg', '/home/nano/Desktop/images/10072025/23/50/image_10072025_23_50_44_9645.jpg', '/home/nano/Desktop/images/10072025/23/50/image_10072025_23_50_23_9645.jpg', '/home/nano/Desktop/images/10072025/23/50/image_10072025_23_50_14_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/51/image_10072025_23_51_14_9687.jpg
/home/nano/Desktop/images/10072025/23/50/image_10072025_23_51_04_10683.jpg
/home/nano/Desktop/images/10072025/23/50/image_10072025_23_50_53_9653.jpg
/home/nano/Desktop/images/10072025/23/50/image_10072025_23_50_44_9645.jpg
/home/nano/Desktop/images/10072025/23/50/image_10072025_23_50_23_9645.jpg
/home/nano/Desktop/images/10072025/23/50/image_10072025_23_50_14_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371746979","1371747033","1371747152","1371747128","1371747104","1371747079"],"photo_ids_order":["1371746979","1371747033","1371747079","1371747104","1371747128","1371747152"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d45be570958b5f33de03db9fe26ea38.jpg","text":"TemporaryFile(/tmp/multipartBody374992580868271516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272047195,"filename":"image_10072025_23_51_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f817e960a551d24d6e542c10279150f6.jpg","text":"TemporaryFile(/tmp/multipartBody3115129538292497288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272047195,"filename":"image_10072025_23_51_04_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71b9c77c2ecb5eaa4bea34d72c6b8428.jpg","text":"TemporaryFile(/tmp/multipartBody5058456692441296549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272047195,"filename":"image_10072025_23_50_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee45098ca9184e5a27df947f433f49b3.jpg","text":"TemporaryFile(/tmp/multipartBody4493709564249145933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272047195,"filename":"image_10072025_23_50_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6da073c3db0d9f2ddd45d3ee00ed4543.jpg","text":"TemporaryFile(/tmp/multipartBody8257940019440537416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272047195,"filename":"image_10072025_23_50_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87b980db73325e9ea5f0694aab5852b5.jpg","text":"TemporaryFile(/tmp/multipartBody342772097785835754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272047195,"filename":"image_10072025_23_50_53_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371747079","file1":"1371747033","file0":"1371746979","file4":"1371747128","file5":"1371747152","file3":"1371747104"},"map_files_photo_id_array":[{"photo_id":"1371747152","filename":"file5"},{"photo_id":"1371747079","filename":"file2"},{"photo_id":"1371747128","filename":"file4"},{"photo_id":"1371747033","filename":"file1"},{"photo_id":"1371746979","filename":"file0"},{"photo_id":"1371747104","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371746979":["hashtag1","hashtag2"]},{"1371747033":["hashtag1","hashtag2"]},{"1371747152":["hashtag1","hashtag2"]},{"1371747128":["hashtag1","hashtag2"]},{"1371747104":["hashtag1","hashtag2"]},{"1371747079":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371746979, 1371747033, 1371747152, 1371747128, 1371747104, 1371747079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.277745962142944 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:13:47.456452
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_44_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_33_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_24_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_14_10681.jpg', 2), ('/home/nano/Desktop/images/12072025/00/12/image_12072025_00_13_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/00/12/image_12072025_00_12_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_44_10643.jpg', '/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_33_9630.jpg', '/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_24_9649.jpg', '/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_14_10681.jpg', '/home/nano/Desktop/images/12072025/00/12/image_12072025_00_13_03_9643.jpg', '/home/nano/Desktop/images/12072025/00/12/image_12072025_00_12_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_44_10643.jpg
/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_33_9630.jpg
/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_24_9649.jpg
/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_14_10681.jpg
/home/nano/Desktop/images/12072025/00/12/image_12072025_00_13_03_9643.jpg
/home/nano/Desktop/images/12072025/00/12/image_12072025_00_12_54_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371747459","1371747345","1371747401","1371747317","1371747373","1371747430"],"photo_ids_order":["1371747317","1371747345","1371747373","1371747401","1371747430","1371747459"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8b1aab15ac6621d6385bde4d777dd5d.jpg","text":"TemporaryFile(/tmp/multipartBody339099612189631055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272088812,"filename":"image_12072025_00_12_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8762aa5b3908ffc9edcfea146c5293d.jpg","text":"TemporaryFile(/tmp/multipartBody3783582710130146028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272088812,"filename":"image_12072025_00_13_33_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82f6d1055da4a5cd1517d75b7cb63ca2.jpg","text":"TemporaryFile(/tmp/multipartBody1093184051846856184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272088812,"filename":"image_12072025_00_13_14_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/668d0374e2970e2bb2f04e455cc49967.jpg","text":"TemporaryFile(/tmp/multipartBody3092841025196830124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272088812,"filename":"image_12072025_00_13_44_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d38e976983caa7726edfdd6ee04a8921.jpg","text":"TemporaryFile(/tmp/multipartBody5736699857768906318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272088812,"filename":"image_12072025_00_13_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f5acdea77e6dba14927c861bf871785.jpg","text":"TemporaryFile(/tmp/multipartBody2613587282750012552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272088812,"filename":"image_12072025_00_13_03_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371747373","file1":"1371747345","file0":"1371747317","file4":"1371747430","file5":"1371747459","file3":"1371747401"},"map_files_photo_id_array":[{"photo_id":"1371747459","filename":"file5"},{"photo_id":"1371747373","filename":"file2"},{"photo_id":"1371747430","filename":"file4"},{"photo_id":"1371747345","filename":"file1"},{"photo_id":"1371747317","filename":"file0"},{"photo_id":"1371747401","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371747459":["hashtag1","hashtag2"]},{"1371747345":["hashtag1","hashtag2"]},{"1371747401":["hashtag1","hashtag2"]},{"1371747317":["hashtag1","hashtag2"]},{"1371747373":["hashtag1","hashtag2"]},{"1371747430":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371747459, 1371747345, 1371747401, 1371747317, 1371747373, 1371747430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67323541641235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:14:32.608366
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_44_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_34_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_23_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_14_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/00/13/image_12072025_00_14_03_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_53_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_44_9631.jpg', '/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_34_10639.jpg', '/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_23_9631.jpg', '/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_14_10677.jpg', '/home/nano/Desktop/images/12072025/00/13/image_12072025_00_14_03_9636.jpg', '/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_53_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_44_9631.jpg
/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_34_10639.jpg
/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_23_9631.jpg
/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_14_10677.jpg
/home/nano/Desktop/images/12072025/00/13/image_12072025_00_14_03_9636.jpg
/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_53_9631.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2858061790466309 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:14:47.573493
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_44_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_34_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_23_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_14_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/00/13/image_12072025_00_14_03_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_53_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_44_9631.jpg', '/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_34_10639.jpg', '/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_23_9631.jpg', '/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_14_10677.jpg', '/home/nano/Desktop/images/12072025/00/13/image_12072025_00_14_03_9636.jpg', '/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_53_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_44_9631.jpg
/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_34_10639.jpg
/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_23_9631.jpg
/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_14_10677.jpg
/home/nano/Desktop/images/12072025/00/13/image_12072025_00_14_03_9636.jpg
/home/nano/Desktop/images/12072025/00/13/image_12072025_00_13_53_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371747711","1371747788","1371747761","1371747742","1371747748","1371747715"],"photo_ids_order":["1371747711","1371747715","1371747742","1371747748","1371747761","1371747788"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97bf3c196f8b1aa3386b033acf8d5d7e.jpg","text":"TemporaryFile(/tmp/multipartBody8918678336591794047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272149006,"filename":"image_12072025_00_14_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c25681d7159167eeb8887ecf1e158d97.jpg","text":"TemporaryFile(/tmp/multipartBody1794462005516245882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272149006,"filename":"image_12072025_00_13_53_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a872836ceeaf3c9f608b44381bad9274.jpg","text":"TemporaryFile(/tmp/multipartBody9161195969034592429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272149006,"filename":"image_12072025_00_14_03_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a928f08d199a9d20050293d078258217.jpg","text":"TemporaryFile(/tmp/multipartBody3433404828172603423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272149006,"filename":"image_12072025_00_14_23_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e5a462e0318878c65e46ee00ec058cc.jpg","text":"TemporaryFile(/tmp/multipartBody261983189174236408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272149006,"filename":"image_12072025_00_14_14_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be73f2e589bff9ef94db5781c719cfce.jpg","text":"TemporaryFile(/tmp/multipartBody4073499869706069330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272149006,"filename":"image_12072025_00_14_34_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371747742","file1":"1371747715","file0":"1371747711","file4":"1371747761","file5":"1371747788","file3":"1371747748"},"map_files_photo_id_array":[{"photo_id":"1371747788","filename":"file5"},{"photo_id":"1371747742","filename":"file2"},{"photo_id":"1371747761","filename":"file4"},{"photo_id":"1371747715","filename":"file1"},{"photo_id":"1371747711","filename":"file0"},{"photo_id":"1371747748","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371747711":["hashtag1","hashtag2"]},{"1371747788":["hashtag1","hashtag2"]},{"1371747761":["hashtag1","hashtag2"]},{"1371747742":["hashtag1","hashtag2"]},{"1371747748":["hashtag1","hashtag2"]},{"1371747715":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371747711, 1371747788, 1371747761, 1371747742, 1371747748, 1371747715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66068148612976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:15:32.664425
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_43_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_34_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_23_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_14_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/00/14/image_12072025_00_15_04_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_53_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_43_9632.jpg', '/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_34_10656.jpg', '/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_23_9631.jpg', '/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_14_9667.jpg', '/home/nano/Desktop/images/12072025/00/14/image_12072025_00_15_04_10641.jpg', '/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_53_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_43_9632.jpg
/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_34_10656.jpg
/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_23_9631.jpg
/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_14_9667.jpg
/home/nano/Desktop/images/12072025/00/14/image_12072025_00_15_04_10641.jpg
/home/nano/Desktop/images/12072025/00/14/image_12072025_00_14_53_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371747977","1371747887","1371747947","1371748004","1371747889","1371747910"],"photo_ids_order":["1371747887","1371747889","1371747910","1371747947","1371747977","1371748004"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5583b0b7900e7c859a9e1c96ab0620a6.jpg","text":"TemporaryFile(/tmp/multipartBody7676271263123298470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272194241,"filename":"image_12072025_00_15_04_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fbdcf581aea0a4bb6fb2083cc41e33f.jpg","text":"TemporaryFile(/tmp/multipartBody6600437002236001941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272194241,"filename":"image_12072025_00_15_43_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ece8e2d292a0b0785446a1fab93b1593.jpg","text":"TemporaryFile(/tmp/multipartBody8050564634587872236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272194241,"filename":"image_12072025_00_15_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0fcd2a535d21ff247e41cbf06bcee08c.jpg","text":"TemporaryFile(/tmp/multipartBody9092618845370446826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272194241,"filename":"image_12072025_00_14_53_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/812fbbc98eb7f45b270ea620455a4103.jpg","text":"TemporaryFile(/tmp/multipartBody5766754242670245574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272194241,"filename":"image_12072025_00_15_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0ce805cf041bc31390c0e0714f20e66.jpg","text":"TemporaryFile(/tmp/multipartBody6065581718270146270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272194241,"filename":"image_12072025_00_15_23_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371747910","file1":"1371747889","file0":"1371747887","file4":"1371747977","file5":"1371748004","file3":"1371747947"},"map_files_photo_id_array":[{"photo_id":"1371748004","filename":"file5"},{"photo_id":"1371747910","filename":"file2"},{"photo_id":"1371747977","filename":"file4"},{"photo_id":"1371747889","filename":"file1"},{"photo_id":"1371747887","filename":"file0"},{"photo_id":"1371747947","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371747977":["hashtag1","hashtag2"]},{"1371747887":["hashtag1","hashtag2"]},{"1371747947":["hashtag1","hashtag2"]},{"1371748004":["hashtag1","hashtag2"]},{"1371747889":["hashtag1","hashtag2"]},{"1371747910":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371747977, 1371747887, 1371747947, 1371748004, 1371747889, 1371747910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.84055280685425 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:16:16.855143
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_43_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_34_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_23_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_13_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/00/15/image_12072025_00_16_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_43_9629.jpg', '/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_34_10639.jpg', '/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_23_9631.jpg', '/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_13_9649.jpg', '/home/nano/Desktop/images/12072025/00/15/image_12072025_00_16_04_10661.jpg', '/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_43_9629.jpg
/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_34_10639.jpg
/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_23_9631.jpg
/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_13_9649.jpg
/home/nano/Desktop/images/12072025/00/15/image_12072025_00_16_04_10661.jpg
/home/nano/Desktop/images/12072025/00/15/image_12072025_00_15_53_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371748379","1371748328","1371748232","1371748357","1371748279","1371748194"],"photo_ids_order":["1371748194","1371748232","1371748279","1371748328","1371748357","1371748379"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af106f9bca16e21755731840e9a6ba7d.jpg","text":"TemporaryFile(/tmp/multipartBody6556112964159107665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272238460,"filename":"image_12072025_00_15_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc16fa067b4e9924e500995264dc9d85.jpg","text":"TemporaryFile(/tmp/multipartBody4533518843701117588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272238460,"filename":"image_12072025_00_16_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5613adbf22e5264bb0eacaf6df0684f5.jpg","text":"TemporaryFile(/tmp/multipartBody5813836042114593871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272238460,"filename":"image_12072025_00_16_34_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/864235adb5a377f3886fa86fbe56eff3.jpg","text":"TemporaryFile(/tmp/multipartBody3746837732345795069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272238460,"filename":"image_12072025_00_16_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98ec77ea03ac81aa8b372684cea230ab.jpg","text":"TemporaryFile(/tmp/multipartBody8368638436232651327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272238460,"filename":"image_12072025_00_16_23_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6aac75fe1fb413249e8f0bb728d81ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8098574390261389739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272238460,"filename":"image_12072025_00_16_43_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371748279","file1":"1371748232","file0":"1371748194","file4":"1371748357","file5":"1371748379","file3":"1371748328"},"map_files_photo_id_array":[{"photo_id":"1371748379","filename":"file5"},{"photo_id":"1371748279","filename":"file2"},{"photo_id":"1371748357","filename":"file4"},{"photo_id":"1371748232","filename":"file1"},{"photo_id":"1371748194","filename":"file0"},{"photo_id":"1371748328","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371748379":["hashtag1","hashtag2"]},{"1371748328":["hashtag1","hashtag2"]},{"1371748232":["hashtag1","hashtag2"]},{"1371748357":["hashtag1","hashtag2"]},{"1371748279":["hashtag1","hashtag2"]},{"1371748194":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371748379, 1371748328, 1371748232, 1371748357, 1371748279, 1371748194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0402729511261 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:17:02.380645
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/49/image_10072025_23_50_04_10679.jpg', 2), ('/home/nano/Desktop/images/10072025/23/49/image_10072025_23_49_44_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/23/48/image_10072025_23_49_04_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_44_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_34_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/49/image_10072025_23_50_04_10679.jpg', '/home/nano/Desktop/images/10072025/23/49/image_10072025_23_49_44_9645.jpg', '/home/nano/Desktop/images/10072025/23/48/image_10072025_23_49_04_10672.jpg', '/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_53_9646.jpg', '/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_44_9652.jpg', '/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_34_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/49/image_10072025_23_50_04_10679.jpg
/home/nano/Desktop/images/10072025/23/49/image_10072025_23_49_44_9645.jpg
/home/nano/Desktop/images/10072025/23/48/image_10072025_23_49_04_10672.jpg
/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_53_9646.jpg
/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_44_9652.jpg
/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_34_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371748559","1371748700","1371748564","1371748726","1371748671","1371748587"],"photo_ids_order":["1371748559","1371748564","1371748587","1371748671","1371748700","1371748726"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf36aaf9c65257e384c39fedd4ad6279.jpg","text":"TemporaryFile(/tmp/multipartBody1332107411314146576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272285319,"filename":"image_10072025_23_50_04_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4e87f56ce8869b27f6921540aa70028.jpg","text":"TemporaryFile(/tmp/multipartBody7852318466662941164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272285319,"filename":"image_10072025_23_48_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d007b67643dc894111e9f657c7e132f.jpg","text":"TemporaryFile(/tmp/multipartBody4873050836733154078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272285319,"filename":"image_10072025_23_49_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61c96dc7cc3b88cc66de7f89c09c80e8.jpg","text":"TemporaryFile(/tmp/multipartBody7167275437801618125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272285319,"filename":"image_10072025_23_48_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7eacf13878ae5928657f9458a7024e21.jpg","text":"TemporaryFile(/tmp/multipartBody7815871140377533465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272285319,"filename":"image_10072025_23_48_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0e5b07c99cec7ee5c90dcdba55d8e1e.jpg","text":"TemporaryFile(/tmp/multipartBody7162763178347191495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272285319,"filename":"image_10072025_23_49_04_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371748587","file1":"1371748564","file0":"1371748559","file4":"1371748700","file5":"1371748726","file3":"1371748671"},"map_files_photo_id_array":[{"photo_id":"1371748726","filename":"file5"},{"photo_id":"1371748587","filename":"file2"},{"photo_id":"1371748700","filename":"file4"},{"photo_id":"1371748564","filename":"file1"},{"photo_id":"1371748559","filename":"file0"},{"photo_id":"1371748671","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371748559":["hashtag1","hashtag2"]},{"1371748700":["hashtag1","hashtag2"]},{"1371748564":["hashtag1","hashtag2"]},{"1371748726":["hashtag1","hashtag2"]},{"1371748671":["hashtag1","hashtag2"]},{"1371748587":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371748559, 1371748700, 1371748564, 1371748726, 1371748671, 1371748587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.173723459243774 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:17:46.905334
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_43_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_34_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_24_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_13_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/00/16/image_12072025_00_17_04_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_54_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_43_9630.jpg', '/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_34_9631.jpg', '/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_24_10640.jpg', '/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_13_9649.jpg', '/home/nano/Desktop/images/12072025/00/16/image_12072025_00_17_04_9631.jpg', '/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_54_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_43_9630.jpg
/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_34_9631.jpg
/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_24_10640.jpg
/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_13_9649.jpg
/home/nano/Desktop/images/12072025/00/16/image_12072025_00_17_04_9631.jpg
/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_54_10640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4276082515716553 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:18:02.381254
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_54_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_43_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_34_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_24_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_13_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/00/16/image_12072025_00_17_04_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_54_9635.jpg', '/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_43_9630.jpg', '/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_34_9631.jpg', '/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_24_10640.jpg', '/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_13_9649.jpg', '/home/nano/Desktop/images/12072025/00/16/image_12072025_00_17_04_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_54_9635.jpg
/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_43_9630.jpg
/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_34_9631.jpg
/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_24_10640.jpg
/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_13_9649.jpg
/home/nano/Desktop/images/12072025/00/16/image_12072025_00_17_04_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371749087","1371749042","1371749143","1371749247","1371749282","1371749198"],"photo_ids_order":["1371749042","1371749087","1371749143","1371749198","1371749247","1371749282"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7623373541ac12077262cdde70393b6.jpg","text":"TemporaryFile(/tmp/multipartBody5993015047082018181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272343540,"filename":"image_12072025_00_17_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c25e4aa483519aee7202af13d6d0e6d.jpg","text":"TemporaryFile(/tmp/multipartBody7114906465679157404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272343540,"filename":"image_12072025_00_18_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92044ac62afaede286edc0af705c3355.jpg","text":"TemporaryFile(/tmp/multipartBody366395961605147916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272343540,"filename":"image_12072025_00_17_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4162ac8df7d5980fc4a904433fbce9cb.jpg","text":"TemporaryFile(/tmp/multipartBody3018453969193521311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272343540,"filename":"image_12072025_00_17_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e91fee724f4a0c34b97d1f5c93449c87.jpg","text":"TemporaryFile(/tmp/multipartBody8667506474064306146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272343540,"filename":"image_12072025_00_17_04_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c3b59997e9378de8f5b5bab45e820c39.jpg","text":"TemporaryFile(/tmp/multipartBody9118598712435290837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272343540,"filename":"image_12072025_00_17_24_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371749143","file1":"1371749087","file0":"1371749042","file4":"1371749247","file5":"1371749282","file3":"1371749198"},"map_files_photo_id_array":[{"photo_id":"1371749282","filename":"file5"},{"photo_id":"1371749143","filename":"file2"},{"photo_id":"1371749247","filename":"file4"},{"photo_id":"1371749087","filename":"file1"},{"photo_id":"1371749042","filename":"file0"},{"photo_id":"1371749198","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371749087":["hashtag1","hashtag2"]},{"1371749042":["hashtag1","hashtag2"]},{"1371749143":["hashtag1","hashtag2"]},{"1371749247":["hashtag1","hashtag2"]},{"1371749282":["hashtag1","hashtag2"]},{"1371749198":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371749087, 1371749042, 1371749143, 1371749247, 1371749282, 1371749198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.746933937072754 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:18:47.020540
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_24_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_13_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/00/17/image_12072025_00_18_03_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_54_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_54_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_33_9637.jpg', '/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_24_10642.jpg', '/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_13_9648.jpg', '/home/nano/Desktop/images/12072025/00/17/image_12072025_00_18_03_9640.jpg', '/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_54_10647.jpg', '/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_54_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_33_9637.jpg
/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_24_10642.jpg
/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_13_9648.jpg
/home/nano/Desktop/images/12072025/00/17/image_12072025_00_18_03_9640.jpg
/home/nano/Desktop/images/12072025/00/17/image_12072025_00_17_54_10647.jpg
/home/nano/Desktop/images/12072025/00/16/image_12072025_00_16_54_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371749483","1371749552","1371749593","1371749518","1371749425","1371749454"],"photo_ids_order":["1371749425","1371749454","1371749483","1371749518","1371749552","1371749593"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a6b8a6249393bd022980ef67e225656.jpg","text":"TemporaryFile(/tmp/multipartBody1884173469570019861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272388600,"filename":"image_12072025_00_18_13_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/450490398b1a08666c5a0866d4c1e506.jpg","text":"TemporaryFile(/tmp/multipartBody2133189867277028160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272388600,"filename":"image_12072025_00_17_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1c471feb750335c14411f1374c749e1.jpg","text":"TemporaryFile(/tmp/multipartBody875762097821489531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272388600,"filename":"image_12072025_00_16_54_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d50cd9e60cb1df6ff4d3de731c712215.jpg","text":"TemporaryFile(/tmp/multipartBody8199651127407848797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272388600,"filename":"image_12072025_00_18_03_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ee151601b74903df5ad864fac5b3fe0.jpg","text":"TemporaryFile(/tmp/multipartBody2766097513400132941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272388600,"filename":"image_12072025_00_18_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8eb2bfcf800e654492230948e5f0a68f.jpg","text":"TemporaryFile(/tmp/multipartBody1478251975162727684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272388600,"filename":"image_12072025_00_18_24_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371749483","file1":"1371749454","file0":"1371749425","file4":"1371749552","file5":"1371749593","file3":"1371749518"},"map_files_photo_id_array":[{"photo_id":"1371749593","filename":"file5"},{"photo_id":"1371749483","filename":"file2"},{"photo_id":"1371749552","filename":"file4"},{"photo_id":"1371749454","filename":"file1"},{"photo_id":"1371749425","filename":"file0"},{"photo_id":"1371749518","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371749483":["hashtag1","hashtag2"]},{"1371749552":["hashtag1","hashtag2"]},{"1371749593":["hashtag1","hashtag2"]},{"1371749518":["hashtag1","hashtag2"]},{"1371749425":["hashtag1","hashtag2"]},{"1371749454":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371749483, 1371749552, 1371749593, 1371749518, 1371749425, 1371749454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.079017877578735 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:19:32.214595
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_44_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_33_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_24_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_14_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/00/18/image_12072025_00_19_03_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_44_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_44_10638.jpg', '/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_33_9630.jpg', '/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_24_9630.jpg', '/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_14_10658.jpg', '/home/nano/Desktop/images/12072025/00/18/image_12072025_00_19_03_9655.jpg', '/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_44_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_44_10638.jpg
/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_33_9630.jpg
/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_24_9630.jpg
/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_14_10658.jpg
/home/nano/Desktop/images/12072025/00/18/image_12072025_00_19_03_9655.jpg
/home/nano/Desktop/images/12072025/00/18/image_12072025_00_18_44_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371749663","1371749674","1371749704","1371749658","1371749667","1371749712"],"photo_ids_order":["1371749658","1371749663","1371749667","1371749674","1371749704","1371749712"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ca4d647d15476c12654e022ef1a5217.jpg","text":"TemporaryFile(/tmp/multipartBody4865336919791467481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272433718,"filename":"image_12072025_00_19_33_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83119d63331d0a323d71d0cb0ea0c814.jpg","text":"TemporaryFile(/tmp/multipartBody342984961547559925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272433718,"filename":"image_12072025_00_19_14_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22f4231f088c60b311ff045703fc2d74.jpg","text":"TemporaryFile(/tmp/multipartBody6044078756285831832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272433718,"filename":"image_12072025_00_19_03_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1689b79c38ef33047c2d6ed4d119f274.jpg","text":"TemporaryFile(/tmp/multipartBody4076635384537573882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272433718,"filename":"image_12072025_00_19_44_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40a0994a13061d2739e1ae1cec41d80b.jpg","text":"TemporaryFile(/tmp/multipartBody8458820782166446206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272433718,"filename":"image_12072025_00_19_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88bf1728f06fb619c54555661a9b6413.jpg","text":"TemporaryFile(/tmp/multipartBody291422807875334823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272433718,"filename":"image_12072025_00_18_44_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371749667","file1":"1371749663","file0":"1371749658","file4":"1371749704","file5":"1371749712","file3":"1371749674"},"map_files_photo_id_array":[{"photo_id":"1371749712","filename":"file5"},{"photo_id":"1371749667","filename":"file2"},{"photo_id":"1371749704","filename":"file4"},{"photo_id":"1371749663","filename":"file1"},{"photo_id":"1371749658","filename":"file0"},{"photo_id":"1371749674","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371749663":["hashtag1","hashtag2"]},{"1371749674":["hashtag1","hashtag2"]},{"1371749704":["hashtag1","hashtag2"]},{"1371749658":["hashtag1","hashtag2"]},{"1371749667":["hashtag1","hashtag2"]},{"1371749712":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371749663, 1371749674, 1371749704, 1371749658, 1371749667, 1371749712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39505457878113 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:20:17.208424
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_44_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_33_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_23_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_14_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/00/19/image_12072025_00_20_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_44_10646.jpg', '/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_33_9630.jpg', '/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_23_9645.jpg', '/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_14_10673.jpg', '/home/nano/Desktop/images/12072025/00/19/image_12072025_00_20_03_9642.jpg', '/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_44_10646.jpg
/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_33_9630.jpg
/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_23_9645.jpg
/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_14_10673.jpg
/home/nano/Desktop/images/12072025/00/19/image_12072025_00_20_03_9642.jpg
/home/nano/Desktop/images/12072025/00/19/image_12072025_00_19_54_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371749738","1371749731","1371749740","1371749728","1371749736","1371749733"],"photo_ids_order":["1371749728","1371749731","1371749733","1371749736","1371749738","1371749740"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37c8565b4abb3e7ec41fac5ac6563b1a.jpg","text":"TemporaryFile(/tmp/multipartBody5577012524781572257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272478865,"filename":"image_12072025_00_20_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/565bc789efc8cdb6bcbcf438ea52d258.jpg","text":"TemporaryFile(/tmp/multipartBody8935412562546067908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272478865,"filename":"image_12072025_00_20_33_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9efdada5d31bedf4a297f41be52afaeb.jpg","text":"TemporaryFile(/tmp/multipartBody2071281071993940845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272478865,"filename":"image_12072025_00_19_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c4e9bba6c2f1dd38a286aff0ea30780.jpg","text":"TemporaryFile(/tmp/multipartBody1063789273570316760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272478865,"filename":"image_12072025_00_20_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8064ec3ac59ed7254a25500cb113d726.jpg","text":"TemporaryFile(/tmp/multipartBody7071873030387798817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272478865,"filename":"image_12072025_00_20_14_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7648bd2de68fe3f0ba5fc5b3cbcfc35f.jpg","text":"TemporaryFile(/tmp/multipartBody3085600561227247408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272478865,"filename":"image_12072025_00_20_23_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371749733","file1":"1371749731","file0":"1371749728","file4":"1371749738","file5":"1371749740","file3":"1371749736"},"map_files_photo_id_array":[{"photo_id":"1371749740","filename":"file5"},{"photo_id":"1371749733","filename":"file2"},{"photo_id":"1371749738","filename":"file4"},{"photo_id":"1371749731","filename":"file1"},{"photo_id":"1371749728","filename":"file0"},{"photo_id":"1371749736","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371749738":["hashtag1","hashtag2"]},{"1371749731":["hashtag1","hashtag2"]},{"1371749740":["hashtag1","hashtag2"]},{"1371749728":["hashtag1","hashtag2"]},{"1371749736":["hashtag1","hashtag2"]},{"1371749733":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371749738, 1371749731, 1371749740, 1371749728, 1371749736, 1371749733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.659016132354736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:21:02.817938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_23_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_14_9676.jpg', 2), ('/home/nano/Desktop/images/10072025/23/47/image_10072025_23_48_04_10667.jpg', 2), ('/home/nano/Desktop/images/10072025/23/47/image_10072025_23_47_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/47/image_10072025_23_47_44_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/23/47/image_10072025_23_47_33_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_23_9644.jpg', '/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_14_9676.jpg', '/home/nano/Desktop/images/10072025/23/47/image_10072025_23_48_04_10667.jpg', '/home/nano/Desktop/images/10072025/23/47/image_10072025_23_47_53_9646.jpg', '/home/nano/Desktop/images/10072025/23/47/image_10072025_23_47_44_10655.jpg', '/home/nano/Desktop/images/10072025/23/47/image_10072025_23_47_33_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_23_9644.jpg
/home/nano/Desktop/images/10072025/23/48/image_10072025_23_48_14_9676.jpg
/home/nano/Desktop/images/10072025/23/47/image_10072025_23_48_04_10667.jpg
/home/nano/Desktop/images/10072025/23/47/image_10072025_23_47_53_9646.jpg
/home/nano/Desktop/images/10072025/23/47/image_10072025_23_47_44_10655.jpg
/home/nano/Desktop/images/10072025/23/47/image_10072025_23_47_33_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371749780","1371749767","1371749772","1371749775","1371749769","1371749778"],"photo_ids_order":["1371749767","1371749769","1371749772","1371749775","1371749778","1371749780"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a574b0e61fc11913ea2d43af6e6b8a1.jpg","text":"TemporaryFile(/tmp/multipartBody6218103644778444575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272525861,"filename":"image_10072025_23_47_33_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a296dcc832bd32836a8fc796131010d.jpg","text":"TemporaryFile(/tmp/multipartBody6618634228455447428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272525861,"filename":"image_10072025_23_48_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5208b5c4433c35c236eee4e7e83f383c.jpg","text":"TemporaryFile(/tmp/multipartBody6709321956578856503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272525861,"filename":"image_10072025_23_48_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39f687f2ad28dc3d2b4bb8fb057549b7.jpg","text":"TemporaryFile(/tmp/multipartBody89608870446938216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272525861,"filename":"image_10072025_23_47_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48b5cacaf93e5228128d5a19d707f6b2.jpg","text":"TemporaryFile(/tmp/multipartBody534638623518196324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272525861,"filename":"image_10072025_23_48_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec74068cce2ac2e133dac79133520812.jpg","text":"TemporaryFile(/tmp/multipartBody9155901343163066446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272525861,"filename":"image_10072025_23_47_44_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371749772","file1":"1371749769","file0":"1371749767","file4":"1371749778","file5":"1371749780","file3":"1371749775"},"map_files_photo_id_array":[{"photo_id":"1371749780","filename":"file5"},{"photo_id":"1371749772","filename":"file2"},{"photo_id":"1371749778","filename":"file4"},{"photo_id":"1371749769","filename":"file1"},{"photo_id":"1371749767","filename":"file0"},{"photo_id":"1371749775","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371749780":["hashtag1","hashtag2"]},{"1371749767":["hashtag1","hashtag2"]},{"1371749772":["hashtag1","hashtag2"]},{"1371749775":["hashtag1","hashtag2"]},{"1371749769":["hashtag1","hashtag2"]},{"1371749778":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371749780, 1371749767, 1371749772, 1371749775, 1371749769, 1371749778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94721269607544 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:21:47.313456
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/21/image_12072025_00_21_34_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/21/image_12072025_00_21_23_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/00/21/image_12072025_00_21_14_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/00/20/image_12072025_00_21_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_53_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/21/image_12072025_00_21_34_10640.jpg', '/home/nano/Desktop/images/12072025/00/21/image_12072025_00_21_23_9655.jpg', '/home/nano/Desktop/images/12072025/00/21/image_12072025_00_21_14_9652.jpg', '/home/nano/Desktop/images/12072025/00/20/image_12072025_00_21_04_10657.jpg', '/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_53_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/21/image_12072025_00_21_34_10640.jpg
/home/nano/Desktop/images/12072025/00/21/image_12072025_00_21_23_9655.jpg
/home/nano/Desktop/images/12072025/00/21/image_12072025_00_21_14_9652.jpg
/home/nano/Desktop/images/12072025/00/20/image_12072025_00_21_04_10657.jpg
/home/nano/Desktop/images/12072025/00/20/image_12072025_00_20_53_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371749816","1371749812","1371749800","1371749805","1371749808"],"photo_ids_order":["1371749800","1371749805","1371749808","1371749812","1371749816"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc5b6b0e44fa6b4b421f06338eda4c8c.jpg","text":"TemporaryFile(/tmp/multipartBody3789349298914935256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272568906,"filename":"image_12072025_00_20_53_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9785737c1a2889c2f130d8db2532393.jpg","text":"TemporaryFile(/tmp/multipartBody5908246929708597733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272568906,"filename":"image_12072025_00_21_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f249271efc7cd188fcfc542cbd368ff6.jpg","text":"TemporaryFile(/tmp/multipartBody6159364133552700731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272568906,"filename":"image_12072025_00_21_34_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f09c88447bd128dfcadf4cfd98a7b35.jpg","text":"TemporaryFile(/tmp/multipartBody2204347581473827395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272568906,"filename":"image_12072025_00_21_23_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9ca9f24039e8bc49af03d1008050f52.jpg","text":"TemporaryFile(/tmp/multipartBody3268900203988363160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272568906,"filename":"image_12072025_00_21_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371749808","file1":"1371749805","file0":"1371749800","file4":"1371749816","file3":"1371749812"},"map_files_photo_id_array":[{"photo_id":"1371749808","filename":"file2"},{"photo_id":"1371749816","filename":"file4"},{"photo_id":"1371749805","filename":"file1"},{"photo_id":"1371749800","filename":"file0"},{"photo_id":"1371749812","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371749816":["hashtag1","hashtag2"]},{"1371749812":["hashtag1","hashtag2"]},{"1371749800":["hashtag1","hashtag2"]},{"1371749805":["hashtag1","hashtag2"]},{"1371749808":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371749816, 1371749812, 1371749800, 1371749805, 1371749808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.281040906906128 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:22:17.417773
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/22/image_12072025_00_22_43_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/22/image_12072025_00_22_23_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/22/image_12072025_00_22_14_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/00/21/image_12072025_00_22_04_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/00/21/image_12072025_00_21_44_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/22/image_12072025_00_22_43_9631.jpg', '/home/nano/Desktop/images/12072025/00/22/image_12072025_00_22_23_9630.jpg', '/home/nano/Desktop/images/12072025/00/22/image_12072025_00_22_14_9668.jpg', '/home/nano/Desktop/images/12072025/00/21/image_12072025_00_22_04_10652.jpg', '/home/nano/Desktop/images/12072025/00/21/image_12072025_00_21_44_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/22/image_12072025_00_22_43_9631.jpg
/home/nano/Desktop/images/12072025/00/22/image_12072025_00_22_23_9630.jpg
/home/nano/Desktop/images/12072025/00/22/image_12072025_00_22_14_9668.jpg
/home/nano/Desktop/images/12072025/00/21/image_12072025_00_22_04_10652.jpg
/home/nano/Desktop/images/12072025/00/21/image_12072025_00_21_44_9628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371749834","1371749825","1371749830","1371749827","1371749836"],"photo_ids_order":["1371749825","1371749827","1371749830","1371749834","1371749836"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/308b64d2d3220631852079613faca0b8.jpg","text":"TemporaryFile(/tmp/multipartBody4482623344411205770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272598553,"filename":"image_12072025_00_22_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6aebe12818684074874e8461dcc8762.jpg","text":"TemporaryFile(/tmp/multipartBody6718258258441669460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272598553,"filename":"image_12072025_00_22_43_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84b010572a4fa9b3dbde91af163af234.jpg","text":"TemporaryFile(/tmp/multipartBody5011765418612547117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272598553,"filename":"image_12072025_00_22_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92114511d9cb875a68da301cfc42c25a.jpg","text":"TemporaryFile(/tmp/multipartBody6180911526528292496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272598553,"filename":"image_12072025_00_22_23_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5938a11cdff7e01052a87ff79c75e0d6.jpg","text":"TemporaryFile(/tmp/multipartBody5492424560789807822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272598553,"filename":"image_12072025_00_21_44_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371749830","file1":"1371749827","file0":"1371749825","file4":"1371749836","file3":"1371749834"},"map_files_photo_id_array":[{"photo_id":"1371749830","filename":"file2"},{"photo_id":"1371749836","filename":"file4"},{"photo_id":"1371749827","filename":"file1"},{"photo_id":"1371749825","filename":"file0"},{"photo_id":"1371749834","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371749834":["hashtag1","hashtag2"]},{"1371749825":["hashtag1","hashtag2"]},{"1371749830":["hashtag1","hashtag2"]},{"1371749827":["hashtag1","hashtag2"]},{"1371749836":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371749834, 1371749825, 1371749830, 1371749827, 1371749836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.298923015594482 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:22:47.406042
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/47/image_10072025_23_47_14_10680.jpg', 2), ('/home/nano/Desktop/images/10072025/23/46/image_10072025_23_47_03_9658.jpg', 2), ('/home/nano/Desktop/images/10072025/23/46/image_10072025_23_46_53_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/23/46/image_10072025_23_46_44_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/23/46/image_10072025_23_46_33_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/46/image_10072025_23_46_23_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/47/image_10072025_23_47_14_10680.jpg', '/home/nano/Desktop/images/10072025/23/46/image_10072025_23_47_03_9658.jpg', '/home/nano/Desktop/images/10072025/23/46/image_10072025_23_46_53_9647.jpg', '/home/nano/Desktop/images/10072025/23/46/image_10072025_23_46_44_10655.jpg', '/home/nano/Desktop/images/10072025/23/46/image_10072025_23_46_33_9646.jpg', '/home/nano/Desktop/images/10072025/23/46/image_10072025_23_46_23_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/47/image_10072025_23_47_14_10680.jpg
/home/nano/Desktop/images/10072025/23/46/image_10072025_23_47_03_9658.jpg
/home/nano/Desktop/images/10072025/23/46/image_10072025_23_46_53_9647.jpg
/home/nano/Desktop/images/10072025/23/46/image_10072025_23_46_44_10655.jpg
/home/nano/Desktop/images/10072025/23/46/image_10072025_23_46_33_9646.jpg
/home/nano/Desktop/images/10072025/23/46/image_10072025_23_46_23_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371749860","1371749866","1371749851","1371749871","1371749874","1371749847"],"photo_ids_order":["1371749847","1371749851","1371749860","1371749866","1371749871","1371749874"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1f2490c358c6cfd6d602c0c053c0781.jpg","text":"TemporaryFile(/tmp/multipartBody7640512538577727252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272630313,"filename":"image_10072025_23_46_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e4506356d8f10c9884b9e5900f38d82.jpg","text":"TemporaryFile(/tmp/multipartBody4559433217988731603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272630313,"filename":"image_10072025_23_46_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/399c5c0e892387a845da87468bc95670.jpg","text":"TemporaryFile(/tmp/multipartBody4903798206946329710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272630313,"filename":"image_10072025_23_47_03_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72f33ee32b2d960eb4b23b6e3541d132.jpg","text":"TemporaryFile(/tmp/multipartBody8719650879628272085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272630313,"filename":"image_10072025_23_46_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0f6e87bfef54a7e0fae330d28d57dd3.jpg","text":"TemporaryFile(/tmp/multipartBody3069258505006605083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272630313,"filename":"image_10072025_23_46_23_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bbaafaf982831d28a21bf4bd2a67770d.jpg","text":"TemporaryFile(/tmp/multipartBody8960660845384683969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272630313,"filename":"image_10072025_23_47_14_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371749860","file1":"1371749851","file0":"1371749847","file4":"1371749871","file5":"1371749874","file3":"1371749866"},"map_files_photo_id_array":[{"photo_id":"1371749874","filename":"file5"},{"photo_id":"1371749860","filename":"file2"},{"photo_id":"1371749871","filename":"file4"},{"photo_id":"1371749851","filename":"file1"},{"photo_id":"1371749847","filename":"file0"},{"photo_id":"1371749866","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371749860":["hashtag1","hashtag2"]},{"1371749866":["hashtag1","hashtag2"]},{"1371749851":["hashtag1","hashtag2"]},{"1371749871":["hashtag1","hashtag2"]},{"1371749874":["hashtag1","hashtag2"]},{"1371749847":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371749860, 1371749866, 1371749851, 1371749871, 1371749874, 1371749847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79591464996338 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:23:32.494108
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/23/image_12072025_00_23_43_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/00/23/image_12072025_00_23_34_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/23/image_12072025_00_23_13_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/00/22/image_12072025_00_23_04_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/00/22/image_12072025_00_22_53_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/23/image_12072025_00_23_43_9629.jpg', '/home/nano/Desktop/images/12072025/00/23/image_12072025_00_23_34_10638.jpg', '/home/nano/Desktop/images/12072025/00/23/image_12072025_00_23_13_9668.jpg', '/home/nano/Desktop/images/12072025/00/22/image_12072025_00_23_04_10648.jpg', '/home/nano/Desktop/images/12072025/00/22/image_12072025_00_22_53_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/23/image_12072025_00_23_43_9629.jpg
/home/nano/Desktop/images/12072025/00/23/image_12072025_00_23_34_10638.jpg
/home/nano/Desktop/images/12072025/00/23/image_12072025_00_23_13_9668.jpg
/home/nano/Desktop/images/12072025/00/22/image_12072025_00_23_04_10648.jpg
/home/nano/Desktop/images/12072025/00/22/image_12072025_00_22_53_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371749909","1371749890","1371749905","1371749913","1371749897"],"photo_ids_order":["1371749890","1371749897","1371749905","1371749909","1371749913"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2c37a092300c24ef0d346df1026cf59.jpg","text":"TemporaryFile(/tmp/multipartBody3152628149295030363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272674131,"filename":"image_12072025_00_23_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f23893ea584a428e9a1daba87698defd.jpg","text":"TemporaryFile(/tmp/multipartBody2779315182721015920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272674131,"filename":"image_12072025_00_23_43_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2157342c5fa6b4010ff52803dd9b01a4.jpg","text":"TemporaryFile(/tmp/multipartBody7083088339267583046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272674131,"filename":"image_12072025_00_23_13_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb7fa7a562456461c55a305e7d65045e.jpg","text":"TemporaryFile(/tmp/multipartBody2698720268238336771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272674131,"filename":"image_12072025_00_22_53_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b48696faf4a2b3018c68ede8432fdcf7.jpg","text":"TemporaryFile(/tmp/multipartBody3478607553803155516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272674131,"filename":"image_12072025_00_23_34_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371749905","file1":"1371749897","file0":"1371749890","file4":"1371749913","file3":"1371749909"},"map_files_photo_id_array":[{"photo_id":"1371749905","filename":"file2"},{"photo_id":"1371749913","filename":"file4"},{"photo_id":"1371749897","filename":"file1"},{"photo_id":"1371749890","filename":"file0"},{"photo_id":"1371749909","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371749909":["hashtag1","hashtag2"]},{"1371749890":["hashtag1","hashtag2"]},{"1371749905":["hashtag1","hashtag2"]},{"1371749913":["hashtag1","hashtag2"]},{"1371749897":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371749909, 1371749890, 1371749905, 1371749913, 1371749897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.375734567642212 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:24:03.213801
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/45/image_10072025_23_46_03_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/23/45/image_10072025_23_45_53_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/23/45/image_10072025_23_45_44_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/23/45/image_10072025_23_45_14_10680.jpg', 2), ('/home/nano/Desktop/images/10072025/23/44/image_10072025_23_45_03_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/23/44/image_10072025_23_44_44_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/45/image_10072025_23_46_03_9665.jpg', '/home/nano/Desktop/images/10072025/23/45/image_10072025_23_45_53_9650.jpg', '/home/nano/Desktop/images/10072025/23/45/image_10072025_23_45_44_10654.jpg', '/home/nano/Desktop/images/10072025/23/45/image_10072025_23_45_14_10680.jpg', '/home/nano/Desktop/images/10072025/23/44/image_10072025_23_45_03_9657.jpg', '/home/nano/Desktop/images/10072025/23/44/image_10072025_23_44_44_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/45/image_10072025_23_46_03_9665.jpg
/home/nano/Desktop/images/10072025/23/45/image_10072025_23_45_53_9650.jpg
/home/nano/Desktop/images/10072025/23/45/image_10072025_23_45_44_10654.jpg
/home/nano/Desktop/images/10072025/23/45/image_10072025_23_45_14_10680.jpg
/home/nano/Desktop/images/10072025/23/44/image_10072025_23_45_03_9657.jpg
/home/nano/Desktop/images/10072025/23/44/image_10072025_23_44_44_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371749939","1371749935","1371749940","1371749943","1371749931","1371749928"],"photo_ids_order":["1371749928","1371749931","1371749935","1371749939","1371749940","1371749943"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eff5aee9c35130b36bd170d247c266d2.jpg","text":"TemporaryFile(/tmp/multipartBody5896987920309982310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272706194,"filename":"image_10072025_23_45_14_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ed07068b0d7cfdce45359089954b04e.jpg","text":"TemporaryFile(/tmp/multipartBody1272705054933555503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272706194,"filename":"image_10072025_23_45_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9c095331fe5e789f19e68c1b746705f.jpg","text":"TemporaryFile(/tmp/multipartBody3012616206680172380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272706194,"filename":"image_10072025_23_45_03_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00c8f75ba0d59da333e088b08ec4714e.jpg","text":"TemporaryFile(/tmp/multipartBody3553075923567472660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272706194,"filename":"image_10072025_23_44_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf0d72e6277b2aa76951dc9cbf55b557.jpg","text":"TemporaryFile(/tmp/multipartBody2304015245811240726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272706194,"filename":"image_10072025_23_45_53_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5cf77ac145270496a0994555ad6e5147.jpg","text":"TemporaryFile(/tmp/multipartBody1446859105038990199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272706194,"filename":"image_10072025_23_46_03_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371749935","file1":"1371749931","file0":"1371749928","file4":"1371749940","file5":"1371749943","file3":"1371749939"},"map_files_photo_id_array":[{"photo_id":"1371749943","filename":"file5"},{"photo_id":"1371749935","filename":"file2"},{"photo_id":"1371749940","filename":"file4"},{"photo_id":"1371749931","filename":"file1"},{"photo_id":"1371749928","filename":"file0"},{"photo_id":"1371749939","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371749939":["hashtag1","hashtag2"]},{"1371749935":["hashtag1","hashtag2"]},{"1371749940":["hashtag1","hashtag2"]},{"1371749943":["hashtag1","hashtag2"]},{"1371749931":["hashtag1","hashtag2"]},{"1371749928":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371749939, 1371749935, 1371749940, 1371749943, 1371749931, 1371749928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48604083061218 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:24:47.619049
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/24/image_12072025_00_24_43_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/00/24/image_12072025_00_24_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/24/image_12072025_00_24_24_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/23/image_12072025_00_24_04_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/23/image_12072025_00_23_54_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/24/image_12072025_00_24_43_9646.jpg', '/home/nano/Desktop/images/12072025/00/24/image_12072025_00_24_34_9639.jpg', '/home/nano/Desktop/images/12072025/00/24/image_12072025_00_24_24_10638.jpg', '/home/nano/Desktop/images/12072025/00/23/image_12072025_00_24_04_9640.jpg', '/home/nano/Desktop/images/12072025/00/23/image_12072025_00_23_54_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/24/image_12072025_00_24_43_9646.jpg
/home/nano/Desktop/images/12072025/00/24/image_12072025_00_24_34_9639.jpg
/home/nano/Desktop/images/12072025/00/24/image_12072025_00_24_24_10638.jpg
/home/nano/Desktop/images/12072025/00/23/image_12072025_00_24_04_9640.jpg
/home/nano/Desktop/images/12072025/00/23/image_12072025_00_23_54_10642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371749987","1371749995","1371749983","1371750002","1371749991"],"photo_ids_order":["1371749983","1371749987","1371749991","1371749995","1371750002"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d70a49c7f8d7ee046ab4dd9a5b00b475.jpg","text":"TemporaryFile(/tmp/multipartBody3910947921184666129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272748905,"filename":"image_12072025_00_24_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/638cd5022efef3ebd07d4aff50ee7241.jpg","text":"TemporaryFile(/tmp/multipartBody1541485439556557004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272748905,"filename":"image_12072025_00_24_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8842213054c581f3fff3def843cdf247.jpg","text":"TemporaryFile(/tmp/multipartBody9112813066989604919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272748905,"filename":"image_12072025_00_24_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9389709e83b0a2e828bf7f7dcc53cce.jpg","text":"TemporaryFile(/tmp/multipartBody778170590085874851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272748905,"filename":"image_12072025_00_23_54_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/920fb99ca4237c94af015e72209ca7e4.jpg","text":"TemporaryFile(/tmp/multipartBody6444509618624865977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272748905,"filename":"image_12072025_00_24_24_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371749991","file1":"1371749987","file0":"1371749983","file4":"1371750002","file3":"1371749995"},"map_files_photo_id_array":[{"photo_id":"1371749991","filename":"file2"},{"photo_id":"1371750002","filename":"file4"},{"photo_id":"1371749987","filename":"file1"},{"photo_id":"1371749983","filename":"file0"},{"photo_id":"1371749995","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371749987":["hashtag1","hashtag2"]},{"1371749995":["hashtag1","hashtag2"]},{"1371749983":["hashtag1","hashtag2"]},{"1371750002":["hashtag1","hashtag2"]},{"1371749991":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371749987, 1371749995, 1371749983, 1371750002, 1371749991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.039851188659668 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:25:17.726273
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/25/image_12072025_00_25_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/25/image_12072025_00_25_33_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/24/image_12072025_00_25_04_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/00/24/image_12072025_00_24_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/25/image_12072025_00_25_43_9637.jpg', '/home/nano/Desktop/images/12072025/00/25/image_12072025_00_25_33_9631.jpg', '/home/nano/Desktop/images/12072025/00/24/image_12072025_00_25_04_9660.jpg', '/home/nano/Desktop/images/12072025/00/24/image_12072025_00_24_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/25/image_12072025_00_25_43_9637.jpg
/home/nano/Desktop/images/12072025/00/25/image_12072025_00_25_33_9631.jpg
/home/nano/Desktop/images/12072025/00/24/image_12072025_00_25_04_9660.jpg
/home/nano/Desktop/images/12072025/00/24/image_12072025_00_24_54_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371750039","1371750068","1371750093","1371750120"],"photo_ids_order":["1371750039","1371750068","1371750093","1371750120"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bb1ec5eb241b3674fc60e8b7f4206b5.jpg","text":"TemporaryFile(/tmp/multipartBody2540704127615793734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272778874,"filename":"image_12072025_00_25_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df90ddb64309ffb14498651a201e9505.jpg","text":"TemporaryFile(/tmp/multipartBody187702135811747682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272778874,"filename":"image_12072025_00_25_33_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17bf9d4b5752a989eb35f7bfb1ee239a.jpg","text":"TemporaryFile(/tmp/multipartBody3504805155742569565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272778874,"filename":"image_12072025_00_25_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9aa0d282e3cb4f7974d7cf03817a67c.jpg","text":"TemporaryFile(/tmp/multipartBody4458495167467718855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272778874,"filename":"image_12072025_00_24_54_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371750093","file1":"1371750068","file0":"1371750039","file3":"1371750120"},"map_files_photo_id_array":[{"photo_id":"1371750093","filename":"file2"},{"photo_id":"1371750068","filename":"file1"},{"photo_id":"1371750039","filename":"file0"},{"photo_id":"1371750120","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371750039":["hashtag1","hashtag2"]},{"1371750068":["hashtag1","hashtag2"]},{"1371750093":["hashtag1","hashtag2"]},{"1371750120":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371750039, 1371750068, 1371750093, 1371750120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.256720781326294 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:25:47.694872
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/43/image_10072025_23_43_54_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/23/43/image_10072025_23_43_33_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/43/image_10072025_23_43_24_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/23/43/image_10072025_23_43_14_10670.jpg', 2), ('/home/nano/Desktop/images/10072025/23/42/image_10072025_23_43_03_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/23/42/image_10072025_23_42_44_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/43/image_10072025_23_43_54_9645.jpg', '/home/nano/Desktop/images/10072025/23/43/image_10072025_23_43_33_9646.jpg', '/home/nano/Desktop/images/10072025/23/43/image_10072025_23_43_24_9644.jpg', '/home/nano/Desktop/images/10072025/23/43/image_10072025_23_43_14_10670.jpg', '/home/nano/Desktop/images/10072025/23/42/image_10072025_23_43_03_9667.jpg', '/home/nano/Desktop/images/10072025/23/42/image_10072025_23_42_44_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/43/image_10072025_23_43_54_9645.jpg
/home/nano/Desktop/images/10072025/23/43/image_10072025_23_43_33_9646.jpg
/home/nano/Desktop/images/10072025/23/43/image_10072025_23_43_24_9644.jpg
/home/nano/Desktop/images/10072025/23/43/image_10072025_23_43_14_10670.jpg
/home/nano/Desktop/images/10072025/23/42/image_10072025_23_43_03_9667.jpg
/home/nano/Desktop/images/10072025/23/42/image_10072025_23_42_44_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371750377","1371750320","1371750292","1371750265","1371750354","1371750240"],"photo_ids_order":["1371750240","1371750265","1371750292","1371750320","1371750354","1371750377"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e38ca1fad7709ca53aa0270db929cfa.jpg","text":"TemporaryFile(/tmp/multipartBody9169779270399764861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272810734,"filename":"image_10072025_23_42_44_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3bd4873bf34d1daad07d981eba9d852e.jpg","text":"TemporaryFile(/tmp/multipartBody2734759823086246857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272810734,"filename":"image_10072025_23_43_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ecf62d12629d8d7f22b31dfe8f0dca84.jpg","text":"TemporaryFile(/tmp/multipartBody1827156291568776406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272810734,"filename":"image_10072025_23_43_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ee052f0dd78640912511d8f205fcefe.jpg","text":"TemporaryFile(/tmp/multipartBody1736563246955434879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272810734,"filename":"image_10072025_23_43_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6387a591b9dfa9b4b8cdc4362e4a2cd0.jpg","text":"TemporaryFile(/tmp/multipartBody3711916633644592688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272810734,"filename":"image_10072025_23_43_03_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0ac70b6b13b6cf3729f27ee2a4276e6.jpg","text":"TemporaryFile(/tmp/multipartBody8736426910697870069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272810734,"filename":"image_10072025_23_43_54_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371750292","file1":"1371750265","file0":"1371750240","file4":"1371750354","file5":"1371750377","file3":"1371750320"},"map_files_photo_id_array":[{"photo_id":"1371750377","filename":"file5"},{"photo_id":"1371750292","filename":"file2"},{"photo_id":"1371750354","filename":"file4"},{"photo_id":"1371750265","filename":"file1"},{"photo_id":"1371750240","filename":"file0"},{"photo_id":"1371750320","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371750377":["hashtag1","hashtag2"]},{"1371750320":["hashtag1","hashtag2"]},{"1371750292":["hashtag1","hashtag2"]},{"1371750265":["hashtag1","hashtag2"]},{"1371750354":["hashtag1","hashtag2"]},{"1371750240":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371750377, 1371750320, 1371750292, 1371750265, 1371750354, 1371750240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.341464042663574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:26:31.808978
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/26/image_12072025_00_26_44_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/26/image_12072025_00_26_33_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/26/image_12072025_00_26_24_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/00/25/image_12072025_00_26_03_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/00/25/image_12072025_00_25_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/26/image_12072025_00_26_44_10640.jpg', '/home/nano/Desktop/images/12072025/00/26/image_12072025_00_26_33_9630.jpg', '/home/nano/Desktop/images/12072025/00/26/image_12072025_00_26_24_9633.jpg', '/home/nano/Desktop/images/12072025/00/25/image_12072025_00_26_03_9635.jpg', '/home/nano/Desktop/images/12072025/00/25/image_12072025_00_25_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/26/image_12072025_00_26_44_10640.jpg
/home/nano/Desktop/images/12072025/00/26/image_12072025_00_26_33_9630.jpg
/home/nano/Desktop/images/12072025/00/26/image_12072025_00_26_24_9633.jpg
/home/nano/Desktop/images/12072025/00/25/image_12072025_00_26_03_9635.jpg
/home/nano/Desktop/images/12072025/00/25/image_12072025_00_25_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371750408","1371750419","1371750410","1371750413","1371750409"],"photo_ids_order":["1371750408","1371750409","1371750410","1371750413","1371750419"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9df66b6b471808e803b28ac47ed7bfb2.jpg","text":"TemporaryFile(/tmp/multipartBody8694007075011143581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272853231,"filename":"image_12072025_00_26_44_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9df008610dbe486dbb06feb113131ae6.jpg","text":"TemporaryFile(/tmp/multipartBody6323621543347643319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272853231,"filename":"image_12072025_00_25_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f88dd227c5ca51e73f999854fd06862.jpg","text":"TemporaryFile(/tmp/multipartBody164427106439643183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272853231,"filename":"image_12072025_00_26_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2a324d0ddb4613f7f4a7457d53175f4.jpg","text":"TemporaryFile(/tmp/multipartBody7168043616033134249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272853231,"filename":"image_12072025_00_26_03_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ec58dadca26057d12578d66c0c87875.jpg","text":"TemporaryFile(/tmp/multipartBody7285140628797309009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272853231,"filename":"image_12072025_00_26_33_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371750410","file1":"1371750409","file0":"1371750408","file4":"1371750419","file3":"1371750413"},"map_files_photo_id_array":[{"photo_id":"1371750410","filename":"file2"},{"photo_id":"1371750419","filename":"file4"},{"photo_id":"1371750409","filename":"file1"},{"photo_id":"1371750408","filename":"file0"},{"photo_id":"1371750413","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371750408":["hashtag1","hashtag2"]},{"1371750419":["hashtag1","hashtag2"]},{"1371750410":["hashtag1","hashtag2"]},{"1371750413":["hashtag1","hashtag2"]},{"1371750409":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371750408, 1371750419, 1371750410, 1371750413, 1371750409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.567338943481445 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:27:16.903802
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_33_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_24_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/00/26/image_12072025_00_27_03_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/00/26/image_12072025_00_26_54_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_44_10649.jpg', '/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_33_9629.jpg', '/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_24_9647.jpg', '/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_14_10667.jpg', '/home/nano/Desktop/images/12072025/00/26/image_12072025_00_27_03_9632.jpg', '/home/nano/Desktop/images/12072025/00/26/image_12072025_00_26_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_44_10649.jpg
/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_33_9629.jpg
/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_24_9647.jpg
/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_14_10667.jpg
/home/nano/Desktop/images/12072025/00/26/image_12072025_00_27_03_9632.jpg
/home/nano/Desktop/images/12072025/00/26/image_12072025_00_26_54_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371750461","1371750466","1371750454","1371750448","1371750457","1371750450"],"photo_ids_order":["1371750448","1371750450","1371750454","1371750457","1371750461","1371750466"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d95effdd54c2f7c0994e61f73bbd39d7.jpg","text":"TemporaryFile(/tmp/multipartBody1561422211782058165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272898485,"filename":"image_12072025_00_27_03_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02720c6bd6e5a13faf0e05f9db5ffc44.jpg","text":"TemporaryFile(/tmp/multipartBody1624578565861139816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272898485,"filename":"image_12072025_00_26_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a28a7dde6d3cef7d453d56b6aa35b2b5.jpg","text":"TemporaryFile(/tmp/multipartBody2159841980681087505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272898485,"filename":"image_12072025_00_27_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a46b169a48c168dd2e04556f17e8f9d9.jpg","text":"TemporaryFile(/tmp/multipartBody7006484571365071149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272898485,"filename":"image_12072025_00_27_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9ea2dd1d7995375e2b856d90e2a102b.jpg","text":"TemporaryFile(/tmp/multipartBody4601800621062210769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272898485,"filename":"image_12072025_00_27_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/312a12c3c57e9717aee2fb1556e47686.jpg","text":"TemporaryFile(/tmp/multipartBody3119148937572261647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272898485,"filename":"image_12072025_00_27_33_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371750454","file1":"1371750450","file0":"1371750448","file4":"1371750461","file5":"1371750466","file3":"1371750457"},"map_files_photo_id_array":[{"photo_id":"1371750466","filename":"file5"},{"photo_id":"1371750454","filename":"file2"},{"photo_id":"1371750461","filename":"file4"},{"photo_id":"1371750450","filename":"file1"},{"photo_id":"1371750448","filename":"file0"},{"photo_id":"1371750457","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371750461":["hashtag1","hashtag2"]},{"1371750466":["hashtag1","hashtag2"]},{"1371750454":["hashtag1","hashtag2"]},{"1371750448":["hashtag1","hashtag2"]},{"1371750457":["hashtag1","hashtag2"]},{"1371750450":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371750461, 1371750466, 1371750454, 1371750448, 1371750457, 1371750450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45201587677002 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:28:02.401459
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/42/image_10072025_23_42_24_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/23/41/image_10072025_23_41_33_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/41/image_10072025_23_41_24_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/23/41/image_10072025_23_41_13_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/23/40/image_10072025_23_40_54_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/23/40/image_10072025_23_40_43_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/42/image_10072025_23_42_24_9647.jpg', '/home/nano/Desktop/images/10072025/23/41/image_10072025_23_41_33_9646.jpg', '/home/nano/Desktop/images/10072025/23/41/image_10072025_23_41_24_10654.jpg', '/home/nano/Desktop/images/10072025/23/41/image_10072025_23_41_13_9666.jpg', '/home/nano/Desktop/images/10072025/23/40/image_10072025_23_40_54_10656.jpg', '/home/nano/Desktop/images/10072025/23/40/image_10072025_23_40_43_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/42/image_10072025_23_42_24_9647.jpg
/home/nano/Desktop/images/10072025/23/41/image_10072025_23_41_33_9646.jpg
/home/nano/Desktop/images/10072025/23/41/image_10072025_23_41_24_10654.jpg
/home/nano/Desktop/images/10072025/23/41/image_10072025_23_41_13_9666.jpg
/home/nano/Desktop/images/10072025/23/40/image_10072025_23_40_54_10656.jpg
/home/nano/Desktop/images/10072025/23/40/image_10072025_23_40_43_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371750513","1371750516","1371750504","1371750521","1371750508","1371750519"],"photo_ids_order":["1371750504","1371750508","1371750513","1371750516","1371750519","1371750521"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a36e798a0925426a505ab47bb2c8b5f3.jpg","text":"TemporaryFile(/tmp/multipartBody8851906649691109019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272945411,"filename":"image_10072025_23_41_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77e13fea0ab5236b7c58604612ac6732.jpg","text":"TemporaryFile(/tmp/multipartBody7927880812064228676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272945411,"filename":"image_10072025_23_41_13_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0be4d84c2227dd0ea2b4f9f79146273.jpg","text":"TemporaryFile(/tmp/multipartBody6800358226511058726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272945411,"filename":"image_10072025_23_42_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68fe69e9bef0f0a48fca008ddc4b02ad.jpg","text":"TemporaryFile(/tmp/multipartBody8599432365627015692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272945411,"filename":"image_10072025_23_40_43_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87ae9e76649e58b1e807996d8718d4d3.jpg","text":"TemporaryFile(/tmp/multipartBody5176757045214118731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272945411,"filename":"image_10072025_23_41_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f331d60dc39285dab1c12970845635a.jpg","text":"TemporaryFile(/tmp/multipartBody6805125607309998520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272945411,"filename":"image_10072025_23_40_54_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371750513","file1":"1371750508","file0":"1371750504","file4":"1371750519","file5":"1371750521","file3":"1371750516"},"map_files_photo_id_array":[{"photo_id":"1371750521","filename":"file5"},{"photo_id":"1371750513","filename":"file2"},{"photo_id":"1371750519","filename":"file4"},{"photo_id":"1371750508","filename":"file1"},{"photo_id":"1371750504","filename":"file0"},{"photo_id":"1371750516","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371750513":["hashtag1","hashtag2"]},{"1371750516":["hashtag1","hashtag2"]},{"1371750504":["hashtag1","hashtag2"]},{"1371750521":["hashtag1","hashtag2"]},{"1371750508":["hashtag1","hashtag2"]},{"1371750519":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371750513, 1371750516, 1371750504, 1371750521, 1371750508, 1371750519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.039886236190796 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:28:47.013105
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_44_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_34_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_23_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_14_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/00/27/image_12072025_00_28_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_44_9629.jpg', '/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_34_10640.jpg', '/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_23_9654.jpg', '/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_14_10656.jpg', '/home/nano/Desktop/images/12072025/00/27/image_12072025_00_28_03_9643.jpg', '/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_44_9629.jpg
/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_34_10640.jpg
/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_23_9654.jpg
/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_14_10656.jpg
/home/nano/Desktop/images/12072025/00/27/image_12072025_00_28_03_9643.jpg
/home/nano/Desktop/images/12072025/00/27/image_12072025_00_27_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371750590","1371750662","1371750559","1371750547","1371750541","1371750618"],"photo_ids_order":["1371750541","1371750547","1371750559","1371750590","1371750618","1371750662"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ad96f9116fc2c01cacf32d48b42e072.jpg","text":"TemporaryFile(/tmp/multipartBody7163622742873615893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272988606,"filename":"image_12072025_00_28_14_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33c06826655925c2d892bd0a5b8f8ce8.jpg","text":"TemporaryFile(/tmp/multipartBody7402651540935530294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272988606,"filename":"image_12072025_00_27_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0772f18e4c4b3fe0e908fe149e996c3.jpg","text":"TemporaryFile(/tmp/multipartBody7180319598773144906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272988606,"filename":"image_12072025_00_28_23_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28e501d09998837f15de026940b3f908.jpg","text":"TemporaryFile(/tmp/multipartBody1401245123583136367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272988606,"filename":"image_12072025_00_28_34_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eaeae124f3981daa5cbff3b7c2d418fe.jpg","text":"TemporaryFile(/tmp/multipartBody2341136116575492622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272988606,"filename":"image_12072025_00_28_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/606b93bc3ae00fecfa4652afdc2eea9c.jpg","text":"TemporaryFile(/tmp/multipartBody3642133226672157550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752272988606,"filename":"image_12072025_00_28_03_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371750559","file1":"1371750547","file0":"1371750541","file4":"1371750618","file5":"1371750662","file3":"1371750590"},"map_files_photo_id_array":[{"photo_id":"1371750662","filename":"file5"},{"photo_id":"1371750559","filename":"file2"},{"photo_id":"1371750618","filename":"file4"},{"photo_id":"1371750547","filename":"file1"},{"photo_id":"1371750541","filename":"file0"},{"photo_id":"1371750590","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371750590":["hashtag1","hashtag2"]},{"1371750662":["hashtag1","hashtag2"]},{"1371750559":["hashtag1","hashtag2"]},{"1371750547":["hashtag1","hashtag2"]},{"1371750541":["hashtag1","hashtag2"]},{"1371750618":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371750590, 1371750662, 1371750559, 1371750547, 1371750541, 1371750618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92526721954346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:29:32.097190
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/29/image_12072025_00_29_44_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/29/image_12072025_00_29_23_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/00/29/image_12072025_00_29_14_9693.jpg', 2), ('/home/nano/Desktop/images/12072025/00/28/image_12072025_00_29_04_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_53_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/29/image_12072025_00_29_44_9630.jpg', '/home/nano/Desktop/images/12072025/00/29/image_12072025_00_29_23_9649.jpg', '/home/nano/Desktop/images/12072025/00/29/image_12072025_00_29_14_9693.jpg', '/home/nano/Desktop/images/12072025/00/28/image_12072025_00_29_04_10654.jpg', '/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_53_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/29/image_12072025_00_29_44_9630.jpg
/home/nano/Desktop/images/12072025/00/29/image_12072025_00_29_23_9649.jpg
/home/nano/Desktop/images/12072025/00/29/image_12072025_00_29_14_9693.jpg
/home/nano/Desktop/images/12072025/00/28/image_12072025_00_29_04_10654.jpg
/home/nano/Desktop/images/12072025/00/28/image_12072025_00_28_53_9629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371751007","1371750967","1371751059","1371750916","1371751104"],"photo_ids_order":["1371750916","1371750967","1371751007","1371751059","1371751104"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74798fdfdfbf795cc5ebc088ec600ea6.jpg","text":"TemporaryFile(/tmp/multipartBody9157053381718833409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273033341,"filename":"image_12072025_00_29_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8b3a43197ae0da3346cffdb54564b1c.jpg","text":"TemporaryFile(/tmp/multipartBody2312761504143276528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273033341,"filename":"image_12072025_00_29_23_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3515de4d5200c72d395ed19a2d9e29ca.jpg","text":"TemporaryFile(/tmp/multipartBody8893551524150523653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273033341,"filename":"image_12072025_00_29_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae5783e46e7c01e89e37d7cc57510904.jpg","text":"TemporaryFile(/tmp/multipartBody7769407061518272428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273033341,"filename":"image_12072025_00_29_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65a45133aba0809499514419e7145145.jpg","text":"TemporaryFile(/tmp/multipartBody1479133888883021728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273033341,"filename":"image_12072025_00_28_53_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371751007","file1":"1371750967","file0":"1371750916","file4":"1371751104","file3":"1371751059"},"map_files_photo_id_array":[{"photo_id":"1371751007","filename":"file2"},{"photo_id":"1371751104","filename":"file4"},{"photo_id":"1371750967","filename":"file1"},{"photo_id":"1371750916","filename":"file0"},{"photo_id":"1371751059","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371751007":["hashtag1","hashtag2"]},{"1371750967":["hashtag1","hashtag2"]},{"1371751059":["hashtag1","hashtag2"]},{"1371750916":["hashtag1","hashtag2"]},{"1371751104":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371751007, 1371750967, 1371751059, 1371750916, 1371751104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.459694385528564 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:30:17.201076
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/30/image_12072025_00_30_34_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/30/image_12072025_00_30_13_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/00/29/image_12072025_00_30_04_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/00/29/image_12072025_00_29_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/30/image_12072025_00_30_34_10639.jpg', '/home/nano/Desktop/images/12072025/00/30/image_12072025_00_30_13_9645.jpg', '/home/nano/Desktop/images/12072025/00/29/image_12072025_00_30_04_10648.jpg', '/home/nano/Desktop/images/12072025/00/29/image_12072025_00_29_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/30/image_12072025_00_30_34_10639.jpg
/home/nano/Desktop/images/12072025/00/30/image_12072025_00_30_13_9645.jpg
/home/nano/Desktop/images/12072025/00/29/image_12072025_00_30_04_10648.jpg
/home/nano/Desktop/images/12072025/00/29/image_12072025_00_29_53_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371751211","1371751222","1371751219","1371751194"],"photo_ids_order":["1371751194","1371751211","1371751219","1371751222"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e3d46bb0e586e6a62add0173728a7e9.jpg","text":"TemporaryFile(/tmp/multipartBody3925310597149615346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273078509,"filename":"image_12072025_00_30_13_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f34227a2c41c327e31ce1a144645db86.jpg","text":"TemporaryFile(/tmp/multipartBody4511317261747729978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273078509,"filename":"image_12072025_00_29_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d2c8d7688d3bdad77204174c365d27d.jpg","text":"TemporaryFile(/tmp/multipartBody3536366105937739385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273078509,"filename":"image_12072025_00_30_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52dee16ba24520a77c2e34808afaa42e.jpg","text":"TemporaryFile(/tmp/multipartBody9008133013928585369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273078509,"filename":"image_12072025_00_30_34_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371751219","file1":"1371751211","file0":"1371751194","file3":"1371751222"},"map_files_photo_id_array":[{"photo_id":"1371751219","filename":"file2"},{"photo_id":"1371751211","filename":"file1"},{"photo_id":"1371751194","filename":"file0"},{"photo_id":"1371751222","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371751211":["hashtag1","hashtag2"]},{"1371751222":["hashtag1","hashtag2"]},{"1371751219":["hashtag1","hashtag2"]},{"1371751194":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371751211, 1371751222, 1371751219, 1371751194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.770463466644287 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:30:47.202064
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/40/image_10072025_23_40_13_9668.jpg', 2), ('/home/nano/Desktop/images/10072025/23/39/image_10072025_23_40_04_9658.jpg', 2), ('/home/nano/Desktop/images/10072025/23/39/image_10072025_23_39_43_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/23/39/image_10072025_23_39_34_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/23/39/image_10072025_23_39_24_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/23/39/image_10072025_23_39_13_9672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/40/image_10072025_23_40_13_9668.jpg', '/home/nano/Desktop/images/10072025/23/39/image_10072025_23_40_04_9658.jpg', '/home/nano/Desktop/images/10072025/23/39/image_10072025_23_39_43_9663.jpg', '/home/nano/Desktop/images/10072025/23/39/image_10072025_23_39_34_9653.jpg', '/home/nano/Desktop/images/10072025/23/39/image_10072025_23_39_24_10661.jpg', '/home/nano/Desktop/images/10072025/23/39/image_10072025_23_39_13_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/40/image_10072025_23_40_13_9668.jpg
/home/nano/Desktop/images/10072025/23/39/image_10072025_23_40_04_9658.jpg
/home/nano/Desktop/images/10072025/23/39/image_10072025_23_39_43_9663.jpg
/home/nano/Desktop/images/10072025/23/39/image_10072025_23_39_34_9653.jpg
/home/nano/Desktop/images/10072025/23/39/image_10072025_23_39_24_10661.jpg
/home/nano/Desktop/images/10072025/23/39/image_10072025_23_39_13_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371751289","1371751264","1371751273","1371751267","1371751284","1371751278"],"photo_ids_order":["1371751264","1371751267","1371751273","1371751278","1371751284","1371751289"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79516ff2c6f033d733e2861102abd71d.jpg","text":"TemporaryFile(/tmp/multipartBody2671989138288453545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273110239,"filename":"image_10072025_23_39_13_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/095d15ec6505045aebab470f3c220772.jpg","text":"TemporaryFile(/tmp/multipartBody6631403376403085683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273110239,"filename":"image_10072025_23_40_13_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7881f7a30208f2112e74df7f3746c4e5.jpg","text":"TemporaryFile(/tmp/multipartBody6679379725879485328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273110239,"filename":"image_10072025_23_39_43_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60173b220dd334c88f36d2f3168d1c56.jpg","text":"TemporaryFile(/tmp/multipartBody7458646994073360377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273110239,"filename":"image_10072025_23_40_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1a0632c1aef538641eeca25ad0556e6.jpg","text":"TemporaryFile(/tmp/multipartBody2846828520599511368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273110239,"filename":"image_10072025_23_39_24_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fc723eb65705ac60238563b0dfb91fe.jpg","text":"TemporaryFile(/tmp/multipartBody8409937171133110000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273110239,"filename":"image_10072025_23_39_34_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371751273","file1":"1371751267","file0":"1371751264","file4":"1371751284","file5":"1371751289","file3":"1371751278"},"map_files_photo_id_array":[{"photo_id":"1371751289","filename":"file5"},{"photo_id":"1371751273","filename":"file2"},{"photo_id":"1371751284","filename":"file4"},{"photo_id":"1371751267","filename":"file1"},{"photo_id":"1371751264","filename":"file0"},{"photo_id":"1371751278","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371751289":["hashtag1","hashtag2"]},{"1371751264":["hashtag1","hashtag2"]},{"1371751273":["hashtag1","hashtag2"]},{"1371751267":["hashtag1","hashtag2"]},{"1371751284":["hashtag1","hashtag2"]},{"1371751278":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371751289, 1371751264, 1371751273, 1371751267, 1371751284, 1371751278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02046275138855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:31:32.285898
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_34_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_24_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_13_9674.jpg', 2), ('/home/nano/Desktop/images/12072025/00/30/image_12072025_00_31_04_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/30/image_12072025_00_30_54_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_43_9637.jpg', '/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_34_9632.jpg', '/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_24_10646.jpg', '/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_13_9674.jpg', '/home/nano/Desktop/images/12072025/00/30/image_12072025_00_31_04_9638.jpg', '/home/nano/Desktop/images/12072025/00/30/image_12072025_00_30_54_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_43_9637.jpg
/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_34_9632.jpg
/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_24_10646.jpg
/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_13_9674.jpg
/home/nano/Desktop/images/12072025/00/30/image_12072025_00_31_04_9638.jpg
/home/nano/Desktop/images/12072025/00/30/image_12072025_00_30_54_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371751322","1371751316","1371751301","1371751327","1371751305","1371751314"],"photo_ids_order":["1371751301","1371751305","1371751314","1371751316","1371751322","1371751327"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53e4ee54dea0db0009502da757fe124a.jpg","text":"TemporaryFile(/tmp/multipartBody7957274603682260041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273154123,"filename":"image_12072025_00_31_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f30afbcfb08fa0a38f701fa47408a325.jpg","text":"TemporaryFile(/tmp/multipartBody5941561299527451068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273154123,"filename":"image_12072025_00_31_13_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65a3eeca528c30d88d940082e51dec85.jpg","text":"TemporaryFile(/tmp/multipartBody8042601317257526235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273154123,"filename":"image_12072025_00_31_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f84efedc9c4ce025032c4f71edcc4c6b.jpg","text":"TemporaryFile(/tmp/multipartBody2885868764463082845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273154123,"filename":"image_12072025_00_30_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a410f10fa2be77b11499fa4a5d0e4fce.jpg","text":"TemporaryFile(/tmp/multipartBody758789867979820136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273154123,"filename":"image_12072025_00_31_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9d3d7f00e18a11ceb050e13b5c82fba.jpg","text":"TemporaryFile(/tmp/multipartBody5614110447265616225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273154123,"filename":"image_12072025_00_31_24_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371751314","file1":"1371751305","file0":"1371751301","file4":"1371751322","file5":"1371751327","file3":"1371751316"},"map_files_photo_id_array":[{"photo_id":"1371751327","filename":"file5"},{"photo_id":"1371751314","filename":"file2"},{"photo_id":"1371751322","filename":"file4"},{"photo_id":"1371751305","filename":"file1"},{"photo_id":"1371751301","filename":"file0"},{"photo_id":"1371751316","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371751322":["hashtag1","hashtag2"]},{"1371751316":["hashtag1","hashtag2"]},{"1371751301":["hashtag1","hashtag2"]},{"1371751327":["hashtag1","hashtag2"]},{"1371751305":["hashtag1","hashtag2"]},{"1371751314":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371751322, 1371751316, 1371751301, 1371751327, 1371751305, 1371751314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.63339114189148 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:32:47.421887
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_43_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_33_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_24_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_13_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/00/31/image_12072025_00_32_04_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_54_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_43_9635.jpg', '/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_33_9632.jpg', '/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_24_10663.jpg', '/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_13_9651.jpg', '/home/nano/Desktop/images/12072025/00/31/image_12072025_00_32_04_9630.jpg', '/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_54_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_43_9635.jpg
/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_33_9632.jpg
/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_24_10663.jpg
/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_13_9651.jpg
/home/nano/Desktop/images/12072025/00/31/image_12072025_00_32_04_9630.jpg
/home/nano/Desktop/images/12072025/00/31/image_12072025_00_31_54_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371751373","1371751361","1371751355","1371751348","1371751347","1371751379"],"photo_ids_order":["1371751347","1371751348","1371751355","1371751361","1371751373","1371751379"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ed96eebf8188c063caf9a57981636fc.jpg","text":"TemporaryFile(/tmp/multipartBody2326141724996572491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273228743,"filename":"image_12072025_00_32_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91ba97dc4ec2cffc2a418ea8d19f332f.jpg","text":"TemporaryFile(/tmp/multipartBody463161160377697295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273228743,"filename":"image_12072025_00_32_13_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48186df3dba2724d8faf251a4dfe84c7.jpg","text":"TemporaryFile(/tmp/multipartBody4240444986040767142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273228743,"filename":"image_12072025_00_32_24_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6f6a40ea85822f585f562ff8e90b061.jpg","text":"TemporaryFile(/tmp/multipartBody267628473036891765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273228743,"filename":"image_12072025_00_32_33_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c96b012774a09fab4d10d29ca67af958.jpg","text":"TemporaryFile(/tmp/multipartBody831138409473661407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273228743,"filename":"image_12072025_00_32_43_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec5262dc83bc221c86a37db0cd190fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6972669285619662601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273228743,"filename":"image_12072025_00_31_54_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371751355","file1":"1371751348","file0":"1371751347","file4":"1371751373","file5":"1371751379","file3":"1371751361"},"map_files_photo_id_array":[{"photo_id":"1371751379","filename":"file5"},{"photo_id":"1371751355","filename":"file2"},{"photo_id":"1371751373","filename":"file4"},{"photo_id":"1371751348","filename":"file1"},{"photo_id":"1371751347","filename":"file0"},{"photo_id":"1371751361","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371751373":["hashtag1","hashtag2"]},{"1371751361":["hashtag1","hashtag2"]},{"1371751355":["hashtag1","hashtag2"]},{"1371751348":["hashtag1","hashtag2"]},{"1371751347":["hashtag1","hashtag2"]},{"1371751379":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371751373, 1371751361, 1371751355, 1371751348, 1371751347, 1371751379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.682472705841064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:33:32.485907
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/33/image_12072025_00_33_44_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/33/image_12072025_00_33_33_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/00/33/image_12072025_00_33_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_54_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/33/image_12072025_00_33_44_10639.jpg', '/home/nano/Desktop/images/12072025/00/33/image_12072025_00_33_33_9628.jpg', '/home/nano/Desktop/images/12072025/00/33/image_12072025_00_33_24_10648.jpg', '/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_54_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/33/image_12072025_00_33_44_10639.jpg
/home/nano/Desktop/images/12072025/00/33/image_12072025_00_33_33_9628.jpg
/home/nano/Desktop/images/12072025/00/33/image_12072025_00_33_24_10648.jpg
/home/nano/Desktop/images/12072025/00/32/image_12072025_00_32_54_10640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371751433","1371751429","1371751414","1371751423"],"photo_ids_order":["1371751414","1371751423","1371751429","1371751433"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c2cc04619a772c3fb97e0cdb9444864.jpg","text":"TemporaryFile(/tmp/multipartBody6833283908958619547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273273711,"filename":"image_12072025_00_32_54_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b49471376063cc50ce15177341c589a9.jpg","text":"TemporaryFile(/tmp/multipartBody5555690685822295953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273273711,"filename":"image_12072025_00_33_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed323567d19b6183c4fc7514f1481ece.jpg","text":"TemporaryFile(/tmp/multipartBody3605921950889635493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273273711,"filename":"image_12072025_00_33_44_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0cf318c9daacca4c009b210e657bbe01.jpg","text":"TemporaryFile(/tmp/multipartBody8434623282019846399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273273711,"filename":"image_12072025_00_33_33_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371751429","file1":"1371751423","file0":"1371751414","file3":"1371751433"},"map_files_photo_id_array":[{"photo_id":"1371751429","filename":"file2"},{"photo_id":"1371751423","filename":"file1"},{"photo_id":"1371751414","filename":"file0"},{"photo_id":"1371751433","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371751433":["hashtag1","hashtag2"]},{"1371751429":["hashtag1","hashtag2"]},{"1371751414":["hashtag1","hashtag2"]},{"1371751423":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371751433, 1371751429, 1371751414, 1371751423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.450358152389526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:34:03.150750
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/38/image_10072025_23_39_04_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/23/37/image_10072025_23_37_24_10674.jpg', 2), ('/home/nano/Desktop/images/10072025/23/37/image_10072025_23_37_13_9659.jpg', 2), ('/home/nano/Desktop/images/10072025/23/36/image_10072025_23_36_54_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/23/36/image_10072025_23_36_43_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/23/36/image_10072025_23_36_34_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/38/image_10072025_23_39_04_9653.jpg', '/home/nano/Desktop/images/10072025/23/37/image_10072025_23_37_24_10674.jpg', '/home/nano/Desktop/images/10072025/23/37/image_10072025_23_37_13_9659.jpg', '/home/nano/Desktop/images/10072025/23/36/image_10072025_23_36_54_10657.jpg', '/home/nano/Desktop/images/10072025/23/36/image_10072025_23_36_43_9643.jpg', '/home/nano/Desktop/images/10072025/23/36/image_10072025_23_36_34_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/38/image_10072025_23_39_04_9653.jpg
/home/nano/Desktop/images/10072025/23/37/image_10072025_23_37_24_10674.jpg
/home/nano/Desktop/images/10072025/23/37/image_10072025_23_37_13_9659.jpg
/home/nano/Desktop/images/10072025/23/36/image_10072025_23_36_54_10657.jpg
/home/nano/Desktop/images/10072025/23/36/image_10072025_23_36_43_9643.jpg
/home/nano/Desktop/images/10072025/23/36/image_10072025_23_36_34_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371751485","1371751488","1371751473","1371751481","1371751490","1371751478"],"photo_ids_order":["1371751473","1371751478","1371751481","1371751485","1371751488","1371751490"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c58d30040657fbcaac4dd85d05a98012.jpg","text":"TemporaryFile(/tmp/multipartBody7131675641099916711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273306314,"filename":"image_10072025_23_36_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f0aefdab7a3a29df8ed69fbc771cd0e.jpg","text":"TemporaryFile(/tmp/multipartBody3462265277862291145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273306314,"filename":"image_10072025_23_36_43_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5023d0ecc543040dd5c9ea8ad8d8ba1.jpg","text":"TemporaryFile(/tmp/multipartBody463314592005226177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273306314,"filename":"image_10072025_23_39_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35a9b45388230ed641735f124c1a7603.jpg","text":"TemporaryFile(/tmp/multipartBody2113939673715968681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273306314,"filename":"image_10072025_23_37_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/480d8c98b536cacfabf3889daaa55048.jpg","text":"TemporaryFile(/tmp/multipartBody5966756282527381126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273306314,"filename":"image_10072025_23_36_34_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79ef9634631d0a87a3ce08307f62c757.jpg","text":"TemporaryFile(/tmp/multipartBody4651455471011778490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273306314,"filename":"image_10072025_23_37_24_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371751481","file1":"1371751478","file0":"1371751473","file4":"1371751488","file5":"1371751490","file3":"1371751485"},"map_files_photo_id_array":[{"photo_id":"1371751490","filename":"file5"},{"photo_id":"1371751481","filename":"file2"},{"photo_id":"1371751488","filename":"file4"},{"photo_id":"1371751478","filename":"file1"},{"photo_id":"1371751473","filename":"file0"},{"photo_id":"1371751485","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371751485":["hashtag1","hashtag2"]},{"1371751488":["hashtag1","hashtag2"]},{"1371751473":["hashtag1","hashtag2"]},{"1371751481":["hashtag1","hashtag2"]},{"1371751490":["hashtag1","hashtag2"]},{"1371751478":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371751485, 1371751488, 1371751473, 1371751481, 1371751490, 1371751478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.163331747055054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:34:47.741859
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_24_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/00/33/image_12072025_00_34_03_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/00/33/image_12072025_00_33_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_44_10647.jpg', '/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_33_9637.jpg', '/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_24_9631.jpg', '/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_14_10667.jpg', '/home/nano/Desktop/images/12072025/00/33/image_12072025_00_34_03_9650.jpg', '/home/nano/Desktop/images/12072025/00/33/image_12072025_00_33_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_44_10647.jpg
/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_33_9637.jpg
/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_24_9631.jpg
/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_14_10667.jpg
/home/nano/Desktop/images/12072025/00/33/image_12072025_00_34_03_9650.jpg
/home/nano/Desktop/images/12072025/00/33/image_12072025_00_33_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371751541","1371751510","1371751534","1371751513","1371751516","1371751521"],"photo_ids_order":["1371751510","1371751513","1371751516","1371751521","1371751534","1371751541"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b720b5eeebf37da6397eb719d5f2725.jpg","text":"TemporaryFile(/tmp/multipartBody4980449688998071971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273353701,"filename":"image_12072025_00_33_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca4c1bdba8034042d486128f28e68a89.jpg","text":"TemporaryFile(/tmp/multipartBody2437299234997012999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273353701,"filename":"image_12072025_00_34_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca6f4ce993049e67ad513ba15c11c1e6.jpg","text":"TemporaryFile(/tmp/multipartBody2017622397806370713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273353701,"filename":"image_12072025_00_34_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2a665601f4d302b1419ea1d1147d6aa.jpg","text":"TemporaryFile(/tmp/multipartBody3582085060199375145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273353701,"filename":"image_12072025_00_34_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48d8fd1f560fdbd912077ceb86c226a9.jpg","text":"TemporaryFile(/tmp/multipartBody7208980998079339227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273353701,"filename":"image_12072025_00_34_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4b61757b3e49aa3067b8280a2ccb6be.jpg","text":"TemporaryFile(/tmp/multipartBody3918946541775193832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273353701,"filename":"image_12072025_00_34_14_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371751516","file1":"1371751513","file0":"1371751510","file4":"1371751534","file5":"1371751541","file3":"1371751521"},"map_files_photo_id_array":[{"photo_id":"1371751541","filename":"file5"},{"photo_id":"1371751516","filename":"file2"},{"photo_id":"1371751534","filename":"file4"},{"photo_id":"1371751513","filename":"file1"},{"photo_id":"1371751510","filename":"file0"},{"photo_id":"1371751521","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371751541":["hashtag1","hashtag2"]},{"1371751510":["hashtag1","hashtag2"]},{"1371751534":["hashtag1","hashtag2"]},{"1371751513":["hashtag1","hashtag2"]},{"1371751516":["hashtag1","hashtag2"]},{"1371751521":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371751541, 1371751510, 1371751534, 1371751513, 1371751516, 1371751521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.968995809555054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:35:31.851685
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_23_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_14_10691.jpg', 2), ('/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_44_10647.jpg', '/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_33_9637.jpg', '/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_23_9629.jpg', '/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_14_10691.jpg', '/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_44_10647.jpg
/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_33_9637.jpg
/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_23_9629.jpg
/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_14_10691.jpg
/home/nano/Desktop/images/12072025/00/34/image_12072025_00_34_53_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371751570","1371751558","1371751566","1371751560","1371751562"],"photo_ids_order":["1371751558","1371751560","1371751562","1371751566","1371751570"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82301705fb55014639237d6683643871.jpg","text":"TemporaryFile(/tmp/multipartBody2700708519725667509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273393715,"filename":"image_12072025_00_34_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8dceaefd662dab498466c3a5da4c6e0.jpg","text":"TemporaryFile(/tmp/multipartBody4687114918693774014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273393715,"filename":"image_12072025_00_35_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb218fafa7b1e6d93c1f36639bf3972a.jpg","text":"TemporaryFile(/tmp/multipartBody4463057664071347569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273393715,"filename":"image_12072025_00_35_14_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e8a0347e286577f4c7e0e90d160a1f4.jpg","text":"TemporaryFile(/tmp/multipartBody6405662960486164981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273393715,"filename":"image_12072025_00_35_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1a34a3489ac0797f598783091af8433.jpg","text":"TemporaryFile(/tmp/multipartBody7558976605272566193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273393715,"filename":"image_12072025_00_35_23_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371751562","file1":"1371751560","file0":"1371751558","file4":"1371751570","file3":"1371751566"},"map_files_photo_id_array":[{"photo_id":"1371751562","filename":"file2"},{"photo_id":"1371751570","filename":"file4"},{"photo_id":"1371751560","filename":"file1"},{"photo_id":"1371751558","filename":"file0"},{"photo_id":"1371751566","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371751570":["hashtag1","hashtag2"]},{"1371751558":["hashtag1","hashtag2"]},{"1371751566":["hashtag1","hashtag2"]},{"1371751560":["hashtag1","hashtag2"]},{"1371751562":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371751570, 1371751558, 1371751566, 1371751560, 1371751562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.41460347175598 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:36:02.292497
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/36/image_10072025_23_36_13_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/23/35/image_10072025_23_36_04_9671.jpg', 2), ('/home/nano/Desktop/images/10072025/23/35/image_10072025_23_35_54_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/23/35/image_10072025_23_35_34_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/23/35/image_10072025_23_35_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/23/34/image_10072025_23_34_43_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/36/image_10072025_23_36_13_9666.jpg', '/home/nano/Desktop/images/10072025/23/35/image_10072025_23_36_04_9671.jpg', '/home/nano/Desktop/images/10072025/23/35/image_10072025_23_35_54_10664.jpg', '/home/nano/Desktop/images/10072025/23/35/image_10072025_23_35_34_10654.jpg', '/home/nano/Desktop/images/10072025/23/35/image_10072025_23_35_23_9645.jpg', '/home/nano/Desktop/images/10072025/23/34/image_10072025_23_34_43_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/36/image_10072025_23_36_13_9666.jpg
/home/nano/Desktop/images/10072025/23/35/image_10072025_23_36_04_9671.jpg
/home/nano/Desktop/images/10072025/23/35/image_10072025_23_35_54_10664.jpg
/home/nano/Desktop/images/10072025/23/35/image_10072025_23_35_34_10654.jpg
/home/nano/Desktop/images/10072025/23/35/image_10072025_23_35_23_9645.jpg
/home/nano/Desktop/images/10072025/23/34/image_10072025_23_34_43_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371751616","1371751610","1371751621","1371751593","1371751602","1371751608"],"photo_ids_order":["1371751593","1371751602","1371751608","1371751610","1371751616","1371751621"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4698a2bae19ea9a09f142927dae07f15.jpg","text":"TemporaryFile(/tmp/multipartBody745798224174441468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273425651,"filename":"image_10072025_23_35_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c8dead584d99193768b1565b7f6d337.jpg","text":"TemporaryFile(/tmp/multipartBody7452761412010822466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273425651,"filename":"image_10072025_23_35_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a169eea1247f0f4b8b42eb3e2e2befd7.jpg","text":"TemporaryFile(/tmp/multipartBody3755347937055833008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273425651,"filename":"image_10072025_23_34_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1527e7fef8a4afeaf88b44df0cba539.jpg","text":"TemporaryFile(/tmp/multipartBody1235171206277862768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273425651,"filename":"image_10072025_23_36_13_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7839a8c96d535098e9c16e3fc8360474.jpg","text":"TemporaryFile(/tmp/multipartBody4585280201578579720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273425651,"filename":"image_10072025_23_36_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3efe813f0d66a126714118da72f310a.jpg","text":"TemporaryFile(/tmp/multipartBody5371801706362373231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273425651,"filename":"image_10072025_23_35_54_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371751608","file1":"1371751602","file0":"1371751593","file4":"1371751616","file5":"1371751621","file3":"1371751610"},"map_files_photo_id_array":[{"photo_id":"1371751621","filename":"file5"},{"photo_id":"1371751608","filename":"file2"},{"photo_id":"1371751616","filename":"file4"},{"photo_id":"1371751602","filename":"file1"},{"photo_id":"1371751593","filename":"file0"},{"photo_id":"1371751610","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371751616":["hashtag1","hashtag2"]},{"1371751610":["hashtag1","hashtag2"]},{"1371751621":["hashtag1","hashtag2"]},{"1371751593":["hashtag1","hashtag2"]},{"1371751602":["hashtag1","hashtag2"]},{"1371751608":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371751616, 1371751610, 1371751621, 1371751593, 1371751602, 1371751608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.405452728271484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:36:46.928961
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_44_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_34_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_23_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_14_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/00/35/image_12072025_00_36_04_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_53_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_44_9630.jpg', '/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_34_10640.jpg', '/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_23_9647.jpg', '/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_14_9664.jpg', '/home/nano/Desktop/images/12072025/00/35/image_12072025_00_36_04_10643.jpg', '/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_53_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_44_9630.jpg
/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_34_10640.jpg
/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_23_9647.jpg
/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_14_9664.jpg
/home/nano/Desktop/images/12072025/00/35/image_12072025_00_36_04_10643.jpg
/home/nano/Desktop/images/12072025/00/35/image_12072025_00_35_53_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371751745","1371751852","1371751822","1371751770","1371751793","1371751719"],"photo_ids_order":["1371751719","1371751745","1371751770","1371751793","1371751822","1371751852"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa43efeea078ffd7dfac490c653da334.jpg","text":"TemporaryFile(/tmp/multipartBody3015439177300456313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273468780,"filename":"image_12072025_00_36_34_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d95454a9578c2ccb2bb6c0899c3665b.jpg","text":"TemporaryFile(/tmp/multipartBody159687986156958352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273468780,"filename":"image_12072025_00_35_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/912db3ac6c5b4fc07a4aafee154609da.jpg","text":"TemporaryFile(/tmp/multipartBody2916087129514631105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273468780,"filename":"image_12072025_00_36_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc1bc98dca99363a491e1a43d643a1e1.jpg","text":"TemporaryFile(/tmp/multipartBody259279816594621842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273468780,"filename":"image_12072025_00_36_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b934f135c066f0ee483663a39bf4dff.jpg","text":"TemporaryFile(/tmp/multipartBody731301534498741434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273468780,"filename":"image_12072025_00_36_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/842629dde0f4a2aea01f45be027e7853.jpg","text":"TemporaryFile(/tmp/multipartBody783519190766582304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273468780,"filename":"image_12072025_00_36_44_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371751770","file1":"1371751745","file0":"1371751719","file4":"1371751822","file5":"1371751852","file3":"1371751793"},"map_files_photo_id_array":[{"photo_id":"1371751852","filename":"file5"},{"photo_id":"1371751770","filename":"file2"},{"photo_id":"1371751822","filename":"file4"},{"photo_id":"1371751745","filename":"file1"},{"photo_id":"1371751719","filename":"file0"},{"photo_id":"1371751793","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371751745":["hashtag1","hashtag2"]},{"1371751852":["hashtag1","hashtag2"]},{"1371751822":["hashtag1","hashtag2"]},{"1371751770":["hashtag1","hashtag2"]},{"1371751793":["hashtag1","hashtag2"]},{"1371751719":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371751745, 1371751852, 1371751822, 1371751770, 1371751793, 1371751719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66535186767578 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:37:32.050589
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_43_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_34_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_14_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/36/image_12072025_00_37_04_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_53_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_43_9632.jpg', '/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_34_10639.jpg', '/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_23_9637.jpg', '/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_14_9647.jpg', '/home/nano/Desktop/images/12072025/00/36/image_12072025_00_37_04_10645.jpg', '/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_53_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_43_9632.jpg
/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_34_10639.jpg
/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_23_9637.jpg
/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_14_9647.jpg
/home/nano/Desktop/images/12072025/00/36/image_12072025_00_37_04_10645.jpg
/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_53_9630.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.100762367248535 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:37:47.024154
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_43_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_34_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_14_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/36/image_12072025_00_37_04_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_53_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_43_9632.jpg', '/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_34_10639.jpg', '/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_23_9637.jpg', '/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_14_9647.jpg', '/home/nano/Desktop/images/12072025/00/36/image_12072025_00_37_04_10645.jpg', '/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_53_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_43_9632.jpg
/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_34_10639.jpg
/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_23_9637.jpg
/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_14_9647.jpg
/home/nano/Desktop/images/12072025/00/36/image_12072025_00_37_04_10645.jpg
/home/nano/Desktop/images/12072025/00/36/image_12072025_00_36_53_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371752123","1371752188","1371752095","1371752182","1371752175","1371752151"],"photo_ids_order":["1371752095","1371752123","1371752151","1371752175","1371752182","1371752188"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32e616cbd2241ee76c9c375744023099.jpg","text":"TemporaryFile(/tmp/multipartBody309887094121503281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273528584,"filename":"image_12072025_00_37_34_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dab60564384cf00c60974ef976faf6e3.jpg","text":"TemporaryFile(/tmp/multipartBody1420731451688401266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273528584,"filename":"image_12072025_00_36_53_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a28f489c3c1520226393f30dc9d9992c.jpg","text":"TemporaryFile(/tmp/multipartBody2474254879854634667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273528584,"filename":"image_12072025_00_37_43_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/785b6da9237dc69d4a4d2a66c5587f05.jpg","text":"TemporaryFile(/tmp/multipartBody1038851572248750260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273528584,"filename":"image_12072025_00_37_04_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8cf0e17b9ed1d929d641a7430258901.jpg","text":"TemporaryFile(/tmp/multipartBody1858114213571049318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273528584,"filename":"image_12072025_00_37_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92e29db4556fb0583a66211c1141495d.jpg","text":"TemporaryFile(/tmp/multipartBody795587153601272185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273528584,"filename":"image_12072025_00_37_23_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371752151","file1":"1371752123","file0":"1371752095","file4":"1371752182","file5":"1371752188","file3":"1371752175"},"map_files_photo_id_array":[{"photo_id":"1371752188","filename":"file5"},{"photo_id":"1371752151","filename":"file2"},{"photo_id":"1371752182","filename":"file4"},{"photo_id":"1371752123","filename":"file1"},{"photo_id":"1371752095","filename":"file0"},{"photo_id":"1371752175","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371752123":["hashtag1","hashtag2"]},{"1371752188":["hashtag1","hashtag2"]},{"1371752095":["hashtag1","hashtag2"]},{"1371752182":["hashtag1","hashtag2"]},{"1371752175":["hashtag1","hashtag2"]},{"1371752151":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371752123, 1371752188, 1371752095, 1371752182, 1371752175, 1371752151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8490731716156 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:38:32.142908
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_43_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_34_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_24_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_13_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/00/37/image_12072025_00_38_04_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_43_9636.jpg', '/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_34_9630.jpg', '/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_24_10645.jpg', '/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_13_9675.jpg', '/home/nano/Desktop/images/12072025/00/37/image_12072025_00_38_04_10644.jpg', '/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_43_9636.jpg
/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_34_9630.jpg
/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_24_10645.jpg
/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_13_9675.jpg
/home/nano/Desktop/images/12072025/00/37/image_12072025_00_38_04_10644.jpg
/home/nano/Desktop/images/12072025/00/37/image_12072025_00_37_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371752216","1371752219","1371752204","1371752207","1371752206","1371752211"],"photo_ids_order":["1371752204","1371752206","1371752207","1371752211","1371752216","1371752219"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/233360406e1439006baa96955ae38929.jpg","text":"TemporaryFile(/tmp/multipartBody6957989140511723389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273573860,"filename":"image_12072025_00_38_04_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a15c64bef7ec9aac102b09baaec240a.jpg","text":"TemporaryFile(/tmp/multipartBody2082745192305830317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273573860,"filename":"image_12072025_00_37_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e1c42c38d189e725ccd12fb24105b0b.jpg","text":"TemporaryFile(/tmp/multipartBody2190310881272170371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273573860,"filename":"image_12072025_00_38_43_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/adeb7b0559b5e0c7d066f68e1aefec0a.jpg","text":"TemporaryFile(/tmp/multipartBody4912604512601301477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273573860,"filename":"image_12072025_00_38_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b15e794cbd1a152ce77e1281ec9e6cf.jpg","text":"TemporaryFile(/tmp/multipartBody1741442240678437036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273573860,"filename":"image_12072025_00_38_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1954bdf8a38c9ce0dd3a97e2c0c4753.jpg","text":"TemporaryFile(/tmp/multipartBody6994153724386284752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273573860,"filename":"image_12072025_00_38_13_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371752207","file1":"1371752206","file0":"1371752204","file4":"1371752216","file5":"1371752219","file3":"1371752211"},"map_files_photo_id_array":[{"photo_id":"1371752219","filename":"file5"},{"photo_id":"1371752207","filename":"file2"},{"photo_id":"1371752216","filename":"file4"},{"photo_id":"1371752206","filename":"file1"},{"photo_id":"1371752204","filename":"file0"},{"photo_id":"1371752211","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371752216":["hashtag1","hashtag2"]},{"1371752219":["hashtag1","hashtag2"]},{"1371752204":["hashtag1","hashtag2"]},{"1371752207":["hashtag1","hashtag2"]},{"1371752206":["hashtag1","hashtag2"]},{"1371752211":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371752216, 1371752219, 1371752204, 1371752207, 1371752206, 1371752211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.083149671554565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:39:17.251560
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_34_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_24_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_13_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/00/38/image_12072025_00_39_04_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_43_9637.jpg', '/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_34_9633.jpg', '/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_24_10643.jpg', '/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_13_9652.jpg', '/home/nano/Desktop/images/12072025/00/38/image_12072025_00_39_04_9644.jpg', '/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_54_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_43_9637.jpg
/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_34_9633.jpg
/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_24_10643.jpg
/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_13_9652.jpg
/home/nano/Desktop/images/12072025/00/38/image_12072025_00_39_04_9644.jpg
/home/nano/Desktop/images/12072025/00/38/image_12072025_00_38_54_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371752420","1371752370","1371752445","1371752394","1371752340","1371752310"],"photo_ids_order":["1371752310","1371752340","1371752370","1371752394","1371752420","1371752445"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0edad3f777a677606b1243b6731d8e6f.jpg","text":"TemporaryFile(/tmp/multipartBody1231058201494737665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273618786,"filename":"image_12072025_00_39_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b41fe12a1d624cbf5880ca5617fbb1a.jpg","text":"TemporaryFile(/tmp/multipartBody156904832531909042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273618786,"filename":"image_12072025_00_39_24_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7dfaa7ddcd796032b2ab2e70bfe65bbb.jpg","text":"TemporaryFile(/tmp/multipartBody129232685753002037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273618786,"filename":"image_12072025_00_38_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c61531d2750107c6691802b3872ee087.jpg","text":"TemporaryFile(/tmp/multipartBody3278212780951289939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273618786,"filename":"image_12072025_00_39_13_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fbab45c0b9b4e4834a6be008b79ff4a.jpg","text":"TemporaryFile(/tmp/multipartBody1992896154635498938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273618786,"filename":"image_12072025_00_39_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fbab33735b957a6c1d0f489514dea4ca.jpg","text":"TemporaryFile(/tmp/multipartBody1125201561318139599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273618786,"filename":"image_12072025_00_39_43_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371752370","file1":"1371752340","file0":"1371752310","file4":"1371752420","file5":"1371752445","file3":"1371752394"},"map_files_photo_id_array":[{"photo_id":"1371752445","filename":"file5"},{"photo_id":"1371752370","filename":"file2"},{"photo_id":"1371752420","filename":"file4"},{"photo_id":"1371752340","filename":"file1"},{"photo_id":"1371752310","filename":"file0"},{"photo_id":"1371752394","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371752420":["hashtag1","hashtag2"]},{"1371752370":["hashtag1","hashtag2"]},{"1371752445":["hashtag1","hashtag2"]},{"1371752394":["hashtag1","hashtag2"]},{"1371752340":["hashtag1","hashtag2"]},{"1371752310":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371752420, 1371752370, 1371752445, 1371752394, 1371752340, 1371752310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.313838958740234 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:40:02.793990
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/34/image_10072025_23_34_34_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/23/33/image_10072025_23_33_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/33/image_10072025_23_33_13_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/23/32/image_10072025_23_32_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/32/image_10072025_23_32_44_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/23/32/image_10072025_23_32_14_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/34/image_10072025_23_34_34_10656.jpg', '/home/nano/Desktop/images/10072025/23/33/image_10072025_23_33_23_9646.jpg', '/home/nano/Desktop/images/10072025/23/33/image_10072025_23_33_13_9661.jpg', '/home/nano/Desktop/images/10072025/23/32/image_10072025_23_32_53_9646.jpg', '/home/nano/Desktop/images/10072025/23/32/image_10072025_23_32_44_9654.jpg', '/home/nano/Desktop/images/10072025/23/32/image_10072025_23_32_14_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/34/image_10072025_23_34_34_10656.jpg
/home/nano/Desktop/images/10072025/23/33/image_10072025_23_33_23_9646.jpg
/home/nano/Desktop/images/10072025/23/33/image_10072025_23_33_13_9661.jpg
/home/nano/Desktop/images/10072025/23/32/image_10072025_23_32_53_9646.jpg
/home/nano/Desktop/images/10072025/23/32/image_10072025_23_32_44_9654.jpg
/home/nano/Desktop/images/10072025/23/32/image_10072025_23_32_14_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371752641","1371752629","1371752638","1371752634","1371752645","1371752624"],"photo_ids_order":["1371752624","1371752629","1371752634","1371752638","1371752641","1371752645"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b583f8078000f2aecb5494ece68fe4d6.jpg","text":"TemporaryFile(/tmp/multipartBody5458058922570884548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273666135,"filename":"image_10072025_23_32_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f1f8d60ef00e68efa0a6406c4e34e87.jpg","text":"TemporaryFile(/tmp/multipartBody8229683053971612359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273666135,"filename":"image_10072025_23_33_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e0a0a9a01560eb7584c9836ca8fd20e.jpg","text":"TemporaryFile(/tmp/multipartBody6274936239644596905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273666135,"filename":"image_10072025_23_32_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9758df38b17e0eeba94e5872474da918.jpg","text":"TemporaryFile(/tmp/multipartBody3001288481984931464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273666135,"filename":"image_10072025_23_33_13_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4878070ff87b4c7e68c59fac22f02eab.jpg","text":"TemporaryFile(/tmp/multipartBody4048148271297272940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273666135,"filename":"image_10072025_23_32_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ddc77418ccdf98625b7f267a5a8e1d4.jpg","text":"TemporaryFile(/tmp/multipartBody4193887558891595901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273666135,"filename":"image_10072025_23_34_34_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371752634","file1":"1371752629","file0":"1371752624","file4":"1371752641","file5":"1371752645","file3":"1371752638"},"map_files_photo_id_array":[{"photo_id":"1371752645","filename":"file5"},{"photo_id":"1371752634","filename":"file2"},{"photo_id":"1371752641","filename":"file4"},{"photo_id":"1371752629","filename":"file1"},{"photo_id":"1371752624","filename":"file0"},{"photo_id":"1371752638","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371752641":["hashtag1","hashtag2"]},{"1371752629":["hashtag1","hashtag2"]},{"1371752638":["hashtag1","hashtag2"]},{"1371752634":["hashtag1","hashtag2"]},{"1371752645":["hashtag1","hashtag2"]},{"1371752624":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371752641, 1371752629, 1371752638, 1371752634, 1371752645, 1371752624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2706458568573 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:40:47.514945
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/40/image_12072025_00_40_44_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/00/40/image_12072025_00_40_33_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/00/40/image_12072025_00_40_24_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/00/39/image_12072025_00_40_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/40/image_12072025_00_40_44_10646.jpg', '/home/nano/Desktop/images/12072025/00/40/image_12072025_00_40_33_9636.jpg', '/home/nano/Desktop/images/12072025/00/40/image_12072025_00_40_24_10646.jpg', '/home/nano/Desktop/images/12072025/00/39/image_12072025_00_40_03_9642.jpg', '/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_54_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/40/image_12072025_00_40_44_10646.jpg
/home/nano/Desktop/images/12072025/00/40/image_12072025_00_40_33_9636.jpg
/home/nano/Desktop/images/12072025/00/40/image_12072025_00_40_24_10646.jpg
/home/nano/Desktop/images/12072025/00/39/image_12072025_00_40_03_9642.jpg
/home/nano/Desktop/images/12072025/00/39/image_12072025_00_39_54_10646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371752804","1371752800","1371752790","1371752793","1371752808"],"photo_ids_order":["1371752790","1371752793","1371752800","1371752804","1371752808"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64a76bbee2f3259042cece1f37a8cc7f.jpg","text":"TemporaryFile(/tmp/multipartBody2439745111352204303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273709513,"filename":"image_12072025_00_40_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/49dd15a67c43c91be1f78e6d8d79d095.jpg","text":"TemporaryFile(/tmp/multipartBody2943422217078903377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273709513,"filename":"image_12072025_00_40_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6aecea24a9236bac2fed22faf280150a.jpg","text":"TemporaryFile(/tmp/multipartBody7885815010003644118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273709513,"filename":"image_12072025_00_40_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/227c2db798a9f1b6d2cffd95560a9291.jpg","text":"TemporaryFile(/tmp/multipartBody6540837510874162852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273709513,"filename":"image_12072025_00_40_33_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a641c8756950e1c59ded92dd681f0c81.jpg","text":"TemporaryFile(/tmp/multipartBody5182854280620941659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273709513,"filename":"image_12072025_00_39_54_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371752800","file1":"1371752793","file0":"1371752790","file4":"1371752808","file3":"1371752804"},"map_files_photo_id_array":[{"photo_id":"1371752800","filename":"file2"},{"photo_id":"1371752808","filename":"file4"},{"photo_id":"1371752793","filename":"file1"},{"photo_id":"1371752790","filename":"file0"},{"photo_id":"1371752804","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371752804":["hashtag1","hashtag2"]},{"1371752800":["hashtag1","hashtag2"]},{"1371752790":["hashtag1","hashtag2"]},{"1371752793":["hashtag1","hashtag2"]},{"1371752808":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371752804, 1371752800, 1371752790, 1371752793, 1371752808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.043498039245605 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:41:17.608650
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/41/image_12072025_00_41_44_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/41/image_12072025_00_41_33_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/00/41/image_12072025_00_41_14_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/00/40/image_12072025_00_41_03_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/40/image_12072025_00_40_54_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/41/image_12072025_00_41_44_10639.jpg', '/home/nano/Desktop/images/12072025/00/41/image_12072025_00_41_33_9648.jpg', '/home/nano/Desktop/images/12072025/00/41/image_12072025_00_41_14_10675.jpg', '/home/nano/Desktop/images/12072025/00/40/image_12072025_00_41_03_9640.jpg', '/home/nano/Desktop/images/12072025/00/40/image_12072025_00_40_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/41/image_12072025_00_41_44_10639.jpg
/home/nano/Desktop/images/12072025/00/41/image_12072025_00_41_33_9648.jpg
/home/nano/Desktop/images/12072025/00/41/image_12072025_00_41_14_10675.jpg
/home/nano/Desktop/images/12072025/00/40/image_12072025_00_41_03_9640.jpg
/home/nano/Desktop/images/12072025/00/40/image_12072025_00_40_54_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371752831","1371752833","1371752827","1371752835","1371752823"],"photo_ids_order":["1371752823","1371752827","1371752831","1371752833","1371752835"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/602e8fd5f48ae49229fa69eb5bed1bee.jpg","text":"TemporaryFile(/tmp/multipartBody7836570670861573845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273739345,"filename":"image_12072025_00_41_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30886e722b42568da451270be5c9b562.jpg","text":"TemporaryFile(/tmp/multipartBody2552472059200891621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273739345,"filename":"image_12072025_00_41_03_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9c60c8caa946efa2fdd1c4a81302187.jpg","text":"TemporaryFile(/tmp/multipartBody4969698248332966835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273739345,"filename":"image_12072025_00_41_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/955df6eadf8dbaa05b57ab4db9da3040.jpg","text":"TemporaryFile(/tmp/multipartBody1873231028047529869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273739345,"filename":"image_12072025_00_40_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5296f5a42f8c5290027989d2b6caec7f.jpg","text":"TemporaryFile(/tmp/multipartBody2918992941519986557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273739345,"filename":"image_12072025_00_41_44_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371752831","file1":"1371752827","file0":"1371752823","file4":"1371752835","file3":"1371752833"},"map_files_photo_id_array":[{"photo_id":"1371752831","filename":"file2"},{"photo_id":"1371752835","filename":"file4"},{"photo_id":"1371752827","filename":"file1"},{"photo_id":"1371752823","filename":"file0"},{"photo_id":"1371752833","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371752831":["hashtag1","hashtag2"]},{"1371752833":["hashtag1","hashtag2"]},{"1371752827":["hashtag1","hashtag2"]},{"1371752835":["hashtag1","hashtag2"]},{"1371752823":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371752831, 1371752833, 1371752827, 1371752835, 1371752823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.49117875099182 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:42:03.078182
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/31/image_10072025_23_32_04_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/23/31/image_10072025_23_31_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/31/image_10072025_23_31_14_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/23/30/image_10072025_23_31_04_10666.jpg', 2), ('/home/nano/Desktop/images/10072025/23/30/image_10072025_23_30_44_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/23/29/image_10072025_23_30_04_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/31/image_10072025_23_32_04_10664.jpg', '/home/nano/Desktop/images/10072025/23/31/image_10072025_23_31_23_9646.jpg', '/home/nano/Desktop/images/10072025/23/31/image_10072025_23_31_14_9662.jpg', '/home/nano/Desktop/images/10072025/23/30/image_10072025_23_31_04_10666.jpg', '/home/nano/Desktop/images/10072025/23/30/image_10072025_23_30_44_9644.jpg', '/home/nano/Desktop/images/10072025/23/29/image_10072025_23_30_04_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/31/image_10072025_23_32_04_10664.jpg
/home/nano/Desktop/images/10072025/23/31/image_10072025_23_31_23_9646.jpg
/home/nano/Desktop/images/10072025/23/31/image_10072025_23_31_14_9662.jpg
/home/nano/Desktop/images/10072025/23/30/image_10072025_23_31_04_10666.jpg
/home/nano/Desktop/images/10072025/23/30/image_10072025_23_30_44_9644.jpg
/home/nano/Desktop/images/10072025/23/29/image_10072025_23_30_04_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371752997","1371753024","1371753111","1371753098","1371753071","1371753047"],"photo_ids_order":["1371752997","1371753024","1371753047","1371753071","1371753098","1371753111"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1553d213b6e84554d844a5b052e25fb.jpg","text":"TemporaryFile(/tmp/multipartBody2514683112805140522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273786499,"filename":"image_10072025_23_32_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1240b186fead9949593bf31b2ce1fc4.jpg","text":"TemporaryFile(/tmp/multipartBody5482201134323971689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273786499,"filename":"image_10072025_23_31_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/607ad07557d92a69df78fdf69314feda.jpg","text":"TemporaryFile(/tmp/multipartBody8123774439464047151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273786499,"filename":"image_10072025_23_30_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/821a87e06bb12caec55583cdb3fc6bb9.jpg","text":"TemporaryFile(/tmp/multipartBody7595628773005721360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273786499,"filename":"image_10072025_23_30_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1aae4fec425515b54466b726f91242a3.jpg","text":"TemporaryFile(/tmp/multipartBody8627233049349872532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273786499,"filename":"image_10072025_23_31_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7ddeb45fcb17501e984190fbe7c2633.jpg","text":"TemporaryFile(/tmp/multipartBody7512895468801821024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273786499,"filename":"image_10072025_23_31_14_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371753047","file1":"1371753024","file0":"1371752997","file4":"1371753098","file5":"1371753111","file3":"1371753071"},"map_files_photo_id_array":[{"photo_id":"1371753111","filename":"file5"},{"photo_id":"1371753047","filename":"file2"},{"photo_id":"1371753098","filename":"file4"},{"photo_id":"1371753024","filename":"file1"},{"photo_id":"1371752997","filename":"file0"},{"photo_id":"1371753071","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371752997":["hashtag1","hashtag2"]},{"1371753024":["hashtag1","hashtag2"]},{"1371753111":["hashtag1","hashtag2"]},{"1371753098":["hashtag1","hashtag2"]},{"1371753071":["hashtag1","hashtag2"]},{"1371753047":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371752997, 1371753024, 1371753111, 1371753098, 1371753071, 1371753047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31232976913452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:42:47.741129
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_44_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_33_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_14_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/00/41/image_12072025_00_42_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/00/41/image_12072025_00_41_54_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_44_10643.jpg', '/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_33_9629.jpg', '/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_23_9636.jpg', '/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_14_10668.jpg', '/home/nano/Desktop/images/12072025/00/41/image_12072025_00_42_03_9642.jpg', '/home/nano/Desktop/images/12072025/00/41/image_12072025_00_41_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_44_10643.jpg
/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_33_9629.jpg
/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_23_9636.jpg
/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_14_10668.jpg
/home/nano/Desktop/images/12072025/00/41/image_12072025_00_42_03_9642.jpg
/home/nano/Desktop/images/12072025/00/41/image_12072025_00_41_54_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371753141","1371753129","1371753155","1371753131","1371753125","1371753134"],"photo_ids_order":["1371753125","1371753129","1371753131","1371753134","1371753141","1371753155"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b0db5c21a72534b4eae2e3939693883.jpg","text":"TemporaryFile(/tmp/multipartBody2184349709044211245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273829739,"filename":"image_12072025_00_42_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/587aca4f8ff9a45b042342d1d915668e.jpg","text":"TemporaryFile(/tmp/multipartBody9086897096014460712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273829739,"filename":"image_12072025_00_42_33_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c8db667fbd5666c33d1dd5d123c65d9.jpg","text":"TemporaryFile(/tmp/multipartBody8768356253072354789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273829739,"filename":"image_12072025_00_41_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b5cebd7737f08acac9aeb59c39ce19a.jpg","text":"TemporaryFile(/tmp/multipartBody6920962826346924628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273829739,"filename":"image_12072025_00_42_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79e38ca01143837ae7a8dfb7c7902c38.jpg","text":"TemporaryFile(/tmp/multipartBody3817022267675479444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273829739,"filename":"image_12072025_00_42_44_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08af65a7beb5851e8b1d62d6f7d90a83.jpg","text":"TemporaryFile(/tmp/multipartBody3354627284321654136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273829739,"filename":"image_12072025_00_42_14_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371753131","file1":"1371753129","file0":"1371753125","file4":"1371753141","file5":"1371753155","file3":"1371753134"},"map_files_photo_id_array":[{"photo_id":"1371753155","filename":"file5"},{"photo_id":"1371753131","filename":"file2"},{"photo_id":"1371753141","filename":"file4"},{"photo_id":"1371753129","filename":"file1"},{"photo_id":"1371753125","filename":"file0"},{"photo_id":"1371753134","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371753141":["hashtag1","hashtag2"]},{"1371753129":["hashtag1","hashtag2"]},{"1371753155":["hashtag1","hashtag2"]},{"1371753131":["hashtag1","hashtag2"]},{"1371753125":["hashtag1","hashtag2"]},{"1371753134":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371753141, 1371753129, 1371753155, 1371753131, 1371753125, 1371753134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14689230918884 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:43:31.818917
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_23_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_14_10676.jpg', 2), ('/home/nano/Desktop/images/12072025/00/42/image_12072025_00_43_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_44_9637.jpg', '/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_34_10647.jpg', '/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_23_9647.jpg', '/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_14_10676.jpg', '/home/nano/Desktop/images/12072025/00/42/image_12072025_00_43_03_9654.jpg', '/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_44_9637.jpg
/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_34_10647.jpg
/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_23_9647.jpg
/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_14_10676.jpg
/home/nano/Desktop/images/12072025/00/42/image_12072025_00_43_03_9654.jpg
/home/nano/Desktop/images/12072025/00/42/image_12072025_00_42_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371753175","1371753211","1371753180","1371753204","1371753184","1371753193"],"photo_ids_order":["1371753175","1371753180","1371753184","1371753193","1371753204","1371753211"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/322296c02caf1cd49da83d30ec6a34a4.jpg","text":"TemporaryFile(/tmp/multipartBody5581573641325397219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273873973,"filename":"image_12072025_00_43_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9fb5f70c06bbd5e2834474c9835635f8.jpg","text":"TemporaryFile(/tmp/multipartBody2478423021454029089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273873973,"filename":"image_12072025_00_42_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0474c7b778a08e5f15a5495e9aa9480a.jpg","text":"TemporaryFile(/tmp/multipartBody417112175805027818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273873973,"filename":"image_12072025_00_43_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/964169b0fce5e8bcb9ae92ae0b2ab6c8.jpg","text":"TemporaryFile(/tmp/multipartBody6215578782973933026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273873973,"filename":"image_12072025_00_43_03_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ab63cce3d90e3740c2a47d24853d38c.jpg","text":"TemporaryFile(/tmp/multipartBody4125408068547961250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273873973,"filename":"image_12072025_00_43_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42c12eaec69e1f7740e99bddc5b6a9e1.jpg","text":"TemporaryFile(/tmp/multipartBody4935161684448234902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273873973,"filename":"image_12072025_00_43_14_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371753184","file1":"1371753180","file0":"1371753175","file4":"1371753204","file5":"1371753211","file3":"1371753193"},"map_files_photo_id_array":[{"photo_id":"1371753211","filename":"file5"},{"photo_id":"1371753184","filename":"file2"},{"photo_id":"1371753204","filename":"file4"},{"photo_id":"1371753180","filename":"file1"},{"photo_id":"1371753175","filename":"file0"},{"photo_id":"1371753193","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371753175":["hashtag1","hashtag2"]},{"1371753211":["hashtag1","hashtag2"]},{"1371753180":["hashtag1","hashtag2"]},{"1371753204":["hashtag1","hashtag2"]},{"1371753184":["hashtag1","hashtag2"]},{"1371753193":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371753175, 1371753211, 1371753180, 1371753204, 1371753184, 1371753193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51581120491028 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:44:16.971622
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_34_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_23_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_14_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/00/43/image_12072025_00_44_04_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_53_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_44_9639.jpg', '/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_34_10656.jpg', '/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_23_9655.jpg', '/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_14_9660.jpg', '/home/nano/Desktop/images/12072025/00/43/image_12072025_00_44_04_10667.jpg', '/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_53_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_44_9639.jpg
/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_34_10656.jpg
/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_23_9655.jpg
/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_14_9660.jpg
/home/nano/Desktop/images/12072025/00/43/image_12072025_00_44_04_10667.jpg
/home/nano/Desktop/images/12072025/00/43/image_12072025_00_43_53_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371753280","1371753223","1371753232","1371753307","1371753258","1371753227"],"photo_ids_order":["1371753223","1371753227","1371753232","1371753258","1371753280","1371753307"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/520e3c6896213c379080a0944309568c.jpg","text":"TemporaryFile(/tmp/multipartBody1288566574467502557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273918732,"filename":"image_12072025_00_44_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c52bed570dad918ccf4ec2c613999c5a.jpg","text":"TemporaryFile(/tmp/multipartBody6741994056446895308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273918732,"filename":"image_12072025_00_44_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7981d5de277a9deceec35f2ddc26b34.jpg","text":"TemporaryFile(/tmp/multipartBody6856804637395596232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273918732,"filename":"image_12072025_00_44_23_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/680fd54fbfb97d0c8152de177a57da80.jpg","text":"TemporaryFile(/tmp/multipartBody9184194697198005326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273918732,"filename":"image_12072025_00_43_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bbc0ef137e93172711d039d622ec4426.jpg","text":"TemporaryFile(/tmp/multipartBody5140489000701152980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273918732,"filename":"image_12072025_00_44_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9baa3f06f729d42046600026ce997948.jpg","text":"TemporaryFile(/tmp/multipartBody3894691248459074542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273918732,"filename":"image_12072025_00_44_34_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371753232","file1":"1371753227","file0":"1371753223","file4":"1371753280","file5":"1371753307","file3":"1371753258"},"map_files_photo_id_array":[{"photo_id":"1371753307","filename":"file5"},{"photo_id":"1371753232","filename":"file2"},{"photo_id":"1371753280","filename":"file4"},{"photo_id":"1371753227","filename":"file1"},{"photo_id":"1371753223","filename":"file0"},{"photo_id":"1371753258","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371753280":["hashtag1","hashtag2"]},{"1371753223":["hashtag1","hashtag2"]},{"1371753232":["hashtag1","hashtag2"]},{"1371753307":["hashtag1","hashtag2"]},{"1371753258":["hashtag1","hashtag2"]},{"1371753227":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371753280, 1371753223, 1371753232, 1371753307, 1371753258, 1371753227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83252191543579 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:45:02.613609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/29/image_10072025_23_29_53_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/23/29/image_10072025_23_29_34_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/23/29/image_10072025_23_29_23_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/23/29/image_10072025_23_29_14_9660.jpg', 2), ('/home/nano/Desktop/images/10072025/23/28/image_10072025_23_29_04_10667.jpg', 2), ('/home/nano/Desktop/images/10072025/23/28/image_10072025_23_28_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/29/image_10072025_23_29_53_9647.jpg', '/home/nano/Desktop/images/10072025/23/29/image_10072025_23_29_34_10655.jpg', '/home/nano/Desktop/images/10072025/23/29/image_10072025_23_29_23_9667.jpg', '/home/nano/Desktop/images/10072025/23/29/image_10072025_23_29_14_9660.jpg', '/home/nano/Desktop/images/10072025/23/28/image_10072025_23_29_04_10667.jpg', '/home/nano/Desktop/images/10072025/23/28/image_10072025_23_28_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/29/image_10072025_23_29_53_9647.jpg
/home/nano/Desktop/images/10072025/23/29/image_10072025_23_29_34_10655.jpg
/home/nano/Desktop/images/10072025/23/29/image_10072025_23_29_23_9667.jpg
/home/nano/Desktop/images/10072025/23/29/image_10072025_23_29_14_9660.jpg
/home/nano/Desktop/images/10072025/23/28/image_10072025_23_29_04_10667.jpg
/home/nano/Desktop/images/10072025/23/28/image_10072025_23_28_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371753652","1371753523","1371753551","1371753488","1371753623","1371753592"],"photo_ids_order":["1371753488","1371753523","1371753551","1371753592","1371753623","1371753652"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/037b0e501b45d84fa6649f4e995738c1.jpg","text":"TemporaryFile(/tmp/multipartBody7317173482549337125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273965526,"filename":"image_10072025_23_28_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d141df37e8f623a4abe586989bba67d7.jpg","text":"TemporaryFile(/tmp/multipartBody4230625610521272406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273965526,"filename":"image_10072025_23_29_34_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12555f96fea4f6696177303a9ccc97b2.jpg","text":"TemporaryFile(/tmp/multipartBody3993530260033735562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273965526,"filename":"image_10072025_23_29_23_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/301bede2d732d61f26d61079626186ff.jpg","text":"TemporaryFile(/tmp/multipartBody6501297215513501993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273965526,"filename":"image_10072025_23_29_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de214be9056ffc453ad6f0ad4f6e9708.jpg","text":"TemporaryFile(/tmp/multipartBody553101042259311658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273965526,"filename":"image_10072025_23_29_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0e4ae6d3e0b7c8ccf38e59e16181a47.jpg","text":"TemporaryFile(/tmp/multipartBody3872951993489401707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752273965526,"filename":"image_10072025_23_29_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371753551","file1":"1371753523","file0":"1371753488","file4":"1371753623","file5":"1371753652","file3":"1371753592"},"map_files_photo_id_array":[{"photo_id":"1371753652","filename":"file5"},{"photo_id":"1371753551","filename":"file2"},{"photo_id":"1371753623","filename":"file4"},{"photo_id":"1371753523","filename":"file1"},{"photo_id":"1371753488","filename":"file0"},{"photo_id":"1371753592","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371753652":["hashtag1","hashtag2"]},{"1371753523":["hashtag1","hashtag2"]},{"1371753551":["hashtag1","hashtag2"]},{"1371753488":["hashtag1","hashtag2"]},{"1371753623":["hashtag1","hashtag2"]},{"1371753592":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371753652, 1371753523, 1371753551, 1371753488, 1371753623, 1371753592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.528398513793945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:45:47.081317
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_34_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_23_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_14_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/44/image_12072025_00_45_04_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_44_9637.jpg', '/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_34_10673.jpg', '/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_23_9642.jpg', '/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_14_9654.jpg', '/home/nano/Desktop/images/12072025/00/44/image_12072025_00_45_04_10662.jpg', '/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_44_9637.jpg
/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_34_10673.jpg
/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_23_9642.jpg
/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_14_9654.jpg
/home/nano/Desktop/images/12072025/00/44/image_12072025_00_45_04_10662.jpg
/home/nano/Desktop/images/12072025/00/44/image_12072025_00_44_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371753894","1371753829","1371753879","1371753855","1371753890","1371753884"],"photo_ids_order":["1371753829","1371753855","1371753879","1371753884","1371753890","1371753894"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3090149e97c54f07498ad3941783afd.jpg","text":"TemporaryFile(/tmp/multipartBody4992687580171288543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274008814,"filename":"image_12072025_00_44_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f386d62f7d84303e7730aa4a7e5c4a2.jpg","text":"TemporaryFile(/tmp/multipartBody8134043287709222035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274008814,"filename":"image_12072025_00_45_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32c3398b62ebcc8c1ea55a9c630e43c0.jpg","text":"TemporaryFile(/tmp/multipartBody3249037686248260634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274008814,"filename":"image_12072025_00_45_23_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75d40794afbde651cd66b8232f5533c8.jpg","text":"TemporaryFile(/tmp/multipartBody5547350358301135511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274008814,"filename":"image_12072025_00_45_34_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca24953c899a6a40908bc634c14898f2.jpg","text":"TemporaryFile(/tmp/multipartBody4686330781857081302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274008814,"filename":"image_12072025_00_45_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98a90b5464cb8ca62e63560b1fd1d87d.jpg","text":"TemporaryFile(/tmp/multipartBody1353987595450739571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274008814,"filename":"image_12072025_00_45_14_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371753879","file1":"1371753855","file0":"1371753829","file4":"1371753890","file5":"1371753894","file3":"1371753884"},"map_files_photo_id_array":[{"photo_id":"1371753894","filename":"file5"},{"photo_id":"1371753879","filename":"file2"},{"photo_id":"1371753890","filename":"file4"},{"photo_id":"1371753855","filename":"file1"},{"photo_id":"1371753829","filename":"file0"},{"photo_id":"1371753884","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371753894":["hashtag1","hashtag2"]},{"1371753829":["hashtag1","hashtag2"]},{"1371753879":["hashtag1","hashtag2"]},{"1371753855":["hashtag1","hashtag2"]},{"1371753890":["hashtag1","hashtag2"]},{"1371753884":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371753894, 1371753829, 1371753879, 1371753855, 1371753890, 1371753884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24815773963928 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:46:32.216492
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_23_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_13_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/00/45/image_12072025_00_46_04_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_53_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_43_9637.jpg', '/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_34_10647.jpg', '/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_23_9655.jpg', '/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_13_9655.jpg', '/home/nano/Desktop/images/12072025/00/45/image_12072025_00_46_04_10650.jpg', '/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_53_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_43_9637.jpg
/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_34_10647.jpg
/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_23_9655.jpg
/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_13_9655.jpg
/home/nano/Desktop/images/12072025/00/45/image_12072025_00_46_04_10650.jpg
/home/nano/Desktop/images/12072025/00/45/image_12072025_00_45_53_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371753940","1371753937","1371753925","1371753919","1371753910","1371753933"],"photo_ids_order":["1371753910","1371753919","1371753925","1371753933","1371753937","1371753940"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6414da35f96b86ae16dd423185cd4a7a.jpg","text":"TemporaryFile(/tmp/multipartBody8094415877226698115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274053577,"filename":"image_12072025_00_45_53_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6dc1512b9460f7817c1f1f10308734f8.jpg","text":"TemporaryFile(/tmp/multipartBody4353340786537637502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274053577,"filename":"image_12072025_00_46_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e8583b851f2425d50c3461918b74ed0.jpg","text":"TemporaryFile(/tmp/multipartBody1424422968129232132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274053577,"filename":"image_12072025_00_46_23_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cf6a9f808e2799937c077b2c1b7f779.jpg","text":"TemporaryFile(/tmp/multipartBody1470505970944777602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274053577,"filename":"image_12072025_00_46_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14ac15aa5002ff3840f7e4cc4430f40e.jpg","text":"TemporaryFile(/tmp/multipartBody6534792954628445765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274053577,"filename":"image_12072025_00_46_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0df4d2b16cee30d4d949a9df2e2414c5.jpg","text":"TemporaryFile(/tmp/multipartBody8108165758164685632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274053577,"filename":"image_12072025_00_46_13_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371753925","file1":"1371753919","file0":"1371753910","file4":"1371753937","file5":"1371753940","file3":"1371753933"},"map_files_photo_id_array":[{"photo_id":"1371753940","filename":"file5"},{"photo_id":"1371753925","filename":"file2"},{"photo_id":"1371753937","filename":"file4"},{"photo_id":"1371753919","filename":"file1"},{"photo_id":"1371753910","filename":"file0"},{"photo_id":"1371753933","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371753940":["hashtag1","hashtag2"]},{"1371753937":["hashtag1","hashtag2"]},{"1371753925":["hashtag1","hashtag2"]},{"1371753919":["hashtag1","hashtag2"]},{"1371753910":["hashtag1","hashtag2"]},{"1371753933":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371753940, 1371753937, 1371753925, 1371753919, 1371753910, 1371753933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94547748565674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:47:17.282141
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/47/image_12072025_00_47_34_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/00/47/image_12072025_00_47_24_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/00/47/image_12072025_00_47_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/00/46/image_12072025_00_47_04_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/47/image_12072025_00_47_34_9645.jpg', '/home/nano/Desktop/images/12072025/00/47/image_12072025_00_47_24_10646.jpg', '/home/nano/Desktop/images/12072025/00/47/image_12072025_00_47_13_9657.jpg', '/home/nano/Desktop/images/12072025/00/46/image_12072025_00_47_04_10658.jpg', '/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/47/image_12072025_00_47_34_9645.jpg
/home/nano/Desktop/images/12072025/00/47/image_12072025_00_47_24_10646.jpg
/home/nano/Desktop/images/12072025/00/47/image_12072025_00_47_13_9657.jpg
/home/nano/Desktop/images/12072025/00/46/image_12072025_00_47_04_10658.jpg
/home/nano/Desktop/images/12072025/00/46/image_12072025_00_46_53_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371753964","1371753954","1371753968","1371753971","1371753959"],"photo_ids_order":["1371753954","1371753959","1371753964","1371753968","1371753971"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2346fb5cf0fb7d9628d6ff184561ca5f.jpg","text":"TemporaryFile(/tmp/multipartBody7483319582128025648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274098865,"filename":"image_12072025_00_47_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37bb694458710413574eb9dbde9ce397.jpg","text":"TemporaryFile(/tmp/multipartBody9192100286596097767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274098865,"filename":"image_12072025_00_47_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8181286b3a55e4ece24b1ac24fc91752.jpg","text":"TemporaryFile(/tmp/multipartBody6380634838962889521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274098865,"filename":"image_12072025_00_47_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d03fdfe3ae1bc00a448e95f5dac14a04.jpg","text":"TemporaryFile(/tmp/multipartBody3030646139568359714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274098865,"filename":"image_12072025_00_46_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/991e27b9dbd55b2dfa08c73f79ac9a43.jpg","text":"TemporaryFile(/tmp/multipartBody827745833113027526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274098865,"filename":"image_12072025_00_47_24_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371753964","file1":"1371753959","file0":"1371753954","file4":"1371753971","file3":"1371753968"},"map_files_photo_id_array":[{"photo_id":"1371753964","filename":"file2"},{"photo_id":"1371753971","filename":"file4"},{"photo_id":"1371753959","filename":"file1"},{"photo_id":"1371753954","filename":"file0"},{"photo_id":"1371753968","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371753964":["hashtag1","hashtag2"]},{"1371753954":["hashtag1","hashtag2"]},{"1371753968":["hashtag1","hashtag2"]},{"1371753971":["hashtag1","hashtag2"]},{"1371753959":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371753964, 1371753954, 1371753968, 1371753971, 1371753959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.582873344421387 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:47:47.327747
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/28/image_10072025_23_28_44_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/23/27/image_10072025_23_28_03_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/23/27/image_10072025_23_27_44_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/23/27/image_10072025_23_27_33_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/27/image_10072025_23_27_24_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/27/image_10072025_23_27_14_10677.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/28/image_10072025_23_28_44_10656.jpg', '/home/nano/Desktop/images/10072025/23/27/image_10072025_23_28_03_9661.jpg', '/home/nano/Desktop/images/10072025/23/27/image_10072025_23_27_44_10656.jpg', '/home/nano/Desktop/images/10072025/23/27/image_10072025_23_27_33_9646.jpg', '/home/nano/Desktop/images/10072025/23/27/image_10072025_23_27_24_9646.jpg', '/home/nano/Desktop/images/10072025/23/27/image_10072025_23_27_14_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/28/image_10072025_23_28_44_10656.jpg
/home/nano/Desktop/images/10072025/23/27/image_10072025_23_28_03_9661.jpg
/home/nano/Desktop/images/10072025/23/27/image_10072025_23_27_44_10656.jpg
/home/nano/Desktop/images/10072025/23/27/image_10072025_23_27_33_9646.jpg
/home/nano/Desktop/images/10072025/23/27/image_10072025_23_27_24_9646.jpg
/home/nano/Desktop/images/10072025/23/27/image_10072025_23_27_14_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371754003","1371753984","1371754020","1371753992","1371753989","1371753980"],"photo_ids_order":["1371753980","1371753984","1371753989","1371753992","1371754003","1371754020"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a15915634365adc57649c2fe99444d7.jpg","text":"TemporaryFile(/tmp/multipartBody7162072997311204148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274130090,"filename":"image_10072025_23_27_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/600de2eb2a581464b97605b463d8e5f9.jpg","text":"TemporaryFile(/tmp/multipartBody5619176199622261407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274130090,"filename":"image_10072025_23_28_03_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7ccda9613e0d2171484d3dae4724e65.jpg","text":"TemporaryFile(/tmp/multipartBody949731156146437751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274130090,"filename":"image_10072025_23_27_14_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ef6b900cdddf40f6fa399bdc4cc1120.jpg","text":"TemporaryFile(/tmp/multipartBody7213476792675017722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274130090,"filename":"image_10072025_23_27_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f24a108e07c660733300886006c381b9.jpg","text":"TemporaryFile(/tmp/multipartBody6737408678154039577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274130090,"filename":"image_10072025_23_27_44_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0619b489e0d66368f5f85fcd7bc621c.jpg","text":"TemporaryFile(/tmp/multipartBody2222051719597003682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274130090,"filename":"image_10072025_23_28_44_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371753989","file1":"1371753984","file0":"1371753980","file4":"1371754003","file5":"1371754020","file3":"1371753992"},"map_files_photo_id_array":[{"photo_id":"1371754020","filename":"file5"},{"photo_id":"1371753989","filename":"file2"},{"photo_id":"1371754003","filename":"file4"},{"photo_id":"1371753984","filename":"file1"},{"photo_id":"1371753980","filename":"file0"},{"photo_id":"1371753992","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371754003":["hashtag1","hashtag2"]},{"1371753984":["hashtag1","hashtag2"]},{"1371754020":["hashtag1","hashtag2"]},{"1371753992":["hashtag1","hashtag2"]},{"1371753989":["hashtag1","hashtag2"]},{"1371753980":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371754003, 1371753984, 1371754020, 1371753992, 1371753989, 1371753980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03638243675232 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:48:32.452230
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_43_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_34_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_24_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_13_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/00/47/image_12072025_00_48_04_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/00/47/image_12072025_00_47_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_43_9646.jpg', '/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_34_9637.jpg', '/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_24_10650.jpg', '/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_13_9668.jpg', '/home/nano/Desktop/images/12072025/00/47/image_12072025_00_48_04_9641.jpg', '/home/nano/Desktop/images/12072025/00/47/image_12072025_00_47_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_43_9646.jpg
/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_34_9637.jpg
/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_24_10650.jpg
/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_13_9668.jpg
/home/nano/Desktop/images/12072025/00/47/image_12072025_00_48_04_9641.jpg
/home/nano/Desktop/images/12072025/00/47/image_12072025_00_47_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371754321","1371754207","1371754248","1371754181","1371754349","1371754279"],"photo_ids_order":["1371754181","1371754207","1371754248","1371754279","1371754321","1371754349"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33dd770bb04ded2edc845056a8c37d18.jpg","text":"TemporaryFile(/tmp/multipartBody3522639346999306503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274173735,"filename":"image_12072025_00_48_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/474a9a81f9b1d05799748a046e6ab123.jpg","text":"TemporaryFile(/tmp/multipartBody6840524468480576994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274173735,"filename":"image_12072025_00_48_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5f661f46d349e7d6d95a2b41b4bc7b0.jpg","text":"TemporaryFile(/tmp/multipartBody3613807827024477360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274173735,"filename":"image_12072025_00_48_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fc2b3515b426a804b97c1dafbc00342.jpg","text":"TemporaryFile(/tmp/multipartBody3583876677706624403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274173735,"filename":"image_12072025_00_48_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a0b9dadeff82dff6c7367ee5861d0b0.jpg","text":"TemporaryFile(/tmp/multipartBody2325763943156922820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274173735,"filename":"image_12072025_00_47_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1660e161deaa549ebe29e31401134b2.jpg","text":"TemporaryFile(/tmp/multipartBody2728115558091864574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274173735,"filename":"image_12072025_00_48_13_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371754248","file1":"1371754207","file0":"1371754181","file4":"1371754321","file5":"1371754349","file3":"1371754279"},"map_files_photo_id_array":[{"photo_id":"1371754349","filename":"file5"},{"photo_id":"1371754248","filename":"file2"},{"photo_id":"1371754321","filename":"file4"},{"photo_id":"1371754207","filename":"file1"},{"photo_id":"1371754181","filename":"file0"},{"photo_id":"1371754279","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371754321":["hashtag1","hashtag2"]},{"1371754207":["hashtag1","hashtag2"]},{"1371754248":["hashtag1","hashtag2"]},{"1371754181":["hashtag1","hashtag2"]},{"1371754349":["hashtag1","hashtag2"]},{"1371754279":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371754321, 1371754207, 1371754248, 1371754181, 1371754349, 1371754279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2048921585083 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:49:17.625222
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_24_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/00/48/image_12072025_00_49_04_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_54_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_43_9638.jpg', '/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_33_9639.jpg', '/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_24_10664.jpg', '/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_13_9657.jpg', '/home/nano/Desktop/images/12072025/00/48/image_12072025_00_49_04_9653.jpg', '/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_54_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_43_9638.jpg
/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_33_9639.jpg
/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_24_10664.jpg
/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_13_9657.jpg
/home/nano/Desktop/images/12072025/00/48/image_12072025_00_49_04_9653.jpg
/home/nano/Desktop/images/12072025/00/48/image_12072025_00_48_54_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371754566","1371754629","1371754503","1371754688","1371754658","1371754597"],"photo_ids_order":["1371754503","1371754566","1371754597","1371754629","1371754658","1371754688"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f26428c78511db0356d5ef0942a8f867.jpg","text":"TemporaryFile(/tmp/multipartBody1832343760720642311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274218853,"filename":"image_12072025_00_49_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a71e22a1b3b255f43ae83a9ab73f067e.jpg","text":"TemporaryFile(/tmp/multipartBody5602668139816815503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274218853,"filename":"image_12072025_00_49_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e80f69f84487ecd257c25bd9b78e1ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6800259362463243183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274218853,"filename":"image_12072025_00_49_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79c1302187c4da696b2c61f778d2c3f2.jpg","text":"TemporaryFile(/tmp/multipartBody1003851721054825673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274218853,"filename":"image_12072025_00_48_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fe498d19d51de6a8a685ce20e873aec.jpg","text":"TemporaryFile(/tmp/multipartBody4360001915661669332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274218853,"filename":"image_12072025_00_49_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de8930a1cef0dbeafb29272739844d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7894028874204880715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274218853,"filename":"image_12072025_00_49_24_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371754597","file1":"1371754566","file0":"1371754503","file4":"1371754658","file5":"1371754688","file3":"1371754629"},"map_files_photo_id_array":[{"photo_id":"1371754688","filename":"file5"},{"photo_id":"1371754597","filename":"file2"},{"photo_id":"1371754658","filename":"file4"},{"photo_id":"1371754566","filename":"file1"},{"photo_id":"1371754503","filename":"file0"},{"photo_id":"1371754629","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371754566":["hashtag1","hashtag2"]},{"1371754629":["hashtag1","hashtag2"]},{"1371754503":["hashtag1","hashtag2"]},{"1371754688":["hashtag1","hashtag2"]},{"1371754658":["hashtag1","hashtag2"]},{"1371754597":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371754566, 1371754629, 1371754503, 1371754688, 1371754658, 1371754597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03724980354309 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:50:03.058728
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/26/image_10072025_23_27_03_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/23/26/image_10072025_23_26_54_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/23/26/image_10072025_23_26_24_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/23/25/image_10072025_23_26_03_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_54_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_44_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/26/image_10072025_23_27_03_9664.jpg', '/home/nano/Desktop/images/10072025/23/26/image_10072025_23_26_54_9647.jpg', '/home/nano/Desktop/images/10072025/23/26/image_10072025_23_26_24_9644.jpg', '/home/nano/Desktop/images/10072025/23/25/image_10072025_23_26_03_9657.jpg', '/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_54_9645.jpg', '/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_44_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/26/image_10072025_23_27_03_9664.jpg
/home/nano/Desktop/images/10072025/23/26/image_10072025_23_26_54_9647.jpg
/home/nano/Desktop/images/10072025/23/26/image_10072025_23_26_24_9644.jpg
/home/nano/Desktop/images/10072025/23/25/image_10072025_23_26_03_9657.jpg
/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_54_9645.jpg
/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_44_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371754890","1371754914","1371754967","1371754940","1371754897","1371754885"],"photo_ids_order":["1371754885","1371754890","1371754897","1371754914","1371754940","1371754967"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d281f1d71a4af4bb81b65a12e7656dc1.jpg","text":"TemporaryFile(/tmp/multipartBody108465283482397486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274265954,"filename":"image_10072025_23_26_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a0095824913768d4e460f03c14db51f.jpg","text":"TemporaryFile(/tmp/multipartBody2536015178930128264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274265954,"filename":"image_10072025_23_26_03_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aba18a8c5945b2fe8cedbb1207f479f1.jpg","text":"TemporaryFile(/tmp/multipartBody1229758443311337192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274265954,"filename":"image_10072025_23_25_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aef3cad9aadfc55d9b492b5cdff11f79.jpg","text":"TemporaryFile(/tmp/multipartBody8649440311873155848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274265954,"filename":"image_10072025_23_25_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fde99c4da8075934eb215ebd97af1002.jpg","text":"TemporaryFile(/tmp/multipartBody1019868391895714820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274265954,"filename":"image_10072025_23_26_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3213f55e2b30b30b48633f22302c942.jpg","text":"TemporaryFile(/tmp/multipartBody6332079693848332880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274265954,"filename":"image_10072025_23_27_03_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371754897","file1":"1371754890","file0":"1371754885","file4":"1371754940","file5":"1371754967","file3":"1371754914"},"map_files_photo_id_array":[{"photo_id":"1371754967","filename":"file5"},{"photo_id":"1371754897","filename":"file2"},{"photo_id":"1371754940","filename":"file4"},{"photo_id":"1371754890","filename":"file1"},{"photo_id":"1371754885","filename":"file0"},{"photo_id":"1371754914","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371754890":["hashtag1","hashtag2"]},{"1371754914":["hashtag1","hashtag2"]},{"1371754967":["hashtag1","hashtag2"]},{"1371754940":["hashtag1","hashtag2"]},{"1371754897":["hashtag1","hashtag2"]},{"1371754885":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371754890, 1371754914, 1371754967, 1371754940, 1371754897, 1371754885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25365114212036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:50:47.658497
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_33_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_24_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_13_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/00/49/image_12072025_00_50_03_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_54_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_44_10647.jpg', '/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_33_9636.jpg', '/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_24_10666.jpg', '/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_13_9665.jpg', '/home/nano/Desktop/images/12072025/00/49/image_12072025_00_50_03_9662.jpg', '/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_54_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_44_10647.jpg
/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_33_9636.jpg
/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_24_10666.jpg
/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_13_9665.jpg
/home/nano/Desktop/images/12072025/00/49/image_12072025_00_50_03_9662.jpg
/home/nano/Desktop/images/12072025/00/49/image_12072025_00_49_54_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371755049","1371755021","1371755062","1371755056","1371755059","1371755068"],"photo_ids_order":["1371755021","1371755049","1371755056","1371755059","1371755062","1371755068"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/286576e43c50c0d5741c48b71f6a1c9f.jpg","text":"TemporaryFile(/tmp/multipartBody2601152570648971694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274309243,"filename":"image_12072025_00_50_33_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9da59e900956b9b9905cafc77d0c5128.jpg","text":"TemporaryFile(/tmp/multipartBody7366372679293949749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274309243,"filename":"image_12072025_00_50_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ed720d1b24333ec5a506922029d0711.jpg","text":"TemporaryFile(/tmp/multipartBody7922161575570981777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274309243,"filename":"image_12072025_00_50_03_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99b322c7dd3114e45511aea17fc6471f.jpg","text":"TemporaryFile(/tmp/multipartBody1251049054635546790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274309243,"filename":"image_12072025_00_50_24_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6fc2b335739e43f65a4070c337ac8c9b.jpg","text":"TemporaryFile(/tmp/multipartBody7075674610458618225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274309243,"filename":"image_12072025_00_50_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4adb6e825d0bf7115a52c1ae00e5d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody3937946859617778217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274309243,"filename":"image_12072025_00_49_54_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371755056","file1":"1371755049","file0":"1371755021","file4":"1371755062","file5":"1371755068","file3":"1371755059"},"map_files_photo_id_array":[{"photo_id":"1371755068","filename":"file5"},{"photo_id":"1371755056","filename":"file2"},{"photo_id":"1371755062","filename":"file4"},{"photo_id":"1371755049","filename":"file1"},{"photo_id":"1371755021","filename":"file0"},{"photo_id":"1371755059","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371755049":["hashtag1","hashtag2"]},{"1371755021":["hashtag1","hashtag2"]},{"1371755062":["hashtag1","hashtag2"]},{"1371755056":["hashtag1","hashtag2"]},{"1371755059":["hashtag1","hashtag2"]},{"1371755068":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371755049, 1371755021, 1371755062, 1371755056, 1371755059, 1371755068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20631122589111 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:51:31.759967
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/51/image_12072025_00_51_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/00/51/image_12072025_00_51_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/51/image_12072025_00_51_14_10695.jpg', 2), ('/home/nano/Desktop/images/12072025/00/50/image_12072025_00_51_03_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_54_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/51/image_12072025_00_51_44_10648.jpg', '/home/nano/Desktop/images/12072025/00/51/image_12072025_00_51_24_9638.jpg', '/home/nano/Desktop/images/12072025/00/51/image_12072025_00_51_14_10695.jpg', '/home/nano/Desktop/images/12072025/00/50/image_12072025_00_51_03_9641.jpg', '/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_54_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/51/image_12072025_00_51_44_10648.jpg
/home/nano/Desktop/images/12072025/00/51/image_12072025_00_51_24_9638.jpg
/home/nano/Desktop/images/12072025/00/51/image_12072025_00_51_14_10695.jpg
/home/nano/Desktop/images/12072025/00/50/image_12072025_00_51_03_9641.jpg
/home/nano/Desktop/images/12072025/00/50/image_12072025_00_50_54_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371755097","1371755109","1371755099","1371755101","1371755104"],"photo_ids_order":["1371755097","1371755099","1371755101","1371755104","1371755109"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efeed39d3c867451c51e5848a0816232.jpg","text":"TemporaryFile(/tmp/multipartBody8953353734020971226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274354062,"filename":"image_12072025_00_51_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1860cbccb5b8845dc97b15b2a341896e.jpg","text":"TemporaryFile(/tmp/multipartBody7495437877303958064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274354062,"filename":"image_12072025_00_50_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d849f581fc0ce8514722b5ae31a0292.jpg","text":"TemporaryFile(/tmp/multipartBody4517354868852516020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274354062,"filename":"image_12072025_00_51_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9b33992ec6393c3e3d3df19da3f1bd5.jpg","text":"TemporaryFile(/tmp/multipartBody9154423128872716757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274354062,"filename":"image_12072025_00_51_14_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26f104be4d0c7ea73a88c468be04327f.jpg","text":"TemporaryFile(/tmp/multipartBody4401914537898781503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274354062,"filename":"image_12072025_00_51_03_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371755101","file1":"1371755099","file0":"1371755097","file4":"1371755109","file3":"1371755104"},"map_files_photo_id_array":[{"photo_id":"1371755101","filename":"file2"},{"photo_id":"1371755109","filename":"file4"},{"photo_id":"1371755099","filename":"file1"},{"photo_id":"1371755097","filename":"file0"},{"photo_id":"1371755104","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371755097":["hashtag1","hashtag2"]},{"1371755109":["hashtag1","hashtag2"]},{"1371755099":["hashtag1","hashtag2"]},{"1371755101":["hashtag1","hashtag2"]},{"1371755104":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371755097, 1371755109, 1371755099, 1371755101, 1371755104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.14776086807251 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:52:02.258055
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_33_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_24_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_14_10676.jpg', 2), ('/home/nano/Desktop/images/10072025/23/24/image_10072025_23_25_03_9660.jpg', 2), ('/home/nano/Desktop/images/10072025/23/24/image_10072025_23_24_44_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/23/24/image_10072025_23_24_33_9667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_33_9646.jpg', '/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_24_9645.jpg', '/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_14_10676.jpg', '/home/nano/Desktop/images/10072025/23/24/image_10072025_23_25_03_9660.jpg', '/home/nano/Desktop/images/10072025/23/24/image_10072025_23_24_44_10655.jpg', '/home/nano/Desktop/images/10072025/23/24/image_10072025_23_24_33_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_33_9646.jpg
/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_24_9645.jpg
/home/nano/Desktop/images/10072025/23/25/image_10072025_23_25_14_10676.jpg
/home/nano/Desktop/images/10072025/23/24/image_10072025_23_25_03_9660.jpg
/home/nano/Desktop/images/10072025/23/24/image_10072025_23_24_44_10655.jpg
/home/nano/Desktop/images/10072025/23/24/image_10072025_23_24_33_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371755151","1371755153","1371755147","1371755141","1371755161","1371755155"],"photo_ids_order":["1371755141","1371755147","1371755151","1371755153","1371755155","1371755161"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f205fe84f9191ec2d97dcfcc8ad9957c.jpg","text":"TemporaryFile(/tmp/multipartBody5606279467354619492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274385173,"filename":"image_10072025_23_25_14_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34eabc7b09c5d8af01632748a0f97d0c.jpg","text":"TemporaryFile(/tmp/multipartBody7123914351966191924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274385173,"filename":"image_10072025_23_25_03_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b102572ed6ea74c0ec78e021dfabbaf.jpg","text":"TemporaryFile(/tmp/multipartBody995565024451522985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274385173,"filename":"image_10072025_23_25_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a98d6565b33787596eb785067ac9658e.jpg","text":"TemporaryFile(/tmp/multipartBody2322367497436310934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274385173,"filename":"image_10072025_23_25_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc91071c5a5cf403f183da3ebbd094b7.jpg","text":"TemporaryFile(/tmp/multipartBody9128004522666968200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274385173,"filename":"image_10072025_23_24_33_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c272c5249582c3b3480467f506438765.jpg","text":"TemporaryFile(/tmp/multipartBody3270220948578708674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274385173,"filename":"image_10072025_23_24_44_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371755151","file1":"1371755147","file0":"1371755141","file4":"1371755155","file5":"1371755161","file3":"1371755153"},"map_files_photo_id_array":[{"photo_id":"1371755161","filename":"file5"},{"photo_id":"1371755151","filename":"file2"},{"photo_id":"1371755155","filename":"file4"},{"photo_id":"1371755147","filename":"file1"},{"photo_id":"1371755141","filename":"file0"},{"photo_id":"1371755153","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371755151":["hashtag1","hashtag2"]},{"1371755153":["hashtag1","hashtag2"]},{"1371755147":["hashtag1","hashtag2"]},{"1371755141":["hashtag1","hashtag2"]},{"1371755161":["hashtag1","hashtag2"]},{"1371755155":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371755151, 1371755153, 1371755147, 1371755141, 1371755161, 1371755155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09552454948425 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:52:46.876097
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_14_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/00/51/image_12072025_00_51_54_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_44_10647.jpg', '/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_33_9640.jpg', '/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_24_9638.jpg', '/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_14_10666.jpg', '/home/nano/Desktop/images/12072025/00/51/image_12072025_00_51_54_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_44_10647.jpg
/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_33_9640.jpg
/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_24_9638.jpg
/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_14_10666.jpg
/home/nano/Desktop/images/12072025/00/51/image_12072025_00_51_54_9655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371755175","1371755183","1371755194","1371755188","1371755179"],"photo_ids_order":["1371755175","1371755179","1371755183","1371755188","1371755194"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df5dd6a720a3d372e98ea72b1bcad6a5.jpg","text":"TemporaryFile(/tmp/multipartBody237271751770943248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274428347,"filename":"image_12072025_00_52_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8037154a2cbb22cf55330fac25393147.jpg","text":"TemporaryFile(/tmp/multipartBody6238609380322340543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274428347,"filename":"image_12072025_00_52_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b67a9f24aff9d30ff8656f198df20fe3.jpg","text":"TemporaryFile(/tmp/multipartBody7203731977341935387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274428347,"filename":"image_12072025_00_51_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a736bdfbb8edfacd629b717b66d1d599.jpg","text":"TemporaryFile(/tmp/multipartBody1402916430062371225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274428347,"filename":"image_12072025_00_52_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/061fc4abfe676976d6a2e055bb9fc507.jpg","text":"TemporaryFile(/tmp/multipartBody8635473983976808524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274428347,"filename":"image_12072025_00_52_33_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371755183","file1":"1371755179","file0":"1371755175","file4":"1371755194","file3":"1371755188"},"map_files_photo_id_array":[{"photo_id":"1371755183","filename":"file2"},{"photo_id":"1371755194","filename":"file4"},{"photo_id":"1371755179","filename":"file1"},{"photo_id":"1371755175","filename":"file0"},{"photo_id":"1371755188","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371755175":["hashtag1","hashtag2"]},{"1371755183":["hashtag1","hashtag2"]},{"1371755194":["hashtag1","hashtag2"]},{"1371755188":["hashtag1","hashtag2"]},{"1371755179":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371755175, 1371755183, 1371755194, 1371755188, 1371755179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.61306095123291 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:53:16.984304
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_24_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_14_10709.jpg', 2), ('/home/nano/Desktop/images/12072025/00/52/image_12072025_00_53_03_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_44_10648.jpg', '/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_33_9637.jpg', '/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_24_9662.jpg', '/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_14_10709.jpg', '/home/nano/Desktop/images/12072025/00/52/image_12072025_00_53_03_9658.jpg', '/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_44_10648.jpg
/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_33_9637.jpg
/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_24_9662.jpg
/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_14_10709.jpg
/home/nano/Desktop/images/12072025/00/52/image_12072025_00_53_03_9658.jpg
/home/nano/Desktop/images/12072025/00/52/image_12072025_00_52_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371755220","1371755223","1371755217","1371755212","1371755215","1371755209"],"photo_ids_order":["1371755209","1371755212","1371755215","1371755217","1371755220","1371755223"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c21aefa7f01ba955e7ab6e65243142a.jpg","text":"TemporaryFile(/tmp/multipartBody366223941839571953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274458452,"filename":"image_12072025_00_53_03_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9c7f55052426a8a6a43feb53b013316.jpg","text":"TemporaryFile(/tmp/multipartBody5576261963003341432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274458452,"filename":"image_12072025_00_52_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a53b6ba8d7124e2f440d3977a6be413.jpg","text":"TemporaryFile(/tmp/multipartBody6636883228024644180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274458452,"filename":"image_12072025_00_53_14_10709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb8bf93eba90c85fba36b3169226404b.jpg","text":"TemporaryFile(/tmp/multipartBody8801253281578794405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274458452,"filename":"image_12072025_00_53_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a6b74b2422f9561ec2dcde24ee20cb7.jpg","text":"TemporaryFile(/tmp/multipartBody4679411960735019553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274458452,"filename":"image_12072025_00_53_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74410be3a4743f00379f9793ffb242ca.jpg","text":"TemporaryFile(/tmp/multipartBody5681293767806990194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274458452,"filename":"image_12072025_00_53_44_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371755215","file1":"1371755212","file0":"1371755209","file4":"1371755220","file5":"1371755223","file3":"1371755217"},"map_files_photo_id_array":[{"photo_id":"1371755223","filename":"file5"},{"photo_id":"1371755215","filename":"file2"},{"photo_id":"1371755220","filename":"file4"},{"photo_id":"1371755212","filename":"file1"},{"photo_id":"1371755209","filename":"file0"},{"photo_id":"1371755217","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371755220":["hashtag1","hashtag2"]},{"1371755223":["hashtag1","hashtag2"]},{"1371755217":["hashtag1","hashtag2"]},{"1371755212":["hashtag1","hashtag2"]},{"1371755215":["hashtag1","hashtag2"]},{"1371755209":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371755220, 1371755223, 1371755217, 1371755212, 1371755215, 1371755209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.737754583358765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:54:02.682633
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/24/image_10072025_23_24_24_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/23/24/image_10072025_23_24_14_10687.jpg', 2), ('/home/nano/Desktop/images/10072025/23/23/image_10072025_23_24_03_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_54_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_44_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_33_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/24/image_10072025_23_24_24_9650.jpg', '/home/nano/Desktop/images/10072025/23/24/image_10072025_23_24_14_10687.jpg', '/home/nano/Desktop/images/10072025/23/23/image_10072025_23_24_03_9654.jpg', '/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_54_9653.jpg', '/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_44_10657.jpg', '/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_33_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/24/image_10072025_23_24_24_9650.jpg
/home/nano/Desktop/images/10072025/23/24/image_10072025_23_24_14_10687.jpg
/home/nano/Desktop/images/10072025/23/23/image_10072025_23_24_03_9654.jpg
/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_54_9653.jpg
/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_44_10657.jpg
/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_33_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371755268","1371755247","1371755256","1371755261","1371755252","1371755265"],"photo_ids_order":["1371755247","1371755252","1371755256","1371755261","1371755265","1371755268"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10308b751647994cacdc2c1246ad360d.jpg","text":"TemporaryFile(/tmp/multipartBody4141288166350922387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274505511,"filename":"image_10072025_23_23_33_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13f6f3dea11e339122338088a3641e69.jpg","text":"TemporaryFile(/tmp/multipartBody4158571148032378392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274505511,"filename":"image_10072025_23_24_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d391edcdd1fa9faee69acad52067b884.jpg","text":"TemporaryFile(/tmp/multipartBody8700862623475194650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274505511,"filename":"image_10072025_23_24_03_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6256234a1304a4852a37575cc465bbc1.jpg","text":"TemporaryFile(/tmp/multipartBody206128446162308492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274505511,"filename":"image_10072025_23_23_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cdfe6ea28ee65757f10d07a759dcda5d.jpg","text":"TemporaryFile(/tmp/multipartBody7372742308908392610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274505511,"filename":"image_10072025_23_24_14_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6bb1864c63ea2896d4c9574952b1197.jpg","text":"TemporaryFile(/tmp/multipartBody5940833658123480267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274505511,"filename":"image_10072025_23_23_44_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371755256","file1":"1371755252","file0":"1371755247","file4":"1371755265","file5":"1371755268","file3":"1371755261"},"map_files_photo_id_array":[{"photo_id":"1371755268","filename":"file5"},{"photo_id":"1371755256","filename":"file2"},{"photo_id":"1371755265","filename":"file4"},{"photo_id":"1371755252","filename":"file1"},{"photo_id":"1371755247","filename":"file0"},{"photo_id":"1371755261","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371755268":["hashtag1","hashtag2"]},{"1371755247":["hashtag1","hashtag2"]},{"1371755256":["hashtag1","hashtag2"]},{"1371755261":["hashtag1","hashtag2"]},{"1371755252":["hashtag1","hashtag2"]},{"1371755265":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371755268, 1371755247, 1371755256, 1371755261, 1371755252, 1371755265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59723353385925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:54:47.114194
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/54/image_12072025_00_54_44_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/00/54/image_12072025_00_54_33_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/00/54/image_12072025_00_54_14_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/00/53/image_12072025_00_54_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/54/image_12072025_00_54_44_10664.jpg', '/home/nano/Desktop/images/12072025/00/54/image_12072025_00_54_33_9646.jpg', '/home/nano/Desktop/images/12072025/00/54/image_12072025_00_54_14_10663.jpg', '/home/nano/Desktop/images/12072025/00/53/image_12072025_00_54_03_9643.jpg', '/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/54/image_12072025_00_54_44_10664.jpg
/home/nano/Desktop/images/12072025/00/54/image_12072025_00_54_33_9646.jpg
/home/nano/Desktop/images/12072025/00/54/image_12072025_00_54_14_10663.jpg
/home/nano/Desktop/images/12072025/00/53/image_12072025_00_54_03_9643.jpg
/home/nano/Desktop/images/12072025/00/53/image_12072025_00_53_53_9644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371755301","1371755288","1371755282","1371755285","1371755279"],"photo_ids_order":["1371755279","1371755282","1371755285","1371755288","1371755301"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/293c1c070c38da102bf05c0ae0492257.jpg","text":"TemporaryFile(/tmp/multipartBody9017500326802749050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274548402,"filename":"image_12072025_00_53_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c9d8b2567ebd93b300cd448dce2e09c.jpg","text":"TemporaryFile(/tmp/multipartBody6086218905473255203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274548402,"filename":"image_12072025_00_54_03_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c671cdd5f55a730c0416c4a9777165a.jpg","text":"TemporaryFile(/tmp/multipartBody93213367284839320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274548402,"filename":"image_12072025_00_54_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00ce9bc95ad11b00c866fd30dc762686.jpg","text":"TemporaryFile(/tmp/multipartBody6020550888020563274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274548402,"filename":"image_12072025_00_54_14_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45ca7cd347302814f84032ae07235196.jpg","text":"TemporaryFile(/tmp/multipartBody3584502678699691320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274548402,"filename":"image_12072025_00_54_44_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371755285","file1":"1371755282","file0":"1371755279","file4":"1371755301","file3":"1371755288"},"map_files_photo_id_array":[{"photo_id":"1371755285","filename":"file2"},{"photo_id":"1371755301","filename":"file4"},{"photo_id":"1371755282","filename":"file1"},{"photo_id":"1371755279","filename":"file0"},{"photo_id":"1371755288","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371755301":["hashtag1","hashtag2"]},{"1371755288":["hashtag1","hashtag2"]},{"1371755282":["hashtag1","hashtag2"]},{"1371755285":["hashtag1","hashtag2"]},{"1371755279":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371755301, 1371755288, 1371755282, 1371755285, 1371755279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.081947088241577 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:55:17.223157
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_44_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_14_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/54/image_12072025_00_55_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/00/54/image_12072025_00_54_53_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_44_9638.jpg', '/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_34_10650.jpg', '/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_23_9637.jpg', '/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_14_9654.jpg', '/home/nano/Desktop/images/12072025/00/54/image_12072025_00_55_04_10661.jpg', '/home/nano/Desktop/images/12072025/00/54/image_12072025_00_54_53_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_44_9638.jpg
/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_34_10650.jpg
/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_23_9637.jpg
/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_14_9654.jpg
/home/nano/Desktop/images/12072025/00/54/image_12072025_00_55_04_10661.jpg
/home/nano/Desktop/images/12072025/00/54/image_12072025_00_54_53_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371755322","1371755331","1371755495","1371755426","1371755327","1371755365"],"photo_ids_order":["1371755322","1371755327","1371755331","1371755365","1371755426","1371755495"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b6af73730c98c4d163d6b04beac3886.jpg","text":"TemporaryFile(/tmp/multipartBody7516710941841754975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274578606,"filename":"image_12072025_00_55_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b35cf623b5eef6686dd6a37e7815fbdd.jpg","text":"TemporaryFile(/tmp/multipartBody6128420216644496428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274578606,"filename":"image_12072025_00_55_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14fcc8286b49af70af3917baa25d636f.jpg","text":"TemporaryFile(/tmp/multipartBody1952144291332117928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274578606,"filename":"image_12072025_00_54_53_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4399698398257a7b3bc8c7bb8cf736b.jpg","text":"TemporaryFile(/tmp/multipartBody3180940030639500906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274578606,"filename":"image_12072025_00_55_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c2bf36ac5728919721680138a9391ac.jpg","text":"TemporaryFile(/tmp/multipartBody7129836497503869655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274578606,"filename":"image_12072025_00_55_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a226a2c64db1b8d0845df7d5b3b79458.jpg","text":"TemporaryFile(/tmp/multipartBody5519109492829504246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274578606,"filename":"image_12072025_00_55_14_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371755331","file1":"1371755327","file0":"1371755322","file4":"1371755426","file5":"1371755495","file3":"1371755365"},"map_files_photo_id_array":[{"photo_id":"1371755495","filename":"file5"},{"photo_id":"1371755331","filename":"file2"},{"photo_id":"1371755426","filename":"file4"},{"photo_id":"1371755327","filename":"file1"},{"photo_id":"1371755322","filename":"file0"},{"photo_id":"1371755365","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371755322":["hashtag1","hashtag2"]},{"1371755331":["hashtag1","hashtag2"]},{"1371755495":["hashtag1","hashtag2"]},{"1371755426":["hashtag1","hashtag2"]},{"1371755327":["hashtag1","hashtag2"]},{"1371755365":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371755322, 1371755331, 1371755495, 1371755426, 1371755327, 1371755365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.911736488342285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:56:32.305409
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_34_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_23_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_14_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/00/55/image_12072025_00_56_04_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_44_9639.jpg', '/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_34_10656.jpg', '/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_23_9655.jpg', '/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_14_9663.jpg', '/home/nano/Desktop/images/12072025/00/55/image_12072025_00_56_04_10662.jpg', '/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_44_9639.jpg
/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_34_10656.jpg
/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_23_9655.jpg
/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_14_9663.jpg
/home/nano/Desktop/images/12072025/00/55/image_12072025_00_56_04_10662.jpg
/home/nano/Desktop/images/12072025/00/55/image_12072025_00_55_53_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371755838","1371755783","1371755891","1371755726","1371755686","1371755866"],"photo_ids_order":["1371755686","1371755726","1371755783","1371755838","1371755866","1371755891"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8ed76b834a39b17ae814876798afb32.jpg","text":"TemporaryFile(/tmp/multipartBody2568893219158597751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274653709,"filename":"image_12072025_00_56_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f67bd402b163e44711d1166036d83377.jpg","text":"TemporaryFile(/tmp/multipartBody2969599891709113366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274653709,"filename":"image_12072025_00_56_23_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b895ec998ec0956a27de9495589ab94.jpg","text":"TemporaryFile(/tmp/multipartBody1347829703923933366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274653709,"filename":"image_12072025_00_55_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e954a1328c4e4e596cd86886d00652c.jpg","text":"TemporaryFile(/tmp/multipartBody6145359344329953877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274653709,"filename":"image_12072025_00_56_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34a4aabaa8ef1a10b6db4b849258ead6.jpg","text":"TemporaryFile(/tmp/multipartBody2596275901639073273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274653709,"filename":"image_12072025_00_56_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c39af6da0cf41adc69b4ab16f0723185.jpg","text":"TemporaryFile(/tmp/multipartBody7112439961814754073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274653709,"filename":"image_12072025_00_56_04_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371755783","file1":"1371755726","file0":"1371755686","file4":"1371755866","file5":"1371755891","file3":"1371755838"},"map_files_photo_id_array":[{"photo_id":"1371755891","filename":"file5"},{"photo_id":"1371755783","filename":"file2"},{"photo_id":"1371755866","filename":"file4"},{"photo_id":"1371755726","filename":"file1"},{"photo_id":"1371755686","filename":"file0"},{"photo_id":"1371755838","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371755838":["hashtag1","hashtag2"]},{"1371755783":["hashtag1","hashtag2"]},{"1371755891":["hashtag1","hashtag2"]},{"1371755726":["hashtag1","hashtag2"]},{"1371755686":["hashtag1","hashtag2"]},{"1371755866":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371755838, 1371755783, 1371755891, 1371755726, 1371755686, 1371755866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.829999685287476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:57:32.355188
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_23_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_13_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/56/image_12072025_00_57_04_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_53_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_43_9638.jpg', '/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_34_10653.jpg', '/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_23_9635.jpg', '/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_13_9654.jpg', '/home/nano/Desktop/images/12072025/00/56/image_12072025_00_57_04_10654.jpg', '/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_53_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_43_9638.jpg
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_34_10653.jpg
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_23_9635.jpg
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_13_9654.jpg
/home/nano/Desktop/images/12072025/00/56/image_12072025_00_57_04_10654.jpg
/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_53_9634.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3501877784729004 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:57:47.440387
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_23_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_13_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/56/image_12072025_00_57_04_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_53_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_43_9638.jpg', '/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_34_10653.jpg', '/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_23_9635.jpg', '/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_13_9654.jpg', '/home/nano/Desktop/images/12072025/00/56/image_12072025_00_57_04_10654.jpg', '/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_53_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_43_9638.jpg
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_34_10653.jpg
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_23_9635.jpg
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_13_9654.jpg
/home/nano/Desktop/images/12072025/00/56/image_12072025_00_57_04_10654.jpg
/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_53_9634.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:59:03.339359
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_43_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_34_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_24_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_13_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_58_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_43_9642.jpg', '/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_34_9642.jpg', '/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_24_10653.jpg', '/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_13_9660.jpg', '/home/nano/Desktop/images/12072025/00/57/image_12072025_00_58_04_9645.jpg', '/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_43_9642.jpg
/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_34_9642.jpg
/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_24_10653.jpg
/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_13_9660.jpg
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_58_04_9645.jpg
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371757181","1371757142","1371757121","1371757124","1371757112","1371757225"],"photo_ids_order":["1371757112","1371757121","1371757124","1371757142","1371757181","1371757225"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6742f5aa604f6684394099d2748f92e9.jpg","text":"TemporaryFile(/tmp/multipartBody6398599776951836506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274804615,"filename":"image_12072025_00_58_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aea5614fbac1dca57b246047d9992301.jpg","text":"TemporaryFile(/tmp/multipartBody2394245477544877213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274804615,"filename":"image_12072025_00_58_13_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd098e488afb2626b41bf8ac43c855be.jpg","text":"TemporaryFile(/tmp/multipartBody4721694983312750592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274804615,"filename":"image_12072025_00_58_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1205d63cd26c37c6b48d1bf038e97403.jpg","text":"TemporaryFile(/tmp/multipartBody4768849550547267745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274804615,"filename":"image_12072025_00_58_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/810be828dfcf3975667ad1b48ed49915.jpg","text":"TemporaryFile(/tmp/multipartBody128623485361916012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274804615,"filename":"image_12072025_00_58_43_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/092b46a4874d5a58a67635e4cbb4e340.jpg","text":"TemporaryFile(/tmp/multipartBody4523059008124699937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274804615,"filename":"image_12072025_00_57_54_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371757124","file1":"1371757121","file0":"1371757112","file4":"1371757181","file5":"1371757225","file3":"1371757142"},"map_files_photo_id_array":[{"photo_id":"1371757225","filename":"file5"},{"photo_id":"1371757124","filename":"file2"},{"photo_id":"1371757181","filename":"file4"},{"photo_id":"1371757121","filename":"file1"},{"photo_id":"1371757112","filename":"file0"},{"photo_id":"1371757142","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371757181":["hashtag1","hashtag2"]},{"1371757142":["hashtag1","hashtag2"]},{"1371757121":["hashtag1","hashtag2"]},{"1371757124":["hashtag1","hashtag2"]},{"1371757112":["hashtag1","hashtag2"]},{"1371757225":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371757181, 1371757142, 1371757121, 1371757124, 1371757112, 1371757225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21897649765015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 00:59:47.456879
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_43_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_34_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/00/58/image_12072025_00_59_04_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_54_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_43_9656.jpg', '/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_34_9662.jpg', '/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_24_10648.jpg', '/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_13_9659.jpg', '/home/nano/Desktop/images/12072025/00/58/image_12072025_00_59_04_9652.jpg', '/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_54_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_43_9656.jpg
/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_34_9662.jpg
/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_24_10648.jpg
/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_13_9659.jpg
/home/nano/Desktop/images/12072025/00/58/image_12072025_00_59_04_9652.jpg
/home/nano/Desktop/images/12072025/00/58/image_12072025_00_58_54_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371757538","1371757445","1371757515","1371757518","1371757469","1371757499"],"photo_ids_order":["1371757445","1371757469","1371757499","1371757515","1371757518","1371757538"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b03a2639630258c9a1486edc913f5578.jpg","text":"TemporaryFile(/tmp/multipartBody3187563869076289684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274848903,"filename":"image_12072025_00_58_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6965037871e0606243b0c3082aa94933.jpg","text":"TemporaryFile(/tmp/multipartBody3740725987690031165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274848903,"filename":"image_12072025_00_59_43_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83180ab105c1dc603b88489a9632a68a.jpg","text":"TemporaryFile(/tmp/multipartBody7342553906330241738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274848903,"filename":"image_12072025_00_59_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4eaec81f8253665ae5a68832ad78ade.jpg","text":"TemporaryFile(/tmp/multipartBody5815301393664832581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274848903,"filename":"image_12072025_00_59_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45d407d043c63d6840216aaf53331107.jpg","text":"TemporaryFile(/tmp/multipartBody5705971157941594431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274848903,"filename":"image_12072025_00_59_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a1b81a7df85f51d4ce3b03cc24012fa.jpg","text":"TemporaryFile(/tmp/multipartBody2580624992585716805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274848903,"filename":"image_12072025_00_59_24_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371757499","file1":"1371757469","file0":"1371757445","file4":"1371757518","file5":"1371757538","file3":"1371757515"},"map_files_photo_id_array":[{"photo_id":"1371757538","filename":"file5"},{"photo_id":"1371757499","filename":"file2"},{"photo_id":"1371757518","filename":"file4"},{"photo_id":"1371757469","filename":"file1"},{"photo_id":"1371757445","filename":"file0"},{"photo_id":"1371757515","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371757538":["hashtag1","hashtag2"]},{"1371757445":["hashtag1","hashtag2"]},{"1371757515":["hashtag1","hashtag2"]},{"1371757518":["hashtag1","hashtag2"]},{"1371757469":["hashtag1","hashtag2"]},{"1371757499":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371757538, 1371757445, 1371757515, 1371757518, 1371757469, 1371757499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77210330963135 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:00:32.572456
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_34_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_24_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_13_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/00/59/image_12072025_01_00_04_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_54_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_43_9639.jpg', '/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_34_9645.jpg', '/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_24_10664.jpg', '/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_13_9666.jpg', '/home/nano/Desktop/images/12072025/00/59/image_12072025_01_00_04_9654.jpg', '/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_54_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_43_9639.jpg
/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_34_9645.jpg
/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_24_10664.jpg
/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_13_9666.jpg
/home/nano/Desktop/images/12072025/00/59/image_12072025_01_00_04_9654.jpg
/home/nano/Desktop/images/12072025/00/59/image_12072025_00_59_54_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371757603","1371757584","1371757593","1371757586","1371757580","1371757598"],"photo_ids_order":["1371757580","1371757584","1371757586","1371757593","1371757598","1371757603"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e54241df1593082fe1ff0f5561ede465.jpg","text":"TemporaryFile(/tmp/multipartBody6265578954581684473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274894051,"filename":"image_12072025_00_59_54_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad602310bb50ffd596424769f39ed249.jpg","text":"TemporaryFile(/tmp/multipartBody4907700140283899205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274894051,"filename":"image_12072025_01_00_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/446f62a1f77b1cad2640f39074777bee.jpg","text":"TemporaryFile(/tmp/multipartBody1296632512861290113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274894051,"filename":"image_12072025_01_00_13_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f401a88780882f822e675ef297d09d4f.jpg","text":"TemporaryFile(/tmp/multipartBody6732835078638079436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274894051,"filename":"image_12072025_01_00_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a89030d168b89972c02212e0728adc4.jpg","text":"TemporaryFile(/tmp/multipartBody4751752988283598764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274894051,"filename":"image_12072025_01_00_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1752d5cdbe53da29e46018db5d3f8088.jpg","text":"TemporaryFile(/tmp/multipartBody8087227131313586755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274894051,"filename":"image_12072025_01_00_04_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371757586","file1":"1371757584","file0":"1371757580","file4":"1371757598","file5":"1371757603","file3":"1371757593"},"map_files_photo_id_array":[{"photo_id":"1371757603","filename":"file5"},{"photo_id":"1371757586","filename":"file2"},{"photo_id":"1371757598","filename":"file4"},{"photo_id":"1371757584","filename":"file1"},{"photo_id":"1371757580","filename":"file0"},{"photo_id":"1371757593","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371757603":["hashtag1","hashtag2"]},{"1371757584":["hashtag1","hashtag2"]},{"1371757593":["hashtag1","hashtag2"]},{"1371757586":["hashtag1","hashtag2"]},{"1371757580":["hashtag1","hashtag2"]},{"1371757598":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371757603, 1371757584, 1371757593, 1371757586, 1371757580, 1371757598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15313506126404 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:01:17.705219
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_24_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_13_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/01/00/image_12072025_01_01_03_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_43_9639.jpg', '/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_33_9645.jpg', '/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_24_10656.jpg', '/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_13_9675.jpg', '/home/nano/Desktop/images/12072025/01/00/image_12072025_01_01_03_9655.jpg', '/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_43_9639.jpg
/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_33_9645.jpg
/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_24_10656.jpg
/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_13_9675.jpg
/home/nano/Desktop/images/12072025/01/00/image_12072025_01_01_03_9655.jpg
/home/nano/Desktop/images/12072025/01/00/image_12072025_01_00_54_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371757633","1371757630","1371757627","1371757641","1371757635","1371757638"],"photo_ids_order":["1371757627","1371757630","1371757633","1371757635","1371757638","1371757641"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92947fc5014921e53b543265aa6916aa.jpg","text":"TemporaryFile(/tmp/multipartBody821809419751469939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274939336,"filename":"image_12072025_01_01_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2671104b9d7cbd4c31977924f95558f6.jpg","text":"TemporaryFile(/tmp/multipartBody1434691028513589669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274939336,"filename":"image_12072025_01_01_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f12cba0a2f7f911e3acf8a3ff66ee405.jpg","text":"TemporaryFile(/tmp/multipartBody768541216163053558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274939336,"filename":"image_12072025_01_01_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c7997095a0654b9c7ee7e22fb62ed3c.jpg","text":"TemporaryFile(/tmp/multipartBody7310666832994996961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274939336,"filename":"image_12072025_01_00_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ca66cff01882b6892ef4815827ae8a5.jpg","text":"TemporaryFile(/tmp/multipartBody7151786747907060285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274939336,"filename":"image_12072025_01_01_13_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4919e3c82216a75c29574353fa0e1f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6972616279252430951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274939336,"filename":"image_12072025_01_01_03_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371757633","file1":"1371757630","file0":"1371757627","file4":"1371757638","file5":"1371757641","file3":"1371757635"},"map_files_photo_id_array":[{"photo_id":"1371757641","filename":"file5"},{"photo_id":"1371757633","filename":"file2"},{"photo_id":"1371757638","filename":"file4"},{"photo_id":"1371757630","filename":"file1"},{"photo_id":"1371757627","filename":"file0"},{"photo_id":"1371757635","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371757633":["hashtag1","hashtag2"]},{"1371757630":["hashtag1","hashtag2"]},{"1371757627":["hashtag1","hashtag2"]},{"1371757641":["hashtag1","hashtag2"]},{"1371757635":["hashtag1","hashtag2"]},{"1371757638":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371757633, 1371757630, 1371757627, 1371757641, 1371757635, 1371757638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.252768754959106 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:02:02.068651
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_23_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_13_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/56/image_12072025_00_57_04_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_53_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_43_9638.jpg', '/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_34_10653.jpg', '/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_23_9635.jpg', '/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_13_9654.jpg', '/home/nano/Desktop/images/12072025/00/56/image_12072025_00_57_04_10654.jpg', '/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_53_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_43_9638.jpg
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_34_10653.jpg
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_23_9635.jpg
/home/nano/Desktop/images/12072025/00/57/image_12072025_00_57_13_9654.jpg
/home/nano/Desktop/images/12072025/00/56/image_12072025_00_57_04_10654.jpg
/home/nano/Desktop/images/12072025/00/56/image_12072025_00_56_53_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371757658","1371757657","1371757659","1371757650","1371757653","1371757655"],"photo_ids_order":["1371757650","1371757653","1371757655","1371757657","1371757658","1371757659"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e2c4c6d0470029b352f1c1fea2198dd.jpg","text":"TemporaryFile(/tmp/multipartBody8938789541900564006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274983578,"filename":"image_12072025_00_57_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/958b5f6a34f3a43fd8c1128130c690e8.jpg","text":"TemporaryFile(/tmp/multipartBody5484598036538560354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274983578,"filename":"image_12072025_00_57_13_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36224db6ca8386c816f7d9f326848b87.jpg","text":"TemporaryFile(/tmp/multipartBody5884842751565822788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274983578,"filename":"image_12072025_00_56_53_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87baa011f8e2dff0863c5370fd194c66.jpg","text":"TemporaryFile(/tmp/multipartBody6119452995383369723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274983578,"filename":"image_12072025_00_57_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a355f23a5dbd91dac75dc6e1006fd1bd.jpg","text":"TemporaryFile(/tmp/multipartBody6595275323702775825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274983578,"filename":"image_12072025_00_57_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6bbbaf6335b7896652652cc09bddd945.jpg","text":"TemporaryFile(/tmp/multipartBody8291006948231319752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752274983578,"filename":"image_12072025_00_57_23_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371757655","file1":"1371757653","file0":"1371757650","file4":"1371757658","file5":"1371757659","file3":"1371757657"},"map_files_photo_id_array":[{"photo_id":"1371757659","filename":"file5"},{"photo_id":"1371757655","filename":"file2"},{"photo_id":"1371757658","filename":"file4"},{"photo_id":"1371757653","filename":"file1"},{"photo_id":"1371757650","filename":"file0"},{"photo_id":"1371757657","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371757658":["hashtag1","hashtag2"]},{"1371757657":["hashtag1","hashtag2"]},{"1371757659":["hashtag1","hashtag2"]},{"1371757650":["hashtag1","hashtag2"]},{"1371757653":["hashtag1","hashtag2"]},{"1371757655":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371757658, 1371757657, 1371757659, 1371757650, 1371757653, 1371757655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16456389427185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:02:46.800159
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_24_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_14_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/01/01/image_12072025_01_02_03_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_44_10648.jpg', '/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_33_9638.jpg', '/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_24_9649.jpg', '/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_14_10670.jpg', '/home/nano/Desktop/images/12072025/01/01/image_12072025_01_02_03_9639.jpg', '/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_44_10648.jpg
/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_33_9638.jpg
/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_24_9649.jpg
/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_14_10670.jpg
/home/nano/Desktop/images/12072025/01/01/image_12072025_01_02_03_9639.jpg
/home/nano/Desktop/images/12072025/01/01/image_12072025_01_01_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371757696","1371757690","1371757678","1371757693","1371757674","1371757688"],"photo_ids_order":["1371757674","1371757678","1371757688","1371757690","1371757693","1371757696"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98d25bab5224f37858b90eeed73b7c43.jpg","text":"TemporaryFile(/tmp/multipartBody3727876350257612939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275028206,"filename":"image_12072025_01_01_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b6eb847266abd5c7f9ffd4bad53a8db.jpg","text":"TemporaryFile(/tmp/multipartBody3776852999076114037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275028206,"filename":"image_12072025_01_02_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44b399c94d9b88bf0aea1e789ff87dc7.jpg","text":"TemporaryFile(/tmp/multipartBody557577984630575624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275028206,"filename":"image_12072025_01_02_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c66f7ad7079738de3f543dd560f35bbb.jpg","text":"TemporaryFile(/tmp/multipartBody6789845063349396073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275028206,"filename":"image_12072025_01_02_03_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33a338edd3609005a009cb88d37c4317.jpg","text":"TemporaryFile(/tmp/multipartBody2838271933051919920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275028206,"filename":"image_12072025_01_02_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47e6bc6827cabed1723965a6c843d841.jpg","text":"TemporaryFile(/tmp/multipartBody4923531088906161536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275028206,"filename":"image_12072025_01_02_24_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371757688","file1":"1371757678","file0":"1371757674","file4":"1371757693","file5":"1371757696","file3":"1371757690"},"map_files_photo_id_array":[{"photo_id":"1371757696","filename":"file5"},{"photo_id":"1371757688","filename":"file2"},{"photo_id":"1371757693","filename":"file4"},{"photo_id":"1371757678","filename":"file1"},{"photo_id":"1371757674","filename":"file0"},{"photo_id":"1371757690","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371757696":["hashtag1","hashtag2"]},{"1371757690":["hashtag1","hashtag2"]},{"1371757678":["hashtag1","hashtag2"]},{"1371757693":["hashtag1","hashtag2"]},{"1371757674":["hashtag1","hashtag2"]},{"1371757688":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371757696, 1371757690, 1371757678, 1371757693, 1371757674, 1371757688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97826600074768 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:03:31.903936
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_44_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_24_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_14_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/01/02/image_12072025_01_03_03_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_44_10656.jpg', '/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_33_9638.jpg', '/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_24_9639.jpg', '/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_14_10666.jpg', '/home/nano/Desktop/images/12072025/01/02/image_12072025_01_03_03_9652.jpg', '/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_44_10656.jpg
/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_33_9638.jpg
/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_24_9639.jpg
/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_14_10666.jpg
/home/nano/Desktop/images/12072025/01/02/image_12072025_01_03_03_9652.jpg
/home/nano/Desktop/images/12072025/01/02/image_12072025_01_02_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371757718","1371757709","1371757732","1371757720","1371757714","1371757725"],"photo_ids_order":["1371757709","1371757714","1371757718","1371757720","1371757725","1371757732"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6eb7321a1a157fc2d725c7a451abeda.jpg","text":"TemporaryFile(/tmp/multipartBody5546456472912875585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275073464,"filename":"image_12072025_01_03_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4460e19148a92559b487ad158dfbbdb9.jpg","text":"TemporaryFile(/tmp/multipartBody1610436263016410689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275073464,"filename":"image_12072025_01_03_44_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de497cf1810597a182089961e89601cb.jpg","text":"TemporaryFile(/tmp/multipartBody5928131162472475475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275073464,"filename":"image_12072025_01_02_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50061660f27a4133775723dab06552f0.jpg","text":"TemporaryFile(/tmp/multipartBody6972307191707484439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275073464,"filename":"image_12072025_01_03_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f2070e1d0d9b70a79d8c03af39dc996.jpg","text":"TemporaryFile(/tmp/multipartBody2685973606567174695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275073464,"filename":"image_12072025_01_03_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0979ee1310a0359a9d933f7a1c6bcc7b.jpg","text":"TemporaryFile(/tmp/multipartBody6005632633384539597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275073464,"filename":"image_12072025_01_03_03_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371757718","file1":"1371757714","file0":"1371757709","file4":"1371757725","file5":"1371757732","file3":"1371757720"},"map_files_photo_id_array":[{"photo_id":"1371757732","filename":"file5"},{"photo_id":"1371757718","filename":"file2"},{"photo_id":"1371757725","filename":"file4"},{"photo_id":"1371757714","filename":"file1"},{"photo_id":"1371757709","filename":"file0"},{"photo_id":"1371757720","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371757718":["hashtag1","hashtag2"]},{"1371757709":["hashtag1","hashtag2"]},{"1371757732":["hashtag1","hashtag2"]},{"1371757720":["hashtag1","hashtag2"]},{"1371757714":["hashtag1","hashtag2"]},{"1371757725":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371757718, 1371757709, 1371757732, 1371757720, 1371757714, 1371757725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21740698814392 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:04:17.068757
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_44_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_23_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_14_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/01/03/image_12072025_01_04_03_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_54_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_44_10655.jpg', '/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_33_9645.jpg', '/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_23_9644.jpg', '/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_14_10671.jpg', '/home/nano/Desktop/images/12072025/01/03/image_12072025_01_04_03_9637.jpg', '/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_44_10655.jpg
/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_33_9645.jpg
/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_23_9644.jpg
/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_14_10671.jpg
/home/nano/Desktop/images/12072025/01/03/image_12072025_01_04_03_9637.jpg
/home/nano/Desktop/images/12072025/01/03/image_12072025_01_03_54_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371757744","1371757755","1371757737","1371757752","1371757740","1371757748"],"photo_ids_order":["1371757737","1371757740","1371757744","1371757748","1371757752","1371757755"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/483c925c5fa4866dd1194828b6c9985d.jpg","text":"TemporaryFile(/tmp/multipartBody1155433015104089977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275118525,"filename":"image_12072025_01_04_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd6a512067c5259aff2f4a38e72bcc8d.jpg","text":"TemporaryFile(/tmp/multipartBody7048538742309152781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275118525,"filename":"image_12072025_01_03_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75236f50b2be95bd90df02969f8c9119.jpg","text":"TemporaryFile(/tmp/multipartBody3512622433390903361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275118525,"filename":"image_12072025_01_04_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c3249cdf3777f66cd11b4d27f5b3d0a.jpg","text":"TemporaryFile(/tmp/multipartBody5745376198361559642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275118525,"filename":"image_12072025_01_04_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a62b484058a12b884f99811ecf477eef.jpg","text":"TemporaryFile(/tmp/multipartBody6131139292813673031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275118525,"filename":"image_12072025_01_04_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/042ec8ef62a3935feb0e6cdd24474575.jpg","text":"TemporaryFile(/tmp/multipartBody7890561416174464817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275118525,"filename":"image_12072025_01_04_14_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371757744","file1":"1371757740","file0":"1371757737","file4":"1371757752","file5":"1371757755","file3":"1371757748"},"map_files_photo_id_array":[{"photo_id":"1371757755","filename":"file5"},{"photo_id":"1371757744","filename":"file2"},{"photo_id":"1371757752","filename":"file4"},{"photo_id":"1371757740","filename":"file1"},{"photo_id":"1371757737","filename":"file0"},{"photo_id":"1371757748","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371757744":["hashtag1","hashtag2"]},{"1371757755":["hashtag1","hashtag2"]},{"1371757737":["hashtag1","hashtag2"]},{"1371757752":["hashtag1","hashtag2"]},{"1371757740":["hashtag1","hashtag2"]},{"1371757748":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371757744, 1371757755, 1371757737, 1371757752, 1371757740, 1371757748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54588198661804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:05:02.646292
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_24_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_14_10676.jpg', 2), ('/home/nano/Desktop/images/10072025/23/22/image_10072025_23_22_54_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/23/22/image_10072025_23_22_43_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/23/22/image_10072025_23_22_33_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/23/21/image_10072025_23_21_13_9686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_24_9653.jpg', '/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_14_10676.jpg', '/home/nano/Desktop/images/10072025/23/22/image_10072025_23_22_54_10658.jpg', '/home/nano/Desktop/images/10072025/23/22/image_10072025_23_22_43_9647.jpg', '/home/nano/Desktop/images/10072025/23/22/image_10072025_23_22_33_9644.jpg', '/home/nano/Desktop/images/10072025/23/21/image_10072025_23_21_13_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_24_9653.jpg
/home/nano/Desktop/images/10072025/23/23/image_10072025_23_23_14_10676.jpg
/home/nano/Desktop/images/10072025/23/22/image_10072025_23_22_54_10658.jpg
/home/nano/Desktop/images/10072025/23/22/image_10072025_23_22_43_9647.jpg
/home/nano/Desktop/images/10072025/23/22/image_10072025_23_22_33_9644.jpg
/home/nano/Desktop/images/10072025/23/21/image_10072025_23_21_13_9686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371757778","1371757771","1371757774","1371757773","1371757775","1371757769"],"photo_ids_order":["1371757769","1371757771","1371757773","1371757774","1371757775","1371757778"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c628c58c3539b3d8266ccc6c51ed503.jpg","text":"TemporaryFile(/tmp/multipartBody6046103474521936401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275165617,"filename":"image_10072025_23_21_13_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8ac3ceb00ab7e1e1117c3dc893ca07f.jpg","text":"TemporaryFile(/tmp/multipartBody3023677087366866487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275165617,"filename":"image_10072025_23_23_14_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0f6fb64c387e031e85343f0b935fa39.jpg","text":"TemporaryFile(/tmp/multipartBody117826673250688548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275165617,"filename":"image_10072025_23_22_43_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22deb8c264da7d7acef504ad6600670e.jpg","text":"TemporaryFile(/tmp/multipartBody2445513970726642041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275165617,"filename":"image_10072025_23_22_54_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d69a9dc4364f08dec4d50aa8640cd1a.jpg","text":"TemporaryFile(/tmp/multipartBody3873255601609127105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275165617,"filename":"image_10072025_23_22_33_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7237903ae13f4742e23b6ab54fb8a83e.jpg","text":"TemporaryFile(/tmp/multipartBody6973253740825067003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275165617,"filename":"image_10072025_23_23_24_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371757773","file1":"1371757771","file0":"1371757769","file4":"1371757775","file5":"1371757778","file3":"1371757774"},"map_files_photo_id_array":[{"photo_id":"1371757778","filename":"file5"},{"photo_id":"1371757773","filename":"file2"},{"photo_id":"1371757775","filename":"file4"},{"photo_id":"1371757771","filename":"file1"},{"photo_id":"1371757769","filename":"file0"},{"photo_id":"1371757774","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371757778":["hashtag1","hashtag2"]},{"1371757771":["hashtag1","hashtag2"]},{"1371757774":["hashtag1","hashtag2"]},{"1371757773":["hashtag1","hashtag2"]},{"1371757775":["hashtag1","hashtag2"]},{"1371757769":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371757778, 1371757771, 1371757774, 1371757773, 1371757775, 1371757769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59588432312012 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:05:47.138956
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_34_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_23_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/01/04/image_12072025_01_05_03_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_44_9639.jpg', '/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_34_10675.jpg', '/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_23_9645.jpg', '/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_14_10667.jpg', '/home/nano/Desktop/images/12072025/01/04/image_12072025_01_05_03_9655.jpg', '/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_44_9639.jpg
/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_34_10675.jpg
/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_23_9645.jpg
/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_14_10667.jpg
/home/nano/Desktop/images/12072025/01/04/image_12072025_01_05_03_9655.jpg
/home/nano/Desktop/images/12072025/01/04/image_12072025_01_04_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371757798","1371757810","1371757807","1371757818","1371757812","1371757815"],"photo_ids_order":["1371757798","1371757807","1371757810","1371757812","1371757815","1371757818"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba610c3a1c46b13218ef728d2810ba22.jpg","text":"TemporaryFile(/tmp/multipartBody7190751246594820282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275208284,"filename":"image_12072025_01_05_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f01e265fec77554b2aa86aa6641d145.jpg","text":"TemporaryFile(/tmp/multipartBody2876972770052067159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275208284,"filename":"image_12072025_01_05_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/668373c365dd55008ac34efd3020d254.jpg","text":"TemporaryFile(/tmp/multipartBody3477868578941456858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275208284,"filename":"image_12072025_01_05_34_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6e81276c291b7e0d6a0afbe4912b4b3.jpg","text":"TemporaryFile(/tmp/multipartBody4053456828848269715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275208284,"filename":"image_12072025_01_04_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc1171985c95bf057a284fcf165f9e37.jpg","text":"TemporaryFile(/tmp/multipartBody7927349748952583011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275208284,"filename":"image_12072025_01_05_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ebea7e64b2f9b526bb5dc629a51c9676.jpg","text":"TemporaryFile(/tmp/multipartBody9168924046280602449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275208284,"filename":"image_12072025_01_05_03_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371757810","file1":"1371757807","file0":"1371757798","file4":"1371757815","file5":"1371757818","file3":"1371757812"},"map_files_photo_id_array":[{"photo_id":"1371757818","filename":"file5"},{"photo_id":"1371757810","filename":"file2"},{"photo_id":"1371757815","filename":"file4"},{"photo_id":"1371757807","filename":"file1"},{"photo_id":"1371757798","filename":"file0"},{"photo_id":"1371757812","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371757798":["hashtag1","hashtag2"]},{"1371757810":["hashtag1","hashtag2"]},{"1371757807":["hashtag1","hashtag2"]},{"1371757818":["hashtag1","hashtag2"]},{"1371757812":["hashtag1","hashtag2"]},{"1371757815":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371757798, 1371757810, 1371757807, 1371757818, 1371757812, 1371757815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62342166900635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:06:32.221519
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_44_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_34_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_23_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_14_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/05/image_12072025_01_06_04_10676.jpg', 2), ('/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_44_9644.jpg', '/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_34_10667.jpg', '/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_23_9657.jpg', '/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_14_9655.jpg', '/home/nano/Desktop/images/12072025/01/05/image_12072025_01_06_04_10676.jpg', '/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_44_9644.jpg
/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_34_10667.jpg
/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_23_9657.jpg
/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_14_9655.jpg
/home/nano/Desktop/images/12072025/01/05/image_12072025_01_06_04_10676.jpg
/home/nano/Desktop/images/12072025/01/05/image_12072025_01_05_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371757841","1371757832","1371757846","1371757837","1371757851","1371757827"],"photo_ids_order":["1371757827","1371757832","1371757837","1371757841","1371757846","1371757851"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/980da64249546030714cb6f4a931dc0d.jpg","text":"TemporaryFile(/tmp/multipartBody5560460043506344681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275253732,"filename":"image_12072025_01_06_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b13491b8c92778bafef68d88dabf0316.jpg","text":"TemporaryFile(/tmp/multipartBody2352302730297869046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275253732,"filename":"image_12072025_01_06_34_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36ae6b6effb3a2350cad2382e28f47fb.jpg","text":"TemporaryFile(/tmp/multipartBody880339777686316816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275253732,"filename":"image_12072025_01_06_04_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03e6ef06c95bdf107099dc1977bd21a3.jpg","text":"TemporaryFile(/tmp/multipartBody3254834997204475029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275253732,"filename":"image_12072025_01_06_23_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/268d1d934d34cb1869e07c3d48eae426.jpg","text":"TemporaryFile(/tmp/multipartBody3776719623482943681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275253732,"filename":"image_12072025_01_05_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f70b7ae085231d1e826c6abf8211afe4.jpg","text":"TemporaryFile(/tmp/multipartBody8706896054959122271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275253732,"filename":"image_12072025_01_06_44_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371757837","file1":"1371757832","file0":"1371757827","file4":"1371757846","file5":"1371757851","file3":"1371757841"},"map_files_photo_id_array":[{"photo_id":"1371757851","filename":"file5"},{"photo_id":"1371757837","filename":"file2"},{"photo_id":"1371757846","filename":"file4"},{"photo_id":"1371757832","filename":"file1"},{"photo_id":"1371757827","filename":"file0"},{"photo_id":"1371757841","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371757841":["hashtag1","hashtag2"]},{"1371757832":["hashtag1","hashtag2"]},{"1371757846":["hashtag1","hashtag2"]},{"1371757837":["hashtag1","hashtag2"]},{"1371757851":["hashtag1","hashtag2"]},{"1371757827":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371757841, 1371757832, 1371757846, 1371757837, 1371757851, 1371757827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4970645904541 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:07:17.491767
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_14_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/01/06/image_12072025_01_07_04_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_43_9639.jpg', '/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_34_10647.jpg', '/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_23_9636.jpg', '/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_14_9656.jpg', '/home/nano/Desktop/images/12072025/01/06/image_12072025_01_07_04_10650.jpg', '/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_43_9639.jpg
/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_34_10647.jpg
/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_23_9636.jpg
/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_14_9656.jpg
/home/nano/Desktop/images/12072025/01/06/image_12072025_01_07_04_10650.jpg
/home/nano/Desktop/images/12072025/01/06/image_12072025_01_06_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371757981","1371757927","1371757903","1371757995","1371757953","1371757997"],"photo_ids_order":["1371757903","1371757927","1371757953","1371757981","1371757995","1371757997"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a21e17ec899436245f0176bed8db34e5.jpg","text":"TemporaryFile(/tmp/multipartBody5367807885240612597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275298846,"filename":"image_12072025_01_07_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9516ce77d8e2dd3f2a05b56f50910d4.jpg","text":"TemporaryFile(/tmp/multipartBody8545517516904617871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275298846,"filename":"image_12072025_01_07_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c74f0e400bf9e2c898f54074aee6f6f8.jpg","text":"TemporaryFile(/tmp/multipartBody853571338624881060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275298846,"filename":"image_12072025_01_07_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/555e43ffdf6577b9da3bf25677d547e5.jpg","text":"TemporaryFile(/tmp/multipartBody1909298059836570491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275298846,"filename":"image_12072025_01_07_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32290d45b4e3356ab0ee274324b8d096.jpg","text":"TemporaryFile(/tmp/multipartBody9144313494584650432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275298846,"filename":"image_12072025_01_07_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2909e9f1333e39c0ff0e4d66713b7b3c.jpg","text":"TemporaryFile(/tmp/multipartBody2437214708944635730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275298846,"filename":"image_12072025_01_06_53_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371757953","file1":"1371757927","file0":"1371757903","file4":"1371757995","file5":"1371757997","file3":"1371757981"},"map_files_photo_id_array":[{"photo_id":"1371757997","filename":"file5"},{"photo_id":"1371757953","filename":"file2"},{"photo_id":"1371757995","filename":"file4"},{"photo_id":"1371757927","filename":"file1"},{"photo_id":"1371757903","filename":"file0"},{"photo_id":"1371757981","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371757981":["hashtag1","hashtag2"]},{"1371757927":["hashtag1","hashtag2"]},{"1371757903":["hashtag1","hashtag2"]},{"1371757995":["hashtag1","hashtag2"]},{"1371757953":["hashtag1","hashtag2"]},{"1371757997":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371757981, 1371757927, 1371757903, 1371757995, 1371757953, 1371757997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.177807092666626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:08:02.704213
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/20/image_10072025_23_20_54_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/23/20/image_10072025_23_20_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/20/image_10072025_23_20_34_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/23/20/image_10072025_23_20_13_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/23/19/image_10072025_23_20_04_9670.jpg', 2), ('/home/nano/Desktop/images/10072025/23/19/image_10072025_23_19_43_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/20/image_10072025_23_20_54_10655.jpg', '/home/nano/Desktop/images/10072025/23/20/image_10072025_23_20_43_9646.jpg', '/home/nano/Desktop/images/10072025/23/20/image_10072025_23_20_34_9665.jpg', '/home/nano/Desktop/images/10072025/23/20/image_10072025_23_20_13_9665.jpg', '/home/nano/Desktop/images/10072025/23/19/image_10072025_23_20_04_9670.jpg', '/home/nano/Desktop/images/10072025/23/19/image_10072025_23_19_43_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/20/image_10072025_23_20_54_10655.jpg
/home/nano/Desktop/images/10072025/23/20/image_10072025_23_20_43_9646.jpg
/home/nano/Desktop/images/10072025/23/20/image_10072025_23_20_34_9665.jpg
/home/nano/Desktop/images/10072025/23/20/image_10072025_23_20_13_9665.jpg
/home/nano/Desktop/images/10072025/23/19/image_10072025_23_20_04_9670.jpg
/home/nano/Desktop/images/10072025/23/19/image_10072025_23_19_43_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371758242","1371758328","1371758282","1371758351","1371758306","1371758207"],"photo_ids_order":["1371758207","1371758242","1371758282","1371758306","1371758328","1371758351"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/140c098f4dd561f5247450f7b55e394a.jpg","text":"TemporaryFile(/tmp/multipartBody2241190785430204976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275345539,"filename":"image_10072025_23_20_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8eddb9d01454aa5d61f0c9857d4aae2f.jpg","text":"TemporaryFile(/tmp/multipartBody4963939338720004788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275345539,"filename":"image_10072025_23_20_04_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7836a7c999e961da7ae69c59471bee7f.jpg","text":"TemporaryFile(/tmp/multipartBody6191016034946487391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275345539,"filename":"image_10072025_23_20_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f200873bd7e01a3660beb0c59f4a71c.jpg","text":"TemporaryFile(/tmp/multipartBody3338473019541822645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275345539,"filename":"image_10072025_23_19_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9039306c4fe5ec95bc52de968241ef72.jpg","text":"TemporaryFile(/tmp/multipartBody6932252326498016185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275345539,"filename":"image_10072025_23_20_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/898cc48a704afca89584a53aefa9d4dd.jpg","text":"TemporaryFile(/tmp/multipartBody867091043573847848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275345539,"filename":"image_10072025_23_20_54_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371758282","file1":"1371758242","file0":"1371758207","file4":"1371758328","file5":"1371758351","file3":"1371758306"},"map_files_photo_id_array":[{"photo_id":"1371758351","filename":"file5"},{"photo_id":"1371758282","filename":"file2"},{"photo_id":"1371758328","filename":"file4"},{"photo_id":"1371758242","filename":"file1"},{"photo_id":"1371758207","filename":"file0"},{"photo_id":"1371758306","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371758242":["hashtag1","hashtag2"]},{"1371758328":["hashtag1","hashtag2"]},{"1371758282":["hashtag1","hashtag2"]},{"1371758351":["hashtag1","hashtag2"]},{"1371758306":["hashtag1","hashtag2"]},{"1371758207":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371758242, 1371758328, 1371758282, 1371758351, 1371758306, 1371758207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40598511695862 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:08:47.468438
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_43_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_23_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/01/07/image_12072025_01_08_04_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_53_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_43_9643.jpg', '/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_34_10649.jpg', '/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_23_9649.jpg', '/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_13_9656.jpg', '/home/nano/Desktop/images/12072025/01/07/image_12072025_01_08_04_10648.jpg', '/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_53_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_43_9643.jpg
/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_34_10649.jpg
/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_23_9649.jpg
/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_13_9656.jpg
/home/nano/Desktop/images/12072025/01/07/image_12072025_01_08_04_10648.jpg
/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_53_9657.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2123572826385498 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:09:03.377537
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_43_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_23_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/01/07/image_12072025_01_08_04_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_53_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_43_9643.jpg', '/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_34_10649.jpg', '/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_23_9649.jpg', '/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_13_9656.jpg', '/home/nano/Desktop/images/12072025/01/07/image_12072025_01_08_04_10648.jpg', '/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_53_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_43_9643.jpg
/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_34_10649.jpg
/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_23_9649.jpg
/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_13_9656.jpg
/home/nano/Desktop/images/12072025/01/07/image_12072025_01_08_04_10648.jpg
/home/nano/Desktop/images/12072025/01/07/image_12072025_01_07_53_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371758595","1371758512","1371758640","1371758499","1371758550","1371758486"],"photo_ids_order":["1371758486","1371758499","1371758512","1371758550","1371758595","1371758640"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18fee692684940ea0fa137a8ef529099.jpg","text":"TemporaryFile(/tmp/multipartBody9167368090627926570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275404748,"filename":"image_12072025_01_08_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50aff4ee0947b1c158cd191b7c4797ab.jpg","text":"TemporaryFile(/tmp/multipartBody7256675761521874996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275404748,"filename":"image_12072025_01_08_23_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b6d16f90358770cddeae54b85ae7351.jpg","text":"TemporaryFile(/tmp/multipartBody9111498722311631301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275404748,"filename":"image_12072025_01_07_53_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/462fb1237a8cfd27bdf8a53035890504.jpg","text":"TemporaryFile(/tmp/multipartBody4135186549701266918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275404748,"filename":"image_12072025_01_08_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55d09723ec0191c201bad114f1ffa3b4.jpg","text":"TemporaryFile(/tmp/multipartBody6823821238341914521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275404748,"filename":"image_12072025_01_08_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc9faa6cc7e296d70ebe1a92f5b32b38.jpg","text":"TemporaryFile(/tmp/multipartBody1009452122931801263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275404748,"filename":"image_12072025_01_08_43_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371758512","file1":"1371758499","file0":"1371758486","file4":"1371758595","file5":"1371758640","file3":"1371758550"},"map_files_photo_id_array":[{"photo_id":"1371758640","filename":"file5"},{"photo_id":"1371758512","filename":"file2"},{"photo_id":"1371758595","filename":"file4"},{"photo_id":"1371758499","filename":"file1"},{"photo_id":"1371758486","filename":"file0"},{"photo_id":"1371758550","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371758595":["hashtag1","hashtag2"]},{"1371758512":["hashtag1","hashtag2"]},{"1371758640":["hashtag1","hashtag2"]},{"1371758499":["hashtag1","hashtag2"]},{"1371758550":["hashtag1","hashtag2"]},{"1371758486":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371758595, 1371758512, 1371758640, 1371758499, 1371758550, 1371758486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.871230125427246 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:09:47.541691
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_13_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/01/08/image_12072025_01_09_04_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_43_9638.jpg', '/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_34_9638.jpg', '/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_24_10648.jpg', '/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_13_9666.jpg', '/home/nano/Desktop/images/12072025/01/08/image_12072025_01_09_04_9664.jpg', '/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_43_9638.jpg
/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_34_9638.jpg
/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_24_10648.jpg
/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_13_9666.jpg
/home/nano/Desktop/images/12072025/01/08/image_12072025_01_09_04_9664.jpg
/home/nano/Desktop/images/12072025/01/08/image_12072025_01_08_54_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371758986","1371759046","1371759019","1371758926","1371758892","1371758957"],"photo_ids_order":["1371758892","1371758926","1371758957","1371758986","1371759019","1371759046"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/685572852fcfe3b128acfd1edafb49df.jpg","text":"TemporaryFile(/tmp/multipartBody6294855567403530148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275449067,"filename":"image_12072025_01_09_13_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8bc5535d7b8036d4fb72c99c71e872c2.jpg","text":"TemporaryFile(/tmp/multipartBody2722189976223350556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275449067,"filename":"image_12072025_01_08_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/403f7f7c665d7be12dfebabc68e8d92a.jpg","text":"TemporaryFile(/tmp/multipartBody6325912449386094510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275449067,"filename":"image_12072025_01_09_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c28d04788554780dcd9a08aa4a00ea60.jpg","text":"TemporaryFile(/tmp/multipartBody5645970031944956766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275449067,"filename":"image_12072025_01_09_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30d717cec863fb73ba30a4570bbd6e83.jpg","text":"TemporaryFile(/tmp/multipartBody6039546300319081245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275449067,"filename":"image_12072025_01_09_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e415ccf5b944d796bca21fe896ab2d95.jpg","text":"TemporaryFile(/tmp/multipartBody2021414966724155916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275449067,"filename":"image_12072025_01_09_24_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371758957","file1":"1371758926","file0":"1371758892","file4":"1371759019","file5":"1371759046","file3":"1371758986"},"map_files_photo_id_array":[{"photo_id":"1371759046","filename":"file5"},{"photo_id":"1371758957","filename":"file2"},{"photo_id":"1371759019","filename":"file4"},{"photo_id":"1371758926","filename":"file1"},{"photo_id":"1371758892","filename":"file0"},{"photo_id":"1371758986","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371758986":["hashtag1","hashtag2"]},{"1371759046":["hashtag1","hashtag2"]},{"1371759019":["hashtag1","hashtag2"]},{"1371758926":["hashtag1","hashtag2"]},{"1371758892":["hashtag1","hashtag2"]},{"1371758957":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371758986, 1371759046, 1371759019, 1371758926, 1371758892, 1371758957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1745023727417 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:10:32.644852
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_43_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_34_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_24_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_13_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/01/09/image_12072025_01_10_04_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_43_9657.jpg', '/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_34_9646.jpg', '/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_24_10660.jpg', '/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_13_9670.jpg', '/home/nano/Desktop/images/12072025/01/09/image_12072025_01_10_04_9668.jpg', '/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_43_9657.jpg
/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_34_9646.jpg
/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_24_10660.jpg
/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_13_9670.jpg
/home/nano/Desktop/images/12072025/01/09/image_12072025_01_10_04_9668.jpg
/home/nano/Desktop/images/12072025/01/09/image_12072025_01_09_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371759421","1371759709","1371759792","1371759476","1371759545","1371759623"],"photo_ids_order":["1371759421","1371759476","1371759545","1371759623","1371759709","1371759792"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b46bf53e5cee5ea1e20305160a2031f5.jpg","text":"TemporaryFile(/tmp/multipartBody6613028415262911538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275494372,"filename":"image_12072025_01_10_43_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c70e9a0c5700cc981c3b7f5728db7880.jpg","text":"TemporaryFile(/tmp/multipartBody6872298199842584347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275494372,"filename":"image_12072025_01_10_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53a715cc000d9ed3f4d1bff9b30e6c14.jpg","text":"TemporaryFile(/tmp/multipartBody5909675025877778188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275494372,"filename":"image_12072025_01_09_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfd82e1fd9db1ce3c8ccc015cceceec3.jpg","text":"TemporaryFile(/tmp/multipartBody8274555209164654245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275494372,"filename":"image_12072025_01_10_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b09349e9f5704bcf69cd60e669c0e03e.jpg","text":"TemporaryFile(/tmp/multipartBody4846704533086013728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275494372,"filename":"image_12072025_01_10_24_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6aca839b7939df58074809bee56c790b.jpg","text":"TemporaryFile(/tmp/multipartBody6163006256608300580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275494372,"filename":"image_12072025_01_10_13_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371759545","file1":"1371759476","file0":"1371759421","file4":"1371759709","file5":"1371759792","file3":"1371759623"},"map_files_photo_id_array":[{"photo_id":"1371759792","filename":"file5"},{"photo_id":"1371759545","filename":"file2"},{"photo_id":"1371759709","filename":"file4"},{"photo_id":"1371759476","filename":"file1"},{"photo_id":"1371759421","filename":"file0"},{"photo_id":"1371759623","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371759421":["hashtag1","hashtag2"]},{"1371759709":["hashtag1","hashtag2"]},{"1371759792":["hashtag1","hashtag2"]},{"1371759476":["hashtag1","hashtag2"]},{"1371759545":["hashtag1","hashtag2"]},{"1371759623":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371759421, 1371759709, 1371759792, 1371759476, 1371759545, 1371759623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.080344676971436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:11:17.828490
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_43_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_34_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_24_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_13_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/01/10/image_12072025_01_11_04_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_54_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_43_9663.jpg', '/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_34_9642.jpg', '/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_24_10655.jpg', '/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_13_9661.jpg', '/home/nano/Desktop/images/12072025/01/10/image_12072025_01_11_04_9643.jpg', '/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_54_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_43_9663.jpg
/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_34_9642.jpg
/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_24_10655.jpg
/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_13_9661.jpg
/home/nano/Desktop/images/12072025/01/10/image_12072025_01_11_04_9643.jpg
/home/nano/Desktop/images/12072025/01/10/image_12072025_01_10_54_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371760156","1371760021","1371760173","1371760083","1371759985","1371760118"],"photo_ids_order":["1371759985","1371760021","1371760083","1371760118","1371760156","1371760173"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fdf9ea002e1269efb26b6147f44e46b0.jpg","text":"TemporaryFile(/tmp/multipartBody8319205469063138086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275539151,"filename":"image_12072025_01_11_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8940a21f8a8d3f0395a6cd961fc9d572.jpg","text":"TemporaryFile(/tmp/multipartBody5873346002050214746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275539151,"filename":"image_12072025_01_11_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a03102cb0d03a713f36870415fe8c1a5.jpg","text":"TemporaryFile(/tmp/multipartBody1507196343920088132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275539151,"filename":"image_12072025_01_10_54_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a03a405a9b3a9778ad237b37a6990372.jpg","text":"TemporaryFile(/tmp/multipartBody6840125496059254265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275539151,"filename":"image_12072025_01_11_24_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc5f8168783cc8c6b1f8432188b38e99.jpg","text":"TemporaryFile(/tmp/multipartBody8292016706548616914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275539151,"filename":"image_12072025_01_11_43_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b91c3607796c9f9e323038e9c042de0.jpg","text":"TemporaryFile(/tmp/multipartBody4067978652340479538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275539151,"filename":"image_12072025_01_11_13_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371760083","file1":"1371760021","file0":"1371759985","file4":"1371760156","file5":"1371760173","file3":"1371760118"},"map_files_photo_id_array":[{"photo_id":"1371760173","filename":"file5"},{"photo_id":"1371760083","filename":"file2"},{"photo_id":"1371760156","filename":"file4"},{"photo_id":"1371760021","filename":"file1"},{"photo_id":"1371759985","filename":"file0"},{"photo_id":"1371760118","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371760156":["hashtag1","hashtag2"]},{"1371760021":["hashtag1","hashtag2"]},{"1371760173":["hashtag1","hashtag2"]},{"1371760083":["hashtag1","hashtag2"]},{"1371759985":["hashtag1","hashtag2"]},{"1371760118":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371760156, 1371760021, 1371760173, 1371760083, 1371759985, 1371760118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13134455680847 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:12:02.310411
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/19/image_10072025_23_19_34_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/23/19/image_10072025_23_19_13_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/23/18/image_10072025_23_19_04_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/23/18/image_10072025_23_18_54_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/23/18/image_10072025_23_18_34_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/23/18/image_10072025_23_18_24_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/19/image_10072025_23_19_34_9650.jpg', '/home/nano/Desktop/images/10072025/23/19/image_10072025_23_19_13_9661.jpg', '/home/nano/Desktop/images/10072025/23/18/image_10072025_23_19_04_9643.jpg', '/home/nano/Desktop/images/10072025/23/18/image_10072025_23_18_54_10655.jpg', '/home/nano/Desktop/images/10072025/23/18/image_10072025_23_18_34_9644.jpg', '/home/nano/Desktop/images/10072025/23/18/image_10072025_23_18_24_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/19/image_10072025_23_19_34_9650.jpg
/home/nano/Desktop/images/10072025/23/19/image_10072025_23_19_13_9661.jpg
/home/nano/Desktop/images/10072025/23/18/image_10072025_23_19_04_9643.jpg
/home/nano/Desktop/images/10072025/23/18/image_10072025_23_18_54_10655.jpg
/home/nano/Desktop/images/10072025/23/18/image_10072025_23_18_34_9644.jpg
/home/nano/Desktop/images/10072025/23/18/image_10072025_23_18_24_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371760501","1371760371","1371760452","1371760475","1371760427","1371760399"],"photo_ids_order":["1371760371","1371760399","1371760427","1371760452","1371760475","1371760501"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79d68014361c0841334b0a9bc0328540.jpg","text":"TemporaryFile(/tmp/multipartBody7931869902368154388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275585075,"filename":"image_10072025_23_18_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32296b40d52fe6ab24ba3e5eae7b0d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2598511813063185053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275585075,"filename":"image_10072025_23_19_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f99c9a44be6d1514570e9efa44184f92.jpg","text":"TemporaryFile(/tmp/multipartBody1571649440348971374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275585075,"filename":"image_10072025_23_18_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24ae983029665614a4c4f29f832764f8.jpg","text":"TemporaryFile(/tmp/multipartBody384146152564273820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275585075,"filename":"image_10072025_23_18_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30584d271c3a523eb1b78f1fa5c2f281.jpg","text":"TemporaryFile(/tmp/multipartBody3175344683463092660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275585075,"filename":"image_10072025_23_19_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b301fa50ca62a9f4ca33e68555d162b.jpg","text":"TemporaryFile(/tmp/multipartBody29633479030926052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275585075,"filename":"image_10072025_23_19_13_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371760427","file1":"1371760399","file0":"1371760371","file4":"1371760475","file5":"1371760501","file3":"1371760452"},"map_files_photo_id_array":[{"photo_id":"1371760501","filename":"file5"},{"photo_id":"1371760427","filename":"file2"},{"photo_id":"1371760475","filename":"file4"},{"photo_id":"1371760399","filename":"file1"},{"photo_id":"1371760371","filename":"file0"},{"photo_id":"1371760452","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371760501":["hashtag1","hashtag2"]},{"1371760371":["hashtag1","hashtag2"]},{"1371760452":["hashtag1","hashtag2"]},{"1371760475":["hashtag1","hashtag2"]},{"1371760427":["hashtag1","hashtag2"]},{"1371760399":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371760501, 1371760371, 1371760452, 1371760475, 1371760427, 1371760399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87985944747925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:12:46.907750
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_43_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_24_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/01/11/image_12072025_01_12_04_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_43_9643.jpg', '/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_33_9637.jpg', '/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_24_10655.jpg', '/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_13_9657.jpg', '/home/nano/Desktop/images/12072025/01/11/image_12072025_01_12_04_9663.jpg', '/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_54_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_43_9643.jpg
/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_33_9637.jpg
/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_24_10655.jpg
/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_13_9657.jpg
/home/nano/Desktop/images/12072025/01/11/image_12072025_01_12_04_9663.jpg
/home/nano/Desktop/images/12072025/01/11/image_12072025_01_11_54_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371760616","1371760601","1371760606","1371760667","1371760751","1371760610"],"photo_ids_order":["1371760601","1371760606","1371760610","1371760616","1371760667","1371760751"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36c3e4adcfe27ac9e0e6396460dfaa3d.jpg","text":"TemporaryFile(/tmp/multipartBody2493893619789198758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275628415,"filename":"image_12072025_01_12_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc7c3c4db4c086d477dbfd4c996c3aac.jpg","text":"TemporaryFile(/tmp/multipartBody1800940603046380974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275628415,"filename":"image_12072025_01_12_43_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08163b8785015517ea364dc3e531f1a5.jpg","text":"TemporaryFile(/tmp/multipartBody7461563769662026613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275628415,"filename":"image_12072025_01_12_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e40fa7fefe627fb57d85966c1d5784f.jpg","text":"TemporaryFile(/tmp/multipartBody5557763748615658294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275628415,"filename":"image_12072025_01_12_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5432f021859503f116ed1f0fde5b5bad.jpg","text":"TemporaryFile(/tmp/multipartBody7945801474941672933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275628415,"filename":"image_12072025_01_11_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d5c2f98fb4f4b46e2964136c67a593d.jpg","text":"TemporaryFile(/tmp/multipartBody2918378185473760500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275628415,"filename":"image_12072025_01_12_24_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371760610","file1":"1371760606","file0":"1371760601","file4":"1371760667","file5":"1371760751","file3":"1371760616"},"map_files_photo_id_array":[{"photo_id":"1371760751","filename":"file5"},{"photo_id":"1371760610","filename":"file2"},{"photo_id":"1371760667","filename":"file4"},{"photo_id":"1371760606","filename":"file1"},{"photo_id":"1371760601","filename":"file0"},{"photo_id":"1371760616","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371760616":["hashtag1","hashtag2"]},{"1371760601":["hashtag1","hashtag2"]},{"1371760606":["hashtag1","hashtag2"]},{"1371760667":["hashtag1","hashtag2"]},{"1371760751":["hashtag1","hashtag2"]},{"1371760610":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371760616, 1371760601, 1371760606, 1371760667, 1371760751, 1371760610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12399220466614 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:13:32.001907
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_44_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_13_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/01/12/image_12072025_01_13_03_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_44_10664.jpg', '/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_33_9637.jpg', '/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_24_10649.jpg', '/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_13_9666.jpg', '/home/nano/Desktop/images/12072025/01/12/image_12072025_01_13_03_9650.jpg', '/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_44_10664.jpg
/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_33_9637.jpg
/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_24_10649.jpg
/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_13_9666.jpg
/home/nano/Desktop/images/12072025/01/12/image_12072025_01_13_03_9650.jpg
/home/nano/Desktop/images/12072025/01/12/image_12072025_01_12_54_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371761328","1371761343","1371761304","1371761374","1371761260","1371761197"],"photo_ids_order":["1371761197","1371761260","1371761304","1371761328","1371761343","1371761374"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/441e5010fb3480ef73cf9e8b91e29367.jpg","text":"TemporaryFile(/tmp/multipartBody8109800838472986120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275673679,"filename":"image_12072025_01_13_13_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/348b832a73a0f3b346a088f34ccfcf0b.jpg","text":"TemporaryFile(/tmp/multipartBody814668886087900532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275673679,"filename":"image_12072025_01_13_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc9c82e23b489f0f06bc2f738a54fb61.jpg","text":"TemporaryFile(/tmp/multipartBody3475417483261454120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275673679,"filename":"image_12072025_01_13_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5dcfda3a9129b806118a21ca93069723.jpg","text":"TemporaryFile(/tmp/multipartBody42542800326757337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275673679,"filename":"image_12072025_01_12_54_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc1ded3ab0636e262b738b54871256ed.jpg","text":"TemporaryFile(/tmp/multipartBody8434443326635143566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275673679,"filename":"image_12072025_01_13_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f1118be0df34e66d4387520f3068a2e.jpg","text":"TemporaryFile(/tmp/multipartBody5368237359924003534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275673679,"filename":"image_12072025_01_13_44_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371761304","file1":"1371761260","file0":"1371761197","file4":"1371761343","file5":"1371761374","file3":"1371761328"},"map_files_photo_id_array":[{"photo_id":"1371761374","filename":"file5"},{"photo_id":"1371761304","filename":"file2"},{"photo_id":"1371761343","filename":"file4"},{"photo_id":"1371761260","filename":"file1"},{"photo_id":"1371761197","filename":"file0"},{"photo_id":"1371761328","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371761328":["hashtag1","hashtag2"]},{"1371761343":["hashtag1","hashtag2"]},{"1371761304":["hashtag1","hashtag2"]},{"1371761374":["hashtag1","hashtag2"]},{"1371761260":["hashtag1","hashtag2"]},{"1371761197":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371761328, 1371761343, 1371761304, 1371761374, 1371761260, 1371761197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.550530195236206 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:14:17.167830
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_14_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/01/13/image_12072025_01_14_03_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_54_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_44_10649.jpg', '/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_33_9639.jpg', '/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_24_9637.jpg', '/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_14_10664.jpg', '/home/nano/Desktop/images/12072025/01/13/image_12072025_01_14_03_9638.jpg', '/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_44_10649.jpg
/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_33_9639.jpg
/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_24_9637.jpg
/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_14_10664.jpg
/home/nano/Desktop/images/12072025/01/13/image_12072025_01_14_03_9638.jpg
/home/nano/Desktop/images/12072025/01/13/image_12072025_01_13_54_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371761670","1371761733","1371761681","1371761705","1371761683","1371761686"],"photo_ids_order":["1371761670","1371761681","1371761683","1371761686","1371761705","1371761733"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88303017f556ce8db16282d128afba12.jpg","text":"TemporaryFile(/tmp/multipartBody4530540414808182204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275718683,"filename":"image_12072025_01_14_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/635cd2db8483ea474e8c971b43568a15.jpg","text":"TemporaryFile(/tmp/multipartBody1536103815068955347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275718683,"filename":"image_12072025_01_13_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed0914f55d01dc34eff95ffacf172392.jpg","text":"TemporaryFile(/tmp/multipartBody4561383894853901982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275718683,"filename":"image_12072025_01_14_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ecb12b32ad92ba573e6c03c600cd45f.jpg","text":"TemporaryFile(/tmp/multipartBody5800362000409297666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275718683,"filename":"image_12072025_01_14_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3fb1e889ad5f3713f4d9bc5b01ff79b.jpg","text":"TemporaryFile(/tmp/multipartBody8593043946593821162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275718683,"filename":"image_12072025_01_14_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a74b02a2b53b9277f56c99b7884e17ee.jpg","text":"TemporaryFile(/tmp/multipartBody7510651148620620121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275718683,"filename":"image_12072025_01_14_14_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371761683","file1":"1371761681","file0":"1371761670","file4":"1371761705","file5":"1371761733","file3":"1371761686"},"map_files_photo_id_array":[{"photo_id":"1371761733","filename":"file5"},{"photo_id":"1371761683","filename":"file2"},{"photo_id":"1371761705","filename":"file4"},{"photo_id":"1371761681","filename":"file1"},{"photo_id":"1371761670","filename":"file0"},{"photo_id":"1371761686","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371761670":["hashtag1","hashtag2"]},{"1371761733":["hashtag1","hashtag2"]},{"1371761681":["hashtag1","hashtag2"]},{"1371761705":["hashtag1","hashtag2"]},{"1371761683":["hashtag1","hashtag2"]},{"1371761686":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371761670, 1371761733, 1371761681, 1371761705, 1371761683, 1371761686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.07023763656616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:15:02.675015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/18/image_10072025_23_18_13_9687.jpg', 2), ('/home/nano/Desktop/images/10072025/23/17/image_10072025_23_18_04_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/17/image_10072025_23_17_54_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/23/17/image_10072025_23_17_43_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/23/17/image_10072025_23_17_34_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/23/17/image_10072025_23_17_13_9667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/18/image_10072025_23_18_13_9687.jpg', '/home/nano/Desktop/images/10072025/23/17/image_10072025_23_18_04_9646.jpg', '/home/nano/Desktop/images/10072025/23/17/image_10072025_23_17_54_10657.jpg', '/home/nano/Desktop/images/10072025/23/17/image_10072025_23_17_43_9643.jpg', '/home/nano/Desktop/images/10072025/23/17/image_10072025_23_17_34_9652.jpg', '/home/nano/Desktop/images/10072025/23/17/image_10072025_23_17_13_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/18/image_10072025_23_18_13_9687.jpg
/home/nano/Desktop/images/10072025/23/17/image_10072025_23_18_04_9646.jpg
/home/nano/Desktop/images/10072025/23/17/image_10072025_23_17_54_10657.jpg
/home/nano/Desktop/images/10072025/23/17/image_10072025_23_17_43_9643.jpg
/home/nano/Desktop/images/10072025/23/17/image_10072025_23_17_34_9652.jpg
/home/nano/Desktop/images/10072025/23/17/image_10072025_23_17_13_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371761947","1371761895","1371761922","1371761998","1371761971","1371761869"],"photo_ids_order":["1371761869","1371761895","1371761922","1371761947","1371761971","1371761998"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad999b597bda1fa2ee9038d08089ada4.jpg","text":"TemporaryFile(/tmp/multipartBody7632719345657257881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275765576,"filename":"image_10072025_23_17_43_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8176a391a623120f1c48108c53871923.jpg","text":"TemporaryFile(/tmp/multipartBody2781796861059730166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275765576,"filename":"image_10072025_23_18_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15481741b1dc06a9d062623312929688.jpg","text":"TemporaryFile(/tmp/multipartBody700727381016811847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275765576,"filename":"image_10072025_23_17_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96653afe941ed89ea94cdddfe2fc8ec0.jpg","text":"TemporaryFile(/tmp/multipartBody3332553532933637775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275765576,"filename":"image_10072025_23_17_13_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0993c32a1d1c8bb13b5d01edf19d449e.jpg","text":"TemporaryFile(/tmp/multipartBody313106440923904222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275765576,"filename":"image_10072025_23_17_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6027cd0dfc5de67cf7c094bd3d6f1c10.jpg","text":"TemporaryFile(/tmp/multipartBody8028242371488483581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275765576,"filename":"image_10072025_23_18_13_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371761922","file1":"1371761895","file0":"1371761869","file4":"1371761971","file5":"1371761998","file3":"1371761947"},"map_files_photo_id_array":[{"photo_id":"1371761998","filename":"file5"},{"photo_id":"1371761922","filename":"file2"},{"photo_id":"1371761971","filename":"file4"},{"photo_id":"1371761895","filename":"file1"},{"photo_id":"1371761869","filename":"file0"},{"photo_id":"1371761947","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371761947":["hashtag1","hashtag2"]},{"1371761895":["hashtag1","hashtag2"]},{"1371761922":["hashtag1","hashtag2"]},{"1371761998":["hashtag1","hashtag2"]},{"1371761971":["hashtag1","hashtag2"]},{"1371761869":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371761947, 1371761895, 1371761922, 1371761998, 1371761971, 1371761869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54592180252075 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:15:47.253013
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_14_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/01/14/image_12072025_01_15_03_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_54_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_44_10647.jpg', '/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_33_9638.jpg', '/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_24_9637.jpg', '/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_14_10664.jpg', '/home/nano/Desktop/images/12072025/01/14/image_12072025_01_15_03_9653.jpg', '/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_54_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_44_10647.jpg
/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_33_9638.jpg
/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_24_9637.jpg
/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_14_10664.jpg
/home/nano/Desktop/images/12072025/01/14/image_12072025_01_15_03_9653.jpg
/home/nano/Desktop/images/12072025/01/14/image_12072025_01_14_54_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371762489","1371762208","1371762398","1371762347","1371762313","1371762256"],"photo_ids_order":["1371762208","1371762256","1371762313","1371762347","1371762398","1371762489"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75634dc8ea3d9be16a724320af7f969e.jpg","text":"TemporaryFile(/tmp/multipartBody4419301718234737955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275809911,"filename":"image_12072025_01_14_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3534f61063d57c7390cf0c34b292a339.jpg","text":"TemporaryFile(/tmp/multipartBody2042780056247793173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275809911,"filename":"image_12072025_01_15_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7045390a422c7c182ae2f226b58a62fa.jpg","text":"TemporaryFile(/tmp/multipartBody3456490705121343142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275809911,"filename":"image_12072025_01_15_03_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93f79366bd66eb05e561c49616ef11aa.jpg","text":"TemporaryFile(/tmp/multipartBody5946319601766890203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275809911,"filename":"image_12072025_01_15_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52b58c6efb2e766e603438187b7ac608.jpg","text":"TemporaryFile(/tmp/multipartBody4946138839168746513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275809911,"filename":"image_12072025_01_15_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f09a56fc1a4711b25070fdc1a265245a.jpg","text":"TemporaryFile(/tmp/multipartBody6468961553672283676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275809911,"filename":"image_12072025_01_15_33_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371762313","file1":"1371762256","file0":"1371762208","file4":"1371762398","file5":"1371762489","file3":"1371762347"},"map_files_photo_id_array":[{"photo_id":"1371762489","filename":"file5"},{"photo_id":"1371762313","filename":"file2"},{"photo_id":"1371762398","filename":"file4"},{"photo_id":"1371762256","filename":"file1"},{"photo_id":"1371762208","filename":"file0"},{"photo_id":"1371762347","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371762489":["hashtag1","hashtag2"]},{"1371762208":["hashtag1","hashtag2"]},{"1371762398":["hashtag1","hashtag2"]},{"1371762347":["hashtag1","hashtag2"]},{"1371762313":["hashtag1","hashtag2"]},{"1371762256":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371762489, 1371762208, 1371762398, 1371762347, 1371762313, 1371762256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5923228263855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:16:32.379243
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_44_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_14_10693.jpg', 2), ('/home/nano/Desktop/images/12072025/01/15/image_12072025_01_16_03_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_44_10646.jpg', '/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_33_9637.jpg', '/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_23_9639.jpg', '/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_14_10693.jpg', '/home/nano/Desktop/images/12072025/01/15/image_12072025_01_16_03_9664.jpg', '/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_44_10646.jpg
/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_33_9637.jpg
/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_23_9639.jpg
/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_14_10693.jpg
/home/nano/Desktop/images/12072025/01/15/image_12072025_01_16_03_9664.jpg
/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_53_9637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6785595417022705 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:16:47.363206
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_44_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_14_10693.jpg', 2), ('/home/nano/Desktop/images/12072025/01/15/image_12072025_01_16_03_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_44_10646.jpg', '/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_33_9637.jpg', '/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_23_9639.jpg', '/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_14_10693.jpg', '/home/nano/Desktop/images/12072025/01/15/image_12072025_01_16_03_9664.jpg', '/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_44_10646.jpg
/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_33_9637.jpg
/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_23_9639.jpg
/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_14_10693.jpg
/home/nano/Desktop/images/12072025/01/15/image_12072025_01_16_03_9664.jpg
/home/nano/Desktop/images/12072025/01/15/image_12072025_01_15_53_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371763005","1371762879","1371762951","1371763178","1371763051","1371763129"],"photo_ids_order":["1371762879","1371762951","1371763005","1371763051","1371763129","1371763178"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1abaf37d74a5de412ee3cbcad4a1c728.jpg","text":"TemporaryFile(/tmp/multipartBody4514005260587438952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275868758,"filename":"image_12072025_01_16_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/332566507f4c78040bebaa35315298fa.jpg","text":"TemporaryFile(/tmp/multipartBody5341738613155808671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275868758,"filename":"image_12072025_01_16_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5dccd63ca059c260d5796c3972b9330e.jpg","text":"TemporaryFile(/tmp/multipartBody4101044441569962234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275868758,"filename":"image_12072025_01_16_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22903a920a8304b554dbc6852b2c5600.jpg","text":"TemporaryFile(/tmp/multipartBody8131597496496124063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275868758,"filename":"image_12072025_01_15_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5448c9c4594d6ed14fb4a773014f896.jpg","text":"TemporaryFile(/tmp/multipartBody1454062379288066586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275868758,"filename":"image_12072025_01_16_14_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8aa09710e3528fd1d87541fb10d31ce.jpg","text":"TemporaryFile(/tmp/multipartBody9217541341542713115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275868758,"filename":"image_12072025_01_16_03_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371763005","file1":"1371762951","file0":"1371762879","file4":"1371763129","file5":"1371763178","file3":"1371763051"},"map_files_photo_id_array":[{"photo_id":"1371763178","filename":"file5"},{"photo_id":"1371763005","filename":"file2"},{"photo_id":"1371763129","filename":"file4"},{"photo_id":"1371762951","filename":"file1"},{"photo_id":"1371762879","filename":"file0"},{"photo_id":"1371763051","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371763005":["hashtag1","hashtag2"]},{"1371762879":["hashtag1","hashtag2"]},{"1371762951":["hashtag1","hashtag2"]},{"1371763178":["hashtag1","hashtag2"]},{"1371763051":["hashtag1","hashtag2"]},{"1371763129":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371763005, 1371762879, 1371762951, 1371763178, 1371763051, 1371763129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.278911113739014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:17:32.473018
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/17/image_12072025_01_17_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/01/17/image_12072025_01_17_23_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/17/image_12072025_01_17_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/01/16/image_12072025_01_17_04_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/17/image_12072025_01_17_34_10653.jpg', '/home/nano/Desktop/images/12072025/01/17/image_12072025_01_17_23_9645.jpg', '/home/nano/Desktop/images/12072025/01/17/image_12072025_01_17_14_9658.jpg', '/home/nano/Desktop/images/12072025/01/16/image_12072025_01_17_04_10649.jpg', '/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/17/image_12072025_01_17_34_10653.jpg
/home/nano/Desktop/images/12072025/01/17/image_12072025_01_17_23_9645.jpg
/home/nano/Desktop/images/12072025/01/17/image_12072025_01_17_14_9658.jpg
/home/nano/Desktop/images/12072025/01/16/image_12072025_01_17_04_10649.jpg
/home/nano/Desktop/images/12072025/01/16/image_12072025_01_16_53_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371763323","1371763388","1371763367","1371763348","1371763414"],"photo_ids_order":["1371763323","1371763348","1371763367","1371763388","1371763414"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16ae36009a4100b355e299508a5cfdb9.jpg","text":"TemporaryFile(/tmp/multipartBody7896095897736603265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275913992,"filename":"image_12072025_01_17_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23599a82a20543f397c9c3f30b99de5b.jpg","text":"TemporaryFile(/tmp/multipartBody4318493996367301434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275913992,"filename":"image_12072025_01_17_04_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27589989e717b7b8543079582a20c90c.jpg","text":"TemporaryFile(/tmp/multipartBody6804528463490263909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275913992,"filename":"image_12072025_01_17_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/922283ac5f0e15b3b9bcb9377078e742.jpg","text":"TemporaryFile(/tmp/multipartBody97256631708763876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275913992,"filename":"image_12072025_01_17_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e94f19694e0efafef949966d3c368fe.jpg","text":"TemporaryFile(/tmp/multipartBody5227625219276914908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275913992,"filename":"image_12072025_01_16_53_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371763367","file1":"1371763348","file0":"1371763323","file4":"1371763414","file3":"1371763388"},"map_files_photo_id_array":[{"photo_id":"1371763367","filename":"file2"},{"photo_id":"1371763414","filename":"file4"},{"photo_id":"1371763348","filename":"file1"},{"photo_id":"1371763323","filename":"file0"},{"photo_id":"1371763388","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371763323":["hashtag1","hashtag2"]},{"1371763388":["hashtag1","hashtag2"]},{"1371763367":["hashtag1","hashtag2"]},{"1371763348":["hashtag1","hashtag2"]},{"1371763414":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371763323, 1371763388, 1371763367, 1371763348, 1371763414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.098067045211792 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:18:02.946907
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/16/image_10072025_23_17_04_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/23/16/image_10072025_23_16_53_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/23/16/image_10072025_23_16_43_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/23/16/image_10072025_23_16_34_10659.jpg', 2), ('/home/nano/Desktop/images/10072025/23/15/image_10072025_23_15_43_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/23/15/image_10072025_23_15_34_10676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/16/image_10072025_23_17_04_10658.jpg', '/home/nano/Desktop/images/10072025/23/16/image_10072025_23_16_53_9645.jpg', '/home/nano/Desktop/images/10072025/23/16/image_10072025_23_16_43_9645.jpg', '/home/nano/Desktop/images/10072025/23/16/image_10072025_23_16_34_10659.jpg', '/home/nano/Desktop/images/10072025/23/15/image_10072025_23_15_43_9647.jpg', '/home/nano/Desktop/images/10072025/23/15/image_10072025_23_15_34_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/16/image_10072025_23_17_04_10658.jpg
/home/nano/Desktop/images/10072025/23/16/image_10072025_23_16_53_9645.jpg
/home/nano/Desktop/images/10072025/23/16/image_10072025_23_16_43_9645.jpg
/home/nano/Desktop/images/10072025/23/16/image_10072025_23_16_34_10659.jpg
/home/nano/Desktop/images/10072025/23/15/image_10072025_23_15_43_9647.jpg
/home/nano/Desktop/images/10072025/23/15/image_10072025_23_15_34_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371763569","1371763640","1371763658","1371763616","1371763572","1371763566"],"photo_ids_order":["1371763566","1371763569","1371763572","1371763616","1371763640","1371763658"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/265ccb3cbfc9dfd248194ee67a5973ca.jpg","text":"TemporaryFile(/tmp/multipartBody6509850317091071887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275945949,"filename":"image_10072025_23_16_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ba7c1d14fc6af0f4c56b8c4cb63190c.jpg","text":"TemporaryFile(/tmp/multipartBody1812309913083852862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275945949,"filename":"image_10072025_23_15_43_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d849fcda49b334ecb03ec4921be8101e.jpg","text":"TemporaryFile(/tmp/multipartBody6111207899204562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275945949,"filename":"image_10072025_23_15_34_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b31de39d053e693e27913af537803c47.jpg","text":"TemporaryFile(/tmp/multipartBody5527988045120785145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275945949,"filename":"image_10072025_23_16_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/254affb5205935fedf84d49502a63707.jpg","text":"TemporaryFile(/tmp/multipartBody8637257522978845220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275945949,"filename":"image_10072025_23_16_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d2f8c619e37238d6d4011e0ab5ab740.jpg","text":"TemporaryFile(/tmp/multipartBody635690069395929778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275945949,"filename":"image_10072025_23_17_04_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371763572","file1":"1371763569","file0":"1371763566","file4":"1371763640","file5":"1371763658","file3":"1371763616"},"map_files_photo_id_array":[{"photo_id":"1371763658","filename":"file5"},{"photo_id":"1371763572","filename":"file2"},{"photo_id":"1371763640","filename":"file4"},{"photo_id":"1371763569","filename":"file1"},{"photo_id":"1371763566","filename":"file0"},{"photo_id":"1371763616","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371763569":["hashtag1","hashtag2"]},{"1371763640":["hashtag1","hashtag2"]},{"1371763658":["hashtag1","hashtag2"]},{"1371763616":["hashtag1","hashtag2"]},{"1371763572":["hashtag1","hashtag2"]},{"1371763566":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371763569, 1371763640, 1371763658, 1371763616, 1371763572, 1371763566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.769155979156494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:18:47.604017
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_44_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_34_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_23_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_14_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/01/17/image_12072025_01_18_04_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/01/17/image_12072025_01_17_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_44_9638.jpg', '/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_34_10668.jpg', '/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_23_9644.jpg', '/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_14_9653.jpg', '/home/nano/Desktop/images/12072025/01/17/image_12072025_01_18_04_10668.jpg', '/home/nano/Desktop/images/12072025/01/17/image_12072025_01_17_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_44_9638.jpg
/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_34_10668.jpg
/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_23_9644.jpg
/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_14_9653.jpg
/home/nano/Desktop/images/12072025/01/17/image_12072025_01_18_04_10668.jpg
/home/nano/Desktop/images/12072025/01/17/image_12072025_01_17_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371763911","1371763898","1371763902","1371763922","1371763901","1371763887"],"photo_ids_order":["1371763887","1371763898","1371763901","1371763902","1371763911","1371763922"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb6a77b3a11000aca2ce351b178ae076.jpg","text":"TemporaryFile(/tmp/multipartBody1112736111276221777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275989042,"filename":"image_12072025_01_18_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c7ddabed28965ff218c468e3e52fa81.jpg","text":"TemporaryFile(/tmp/multipartBody7452606728733083697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275989042,"filename":"image_12072025_01_18_34_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c154a853a3d5e07597f25fc3ec9d161e.jpg","text":"TemporaryFile(/tmp/multipartBody5760208181712762244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275989042,"filename":"image_12072025_01_18_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4044a6d2e846b2bdb8eb73aa2c4d2695.jpg","text":"TemporaryFile(/tmp/multipartBody7422701792851844655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275989042,"filename":"image_12072025_01_17_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/49b954a87d7d69e5598d5a7287221c70.jpg","text":"TemporaryFile(/tmp/multipartBody3486171276922515332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275989042,"filename":"image_12072025_01_18_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0aa8e7d53117db7155757cafbf6bebb.jpg","text":"TemporaryFile(/tmp/multipartBody3285944069323019990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752275989042,"filename":"image_12072025_01_18_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371763901","file1":"1371763898","file0":"1371763887","file4":"1371763911","file5":"1371763922","file3":"1371763902"},"map_files_photo_id_array":[{"photo_id":"1371763922","filename":"file5"},{"photo_id":"1371763901","filename":"file2"},{"photo_id":"1371763911","filename":"file4"},{"photo_id":"1371763898","filename":"file1"},{"photo_id":"1371763887","filename":"file0"},{"photo_id":"1371763902","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371763911":["hashtag1","hashtag2"]},{"1371763898":["hashtag1","hashtag2"]},{"1371763902":["hashtag1","hashtag2"]},{"1371763922":["hashtag1","hashtag2"]},{"1371763901":["hashtag1","hashtag2"]},{"1371763887":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371763911, 1371763898, 1371763902, 1371763922, 1371763901, 1371763887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.352444648742676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:19:32.725727
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_34_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_23_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_13_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/01/18/image_12072025_01_19_04_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_43_9637.jpg', '/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_34_10654.jpg', '/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_23_9663.jpg', '/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_13_9670.jpg', '/home/nano/Desktop/images/12072025/01/18/image_12072025_01_19_04_10668.jpg', '/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_43_9637.jpg
/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_34_10654.jpg
/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_23_9663.jpg
/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_13_9670.jpg
/home/nano/Desktop/images/12072025/01/18/image_12072025_01_19_04_10668.jpg
/home/nano/Desktop/images/12072025/01/18/image_12072025_01_18_53_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371763964","1371763967","1371763951","1371763971","1371763947","1371763956"],"photo_ids_order":["1371763947","1371763951","1371763956","1371763964","1371763967","1371763971"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/456a65fb3214e66257aea2dfa1695648.jpg","text":"TemporaryFile(/tmp/multipartBody3532663856343517262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276034334,"filename":"image_12072025_01_19_13_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa8e22f8b4797ee852a60f6803683b3b.jpg","text":"TemporaryFile(/tmp/multipartBody2518183371032967363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276034334,"filename":"image_12072025_01_19_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83378dc7e345efd8842b768fcede8b06.jpg","text":"TemporaryFile(/tmp/multipartBody8642668486977900145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276034334,"filename":"image_12072025_01_19_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a14c35fac40b25351884b17caced3cd.jpg","text":"TemporaryFile(/tmp/multipartBody10906465589830607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276034334,"filename":"image_12072025_01_18_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da8121f1521b029da79a2f55ad21efb7.jpg","text":"TemporaryFile(/tmp/multipartBody5779554560453929223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276034334,"filename":"image_12072025_01_19_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83d6ffc55d00290136daed5a53aced7e.jpg","text":"TemporaryFile(/tmp/multipartBody4499087789030494036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276034334,"filename":"image_12072025_01_19_23_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371763956","file1":"1371763951","file0":"1371763947","file4":"1371763967","file5":"1371763971","file3":"1371763964"},"map_files_photo_id_array":[{"photo_id":"1371763971","filename":"file5"},{"photo_id":"1371763956","filename":"file2"},{"photo_id":"1371763967","filename":"file4"},{"photo_id":"1371763951","filename":"file1"},{"photo_id":"1371763947","filename":"file0"},{"photo_id":"1371763964","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371763964":["hashtag1","hashtag2"]},{"1371763967":["hashtag1","hashtag2"]},{"1371763951":["hashtag1","hashtag2"]},{"1371763971":["hashtag1","hashtag2"]},{"1371763947":["hashtag1","hashtag2"]},{"1371763956":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371763964, 1371763967, 1371763951, 1371763971, 1371763947, 1371763956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.342220306396484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:20:16.864093
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/20/image_12072025_01_20_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/20/image_12072025_01_20_34_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/01/20/image_12072025_01_20_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/19/image_12072025_01_20_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/20/image_12072025_01_20_43_9638.jpg', '/home/nano/Desktop/images/12072025/01/20/image_12072025_01_20_34_9663.jpg', '/home/nano/Desktop/images/12072025/01/20/image_12072025_01_20_24_10648.jpg', '/home/nano/Desktop/images/12072025/01/19/image_12072025_01_20_04_10661.jpg', '/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/20/image_12072025_01_20_43_9638.jpg
/home/nano/Desktop/images/12072025/01/20/image_12072025_01_20_34_9663.jpg
/home/nano/Desktop/images/12072025/01/20/image_12072025_01_20_24_10648.jpg
/home/nano/Desktop/images/12072025/01/19/image_12072025_01_20_04_10661.jpg
/home/nano/Desktop/images/12072025/01/19/image_12072025_01_19_53_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371764120","1371764227","1371764181","1371764277","1371764145"],"photo_ids_order":["1371764120","1371764145","1371764181","1371764227","1371764277"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5254df31ad51a70ecbb64fff57efb93d.jpg","text":"TemporaryFile(/tmp/multipartBody3392934208297701199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276078266,"filename":"image_12072025_01_20_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be84bf29b3c4d130b0c66ab8f734162b.jpg","text":"TemporaryFile(/tmp/multipartBody6473496216999947282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276078266,"filename":"image_12072025_01_20_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ce5eb6007a2e14e4112fba92fff0164.jpg","text":"TemporaryFile(/tmp/multipartBody6052083692178434408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276078266,"filename":"image_12072025_01_20_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2496c8e6cdc882e2788d75307e7d453c.jpg","text":"TemporaryFile(/tmp/multipartBody8975478265213799968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276078266,"filename":"image_12072025_01_19_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab79c9e9b1dede51836b4e877294af07.jpg","text":"TemporaryFile(/tmp/multipartBody640587105454335292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276078266,"filename":"image_12072025_01_20_34_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371764181","file1":"1371764145","file0":"1371764120","file4":"1371764277","file3":"1371764227"},"map_files_photo_id_array":[{"photo_id":"1371764181","filename":"file2"},{"photo_id":"1371764277","filename":"file4"},{"photo_id":"1371764145","filename":"file1"},{"photo_id":"1371764120","filename":"file0"},{"photo_id":"1371764227","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371764120":["hashtag1","hashtag2"]},{"1371764227":["hashtag1","hashtag2"]},{"1371764181":["hashtag1","hashtag2"]},{"1371764277":["hashtag1","hashtag2"]},{"1371764145":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371764120, 1371764227, 1371764181, 1371764277, 1371764145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.513356924057007 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:20:46.766430
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/15/image_10072025_23_15_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/15/image_10072025_23_15_14_9684.jpg', 2), ('/home/nano/Desktop/images/10072025/23/14/image_10072025_23_15_04_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/23/14/image_10072025_23_14_53_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/23/14/image_10072025_23_14_44_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/14/image_10072025_23_14_23_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/15/image_10072025_23_15_23_9646.jpg', '/home/nano/Desktop/images/10072025/23/15/image_10072025_23_15_14_9684.jpg', '/home/nano/Desktop/images/10072025/23/14/image_10072025_23_15_04_10662.jpg', '/home/nano/Desktop/images/10072025/23/14/image_10072025_23_14_53_9662.jpg', '/home/nano/Desktop/images/10072025/23/14/image_10072025_23_14_44_9646.jpg', '/home/nano/Desktop/images/10072025/23/14/image_10072025_23_14_23_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/15/image_10072025_23_15_23_9646.jpg
/home/nano/Desktop/images/10072025/23/15/image_10072025_23_15_14_9684.jpg
/home/nano/Desktop/images/10072025/23/14/image_10072025_23_15_04_10662.jpg
/home/nano/Desktop/images/10072025/23/14/image_10072025_23_14_53_9662.jpg
/home/nano/Desktop/images/10072025/23/14/image_10072025_23_14_44_9646.jpg
/home/nano/Desktop/images/10072025/23/14/image_10072025_23_14_23_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371764626","1371764401","1371764694","1371764475","1371764376","1371764553"],"photo_ids_order":["1371764376","1371764401","1371764475","1371764553","1371764626","1371764694"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9179e1090bbc51c4893a2175e4c8b29b.jpg","text":"TemporaryFile(/tmp/multipartBody1011835424744625020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276109629,"filename":"image_10072025_23_14_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/832b190761f15cbd92cd3485adcd77d3.jpg","text":"TemporaryFile(/tmp/multipartBody2426592810931232250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276109629,"filename":"image_10072025_23_15_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2026b3d2126d88861f3d8a662f43809.jpg","text":"TemporaryFile(/tmp/multipartBody3869007795269141551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276109629,"filename":"image_10072025_23_14_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0d408cd7bc69926796a8b1ca3e55582.jpg","text":"TemporaryFile(/tmp/multipartBody3469806534004669635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276109629,"filename":"image_10072025_23_15_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92680f58ac0669c54171540f74fd5dd2.jpg","text":"TemporaryFile(/tmp/multipartBody8743625641028130384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276109629,"filename":"image_10072025_23_15_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/778c454523233914bbe4ec17bce07387.jpg","text":"TemporaryFile(/tmp/multipartBody5327449051962398031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276109629,"filename":"image_10072025_23_14_53_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371764475","file1":"1371764401","file0":"1371764376","file4":"1371764626","file5":"1371764694","file3":"1371764553"},"map_files_photo_id_array":[{"photo_id":"1371764694","filename":"file5"},{"photo_id":"1371764475","filename":"file2"},{"photo_id":"1371764626","filename":"file4"},{"photo_id":"1371764401","filename":"file1"},{"photo_id":"1371764376","filename":"file0"},{"photo_id":"1371764553","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371764626":["hashtag1","hashtag2"]},{"1371764401":["hashtag1","hashtag2"]},{"1371764694":["hashtag1","hashtag2"]},{"1371764475":["hashtag1","hashtag2"]},{"1371764376":["hashtag1","hashtag2"]},{"1371764553":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371764626, 1371764401, 1371764694, 1371764475, 1371764376, 1371764553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35961604118347 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:21:31.933040
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_43_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/01/20/image_12072025_01_21_04_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/01/20/image_12072025_01_20_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_43_9647.jpg', '/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_34_9639.jpg', '/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_24_10649.jpg', '/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_13_9657.jpg', '/home/nano/Desktop/images/12072025/01/20/image_12072025_01_21_04_9652.jpg', '/home/nano/Desktop/images/12072025/01/20/image_12072025_01_20_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_43_9647.jpg
/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_34_9639.jpg
/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_24_10649.jpg
/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_13_9657.jpg
/home/nano/Desktop/images/12072025/01/20/image_12072025_01_21_04_9652.jpg
/home/nano/Desktop/images/12072025/01/20/image_12072025_01_20_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371764950","1371764905","1371764976","1371764979","1371764999","1371765041"],"photo_ids_order":["1371764905","1371764950","1371764976","1371764979","1371764999","1371765041"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52eecc2c026f4bf60403325b43f69c49.jpg","text":"TemporaryFile(/tmp/multipartBody4915212776874680854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276153182,"filename":"image_12072025_01_21_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b40a155edc2ec7f31e4c2659ffc56f9a.jpg","text":"TemporaryFile(/tmp/multipartBody5890488137054372268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276153182,"filename":"image_12072025_01_21_43_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/578806a049534bf0210d880733eb2aed.jpg","text":"TemporaryFile(/tmp/multipartBody4915872825299150816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276153182,"filename":"image_12072025_01_21_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29d99bbee98a321cd80d7d0c13ec6be3.jpg","text":"TemporaryFile(/tmp/multipartBody6878849308298730310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276153182,"filename":"image_12072025_01_21_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b79703b3240d55621758fdae95f0dddc.jpg","text":"TemporaryFile(/tmp/multipartBody3500208957032111891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276153182,"filename":"image_12072025_01_21_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86bd646b4b349effb60a56f702709e8f.jpg","text":"TemporaryFile(/tmp/multipartBody276065756616285398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276153182,"filename":"image_12072025_01_20_54_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371764976","file1":"1371764950","file0":"1371764905","file4":"1371764999","file5":"1371765041","file3":"1371764979"},"map_files_photo_id_array":[{"photo_id":"1371765041","filename":"file5"},{"photo_id":"1371764976","filename":"file2"},{"photo_id":"1371764999","filename":"file4"},{"photo_id":"1371764950","filename":"file1"},{"photo_id":"1371764905","filename":"file0"},{"photo_id":"1371764979","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371764950":["hashtag1","hashtag2"]},{"1371764905":["hashtag1","hashtag2"]},{"1371764976":["hashtag1","hashtag2"]},{"1371764979":["hashtag1","hashtag2"]},{"1371764999":["hashtag1","hashtag2"]},{"1371765041":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371764950, 1371764905, 1371764976, 1371764979, 1371764999, 1371765041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42451620101929 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:22:16.973119
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/22/image_12072025_01_22_34_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/22/image_12072025_01_22_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/22/image_12072025_01_22_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/01/21/image_12072025_01_22_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_54_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/22/image_12072025_01_22_34_9655.jpg', '/home/nano/Desktop/images/12072025/01/22/image_12072025_01_22_24_10648.jpg', '/home/nano/Desktop/images/12072025/01/22/image_12072025_01_22_13_9659.jpg', '/home/nano/Desktop/images/12072025/01/21/image_12072025_01_22_04_9645.jpg', '/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_54_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/22/image_12072025_01_22_34_9655.jpg
/home/nano/Desktop/images/12072025/01/22/image_12072025_01_22_24_10648.jpg
/home/nano/Desktop/images/12072025/01/22/image_12072025_01_22_13_9659.jpg
/home/nano/Desktop/images/12072025/01/21/image_12072025_01_22_04_9645.jpg
/home/nano/Desktop/images/12072025/01/21/image_12072025_01_21_54_10668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371765623","1371765892","1371765816","1371765723","1371765531"],"photo_ids_order":["1371765531","1371765623","1371765723","1371765816","1371765892"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4e913084e699ce5cc96b5095566870b.jpg","text":"TemporaryFile(/tmp/multipartBody2974545041542145083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276198550,"filename":"image_12072025_01_22_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c616072bcdd14d6c2bc0e6cedb659e8.jpg","text":"TemporaryFile(/tmp/multipartBody611735527639253000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276198550,"filename":"image_12072025_01_21_54_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06cb63cc048cc082cd4447a8310943ad.jpg","text":"TemporaryFile(/tmp/multipartBody1110001318320727696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276198550,"filename":"image_12072025_01_22_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/835a7f22b63c7401d5a1ca74e6dcfb92.jpg","text":"TemporaryFile(/tmp/multipartBody4440594866539688780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276198550,"filename":"image_12072025_01_22_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd52a3c5cb53c9d50bd23e4a2b85c124.jpg","text":"TemporaryFile(/tmp/multipartBody6014797853131279902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276198550,"filename":"image_12072025_01_22_34_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371765723","file1":"1371765623","file0":"1371765531","file4":"1371765892","file3":"1371765816"},"map_files_photo_id_array":[{"photo_id":"1371765723","filename":"file2"},{"photo_id":"1371765892","filename":"file4"},{"photo_id":"1371765623","filename":"file1"},{"photo_id":"1371765531","filename":"file0"},{"photo_id":"1371765816","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371765623":["hashtag1","hashtag2"]},{"1371765892":["hashtag1","hashtag2"]},{"1371765816":["hashtag1","hashtag2"]},{"1371765723":["hashtag1","hashtag2"]},{"1371765531":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371765623, 1371765892, 1371765816, 1371765723, 1371765531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.086881637573242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:22:46.982296
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/14/image_10072025_23_14_14_9670.jpg', 2), ('/home/nano/Desktop/images/10072025/23/13/image_10072025_23_14_04_10689.jpg', 2), ('/home/nano/Desktop/images/10072025/23/13/image_10072025_23_13_53_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/23/13/image_10072025_23_13_44_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/12/image_10072025_23_13_04_10674.jpg', 2), ('/home/nano/Desktop/images/10072025/23/12/image_10072025_23_12_53_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/14/image_10072025_23_14_14_9670.jpg', '/home/nano/Desktop/images/10072025/23/13/image_10072025_23_14_04_10689.jpg', '/home/nano/Desktop/images/10072025/23/13/image_10072025_23_13_53_9644.jpg', '/home/nano/Desktop/images/10072025/23/13/image_10072025_23_13_44_9646.jpg', '/home/nano/Desktop/images/10072025/23/12/image_10072025_23_13_04_10674.jpg', '/home/nano/Desktop/images/10072025/23/12/image_10072025_23_12_53_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/14/image_10072025_23_14_14_9670.jpg
/home/nano/Desktop/images/10072025/23/13/image_10072025_23_14_04_10689.jpg
/home/nano/Desktop/images/10072025/23/13/image_10072025_23_13_53_9644.jpg
/home/nano/Desktop/images/10072025/23/13/image_10072025_23_13_44_9646.jpg
/home/nano/Desktop/images/10072025/23/12/image_10072025_23_13_04_10674.jpg
/home/nano/Desktop/images/10072025/23/12/image_10072025_23_12_53_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371766282","1371766414","1371766329","1371766206","1371766457","1371766385"],"photo_ids_order":["1371766206","1371766282","1371766329","1371766385","1371766414","1371766457"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c12ff9e0d49dbc03822bb23a917f06a.jpg","text":"TemporaryFile(/tmp/multipartBody296739198071175734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276229734,"filename":"image_10072025_23_14_04_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a92fb7cde807fabb81b082f472e18ab5.jpg","text":"TemporaryFile(/tmp/multipartBody2541525272879601162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276229734,"filename":"image_10072025_23_13_04_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21e4e056cc6f195cfe06dc0a7ae7892c.jpg","text":"TemporaryFile(/tmp/multipartBody8571240711052408893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276229734,"filename":"image_10072025_23_13_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9806ae2c15caa5be27d3b7c262a8762b.jpg","text":"TemporaryFile(/tmp/multipartBody6823022176117963003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276229734,"filename":"image_10072025_23_14_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f3eff39eb4952513f0164fe2ae8d129.jpg","text":"TemporaryFile(/tmp/multipartBody3983975897182651487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276229734,"filename":"image_10072025_23_12_53_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e579abd0cec332c2fa747eb80165baab.jpg","text":"TemporaryFile(/tmp/multipartBody2860986504802206189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276229734,"filename":"image_10072025_23_13_44_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371766329","file1":"1371766282","file0":"1371766206","file4":"1371766414","file5":"1371766457","file3":"1371766385"},"map_files_photo_id_array":[{"photo_id":"1371766457","filename":"file5"},{"photo_id":"1371766329","filename":"file2"},{"photo_id":"1371766414","filename":"file4"},{"photo_id":"1371766282","filename":"file1"},{"photo_id":"1371766206","filename":"file0"},{"photo_id":"1371766385","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371766282":["hashtag1","hashtag2"]},{"1371766414":["hashtag1","hashtag2"]},{"1371766329":["hashtag1","hashtag2"]},{"1371766206":["hashtag1","hashtag2"]},{"1371766457":["hashtag1","hashtag2"]},{"1371766385":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371766282, 1371766414, 1371766329, 1371766206, 1371766457, 1371766385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56119108200073 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:23:32.100325
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_43_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_24_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/01/22/image_12072025_01_23_03_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/01/22/image_12072025_01_22_43_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_43_9656.jpg', '/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_33_9639.jpg', '/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_24_10646.jpg', '/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_13_9657.jpg', '/home/nano/Desktop/images/12072025/01/22/image_12072025_01_23_03_9640.jpg', '/home/nano/Desktop/images/12072025/01/22/image_12072025_01_22_43_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_43_9656.jpg
/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_33_9639.jpg
/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_24_10646.jpg
/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_13_9657.jpg
/home/nano/Desktop/images/12072025/01/22/image_12072025_01_23_03_9640.jpg
/home/nano/Desktop/images/12072025/01/22/image_12072025_01_22_43_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371766648","1371766627","1371766630","1371766653","1371766632","1371766635"],"photo_ids_order":["1371766627","1371766630","1371766632","1371766635","1371766648","1371766653"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd412abc34f2dfb70253df357293ada4.jpg","text":"TemporaryFile(/tmp/multipartBody6030313408340807489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276273392,"filename":"image_12072025_01_23_03_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0548621b6cfd844c44320ef8711a043.jpg","text":"TemporaryFile(/tmp/multipartBody191710646344898490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276273392,"filename":"image_12072025_01_23_43_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd6f711bac74a04b70a94b518ed46cbf.jpg","text":"TemporaryFile(/tmp/multipartBody1249033434410324384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276273392,"filename":"image_12072025_01_23_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ebbeb3f4f1e127d56089f92c81cd74d1.jpg","text":"TemporaryFile(/tmp/multipartBody5331809087284980601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276273392,"filename":"image_12072025_01_22_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d03895edbaa74f0aea27da01263c4431.jpg","text":"TemporaryFile(/tmp/multipartBody7921641536230525098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276273392,"filename":"image_12072025_01_23_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e23fc920b9cf0c24e5e870de6b04eb6c.jpg","text":"TemporaryFile(/tmp/multipartBody6481631496052090785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276273392,"filename":"image_12072025_01_23_13_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371766632","file1":"1371766630","file0":"1371766627","file4":"1371766648","file5":"1371766653","file3":"1371766635"},"map_files_photo_id_array":[{"photo_id":"1371766653","filename":"file5"},{"photo_id":"1371766632","filename":"file2"},{"photo_id":"1371766648","filename":"file4"},{"photo_id":"1371766630","filename":"file1"},{"photo_id":"1371766627","filename":"file0"},{"photo_id":"1371766635","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371766648":["hashtag1","hashtag2"]},{"1371766627":["hashtag1","hashtag2"]},{"1371766630":["hashtag1","hashtag2"]},{"1371766653":["hashtag1","hashtag2"]},{"1371766632":["hashtag1","hashtag2"]},{"1371766635":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371766648, 1371766627, 1371766630, 1371766653, 1371766632, 1371766635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.496413469314575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:24:17.201839
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_24_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/01/23/image_12072025_01_24_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_54_10675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_44_10647.jpg', '/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_33_9638.jpg', '/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_24_10674.jpg', '/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_13_9658.jpg', '/home/nano/Desktop/images/12072025/01/23/image_12072025_01_24_03_9654.jpg', '/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_54_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_44_10647.jpg
/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_33_9638.jpg
/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_24_10674.jpg
/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_13_9658.jpg
/home/nano/Desktop/images/12072025/01/23/image_12072025_01_24_03_9654.jpg
/home/nano/Desktop/images/12072025/01/23/image_12072025_01_23_54_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371766700","1371766708","1371766698","1371766704","1371766716","1371766712"],"photo_ids_order":["1371766698","1371766700","1371766704","1371766708","1371766712","1371766716"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7571761695d12ea3f7c6ffea9451f39.jpg","text":"TemporaryFile(/tmp/multipartBody7387106138559664731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276318773,"filename":"image_12072025_01_24_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac4e0eb16a7277a5296e98ccd52b0035.jpg","text":"TemporaryFile(/tmp/multipartBody716736777634056656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276318773,"filename":"image_12072025_01_24_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6dae020105c9a4a7e1a3009d6bcd0d75.jpg","text":"TemporaryFile(/tmp/multipartBody9046169955601119259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276318773,"filename":"image_12072025_01_24_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1574c70b018f8aecaf771d12db84a07.jpg","text":"TemporaryFile(/tmp/multipartBody5245279200333027726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276318773,"filename":"image_12072025_01_24_24_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/442311e7087c87b01b89d76ca0f62da7.jpg","text":"TemporaryFile(/tmp/multipartBody1196076093917970313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276318773,"filename":"image_12072025_01_23_54_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a312819a3091dd108eaa388a81e7f70a.jpg","text":"TemporaryFile(/tmp/multipartBody3734323717668247951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276318773,"filename":"image_12072025_01_24_03_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371766704","file1":"1371766700","file0":"1371766698","file4":"1371766712","file5":"1371766716","file3":"1371766708"},"map_files_photo_id_array":[{"photo_id":"1371766716","filename":"file5"},{"photo_id":"1371766704","filename":"file2"},{"photo_id":"1371766712","filename":"file4"},{"photo_id":"1371766700","filename":"file1"},{"photo_id":"1371766698","filename":"file0"},{"photo_id":"1371766708","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371766700":["hashtag1","hashtag2"]},{"1371766708":["hashtag1","hashtag2"]},{"1371766698":["hashtag1","hashtag2"]},{"1371766704":["hashtag1","hashtag2"]},{"1371766716":["hashtag1","hashtag2"]},{"1371766712":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371766700, 1371766708, 1371766698, 1371766704, 1371766716, 1371766712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.299360275268555 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:25:02.747249
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/11/image_10072025_23_12_04_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/23/11/image_10072025_23_11_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/11/image_10072025_23_11_44_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/23/11/image_10072025_23_11_34_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/23/11/image_10072025_23_11_23_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/23/10/image_10072025_23_11_04_10676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/11/image_10072025_23_12_04_10672.jpg', '/home/nano/Desktop/images/10072025/23/11/image_10072025_23_11_53_9646.jpg', '/home/nano/Desktop/images/10072025/23/11/image_10072025_23_11_44_9647.jpg', '/home/nano/Desktop/images/10072025/23/11/image_10072025_23_11_34_10675.jpg', '/home/nano/Desktop/images/10072025/23/11/image_10072025_23_11_23_9654.jpg', '/home/nano/Desktop/images/10072025/23/10/image_10072025_23_11_04_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/11/image_10072025_23_12_04_10672.jpg
/home/nano/Desktop/images/10072025/23/11/image_10072025_23_11_53_9646.jpg
/home/nano/Desktop/images/10072025/23/11/image_10072025_23_11_44_9647.jpg
/home/nano/Desktop/images/10072025/23/11/image_10072025_23_11_34_10675.jpg
/home/nano/Desktop/images/10072025/23/11/image_10072025_23_11_23_9654.jpg
/home/nano/Desktop/images/10072025/23/10/image_10072025_23_11_04_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371766837","1371766915","1371766947","1371766883","1371766880","1371766814"],"photo_ids_order":["1371766814","1371766837","1371766880","1371766883","1371766915","1371766947"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/187e9d29e3185ea07b0af0d3a9b6b33f.jpg","text":"TemporaryFile(/tmp/multipartBody2008336908406209273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276365670,"filename":"image_10072025_23_11_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ffb2063bcee96d4c62590cd115fb852.jpg","text":"TemporaryFile(/tmp/multipartBody2791942325680814085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276365670,"filename":"image_10072025_23_11_23_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/49040e55cae2ed050e54cfa164b44b7f.jpg","text":"TemporaryFile(/tmp/multipartBody2256868287907172995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276365670,"filename":"image_10072025_23_11_04_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c27d01201978064eae50eb0a6a23b669.jpg","text":"TemporaryFile(/tmp/multipartBody1486335258733886816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276365670,"filename":"image_10072025_23_11_34_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4279e8f69c39bf39af8f54461ebd6bc1.jpg","text":"TemporaryFile(/tmp/multipartBody964334461454957602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276365670,"filename":"image_10072025_23_11_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a4d0c49177d4353771abe44466bda22.jpg","text":"TemporaryFile(/tmp/multipartBody8855060543925697041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276365670,"filename":"image_10072025_23_12_04_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371766880","file1":"1371766837","file0":"1371766814","file4":"1371766915","file5":"1371766947","file3":"1371766883"},"map_files_photo_id_array":[{"photo_id":"1371766947","filename":"file5"},{"photo_id":"1371766880","filename":"file2"},{"photo_id":"1371766915","filename":"file4"},{"photo_id":"1371766837","filename":"file1"},{"photo_id":"1371766814","filename":"file0"},{"photo_id":"1371766883","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371766837":["hashtag1","hashtag2"]},{"1371766915":["hashtag1","hashtag2"]},{"1371766947":["hashtag1","hashtag2"]},{"1371766883":["hashtag1","hashtag2"]},{"1371766880":["hashtag1","hashtag2"]},{"1371766814":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371766837, 1371766915, 1371766947, 1371766883, 1371766880, 1371766814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09831738471985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:25:47.301045
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_14_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/01/24/image_12072025_01_25_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_44_10648.jpg', '/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_33_9637.jpg', '/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_24_9638.jpg', '/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_14_10663.jpg', '/home/nano/Desktop/images/12072025/01/24/image_12072025_01_25_03_9643.jpg', '/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_44_10648.jpg
/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_33_9637.jpg
/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_24_9638.jpg
/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_14_10663.jpg
/home/nano/Desktop/images/12072025/01/24/image_12072025_01_25_03_9643.jpg
/home/nano/Desktop/images/12072025/01/24/image_12072025_01_24_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371767236","1371767274","1371767232","1371767175","1371767316","1371767296"],"photo_ids_order":["1371767175","1371767232","1371767236","1371767274","1371767296","1371767316"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e9b3319f12206c6279720128febf83c.jpg","text":"TemporaryFile(/tmp/multipartBody6479837231149755297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276408614,"filename":"image_12072025_01_25_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea1ab5c54b12d830b08173e227a87507.jpg","text":"TemporaryFile(/tmp/multipartBody1319226772224338124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276408614,"filename":"image_12072025_01_25_14_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba3347cb9d13c06634e99bee914cf8b6.jpg","text":"TemporaryFile(/tmp/multipartBody656739438995262078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276408614,"filename":"image_12072025_01_25_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/69b64e21f152e634e545c4590f1859f0.jpg","text":"TemporaryFile(/tmp/multipartBody7141191651863965504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276408614,"filename":"image_12072025_01_25_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a511f0625b138138ae3903d5c12e6b0c.jpg","text":"TemporaryFile(/tmp/multipartBody3569098889428343198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276408614,"filename":"image_12072025_01_24_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e62f0c046d17f0b7d19f18ba8e40372.jpg","text":"TemporaryFile(/tmp/multipartBody7581032924683459771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276408614,"filename":"image_12072025_01_25_03_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371767236","file1":"1371767232","file0":"1371767175","file4":"1371767296","file5":"1371767316","file3":"1371767274"},"map_files_photo_id_array":[{"photo_id":"1371767316","filename":"file5"},{"photo_id":"1371767236","filename":"file2"},{"photo_id":"1371767296","filename":"file4"},{"photo_id":"1371767232","filename":"file1"},{"photo_id":"1371767175","filename":"file0"},{"photo_id":"1371767274","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371767236":["hashtag1","hashtag2"]},{"1371767274":["hashtag1","hashtag2"]},{"1371767232":["hashtag1","hashtag2"]},{"1371767175":["hashtag1","hashtag2"]},{"1371767316":["hashtag1","hashtag2"]},{"1371767296":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371767236, 1371767274, 1371767232, 1371767175, 1371767316, 1371767296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82441854476929 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:26:32.424070
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_24_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_14_10695.jpg', 2), ('/home/nano/Desktop/images/12072025/01/25/image_12072025_01_26_03_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_44_10647.jpg', '/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_33_9638.jpg', '/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_24_9639.jpg', '/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_14_10695.jpg', '/home/nano/Desktop/images/12072025/01/25/image_12072025_01_26_03_9659.jpg', '/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_44_10647.jpg
/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_33_9638.jpg
/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_24_9639.jpg
/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_14_10695.jpg
/home/nano/Desktop/images/12072025/01/25/image_12072025_01_26_03_9659.jpg
/home/nano/Desktop/images/12072025/01/25/image_12072025_01_25_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371767500","1371767469","1371767498","1371767492","1371767441","1371767444"],"photo_ids_order":["1371767441","1371767444","1371767469","1371767492","1371767498","1371767500"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb8fb86e0e561b0891d80a4dd6dfb29e.jpg","text":"TemporaryFile(/tmp/multipartBody1346771206472975173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276454124,"filename":"image_12072025_01_25_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af126009123c86c841deaf9adcb36ae9.jpg","text":"TemporaryFile(/tmp/multipartBody2613626641322502909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276454124,"filename":"image_12072025_01_26_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61d9e2f90f9b6fba1e34c5ce1a97be89.jpg","text":"TemporaryFile(/tmp/multipartBody4467478617635870490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276454124,"filename":"image_12072025_01_26_03_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5770274e9d8dbce10af649dcce4f6f8b.jpg","text":"TemporaryFile(/tmp/multipartBody3855737598548044585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276454124,"filename":"image_12072025_01_26_14_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d681f4f177dd97bfb2f40fd36852cd29.jpg","text":"TemporaryFile(/tmp/multipartBody2970121542731024098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276454124,"filename":"image_12072025_01_26_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3086f3ccc90c87c37d97d13e8337ffd.jpg","text":"TemporaryFile(/tmp/multipartBody6250823381788747739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276454124,"filename":"image_12072025_01_26_33_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371767469","file1":"1371767444","file0":"1371767441","file4":"1371767498","file5":"1371767500","file3":"1371767492"},"map_files_photo_id_array":[{"photo_id":"1371767500","filename":"file5"},{"photo_id":"1371767469","filename":"file2"},{"photo_id":"1371767498","filename":"file4"},{"photo_id":"1371767444","filename":"file1"},{"photo_id":"1371767441","filename":"file0"},{"photo_id":"1371767492","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371767500":["hashtag1","hashtag2"]},{"1371767469":["hashtag1","hashtag2"]},{"1371767498":["hashtag1","hashtag2"]},{"1371767492":["hashtag1","hashtag2"]},{"1371767441":["hashtag1","hashtag2"]},{"1371767444":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371767500, 1371767469, 1371767498, 1371767492, 1371767441, 1371767444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55628180503845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:27:17.506997
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_44_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_14_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/01/26/image_12072025_01_27_03_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_44_9638.jpg', '/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_34_10647.jpg', '/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_23_9639.jpg', '/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_14_10666.jpg', '/home/nano/Desktop/images/12072025/01/26/image_12072025_01_27_03_9641.jpg', '/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_44_9638.jpg
/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_34_10647.jpg
/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_23_9639.jpg
/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_14_10666.jpg
/home/nano/Desktop/images/12072025/01/26/image_12072025_01_27_03_9641.jpg
/home/nano/Desktop/images/12072025/01/26/image_12072025_01_26_53_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371767521","1371767532","1371767534","1371767528","1371767537","1371767524"],"photo_ids_order":["1371767521","1371767524","1371767528","1371767532","1371767534","1371767537"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/387ab062761b4ee7fc054d7491e280aa.jpg","text":"TemporaryFile(/tmp/multipartBody7937482725565052021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276499059,"filename":"image_12072025_01_27_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d2a7097ad66ce5a40a8f9f0cff51e69.jpg","text":"TemporaryFile(/tmp/multipartBody8609112926376148907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276499059,"filename":"image_12072025_01_27_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c07b721332bf9138d0988415e1c46607.jpg","text":"TemporaryFile(/tmp/multipartBody9199151923814090024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276499059,"filename":"image_12072025_01_27_03_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/517bece0198a21b070a256bb0bee9f58.jpg","text":"TemporaryFile(/tmp/multipartBody5241469746979105696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276499059,"filename":"image_12072025_01_27_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04c7627ba00967d9017ebeecfec42dbe.jpg","text":"TemporaryFile(/tmp/multipartBody3434555425002080386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276499059,"filename":"image_12072025_01_26_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f1122a686e60d9be3b40c753c2942ac.jpg","text":"TemporaryFile(/tmp/multipartBody8107923280077193227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276499059,"filename":"image_12072025_01_27_34_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371767528","file1":"1371767524","file0":"1371767521","file4":"1371767534","file5":"1371767537","file3":"1371767532"},"map_files_photo_id_array":[{"photo_id":"1371767537","filename":"file5"},{"photo_id":"1371767528","filename":"file2"},{"photo_id":"1371767534","filename":"file4"},{"photo_id":"1371767524","filename":"file1"},{"photo_id":"1371767521","filename":"file0"},{"photo_id":"1371767532","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371767521":["hashtag1","hashtag2"]},{"1371767532":["hashtag1","hashtag2"]},{"1371767534":["hashtag1","hashtag2"]},{"1371767528":["hashtag1","hashtag2"]},{"1371767537":["hashtag1","hashtag2"]},{"1371767524":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371767521, 1371767532, 1371767534, 1371767528, 1371767537, 1371767524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.223405838012695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:28:03.012101
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/10/image_10072025_23_10_34_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/23/10/image_10072025_23_10_23_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/23/10/image_10072025_23_10_14_9669.jpg', 2), ('/home/nano/Desktop/images/10072025/23/09/image_10072025_23_10_04_10680.jpg', 2), ('/home/nano/Desktop/images/10072025/23/09/image_10072025_23_09_44_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/23/09/image_10072025_23_09_23_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/10/image_10072025_23_10_34_10657.jpg', '/home/nano/Desktop/images/10072025/23/10/image_10072025_23_10_23_9666.jpg', '/home/nano/Desktop/images/10072025/23/10/image_10072025_23_10_14_9669.jpg', '/home/nano/Desktop/images/10072025/23/09/image_10072025_23_10_04_10680.jpg', '/home/nano/Desktop/images/10072025/23/09/image_10072025_23_09_44_9666.jpg', '/home/nano/Desktop/images/10072025/23/09/image_10072025_23_09_23_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/10/image_10072025_23_10_34_10657.jpg
/home/nano/Desktop/images/10072025/23/10/image_10072025_23_10_23_9666.jpg
/home/nano/Desktop/images/10072025/23/10/image_10072025_23_10_14_9669.jpg
/home/nano/Desktop/images/10072025/23/09/image_10072025_23_10_04_10680.jpg
/home/nano/Desktop/images/10072025/23/09/image_10072025_23_09_44_9666.jpg
/home/nano/Desktop/images/10072025/23/09/image_10072025_23_09_23_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371767653","1371767626","1371767694","1371767651","1371767669","1371767648"],"photo_ids_order":["1371767626","1371767648","1371767651","1371767653","1371767669","1371767694"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9b319f40f75990e54f4cf168ac68c8a.jpg","text":"TemporaryFile(/tmp/multipartBody530755971479271892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276545824,"filename":"image_10072025_23_10_04_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b91780a63ee0c79dbb9f9782f0cb1de.jpg","text":"TemporaryFile(/tmp/multipartBody4851162726991650116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276545824,"filename":"image_10072025_23_10_34_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8714a79821a17c012ed33349a86ce72a.jpg","text":"TemporaryFile(/tmp/multipartBody3083247353993510491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276545824,"filename":"image_10072025_23_09_23_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91abf65c19f21a262da5e02d8c510043.jpg","text":"TemporaryFile(/tmp/multipartBody1299225304985529570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276545824,"filename":"image_10072025_23_10_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6882f0a5978f7b122580fb7793785fe.jpg","text":"TemporaryFile(/tmp/multipartBody8129198624518181402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276545824,"filename":"image_10072025_23_09_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74658dacb906f1e3e57b1d7fd7441fd5.jpg","text":"TemporaryFile(/tmp/multipartBody1190965707212577683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276545824,"filename":"image_10072025_23_10_23_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371767651","file1":"1371767648","file0":"1371767626","file4":"1371767669","file5":"1371767694","file3":"1371767653"},"map_files_photo_id_array":[{"photo_id":"1371767694","filename":"file5"},{"photo_id":"1371767651","filename":"file2"},{"photo_id":"1371767669","filename":"file4"},{"photo_id":"1371767648","filename":"file1"},{"photo_id":"1371767626","filename":"file0"},{"photo_id":"1371767653","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371767653":["hashtag1","hashtag2"]},{"1371767626":["hashtag1","hashtag2"]},{"1371767694":["hashtag1","hashtag2"]},{"1371767651":["hashtag1","hashtag2"]},{"1371767669":["hashtag1","hashtag2"]},{"1371767648":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371767653, 1371767626, 1371767694, 1371767651, 1371767669, 1371767648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79066848754883 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:28:47.614165
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_44_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_34_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_14_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/01/27/image_12072025_01_28_04_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_44_9640.jpg', '/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_34_10646.jpg', '/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_23_9637.jpg', '/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_14_9668.jpg', '/home/nano/Desktop/images/12072025/01/27/image_12072025_01_28_04_10655.jpg', '/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_44_9640.jpg
/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_34_10646.jpg
/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_23_9637.jpg
/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_14_9668.jpg
/home/nano/Desktop/images/12072025/01/27/image_12072025_01_28_04_10655.jpg
/home/nano/Desktop/images/12072025/01/27/image_12072025_01_27_53_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371767853","1371767829","1371767915","1371767884","1371767804","1371767941"],"photo_ids_order":["1371767804","1371767829","1371767853","1371767884","1371767915","1371767941"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f138ff0c126212b4c523ab92d588a71.jpg","text":"TemporaryFile(/tmp/multipartBody6341938994399119962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276589046,"filename":"image_12072025_01_28_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c0ae76ec11943309800788130b2334d.jpg","text":"TemporaryFile(/tmp/multipartBody3134148253392137966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276589046,"filename":"image_12072025_01_28_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/678605718822f05d1727dc07c80fafb2.jpg","text":"TemporaryFile(/tmp/multipartBody7039958840167045656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276589046,"filename":"image_12072025_01_28_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec3ece9d3ef832338bb9b8d2a67d7055.jpg","text":"TemporaryFile(/tmp/multipartBody1595485190012185093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276589046,"filename":"image_12072025_01_28_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df31863ea753d8c6fb4d151cab71e2ef.jpg","text":"TemporaryFile(/tmp/multipartBody2102382353023686228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276589046,"filename":"image_12072025_01_28_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1f372611e15646a942cbc8f39d64c9d.jpg","text":"TemporaryFile(/tmp/multipartBody4710841138961815778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276589046,"filename":"image_12072025_01_27_53_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371767853","file1":"1371767829","file0":"1371767804","file4":"1371767915","file5":"1371767941","file3":"1371767884"},"map_files_photo_id_array":[{"photo_id":"1371767941","filename":"file5"},{"photo_id":"1371767853","filename":"file2"},{"photo_id":"1371767915","filename":"file4"},{"photo_id":"1371767829","filename":"file1"},{"photo_id":"1371767804","filename":"file0"},{"photo_id":"1371767884","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371767853":["hashtag1","hashtag2"]},{"1371767829":["hashtag1","hashtag2"]},{"1371767915":["hashtag1","hashtag2"]},{"1371767884":["hashtag1","hashtag2"]},{"1371767804":["hashtag1","hashtag2"]},{"1371767941":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371767853, 1371767829, 1371767915, 1371767884, 1371767804, 1371767941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.629059553146362 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:29:32.738658
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_34_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_14_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/01/28/image_12072025_01_29_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_43_9639.jpg', '/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_34_10652.jpg', '/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_23_9637.jpg', '/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_14_9664.jpg', '/home/nano/Desktop/images/12072025/01/28/image_12072025_01_29_04_10657.jpg', '/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_43_9639.jpg
/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_34_10652.jpg
/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_23_9637.jpg
/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_14_9664.jpg
/home/nano/Desktop/images/12072025/01/28/image_12072025_01_29_04_10657.jpg
/home/nano/Desktop/images/12072025/01/28/image_12072025_01_28_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371768219","1371768126","1371768191","1371768242","1371768005","1371768064"],"photo_ids_order":["1371768005","1371768064","1371768126","1371768191","1371768219","1371768242"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c16a3824e7fcfd7f254bd8ca4a49c93.jpg","text":"TemporaryFile(/tmp/multipartBody1173708661039646075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276634153,"filename":"image_12072025_01_29_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f84e04f0ac549f41520f3e013592c4a.jpg","text":"TemporaryFile(/tmp/multipartBody6212401284020061133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276634153,"filename":"image_12072025_01_29_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc1b2b84fde3ea230a2d7d25ad60e338.jpg","text":"TemporaryFile(/tmp/multipartBody8267887275373474810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276634153,"filename":"image_12072025_01_29_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4687240b1e1dd2d43f7e025a1696738d.jpg","text":"TemporaryFile(/tmp/multipartBody8968992696200032191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276634153,"filename":"image_12072025_01_28_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54d8a67c2c12ee8189a673c6c5cf2791.jpg","text":"TemporaryFile(/tmp/multipartBody2064897762807255977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276634153,"filename":"image_12072025_01_29_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f60ce0a40f71c401c8871db1ce1a0a44.jpg","text":"TemporaryFile(/tmp/multipartBody7035388201035331033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276634153,"filename":"image_12072025_01_29_34_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371768126","file1":"1371768064","file0":"1371768005","file4":"1371768219","file5":"1371768242","file3":"1371768191"},"map_files_photo_id_array":[{"photo_id":"1371768242","filename":"file5"},{"photo_id":"1371768126","filename":"file2"},{"photo_id":"1371768219","filename":"file4"},{"photo_id":"1371768064","filename":"file1"},{"photo_id":"1371768005","filename":"file0"},{"photo_id":"1371768191","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371768219":["hashtag1","hashtag2"]},{"1371768126":["hashtag1","hashtag2"]},{"1371768191":["hashtag1","hashtag2"]},{"1371768242":["hashtag1","hashtag2"]},{"1371768005":["hashtag1","hashtag2"]},{"1371768064":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371768219, 1371768126, 1371768191, 1371768242, 1371768005, 1371768064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88502073287964 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:30:16.870818
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_43_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_34_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_23_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_13_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/01/29/image_12072025_01_30_04_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_53_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_43_9646.jpg', '/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_34_10656.jpg', '/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_23_9646.jpg', '/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_13_9666.jpg', '/home/nano/Desktop/images/12072025/01/29/image_12072025_01_30_04_10649.jpg', '/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_53_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_43_9646.jpg
/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_34_10656.jpg
/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_23_9646.jpg
/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_13_9666.jpg
/home/nano/Desktop/images/12072025/01/29/image_12072025_01_30_04_10649.jpg
/home/nano/Desktop/images/12072025/01/29/image_12072025_01_29_53_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371768714","1371768740","1371768563","1371768658","1371768517","1371768466"],"photo_ids_order":["1371768466","1371768517","1371768563","1371768658","1371768714","1371768740"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/557cf241787fa19f7e2e9dd939ec8c09.jpg","text":"TemporaryFile(/tmp/multipartBody536335480573674141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276678627,"filename":"image_12072025_01_30_04_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfc05a4a9e89dfad5d319285c63daabb.jpg","text":"TemporaryFile(/tmp/multipartBody498293439080822439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276678627,"filename":"image_12072025_01_29_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75c265bab105cd7aa1b5735f21842bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6208052548541943820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276678627,"filename":"image_12072025_01_30_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9108bf6437b0624923d447198c285e21.jpg","text":"TemporaryFile(/tmp/multipartBody1087280149840652578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276678627,"filename":"image_12072025_01_30_13_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d637c7c382e83211996b8c595c5996f.jpg","text":"TemporaryFile(/tmp/multipartBody4539305680212250126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276678627,"filename":"image_12072025_01_30_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb62766a7b9ac4e11d469458291a25b6.jpg","text":"TemporaryFile(/tmp/multipartBody8464839519240775123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276678627,"filename":"image_12072025_01_30_43_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371768563","file1":"1371768517","file0":"1371768466","file4":"1371768714","file5":"1371768740","file3":"1371768658"},"map_files_photo_id_array":[{"photo_id":"1371768740","filename":"file5"},{"photo_id":"1371768563","filename":"file2"},{"photo_id":"1371768714","filename":"file4"},{"photo_id":"1371768517","filename":"file1"},{"photo_id":"1371768466","filename":"file0"},{"photo_id":"1371768658","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371768714":["hashtag1","hashtag2"]},{"1371768740":["hashtag1","hashtag2"]},{"1371768563":["hashtag1","hashtag2"]},{"1371768658":["hashtag1","hashtag2"]},{"1371768517":["hashtag1","hashtag2"]},{"1371768466":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371768714, 1371768740, 1371768563, 1371768658, 1371768517, 1371768466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57179665565491 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:31:02.332259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/09/image_10072025_23_09_14_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/23/08/image_10072025_23_08_34_10666.jpg', 2), ('/home/nano/Desktop/images/10072025/23/08/image_10072025_23_08_23_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/23/07/image_10072025_23_08_04_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_53_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_44_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/09/image_10072025_23_09_14_9665.jpg', '/home/nano/Desktop/images/10072025/23/08/image_10072025_23_08_34_10666.jpg', '/home/nano/Desktop/images/10072025/23/08/image_10072025_23_08_23_9652.jpg', '/home/nano/Desktop/images/10072025/23/07/image_10072025_23_08_04_10660.jpg', '/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_53_9652.jpg', '/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_44_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/09/image_10072025_23_09_14_9665.jpg
/home/nano/Desktop/images/10072025/23/08/image_10072025_23_08_34_10666.jpg
/home/nano/Desktop/images/10072025/23/08/image_10072025_23_08_23_9652.jpg
/home/nano/Desktop/images/10072025/23/07/image_10072025_23_08_04_10660.jpg
/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_53_9652.jpg
/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_44_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371769137","1371769193","1371769310","1371769351","1371769386","1371769245"],"photo_ids_order":["1371769137","1371769193","1371769245","1371769310","1371769351","1371769386"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97fdf1985983b934caf134ec40e68cb2.jpg","text":"TemporaryFile(/tmp/multipartBody1709516997723526686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276725300,"filename":"image_10072025_23_09_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70bf60af2b2fed359323b649af1322a1.jpg","text":"TemporaryFile(/tmp/multipartBody3869374982297004301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276725300,"filename":"image_10072025_23_08_34_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6d76b198f30ccab2cd6ae94f2bee167.jpg","text":"TemporaryFile(/tmp/multipartBody434904574678023229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276725300,"filename":"image_10072025_23_08_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/150242d9eb713837948124c73bf85356.jpg","text":"TemporaryFile(/tmp/multipartBody7171548976190071035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276725300,"filename":"image_10072025_23_07_53_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c23ee706cea90894c4cbbfbc9616b75e.jpg","text":"TemporaryFile(/tmp/multipartBody6690114396226159586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276725300,"filename":"image_10072025_23_07_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/066b72d6eaaf4963275791bbbfd2c2fb.jpg","text":"TemporaryFile(/tmp/multipartBody8960299810813740372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276725300,"filename":"image_10072025_23_08_23_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371769245","file1":"1371769193","file0":"1371769137","file4":"1371769351","file5":"1371769386","file3":"1371769310"},"map_files_photo_id_array":[{"photo_id":"1371769386","filename":"file5"},{"photo_id":"1371769245","filename":"file2"},{"photo_id":"1371769351","filename":"file4"},{"photo_id":"1371769193","filename":"file1"},{"photo_id":"1371769137","filename":"file0"},{"photo_id":"1371769310","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371769137":["hashtag1","hashtag2"]},{"1371769193":["hashtag1","hashtag2"]},{"1371769310":["hashtag1","hashtag2"]},{"1371769351":["hashtag1","hashtag2"]},{"1371769386":["hashtag1","hashtag2"]},{"1371769245":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371769137, 1371769193, 1371769310, 1371769351, 1371769386, 1371769245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9832489490509 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:31:46.926491
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_34_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_24_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_13_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/01/30/image_12072025_01_31_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_43_9637.jpg', '/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_34_9658.jpg', '/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_24_10651.jpg', '/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_13_9671.jpg', '/home/nano/Desktop/images/12072025/01/30/image_12072025_01_31_04_9645.jpg', '/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_43_9637.jpg
/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_34_9658.jpg
/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_24_10651.jpg
/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_13_9671.jpg
/home/nano/Desktop/images/12072025/01/30/image_12072025_01_31_04_9645.jpg
/home/nano/Desktop/images/12072025/01/30/image_12072025_01_30_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371769647","1371769707","1371769772","1371769681","1371769762","1371769735"],"photo_ids_order":["1371769647","1371769681","1371769707","1371769735","1371769762","1371769772"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ef128872601efe725b6b6b33711e52c.jpg","text":"TemporaryFile(/tmp/multipartBody5113505604299081538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276768582,"filename":"image_12072025_01_31_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b481ac6177140aefba8b46219fe6be32.jpg","text":"TemporaryFile(/tmp/multipartBody7587612357909318125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276768582,"filename":"image_12072025_01_31_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90c3fed7ddc3d9d2b2fc3ac35b77a117.jpg","text":"TemporaryFile(/tmp/multipartBody2267486288774315644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276768582,"filename":"image_12072025_01_30_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c87c3e2fff2ec37fec23dce15fd0464a.jpg","text":"TemporaryFile(/tmp/multipartBody6294049266094390852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276768582,"filename":"image_12072025_01_31_34_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59e754a64b4f9aae9e819cad21f9e9cf.jpg","text":"TemporaryFile(/tmp/multipartBody731601800863805826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276768582,"filename":"image_12072025_01_31_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efc23ba817e8a0f95a9f659713fc95a4.jpg","text":"TemporaryFile(/tmp/multipartBody1877821508067722291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276768582,"filename":"image_12072025_01_31_13_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371769707","file1":"1371769681","file0":"1371769647","file4":"1371769762","file5":"1371769772","file3":"1371769735"},"map_files_photo_id_array":[{"photo_id":"1371769772","filename":"file5"},{"photo_id":"1371769707","filename":"file2"},{"photo_id":"1371769762","filename":"file4"},{"photo_id":"1371769681","filename":"file1"},{"photo_id":"1371769647","filename":"file0"},{"photo_id":"1371769735","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371769647":["hashtag1","hashtag2"]},{"1371769707":["hashtag1","hashtag2"]},{"1371769772":["hashtag1","hashtag2"]},{"1371769681":["hashtag1","hashtag2"]},{"1371769762":["hashtag1","hashtag2"]},{"1371769735":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371769647, 1371769707, 1371769772, 1371769681, 1371769762, 1371769735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.149710178375244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:32:32.027008
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_43_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_34_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_13_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/01/31/image_12072025_01_32_04_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_43_9644.jpg', '/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_34_9640.jpg', '/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_24_10648.jpg', '/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_13_9660.jpg', '/home/nano/Desktop/images/12072025/01/31/image_12072025_01_32_04_9648.jpg', '/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_43_9644.jpg
/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_34_9640.jpg
/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_24_10648.jpg
/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_13_9660.jpg
/home/nano/Desktop/images/12072025/01/31/image_12072025_01_32_04_9648.jpg
/home/nano/Desktop/images/12072025/01/31/image_12072025_01_31_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371769889","1371769862","1371769970","1371769941","1371769914","1371769836"],"photo_ids_order":["1371769836","1371769862","1371769889","1371769914","1371769941","1371769970"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ccd07b8b7b7744f0cc3eef3a24441f4d.jpg","text":"TemporaryFile(/tmp/multipartBody331542034388402227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276813579,"filename":"image_12072025_01_32_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29a0d77556bae9a4fd0dfb7b348c8379.jpg","text":"TemporaryFile(/tmp/multipartBody4002119750723097119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276813579,"filename":"image_12072025_01_32_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f05f30750ee86ac0f78071150ba1fd9.jpg","text":"TemporaryFile(/tmp/multipartBody2406367115900066164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276813579,"filename":"image_12072025_01_31_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/401fdbf184f51c1ea52db8c6dc214f49.jpg","text":"TemporaryFile(/tmp/multipartBody7071795790360094427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276813579,"filename":"image_12072025_01_32_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a8648d48a60b1cd80420fbc95d7e986.jpg","text":"TemporaryFile(/tmp/multipartBody9131964303705071593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276813579,"filename":"image_12072025_01_32_13_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb103ff349596a8484b60df087e3322b.jpg","text":"TemporaryFile(/tmp/multipartBody7403000186356739850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276813579,"filename":"image_12072025_01_32_43_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371769889","file1":"1371769862","file0":"1371769836","file4":"1371769941","file5":"1371769970","file3":"1371769914"},"map_files_photo_id_array":[{"photo_id":"1371769970","filename":"file5"},{"photo_id":"1371769889","filename":"file2"},{"photo_id":"1371769941","filename":"file4"},{"photo_id":"1371769862","filename":"file1"},{"photo_id":"1371769836","filename":"file0"},{"photo_id":"1371769914","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371769889":["hashtag1","hashtag2"]},{"1371769862":["hashtag1","hashtag2"]},{"1371769970":["hashtag1","hashtag2"]},{"1371769941":["hashtag1","hashtag2"]},{"1371769914":["hashtag1","hashtag2"]},{"1371769836":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371769889, 1371769862, 1371769970, 1371769941, 1371769914, 1371769836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40240454673767 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:33:17.109333
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_24_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/01/32/image_12072025_01_33_03_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_54_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_43_9637.jpg', '/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_33_9640.jpg', '/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_24_10673.jpg', '/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_13_9658.jpg', '/home/nano/Desktop/images/12072025/01/32/image_12072025_01_33_03_9638.jpg', '/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_54_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_43_9637.jpg
/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_33_9640.jpg
/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_24_10673.jpg
/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_13_9658.jpg
/home/nano/Desktop/images/12072025/01/32/image_12072025_01_33_03_9638.jpg
/home/nano/Desktop/images/12072025/01/32/image_12072025_01_32_54_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371770193","1371770220","1371770246","1371770167","1371770269","1371770140"],"photo_ids_order":["1371770140","1371770167","1371770193","1371770220","1371770246","1371770269"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8d96d54b14e8a74f0b530dd6c1c2ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1540261274382848116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276858369,"filename":"image_12072025_01_33_24_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fccf95c6982189838730ec7327d49238.jpg","text":"TemporaryFile(/tmp/multipartBody5599417845863602366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276858369,"filename":"image_12072025_01_33_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e240d3831de1146cca39e7da01289ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8988162480065777716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276858369,"filename":"image_12072025_01_33_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4bab4210913eb50a12fdf5297a93e31b.jpg","text":"TemporaryFile(/tmp/multipartBody6163732128932121171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276858369,"filename":"image_12072025_01_33_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb51e81a8eeb3b72e5b671e3333db0bd.jpg","text":"TemporaryFile(/tmp/multipartBody5131601127173761803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276858369,"filename":"image_12072025_01_32_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ace6d2949ae9ba14417c1273d351e03.jpg","text":"TemporaryFile(/tmp/multipartBody8336697283308829580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276858369,"filename":"image_12072025_01_33_43_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371770193","file1":"1371770167","file0":"1371770140","file4":"1371770246","file5":"1371770269","file3":"1371770220"},"map_files_photo_id_array":[{"photo_id":"1371770269","filename":"file5"},{"photo_id":"1371770193","filename":"file2"},{"photo_id":"1371770246","filename":"file4"},{"photo_id":"1371770167","filename":"file1"},{"photo_id":"1371770140","filename":"file0"},{"photo_id":"1371770220","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371770193":["hashtag1","hashtag2"]},{"1371770220":["hashtag1","hashtag2"]},{"1371770246":["hashtag1","hashtag2"]},{"1371770167":["hashtag1","hashtag2"]},{"1371770269":["hashtag1","hashtag2"]},{"1371770140":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371770193, 1371770220, 1371770246, 1371770167, 1371770269, 1371770140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.98531174659729 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:34:02.809344
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_33_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_23_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_14_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/23/06/image_10072025_23_07_03_9660.jpg', 2), ('/home/nano/Desktop/images/10072025/23/06/image_10072025_23_06_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/05/image_10072025_23_05_53_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_33_9648.jpg', '/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_23_9647.jpg', '/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_14_10675.jpg', '/home/nano/Desktop/images/10072025/23/06/image_10072025_23_07_03_9660.jpg', '/home/nano/Desktop/images/10072025/23/06/image_10072025_23_06_53_9646.jpg', '/home/nano/Desktop/images/10072025/23/05/image_10072025_23_05_53_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_33_9648.jpg
/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_23_9647.jpg
/home/nano/Desktop/images/10072025/23/07/image_10072025_23_07_14_10675.jpg
/home/nano/Desktop/images/10072025/23/06/image_10072025_23_07_03_9660.jpg
/home/nano/Desktop/images/10072025/23/06/image_10072025_23_06_53_9646.jpg
/home/nano/Desktop/images/10072025/23/05/image_10072025_23_05_53_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371770667","1371770861","1371770903","1371770755","1371770572","1371770827"],"photo_ids_order":["1371770572","1371770667","1371770755","1371770827","1371770861","1371770903"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5df529369752a34e38ff10b4792e2895.jpg","text":"TemporaryFile(/tmp/multipartBody2309625225277550850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276905784,"filename":"image_10072025_23_07_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f60000f9ab8910cc7d979ec5b641284e.jpg","text":"TemporaryFile(/tmp/multipartBody552512482917368781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276905784,"filename":"image_10072025_23_06_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48225f2b3d631d783271516c3d0d161b.jpg","text":"TemporaryFile(/tmp/multipartBody4928287892933724602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276905784,"filename":"image_10072025_23_05_53_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33390b4bc07cb3718741e56170a49096.jpg","text":"TemporaryFile(/tmp/multipartBody8562616090934649797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276905784,"filename":"image_10072025_23_07_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f78c00d64c02e13d32b5d8227348a994.jpg","text":"TemporaryFile(/tmp/multipartBody5567961652016324831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276905784,"filename":"image_10072025_23_07_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a44878be3e80af7c39fb73710d5ac1f4.jpg","text":"TemporaryFile(/tmp/multipartBody4096249819649186866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276905784,"filename":"image_10072025_23_07_03_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371770755","file1":"1371770667","file0":"1371770572","file4":"1371770861","file5":"1371770903","file3":"1371770827"},"map_files_photo_id_array":[{"photo_id":"1371770903","filename":"file5"},{"photo_id":"1371770755","filename":"file2"},{"photo_id":"1371770861","filename":"file4"},{"photo_id":"1371770667","filename":"file1"},{"photo_id":"1371770572","filename":"file0"},{"photo_id":"1371770827","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371770667":["hashtag1","hashtag2"]},{"1371770861":["hashtag1","hashtag2"]},{"1371770903":["hashtag1","hashtag2"]},{"1371770755":["hashtag1","hashtag2"]},{"1371770572":["hashtag1","hashtag2"]},{"1371770827":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371770667, 1371770861, 1371770903, 1371770755, 1371770572, 1371770827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.619813680648804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:34:47.219781
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_44_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_24_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_14_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/01/33/image_12072025_01_34_03_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_44_10652.jpg', '/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_33_9645.jpg', '/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_24_9641.jpg', '/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_14_10665.jpg', '/home/nano/Desktop/images/12072025/01/33/image_12072025_01_34_03_9644.jpg', '/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_44_10652.jpg
/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_33_9645.jpg
/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_24_9641.jpg
/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_14_10665.jpg
/home/nano/Desktop/images/12072025/01/33/image_12072025_01_34_03_9644.jpg
/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_54_10648.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.45070219039917 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:35:02.794327
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_44_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_24_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_14_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/01/33/image_12072025_01_34_03_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_44_10652.jpg', '/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_33_9645.jpg', '/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_24_9641.jpg', '/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_14_10665.jpg', '/home/nano/Desktop/images/12072025/01/33/image_12072025_01_34_03_9644.jpg', '/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_44_10652.jpg
/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_33_9645.jpg
/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_24_9641.jpg
/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_14_10665.jpg
/home/nano/Desktop/images/12072025/01/33/image_12072025_01_34_03_9644.jpg
/home/nano/Desktop/images/12072025/01/33/image_12072025_01_33_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371771246","1371771284","1371771374","1371771332","1371771218","1371771409"],"photo_ids_order":["1371771218","1371771246","1371771284","1371771332","1371771374","1371771409"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed59cada3d62dbae86e56816e9f3b885.jpg","text":"TemporaryFile(/tmp/multipartBody6984691384755871854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276964170,"filename":"image_12072025_01_34_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b4e0c976b8f76d029d3b7a23ea123ae.jpg","text":"TemporaryFile(/tmp/multipartBody7883765003595592360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276964170,"filename":"image_12072025_01_34_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcda77b8b7a59cd3cfbfdb17470716d2.jpg","text":"TemporaryFile(/tmp/multipartBody7577263157263909578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276964170,"filename":"image_12072025_01_34_03_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b53406ff12b53ffe86d84ee19e8fb9ec.jpg","text":"TemporaryFile(/tmp/multipartBody6739413829539500082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276964170,"filename":"image_12072025_01_34_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fa0c0460e9a96987080b3c6209159a9.jpg","text":"TemporaryFile(/tmp/multipartBody6038832727410223698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276964170,"filename":"image_12072025_01_34_44_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/223dda4dcbad81ebc4086f1fad9f4d5d.jpg","text":"TemporaryFile(/tmp/multipartBody6748167208957985414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752276964170,"filename":"image_12072025_01_33_54_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371771284","file1":"1371771246","file0":"1371771218","file4":"1371771374","file5":"1371771409","file3":"1371771332"},"map_files_photo_id_array":[{"photo_id":"1371771409","filename":"file5"},{"photo_id":"1371771284","filename":"file2"},{"photo_id":"1371771374","filename":"file4"},{"photo_id":"1371771246","filename":"file1"},{"photo_id":"1371771218","filename":"file0"},{"photo_id":"1371771332","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371771246":["hashtag1","hashtag2"]},{"1371771284":["hashtag1","hashtag2"]},{"1371771374":["hashtag1","hashtag2"]},{"1371771332":["hashtag1","hashtag2"]},{"1371771218":["hashtag1","hashtag2"]},{"1371771409":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371771246, 1371771284, 1371771374, 1371771332, 1371771218, 1371771409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.617695569992065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:35:47.328622
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_33_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_14_10717.jpg', 2), ('/home/nano/Desktop/images/12072025/01/34/image_12072025_01_35_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_44_10648.jpg', '/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_33_9661.jpg', '/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_24_9638.jpg', '/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_14_10717.jpg', '/home/nano/Desktop/images/12072025/01/34/image_12072025_01_35_03_9646.jpg', '/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_44_10648.jpg
/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_33_9661.jpg
/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_24_9638.jpg
/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_14_10717.jpg
/home/nano/Desktop/images/12072025/01/34/image_12072025_01_35_03_9646.jpg
/home/nano/Desktop/images/12072025/01/34/image_12072025_01_34_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371771710","1371771685","1371771772","1371771760","1371771736","1371771777"],"photo_ids_order":["1371771685","1371771710","1371771736","1371771760","1371771772","1371771777"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5a8c526c67167449eb2b5e8aed6c02a.jpg","text":"TemporaryFile(/tmp/multipartBody2217027182321392548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277008506,"filename":"image_12072025_01_35_33_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f81f5f1d8d86f28e70294a321a227387.jpg","text":"TemporaryFile(/tmp/multipartBody2700398028175513470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277008506,"filename":"image_12072025_01_35_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0569fd79a150593a55e7cee694f76d23.jpg","text":"TemporaryFile(/tmp/multipartBody7789276873867716153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277008506,"filename":"image_12072025_01_35_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c91fd1ad608d7919473e71bd48eddf35.jpg","text":"TemporaryFile(/tmp/multipartBody7208209351833478383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277008506,"filename":"image_12072025_01_35_14_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c13f35e7e5eb9ae05c2b80e110a0ffee.jpg","text":"TemporaryFile(/tmp/multipartBody9058414962724804914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277008506,"filename":"image_12072025_01_35_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88c6606f903006a2f5a06f9572b10262.jpg","text":"TemporaryFile(/tmp/multipartBody9132737648405987652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277008506,"filename":"image_12072025_01_34_54_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371771736","file1":"1371771710","file0":"1371771685","file4":"1371771772","file5":"1371771777","file3":"1371771760"},"map_files_photo_id_array":[{"photo_id":"1371771777","filename":"file5"},{"photo_id":"1371771736","filename":"file2"},{"photo_id":"1371771772","filename":"file4"},{"photo_id":"1371771710","filename":"file1"},{"photo_id":"1371771685","filename":"file0"},{"photo_id":"1371771760","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371771710":["hashtag1","hashtag2"]},{"1371771685":["hashtag1","hashtag2"]},{"1371771772":["hashtag1","hashtag2"]},{"1371771760":["hashtag1","hashtag2"]},{"1371771736":["hashtag1","hashtag2"]},{"1371771777":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371771710, 1371771685, 1371771772, 1371771760, 1371771736, 1371771777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.460639238357544 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:36:32.443922
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_33_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_14_10714.jpg', 2), ('/home/nano/Desktop/images/12072025/01/35/image_12072025_01_36_03_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_44_10649.jpg', '/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_33_9647.jpg', '/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_24_9637.jpg', '/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_14_10714.jpg', '/home/nano/Desktop/images/12072025/01/35/image_12072025_01_36_03_9648.jpg', '/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_54_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_44_10649.jpg
/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_33_9647.jpg
/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_24_9637.jpg
/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_14_10714.jpg
/home/nano/Desktop/images/12072025/01/35/image_12072025_01_36_03_9648.jpg
/home/nano/Desktop/images/12072025/01/35/image_12072025_01_35_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371771971","1371771947","1371771895","1371771859","1371771922","1371771867"],"photo_ids_order":["1371771859","1371771867","1371771895","1371771922","1371771947","1371771971"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fe0b483ab7a9dd0fa63b7ce717afe99.jpg","text":"TemporaryFile(/tmp/multipartBody3011101355964195848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277053941,"filename":"image_12072025_01_35_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5e19654ef90d27a622dd5f3178257e4.jpg","text":"TemporaryFile(/tmp/multipartBody3349950788463949520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277053941,"filename":"image_12072025_01_36_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e19964eb161d6fe37c5f3d792220407.jpg","text":"TemporaryFile(/tmp/multipartBody1830656400093473210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277053941,"filename":"image_12072025_01_36_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c0dce916995b5b637394bb0cece61b9.jpg","text":"TemporaryFile(/tmp/multipartBody977376217770171386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277053941,"filename":"image_12072025_01_36_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2361ffa255afc74ac79e164bc21267a9.jpg","text":"TemporaryFile(/tmp/multipartBody163508226684769137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277053941,"filename":"image_12072025_01_36_14_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a7a0f81e1273e1cf4eec4f128fb3112.jpg","text":"TemporaryFile(/tmp/multipartBody184848239684848436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277053941,"filename":"image_12072025_01_36_33_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371771895","file1":"1371771867","file0":"1371771859","file4":"1371771947","file5":"1371771971","file3":"1371771922"},"map_files_photo_id_array":[{"photo_id":"1371771971","filename":"file5"},{"photo_id":"1371771895","filename":"file2"},{"photo_id":"1371771947","filename":"file4"},{"photo_id":"1371771867","filename":"file1"},{"photo_id":"1371771859","filename":"file0"},{"photo_id":"1371771922","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371771971":["hashtag1","hashtag2"]},{"1371771947":["hashtag1","hashtag2"]},{"1371771895":["hashtag1","hashtag2"]},{"1371771859":["hashtag1","hashtag2"]},{"1371771922":["hashtag1","hashtag2"]},{"1371771867":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371771971, 1371771947, 1371771895, 1371771859, 1371771922, 1371771867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.871699333190918 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:37:17.533787
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_44_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_14_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/01/36/image_12072025_01_37_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_44_10654.jpg', '/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_33_9639.jpg', '/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_23_9636.jpg', '/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_14_10671.jpg', '/home/nano/Desktop/images/12072025/01/36/image_12072025_01_37_03_9643.jpg', '/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_54_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_44_10654.jpg
/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_33_9639.jpg
/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_23_9636.jpg
/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_14_10671.jpg
/home/nano/Desktop/images/12072025/01/36/image_12072025_01_37_03_9643.jpg
/home/nano/Desktop/images/12072025/01/36/image_12072025_01_36_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371772157","1371772229","1371772258","1371772194","1371772134","1371772181"],"photo_ids_order":["1371772134","1371772157","1371772181","1371772194","1371772229","1371772258"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01bfb44868bd542e9f1918f51ad1cb40.jpg","text":"TemporaryFile(/tmp/multipartBody3767322642670502872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277099177,"filename":"image_12072025_01_37_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/857f9c35a80cd044a2e58c0a2910c78d.jpg","text":"TemporaryFile(/tmp/multipartBody1760890384761388226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277099177,"filename":"image_12072025_01_37_03_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b94ebbccba62971581514bbda6c0b381.jpg","text":"TemporaryFile(/tmp/multipartBody4287829016931543391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277099177,"filename":"image_12072025_01_36_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60dc281c64eade9f908f00ef3b645237.jpg","text":"TemporaryFile(/tmp/multipartBody6652660640790058190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277099177,"filename":"image_12072025_01_37_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c32d9ed1edf8299b03c8f01e9a44106.jpg","text":"TemporaryFile(/tmp/multipartBody4219682688973383239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277099177,"filename":"image_12072025_01_37_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9e3b47d6f6f09473ab5eda440890409.jpg","text":"TemporaryFile(/tmp/multipartBody5622296149376435291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277099177,"filename":"image_12072025_01_37_23_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371772181","file1":"1371772157","file0":"1371772134","file4":"1371772229","file5":"1371772258","file3":"1371772194"},"map_files_photo_id_array":[{"photo_id":"1371772258","filename":"file5"},{"photo_id":"1371772181","filename":"file2"},{"photo_id":"1371772229","filename":"file4"},{"photo_id":"1371772157","filename":"file1"},{"photo_id":"1371772134","filename":"file0"},{"photo_id":"1371772194","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371772157":["hashtag1","hashtag2"]},{"1371772229":["hashtag1","hashtag2"]},{"1371772258":["hashtag1","hashtag2"]},{"1371772194":["hashtag1","hashtag2"]},{"1371772134":["hashtag1","hashtag2"]},{"1371772181":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371772157, 1371772229, 1371772258, 1371772194, 1371772134, 1371772181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.616098165512085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:38:02.991549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/05/image_10072025_23_05_44_10676.jpg', 2), ('/home/nano/Desktop/images/10072025/23/05/image_10072025_23_05_33_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/23/04/image_10072025_23_04_53_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/23/04/image_10072025_23_04_33_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/23/04/image_10072025_23_04_14_10683.jpg', 2), ('/home/nano/Desktop/images/10072025/23/03/image_10072025_23_04_03_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/05/image_10072025_23_05_44_10676.jpg', '/home/nano/Desktop/images/10072025/23/05/image_10072025_23_05_33_9665.jpg', '/home/nano/Desktop/images/10072025/23/04/image_10072025_23_04_53_9651.jpg', '/home/nano/Desktop/images/10072025/23/04/image_10072025_23_04_33_9664.jpg', '/home/nano/Desktop/images/10072025/23/04/image_10072025_23_04_14_10683.jpg', '/home/nano/Desktop/images/10072025/23/03/image_10072025_23_04_03_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/05/image_10072025_23_05_44_10676.jpg
/home/nano/Desktop/images/10072025/23/05/image_10072025_23_05_33_9665.jpg
/home/nano/Desktop/images/10072025/23/04/image_10072025_23_04_53_9651.jpg
/home/nano/Desktop/images/10072025/23/04/image_10072025_23_04_33_9664.jpg
/home/nano/Desktop/images/10072025/23/04/image_10072025_23_04_14_10683.jpg
/home/nano/Desktop/images/10072025/23/03/image_10072025_23_04_03_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371772463","1371772433","1371772409","1371772399","1371772390","1371772509"],"photo_ids_order":["1371772390","1371772399","1371772409","1371772433","1371772463","1371772509"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14077574ac272547e53607f7a33b85a3.jpg","text":"TemporaryFile(/tmp/multipartBody8773404491313597802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277145783,"filename":"image_10072025_23_04_14_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c11a759de6f1c75b8495ce22f6edd1de.jpg","text":"TemporaryFile(/tmp/multipartBody3314352647435163445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277145783,"filename":"image_10072025_23_04_33_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb128e459ec073b6c48682cea5c0a9f0.jpg","text":"TemporaryFile(/tmp/multipartBody3936568149883369375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277145783,"filename":"image_10072025_23_04_53_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d43131f1ac23c93813972c2327dd163.jpg","text":"TemporaryFile(/tmp/multipartBody4691557624661554261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277145783,"filename":"image_10072025_23_05_33_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bad5b241481f2e2f0cca3d764cc65dc3.jpg","text":"TemporaryFile(/tmp/multipartBody1399771406406280336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277145783,"filename":"image_10072025_23_05_44_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38284f32d75bcfeacda064217ee26089.jpg","text":"TemporaryFile(/tmp/multipartBody7474708307083740336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277145783,"filename":"image_10072025_23_04_03_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371772409","file1":"1371772399","file0":"1371772390","file4":"1371772463","file5":"1371772509","file3":"1371772433"},"map_files_photo_id_array":[{"photo_id":"1371772509","filename":"file5"},{"photo_id":"1371772409","filename":"file2"},{"photo_id":"1371772463","filename":"file4"},{"photo_id":"1371772399","filename":"file1"},{"photo_id":"1371772390","filename":"file0"},{"photo_id":"1371772433","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371772463":["hashtag1","hashtag2"]},{"1371772433":["hashtag1","hashtag2"]},{"1371772409":["hashtag1","hashtag2"]},{"1371772399":["hashtag1","hashtag2"]},{"1371772390":["hashtag1","hashtag2"]},{"1371772509":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371772463, 1371772433, 1371772409, 1371772399, 1371772390, 1371772509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7693133354187 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:38:47.628426
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_44_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_34_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_14_9678.jpg', 2), ('/home/nano/Desktop/images/12072025/01/37/image_12072025_01_38_04_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_44_9642.jpg', '/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_34_10664.jpg', '/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_23_9639.jpg', '/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_14_9678.jpg', '/home/nano/Desktop/images/12072025/01/37/image_12072025_01_38_04_10666.jpg', '/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_44_9642.jpg
/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_34_10664.jpg
/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_23_9639.jpg
/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_14_9678.jpg
/home/nano/Desktop/images/12072025/01/37/image_12072025_01_38_04_10666.jpg
/home/nano/Desktop/images/12072025/01/37/image_12072025_01_37_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371772853","1371772832","1371772753","1371772779","1371772804","1371772683"],"photo_ids_order":["1371772683","1371772753","1371772779","1371772804","1371772832","1371772853"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c2bf7e4495cdebba75f3fc46d24ccb4.jpg","text":"TemporaryFile(/tmp/multipartBody7959427367834979507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277188937,"filename":"image_12072025_01_37_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e2f434188f1d0163ab401c590cbc09e.jpg","text":"TemporaryFile(/tmp/multipartBody8064546244245731131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277188937,"filename":"image_12072025_01_38_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c25e7fa74d7b322b93d68a245d8e714.jpg","text":"TemporaryFile(/tmp/multipartBody6356486494408586620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277188937,"filename":"image_12072025_01_38_34_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d75ca0dbfe90fc9f742f2861f9f479e.jpg","text":"TemporaryFile(/tmp/multipartBody2619738300322034071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277188937,"filename":"image_12072025_01_38_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48ad25eda1b3636b4be1ac0ee855a32a.jpg","text":"TemporaryFile(/tmp/multipartBody800125276616582079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277188937,"filename":"image_12072025_01_38_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3453d9ae4c7f9d68faeffe19c6896329.jpg","text":"TemporaryFile(/tmp/multipartBody7863929865379278848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277188937,"filename":"image_12072025_01_38_44_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371772779","file1":"1371772753","file0":"1371772683","file4":"1371772832","file5":"1371772853","file3":"1371772804"},"map_files_photo_id_array":[{"photo_id":"1371772853","filename":"file5"},{"photo_id":"1371772779","filename":"file2"},{"photo_id":"1371772832","filename":"file4"},{"photo_id":"1371772753","filename":"file1"},{"photo_id":"1371772683","filename":"file0"},{"photo_id":"1371772804","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371772853":["hashtag1","hashtag2"]},{"1371772832":["hashtag1","hashtag2"]},{"1371772753":["hashtag1","hashtag2"]},{"1371772779":["hashtag1","hashtag2"]},{"1371772804":["hashtag1","hashtag2"]},{"1371772683":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371772853, 1371772832, 1371772753, 1371772779, 1371772804, 1371772683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39964985847473 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:39:32.742786
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_14_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/01/38/image_12072025_01_39_04_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_44_9637.jpg', '/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_34_10648.jpg', '/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_23_9638.jpg', '/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_14_9660.jpg', '/home/nano/Desktop/images/12072025/01/38/image_12072025_01_39_04_10667.jpg', '/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_44_9637.jpg
/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_34_10648.jpg
/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_23_9638.jpg
/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_14_9660.jpg
/home/nano/Desktop/images/12072025/01/38/image_12072025_01_39_04_10667.jpg
/home/nano/Desktop/images/12072025/01/38/image_12072025_01_38_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371772985","1371772946","1371772931","1371772925","1371772920","1371772923"],"photo_ids_order":["1371772920","1371772923","1371772925","1371772931","1371772946","1371772985"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85996470771f74a04d91ec774f7625b8.jpg","text":"TemporaryFile(/tmp/multipartBody3300674985707945961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277234300,"filename":"image_12072025_01_38_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a2478d94467ef91baf0346642b97a5a.jpg","text":"TemporaryFile(/tmp/multipartBody1342514790146483288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277234300,"filename":"image_12072025_01_39_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63ffadbadbc2130bd1831ae7eb1c293c.jpg","text":"TemporaryFile(/tmp/multipartBody1016344150685696439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277234300,"filename":"image_12072025_01_39_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f147019681e720f0db6f29e904431a88.jpg","text":"TemporaryFile(/tmp/multipartBody4317041176546096824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277234300,"filename":"image_12072025_01_39_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/038616cbb2e87b3479a88392553886ce.jpg","text":"TemporaryFile(/tmp/multipartBody4464390562082284492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277234300,"filename":"image_12072025_01_39_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae44982b4a6a2c84d128f2f28030aa01.jpg","text":"TemporaryFile(/tmp/multipartBody398878463980605037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277234300,"filename":"image_12072025_01_39_34_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371772925","file1":"1371772923","file0":"1371772920","file4":"1371772946","file5":"1371772985","file3":"1371772931"},"map_files_photo_id_array":[{"photo_id":"1371772985","filename":"file5"},{"photo_id":"1371772925","filename":"file2"},{"photo_id":"1371772946","filename":"file4"},{"photo_id":"1371772923","filename":"file1"},{"photo_id":"1371772920","filename":"file0"},{"photo_id":"1371772931","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371772985":["hashtag1","hashtag2"]},{"1371772946":["hashtag1","hashtag2"]},{"1371772931":["hashtag1","hashtag2"]},{"1371772925":["hashtag1","hashtag2"]},{"1371772920":["hashtag1","hashtag2"]},{"1371772923":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371772985, 1371772946, 1371772931, 1371772925, 1371772920, 1371772923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05213785171509 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:40:16.831463
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_14_9690.jpg', 2), ('/home/nano/Desktop/images/12072025/01/39/image_12072025_01_40_04_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_53_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_44_9639.jpg', '/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_34_10649.jpg', '/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_23_9636.jpg', '/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_14_9690.jpg', '/home/nano/Desktop/images/12072025/01/39/image_12072025_01_40_04_10670.jpg', '/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_53_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_44_9639.jpg
/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_34_10649.jpg
/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_23_9636.jpg
/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_14_9690.jpg
/home/nano/Desktop/images/12072025/01/39/image_12072025_01_40_04_10670.jpg
/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_53_9636.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3014070987701416 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:40:31.839624
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_14_9690.jpg', 2), ('/home/nano/Desktop/images/12072025/01/39/image_12072025_01_40_04_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_53_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_44_9639.jpg', '/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_34_10649.jpg', '/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_23_9636.jpg', '/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_14_9690.jpg', '/home/nano/Desktop/images/12072025/01/39/image_12072025_01_40_04_10670.jpg', '/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_53_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_44_9639.jpg
/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_34_10649.jpg
/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_23_9636.jpg
/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_14_9690.jpg
/home/nano/Desktop/images/12072025/01/39/image_12072025_01_40_04_10670.jpg
/home/nano/Desktop/images/12072025/01/39/image_12072025_01_39_53_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371773324","1371773464","1371773422","1371773372","1371773276","1371773255"],"photo_ids_order":["1371773255","1371773276","1371773324","1371773372","1371773422","1371773464"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae64c5dbe0dca1df7f36509e86f71201.jpg","text":"TemporaryFile(/tmp/multipartBody5959216431333862116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277293215,"filename":"image_12072025_01_40_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/648ece67abbc482a9ace90fa01b7ddde.jpg","text":"TemporaryFile(/tmp/multipartBody6315983183268947168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277293215,"filename":"image_12072025_01_39_53_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/708d8693c334ab7ba9ea14176c00a798.jpg","text":"TemporaryFile(/tmp/multipartBody2471211635702061307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277293215,"filename":"image_12072025_01_40_04_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6fffb25083bfdf2407ff297bae5e63a.jpg","text":"TemporaryFile(/tmp/multipartBody8683347385852850622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277293215,"filename":"image_12072025_01_40_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89a9d6d0b0767d212ab1d801a24fba25.jpg","text":"TemporaryFile(/tmp/multipartBody6514933438694724575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277293215,"filename":"image_12072025_01_40_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/326b478182a25ee3ea583cb107d45a66.jpg","text":"TemporaryFile(/tmp/multipartBody3539713641462180308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277293215,"filename":"image_12072025_01_40_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371773324","file1":"1371773276","file0":"1371773255","file4":"1371773422","file5":"1371773464","file3":"1371773372"},"map_files_photo_id_array":[{"photo_id":"1371773464","filename":"file5"},{"photo_id":"1371773324","filename":"file2"},{"photo_id":"1371773422","filename":"file4"},{"photo_id":"1371773276","filename":"file1"},{"photo_id":"1371773255","filename":"file0"},{"photo_id":"1371773372","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371773324":["hashtag1","hashtag2"]},{"1371773464":["hashtag1","hashtag2"]},{"1371773422":["hashtag1","hashtag2"]},{"1371773372":["hashtag1","hashtag2"]},{"1371773276":["hashtag1","hashtag2"]},{"1371773255":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371773324, 1371773464, 1371773422, 1371773372, 1371773276, 1371773255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.361825704574585 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:41:16.965358
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_43_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_34_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_13_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/01/40/image_12072025_01_41_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_43_9655.jpg', '/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_34_10667.jpg', '/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_23_9637.jpg', '/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_13_9668.jpg', '/home/nano/Desktop/images/12072025/01/40/image_12072025_01_41_04_10657.jpg', '/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_43_9655.jpg
/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_34_10667.jpg
/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_23_9637.jpg
/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_13_9668.jpg
/home/nano/Desktop/images/12072025/01/40/image_12072025_01_41_04_10657.jpg
/home/nano/Desktop/images/12072025/01/40/image_12072025_01_40_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371773764","1371773926","1371773880","1371773809","1371773841","1371773975"],"photo_ids_order":["1371773764","1371773809","1371773841","1371773880","1371773926","1371773975"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61402661c243d5afe1f5ba7667cec390.jpg","text":"TemporaryFile(/tmp/multipartBody460346119881116325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277338401,"filename":"image_12072025_01_41_43_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5b02bfcb969e3a9250cc9f5a8872dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8573776948475775137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277338401,"filename":"image_12072025_01_41_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f35bbefc05b71695196c0bfe5ce2ab5.jpg","text":"TemporaryFile(/tmp/multipartBody6630294656386376173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277338401,"filename":"image_12072025_01_41_13_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41e4d6d0f1b49dc2d39d9f2784eb1e16.jpg","text":"TemporaryFile(/tmp/multipartBody5362980422641277652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277338401,"filename":"image_12072025_01_41_34_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbc0e19065f7adfe94375ed073656a53.jpg","text":"TemporaryFile(/tmp/multipartBody7522806066457329351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277338401,"filename":"image_12072025_01_41_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ab1a32eac5c9b04606360d03a57a1e6.jpg","text":"TemporaryFile(/tmp/multipartBody3381645738603962375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277338401,"filename":"image_12072025_01_40_53_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371773841","file1":"1371773809","file0":"1371773764","file4":"1371773926","file5":"1371773975","file3":"1371773880"},"map_files_photo_id_array":[{"photo_id":"1371773975","filename":"file5"},{"photo_id":"1371773841","filename":"file2"},{"photo_id":"1371773926","filename":"file4"},{"photo_id":"1371773809","filename":"file1"},{"photo_id":"1371773764","filename":"file0"},{"photo_id":"1371773880","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371773764":["hashtag1","hashtag2"]},{"1371773926":["hashtag1","hashtag2"]},{"1371773880":["hashtag1","hashtag2"]},{"1371773809":["hashtag1","hashtag2"]},{"1371773841":["hashtag1","hashtag2"]},{"1371773975":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371773764, 1371773926, 1371773880, 1371773809, 1371773841, 1371773975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74590706825256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:42:02.436437
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/03/image_10072025_23_03_53_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/23/02/image_10072025_23_02_54_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/23/02/image_10072025_23_02_44_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/23/02/image_10072025_23_02_33_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/23/02/image_10072025_23_02_24_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/23/01/image_10072025_23_02_03_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/03/image_10072025_23_03_53_9647.jpg', '/home/nano/Desktop/images/10072025/23/02/image_10072025_23_02_54_9654.jpg', '/home/nano/Desktop/images/10072025/23/02/image_10072025_23_02_44_10663.jpg', '/home/nano/Desktop/images/10072025/23/02/image_10072025_23_02_33_9647.jpg', '/home/nano/Desktop/images/10072025/23/02/image_10072025_23_02_24_9665.jpg', '/home/nano/Desktop/images/10072025/23/01/image_10072025_23_02_03_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/03/image_10072025_23_03_53_9647.jpg
/home/nano/Desktop/images/10072025/23/02/image_10072025_23_02_54_9654.jpg
/home/nano/Desktop/images/10072025/23/02/image_10072025_23_02_44_10663.jpg
/home/nano/Desktop/images/10072025/23/02/image_10072025_23_02_33_9647.jpg
/home/nano/Desktop/images/10072025/23/02/image_10072025_23_02_24_9665.jpg
/home/nano/Desktop/images/10072025/23/01/image_10072025_23_02_03_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774157","1371774153","1371774155","1371774134","1371774158","1371774113"],"photo_ids_order":["1371774113","1371774134","1371774153","1371774155","1371774157","1371774158"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03a0f19af051e826068e6457a731ac3b.jpg","text":"TemporaryFile(/tmp/multipartBody2242996202726678876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277385300,"filename":"image_10072025_23_02_24_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c67097a43bcbdd2121eb4d8c387a0ddb.jpg","text":"TemporaryFile(/tmp/multipartBody9134544212550303473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277385300,"filename":"image_10072025_23_02_44_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b34cc248475e917888502bfbcaca6d91.jpg","text":"TemporaryFile(/tmp/multipartBody6164899235354576284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277385300,"filename":"image_10072025_23_02_33_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4909999084a3f42c4cbb5c5bd3c8d95c.jpg","text":"TemporaryFile(/tmp/multipartBody3276510038946227868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277385300,"filename":"image_10072025_23_02_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9064a1d97847a64cd0ffe37d83d950b.jpg","text":"TemporaryFile(/tmp/multipartBody7539691669692335280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277385300,"filename":"image_10072025_23_02_03_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01bbdafe6f1e1aef891eff978f5b67c6.jpg","text":"TemporaryFile(/tmp/multipartBody977151733451147177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277385300,"filename":"image_10072025_23_03_53_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774153","file1":"1371774134","file0":"1371774113","file4":"1371774157","file5":"1371774158","file3":"1371774155"},"map_files_photo_id_array":[{"photo_id":"1371774158","filename":"file5"},{"photo_id":"1371774153","filename":"file2"},{"photo_id":"1371774157","filename":"file4"},{"photo_id":"1371774134","filename":"file1"},{"photo_id":"1371774113","filename":"file0"},{"photo_id":"1371774155","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371774157":["hashtag1","hashtag2"]},{"1371774153":["hashtag1","hashtag2"]},{"1371774155":["hashtag1","hashtag2"]},{"1371774134":["hashtag1","hashtag2"]},{"1371774158":["hashtag1","hashtag2"]},{"1371774113":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371774157, 1371774153, 1371774155, 1371774134, 1371774158, 1371774113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.278037548065186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:42:47.069878
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_43_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_13_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/01/41/image_12072025_01_42_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_43_9636.jpg', '/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_34_9639.jpg', '/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_24_10647.jpg', '/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_13_9664.jpg', '/home/nano/Desktop/images/12072025/01/41/image_12072025_01_42_04_10657.jpg', '/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_43_9636.jpg
/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_34_9639.jpg
/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_24_10647.jpg
/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_13_9664.jpg
/home/nano/Desktop/images/12072025/01/41/image_12072025_01_42_04_10657.jpg
/home/nano/Desktop/images/12072025/01/41/image_12072025_01_41_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774184","1371774178","1371774187","1371774172","1371774195","1371774183"],"photo_ids_order":["1371774172","1371774178","1371774183","1371774184","1371774187","1371774195"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19416d45925604a0254d31920506aa5b.jpg","text":"TemporaryFile(/tmp/multipartBody6292462240805550430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277428571,"filename":"image_12072025_01_42_13_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a981c38fcaf2d04e7a3ec537a00e352.jpg","text":"TemporaryFile(/tmp/multipartBody9308610447149843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277428571,"filename":"image_12072025_01_42_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13dbbcdc66a3a8f19e6da6ecdd685069.jpg","text":"TemporaryFile(/tmp/multipartBody555500782999589178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277428571,"filename":"image_12072025_01_42_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca3827e97b76eecf506025609a4f601d.jpg","text":"TemporaryFile(/tmp/multipartBody9107084645807695342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277428571,"filename":"image_12072025_01_42_43_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d07ccb3bafd37561d4ce221dd6b993b9.jpg","text":"TemporaryFile(/tmp/multipartBody7557604161248648261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277428571,"filename":"image_12072025_01_41_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f42ae7db7afeebce78c276108f8c0e2e.jpg","text":"TemporaryFile(/tmp/multipartBody8802300743058227052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277428571,"filename":"image_12072025_01_42_24_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774183","file1":"1371774178","file0":"1371774172","file4":"1371774187","file5":"1371774195","file3":"1371774184"},"map_files_photo_id_array":[{"photo_id":"1371774195","filename":"file5"},{"photo_id":"1371774183","filename":"file2"},{"photo_id":"1371774187","filename":"file4"},{"photo_id":"1371774178","filename":"file1"},{"photo_id":"1371774172","filename":"file0"},{"photo_id":"1371774184","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371774184":["hashtag1","hashtag2"]},{"1371774178":["hashtag1","hashtag2"]},{"1371774187":["hashtag1","hashtag2"]},{"1371774172":["hashtag1","hashtag2"]},{"1371774195":["hashtag1","hashtag2"]},{"1371774183":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371774184, 1371774178, 1371774187, 1371774172, 1371774195, 1371774183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62380766868591 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:43:32.168241
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_34_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_13_9699.jpg', 2), ('/home/nano/Desktop/images/12072025/01/42/image_12072025_01_43_04_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_43_9639.jpg', '/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_34_9637.jpg', '/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_24_10647.jpg', '/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_13_9699.jpg', '/home/nano/Desktop/images/12072025/01/42/image_12072025_01_43_04_9636.jpg', '/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_43_9639.jpg
/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_34_9637.jpg
/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_24_10647.jpg
/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_13_9699.jpg
/home/nano/Desktop/images/12072025/01/42/image_12072025_01_43_04_9636.jpg
/home/nano/Desktop/images/12072025/01/42/image_12072025_01_42_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774208","1371774222","1371774219","1371774213","1371774215","1371774209"],"photo_ids_order":["1371774208","1371774209","1371774213","1371774215","1371774219","1371774222"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31f83a534e4e00d144ed24e77ea24df2.jpg","text":"TemporaryFile(/tmp/multipartBody2691432521526578492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277473891,"filename":"image_12072025_01_43_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ae26abdfe6773113b5de547f5c69bb1.jpg","text":"TemporaryFile(/tmp/multipartBody4330628796830693744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277473891,"filename":"image_12072025_01_42_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8cfdec6785bc4604b84b29861276d136.jpg","text":"TemporaryFile(/tmp/multipartBody4592155031871184934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277473891,"filename":"image_12072025_01_43_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e981a0f44fd63f41ae65b984452ea316.jpg","text":"TemporaryFile(/tmp/multipartBody6734455454678865668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277473891,"filename":"image_12072025_01_43_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3048b8a201f1fd1ef72614c5c5681b5.jpg","text":"TemporaryFile(/tmp/multipartBody3466059701608259027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277473891,"filename":"image_12072025_01_43_13_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0924a5581ce1a6a954830209982d024.jpg","text":"TemporaryFile(/tmp/multipartBody2692723307147209870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277473891,"filename":"image_12072025_01_43_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774213","file1":"1371774209","file0":"1371774208","file4":"1371774219","file5":"1371774222","file3":"1371774215"},"map_files_photo_id_array":[{"photo_id":"1371774222","filename":"file5"},{"photo_id":"1371774213","filename":"file2"},{"photo_id":"1371774219","filename":"file4"},{"photo_id":"1371774209","filename":"file1"},{"photo_id":"1371774208","filename":"file0"},{"photo_id":"1371774215","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371774208":["hashtag1","hashtag2"]},{"1371774222":["hashtag1","hashtag2"]},{"1371774219":["hashtag1","hashtag2"]},{"1371774213":["hashtag1","hashtag2"]},{"1371774215":["hashtag1","hashtag2"]},{"1371774209":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371774208, 1371774222, 1371774219, 1371774213, 1371774215, 1371774209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64539933204651 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:44:17.382606
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/44/image_12072025_01_44_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/44/image_12072025_01_44_24_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/01/44/image_12072025_01_44_13_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/01/43/image_12072025_01_44_04_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/44/image_12072025_01_44_43_9638.jpg', '/home/nano/Desktop/images/12072025/01/44/image_12072025_01_44_24_10653.jpg', '/home/nano/Desktop/images/12072025/01/44/image_12072025_01_44_13_9667.jpg', '/home/nano/Desktop/images/12072025/01/43/image_12072025_01_44_04_9640.jpg', '/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/44/image_12072025_01_44_43_9638.jpg
/home/nano/Desktop/images/12072025/01/44/image_12072025_01_44_24_10653.jpg
/home/nano/Desktop/images/12072025/01/44/image_12072025_01_44_13_9667.jpg
/home/nano/Desktop/images/12072025/01/43/image_12072025_01_44_04_9640.jpg
/home/nano/Desktop/images/12072025/01/43/image_12072025_01_43_54_10651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774238","1371774241","1371774243","1371774245","1371774236"],"photo_ids_order":["1371774236","1371774238","1371774241","1371774243","1371774245"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fb67dd9ee9b2e321359de5e98718164.jpg","text":"TemporaryFile(/tmp/multipartBody4779935053057818441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277518781,"filename":"image_12072025_01_44_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bd66e60825848aed52dd7bf6b7f3fd1.jpg","text":"TemporaryFile(/tmp/multipartBody8568576268643792877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277518781,"filename":"image_12072025_01_44_13_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19fba82b10d18098c217d4e850e74099.jpg","text":"TemporaryFile(/tmp/multipartBody1653545851641782657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277518781,"filename":"image_12072025_01_44_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0a35475704f441cae5b0d6e2c89c467.jpg","text":"TemporaryFile(/tmp/multipartBody6621980371194893388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277518781,"filename":"image_12072025_01_43_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8772af663d86298601aa200d6259635.jpg","text":"TemporaryFile(/tmp/multipartBody7591023112219443108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277518781,"filename":"image_12072025_01_44_43_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774241","file1":"1371774238","file0":"1371774236","file4":"1371774245","file3":"1371774243"},"map_files_photo_id_array":[{"photo_id":"1371774241","filename":"file2"},{"photo_id":"1371774245","filename":"file4"},{"photo_id":"1371774238","filename":"file1"},{"photo_id":"1371774236","filename":"file0"},{"photo_id":"1371774243","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371774238":["hashtag1","hashtag2"]},{"1371774241":["hashtag1","hashtag2"]},{"1371774243":["hashtag1","hashtag2"]},{"1371774245":["hashtag1","hashtag2"]},{"1371774236":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371774238, 1371774241, 1371774243, 1371774245, 1371774236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.971072673797607 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:44:47.295274
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/23/01/image_10072025_23_01_54_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/23/01/image_10072025_23_01_14_10680.jpg', 2), ('/home/nano/Desktop/images/10072025/23/00/image_10072025_23_01_03_9660.jpg', 2), ('/home/nano/Desktop/images/10072025/23/00/image_10072025_23_00_33_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/23/00/image_10072025_23_00_14_10689.jpg', 2), ('/home/nano/Desktop/images/10072025/22/59/image_10072025_23_00_03_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/23/01/image_10072025_23_01_54_9646.jpg', '/home/nano/Desktop/images/10072025/23/01/image_10072025_23_01_14_10680.jpg', '/home/nano/Desktop/images/10072025/23/00/image_10072025_23_01_03_9660.jpg', '/home/nano/Desktop/images/10072025/23/00/image_10072025_23_00_33_9648.jpg', '/home/nano/Desktop/images/10072025/23/00/image_10072025_23_00_14_10689.jpg', '/home/nano/Desktop/images/10072025/22/59/image_10072025_23_00_03_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/23/01/image_10072025_23_01_54_9646.jpg
/home/nano/Desktop/images/10072025/23/01/image_10072025_23_01_14_10680.jpg
/home/nano/Desktop/images/10072025/23/00/image_10072025_23_01_03_9660.jpg
/home/nano/Desktop/images/10072025/23/00/image_10072025_23_00_33_9648.jpg
/home/nano/Desktop/images/10072025/23/00/image_10072025_23_00_14_10689.jpg
/home/nano/Desktop/images/10072025/22/59/image_10072025_23_00_03_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774265","1371774259","1371774288","1371774252","1371774251","1371774269"],"photo_ids_order":["1371774251","1371774252","1371774259","1371774265","1371774269","1371774288"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a7aaeac4144bbaa1a60cac8acb410a8.jpg","text":"TemporaryFile(/tmp/multipartBody5782599190853319306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277549979,"filename":"image_10072025_23_00_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d67baf53db9ca49038dbdaf662b7f6ae.jpg","text":"TemporaryFile(/tmp/multipartBody3027098217131768037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277549979,"filename":"image_10072025_23_01_03_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00554d5bf2ccf3b4030d3bf9a501c8cd.jpg","text":"TemporaryFile(/tmp/multipartBody4798831776072974804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277549979,"filename":"image_10072025_23_00_03_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20f416db48240472306b9cbf22f98000.jpg","text":"TemporaryFile(/tmp/multipartBody1545015013645422605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277549979,"filename":"image_10072025_23_01_14_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bafecda53248c14cb904f891c0051bd.jpg","text":"TemporaryFile(/tmp/multipartBody3117140506672614962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277549979,"filename":"image_10072025_23_01_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b36eb574452d13fc72060c76f39e4f68.jpg","text":"TemporaryFile(/tmp/multipartBody78003527165084683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277549979,"filename":"image_10072025_23_00_14_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774259","file1":"1371774252","file0":"1371774251","file4":"1371774269","file5":"1371774288","file3":"1371774265"},"map_files_photo_id_array":[{"photo_id":"1371774288","filename":"file5"},{"photo_id":"1371774259","filename":"file2"},{"photo_id":"1371774269","filename":"file4"},{"photo_id":"1371774252","filename":"file1"},{"photo_id":"1371774251","filename":"file0"},{"photo_id":"1371774265","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371774265":["hashtag1","hashtag2"]},{"1371774259":["hashtag1","hashtag2"]},{"1371774288":["hashtag1","hashtag2"]},{"1371774252":["hashtag1","hashtag2"]},{"1371774251":["hashtag1","hashtag2"]},{"1371774269":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371774265, 1371774259, 1371774288, 1371774252, 1371774251, 1371774269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86690068244934 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:45:32.430746
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_24_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/01/44/image_12072025_01_45_03_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/44/image_12072025_01_44_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_44_10649.jpg', '/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_33_9639.jpg', '/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_24_10666.jpg', '/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_13_9659.jpg', '/home/nano/Desktop/images/12072025/01/44/image_12072025_01_45_03_9639.jpg', '/home/nano/Desktop/images/12072025/01/44/image_12072025_01_44_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_44_10649.jpg
/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_33_9639.jpg
/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_24_10666.jpg
/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_13_9659.jpg
/home/nano/Desktop/images/12072025/01/44/image_12072025_01_45_03_9639.jpg
/home/nano/Desktop/images/12072025/01/44/image_12072025_01_44_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774448","1371774550","1371774523","1371774498","1371774474","1371774423"],"photo_ids_order":["1371774423","1371774448","1371774474","1371774498","1371774523","1371774550"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/900d3d8484f3c6969d0763b2bfa508ed.jpg","text":"TemporaryFile(/tmp/multipartBody8404740515885797350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277594301,"filename":"image_12072025_01_45_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ecd42c77e84a6d3fc0262f63ac9677fe.jpg","text":"TemporaryFile(/tmp/multipartBody1930509091945177047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277594301,"filename":"image_12072025_01_44_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee12aed13791508e84d63bd211b0af6b.jpg","text":"TemporaryFile(/tmp/multipartBody3959407897588574439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277594301,"filename":"image_12072025_01_45_03_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/000c23325a56fe5a035bd6b1bd97cdb6.jpg","text":"TemporaryFile(/tmp/multipartBody4033875790860721815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277594301,"filename":"image_12072025_01_45_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfa5344bd8bf54a4e05ab445f1aec2de.jpg","text":"TemporaryFile(/tmp/multipartBody1222232348687288943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277594301,"filename":"image_12072025_01_45_24_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8479276354fbe5d4f53b86d294248f4c.jpg","text":"TemporaryFile(/tmp/multipartBody4405374444650273134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277594301,"filename":"image_12072025_01_45_44_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774474","file1":"1371774448","file0":"1371774423","file4":"1371774523","file5":"1371774550","file3":"1371774498"},"map_files_photo_id_array":[{"photo_id":"1371774550","filename":"file5"},{"photo_id":"1371774474","filename":"file2"},{"photo_id":"1371774523","filename":"file4"},{"photo_id":"1371774448","filename":"file1"},{"photo_id":"1371774423","filename":"file0"},{"photo_id":"1371774498","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371774448":["hashtag1","hashtag2"]},{"1371774550":["hashtag1","hashtag2"]},{"1371774523":["hashtag1","hashtag2"]},{"1371774498":["hashtag1","hashtag2"]},{"1371774474":["hashtag1","hashtag2"]},{"1371774423":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371774448, 1371774550, 1371774523, 1371774498, 1371774474, 1371774423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.133251667022705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:46:17.499580
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_24_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_14_10680.jpg', 2), ('/home/nano/Desktop/images/12072025/01/45/image_12072025_01_46_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_44_10648.jpg', '/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_33_9639.jpg', '/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_24_9657.jpg', '/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_14_10680.jpg', '/home/nano/Desktop/images/12072025/01/45/image_12072025_01_46_03_9643.jpg', '/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_54_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_44_10648.jpg
/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_33_9639.jpg
/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_24_9657.jpg
/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_14_10680.jpg
/home/nano/Desktop/images/12072025/01/45/image_12072025_01_46_03_9643.jpg
/home/nano/Desktop/images/12072025/01/45/image_12072025_01_45_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774637","1371774657","1371774654","1371774656","1371774641","1371774650"],"photo_ids_order":["1371774637","1371774641","1371774650","1371774654","1371774656","1371774657"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57f0ce4d4c7db8ab13a4c1de126c3d77.jpg","text":"TemporaryFile(/tmp/multipartBody5348550595776944265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277638864,"filename":"image_12072025_01_46_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09e5328b17725444ac528c6670d71932.jpg","text":"TemporaryFile(/tmp/multipartBody6889840293163130346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277638864,"filename":"image_12072025_01_45_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d8503b9d35cff76a6f1930855ff8e28.jpg","text":"TemporaryFile(/tmp/multipartBody6772150132391240534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277638864,"filename":"image_12072025_01_46_14_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c48695d9fdba3378a3ef7d60af6f36b.jpg","text":"TemporaryFile(/tmp/multipartBody2319472637647342601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277638864,"filename":"image_12072025_01_46_03_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42dec204d71258591968a95f4515d948.jpg","text":"TemporaryFile(/tmp/multipartBody191465007482593770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277638864,"filename":"image_12072025_01_46_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de86266e2ef98825dae46e2e691811b9.jpg","text":"TemporaryFile(/tmp/multipartBody8561132268528827428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277638864,"filename":"image_12072025_01_46_24_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774650","file1":"1371774641","file0":"1371774637","file4":"1371774656","file5":"1371774657","file3":"1371774654"},"map_files_photo_id_array":[{"photo_id":"1371774657","filename":"file5"},{"photo_id":"1371774650","filename":"file2"},{"photo_id":"1371774656","filename":"file4"},{"photo_id":"1371774641","filename":"file1"},{"photo_id":"1371774637","filename":"file0"},{"photo_id":"1371774654","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371774637":["hashtag1","hashtag2"]},{"1371774657":["hashtag1","hashtag2"]},{"1371774654":["hashtag1","hashtag2"]},{"1371774656":["hashtag1","hashtag2"]},{"1371774641":["hashtag1","hashtag2"]},{"1371774650":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371774637, 1371774657, 1371774654, 1371774656, 1371774641, 1371774650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.99680519104004 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:47:02.967905
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/59/image_10072025_22_59_44_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/22/59/image_10072025_22_59_33_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/58/image_10072025_22_58_54_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/22/58/image_10072025_22_58_44_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/22/58/image_10072025_22_58_33_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/22/58/image_10072025_22_58_13_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/59/image_10072025_22_59_44_10655.jpg', '/home/nano/Desktop/images/10072025/22/59/image_10072025_22_59_33_9646.jpg', '/home/nano/Desktop/images/10072025/22/58/image_10072025_22_58_54_9644.jpg', '/home/nano/Desktop/images/10072025/22/58/image_10072025_22_58_44_10662.jpg', '/home/nano/Desktop/images/10072025/22/58/image_10072025_22_58_33_9652.jpg', '/home/nano/Desktop/images/10072025/22/58/image_10072025_22_58_13_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/59/image_10072025_22_59_44_10655.jpg
/home/nano/Desktop/images/10072025/22/59/image_10072025_22_59_33_9646.jpg
/home/nano/Desktop/images/10072025/22/58/image_10072025_22_58_54_9644.jpg
/home/nano/Desktop/images/10072025/22/58/image_10072025_22_58_44_10662.jpg
/home/nano/Desktop/images/10072025/22/58/image_10072025_22_58_33_9652.jpg
/home/nano/Desktop/images/10072025/22/58/image_10072025_22_58_13_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774675","1371774684","1371774678","1371774672","1371774698","1371774701"],"photo_ids_order":["1371774672","1371774675","1371774678","1371774684","1371774698","1371774701"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5a183d17c2f9c989bb1f9d297a9f6b8.jpg","text":"TemporaryFile(/tmp/multipartBody7014107002012688464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277685856,"filename":"image_10072025_22_59_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/156bbc340b2283730c354f1982fec6f8.jpg","text":"TemporaryFile(/tmp/multipartBody2468390038295733414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277685856,"filename":"image_10072025_22_58_44_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fe2e3c57b9132608115fb0512fd077f.jpg","text":"TemporaryFile(/tmp/multipartBody6773196364230504461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277685856,"filename":"image_10072025_22_58_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3a6836e5422eefe40b3d7435466afb9.jpg","text":"TemporaryFile(/tmp/multipartBody5178149988677241661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277685856,"filename":"image_10072025_22_59_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a6b5071cee0f204ccf5fa7e4d6d1907.jpg","text":"TemporaryFile(/tmp/multipartBody5245672855037607427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277685856,"filename":"image_10072025_22_58_33_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a7790fc1fa02c258baa24c46ff9cf91.jpg","text":"TemporaryFile(/tmp/multipartBody6190662174673384495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277685856,"filename":"image_10072025_22_58_13_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774678","file1":"1371774675","file0":"1371774672","file4":"1371774698","file5":"1371774701","file3":"1371774684"},"map_files_photo_id_array":[{"photo_id":"1371774701","filename":"file5"},{"photo_id":"1371774678","filename":"file2"},{"photo_id":"1371774698","filename":"file4"},{"photo_id":"1371774675","filename":"file1"},{"photo_id":"1371774672","filename":"file0"},{"photo_id":"1371774684","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371774675":["hashtag1","hashtag2"]},{"1371774684":["hashtag1","hashtag2"]},{"1371774678":["hashtag1","hashtag2"]},{"1371774672":["hashtag1","hashtag2"]},{"1371774698":["hashtag1","hashtag2"]},{"1371774701":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371774675, 1371774684, 1371774678, 1371774672, 1371774698, 1371774701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.863691091537476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:47:47.627873
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_44_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_24_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_14_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/01/46/image_12072025_01_47_03_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_44_10654.jpg', '/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_33_9637.jpg', '/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_24_9639.jpg', '/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_14_10664.jpg', '/home/nano/Desktop/images/12072025/01/46/image_12072025_01_47_03_9638.jpg', '/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_44_10654.jpg
/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_33_9637.jpg
/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_24_9639.jpg
/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_14_10664.jpg
/home/nano/Desktop/images/12072025/01/46/image_12072025_01_47_03_9638.jpg
/home/nano/Desktop/images/12072025/01/46/image_12072025_01_46_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774736","1371774726","1371774723","1371774716","1371774731","1371774719"],"photo_ids_order":["1371774716","1371774719","1371774723","1371774726","1371774731","1371774736"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d151bbc0b529bf71067e3c6653ab7126.jpg","text":"TemporaryFile(/tmp/multipartBody8543667960760469869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277729041,"filename":"image_12072025_01_46_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e56881bc1747690a71e859d885f4aef.jpg","text":"TemporaryFile(/tmp/multipartBody9035051852768441698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277729041,"filename":"image_12072025_01_47_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb1be50d15f7c126bd19119c4dce98e3.jpg","text":"TemporaryFile(/tmp/multipartBody4399642549557707707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277729041,"filename":"image_12072025_01_47_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6393038930ec42daf66689d7e034e45e.jpg","text":"TemporaryFile(/tmp/multipartBody8799629911118189167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277729041,"filename":"image_12072025_01_47_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8e20c799c87a7c86d7dbce6514f924d.jpg","text":"TemporaryFile(/tmp/multipartBody7829715645137594497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277729041,"filename":"image_12072025_01_47_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec0281b2b1724a933cc7b53c8b6a61b1.jpg","text":"TemporaryFile(/tmp/multipartBody2034243913225968149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277729041,"filename":"image_12072025_01_47_33_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774723","file1":"1371774719","file0":"1371774716","file4":"1371774731","file5":"1371774736","file3":"1371774726"},"map_files_photo_id_array":[{"photo_id":"1371774736","filename":"file5"},{"photo_id":"1371774723","filename":"file2"},{"photo_id":"1371774731","filename":"file4"},{"photo_id":"1371774719","filename":"file1"},{"photo_id":"1371774716","filename":"file0"},{"photo_id":"1371774726","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371774736":["hashtag1","hashtag2"]},{"1371774726":["hashtag1","hashtag2"]},{"1371774723":["hashtag1","hashtag2"]},{"1371774716":["hashtag1","hashtag2"]},{"1371774731":["hashtag1","hashtag2"]},{"1371774719":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371774736, 1371774726, 1371774723, 1371774716, 1371774731, 1371774719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01121759414673 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:48:32.752566
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/48/image_12072025_01_48_33_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/01/48/image_12072025_01_48_23_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/48/image_12072025_01_48_14_10688.jpg', 2), ('/home/nano/Desktop/images/12072025/01/47/image_12072025_01_48_03_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/48/image_12072025_01_48_33_9642.jpg', '/home/nano/Desktop/images/12072025/01/48/image_12072025_01_48_23_9645.jpg', '/home/nano/Desktop/images/12072025/01/48/image_12072025_01_48_14_10688.jpg', '/home/nano/Desktop/images/12072025/01/47/image_12072025_01_48_03_9640.jpg', '/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/48/image_12072025_01_48_33_9642.jpg
/home/nano/Desktop/images/12072025/01/48/image_12072025_01_48_23_9645.jpg
/home/nano/Desktop/images/12072025/01/48/image_12072025_01_48_14_10688.jpg
/home/nano/Desktop/images/12072025/01/47/image_12072025_01_48_03_9640.jpg
/home/nano/Desktop/images/12072025/01/47/image_12072025_01_47_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774748","1371774756","1371774750","1371774753","1371774746"],"photo_ids_order":["1371774746","1371774748","1371774750","1371774753","1371774756"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d17ecc41b5bb80141421307d3ffc890.jpg","text":"TemporaryFile(/tmp/multipartBody7305724965686514567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277774001,"filename":"image_12072025_01_48_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff44e0069b8a31776a2d472429ac3bdb.jpg","text":"TemporaryFile(/tmp/multipartBody4485439248236351348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277774001,"filename":"image_12072025_01_47_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9069b1e7ea4788d20175ada6c700fa4.jpg","text":"TemporaryFile(/tmp/multipartBody7359730909133741081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277774001,"filename":"image_12072025_01_48_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b007143b554ae60b2c997ffac68ebb62.jpg","text":"TemporaryFile(/tmp/multipartBody6748681956060093388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277774001,"filename":"image_12072025_01_48_03_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00046f0469442be67c724a38a8441c3f.jpg","text":"TemporaryFile(/tmp/multipartBody7280330358051991024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277774001,"filename":"image_12072025_01_48_33_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774750","file1":"1371774748","file0":"1371774746","file4":"1371774756","file3":"1371774753"},"map_files_photo_id_array":[{"photo_id":"1371774750","filename":"file2"},{"photo_id":"1371774756","filename":"file4"},{"photo_id":"1371774748","filename":"file1"},{"photo_id":"1371774746","filename":"file0"},{"photo_id":"1371774753","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371774748":["hashtag1","hashtag2"]},{"1371774756":["hashtag1","hashtag2"]},{"1371774750":["hashtag1","hashtag2"]},{"1371774753":["hashtag1","hashtag2"]},{"1371774746":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371774748, 1371774756, 1371774750, 1371774753, 1371774746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.553589344024658 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:49:16.873490
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_34_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_14_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/48/image_12072025_01_49_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/01/48/image_12072025_01_48_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_44_9637.jpg', '/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_34_10665.jpg', '/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_23_9639.jpg', '/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_14_9655.jpg', '/home/nano/Desktop/images/12072025/01/48/image_12072025_01_49_04_10661.jpg', '/home/nano/Desktop/images/12072025/01/48/image_12072025_01_48_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_44_9637.jpg
/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_34_10665.jpg
/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_23_9639.jpg
/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_14_9655.jpg
/home/nano/Desktop/images/12072025/01/48/image_12072025_01_49_04_10661.jpg
/home/nano/Desktop/images/12072025/01/48/image_12072025_01_48_53_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774772","1371774775","1371774768","1371774777","1371774779","1371774770"],"photo_ids_order":["1371774768","1371774770","1371774772","1371774775","1371774777","1371774779"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c660c591df7163525c6d44b51dd3b9e7.jpg","text":"TemporaryFile(/tmp/multipartBody7672990614772390383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277818274,"filename":"image_12072025_01_49_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01c0983be2413f46a778e7fab1a55469.jpg","text":"TemporaryFile(/tmp/multipartBody4168959337387893087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277818274,"filename":"image_12072025_01_49_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/471d017ac6bbaf8ed16f8148897cd7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6884332986199680567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277818274,"filename":"image_12072025_01_49_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/616d7bee7073a83a06b8cb74685bb091.jpg","text":"TemporaryFile(/tmp/multipartBody2152111570300241293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277818274,"filename":"image_12072025_01_49_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34d7da9596cafc59f632fff4fdd9744f.jpg","text":"TemporaryFile(/tmp/multipartBody1948133275696031181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277818274,"filename":"image_12072025_01_48_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f18e7cd92a4a5d38886b47531e55432.jpg","text":"TemporaryFile(/tmp/multipartBody5220310038987394648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277818274,"filename":"image_12072025_01_49_34_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774772","file1":"1371774770","file0":"1371774768","file4":"1371774777","file5":"1371774779","file3":"1371774775"},"map_files_photo_id_array":[{"photo_id":"1371774779","filename":"file5"},{"photo_id":"1371774772","filename":"file2"},{"photo_id":"1371774777","filename":"file4"},{"photo_id":"1371774770","filename":"file1"},{"photo_id":"1371774768","filename":"file0"},{"photo_id":"1371774775","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371774772":["hashtag1","hashtag2"]},{"1371774775":["hashtag1","hashtag2"]},{"1371774768":["hashtag1","hashtag2"]},{"1371774777":["hashtag1","hashtag2"]},{"1371774779":["hashtag1","hashtag2"]},{"1371774770":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371774772, 1371774775, 1371774768, 1371774777, 1371774779, 1371774770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24229383468628 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:50:02.257144
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/57/image_10072025_22_57_33_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/22/57/image_10072025_22_57_24_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/22/56/image_10072025_22_57_03_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_54_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_43_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_33_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/57/image_10072025_22_57_33_9648.jpg', '/home/nano/Desktop/images/10072025/22/57/image_10072025_22_57_24_10658.jpg', '/home/nano/Desktop/images/10072025/22/56/image_10072025_22_57_03_9653.jpg', '/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_54_10655.jpg', '/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_43_9663.jpg', '/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_33_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/57/image_10072025_22_57_33_9648.jpg
/home/nano/Desktop/images/10072025/22/57/image_10072025_22_57_24_10658.jpg
/home/nano/Desktop/images/10072025/22/56/image_10072025_22_57_03_9653.jpg
/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_54_10655.jpg
/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_43_9663.jpg
/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_33_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774808","1371774805","1371774810","1371774804","1371774803","1371774800"],"photo_ids_order":["1371774800","1371774803","1371774804","1371774805","1371774808","1371774810"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17b05ab90b26c259253c486776a4af4b.jpg","text":"TemporaryFile(/tmp/multipartBody6209534897735477010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277865327,"filename":"image_10072025_22_56_43_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b70bdffca5d5b29ffa52a81d2b9ab531.jpg","text":"TemporaryFile(/tmp/multipartBody1303030318225423185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277865327,"filename":"image_10072025_22_56_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/346772959b58abdc317079ed1ef8fbae.jpg","text":"TemporaryFile(/tmp/multipartBody5958032722674968770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277865327,"filename":"image_10072025_22_56_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d2e762bce8efba79a96b3139d79a9ba.jpg","text":"TemporaryFile(/tmp/multipartBody7931396522068489551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277865327,"filename":"image_10072025_22_57_03_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6baaedd4a7b15f769e585f02d24d175.jpg","text":"TemporaryFile(/tmp/multipartBody3513979077817968165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277865327,"filename":"image_10072025_22_57_24_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fec7f350191ff2ea97e4c5b20d3f70c1.jpg","text":"TemporaryFile(/tmp/multipartBody8757230640325479853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277865327,"filename":"image_10072025_22_57_33_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774804","file1":"1371774803","file0":"1371774800","file4":"1371774808","file5":"1371774810","file3":"1371774805"},"map_files_photo_id_array":[{"photo_id":"1371774810","filename":"file5"},{"photo_id":"1371774804","filename":"file2"},{"photo_id":"1371774808","filename":"file4"},{"photo_id":"1371774803","filename":"file1"},{"photo_id":"1371774800","filename":"file0"},{"photo_id":"1371774805","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371774808":["hashtag1","hashtag2"]},{"1371774805":["hashtag1","hashtag2"]},{"1371774810":["hashtag1","hashtag2"]},{"1371774804":["hashtag1","hashtag2"]},{"1371774803":["hashtag1","hashtag2"]},{"1371774800":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371774808, 1371774805, 1371774810, 1371774804, 1371774803, 1371774800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41115927696228 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:50:46.957886
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/50/image_12072025_01_50_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/50/image_12072025_01_50_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/50/image_12072025_01_50_14_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/01/49/image_12072025_01_50_04_10680.jpg', 2), ('/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/50/image_12072025_01_50_44_9639.jpg', '/home/nano/Desktop/images/12072025/01/50/image_12072025_01_50_23_9637.jpg', '/home/nano/Desktop/images/12072025/01/50/image_12072025_01_50_14_9661.jpg', '/home/nano/Desktop/images/12072025/01/49/image_12072025_01_50_04_10680.jpg', '/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/50/image_12072025_01_50_44_9639.jpg
/home/nano/Desktop/images/12072025/01/50/image_12072025_01_50_23_9637.jpg
/home/nano/Desktop/images/12072025/01/50/image_12072025_01_50_14_9661.jpg
/home/nano/Desktop/images/12072025/01/49/image_12072025_01_50_04_10680.jpg
/home/nano/Desktop/images/12072025/01/49/image_12072025_01_49_53_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774822","1371774819","1371774834","1371774816","1371774818"],"photo_ids_order":["1371774816","1371774818","1371774819","1371774822","1371774834"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3383c24a8176973db352d24bcd81cccf.jpg","text":"TemporaryFile(/tmp/multipartBody496851837069232627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277908330,"filename":"image_12072025_01_50_04_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4844bd6816020a989e4836d7feaa3365.jpg","text":"TemporaryFile(/tmp/multipartBody3842214603399432486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277908330,"filename":"image_12072025_01_50_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2101eac68b6a45c6b23e26f3b3716c1.jpg","text":"TemporaryFile(/tmp/multipartBody9087056730633378669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277908330,"filename":"image_12072025_01_49_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19b94fbca9c6a15baf99fab993843cd6.jpg","text":"TemporaryFile(/tmp/multipartBody6341130084006707880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277908330,"filename":"image_12072025_01_50_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/428a7f543bb50ce33aa52565a0d203cd.jpg","text":"TemporaryFile(/tmp/multipartBody893538388095249727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277908330,"filename":"image_12072025_01_50_23_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774819","file1":"1371774818","file0":"1371774816","file4":"1371774834","file3":"1371774822"},"map_files_photo_id_array":[{"photo_id":"1371774819","filename":"file2"},{"photo_id":"1371774834","filename":"file4"},{"photo_id":"1371774818","filename":"file1"},{"photo_id":"1371774816","filename":"file0"},{"photo_id":"1371774822","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371774822":["hashtag1","hashtag2"]},{"1371774819":["hashtag1","hashtag2"]},{"1371774834":["hashtag1","hashtag2"]},{"1371774816":["hashtag1","hashtag2"]},{"1371774818":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371774822, 1371774819, 1371774834, 1371774816, 1371774818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.40892195701599 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:51:17.046912
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_23_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_14_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/01/50/image_12072025_01_51_04_10676.jpg', 2), ('/home/nano/Desktop/images/12072025/01/50/image_12072025_01_50_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_43_9645.jpg', '/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_34_10653.jpg', '/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_23_9645.jpg', '/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_14_9665.jpg', '/home/nano/Desktop/images/12072025/01/50/image_12072025_01_51_04_10676.jpg', '/home/nano/Desktop/images/12072025/01/50/image_12072025_01_50_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_43_9645.jpg
/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_34_10653.jpg
/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_23_9645.jpg
/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_14_9665.jpg
/home/nano/Desktop/images/12072025/01/50/image_12072025_01_51_04_10676.jpg
/home/nano/Desktop/images/12072025/01/50/image_12072025_01_50_53_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774850","1371774856","1371774858","1371774860","1371774854","1371774857"],"photo_ids_order":["1371774850","1371774854","1371774856","1371774857","1371774858","1371774860"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c22bcc5e07b2e7baaf05259164e2a0d.jpg","text":"TemporaryFile(/tmp/multipartBody3520372832973428775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277938324,"filename":"image_12072025_01_51_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2ef3b67d7197cddddba84987cff8e7c.jpg","text":"TemporaryFile(/tmp/multipartBody770927760470331033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277938324,"filename":"image_12072025_01_51_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6665fc51f5efd43b9a5cdf8b926b9cc8.jpg","text":"TemporaryFile(/tmp/multipartBody2676470000107525014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277938324,"filename":"image_12072025_01_51_04_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09cc988fef1e5b5898de230a0664c549.jpg","text":"TemporaryFile(/tmp/multipartBody1928807076672388904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277938324,"filename":"image_12072025_01_50_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76d33bc85017e28bce2cd00e16fcf70d.jpg","text":"TemporaryFile(/tmp/multipartBody84689906897057512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277938324,"filename":"image_12072025_01_51_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2a13f474cd614d970abcca93b99738d.jpg","text":"TemporaryFile(/tmp/multipartBody6770936953314690413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277938324,"filename":"image_12072025_01_51_14_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774856","file1":"1371774854","file0":"1371774850","file4":"1371774858","file5":"1371774860","file3":"1371774857"},"map_files_photo_id_array":[{"photo_id":"1371774860","filename":"file5"},{"photo_id":"1371774856","filename":"file2"},{"photo_id":"1371774858","filename":"file4"},{"photo_id":"1371774854","filename":"file1"},{"photo_id":"1371774850","filename":"file0"},{"photo_id":"1371774857","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371774850":["hashtag1","hashtag2"]},{"1371774856":["hashtag1","hashtag2"]},{"1371774858":["hashtag1","hashtag2"]},{"1371774860":["hashtag1","hashtag2"]},{"1371774854":["hashtag1","hashtag2"]},{"1371774857":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371774850, 1371774856, 1371774858, 1371774860, 1371774854, 1371774857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28730344772339 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:52:02.420481
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_24_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_24_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_13_9670.jpg', 2), ('/home/nano/Desktop/images/10072025/22/53/image_10072025_22_54_04_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_54_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_43_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_24_10662.jpg', '/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_24_10657.jpg', '/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_13_9670.jpg', '/home/nano/Desktop/images/10072025/22/53/image_10072025_22_54_04_9665.jpg', '/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_54_10657.jpg', '/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_43_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_24_10662.jpg
/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_24_10657.jpg
/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_13_9670.jpg
/home/nano/Desktop/images/10072025/22/53/image_10072025_22_54_04_9665.jpg
/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_54_10657.jpg
/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_43_9660.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8749353885650635 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:52:17.128038
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_23_9672.jpg', 2), ('/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/01/51/image_12072025_01_52_04_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_43_9638.jpg', '/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_34_10649.jpg', '/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_23_9672.jpg', '/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_13_9656.jpg', '/home/nano/Desktop/images/12072025/01/51/image_12072025_01_52_04_10671.jpg', '/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_43_9638.jpg
/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_34_10649.jpg
/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_23_9672.jpg
/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_13_9656.jpg
/home/nano/Desktop/images/12072025/01/51/image_12072025_01_52_04_10671.jpg
/home/nano/Desktop/images/12072025/01/51/image_12072025_01_51_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371774952","1371774940","1371774954","1371774948","1371774956","1371774944"],"photo_ids_order":["1371774940","1371774944","1371774948","1371774952","1371774954","1371774956"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a1df3aef5de20cc98d43e569b8a09a9.jpg","text":"TemporaryFile(/tmp/multipartBody309362890804199429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277998390,"filename":"image_12072025_01_52_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efe406290ec6737fc47a6ca45cb45d00.jpg","text":"TemporaryFile(/tmp/multipartBody3950226595181791099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277998390,"filename":"image_12072025_01_52_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32850a03087bd778ad53601f5dbf5813.jpg","text":"TemporaryFile(/tmp/multipartBody963780488894470827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277998390,"filename":"image_12072025_01_52_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6fe0ebbcfc86e987476763e50131f6eb.jpg","text":"TemporaryFile(/tmp/multipartBody5507117289644904986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277998390,"filename":"image_12072025_01_52_23_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42cc9f7813ec79cf38583c1ca98a8db4.jpg","text":"TemporaryFile(/tmp/multipartBody6939562639598489869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277998390,"filename":"image_12072025_01_51_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/58425b9a01109db939a022382f27de6f.jpg","text":"TemporaryFile(/tmp/multipartBody260342421807473125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752277998390,"filename":"image_12072025_01_52_34_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371774948","file1":"1371774944","file0":"1371774940","file4":"1371774954","file5":"1371774956","file3":"1371774952"},"map_files_photo_id_array":[{"photo_id":"1371774956","filename":"file5"},{"photo_id":"1371774948","filename":"file2"},{"photo_id":"1371774954","filename":"file4"},{"photo_id":"1371774944","filename":"file1"},{"photo_id":"1371774940","filename":"file0"},{"photo_id":"1371774952","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371774952":["hashtag1","hashtag2"]},{"1371774940":["hashtag1","hashtag2"]},{"1371774954":["hashtag1","hashtag2"]},{"1371774948":["hashtag1","hashtag2"]},{"1371774956":["hashtag1","hashtag2"]},{"1371774944":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371774952, 1371774940, 1371774954, 1371774948, 1371774956, 1371774944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0702006816864 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:53:02.698661
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_24_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_24_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_13_9670.jpg', 2), ('/home/nano/Desktop/images/10072025/22/53/image_10072025_22_54_04_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_54_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_43_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_24_10662.jpg', '/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_24_10657.jpg', '/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_13_9670.jpg', '/home/nano/Desktop/images/10072025/22/53/image_10072025_22_54_04_9665.jpg', '/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_54_10657.jpg', '/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_43_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_24_10662.jpg
/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_24_10657.jpg
/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_13_9670.jpg
/home/nano/Desktop/images/10072025/22/53/image_10072025_22_54_04_9665.jpg
/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_54_10657.jpg
/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_43_9660.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.894941568374634 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:53:17.253186
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_34_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_13_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/52/image_12072025_01_53_04_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_43_9639.jpg', '/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_34_9637.jpg', '/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_24_10648.jpg', '/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_13_9655.jpg', '/home/nano/Desktop/images/12072025/01/52/image_12072025_01_53_04_9657.jpg', '/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_43_9639.jpg
/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_34_9637.jpg
/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_24_10648.jpg
/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_13_9655.jpg
/home/nano/Desktop/images/12072025/01/52/image_12072025_01_53_04_9657.jpg
/home/nano/Desktop/images/12072025/01/52/image_12072025_01_52_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371775114","1371775163","1371775136","1371775090","1371775042","1371775066"],"photo_ids_order":["1371775042","1371775066","1371775090","1371775114","1371775136","1371775163"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/189962d37dbf8f495701a2a300c4f209.jpg","text":"TemporaryFile(/tmp/multipartBody8707368127632068695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278058308,"filename":"image_12072025_01_53_13_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/58138ca8590f405b469536e8cd610d21.jpg","text":"TemporaryFile(/tmp/multipartBody7189224794340182063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278058308,"filename":"image_12072025_01_52_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d35da1e7064cf5dd6a4f94686d9e2b01.jpg","text":"TemporaryFile(/tmp/multipartBody1552505287150503582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278058308,"filename":"image_12072025_01_53_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d308f89483dc5a1fbbaa3476648c69b0.jpg","text":"TemporaryFile(/tmp/multipartBody438218406324374429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278058308,"filename":"image_12072025_01_53_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90e1dec4e2f77d85b16aa0ffde875218.jpg","text":"TemporaryFile(/tmp/multipartBody8456007858692259926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278058308,"filename":"image_12072025_01_53_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75ea5814b3262be07c9d58b0eecfe408.jpg","text":"TemporaryFile(/tmp/multipartBody6579178789342355918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278058308,"filename":"image_12072025_01_53_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371775090","file1":"1371775066","file0":"1371775042","file4":"1371775136","file5":"1371775163","file3":"1371775114"},"map_files_photo_id_array":[{"photo_id":"1371775163","filename":"file5"},{"photo_id":"1371775090","filename":"file2"},{"photo_id":"1371775136","filename":"file4"},{"photo_id":"1371775066","filename":"file1"},{"photo_id":"1371775042","filename":"file0"},{"photo_id":"1371775114","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371775114":["hashtag1","hashtag2"]},{"1371775163":["hashtag1","hashtag2"]},{"1371775136":["hashtag1","hashtag2"]},{"1371775090":["hashtag1","hashtag2"]},{"1371775042":["hashtag1","hashtag2"]},{"1371775066":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371775114, 1371775163, 1371775136, 1371775090, 1371775042, 1371775066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15381217002869 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:54:02.991383
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_24_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_24_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_13_9670.jpg', 2), ('/home/nano/Desktop/images/10072025/22/53/image_10072025_22_54_04_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_54_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_43_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_24_10662.jpg', '/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_24_10657.jpg', '/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_13_9670.jpg', '/home/nano/Desktop/images/10072025/22/53/image_10072025_22_54_04_9665.jpg', '/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_54_10657.jpg', '/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_43_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/56/image_10072025_22_56_24_10662.jpg
/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_24_10657.jpg
/home/nano/Desktop/images/10072025/22/54/image_10072025_22_54_13_9670.jpg
/home/nano/Desktop/images/10072025/22/53/image_10072025_22_54_04_9665.jpg
/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_54_10657.jpg
/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_43_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371775303","1371775305","1371775295","1371775298","1371775307","1371775301"],"photo_ids_order":["1371775295","1371775298","1371775301","1371775303","1371775305","1371775307"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90bd77b0351ec63310d39ac7b0b01279.jpg","text":"TemporaryFile(/tmp/multipartBody5787727978788837634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278105954,"filename":"image_10072025_22_54_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/548e558b728555d1c229f8e0ccf24dc4.jpg","text":"TemporaryFile(/tmp/multipartBody3416895595162689281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278105954,"filename":"image_10072025_22_53_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85ad4c2cb85674b3614bb74595686802.jpg","text":"TemporaryFile(/tmp/multipartBody1469848231163609623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278105954,"filename":"image_10072025_22_56_24_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7951e2d3f93139cd95d8d52864bdabd.jpg","text":"TemporaryFile(/tmp/multipartBody3840623489442829276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278105954,"filename":"image_10072025_22_54_24_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/962d6b28e2451a2458da2cd594bd678d.jpg","text":"TemporaryFile(/tmp/multipartBody3402998788539839265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278105954,"filename":"image_10072025_22_53_43_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13a6ad505d174d4e89c367ec39aa0525.jpg","text":"TemporaryFile(/tmp/multipartBody3181967565562367145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278105954,"filename":"image_10072025_22_54_13_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371775301","file1":"1371775298","file0":"1371775295","file4":"1371775305","file5":"1371775307","file3":"1371775303"},"map_files_photo_id_array":[{"photo_id":"1371775307","filename":"file5"},{"photo_id":"1371775301","filename":"file2"},{"photo_id":"1371775305","filename":"file4"},{"photo_id":"1371775298","filename":"file1"},{"photo_id":"1371775295","filename":"file0"},{"photo_id":"1371775303","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371775303":["hashtag1","hashtag2"]},{"1371775305":["hashtag1","hashtag2"]},{"1371775295":["hashtag1","hashtag2"]},{"1371775298":["hashtag1","hashtag2"]},{"1371775307":["hashtag1","hashtag2"]},{"1371775301":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371775303, 1371775305, 1371775295, 1371775298, 1371775307, 1371775301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.417622327804565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:54:47.340840
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_43_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_34_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_13_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/01/53/image_12072025_01_54_04_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_43_9644.jpg', '/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_34_9645.jpg', '/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_24_10649.jpg', '/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_13_9666.jpg', '/home/nano/Desktop/images/12072025/01/53/image_12072025_01_54_04_9655.jpg', '/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_43_9644.jpg
/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_34_9645.jpg
/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_24_10649.jpg
/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_13_9666.jpg
/home/nano/Desktop/images/12072025/01/53/image_12072025_01_54_04_9655.jpg
/home/nano/Desktop/images/12072025/01/53/image_12072025_01_53_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371775653","1371775512","1371775697","1371775565","1371775607","1371775630"],"photo_ids_order":["1371775512","1371775565","1371775607","1371775630","1371775653","1371775697"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f64239e381130c8a88c8c9b2957f943.jpg","text":"TemporaryFile(/tmp/multipartBody8562163744765276952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278148841,"filename":"image_12072025_01_54_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7bcc7b5506bbb0b169062c3f225f927d.jpg","text":"TemporaryFile(/tmp/multipartBody2681995770213522035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278148841,"filename":"image_12072025_01_54_43_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25d8dc66a80742e7be1cad544c9a749d.jpg","text":"TemporaryFile(/tmp/multipartBody7799068279657709945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278148841,"filename":"image_12072025_01_53_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc0ce177bd71c2233f534bcaa755341c.jpg","text":"TemporaryFile(/tmp/multipartBody4605204767568881683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278148841,"filename":"image_12072025_01_54_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4892dff9b6e08da9646898563ebb5a61.jpg","text":"TemporaryFile(/tmp/multipartBody4451105944830464360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278148841,"filename":"image_12072025_01_54_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23e475016e17432bb1391f155c91d1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2840364491118360552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278148841,"filename":"image_12072025_01_54_13_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371775607","file1":"1371775565","file0":"1371775512","file4":"1371775653","file5":"1371775697","file3":"1371775630"},"map_files_photo_id_array":[{"photo_id":"1371775697","filename":"file5"},{"photo_id":"1371775607","filename":"file2"},{"photo_id":"1371775653","filename":"file4"},{"photo_id":"1371775565","filename":"file1"},{"photo_id":"1371775512","filename":"file0"},{"photo_id":"1371775630","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371775653":["hashtag1","hashtag2"]},{"1371775512":["hashtag1","hashtag2"]},{"1371775697":["hashtag1","hashtag2"]},{"1371775565":["hashtag1","hashtag2"]},{"1371775607":["hashtag1","hashtag2"]},{"1371775630":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371775653, 1371775512, 1371775697, 1371775565, 1371775607, 1371775630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22264623641968 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:55:32.424390
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/55/image_12072025_01_55_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/55/image_12072025_01_55_34_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/01/55/image_12072025_01_55_13_9705.jpg', 2), ('/home/nano/Desktop/images/12072025/01/54/image_12072025_01_55_04_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_54_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/55/image_12072025_01_55_43_9637.jpg', '/home/nano/Desktop/images/12072025/01/55/image_12072025_01_55_34_9646.jpg', '/home/nano/Desktop/images/12072025/01/55/image_12072025_01_55_13_9705.jpg', '/home/nano/Desktop/images/12072025/01/54/image_12072025_01_55_04_9660.jpg', '/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_54_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/55/image_12072025_01_55_43_9637.jpg
/home/nano/Desktop/images/12072025/01/55/image_12072025_01_55_34_9646.jpg
/home/nano/Desktop/images/12072025/01/55/image_12072025_01_55_13_9705.jpg
/home/nano/Desktop/images/12072025/01/54/image_12072025_01_55_04_9660.jpg
/home/nano/Desktop/images/12072025/01/54/image_12072025_01_54_54_10655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371775782","1371775734","1371775758","1371775806","1371775825"],"photo_ids_order":["1371775734","1371775758","1371775782","1371775806","1371775825"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/500b5c410e7a727beef8b8a8e9dc93a9.jpg","text":"TemporaryFile(/tmp/multipartBody3676548967888984636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278193743,"filename":"image_12072025_01_55_13_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32e14567b56e6a966bace4cc2725d2ba.jpg","text":"TemporaryFile(/tmp/multipartBody6230445787215020890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278193743,"filename":"image_12072025_01_55_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a013304f99cceef58fe8cc834072eda3.jpg","text":"TemporaryFile(/tmp/multipartBody5842605875281901191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278193743,"filename":"image_12072025_01_55_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/285f9b3469f29196694fafcef244246a.jpg","text":"TemporaryFile(/tmp/multipartBody727600499548779785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278193743,"filename":"image_12072025_01_55_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0605b352d84f80fe9cafe64cd4ddd91a.jpg","text":"TemporaryFile(/tmp/multipartBody7231731884902067759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278193743,"filename":"image_12072025_01_54_54_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371775782","file1":"1371775758","file0":"1371775734","file4":"1371775825","file3":"1371775806"},"map_files_photo_id_array":[{"photo_id":"1371775782","filename":"file2"},{"photo_id":"1371775825","filename":"file4"},{"photo_id":"1371775758","filename":"file1"},{"photo_id":"1371775734","filename":"file0"},{"photo_id":"1371775806","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371775782":["hashtag1","hashtag2"]},{"1371775734":["hashtag1","hashtag2"]},{"1371775758":["hashtag1","hashtag2"]},{"1371775806":["hashtag1","hashtag2"]},{"1371775825":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371775782, 1371775734, 1371775758, 1371775806, 1371775825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.909348726272583 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:56:02.790969
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_24_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/22/52/image_10072025_22_53_04_9672.jpg', 2), ('/home/nano/Desktop/images/10072025/22/52/image_10072025_22_52_43_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/22/52/image_10072025_22_52_34_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/52/image_10072025_22_52_24_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/22/52/image_10072025_22_52_13_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_24_10655.jpg', '/home/nano/Desktop/images/10072025/22/52/image_10072025_22_53_04_9672.jpg', '/home/nano/Desktop/images/10072025/22/52/image_10072025_22_52_43_9645.jpg', '/home/nano/Desktop/images/10072025/22/52/image_10072025_22_52_34_9646.jpg', '/home/nano/Desktop/images/10072025/22/52/image_10072025_22_52_24_10654.jpg', '/home/nano/Desktop/images/10072025/22/52/image_10072025_22_52_13_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/53/image_10072025_22_53_24_10655.jpg
/home/nano/Desktop/images/10072025/22/52/image_10072025_22_53_04_9672.jpg
/home/nano/Desktop/images/10072025/22/52/image_10072025_22_52_43_9645.jpg
/home/nano/Desktop/images/10072025/22/52/image_10072025_22_52_34_9646.jpg
/home/nano/Desktop/images/10072025/22/52/image_10072025_22_52_24_10654.jpg
/home/nano/Desktop/images/10072025/22/52/image_10072025_22_52_13_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371775848","1371775861","1371775855","1371775858","1371775852","1371775846"],"photo_ids_order":["1371775846","1371775848","1371775852","1371775855","1371775858","1371775861"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9fb139b9a4dc20c6aa321c2b8bc3947f.jpg","text":"TemporaryFile(/tmp/multipartBody8290425370394403216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278225891,"filename":"image_10072025_22_53_04_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4de5e2ca6cd1146a676dad7dfda35bf7.jpg","text":"TemporaryFile(/tmp/multipartBody6374733813829912155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278225891,"filename":"image_10072025_22_52_13_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6120516bb3da65e1ec07e936fe715a8.jpg","text":"TemporaryFile(/tmp/multipartBody4640826485333387249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278225891,"filename":"image_10072025_22_52_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7601e73ad58f5160a1a0c24208aeb443.jpg","text":"TemporaryFile(/tmp/multipartBody8097675049103317021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278225891,"filename":"image_10072025_22_52_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/196d81c842eb18a39aacb574b0e4e3ed.jpg","text":"TemporaryFile(/tmp/multipartBody768750910050075674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278225891,"filename":"image_10072025_22_52_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51a44c2d3410c55440696b3171af1780.jpg","text":"TemporaryFile(/tmp/multipartBody4991819469726328105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278225891,"filename":"image_10072025_22_53_24_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371775852","file1":"1371775848","file0":"1371775846","file4":"1371775858","file5":"1371775861","file3":"1371775855"},"map_files_photo_id_array":[{"photo_id":"1371775861","filename":"file5"},{"photo_id":"1371775852","filename":"file2"},{"photo_id":"1371775858","filename":"file4"},{"photo_id":"1371775848","filename":"file1"},{"photo_id":"1371775846","filename":"file0"},{"photo_id":"1371775855","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371775848":["hashtag1","hashtag2"]},{"1371775861":["hashtag1","hashtag2"]},{"1371775855":["hashtag1","hashtag2"]},{"1371775858":["hashtag1","hashtag2"]},{"1371775852":["hashtag1","hashtag2"]},{"1371775846":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371775848, 1371775861, 1371775855, 1371775858, 1371775852, 1371775846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61025953292847 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:56:47.537061
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_33_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/01/55/image_12072025_01_56_03_9677.jpg', 2), ('/home/nano/Desktop/images/12072025/01/55/image_12072025_01_55_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_43_9638.jpg', '/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_33_9658.jpg', '/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_24_10649.jpg', '/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_13_9659.jpg', '/home/nano/Desktop/images/12072025/01/55/image_12072025_01_56_03_9677.jpg', '/home/nano/Desktop/images/12072025/01/55/image_12072025_01_55_54_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_43_9638.jpg
/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_33_9658.jpg
/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_24_10649.jpg
/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_13_9659.jpg
/home/nano/Desktop/images/12072025/01/55/image_12072025_01_56_03_9677.jpg
/home/nano/Desktop/images/12072025/01/55/image_12072025_01_55_54_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371775915","1371775992","1371776018","1371775967","1371775894","1371775939"],"photo_ids_order":["1371775894","1371775915","1371775939","1371775967","1371775992","1371776018"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f630fc05d0f18bf27f092c2442d1f188.jpg","text":"TemporaryFile(/tmp/multipartBody5568695975030872797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278270493,"filename":"image_12072025_01_56_33_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a6cfe6232f824da9a956adc5cef7c6b.jpg","text":"TemporaryFile(/tmp/multipartBody4494408339415404458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278270493,"filename":"image_12072025_01_56_03_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1797c69553cb7f6c77505f15b708015a.jpg","text":"TemporaryFile(/tmp/multipartBody3915838369379373585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278270493,"filename":"image_12072025_01_55_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9fb6eecf4f4d76760b0dbaa4317d52c4.jpg","text":"TemporaryFile(/tmp/multipartBody1842965282919156590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278270493,"filename":"image_12072025_01_56_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42b689c92fa5ca79448cc32121edfce0.jpg","text":"TemporaryFile(/tmp/multipartBody5323183912447470893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278270493,"filename":"image_12072025_01_56_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6c832bc3afb594648249b37e11e1df2.jpg","text":"TemporaryFile(/tmp/multipartBody6247880304401321010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278270493,"filename":"image_12072025_01_56_24_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371775939","file1":"1371775915","file0":"1371775894","file4":"1371775992","file5":"1371776018","file3":"1371775967"},"map_files_photo_id_array":[{"photo_id":"1371776018","filename":"file5"},{"photo_id":"1371775939","filename":"file2"},{"photo_id":"1371775992","filename":"file4"},{"photo_id":"1371775915","filename":"file1"},{"photo_id":"1371775894","filename":"file0"},{"photo_id":"1371775967","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371775915":["hashtag1","hashtag2"]},{"1371775992":["hashtag1","hashtag2"]},{"1371776018":["hashtag1","hashtag2"]},{"1371775967":["hashtag1","hashtag2"]},{"1371775894":["hashtag1","hashtag2"]},{"1371775939":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371775915, 1371775992, 1371776018, 1371775967, 1371775894, 1371775939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98179912567139 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:57:32.666655
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_44_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_13_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/01/56/image_12072025_01_57_03_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_44_10654.jpg', '/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_33_9638.jpg', '/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_24_10647.jpg', '/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_13_9669.jpg', '/home/nano/Desktop/images/12072025/01/56/image_12072025_01_57_03_9650.jpg', '/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_44_10654.jpg
/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_33_9638.jpg
/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_24_10647.jpg
/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_13_9669.jpg
/home/nano/Desktop/images/12072025/01/56/image_12072025_01_57_03_9650.jpg
/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_54_10651.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:58:02.991948
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_44_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_13_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/01/56/image_12072025_01_57_03_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_44_10654.jpg', '/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_33_9638.jpg', '/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_24_10647.jpg', '/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_13_9669.jpg', '/home/nano/Desktop/images/12072025/01/56/image_12072025_01_57_03_9650.jpg', '/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_44_10654.jpg
/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_33_9638.jpg
/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_24_10647.jpg
/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_13_9669.jpg
/home/nano/Desktop/images/12072025/01/56/image_12072025_01_57_03_9650.jpg
/home/nano/Desktop/images/12072025/01/56/image_12072025_01_56_54_10651.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371776661","1371776616","1371776502","1371776534","1371776575","1371776479"],"photo_ids_order":["1371776479","1371776502","1371776534","1371776575","1371776616","1371776661"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f9957d84fca9546e2b01782a3d80db2.jpg","text":"TemporaryFile(/tmp/multipartBody3455030593020245600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278344315,"filename":"image_12072025_01_56_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/366443a9377536df4bd2eb39011f1ee7.jpg","text":"TemporaryFile(/tmp/multipartBody4082320618946318461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278344315,"filename":"image_12072025_01_57_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de89291ea6536a2079b6b7fedb997ae4.jpg","text":"TemporaryFile(/tmp/multipartBody3568596577487532470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278344315,"filename":"image_12072025_01_57_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63b76e09ceff54748084bcc84c3a7b30.jpg","text":"TemporaryFile(/tmp/multipartBody4405586755816987591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278344315,"filename":"image_12072025_01_57_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/822864f01a0aecaa7abcdfd62a4b1f18.jpg","text":"TemporaryFile(/tmp/multipartBody2112468160207045347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278344315,"filename":"image_12072025_01_57_13_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/551724a1b1e225c76245aa09a7aba6bd.jpg","text":"TemporaryFile(/tmp/multipartBody6746320658610862966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278344315,"filename":"image_12072025_01_57_44_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371776534","file1":"1371776502","file0":"1371776479","file4":"1371776616","file5":"1371776661","file3":"1371776575"},"map_files_photo_id_array":[{"photo_id":"1371776661","filename":"file5"},{"photo_id":"1371776534","filename":"file2"},{"photo_id":"1371776616","filename":"file4"},{"photo_id":"1371776502","filename":"file1"},{"photo_id":"1371776479","filename":"file0"},{"photo_id":"1371776575","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371776661":["hashtag1","hashtag2"]},{"1371776616":["hashtag1","hashtag2"]},{"1371776502":["hashtag1","hashtag2"]},{"1371776534":["hashtag1","hashtag2"]},{"1371776575":["hashtag1","hashtag2"]},{"1371776479":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371776661, 1371776616, 1371776502, 1371776534, 1371776575, 1371776479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.493897438049316 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:59:03.614926
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_54_9640.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371776862"],"photo_id":"1371776862","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb257864b41014c6c0710094008f17b3.jpg","text":"TemporaryFile(/tmp/multipartBody6432862321147395493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278404292,"filename":"image_12072025_01_58_54_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371776862"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371776862"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.61907172203064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 01:59:17.699389
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_14_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/01/58/image_12072025_01_59_03_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_44_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_44_10648.jpg', '/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_33_9637.jpg', '/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_23_9639.jpg', '/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_14_10655.jpg', '/home/nano/Desktop/images/12072025/01/58/image_12072025_01_59_03_9639.jpg', '/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_44_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_44_10648.jpg
/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_33_9637.jpg
/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_23_9639.jpg
/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_14_10655.jpg
/home/nano/Desktop/images/12072025/01/58/image_12072025_01_59_03_9639.jpg
/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_44_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371776913","1371776916","1371776903","1371776909","1371776911","1371776905"],"photo_ids_order":["1371776903","1371776905","1371776909","1371776911","1371776913","1371776916"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55561d96635290bf9f70d920e4bc80b8.jpg","text":"TemporaryFile(/tmp/multipartBody2847460747170650694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278418949,"filename":"image_12072025_01_59_03_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/323ab3d052f86a7508465c413b7e42c1.jpg","text":"TemporaryFile(/tmp/multipartBody5506747817961981643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278418949,"filename":"image_12072025_01_58_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a15963f8548b169d99519ab57a193002.jpg","text":"TemporaryFile(/tmp/multipartBody9015620761894205110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278418949,"filename":"image_12072025_01_59_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ad0691e5f6060c4851c14152fd305b9.jpg","text":"TemporaryFile(/tmp/multipartBody6922180402599377258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278418949,"filename":"image_12072025_01_59_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/598b168ae3ee1fb0f0434c0519f6f27a.jpg","text":"TemporaryFile(/tmp/multipartBody2868643750561006778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278418949,"filename":"image_12072025_01_59_14_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e9a73e2ae8e3694666f714843ab2845.jpg","text":"TemporaryFile(/tmp/multipartBody6991070492965245650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278418949,"filename":"image_12072025_01_59_33_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371776909","file1":"1371776905","file0":"1371776903","file4":"1371776913","file5":"1371776916","file3":"1371776911"},"map_files_photo_id_array":[{"photo_id":"1371776916","filename":"file5"},{"photo_id":"1371776909","filename":"file2"},{"photo_id":"1371776913","filename":"file4"},{"photo_id":"1371776905","filename":"file1"},{"photo_id":"1371776903","filename":"file0"},{"photo_id":"1371776911","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371776913":["hashtag1","hashtag2"]},{"1371776916":["hashtag1","hashtag2"]},{"1371776903":["hashtag1","hashtag2"]},{"1371776909":["hashtag1","hashtag2"]},{"1371776911":["hashtag1","hashtag2"]},{"1371776905":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371776913, 1371776916, 1371776903, 1371776909, 1371776911, 1371776905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43289923667908 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:00:02.191290
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_24_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/01/57/image_12072025_01_58_03_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_33_9637.jpg', '/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_24_9639.jpg', '/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_14_10667.jpg', '/home/nano/Desktop/images/12072025/01/57/image_12072025_01_58_03_9669.jpg', '/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_33_9637.jpg
/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_24_9639.jpg
/home/nano/Desktop/images/12072025/01/58/image_12072025_01_58_14_10667.jpg
/home/nano/Desktop/images/12072025/01/57/image_12072025_01_58_03_9669.jpg
/home/nano/Desktop/images/12072025/01/57/image_12072025_01_57_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371776943","1371776954","1371776936","1371776941","1371776938"],"photo_ids_order":["1371776936","1371776938","1371776941","1371776943","1371776954"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b89020a1fb6852f87289ce656e537997.jpg","text":"TemporaryFile(/tmp/multipartBody3696239747203037072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278463545,"filename":"image_12072025_01_58_03_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e138f6120edb3ea42ba3068ddd18fd2a.jpg","text":"TemporaryFile(/tmp/multipartBody3422130540608680530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278463545,"filename":"image_12072025_01_57_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fef1c2cde0211473b1a379f07cd07cf6.jpg","text":"TemporaryFile(/tmp/multipartBody3896495603195000906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278463545,"filename":"image_12072025_01_58_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0753e2065a8c2a0ca6a2b03aba61e5f0.jpg","text":"TemporaryFile(/tmp/multipartBody1396861271564951615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278463545,"filename":"image_12072025_01_58_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6820cb40705288eb7783ce07fdde2dfe.jpg","text":"TemporaryFile(/tmp/multipartBody6247703243138735170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278463545,"filename":"image_12072025_01_58_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371776941","file1":"1371776938","file0":"1371776936","file4":"1371776954","file3":"1371776943"},"map_files_photo_id_array":[{"photo_id":"1371776941","filename":"file2"},{"photo_id":"1371776954","filename":"file4"},{"photo_id":"1371776938","filename":"file1"},{"photo_id":"1371776936","filename":"file0"},{"photo_id":"1371776943","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371776943":["hashtag1","hashtag2"]},{"1371776954":["hashtag1","hashtag2"]},{"1371776936":["hashtag1","hashtag2"]},{"1371776941":["hashtag1","hashtag2"]},{"1371776938":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371776943, 1371776954, 1371776936, 1371776941, 1371776938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.140886068344116 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:00:46.817536
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_44_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_14_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/01/59/image_12072025_02_00_03_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_53_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_44_9661.jpg', '/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_34_10647.jpg', '/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_23_9640.jpg', '/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_14_10670.jpg', '/home/nano/Desktop/images/12072025/01/59/image_12072025_02_00_03_9651.jpg', '/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_53_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_44_9661.jpg
/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_34_10647.jpg
/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_23_9640.jpg
/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_14_10670.jpg
/home/nano/Desktop/images/12072025/01/59/image_12072025_02_00_03_9651.jpg
/home/nano/Desktop/images/12072025/01/59/image_12072025_01_59_53_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371776999","1371776972","1371777008","1371776974","1371777004","1371776997"],"photo_ids_order":["1371776972","1371776974","1371776997","1371776999","1371777004","1371777008"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3dac1c0daba2ded41c089368df1e5b5a.jpg","text":"TemporaryFile(/tmp/multipartBody467401954003698124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278508133,"filename":"image_12072025_02_00_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c02dd40f49dc0d88fda68c51a7c0e279.jpg","text":"TemporaryFile(/tmp/multipartBody9083396540521940343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278508133,"filename":"image_12072025_02_00_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f638499f03331984eaa6792c1dfe1b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3327488734976739178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278508133,"filename":"image_12072025_01_59_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c53a80f6d18f32e03fcc41f71e7a5137.jpg","text":"TemporaryFile(/tmp/multipartBody2459154093542741178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278508133,"filename":"image_12072025_02_00_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d213c9bde9752172d34f3e03ed8f984.jpg","text":"TemporaryFile(/tmp/multipartBody4374286274784611181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278508133,"filename":"image_12072025_02_00_03_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/054521e78920c12d740e148767b29bdb.jpg","text":"TemporaryFile(/tmp/multipartBody9054240469075733362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278508133,"filename":"image_12072025_02_00_23_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371776997","file1":"1371776974","file0":"1371776972","file4":"1371777004","file5":"1371777008","file3":"1371776999"},"map_files_photo_id_array":[{"photo_id":"1371777008","filename":"file5"},{"photo_id":"1371776997","filename":"file2"},{"photo_id":"1371777004","filename":"file4"},{"photo_id":"1371776974","filename":"file1"},{"photo_id":"1371776972","filename":"file0"},{"photo_id":"1371776999","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371776999":["hashtag1","hashtag2"]},{"1371776972":["hashtag1","hashtag2"]},{"1371777008":["hashtag1","hashtag2"]},{"1371776974":["hashtag1","hashtag2"]},{"1371777004":["hashtag1","hashtag2"]},{"1371776997":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371776999, 1371776972, 1371777008, 1371776974, 1371777004, 1371776997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.57012605667114 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:01:46.935108
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_14_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/02/00/image_12072025_02_01_04_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_44_9639.jpg', '/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_34_10648.jpg', '/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_23_9637.jpg', '/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_14_9655.jpg', '/home/nano/Desktop/images/12072025/02/00/image_12072025_02_01_04_10677.jpg', '/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_44_9639.jpg
/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_34_10648.jpg
/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_23_9637.jpg
/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_14_9655.jpg
/home/nano/Desktop/images/12072025/02/00/image_12072025_02_01_04_10677.jpg
/home/nano/Desktop/images/12072025/02/00/image_12072025_02_00_53_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371777105","1371777053","1371777130","1371777028","1371777156","1371777078"],"photo_ids_order":["1371777028","1371777053","1371777078","1371777105","1371777130","1371777156"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bed250249d4a73cd5a43a389fe6ec466.jpg","text":"TemporaryFile(/tmp/multipartBody4176823764566046545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278568571,"filename":"image_12072025_02_01_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41d0c375c49183322c43b19276196748.jpg","text":"TemporaryFile(/tmp/multipartBody4733478742362887675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278568571,"filename":"image_12072025_02_01_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/275abe25977bc806eef86a0b3329f484.jpg","text":"TemporaryFile(/tmp/multipartBody5823572619853470516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278568571,"filename":"image_12072025_02_01_04_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7ebf6a2c2df60ae8c7b52718b00480b.jpg","text":"TemporaryFile(/tmp/multipartBody9194308165842344776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278568571,"filename":"image_12072025_02_01_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/194946a95edd72fffbde51261097e319.jpg","text":"TemporaryFile(/tmp/multipartBody5858188746457608203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278568571,"filename":"image_12072025_02_00_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da86924c40b8f9e125dd239c12b8d387.jpg","text":"TemporaryFile(/tmp/multipartBody7083599691353465547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278568571,"filename":"image_12072025_02_01_23_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371777078","file1":"1371777053","file0":"1371777028","file4":"1371777130","file5":"1371777156","file3":"1371777105"},"map_files_photo_id_array":[{"photo_id":"1371777156","filename":"file5"},{"photo_id":"1371777078","filename":"file2"},{"photo_id":"1371777130","filename":"file4"},{"photo_id":"1371777053","filename":"file1"},{"photo_id":"1371777028","filename":"file0"},{"photo_id":"1371777105","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371777105":["hashtag1","hashtag2"]},{"1371777053":["hashtag1","hashtag2"]},{"1371777130":["hashtag1","hashtag2"]},{"1371777028":["hashtag1","hashtag2"]},{"1371777156":["hashtag1","hashtag2"]},{"1371777078":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371777105, 1371777053, 1371777130, 1371777028, 1371777156, 1371777078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1775062084198 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:02:32.052856
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_43_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_34_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_14_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/02/01/image_12072025_02_02_04_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_43_9646.jpg', '/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_34_10655.jpg', '/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_23_9638.jpg', '/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_14_9671.jpg', '/home/nano/Desktop/images/12072025/02/01/image_12072025_02_02_04_10663.jpg', '/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_43_9646.jpg
/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_34_10655.jpg
/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_23_9638.jpg
/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_14_9671.jpg
/home/nano/Desktop/images/12072025/02/01/image_12072025_02_02_04_10663.jpg
/home/nano/Desktop/images/12072025/02/01/image_12072025_02_01_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371777983","1371777871","1371777661","1371778074","1371778128","1371777762"],"photo_ids_order":["1371777661","1371777762","1371777871","1371777983","1371778074","1371778128"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae80d430aa6b592b1178e4c0305a9490.jpg","text":"TemporaryFile(/tmp/multipartBody184279377519500508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278613594,"filename":"image_12072025_02_02_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d2751eefc581bb14161ebd3c3fc95f3.jpg","text":"TemporaryFile(/tmp/multipartBody8773686218747192933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278613594,"filename":"image_12072025_02_02_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7bda39ce5bb900659bf51e4e20b0800a.jpg","text":"TemporaryFile(/tmp/multipartBody7210330850872698047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278613594,"filename":"image_12072025_02_02_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65d2381e944b7af855d584a206161b87.jpg","text":"TemporaryFile(/tmp/multipartBody3618528621734933513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278613594,"filename":"image_12072025_02_02_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6d587d4cb3f1320f18c129bdb72d7e3.jpg","text":"TemporaryFile(/tmp/multipartBody3073262048626028535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278613594,"filename":"image_12072025_02_01_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/758e0a048fc0bccecfefc279754978de.jpg","text":"TemporaryFile(/tmp/multipartBody4894391238335641595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278613594,"filename":"image_12072025_02_02_34_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371777871","file1":"1371777762","file0":"1371777661","file4":"1371778074","file5":"1371778128","file3":"1371777983"},"map_files_photo_id_array":[{"photo_id":"1371778128","filename":"file5"},{"photo_id":"1371777871","filename":"file2"},{"photo_id":"1371778074","filename":"file4"},{"photo_id":"1371777762","filename":"file1"},{"photo_id":"1371777661","filename":"file0"},{"photo_id":"1371777983","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371777983":["hashtag1","hashtag2"]},{"1371777871":["hashtag1","hashtag2"]},{"1371777661":["hashtag1","hashtag2"]},{"1371778074":["hashtag1","hashtag2"]},{"1371778128":["hashtag1","hashtag2"]},{"1371777762":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371777983, 1371777871, 1371777661, 1371778074, 1371778128, 1371777762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76198220252991 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:03:17.152981
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/03/image_12072025_02_03_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/03/image_12072025_02_03_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/03/image_12072025_02_03_13_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/02/02/image_12072025_02_03_04_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/03/image_12072025_02_03_43_9638.jpg', '/home/nano/Desktop/images/12072025/02/03/image_12072025_02_03_23_9638.jpg', '/home/nano/Desktop/images/12072025/02/03/image_12072025_02_03_13_9667.jpg', '/home/nano/Desktop/images/12072025/02/02/image_12072025_02_03_04_10669.jpg', '/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/03/image_12072025_02_03_43_9638.jpg
/home/nano/Desktop/images/12072025/02/03/image_12072025_02_03_23_9638.jpg
/home/nano/Desktop/images/12072025/02/03/image_12072025_02_03_13_9667.jpg
/home/nano/Desktop/images/12072025/02/02/image_12072025_02_03_04_10669.jpg
/home/nano/Desktop/images/12072025/02/02/image_12072025_02_02_53_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371778688","1371778748","1371778463","1371778643","1371778581"],"photo_ids_order":["1371778463","1371778581","1371778643","1371778688","1371778748"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/673dfd709d189edbe0dab43b453b7ef0.jpg","text":"TemporaryFile(/tmp/multipartBody5225171573948050296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278658501,"filename":"image_12072025_02_03_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63545eebac6d5a04398e50141b225867.jpg","text":"TemporaryFile(/tmp/multipartBody541443008156900009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278658501,"filename":"image_12072025_02_02_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad2b9ef6ee7bce49dc54cb620e503b92.jpg","text":"TemporaryFile(/tmp/multipartBody4921893874409785451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278658501,"filename":"image_12072025_02_03_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5aaf17a806c8e93a0fd9e1259410662f.jpg","text":"TemporaryFile(/tmp/multipartBody7048403365236913827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278658501,"filename":"image_12072025_02_03_13_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cba34019aaaf30e462492a50448ea8a5.jpg","text":"TemporaryFile(/tmp/multipartBody3170815622979568394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278658501,"filename":"image_12072025_02_03_23_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371778643","file1":"1371778581","file0":"1371778463","file4":"1371778748","file3":"1371778688"},"map_files_photo_id_array":[{"photo_id":"1371778643","filename":"file2"},{"photo_id":"1371778748","filename":"file4"},{"photo_id":"1371778581","filename":"file1"},{"photo_id":"1371778463","filename":"file0"},{"photo_id":"1371778688","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371778688":["hashtag1","hashtag2"]},{"1371778748":["hashtag1","hashtag2"]},{"1371778463":["hashtag1","hashtag2"]},{"1371778643":["hashtag1","hashtag2"]},{"1371778581":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371778688, 1371778748, 1371778463, 1371778643, 1371778581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.7246036529541 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:03:47.136213
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/51/image_10072025_22_52_04_9676.jpg', 2), ('/home/nano/Desktop/images/10072025/22/51/image_10072025_22_51_54_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/22/51/image_10072025_22_51_43_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/22/51/image_10072025_22_51_24_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/22/51/image_10072025_22_51_13_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/22/50/image_10072025_22_51_04_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/51/image_10072025_22_52_04_9676.jpg', '/home/nano/Desktop/images/10072025/22/51/image_10072025_22_51_54_10662.jpg', '/home/nano/Desktop/images/10072025/22/51/image_10072025_22_51_43_9663.jpg', '/home/nano/Desktop/images/10072025/22/51/image_10072025_22_51_24_10672.jpg', '/home/nano/Desktop/images/10072025/22/51/image_10072025_22_51_13_9663.jpg', '/home/nano/Desktop/images/10072025/22/50/image_10072025_22_51_04_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/51/image_10072025_22_52_04_9676.jpg
/home/nano/Desktop/images/10072025/22/51/image_10072025_22_51_54_10662.jpg
/home/nano/Desktop/images/10072025/22/51/image_10072025_22_51_43_9663.jpg
/home/nano/Desktop/images/10072025/22/51/image_10072025_22_51_24_10672.jpg
/home/nano/Desktop/images/10072025/22/51/image_10072025_22_51_13_9663.jpg
/home/nano/Desktop/images/10072025/22/50/image_10072025_22_51_04_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371779083","1371778894","1371778939","1371778989","1371779124","1371779036"],"photo_ids_order":["1371778894","1371778939","1371778989","1371779036","1371779083","1371779124"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63fed63cd08a689184e488f7f1acba6e.jpg","text":"TemporaryFile(/tmp/multipartBody3665563193075424783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278689923,"filename":"image_10072025_22_51_13_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2c46a479feebffe1b44ec5b724b7d7d.jpg","text":"TemporaryFile(/tmp/multipartBody1995900815984826980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278689923,"filename":"image_10072025_22_52_04_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/589903eabc625e1b8da53bc18c3c5a32.jpg","text":"TemporaryFile(/tmp/multipartBody2451933119905412266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278689923,"filename":"image_10072025_22_51_54_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5eb7f12a0801aea450843b5b9365eac5.jpg","text":"TemporaryFile(/tmp/multipartBody649770715481874857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278689923,"filename":"image_10072025_22_51_43_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d640eb19cbf3d566690d03d04e9faf7.jpg","text":"TemporaryFile(/tmp/multipartBody7344711838939803234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278689923,"filename":"image_10072025_22_51_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/960332559333ffbd871a38fc3daea3a8.jpg","text":"TemporaryFile(/tmp/multipartBody7190444409877693459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278689923,"filename":"image_10072025_22_51_24_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371778989","file1":"1371778939","file0":"1371778894","file4":"1371779083","file5":"1371779124","file3":"1371779036"},"map_files_photo_id_array":[{"photo_id":"1371779124","filename":"file5"},{"photo_id":"1371778989","filename":"file2"},{"photo_id":"1371779083","filename":"file4"},{"photo_id":"1371778939","filename":"file1"},{"photo_id":"1371778894","filename":"file0"},{"photo_id":"1371779036","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371779083":["hashtag1","hashtag2"]},{"1371778894":["hashtag1","hashtag2"]},{"1371778939":["hashtag1","hashtag2"]},{"1371778989":["hashtag1","hashtag2"]},{"1371779124":["hashtag1","hashtag2"]},{"1371779036":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371779083, 1371778894, 1371778939, 1371778989, 1371779124, 1371779036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.289342641830444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:04:32.254668
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_43_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_34_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_24_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_13_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/02/03/image_12072025_02_04_04_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/03/image_12072025_02_03_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_43_9656.jpg', '/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_34_9640.jpg', '/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_24_10670.jpg', '/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_13_9675.jpg', '/home/nano/Desktop/images/12072025/02/03/image_12072025_02_04_04_9654.jpg', '/home/nano/Desktop/images/12072025/02/03/image_12072025_02_03_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_43_9656.jpg
/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_34_9640.jpg
/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_24_10670.jpg
/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_13_9675.jpg
/home/nano/Desktop/images/12072025/02/03/image_12072025_02_04_04_9654.jpg
/home/nano/Desktop/images/12072025/02/03/image_12072025_02_03_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371779263","1371779251","1371779248","1371779256","1371779259","1371779246"],"photo_ids_order":["1371779246","1371779248","1371779251","1371779256","1371779259","1371779263"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/047aa214f9a1c7cb3d7b7f8929c916a9.jpg","text":"TemporaryFile(/tmp/multipartBody1700892973480732842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278733751,"filename":"image_12072025_02_03_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b5916f5a7ff0434ee9014e542cfaf17.jpg","text":"TemporaryFile(/tmp/multipartBody6121536240863970240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278733751,"filename":"image_12072025_02_04_24_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f593a13c391a695fe04785db23627aa7.jpg","text":"TemporaryFile(/tmp/multipartBody4930193708674100454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278733751,"filename":"image_12072025_02_04_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a219c8bff872203807be5d0be8ad02f.jpg","text":"TemporaryFile(/tmp/multipartBody7776538349317007775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278733751,"filename":"image_12072025_02_04_13_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbc6d41e9926b8b0e0d55d02b1d0f8bf.jpg","text":"TemporaryFile(/tmp/multipartBody2495136989693295743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278733751,"filename":"image_12072025_02_04_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ab3c02125b33599d9c26e3d38c191cb.jpg","text":"TemporaryFile(/tmp/multipartBody5065241375719868794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278733751,"filename":"image_12072025_02_04_43_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371779251","file1":"1371779248","file0":"1371779246","file4":"1371779259","file5":"1371779263","file3":"1371779256"},"map_files_photo_id_array":[{"photo_id":"1371779263","filename":"file5"},{"photo_id":"1371779251","filename":"file2"},{"photo_id":"1371779259","filename":"file4"},{"photo_id":"1371779248","filename":"file1"},{"photo_id":"1371779246","filename":"file0"},{"photo_id":"1371779256","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371779263":["hashtag1","hashtag2"]},{"1371779251":["hashtag1","hashtag2"]},{"1371779248":["hashtag1","hashtag2"]},{"1371779256":["hashtag1","hashtag2"]},{"1371779259":["hashtag1","hashtag2"]},{"1371779246":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371779263, 1371779251, 1371779248, 1371779256, 1371779259, 1371779246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.520424127578735 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:05:17.358624
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_34_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/02/04/image_12072025_02_05_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_54_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_43_9638.jpg', '/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_34_9655.jpg', '/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_24_10649.jpg', '/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_13_9658.jpg', '/home/nano/Desktop/images/12072025/02/04/image_12072025_02_05_04_9645.jpg', '/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_54_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_43_9638.jpg
/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_34_9655.jpg
/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_24_10649.jpg
/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_13_9658.jpg
/home/nano/Desktop/images/12072025/02/04/image_12072025_02_05_04_9645.jpg
/home/nano/Desktop/images/12072025/02/04/image_12072025_02_04_54_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371779749","1371779701","1371779556","1371779604","1371779508","1371779657"],"photo_ids_order":["1371779508","1371779556","1371779604","1371779657","1371779701","1371779749"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0295ac044ff3eba36cd234284a64a6f2.jpg","text":"TemporaryFile(/tmp/multipartBody5608118279749799593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278778756,"filename":"image_12072025_02_04_54_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c34cf285ed2a90836ecd87b74101377.jpg","text":"TemporaryFile(/tmp/multipartBody4847326856512275834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278778756,"filename":"image_12072025_02_05_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5280e61bb4de4932da57a104923fae1.jpg","text":"TemporaryFile(/tmp/multipartBody4664878814638747536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278778756,"filename":"image_12072025_02_05_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e6f1e9cdfec2d9c70794b929610180e.jpg","text":"TemporaryFile(/tmp/multipartBody2328077558246948086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278778756,"filename":"image_12072025_02_05_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a40081eaee2f4530649766ac489ce63.jpg","text":"TemporaryFile(/tmp/multipartBody6667731660158632723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278778756,"filename":"image_12072025_02_05_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf96b83f115ba347f89d393d6f5fcf98.jpg","text":"TemporaryFile(/tmp/multipartBody4027558179579756264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278778756,"filename":"image_12072025_02_05_13_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371779604","file1":"1371779556","file0":"1371779508","file4":"1371779701","file5":"1371779749","file3":"1371779657"},"map_files_photo_id_array":[{"photo_id":"1371779749","filename":"file5"},{"photo_id":"1371779604","filename":"file2"},{"photo_id":"1371779701","filename":"file4"},{"photo_id":"1371779556","filename":"file1"},{"photo_id":"1371779508","filename":"file0"},{"photo_id":"1371779657","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371779749":["hashtag1","hashtag2"]},{"1371779701":["hashtag1","hashtag2"]},{"1371779556":["hashtag1","hashtag2"]},{"1371779604":["hashtag1","hashtag2"]},{"1371779508":["hashtag1","hashtag2"]},{"1371779657":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371779749, 1371779701, 1371779556, 1371779604, 1371779508, 1371779657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66412401199341 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:06:02.819244
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/50/image_10072025_22_50_54_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/22/50/image_10072025_22_50_43_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/22/50/image_10072025_22_50_34_10659.jpg', 2), ('/home/nano/Desktop/images/10072025/22/49/image_10072025_22_50_04_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/22/49/image_10072025_22_49_53_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/22/49/image_10072025_22_49_13_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/50/image_10072025_22_50_54_10660.jpg', '/home/nano/Desktop/images/10072025/22/50/image_10072025_22_50_43_9662.jpg', '/home/nano/Desktop/images/10072025/22/50/image_10072025_22_50_34_10659.jpg', '/home/nano/Desktop/images/10072025/22/49/image_10072025_22_50_04_10656.jpg', '/home/nano/Desktop/images/10072025/22/49/image_10072025_22_49_53_9656.jpg', '/home/nano/Desktop/images/10072025/22/49/image_10072025_22_49_13_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/50/image_10072025_22_50_54_10660.jpg
/home/nano/Desktop/images/10072025/22/50/image_10072025_22_50_43_9662.jpg
/home/nano/Desktop/images/10072025/22/50/image_10072025_22_50_34_10659.jpg
/home/nano/Desktop/images/10072025/22/49/image_10072025_22_50_04_10656.jpg
/home/nano/Desktop/images/10072025/22/49/image_10072025_22_49_53_9656.jpg
/home/nano/Desktop/images/10072025/22/49/image_10072025_22_49_13_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371779965","1371779859","1371779832","1371779913","1371779993","1371780012"],"photo_ids_order":["1371779832","1371779859","1371779913","1371779965","1371779993","1371780012"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6bbf9f7488f477c00171cba425696e16.jpg","text":"TemporaryFile(/tmp/multipartBody5835897789510153688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278825754,"filename":"image_10072025_22_50_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a99f20a89fd38b6511c33cd229b6f2f2.jpg","text":"TemporaryFile(/tmp/multipartBody9092175743815811480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278825754,"filename":"image_10072025_22_50_43_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2e252b41a06866781ae0de6f584ef8d.jpg","text":"TemporaryFile(/tmp/multipartBody3474141131682599226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278825754,"filename":"image_10072025_22_50_54_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04c9a5eff4e5a2d298264be916cf0569.jpg","text":"TemporaryFile(/tmp/multipartBody7113093239665731579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278825754,"filename":"image_10072025_22_50_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41c8d19639124f7f076016041544caa9.jpg","text":"TemporaryFile(/tmp/multipartBody4665797788661610057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278825754,"filename":"image_10072025_22_49_53_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce156b58602065e0485290e6a05e10b3.jpg","text":"TemporaryFile(/tmp/multipartBody955896082204582052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278825754,"filename":"image_10072025_22_49_13_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371779913","file1":"1371779859","file0":"1371779832","file4":"1371779993","file5":"1371780012","file3":"1371779965"},"map_files_photo_id_array":[{"photo_id":"1371780012","filename":"file5"},{"photo_id":"1371779913","filename":"file2"},{"photo_id":"1371779993","filename":"file4"},{"photo_id":"1371779859","filename":"file1"},{"photo_id":"1371779832","filename":"file0"},{"photo_id":"1371779965","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371779965":["hashtag1","hashtag2"]},{"1371779859":["hashtag1","hashtag2"]},{"1371779832":["hashtag1","hashtag2"]},{"1371779913":["hashtag1","hashtag2"]},{"1371779993":["hashtag1","hashtag2"]},{"1371780012":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371779965, 1371779859, 1371779832, 1371779913, 1371779993, 1371780012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92170739173889 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:06:47.469217
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_43_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_34_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_24_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_13_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/02/05/image_12072025_02_06_04_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_54_10689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_43_9643.jpg', '/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_34_9636.jpg', '/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_24_10655.jpg', '/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_13_9655.jpg', '/home/nano/Desktop/images/12072025/02/05/image_12072025_02_06_04_9654.jpg', '/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_54_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_43_9643.jpg
/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_34_9636.jpg
/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_24_10655.jpg
/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_13_9655.jpg
/home/nano/Desktop/images/12072025/02/05/image_12072025_02_06_04_9654.jpg
/home/nano/Desktop/images/12072025/02/05/image_12072025_02_05_54_10689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780161","1371780175","1371780151","1371780154","1371780144","1371780120"],"photo_ids_order":["1371780120","1371780144","1371780151","1371780154","1371780161","1371780175"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/136995fd5037414490d5ec3170a652a7.jpg","text":"TemporaryFile(/tmp/multipartBody8732060276719113246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278868913,"filename":"image_12072025_02_06_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb255cc4d35fc0f5bf76605bd2d241b2.jpg","text":"TemporaryFile(/tmp/multipartBody27125048333624450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278868913,"filename":"image_12072025_02_05_54_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6875b7c229f98c8f9b96d624f26fe5fd.jpg","text":"TemporaryFile(/tmp/multipartBody149552184480907852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278868913,"filename":"image_12072025_02_06_24_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f9f4351f3426ab68f0c5c96c7833edf.jpg","text":"TemporaryFile(/tmp/multipartBody940118358338898747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278868913,"filename":"image_12072025_02_06_13_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b64ca06041d2baf8df9a888535f972ad.jpg","text":"TemporaryFile(/tmp/multipartBody4713402987764958490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278868913,"filename":"image_12072025_02_06_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03fdc1722efb54ea28567170e78e4ad2.jpg","text":"TemporaryFile(/tmp/multipartBody2706091507653516352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278868913,"filename":"image_12072025_02_06_43_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780151","file1":"1371780144","file0":"1371780120","file4":"1371780161","file5":"1371780175","file3":"1371780154"},"map_files_photo_id_array":[{"photo_id":"1371780175","filename":"file5"},{"photo_id":"1371780151","filename":"file2"},{"photo_id":"1371780161","filename":"file4"},{"photo_id":"1371780144","filename":"file1"},{"photo_id":"1371780120","filename":"file0"},{"photo_id":"1371780154","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780161":["hashtag1","hashtag2"]},{"1371780175":["hashtag1","hashtag2"]},{"1371780151":["hashtag1","hashtag2"]},{"1371780154":["hashtag1","hashtag2"]},{"1371780144":["hashtag1","hashtag2"]},{"1371780120":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780161, 1371780175, 1371780151, 1371780154, 1371780144, 1371780120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58721613883972 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:07:32.586494
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_13_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/02/06/image_12072025_02_07_03_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_43_9638.jpg', '/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_33_9637.jpg', '/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_24_10647.jpg', '/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_13_9665.jpg', '/home/nano/Desktop/images/12072025/02/06/image_12072025_02_07_03_9661.jpg', '/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_54_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_43_9638.jpg
/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_33_9637.jpg
/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_24_10647.jpg
/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_13_9665.jpg
/home/nano/Desktop/images/12072025/02/06/image_12072025_02_07_03_9661.jpg
/home/nano/Desktop/images/12072025/02/06/image_12072025_02_06_54_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780245","1371780262","1371780250","1371780273","1371780267","1371780257"],"photo_ids_order":["1371780245","1371780250","1371780257","1371780262","1371780267","1371780273"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff8cde85e11e7a16aed48b11105a7a55.jpg","text":"TemporaryFile(/tmp/multipartBody8738587948693135666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278914432,"filename":"image_12072025_02_07_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c82ec929e3df972d7773769305ef155c.jpg","text":"TemporaryFile(/tmp/multipartBody5011211455412010389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278914432,"filename":"image_12072025_02_07_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ec51445eb3ebc00fe4006cebde1fc35.jpg","text":"TemporaryFile(/tmp/multipartBody4668577513645148059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278914432,"filename":"image_12072025_02_07_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d1a0722ae82de58ac4710f0cb3c83b1.jpg","text":"TemporaryFile(/tmp/multipartBody8632706572404424936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278914432,"filename":"image_12072025_02_06_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34cbf0654316ea5675c3bb8eb9d3b37d.jpg","text":"TemporaryFile(/tmp/multipartBody7637841573777735346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278914432,"filename":"image_12072025_02_07_03_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0220c4cfb1d8a25232a815bdec121fa9.jpg","text":"TemporaryFile(/tmp/multipartBody6189815452150657437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278914432,"filename":"image_12072025_02_07_24_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780257","file1":"1371780250","file0":"1371780245","file4":"1371780267","file5":"1371780273","file3":"1371780262"},"map_files_photo_id_array":[{"photo_id":"1371780273","filename":"file5"},{"photo_id":"1371780257","filename":"file2"},{"photo_id":"1371780267","filename":"file4"},{"photo_id":"1371780250","filename":"file1"},{"photo_id":"1371780245","filename":"file0"},{"photo_id":"1371780262","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780245":["hashtag1","hashtag2"]},{"1371780262":["hashtag1","hashtag2"]},{"1371780250":["hashtag1","hashtag2"]},{"1371780273":["hashtag1","hashtag2"]},{"1371780267":["hashtag1","hashtag2"]},{"1371780257":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780245, 1371780262, 1371780250, 1371780273, 1371780267, 1371780257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72091746330261 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:08:17.687606
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_24_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/02/07/image_12072025_02_08_03_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_44_10648.jpg', '/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_33_9638.jpg', '/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_24_9643.jpg', '/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_14_10667.jpg', '/home/nano/Desktop/images/12072025/02/07/image_12072025_02_08_03_9652.jpg', '/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_44_10648.jpg
/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_33_9638.jpg
/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_24_9643.jpg
/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_14_10667.jpg
/home/nano/Desktop/images/12072025/02/07/image_12072025_02_08_03_9652.jpg
/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_54_10649.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.59197998046875 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:08:32.685405
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_24_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/02/07/image_12072025_02_08_03_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_44_10648.jpg', '/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_33_9638.jpg', '/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_24_9643.jpg', '/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_14_10667.jpg', '/home/nano/Desktop/images/12072025/02/07/image_12072025_02_08_03_9652.jpg', '/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_44_10648.jpg
/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_33_9638.jpg
/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_24_9643.jpg
/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_14_10667.jpg
/home/nano/Desktop/images/12072025/02/07/image_12072025_02_08_03_9652.jpg
/home/nano/Desktop/images/12072025/02/07/image_12072025_02_07_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780298","1371780291","1371780294","1371780293","1371780296","1371780300"],"photo_ids_order":["1371780291","1371780293","1371780294","1371780296","1371780298","1371780300"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80fb510ce036abef695bff35f535d2cf.jpg","text":"TemporaryFile(/tmp/multipartBody4132390758349127310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278973858,"filename":"image_12072025_02_08_03_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/781730fe3766ae093bd4e5eeb23bcd6d.jpg","text":"TemporaryFile(/tmp/multipartBody269788204153174471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278973858,"filename":"image_12072025_02_08_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/baf77fba9994f8fe172c49e16317eb9f.jpg","text":"TemporaryFile(/tmp/multipartBody5018759170952011412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278973858,"filename":"image_12072025_02_08_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2df2fde6f81fff4317e7560512db5bfc.jpg","text":"TemporaryFile(/tmp/multipartBody3378482363259787767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278973858,"filename":"image_12072025_02_08_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/445f2928ec414c2f78d71babfad4ec34.jpg","text":"TemporaryFile(/tmp/multipartBody6136679469306535974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278973858,"filename":"image_12072025_02_08_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca9375f5f0325a8b37d97d2c6a31f22c.jpg","text":"TemporaryFile(/tmp/multipartBody4337009171716911918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752278973858,"filename":"image_12072025_02_07_54_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780294","file1":"1371780293","file0":"1371780291","file4":"1371780298","file5":"1371780300","file3":"1371780296"},"map_files_photo_id_array":[{"photo_id":"1371780300","filename":"file5"},{"photo_id":"1371780294","filename":"file2"},{"photo_id":"1371780298","filename":"file4"},{"photo_id":"1371780293","filename":"file1"},{"photo_id":"1371780291","filename":"file0"},{"photo_id":"1371780296","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780298":["hashtag1","hashtag2"]},{"1371780291":["hashtag1","hashtag2"]},{"1371780294":["hashtag1","hashtag2"]},{"1371780293":["hashtag1","hashtag2"]},{"1371780296":["hashtag1","hashtag2"]},{"1371780300":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780298, 1371780291, 1371780294, 1371780293, 1371780296, 1371780300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.70676851272583 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:09:16.802501
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_44_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_33_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_14_10679.jpg', 2), ('/home/nano/Desktop/images/12072025/02/08/image_12072025_02_09_03_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_54_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_44_10655.jpg', '/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_33_9647.jpg', '/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_24_9637.jpg', '/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_14_10679.jpg', '/home/nano/Desktop/images/12072025/02/08/image_12072025_02_09_03_9639.jpg', '/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_44_10655.jpg
/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_33_9647.jpg
/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_24_9637.jpg
/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_14_10679.jpg
/home/nano/Desktop/images/12072025/02/08/image_12072025_02_09_03_9639.jpg
/home/nano/Desktop/images/12072025/02/08/image_12072025_02_08_54_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780314","1371780323","1371780317","1371780325","1371780319","1371780328"],"photo_ids_order":["1371780314","1371780317","1371780319","1371780323","1371780325","1371780328"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/452c7fd7f8c12320ed2d815a71b8fea6.jpg","text":"TemporaryFile(/tmp/multipartBody5003739457374187252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279018354,"filename":"image_12072025_02_09_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed7730fcc4927ac69673304153af8ffd.jpg","text":"TemporaryFile(/tmp/multipartBody3160706029090633865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279018354,"filename":"image_12072025_02_09_14_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76eb24c11f62580a0eba21a80d04f387.jpg","text":"TemporaryFile(/tmp/multipartBody8202736441324354799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279018354,"filename":"image_12072025_02_09_33_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd7acff356fc2233fa8cff946e6b04e6.jpg","text":"TemporaryFile(/tmp/multipartBody1490005238026636290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279018354,"filename":"image_12072025_02_09_03_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d85eab573dde9a2ee60dd2cc2fb443c.jpg","text":"TemporaryFile(/tmp/multipartBody1890927403326079330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279018354,"filename":"image_12072025_02_09_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec46791b0b9c3ba1d591f11e76e2228a.jpg","text":"TemporaryFile(/tmp/multipartBody4367835728152462549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279018354,"filename":"image_12072025_02_08_54_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780319","file1":"1371780317","file0":"1371780314","file4":"1371780325","file5":"1371780328","file3":"1371780323"},"map_files_photo_id_array":[{"photo_id":"1371780328","filename":"file5"},{"photo_id":"1371780319","filename":"file2"},{"photo_id":"1371780325","filename":"file4"},{"photo_id":"1371780317","filename":"file1"},{"photo_id":"1371780314","filename":"file0"},{"photo_id":"1371780323","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780314":["hashtag1","hashtag2"]},{"1371780323":["hashtag1","hashtag2"]},{"1371780317":["hashtag1","hashtag2"]},{"1371780325":["hashtag1","hashtag2"]},{"1371780319":["hashtag1","hashtag2"]},{"1371780328":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780314, 1371780323, 1371780317, 1371780325, 1371780319, 1371780328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.525960206985474 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:10:02.195820
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/48/image_10072025_22_49_04_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/22/48/image_10072025_22_48_53_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/22/48/image_10072025_22_48_34_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/22/48/image_10072025_22_48_23_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/47/image_10072025_22_48_04_10659.jpg', 2), ('/home/nano/Desktop/images/10072025/22/47/image_10072025_22_47_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/48/image_10072025_22_49_04_10658.jpg', '/home/nano/Desktop/images/10072025/22/48/image_10072025_22_48_53_9644.jpg', '/home/nano/Desktop/images/10072025/22/48/image_10072025_22_48_34_10663.jpg', '/home/nano/Desktop/images/10072025/22/48/image_10072025_22_48_23_9647.jpg', '/home/nano/Desktop/images/10072025/22/47/image_10072025_22_48_04_10659.jpg', '/home/nano/Desktop/images/10072025/22/47/image_10072025_22_47_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/48/image_10072025_22_49_04_10658.jpg
/home/nano/Desktop/images/10072025/22/48/image_10072025_22_48_53_9644.jpg
/home/nano/Desktop/images/10072025/22/48/image_10072025_22_48_34_10663.jpg
/home/nano/Desktop/images/10072025/22/48/image_10072025_22_48_23_9647.jpg
/home/nano/Desktop/images/10072025/22/47/image_10072025_22_48_04_10659.jpg
/home/nano/Desktop/images/10072025/22/47/image_10072025_22_47_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780361","1371780364","1371780358","1371780360","1371780362","1371780356"],"photo_ids_order":["1371780356","1371780358","1371780360","1371780361","1371780362","1371780364"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dabd25ae5a95d9a8cb8206b672b66207.jpg","text":"TemporaryFile(/tmp/multipartBody2985938016902640874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279064854,"filename":"image_10072025_22_48_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1eb4daf68ecbe757662f4cd3ebfbfb7.jpg","text":"TemporaryFile(/tmp/multipartBody416677441147104712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279064854,"filename":"image_10072025_22_47_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b0e4deb0167af497520c8b94626deb2.jpg","text":"TemporaryFile(/tmp/multipartBody687744025275422620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279064854,"filename":"image_10072025_22_48_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8112f7638f08c933f1f4519aa5dd163.jpg","text":"TemporaryFile(/tmp/multipartBody2744778186470593965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279064854,"filename":"image_10072025_22_48_34_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9030df6d379afcb06c7975895b26a117.jpg","text":"TemporaryFile(/tmp/multipartBody3661027328349047930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279064854,"filename":"image_10072025_22_48_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/303ad31d0bbb6fe28d3ca6b22b50b2ad.jpg","text":"TemporaryFile(/tmp/multipartBody2999677247441076157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279064854,"filename":"image_10072025_22_49_04_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780360","file1":"1371780358","file0":"1371780356","file4":"1371780362","file5":"1371780364","file3":"1371780361"},"map_files_photo_id_array":[{"photo_id":"1371780364","filename":"file5"},{"photo_id":"1371780360","filename":"file2"},{"photo_id":"1371780362","filename":"file4"},{"photo_id":"1371780358","filename":"file1"},{"photo_id":"1371780356","filename":"file0"},{"photo_id":"1371780361","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371780361":["hashtag1","hashtag2"]},{"1371780364":["hashtag1","hashtag2"]},{"1371780358":["hashtag1","hashtag2"]},{"1371780360":["hashtag1","hashtag2"]},{"1371780362":["hashtag1","hashtag2"]},{"1371780356":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371780361, 1371780364, 1371780358, 1371780360, 1371780362, 1371780356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.227374792099 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:10:46.865661
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_33_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_24_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_14_10679.jpg', 2), ('/home/nano/Desktop/images/12072025/02/09/image_12072025_02_10_03_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_44_10647.jpg', '/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_33_9654.jpg', '/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_24_9639.jpg', '/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_14_10679.jpg', '/home/nano/Desktop/images/12072025/02/09/image_12072025_02_10_03_9657.jpg', '/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_44_10647.jpg
/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_33_9654.jpg
/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_24_9639.jpg
/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_14_10679.jpg
/home/nano/Desktop/images/12072025/02/09/image_12072025_02_10_03_9657.jpg
/home/nano/Desktop/images/12072025/02/09/image_12072025_02_09_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780385","1371780397","1371780393","1371780387","1371780381","1371780389"],"photo_ids_order":["1371780381","1371780385","1371780387","1371780389","1371780393","1371780397"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e618f10ee0560b5cc61b4b57f3c1ec3e.jpg","text":"TemporaryFile(/tmp/multipartBody1141505680182670322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279108298,"filename":"image_12072025_02_10_33_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d872072687497cd9135778c73d7c7a7.jpg","text":"TemporaryFile(/tmp/multipartBody201111894813366090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279108298,"filename":"image_12072025_02_09_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5987d472352f359cdacd4a553366f535.jpg","text":"TemporaryFile(/tmp/multipartBody5839973523803030760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279108298,"filename":"image_12072025_02_10_03_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86b4aa66cf21c14b931dec36f93008f3.jpg","text":"TemporaryFile(/tmp/multipartBody1620209979279261456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279108298,"filename":"image_12072025_02_10_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07fa4ba0e2d54aed45eafcaa1fb20f12.jpg","text":"TemporaryFile(/tmp/multipartBody6058558702385278128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279108298,"filename":"image_12072025_02_10_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6adfc5decd4d82410680b7cd0c70462.jpg","text":"TemporaryFile(/tmp/multipartBody6119348198561413516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279108298,"filename":"image_12072025_02_10_14_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780387","file1":"1371780385","file0":"1371780381","file4":"1371780393","file5":"1371780397","file3":"1371780389"},"map_files_photo_id_array":[{"photo_id":"1371780397","filename":"file5"},{"photo_id":"1371780387","filename":"file2"},{"photo_id":"1371780393","filename":"file4"},{"photo_id":"1371780385","filename":"file1"},{"photo_id":"1371780381","filename":"file0"},{"photo_id":"1371780389","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780385":["hashtag1","hashtag2"]},{"1371780397":["hashtag1","hashtag2"]},{"1371780393":["hashtag1","hashtag2"]},{"1371780387":["hashtag1","hashtag2"]},{"1371780381":["hashtag1","hashtag2"]},{"1371780389":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780385, 1371780397, 1371780393, 1371780387, 1371780381, 1371780389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.440934896469116 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:11:31.979558
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_44_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_33_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_14_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/02/10/image_12072025_02_11_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_44_10650.jpg', '/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_33_9643.jpg', '/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_23_9638.jpg', '/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_14_10670.jpg', '/home/nano/Desktop/images/12072025/02/10/image_12072025_02_11_03_9645.jpg', '/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_44_10650.jpg
/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_33_9643.jpg
/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_23_9638.jpg
/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_14_10670.jpg
/home/nano/Desktop/images/12072025/02/10/image_12072025_02_11_03_9645.jpg
/home/nano/Desktop/images/12072025/02/10/image_12072025_02_10_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780410","1371780412","1371780420","1371780414","1371780423","1371780417"],"photo_ids_order":["1371780410","1371780412","1371780414","1371780417","1371780420","1371780423"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18f78b19f3b962d25c408ce865de8e60.jpg","text":"TemporaryFile(/tmp/multipartBody6230331052201139426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279153465,"filename":"image_12072025_02_11_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2322684e1c36e7c09a350d8213a0bfef.jpg","text":"TemporaryFile(/tmp/multipartBody5390260680589514362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279153465,"filename":"image_12072025_02_11_33_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53b8e890c8de006cc5837b2f995c8256.jpg","text":"TemporaryFile(/tmp/multipartBody5570342920911785620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279153465,"filename":"image_12072025_02_11_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/506958f4b8035824c555b31b24d70eda.jpg","text":"TemporaryFile(/tmp/multipartBody1706764356657086662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279153465,"filename":"image_12072025_02_11_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/604f8e03282cb4b1dd17f6ceca576905.jpg","text":"TemporaryFile(/tmp/multipartBody4582139658103693250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279153465,"filename":"image_12072025_02_10_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5878072ea09abc96c11529e44767416a.jpg","text":"TemporaryFile(/tmp/multipartBody517844025062132878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279153465,"filename":"image_12072025_02_11_14_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780414","file1":"1371780412","file0":"1371780410","file4":"1371780420","file5":"1371780423","file3":"1371780417"},"map_files_photo_id_array":[{"photo_id":"1371780423","filename":"file5"},{"photo_id":"1371780414","filename":"file2"},{"photo_id":"1371780420","filename":"file4"},{"photo_id":"1371780412","filename":"file1"},{"photo_id":"1371780410","filename":"file0"},{"photo_id":"1371780417","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780410":["hashtag1","hashtag2"]},{"1371780412":["hashtag1","hashtag2"]},{"1371780420":["hashtag1","hashtag2"]},{"1371780414":["hashtag1","hashtag2"]},{"1371780423":["hashtag1","hashtag2"]},{"1371780417":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780410, 1371780412, 1371780420, 1371780414, 1371780423, 1371780417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.994951009750366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:12:17.143374
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_44_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_14_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/02/11/image_12072025_02_12_04_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_44_9638.jpg', '/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_34_10647.jpg', '/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_23_9636.jpg', '/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_14_9661.jpg', '/home/nano/Desktop/images/12072025/02/11/image_12072025_02_12_04_10660.jpg', '/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_44_9638.jpg
/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_34_10647.jpg
/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_23_9636.jpg
/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_14_9661.jpg
/home/nano/Desktop/images/12072025/02/11/image_12072025_02_12_04_10660.jpg
/home/nano/Desktop/images/12072025/02/11/image_12072025_02_11_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780449","1371780442","1371780439","1371780450","1371780444","1371780447"],"photo_ids_order":["1371780439","1371780442","1371780444","1371780447","1371780449","1371780450"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97dc7c3230f079df14c3c85832a711d1.jpg","text":"TemporaryFile(/tmp/multipartBody2223746547835814457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279198503,"filename":"image_12072025_02_12_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6d4a1d2be1831a3e05256082654d9ca.jpg","text":"TemporaryFile(/tmp/multipartBody6011354191553217753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279198503,"filename":"image_12072025_02_12_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/074b00677edcd0f12c25e72a05e0222d.jpg","text":"TemporaryFile(/tmp/multipartBody2320818345967782532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279198503,"filename":"image_12072025_02_12_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3499d0de0d28a865b24ac3d6b9d7036e.jpg","text":"TemporaryFile(/tmp/multipartBody4614711114940766606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279198503,"filename":"image_12072025_02_11_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/091b4028b205d85f74744402e36f4007.jpg","text":"TemporaryFile(/tmp/multipartBody7583413766728775891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279198503,"filename":"image_12072025_02_12_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a62ce7b3b87efa6189c3ee1bc7b03b72.jpg","text":"TemporaryFile(/tmp/multipartBody5892568934801569920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279198503,"filename":"image_12072025_02_12_14_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780444","file1":"1371780442","file0":"1371780439","file4":"1371780449","file5":"1371780450","file3":"1371780447"},"map_files_photo_id_array":[{"photo_id":"1371780450","filename":"file5"},{"photo_id":"1371780444","filename":"file2"},{"photo_id":"1371780449","filename":"file4"},{"photo_id":"1371780442","filename":"file1"},{"photo_id":"1371780439","filename":"file0"},{"photo_id":"1371780447","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780449":["hashtag1","hashtag2"]},{"1371780442":["hashtag1","hashtag2"]},{"1371780439":["hashtag1","hashtag2"]},{"1371780450":["hashtag1","hashtag2"]},{"1371780444":["hashtag1","hashtag2"]},{"1371780447":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780449, 1371780442, 1371780439, 1371780450, 1371780444, 1371780447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.407620668411255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:13:02.420493
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/47/image_10072025_22_47_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/47/image_10072025_22_47_14_9683.jpg', 2), ('/home/nano/Desktop/images/10072025/22/46/image_10072025_22_46_53_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/22/46/image_10072025_22_46_44_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/22/45/image_10072025_22_45_34_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/22/45/image_10072025_22_45_23_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/47/image_10072025_22_47_23_9646.jpg', '/home/nano/Desktop/images/10072025/22/47/image_10072025_22_47_14_9683.jpg', '/home/nano/Desktop/images/10072025/22/46/image_10072025_22_46_53_9664.jpg', '/home/nano/Desktop/images/10072025/22/46/image_10072025_22_46_44_9644.jpg', '/home/nano/Desktop/images/10072025/22/45/image_10072025_22_45_34_10654.jpg', '/home/nano/Desktop/images/10072025/22/45/image_10072025_22_45_23_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/47/image_10072025_22_47_23_9646.jpg
/home/nano/Desktop/images/10072025/22/47/image_10072025_22_47_14_9683.jpg
/home/nano/Desktop/images/10072025/22/46/image_10072025_22_46_53_9664.jpg
/home/nano/Desktop/images/10072025/22/46/image_10072025_22_46_44_9644.jpg
/home/nano/Desktop/images/10072025/22/45/image_10072025_22_45_34_10654.jpg
/home/nano/Desktop/images/10072025/22/45/image_10072025_22_45_23_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780470","1371780472","1371780466","1371780469","1371780463","1371780468"],"photo_ids_order":["1371780463","1371780466","1371780468","1371780469","1371780470","1371780472"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f32a6c035f5e23801759e526b33338a.jpg","text":"TemporaryFile(/tmp/multipartBody5011230811373841810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279245341,"filename":"image_10072025_22_45_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/49a121bb06a784b77373cbe3dc24cb02.jpg","text":"TemporaryFile(/tmp/multipartBody1861157194595580861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279245341,"filename":"image_10072025_22_45_23_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92a2576817374a4e1ae8474a13595ec3.jpg","text":"TemporaryFile(/tmp/multipartBody3509785988834191701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279245341,"filename":"image_10072025_22_47_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c438b78dab731341df8fb0bb4ecdb264.jpg","text":"TemporaryFile(/tmp/multipartBody2977597292365136427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279245341,"filename":"image_10072025_22_46_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5be154558cc96bf87d4e7a8b9a7e5e17.jpg","text":"TemporaryFile(/tmp/multipartBody1595711115225314973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279245341,"filename":"image_10072025_22_47_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8818fc2b8f05c0171772cc2b4c31ca43.jpg","text":"TemporaryFile(/tmp/multipartBody5238575608746172515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279245341,"filename":"image_10072025_22_46_53_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780468","file1":"1371780466","file0":"1371780463","file4":"1371780470","file5":"1371780472","file3":"1371780469"},"map_files_photo_id_array":[{"photo_id":"1371780472","filename":"file5"},{"photo_id":"1371780468","filename":"file2"},{"photo_id":"1371780470","filename":"file4"},{"photo_id":"1371780466","filename":"file1"},{"photo_id":"1371780463","filename":"file0"},{"photo_id":"1371780469","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371780470":["hashtag1","hashtag2"]},{"1371780472":["hashtag1","hashtag2"]},{"1371780466":["hashtag1","hashtag2"]},{"1371780469":["hashtag1","hashtag2"]},{"1371780463":["hashtag1","hashtag2"]},{"1371780468":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371780470, 1371780472, 1371780466, 1371780469, 1371780463, 1371780468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.845457315444946 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:13:47.184818
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/13/image_12072025_02_13_34_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/02/13/image_12072025_02_13_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/13/image_12072025_02_13_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/02/12/image_12072025_02_13_04_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/13/image_12072025_02_13_34_10646.jpg', '/home/nano/Desktop/images/12072025/02/13/image_12072025_02_13_23_9639.jpg', '/home/nano/Desktop/images/12072025/02/13/image_12072025_02_13_14_9658.jpg', '/home/nano/Desktop/images/12072025/02/12/image_12072025_02_13_04_10652.jpg', '/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/13/image_12072025_02_13_34_10646.jpg
/home/nano/Desktop/images/12072025/02/13/image_12072025_02_13_23_9639.jpg
/home/nano/Desktop/images/12072025/02/13/image_12072025_02_13_14_9658.jpg
/home/nano/Desktop/images/12072025/02/12/image_12072025_02_13_04_10652.jpg
/home/nano/Desktop/images/12072025/02/12/image_12072025_02_12_53_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780499","1371780495","1371780507","1371780501","1371780504"],"photo_ids_order":["1371780495","1371780499","1371780501","1371780504","1371780507"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9297f4a8d4298eb1e743a9e2a9a8e6ee.jpg","text":"TemporaryFile(/tmp/multipartBody2300172295031974567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279288583,"filename":"image_12072025_02_13_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8d68b73b34d96598731e5f3306604ea.jpg","text":"TemporaryFile(/tmp/multipartBody4556104963624870159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279288583,"filename":"image_12072025_02_13_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01b4b96a3cb3fd7ba4822bba1b503866.jpg","text":"TemporaryFile(/tmp/multipartBody461241629724710441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279288583,"filename":"image_12072025_02_12_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4bafe621238e6fe521366c768dfdd922.jpg","text":"TemporaryFile(/tmp/multipartBody7876510000667535934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279288583,"filename":"image_12072025_02_13_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da9bd7e126eec93d52a388af36c8ee46.jpg","text":"TemporaryFile(/tmp/multipartBody6527393792422689833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279288583,"filename":"image_12072025_02_13_04_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780501","file1":"1371780499","file0":"1371780495","file4":"1371780507","file3":"1371780504"},"map_files_photo_id_array":[{"photo_id":"1371780501","filename":"file2"},{"photo_id":"1371780507","filename":"file4"},{"photo_id":"1371780499","filename":"file1"},{"photo_id":"1371780495","filename":"file0"},{"photo_id":"1371780504","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780499":["hashtag1","hashtag2"]},{"1371780495":["hashtag1","hashtag2"]},{"1371780507":["hashtag1","hashtag2"]},{"1371780501":["hashtag1","hashtag2"]},{"1371780504":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780499, 1371780495, 1371780507, 1371780501, 1371780504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.140666246414185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:14:17.295408
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_43_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_13_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/02/13/image_12072025_02_13_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_43_9644.jpg', '/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_34_10649.jpg', '/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_23_9638.jpg', '/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_13_9675.jpg', '/home/nano/Desktop/images/12072025/02/13/image_12072025_02_13_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_43_9644.jpg
/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_34_10649.jpg
/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_23_9638.jpg
/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_13_9675.jpg
/home/nano/Desktop/images/12072025/02/13/image_12072025_02_13_53_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780518","1371780515","1371780522","1371780516","1371780519"],"photo_ids_order":["1371780515","1371780516","1371780518","1371780519","1371780522"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d5646baacc33d5620be83c0eeb640fe.jpg","text":"TemporaryFile(/tmp/multipartBody4726319719566644001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279318573,"filename":"image_12072025_02_14_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d21d1764f5134254ff0a27768e1bff7.jpg","text":"TemporaryFile(/tmp/multipartBody2449645148364500794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279318573,"filename":"image_12072025_02_14_43_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c2b74e08ceb73389f29c8ae39902b67.jpg","text":"TemporaryFile(/tmp/multipartBody8956054703187715300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279318573,"filename":"image_12072025_02_13_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aff62bfdb606e82976d34dc46bc3ef5d.jpg","text":"TemporaryFile(/tmp/multipartBody5719384729872463858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279318573,"filename":"image_12072025_02_14_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b64f9d683e7d80b8a8184b7d3118a41.jpg","text":"TemporaryFile(/tmp/multipartBody9032778962262544391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279318573,"filename":"image_12072025_02_14_13_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780518","file1":"1371780516","file0":"1371780515","file4":"1371780522","file3":"1371780519"},"map_files_photo_id_array":[{"photo_id":"1371780518","filename":"file2"},{"photo_id":"1371780522","filename":"file4"},{"photo_id":"1371780516","filename":"file1"},{"photo_id":"1371780515","filename":"file0"},{"photo_id":"1371780519","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780518":["hashtag1","hashtag2"]},{"1371780515":["hashtag1","hashtag2"]},{"1371780522":["hashtag1","hashtag2"]},{"1371780516":["hashtag1","hashtag2"]},{"1371780519":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780518, 1371780515, 1371780522, 1371780516, 1371780519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.05111527442932 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:14:47.297118
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/44/image_10072025_22_45_04_10684.jpg', 2), ('/home/nano/Desktop/images/10072025/22/44/image_10072025_22_44_53_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/22/44/image_10072025_22_44_44_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/22/44/image_10072025_22_44_23_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/22/44/image_10072025_22_44_14_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/22/43/image_10072025_22_43_53_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/44/image_10072025_22_45_04_10684.jpg', '/home/nano/Desktop/images/10072025/22/44/image_10072025_22_44_53_9644.jpg', '/home/nano/Desktop/images/10072025/22/44/image_10072025_22_44_44_10663.jpg', '/home/nano/Desktop/images/10072025/22/44/image_10072025_22_44_23_9652.jpg', '/home/nano/Desktop/images/10072025/22/44/image_10072025_22_44_14_10672.jpg', '/home/nano/Desktop/images/10072025/22/43/image_10072025_22_43_53_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/44/image_10072025_22_45_04_10684.jpg
/home/nano/Desktop/images/10072025/22/44/image_10072025_22_44_53_9644.jpg
/home/nano/Desktop/images/10072025/22/44/image_10072025_22_44_44_10663.jpg
/home/nano/Desktop/images/10072025/22/44/image_10072025_22_44_23_9652.jpg
/home/nano/Desktop/images/10072025/22/44/image_10072025_22_44_14_10672.jpg
/home/nano/Desktop/images/10072025/22/43/image_10072025_22_43_53_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780536","1371780539","1371780533","1371780544","1371780546","1371780549"],"photo_ids_order":["1371780533","1371780536","1371780539","1371780544","1371780546","1371780549"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07eea4e29bd9c03e2971a91dc46da81b.jpg","text":"TemporaryFile(/tmp/multipartBody5384749734686145893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279349992,"filename":"image_10072025_22_44_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18e7af3ba587254cdfa4e2636c5f227b.jpg","text":"TemporaryFile(/tmp/multipartBody7557174065463015154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279349992,"filename":"image_10072025_22_44_44_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02063e972671af2ca806806a34d6a98c.jpg","text":"TemporaryFile(/tmp/multipartBody5910384067484700369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279349992,"filename":"image_10072025_22_45_04_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2662049db1017fb0d5916709051c1443.jpg","text":"TemporaryFile(/tmp/multipartBody583129923202885240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279349992,"filename":"image_10072025_22_44_23_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cfb6e1a506a660f3d89fe45f2555bbcb.jpg","text":"TemporaryFile(/tmp/multipartBody5107585645530394988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279349992,"filename":"image_10072025_22_44_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/473154b2e7a46cec0ef80125b9274667.jpg","text":"TemporaryFile(/tmp/multipartBody1988802071014025287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279349992,"filename":"image_10072025_22_43_53_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780539","file1":"1371780536","file0":"1371780533","file4":"1371780546","file5":"1371780549","file3":"1371780544"},"map_files_photo_id_array":[{"photo_id":"1371780549","filename":"file5"},{"photo_id":"1371780539","filename":"file2"},{"photo_id":"1371780546","filename":"file4"},{"photo_id":"1371780536","filename":"file1"},{"photo_id":"1371780533","filename":"file0"},{"photo_id":"1371780544","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371780536":["hashtag1","hashtag2"]},{"1371780539":["hashtag1","hashtag2"]},{"1371780533":["hashtag1","hashtag2"]},{"1371780544":["hashtag1","hashtag2"]},{"1371780546":["hashtag1","hashtag2"]},{"1371780549":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371780536, 1371780539, 1371780533, 1371780544, 1371780546, 1371780549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90164661407471 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:15:32.402729
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_34_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_24_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_13_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/02/14/image_12072025_02_15_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_43_9638.jpg', '/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_34_9640.jpg', '/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_24_10657.jpg', '/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_13_9667.jpg', '/home/nano/Desktop/images/12072025/02/14/image_12072025_02_15_04_9645.jpg', '/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_43_9638.jpg
/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_34_9640.jpg
/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_24_10657.jpg
/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_13_9667.jpg
/home/nano/Desktop/images/12072025/02/14/image_12072025_02_15_04_9645.jpg
/home/nano/Desktop/images/12072025/02/14/image_12072025_02_14_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780563","1371780566","1371780585","1371780564","1371780587","1371780575"],"photo_ids_order":["1371780563","1371780564","1371780566","1371780575","1371780585","1371780587"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e12d941e7415f3236a2879ed60369072.jpg","text":"TemporaryFile(/tmp/multipartBody378816480834367102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279393831,"filename":"image_12072025_02_15_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3cf41e9c68c5f2e1960cb4a9a01f4733.jpg","text":"TemporaryFile(/tmp/multipartBody9096424123797845259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279393831,"filename":"image_12072025_02_15_24_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3dfbae71bcad56e7b19ce1441bbec21a.jpg","text":"TemporaryFile(/tmp/multipartBody7445994797934454778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279393831,"filename":"image_12072025_02_15_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e26b50e171b6e9ee1c107942c2e8fe25.jpg","text":"TemporaryFile(/tmp/multipartBody2534111283560701162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279393831,"filename":"image_12072025_02_15_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3b10a26590917be09d06435751ff54a.jpg","text":"TemporaryFile(/tmp/multipartBody6746273692248987618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279393831,"filename":"image_12072025_02_14_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67a47306f042c288d234461b1d61ca5d.jpg","text":"TemporaryFile(/tmp/multipartBody2360978329379866468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279393831,"filename":"image_12072025_02_15_13_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780566","file1":"1371780564","file0":"1371780563","file4":"1371780585","file5":"1371780587","file3":"1371780575"},"map_files_photo_id_array":[{"photo_id":"1371780587","filename":"file5"},{"photo_id":"1371780566","filename":"file2"},{"photo_id":"1371780585","filename":"file4"},{"photo_id":"1371780564","filename":"file1"},{"photo_id":"1371780563","filename":"file0"},{"photo_id":"1371780575","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780563":["hashtag1","hashtag2"]},{"1371780566":["hashtag1","hashtag2"]},{"1371780585":["hashtag1","hashtag2"]},{"1371780564":["hashtag1","hashtag2"]},{"1371780587":["hashtag1","hashtag2"]},{"1371780575":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780563, 1371780566, 1371780585, 1371780564, 1371780587, 1371780575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.77025032043457 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:16:17.518191
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_34_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_24_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_13_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/02/15/image_12072025_02_16_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_43_9645.jpg', '/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_34_9646.jpg', '/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_24_10658.jpg', '/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_13_9655.jpg', '/home/nano/Desktop/images/12072025/02/15/image_12072025_02_16_04_9645.jpg', '/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_43_9645.jpg
/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_34_9646.jpg
/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_24_10658.jpg
/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_13_9655.jpg
/home/nano/Desktop/images/12072025/02/15/image_12072025_02_16_04_9645.jpg
/home/nano/Desktop/images/12072025/02/15/image_12072025_02_15_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780617","1371780604","1371780612","1371780606","1371780615","1371780609"],"photo_ids_order":["1371780604","1371780606","1371780609","1371780612","1371780615","1371780617"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3e276fae08f44357b1148d576c8383c.jpg","text":"TemporaryFile(/tmp/multipartBody5466516582293294396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279438943,"filename":"image_12072025_02_15_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a5134fdad345e190dc77a2aef61fc37.jpg","text":"TemporaryFile(/tmp/multipartBody6059246927689172909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279438943,"filename":"image_12072025_02_16_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ce8e0e2184aae358cb442db4a15f7b2.jpg","text":"TemporaryFile(/tmp/multipartBody1866114022306944239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279438943,"filename":"image_12072025_02_16_13_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ce333cd97b80afe2e13bfe33f929fce.jpg","text":"TemporaryFile(/tmp/multipartBody8715808026553132432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279438943,"filename":"image_12072025_02_16_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c1ac051e40007b3fafe4de0e3fa501d.jpg","text":"TemporaryFile(/tmp/multipartBody5750677996442052774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279438943,"filename":"image_12072025_02_16_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8c52bae301353e1358f6e7a79746d3a.jpg","text":"TemporaryFile(/tmp/multipartBody7035052632669868370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279438943,"filename":"image_12072025_02_16_24_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780609","file1":"1371780606","file0":"1371780604","file4":"1371780615","file5":"1371780617","file3":"1371780612"},"map_files_photo_id_array":[{"photo_id":"1371780617","filename":"file5"},{"photo_id":"1371780609","filename":"file2"},{"photo_id":"1371780615","filename":"file4"},{"photo_id":"1371780606","filename":"file1"},{"photo_id":"1371780604","filename":"file0"},{"photo_id":"1371780612","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780617":["hashtag1","hashtag2"]},{"1371780604":["hashtag1","hashtag2"]},{"1371780612":["hashtag1","hashtag2"]},{"1371780606":["hashtag1","hashtag2"]},{"1371780615":["hashtag1","hashtag2"]},{"1371780609":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780617, 1371780604, 1371780612, 1371780606, 1371780615, 1371780609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.953669786453247 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:17:03.092720
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/43/image_10072025_22_43_44_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/22/43/image_10072025_22_43_23_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/22/42/image_10072025_22_43_03_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_44_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_33_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/43/image_10072025_22_43_44_10654.jpg', '/home/nano/Desktop/images/10072025/22/43/image_10072025_22_43_23_9649.jpg', '/home/nano/Desktop/images/10072025/22/42/image_10072025_22_43_03_9662.jpg', '/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_53_9646.jpg', '/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_44_10662.jpg', '/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_33_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/43/image_10072025_22_43_44_10654.jpg
/home/nano/Desktop/images/10072025/22/43/image_10072025_22_43_23_9649.jpg
/home/nano/Desktop/images/10072025/22/42/image_10072025_22_43_03_9662.jpg
/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_53_9646.jpg
/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_44_10662.jpg
/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_33_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780641","1371780635","1371780644","1371780638","1371780632","1371780642"],"photo_ids_order":["1371780632","1371780635","1371780638","1371780641","1371780642","1371780644"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0430b920a77956b7f91bdcae5e0fcdb.jpg","text":"TemporaryFile(/tmp/multipartBody7050572270513867780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279485891,"filename":"image_10072025_22_42_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14c65ad540313d027ea66bf1a7e4f956.jpg","text":"TemporaryFile(/tmp/multipartBody3566660705996782979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279485891,"filename":"image_10072025_22_43_23_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6cd186ce8962544b29d3813ff0663d53.jpg","text":"TemporaryFile(/tmp/multipartBody2165619514394752001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279485891,"filename":"image_10072025_22_42_33_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/701777d7928fc6c18971d792b15817b2.jpg","text":"TemporaryFile(/tmp/multipartBody7353663548336641812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279485891,"filename":"image_10072025_22_43_03_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21548b15c340dc2fd336568514f1a3f2.jpg","text":"TemporaryFile(/tmp/multipartBody1251293597598653025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279485891,"filename":"image_10072025_22_43_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62fb7e9c7377a982cb408a011463374b.jpg","text":"TemporaryFile(/tmp/multipartBody2059396999722361320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279485891,"filename":"image_10072025_22_42_44_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780638","file1":"1371780635","file0":"1371780632","file4":"1371780642","file5":"1371780644","file3":"1371780641"},"map_files_photo_id_array":[{"photo_id":"1371780644","filename":"file5"},{"photo_id":"1371780638","filename":"file2"},{"photo_id":"1371780642","filename":"file4"},{"photo_id":"1371780635","filename":"file1"},{"photo_id":"1371780632","filename":"file0"},{"photo_id":"1371780641","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371780641":["hashtag1","hashtag2"]},{"1371780635":["hashtag1","hashtag2"]},{"1371780644":["hashtag1","hashtag2"]},{"1371780638":["hashtag1","hashtag2"]},{"1371780632":["hashtag1","hashtag2"]},{"1371780642":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371780641, 1371780635, 1371780644, 1371780638, 1371780632, 1371780642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.669599294662476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:17:47.639090
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_24_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_13_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/16/image_12072025_02_17_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_43_9645.jpg', '/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_33_9645.jpg', '/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_24_10657.jpg', '/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_13_9654.jpg', '/home/nano/Desktop/images/12072025/02/16/image_12072025_02_17_03_9645.jpg', '/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_43_9645.jpg
/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_33_9645.jpg
/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_24_10657.jpg
/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_13_9654.jpg
/home/nano/Desktop/images/12072025/02/16/image_12072025_02_17_03_9645.jpg
/home/nano/Desktop/images/12072025/02/16/image_12072025_02_16_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780656","1371780659","1371780664","1371780661","1371780657","1371780668"],"photo_ids_order":["1371780656","1371780657","1371780659","1371780661","1371780664","1371780668"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b26604ac045542c002b56a936fd27158.jpg","text":"TemporaryFile(/tmp/multipartBody6675169400060913836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279529104,"filename":"image_12072025_02_17_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea0865f82680e5a7afbc3bf6186f0e91.jpg","text":"TemporaryFile(/tmp/multipartBody7581209758312859666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279529104,"filename":"image_12072025_02_17_24_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46582cedb8e4a848bc76ff00c224d67d.jpg","text":"TemporaryFile(/tmp/multipartBody5798390916431292463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279529104,"filename":"image_12072025_02_17_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10e0aa0a13477091edb4d20ee4bbe3bf.jpg","text":"TemporaryFile(/tmp/multipartBody2305623109464788217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279529104,"filename":"image_12072025_02_17_13_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/904a3e726dbcfc1b8f86efc5ae747dfe.jpg","text":"TemporaryFile(/tmp/multipartBody8463845255378333335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279529104,"filename":"image_12072025_02_17_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd405e2541a2f29119b809ef6c6d9c35.jpg","text":"TemporaryFile(/tmp/multipartBody7953918360436595743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279529104,"filename":"image_12072025_02_16_54_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780659","file1":"1371780657","file0":"1371780656","file4":"1371780664","file5":"1371780668","file3":"1371780661"},"map_files_photo_id_array":[{"photo_id":"1371780668","filename":"file5"},{"photo_id":"1371780659","filename":"file2"},{"photo_id":"1371780664","filename":"file4"},{"photo_id":"1371780657","filename":"file1"},{"photo_id":"1371780656","filename":"file0"},{"photo_id":"1371780661","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780656":["hashtag1","hashtag2"]},{"1371780659":["hashtag1","hashtag2"]},{"1371780664":["hashtag1","hashtag2"]},{"1371780661":["hashtag1","hashtag2"]},{"1371780657":["hashtag1","hashtag2"]},{"1371780668":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780656, 1371780659, 1371780664, 1371780661, 1371780657, 1371780668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68106293678284 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:18:32.712449
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_14_10688.jpg', 2), ('/home/nano/Desktop/images/12072025/02/17/image_12072025_02_18_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_54_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_44_10648.jpg', '/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_33_9645.jpg', '/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_24_9638.jpg', '/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_14_10688.jpg', '/home/nano/Desktop/images/12072025/02/17/image_12072025_02_18_03_9654.jpg', '/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_54_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_44_10648.jpg
/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_33_9645.jpg
/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_24_9638.jpg
/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_14_10688.jpg
/home/nano/Desktop/images/12072025/02/17/image_12072025_02_18_03_9654.jpg
/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_54_10656.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.354060173034668 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:18:47.707917
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_14_10688.jpg', 2), ('/home/nano/Desktop/images/12072025/02/17/image_12072025_02_18_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_54_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_44_10648.jpg', '/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_33_9645.jpg', '/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_24_9638.jpg', '/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_14_10688.jpg', '/home/nano/Desktop/images/12072025/02/17/image_12072025_02_18_03_9654.jpg', '/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_54_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_44_10648.jpg
/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_33_9645.jpg
/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_24_9638.jpg
/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_14_10688.jpg
/home/nano/Desktop/images/12072025/02/17/image_12072025_02_18_03_9654.jpg
/home/nano/Desktop/images/12072025/02/17/image_12072025_02_17_54_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780694","1371780707","1371780701","1371780703","1371780705","1371780698"],"photo_ids_order":["1371780694","1371780698","1371780701","1371780703","1371780705","1371780707"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed3d52b5a3581e952758c8c59b38f0ba.jpg","text":"TemporaryFile(/tmp/multipartBody4306515676825569365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279588970,"filename":"image_12072025_02_18_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0e8031823300666f65ed4abe1ce791f.jpg","text":"TemporaryFile(/tmp/multipartBody3847064936371930229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279588970,"filename":"image_12072025_02_17_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8bb1c136f5ac8268b48fc487ffd52783.jpg","text":"TemporaryFile(/tmp/multipartBody5094791626143166842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279588970,"filename":"image_12072025_02_18_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbbc6ac20f698584b9d9c7dbd0a2a0f5.jpg","text":"TemporaryFile(/tmp/multipartBody6169261124735885599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279588970,"filename":"image_12072025_02_18_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89f8fc293afc7d7e576485ce6aadffce.jpg","text":"TemporaryFile(/tmp/multipartBody509536905479522744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279588970,"filename":"image_12072025_02_18_03_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16fc9f038acd8d8f53f119127360a8ae.jpg","text":"TemporaryFile(/tmp/multipartBody86518648994305649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279588970,"filename":"image_12072025_02_18_33_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780701","file1":"1371780698","file0":"1371780694","file4":"1371780705","file5":"1371780707","file3":"1371780703"},"map_files_photo_id_array":[{"photo_id":"1371780707","filename":"file5"},{"photo_id":"1371780701","filename":"file2"},{"photo_id":"1371780705","filename":"file4"},{"photo_id":"1371780698","filename":"file1"},{"photo_id":"1371780694","filename":"file0"},{"photo_id":"1371780703","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780694":["hashtag1","hashtag2"]},{"1371780707":["hashtag1","hashtag2"]},{"1371780701":["hashtag1","hashtag2"]},{"1371780703":["hashtag1","hashtag2"]},{"1371780705":["hashtag1","hashtag2"]},{"1371780698":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780694, 1371780707, 1371780701, 1371780703, 1371780705, 1371780698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.990017890930176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:19:31.941589
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_44_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_33_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_24_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_14_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/02/18/image_12072025_02_19_03_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_44_10650.jpg', '/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_33_9646.jpg', '/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_24_9645.jpg', '/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_14_10670.jpg', '/home/nano/Desktop/images/12072025/02/18/image_12072025_02_19_03_9658.jpg', '/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_44_10650.jpg
/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_33_9646.jpg
/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_24_9645.jpg
/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_14_10670.jpg
/home/nano/Desktop/images/12072025/02/18/image_12072025_02_19_03_9658.jpg
/home/nano/Desktop/images/12072025/02/18/image_12072025_02_18_54_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780734","1371780724","1371780718","1371780747","1371780735","1371780720"],"photo_ids_order":["1371780718","1371780720","1371780724","1371780734","1371780735","1371780747"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/310bd814113ba1fd87afbc8e0f398097.jpg","text":"TemporaryFile(/tmp/multipartBody3467618504156785886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279633375,"filename":"image_12072025_02_19_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d348b56af58cfe8d8ad896b363572368.jpg","text":"TemporaryFile(/tmp/multipartBody2725456595192056161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279633375,"filename":"image_12072025_02_19_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f4d562d5ef29b675a25eb0fc2b19bdf.jpg","text":"TemporaryFile(/tmp/multipartBody8426639374121722605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279633375,"filename":"image_12072025_02_19_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0479d8b0bba5d2a08be109d3e029fa14.jpg","text":"TemporaryFile(/tmp/multipartBody6723875439748909605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279633375,"filename":"image_12072025_02_18_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ac8b2fded6281400feed7da95cfada0.jpg","text":"TemporaryFile(/tmp/multipartBody6362282141677348458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279633375,"filename":"image_12072025_02_19_03_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8163ae5a281c8ccb5a959f9e2be6f495.jpg","text":"TemporaryFile(/tmp/multipartBody4722861785572712490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279633375,"filename":"image_12072025_02_19_33_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780724","file1":"1371780720","file0":"1371780718","file4":"1371780735","file5":"1371780747","file3":"1371780734"},"map_files_photo_id_array":[{"photo_id":"1371780747","filename":"file5"},{"photo_id":"1371780724","filename":"file2"},{"photo_id":"1371780735","filename":"file4"},{"photo_id":"1371780720","filename":"file1"},{"photo_id":"1371780718","filename":"file0"},{"photo_id":"1371780734","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780734":["hashtag1","hashtag2"]},{"1371780724":["hashtag1","hashtag2"]},{"1371780718":["hashtag1","hashtag2"]},{"1371780747":["hashtag1","hashtag2"]},{"1371780735":["hashtag1","hashtag2"]},{"1371780720":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780734, 1371780724, 1371780718, 1371780747, 1371780735, 1371780720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.727067947387695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:20:16.935214
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_44_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_33_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_24_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_14_10687.jpg', 2), ('/home/nano/Desktop/images/12072025/02/19/image_12072025_02_20_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_44_10665.jpg', '/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_33_9647.jpg', '/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_24_9644.jpg', '/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_14_10687.jpg', '/home/nano/Desktop/images/12072025/02/19/image_12072025_02_20_03_9646.jpg', '/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_54_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_44_10665.jpg
/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_33_9647.jpg
/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_24_9644.jpg
/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_14_10687.jpg
/home/nano/Desktop/images/12072025/02/19/image_12072025_02_20_03_9646.jpg
/home/nano/Desktop/images/12072025/02/19/image_12072025_02_19_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780769","1371780774","1371780768","1371780779","1371780770","1371780773"],"photo_ids_order":["1371780768","1371780769","1371780770","1371780773","1371780774","1371780779"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/982fbe85da95a4e699a73c114c6987cd.jpg","text":"TemporaryFile(/tmp/multipartBody443954275797716819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279678167,"filename":"image_12072025_02_20_33_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f51a7cbf86383f629aa69cce31157f65.jpg","text":"TemporaryFile(/tmp/multipartBody8129392217712128920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279678167,"filename":"image_12072025_02_20_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/495a736c2e73d266f576f743ec3fd395.jpg","text":"TemporaryFile(/tmp/multipartBody6526420705725051140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279678167,"filename":"image_12072025_02_20_44_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c630e80e82ea3ae019167d74017ef90.jpg","text":"TemporaryFile(/tmp/multipartBody5712529884978098943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279678167,"filename":"image_12072025_02_19_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92f25485afe642930f041c00bbb09d06.jpg","text":"TemporaryFile(/tmp/multipartBody2089249829427537359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279678167,"filename":"image_12072025_02_20_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d81bbc540c1fee7757d92ad7a7037889.jpg","text":"TemporaryFile(/tmp/multipartBody4356829512311895582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279678167,"filename":"image_12072025_02_20_14_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780770","file1":"1371780769","file0":"1371780768","file4":"1371780774","file5":"1371780779","file3":"1371780773"},"map_files_photo_id_array":[{"photo_id":"1371780779","filename":"file5"},{"photo_id":"1371780770","filename":"file2"},{"photo_id":"1371780774","filename":"file4"},{"photo_id":"1371780769","filename":"file1"},{"photo_id":"1371780768","filename":"file0"},{"photo_id":"1371780773","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780769":["hashtag1","hashtag2"]},{"1371780774":["hashtag1","hashtag2"]},{"1371780768":["hashtag1","hashtag2"]},{"1371780779":["hashtag1","hashtag2"]},{"1371780770":["hashtag1","hashtag2"]},{"1371780773":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780769, 1371780774, 1371780768, 1371780779, 1371780770, 1371780773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.19685745239258 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:21:02.312672
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_24_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_14_10671.jpg', 2), ('/home/nano/Desktop/images/10072025/22/41/image_10072025_22_42_03_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/22/41/image_10072025_22_41_54_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/22/41/image_10072025_22_41_44_10667.jpg', 2), ('/home/nano/Desktop/images/10072025/22/41/image_10072025_22_41_33_9667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_24_9648.jpg', '/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_14_10671.jpg', '/home/nano/Desktop/images/10072025/22/41/image_10072025_22_42_03_9644.jpg', '/home/nano/Desktop/images/10072025/22/41/image_10072025_22_41_54_9649.jpg', '/home/nano/Desktop/images/10072025/22/41/image_10072025_22_41_44_10667.jpg', '/home/nano/Desktop/images/10072025/22/41/image_10072025_22_41_33_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_24_9648.jpg
/home/nano/Desktop/images/10072025/22/42/image_10072025_22_42_14_10671.jpg
/home/nano/Desktop/images/10072025/22/41/image_10072025_22_42_03_9644.jpg
/home/nano/Desktop/images/10072025/22/41/image_10072025_22_41_54_9649.jpg
/home/nano/Desktop/images/10072025/22/41/image_10072025_22_41_44_10667.jpg
/home/nano/Desktop/images/10072025/22/41/image_10072025_22_41_33_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780806","1371780790","1371780804","1371780801","1371780794","1371780788"],"photo_ids_order":["1371780788","1371780790","1371780794","1371780801","1371780804","1371780806"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/990106d2e887269e15bba7e1b86f8897.jpg","text":"TemporaryFile(/tmp/multipartBody564379087890192398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279725097,"filename":"image_10072025_22_41_33_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b801b93ff1292cddb3c13c602c9ca91.jpg","text":"TemporaryFile(/tmp/multipartBody8993706068661348767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279725097,"filename":"image_10072025_22_42_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5b09c0d7a05c0daa61844984e2fbc56.jpg","text":"TemporaryFile(/tmp/multipartBody8294968932189411662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279725097,"filename":"image_10072025_22_41_44_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f40bb9477afba5689da2485c08acd5d.jpg","text":"TemporaryFile(/tmp/multipartBody9080192459779320269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279725097,"filename":"image_10072025_22_41_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b0311e470091544ba7386a230748bd2.jpg","text":"TemporaryFile(/tmp/multipartBody2152208908673585501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279725097,"filename":"image_10072025_22_42_03_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8728bb7621c05e73bc10c1efb9c079bd.jpg","text":"TemporaryFile(/tmp/multipartBody1766807290000478124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279725097,"filename":"image_10072025_22_42_24_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780794","file1":"1371780790","file0":"1371780788","file4":"1371780804","file5":"1371780806","file3":"1371780801"},"map_files_photo_id_array":[{"photo_id":"1371780806","filename":"file5"},{"photo_id":"1371780794","filename":"file2"},{"photo_id":"1371780804","filename":"file4"},{"photo_id":"1371780790","filename":"file1"},{"photo_id":"1371780788","filename":"file0"},{"photo_id":"1371780801","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371780806":["hashtag1","hashtag2"]},{"1371780790":["hashtag1","hashtag2"]},{"1371780804":["hashtag1","hashtag2"]},{"1371780801":["hashtag1","hashtag2"]},{"1371780794":["hashtag1","hashtag2"]},{"1371780788":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371780806, 1371780790, 1371780804, 1371780801, 1371780794, 1371780788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58907651901245 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:21:47.059742
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/21/image_12072025_02_21_23_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/02/21/image_12072025_02_21_14_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/02/20/image_12072025_02_21_03_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/21/image_12072025_02_21_23_9653.jpg', '/home/nano/Desktop/images/12072025/02/21/image_12072025_02_21_14_10665.jpg', '/home/nano/Desktop/images/12072025/02/20/image_12072025_02_21_03_9640.jpg', '/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/21/image_12072025_02_21_23_9653.jpg
/home/nano/Desktop/images/12072025/02/21/image_12072025_02_21_14_10665.jpg
/home/nano/Desktop/images/12072025/02/20/image_12072025_02_21_03_9640.jpg
/home/nano/Desktop/images/12072025/02/20/image_12072025_02_20_53_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780830","1371780824","1371780828","1371780816"],"photo_ids_order":["1371780816","1371780824","1371780828","1371780830"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7223f8318d5387c27eb2bc12c55e0890.jpg","text":"TemporaryFile(/tmp/multipartBody8136571141163082237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279768360,"filename":"image_12072025_02_20_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1dc3d9a43467dd5831d8b09fad4ac3cd.jpg","text":"TemporaryFile(/tmp/multipartBody6943154218059646703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279768360,"filename":"image_12072025_02_21_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6faaf17e6c5a6dcff2ba3016abcf0fca.jpg","text":"TemporaryFile(/tmp/multipartBody1889238609352204813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279768360,"filename":"image_12072025_02_21_03_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c618a251c2d602080465a585f979986.jpg","text":"TemporaryFile(/tmp/multipartBody2624737448280257976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279768360,"filename":"image_12072025_02_21_23_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780828","file1":"1371780824","file0":"1371780816","file3":"1371780830"},"map_files_photo_id_array":[{"photo_id":"1371780828","filename":"file2"},{"photo_id":"1371780824","filename":"file1"},{"photo_id":"1371780816","filename":"file0"},{"photo_id":"1371780830","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780830":["hashtag1","hashtag2"]},{"1371780824":["hashtag1","hashtag2"]},{"1371780828":["hashtag1","hashtag2"]},{"1371780816":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780830, 1371780824, 1371780828, 1371780816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.049735069274902 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:22:17.151833
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_23_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_14_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/02/21/image_12072025_02_21_33_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_44_9637.jpg', '/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_34_10648.jpg', '/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_23_9643.jpg', '/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_14_9669.jpg', '/home/nano/Desktop/images/12072025/02/21/image_12072025_02_21_33_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_44_9637.jpg
/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_34_10648.jpg
/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_23_9643.jpg
/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_14_9669.jpg
/home/nano/Desktop/images/12072025/02/21/image_12072025_02_21_33_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780848","1371780842","1371780840","1371780843","1371780852"],"photo_ids_order":["1371780840","1371780842","1371780843","1371780848","1371780852"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6a2e70f8fa32949bf02b91356713a35.jpg","text":"TemporaryFile(/tmp/multipartBody7230503296567373045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279798324,"filename":"image_12072025_02_22_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f9d295774bd7c96dfe527c46a8146e9.jpg","text":"TemporaryFile(/tmp/multipartBody7468541403878009483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279798324,"filename":"image_12072025_02_22_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48a456cedf640f49c2633854adb9ba57.jpg","text":"TemporaryFile(/tmp/multipartBody4545317672508526573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279798324,"filename":"image_12072025_02_22_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d25f0686cf1e35750572957ef666d86e.jpg","text":"TemporaryFile(/tmp/multipartBody8010347593011770514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279798324,"filename":"image_12072025_02_22_23_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c5dd3d1842ffceb54fdae7ceacf5fe1.jpg","text":"TemporaryFile(/tmp/multipartBody4417208041336938898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279798324,"filename":"image_12072025_02_21_33_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780843","file1":"1371780842","file0":"1371780840","file4":"1371780852","file3":"1371780848"},"map_files_photo_id_array":[{"photo_id":"1371780843","filename":"file2"},{"photo_id":"1371780852","filename":"file4"},{"photo_id":"1371780842","filename":"file1"},{"photo_id":"1371780840","filename":"file0"},{"photo_id":"1371780848","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780848":["hashtag1","hashtag2"]},{"1371780842":["hashtag1","hashtag2"]},{"1371780840":["hashtag1","hashtag2"]},{"1371780843":["hashtag1","hashtag2"]},{"1371780852":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780848, 1371780842, 1371780840, 1371780843, 1371780852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.59453535079956 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:23:02.684488
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/40/image_10072025_22_41_03_9670.jpg', 2), ('/home/nano/Desktop/images/10072025/22/40/image_10072025_22_40_33_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/22/40/image_10072025_22_40_24_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/22/40/image_10072025_22_40_14_10682.jpg', 2), ('/home/nano/Desktop/images/10072025/22/39/image_10072025_22_40_03_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/22/39/image_10072025_22_39_54_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/40/image_10072025_22_41_03_9670.jpg', '/home/nano/Desktop/images/10072025/22/40/image_10072025_22_40_33_9666.jpg', '/home/nano/Desktop/images/10072025/22/40/image_10072025_22_40_24_9656.jpg', '/home/nano/Desktop/images/10072025/22/40/image_10072025_22_40_14_10682.jpg', '/home/nano/Desktop/images/10072025/22/39/image_10072025_22_40_03_9667.jpg', '/home/nano/Desktop/images/10072025/22/39/image_10072025_22_39_54_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/40/image_10072025_22_41_03_9670.jpg
/home/nano/Desktop/images/10072025/22/40/image_10072025_22_40_33_9666.jpg
/home/nano/Desktop/images/10072025/22/40/image_10072025_22_40_24_9656.jpg
/home/nano/Desktop/images/10072025/22/40/image_10072025_22_40_14_10682.jpg
/home/nano/Desktop/images/10072025/22/39/image_10072025_22_40_03_9667.jpg
/home/nano/Desktop/images/10072025/22/39/image_10072025_22_39_54_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780875","1371780877","1371780865","1371780868","1371780879","1371780872"],"photo_ids_order":["1371780865","1371780868","1371780872","1371780875","1371780877","1371780879"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df88e4ca36f877b4fd12425146464199.jpg","text":"TemporaryFile(/tmp/multipartBody7311937671072245241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279845407,"filename":"image_10072025_22_40_14_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2665d31cd28e059e3bcd9a56a161d08d.jpg","text":"TemporaryFile(/tmp/multipartBody8395187725095971635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279845407,"filename":"image_10072025_22_40_03_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f705e27673456da9ca215978c8605bbe.jpg","text":"TemporaryFile(/tmp/multipartBody7948939327082382067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279845407,"filename":"image_10072025_22_41_03_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec5e40cf44c1720877cc1ef4176e1dca.jpg","text":"TemporaryFile(/tmp/multipartBody7163413562648473897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279845407,"filename":"image_10072025_22_40_33_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aba4b147ebad1983934303e9ac40e261.jpg","text":"TemporaryFile(/tmp/multipartBody4207990870152703274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279845407,"filename":"image_10072025_22_39_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db7db4a5ba9133d09515302a9c36066c.jpg","text":"TemporaryFile(/tmp/multipartBody5907344845822990760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279845407,"filename":"image_10072025_22_40_24_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780872","file1":"1371780868","file0":"1371780865","file4":"1371780877","file5":"1371780879","file3":"1371780875"},"map_files_photo_id_array":[{"photo_id":"1371780879","filename":"file5"},{"photo_id":"1371780872","filename":"file2"},{"photo_id":"1371780877","filename":"file4"},{"photo_id":"1371780868","filename":"file1"},{"photo_id":"1371780865","filename":"file0"},{"photo_id":"1371780875","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371780875":["hashtag1","hashtag2"]},{"1371780877":["hashtag1","hashtag2"]},{"1371780865":["hashtag1","hashtag2"]},{"1371780868":["hashtag1","hashtag2"]},{"1371780879":["hashtag1","hashtag2"]},{"1371780872":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371780875, 1371780877, 1371780865, 1371780868, 1371780879, 1371780872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.182451486587524 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:23:47.231602
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_14_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/02/22/image_12072025_02_23_04_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_44_9637.jpg', '/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_34_10647.jpg', '/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_23_9640.jpg', '/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_14_9670.jpg', '/home/nano/Desktop/images/12072025/02/22/image_12072025_02_23_04_10653.jpg', '/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_44_9637.jpg
/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_34_10647.jpg
/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_23_9640.jpg
/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_14_9670.jpg
/home/nano/Desktop/images/12072025/02/22/image_12072025_02_23_04_10653.jpg
/home/nano/Desktop/images/12072025/02/22/image_12072025_02_22_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371780955","1371780930","1371780918","1371780933","1371780899","1371780950"],"photo_ids_order":["1371780899","1371780918","1371780930","1371780933","1371780950","1371780955"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae98f4e895bdf04a34da703a56062b7c.jpg","text":"TemporaryFile(/tmp/multipartBody8664103793976246674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279888448,"filename":"image_12072025_02_22_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e19d2c1f8c21ef2999ee1ff5db2a975.jpg","text":"TemporaryFile(/tmp/multipartBody5560335832815887550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279888448,"filename":"image_12072025_02_23_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d76e3b336c2e37d68dc5c174448ce2b5.jpg","text":"TemporaryFile(/tmp/multipartBody3805098867277447364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279888448,"filename":"image_12072025_02_23_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60e775d2f5aa3bb275e1a45df95a5951.jpg","text":"TemporaryFile(/tmp/multipartBody8570409969042623447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279888448,"filename":"image_12072025_02_23_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bbd0a68552bf2ff356e8fead011cce29.jpg","text":"TemporaryFile(/tmp/multipartBody5473770107097372673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279888448,"filename":"image_12072025_02_23_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a87715042f40226b9b5bb7d29008c4c3.jpg","text":"TemporaryFile(/tmp/multipartBody4261841621689505528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279888448,"filename":"image_12072025_02_23_04_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371780930","file1":"1371780918","file0":"1371780899","file4":"1371780950","file5":"1371780955","file3":"1371780933"},"map_files_photo_id_array":[{"photo_id":"1371780955","filename":"file5"},{"photo_id":"1371780930","filename":"file2"},{"photo_id":"1371780950","filename":"file4"},{"photo_id":"1371780918","filename":"file1"},{"photo_id":"1371780899","filename":"file0"},{"photo_id":"1371780933","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371780955":["hashtag1","hashtag2"]},{"1371780930":["hashtag1","hashtag2"]},{"1371780918":["hashtag1","hashtag2"]},{"1371780933":["hashtag1","hashtag2"]},{"1371780899":["hashtag1","hashtag2"]},{"1371780950":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371780955, 1371780930, 1371780918, 1371780933, 1371780899, 1371780950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22452211380005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:24:32.330084
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_23_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/02/23/image_12072025_02_24_04_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_53_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_43_9639.jpg', '/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_34_10653.jpg', '/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_23_9645.jpg', '/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_13_9657.jpg', '/home/nano/Desktop/images/12072025/02/23/image_12072025_02_24_04_10666.jpg', '/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_53_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_43_9639.jpg
/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_34_10653.jpg
/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_23_9645.jpg
/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_13_9657.jpg
/home/nano/Desktop/images/12072025/02/23/image_12072025_02_24_04_10666.jpg
/home/nano/Desktop/images/12072025/02/23/image_12072025_02_23_53_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781000","1371781003","1371781002","1371781005","1371780998","1371781007"],"photo_ids_order":["1371780998","1371781000","1371781002","1371781003","1371781005","1371781007"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2199f33603f5e0bf8b3a1e384388da78.jpg","text":"TemporaryFile(/tmp/multipartBody559257416069293441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279933708,"filename":"image_12072025_02_24_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7030935f84d411bf9ae88fe49aab3773.jpg","text":"TemporaryFile(/tmp/multipartBody3049603155356049334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279933708,"filename":"image_12072025_02_24_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56c9fcf132598fa10f5e4965d26f6731.jpg","text":"TemporaryFile(/tmp/multipartBody7397411375361366546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279933708,"filename":"image_12072025_02_24_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99e9d1d56012d8918e4d6914d9a48c77.jpg","text":"TemporaryFile(/tmp/multipartBody2519017615520058354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279933708,"filename":"image_12072025_02_24_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/445a5d793576df99536d77cbb5ec2b56.jpg","text":"TemporaryFile(/tmp/multipartBody3419510113211504102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279933708,"filename":"image_12072025_02_24_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/110672e3abff60d82f11c16f1f276441.jpg","text":"TemporaryFile(/tmp/multipartBody6077351571444378914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279933708,"filename":"image_12072025_02_23_53_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781002","file1":"1371781000","file0":"1371780998","file4":"1371781005","file5":"1371781007","file3":"1371781003"},"map_files_photo_id_array":[{"photo_id":"1371781007","filename":"file5"},{"photo_id":"1371781002","filename":"file2"},{"photo_id":"1371781005","filename":"file4"},{"photo_id":"1371781000","filename":"file1"},{"photo_id":"1371780998","filename":"file0"},{"photo_id":"1371781003","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781000":["hashtag1","hashtag2"]},{"1371781003":["hashtag1","hashtag2"]},{"1371781002":["hashtag1","hashtag2"]},{"1371781005":["hashtag1","hashtag2"]},{"1371780998":["hashtag1","hashtag2"]},{"1371781007":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781000, 1371781003, 1371781002, 1371781005, 1371780998, 1371781007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.725449323654175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:25:17.490475
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_43_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_34_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_23_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_13_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/02/24/image_12072025_02_25_04_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_53_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_43_9646.jpg', '/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_34_10654.jpg', '/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_23_9647.jpg', '/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_13_9661.jpg', '/home/nano/Desktop/images/12072025/02/24/image_12072025_02_25_04_10659.jpg', '/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_53_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_43_9646.jpg
/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_34_10654.jpg
/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_23_9647.jpg
/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_13_9661.jpg
/home/nano/Desktop/images/12072025/02/24/image_12072025_02_25_04_10659.jpg
/home/nano/Desktop/images/12072025/02/24/image_12072025_02_24_53_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781016","1371781033","1371781021","1371781029","1371781017","1371781025"],"photo_ids_order":["1371781016","1371781017","1371781021","1371781025","1371781029","1371781033"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afc8cb0dc74ac1120bfc1893de366c1b.jpg","text":"TemporaryFile(/tmp/multipartBody3228124024502042839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279978693,"filename":"image_12072025_02_25_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/681cb81dc48a3dbaa60e079db82ab578.jpg","text":"TemporaryFile(/tmp/multipartBody8113141674834109846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279978693,"filename":"image_12072025_02_24_53_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1e63991074f31f58a14d7d2de0400e1.jpg","text":"TemporaryFile(/tmp/multipartBody5521041866004029676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279978693,"filename":"image_12072025_02_25_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae8c923d4b469453c5d687d33fd82bac.jpg","text":"TemporaryFile(/tmp/multipartBody1075930193620478380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279978693,"filename":"image_12072025_02_25_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91ea714836f9a93eb34b25fcd6d868e8.jpg","text":"TemporaryFile(/tmp/multipartBody5748962986034775901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279978693,"filename":"image_12072025_02_25_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be3f736a34df01959e18c6f885a2725a.jpg","text":"TemporaryFile(/tmp/multipartBody300024277729748079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752279978693,"filename":"image_12072025_02_25_13_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781021","file1":"1371781017","file0":"1371781016","file4":"1371781029","file5":"1371781033","file3":"1371781025"},"map_files_photo_id_array":[{"photo_id":"1371781033","filename":"file5"},{"photo_id":"1371781021","filename":"file2"},{"photo_id":"1371781029","filename":"file4"},{"photo_id":"1371781017","filename":"file1"},{"photo_id":"1371781016","filename":"file0"},{"photo_id":"1371781025","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781016":["hashtag1","hashtag2"]},{"1371781033":["hashtag1","hashtag2"]},{"1371781021":["hashtag1","hashtag2"]},{"1371781029":["hashtag1","hashtag2"]},{"1371781017":["hashtag1","hashtag2"]},{"1371781025":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781016, 1371781033, 1371781021, 1371781029, 1371781017, 1371781025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.140867710113525 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:26:02.772298
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/39/image_10072025_22_39_44_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/22/39/image_10072025_22_39_24_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/22/39/image_10072025_22_39_14_10676.jpg', 2), ('/home/nano/Desktop/images/10072025/22/38/image_10072025_22_39_03_9669.jpg', 2), ('/home/nano/Desktop/images/10072025/22/38/image_10072025_22_38_54_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/38/image_10072025_22_38_44_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/39/image_10072025_22_39_44_10657.jpg', '/home/nano/Desktop/images/10072025/22/39/image_10072025_22_39_24_9652.jpg', '/home/nano/Desktop/images/10072025/22/39/image_10072025_22_39_14_10676.jpg', '/home/nano/Desktop/images/10072025/22/38/image_10072025_22_39_03_9669.jpg', '/home/nano/Desktop/images/10072025/22/38/image_10072025_22_38_54_9646.jpg', '/home/nano/Desktop/images/10072025/22/38/image_10072025_22_38_44_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/39/image_10072025_22_39_44_10657.jpg
/home/nano/Desktop/images/10072025/22/39/image_10072025_22_39_24_9652.jpg
/home/nano/Desktop/images/10072025/22/39/image_10072025_22_39_14_10676.jpg
/home/nano/Desktop/images/10072025/22/38/image_10072025_22_39_03_9669.jpg
/home/nano/Desktop/images/10072025/22/38/image_10072025_22_38_54_9646.jpg
/home/nano/Desktop/images/10072025/22/38/image_10072025_22_38_44_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781057","1371781051","1371781059","1371781053","1371781058","1371781055"],"photo_ids_order":["1371781051","1371781053","1371781055","1371781057","1371781058","1371781059"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed602fb17b75db863c176f7b769bb957.jpg","text":"TemporaryFile(/tmp/multipartBody4093013574770393726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280025695,"filename":"image_10072025_22_39_03_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00b1e3bceefea1e6bdebca36e09dd6df.jpg","text":"TemporaryFile(/tmp/multipartBody4108083108950094999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280025695,"filename":"image_10072025_22_39_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c9ed7cb54cbcde7976cac90cc9cec9e.jpg","text":"TemporaryFile(/tmp/multipartBody522650376299613698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280025695,"filename":"image_10072025_22_38_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c529fc795be06a047834c10dc35e68a.jpg","text":"TemporaryFile(/tmp/multipartBody3382316850930116305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280025695,"filename":"image_10072025_22_39_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/394386af5b833b57a8e1de5c7d12f677.jpg","text":"TemporaryFile(/tmp/multipartBody8039394155424906922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280025695,"filename":"image_10072025_22_38_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f521759473290575d256d3a684f94326.jpg","text":"TemporaryFile(/tmp/multipartBody773257207374588742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280025695,"filename":"image_10072025_22_39_14_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781055","file1":"1371781053","file0":"1371781051","file4":"1371781058","file5":"1371781059","file3":"1371781057"},"map_files_photo_id_array":[{"photo_id":"1371781059","filename":"file5"},{"photo_id":"1371781055","filename":"file2"},{"photo_id":"1371781058","filename":"file4"},{"photo_id":"1371781053","filename":"file1"},{"photo_id":"1371781051","filename":"file0"},{"photo_id":"1371781057","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371781057":["hashtag1","hashtag2"]},{"1371781051":["hashtag1","hashtag2"]},{"1371781059":["hashtag1","hashtag2"]},{"1371781053":["hashtag1","hashtag2"]},{"1371781058":["hashtag1","hashtag2"]},{"1371781055":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371781057, 1371781051, 1371781059, 1371781053, 1371781058, 1371781055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96640086174011 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:26:47.520774
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/26/image_12072025_02_26_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/26/image_12072025_02_26_24_10678.jpg', 2), ('/home/nano/Desktop/images/12072025/02/26/image_12072025_02_26_13_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/25/image_12072025_02_26_04_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_54_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/26/image_12072025_02_26_43_9637.jpg', '/home/nano/Desktop/images/12072025/02/26/image_12072025_02_26_24_10678.jpg', '/home/nano/Desktop/images/12072025/02/26/image_12072025_02_26_13_9654.jpg', '/home/nano/Desktop/images/12072025/02/25/image_12072025_02_26_04_9652.jpg', '/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_54_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/26/image_12072025_02_26_43_9637.jpg
/home/nano/Desktop/images/12072025/02/26/image_12072025_02_26_24_10678.jpg
/home/nano/Desktop/images/12072025/02/26/image_12072025_02_26_13_9654.jpg
/home/nano/Desktop/images/12072025/02/25/image_12072025_02_26_04_9652.jpg
/home/nano/Desktop/images/12072025/02/25/image_12072025_02_25_54_10645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781072","1371781074","1371781079","1371781070","1371781067"],"photo_ids_order":["1371781067","1371781070","1371781072","1371781074","1371781079"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0542933e70a8c0e2e10231efa3a6a8d.jpg","text":"TemporaryFile(/tmp/multipartBody852338914398352171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280068664,"filename":"image_12072025_02_26_13_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ae2c8a8622593b480d403c00013e3b3.jpg","text":"TemporaryFile(/tmp/multipartBody5005187297317344553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280068664,"filename":"image_12072025_02_26_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e92bdfa17c765ac7f178ad74cbf223ac.jpg","text":"TemporaryFile(/tmp/multipartBody6112243352178521134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280068664,"filename":"image_12072025_02_25_54_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19168de41c82270814a40546f49c8ce3.jpg","text":"TemporaryFile(/tmp/multipartBody6408392405011190148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280068664,"filename":"image_12072025_02_26_24_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a883eac406c2e3d8443623ae7510a32b.jpg","text":"TemporaryFile(/tmp/multipartBody3788900351855128638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280068664,"filename":"image_12072025_02_26_43_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781072","file1":"1371781070","file0":"1371781067","file4":"1371781079","file3":"1371781074"},"map_files_photo_id_array":[{"photo_id":"1371781072","filename":"file2"},{"photo_id":"1371781079","filename":"file4"},{"photo_id":"1371781070","filename":"file1"},{"photo_id":"1371781067","filename":"file0"},{"photo_id":"1371781074","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781072":["hashtag1","hashtag2"]},{"1371781074":["hashtag1","hashtag2"]},{"1371781079":["hashtag1","hashtag2"]},{"1371781070":["hashtag1","hashtag2"]},{"1371781067":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781072, 1371781074, 1371781079, 1371781070, 1371781067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.526552438735962 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:27:17.631460
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_43_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_34_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_24_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_13_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/02/26/image_12072025_02_27_04_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/26/image_12072025_02_26_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_43_9663.jpg', '/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_34_9640.jpg', '/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_24_10662.jpg', '/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_13_9664.jpg', '/home/nano/Desktop/images/12072025/02/26/image_12072025_02_27_04_9638.jpg', '/home/nano/Desktop/images/12072025/02/26/image_12072025_02_26_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_43_9663.jpg
/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_34_9640.jpg
/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_24_10662.jpg
/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_13_9664.jpg
/home/nano/Desktop/images/12072025/02/26/image_12072025_02_27_04_9638.jpg
/home/nano/Desktop/images/12072025/02/26/image_12072025_02_26_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781103","1371781093","1371781095","1371781098","1371781089","1371781101"],"photo_ids_order":["1371781089","1371781093","1371781095","1371781098","1371781101","1371781103"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2cc99aca937a90d5d54a7c8c4cf237ce.jpg","text":"TemporaryFile(/tmp/multipartBody1116471294172424704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280098881,"filename":"image_12072025_02_26_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e56d2fe6a58c659558f6285b77d71dab.jpg","text":"TemporaryFile(/tmp/multipartBody3749487716722726548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280098881,"filename":"image_12072025_02_27_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1af5e5f22879557d67740c3bce808995.jpg","text":"TemporaryFile(/tmp/multipartBody4070876400811946132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280098881,"filename":"image_12072025_02_27_24_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c67a282cc427faa89b22e49acff5e73c.jpg","text":"TemporaryFile(/tmp/multipartBody3873791801860100828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280098881,"filename":"image_12072025_02_27_13_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eee108fa8511db50626fb346b48b7c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5926480285469120062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280098881,"filename":"image_12072025_02_27_43_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b096eb362c7d7c7b374ea9f17093911.jpg","text":"TemporaryFile(/tmp/multipartBody780666137643686206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280098881,"filename":"image_12072025_02_27_04_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781095","file1":"1371781093","file0":"1371781089","file4":"1371781101","file5":"1371781103","file3":"1371781098"},"map_files_photo_id_array":[{"photo_id":"1371781103","filename":"file5"},{"photo_id":"1371781095","filename":"file2"},{"photo_id":"1371781101","filename":"file4"},{"photo_id":"1371781093","filename":"file1"},{"photo_id":"1371781089","filename":"file0"},{"photo_id":"1371781098","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781103":["hashtag1","hashtag2"]},{"1371781093":["hashtag1","hashtag2"]},{"1371781095":["hashtag1","hashtag2"]},{"1371781098":["hashtag1","hashtag2"]},{"1371781089":["hashtag1","hashtag2"]},{"1371781101":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781103, 1371781093, 1371781095, 1371781098, 1371781089, 1371781101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.759338855743408 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:28:03.026623
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/38/image_10072025_22_38_24_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/22/38/image_10072025_22_38_14_10695.jpg', 2), ('/home/nano/Desktop/images/10072025/22/37/image_10072025_22_38_03_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/22/37/image_10072025_22_37_44_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/22/37/image_10072025_22_37_33_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/22/37/image_10072025_22_37_24_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/38/image_10072025_22_38_24_9653.jpg', '/home/nano/Desktop/images/10072025/22/38/image_10072025_22_38_14_10695.jpg', '/home/nano/Desktop/images/10072025/22/37/image_10072025_22_38_03_9648.jpg', '/home/nano/Desktop/images/10072025/22/37/image_10072025_22_37_44_10655.jpg', '/home/nano/Desktop/images/10072025/22/37/image_10072025_22_37_33_9651.jpg', '/home/nano/Desktop/images/10072025/22/37/image_10072025_22_37_24_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/38/image_10072025_22_38_24_9653.jpg
/home/nano/Desktop/images/10072025/22/38/image_10072025_22_38_14_10695.jpg
/home/nano/Desktop/images/10072025/22/37/image_10072025_22_38_03_9648.jpg
/home/nano/Desktop/images/10072025/22/37/image_10072025_22_37_44_10655.jpg
/home/nano/Desktop/images/10072025/22/37/image_10072025_22_37_33_9651.jpg
/home/nano/Desktop/images/10072025/22/37/image_10072025_22_37_24_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781135","1371781137","1371781130","1371781124","1371781133","1371781127"],"photo_ids_order":["1371781124","1371781127","1371781130","1371781133","1371781135","1371781137"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01be24bb961b3eaa5bee5a264933256e.jpg","text":"TemporaryFile(/tmp/multipartBody3250204169748460922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280145773,"filename":"image_10072025_22_37_33_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03fb299bb6b10b533f73b93397a0c158.jpg","text":"TemporaryFile(/tmp/multipartBody1280399689988420464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280145773,"filename":"image_10072025_22_37_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb4a99e94d6e6f9a5488a08d8c320d0d.jpg","text":"TemporaryFile(/tmp/multipartBody123746668942598983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280145773,"filename":"image_10072025_22_38_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1bf369665a4a86cd8103d0b7ffeee092.jpg","text":"TemporaryFile(/tmp/multipartBody3747804241979846056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280145773,"filename":"image_10072025_22_38_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f425af3fba23008b827cbb3284906b2.jpg","text":"TemporaryFile(/tmp/multipartBody3044083104303421593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280145773,"filename":"image_10072025_22_37_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16ac35cb93f7331561025f989937d70e.jpg","text":"TemporaryFile(/tmp/multipartBody373906801169831530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280145773,"filename":"image_10072025_22_38_14_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781130","file1":"1371781127","file0":"1371781124","file4":"1371781135","file5":"1371781137","file3":"1371781133"},"map_files_photo_id_array":[{"photo_id":"1371781137","filename":"file5"},{"photo_id":"1371781130","filename":"file2"},{"photo_id":"1371781135","filename":"file4"},{"photo_id":"1371781127","filename":"file1"},{"photo_id":"1371781124","filename":"file0"},{"photo_id":"1371781133","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371781135":["hashtag1","hashtag2"]},{"1371781137":["hashtag1","hashtag2"]},{"1371781130":["hashtag1","hashtag2"]},{"1371781124":["hashtag1","hashtag2"]},{"1371781133":["hashtag1","hashtag2"]},{"1371781127":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371781135, 1371781137, 1371781130, 1371781124, 1371781133, 1371781127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.733989238739014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:28:47.725519
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_43_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_34_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_24_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/02/27/image_12072025_02_28_04_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_54_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_43_9664.jpg', '/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_34_9656.jpg', '/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_24_10666.jpg', '/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_13_9658.jpg', '/home/nano/Desktop/images/12072025/02/27/image_12072025_02_28_04_9657.jpg', '/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_54_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_43_9664.jpg
/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_34_9656.jpg
/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_24_10666.jpg
/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_13_9658.jpg
/home/nano/Desktop/images/12072025/02/27/image_12072025_02_28_04_9657.jpg
/home/nano/Desktop/images/12072025/02/27/image_12072025_02_27_54_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781146","1371781143","1371781157","1371781151","1371781154","1371781148"],"photo_ids_order":["1371781143","1371781146","1371781148","1371781151","1371781154","1371781157"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ac355d42404a7e0105d69f85168acd9.jpg","text":"TemporaryFile(/tmp/multipartBody5603032093723662099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280189058,"filename":"image_12072025_02_28_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be077e47016bca1f0f5825ffe880fc42.jpg","text":"TemporaryFile(/tmp/multipartBody8072763226635821309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280189058,"filename":"image_12072025_02_28_43_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5fefa75408aef314395012d29af3788.jpg","text":"TemporaryFile(/tmp/multipartBody1013147160859327799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280189058,"filename":"image_12072025_02_27_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7cb93763c442e8441e35f3c743b1e3d2.jpg","text":"TemporaryFile(/tmp/multipartBody6762431935276587863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280189058,"filename":"image_12072025_02_28_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6cb4d1f9d8cfc56accde4baa4a104ed.jpg","text":"TemporaryFile(/tmp/multipartBody9108384622989450995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280189058,"filename":"image_12072025_02_28_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eff06f333277aac1ee14207bf8693481.jpg","text":"TemporaryFile(/tmp/multipartBody8588811074146037884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280189058,"filename":"image_12072025_02_28_24_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781148","file1":"1371781146","file0":"1371781143","file4":"1371781154","file5":"1371781157","file3":"1371781151"},"map_files_photo_id_array":[{"photo_id":"1371781157","filename":"file5"},{"photo_id":"1371781148","filename":"file2"},{"photo_id":"1371781154","filename":"file4"},{"photo_id":"1371781146","filename":"file1"},{"photo_id":"1371781143","filename":"file0"},{"photo_id":"1371781151","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781146":["hashtag1","hashtag2"]},{"1371781143":["hashtag1","hashtag2"]},{"1371781157":["hashtag1","hashtag2"]},{"1371781151":["hashtag1","hashtag2"]},{"1371781154":["hashtag1","hashtag2"]},{"1371781148":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781146, 1371781143, 1371781157, 1371781151, 1371781154, 1371781148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.85289764404297 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:29:31.838612
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/29/image_12072025_02_29_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/29/image_12072025_02_29_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/29/image_12072025_02_29_13_9679.jpg', 2), ('/home/nano/Desktop/images/12072025/02/28/image_12072025_02_29_03_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/29/image_12072025_02_29_33_9637.jpg', '/home/nano/Desktop/images/12072025/02/29/image_12072025_02_29_24_10647.jpg', '/home/nano/Desktop/images/12072025/02/29/image_12072025_02_29_13_9679.jpg', '/home/nano/Desktop/images/12072025/02/28/image_12072025_02_29_03_9650.jpg', '/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/29/image_12072025_02_29_33_9637.jpg
/home/nano/Desktop/images/12072025/02/29/image_12072025_02_29_24_10647.jpg
/home/nano/Desktop/images/12072025/02/29/image_12072025_02_29_13_9679.jpg
/home/nano/Desktop/images/12072025/02/28/image_12072025_02_29_03_9650.jpg
/home/nano/Desktop/images/12072025/02/28/image_12072025_02_28_54_10649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781180","1371781174","1371781165","1371781169","1371781163"],"photo_ids_order":["1371781163","1371781165","1371781169","1371781174","1371781180"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b952e5a3ec68c92371bfdb4e0fd13e37.jpg","text":"TemporaryFile(/tmp/multipartBody6808291590685170517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280232931,"filename":"image_12072025_02_28_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64521a94e40c585a5343641fd1359031.jpg","text":"TemporaryFile(/tmp/multipartBody7392603618709333689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280232931,"filename":"image_12072025_02_29_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2dc87362d7d8647b21d9df53665f0057.jpg","text":"TemporaryFile(/tmp/multipartBody7638275321951614806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280232931,"filename":"image_12072025_02_29_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70b9c88dd7d97c100a202d9d35e01c17.jpg","text":"TemporaryFile(/tmp/multipartBody8349096339473555540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280232931,"filename":"image_12072025_02_29_13_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46a271fcf27626e9671baf62e26eabf6.jpg","text":"TemporaryFile(/tmp/multipartBody1959631709969398825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280232931,"filename":"image_12072025_02_29_33_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781169","file1":"1371781165","file0":"1371781163","file4":"1371781180","file3":"1371781174"},"map_files_photo_id_array":[{"photo_id":"1371781169","filename":"file2"},{"photo_id":"1371781180","filename":"file4"},{"photo_id":"1371781165","filename":"file1"},{"photo_id":"1371781163","filename":"file0"},{"photo_id":"1371781174","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781180":["hashtag1","hashtag2"]},{"1371781174":["hashtag1","hashtag2"]},{"1371781165":["hashtag1","hashtag2"]},{"1371781169":["hashtag1","hashtag2"]},{"1371781163":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781180, 1371781174, 1371781165, 1371781169, 1371781163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.077770471572876 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:30:02.216363
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/37/image_10072025_22_37_14_10693.jpg', 2), ('/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_54_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_44_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_33_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_24_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_14_10675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/37/image_10072025_22_37_14_10693.jpg', '/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_54_9654.jpg', '/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_44_10662.jpg', '/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_33_9647.jpg', '/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_24_9653.jpg', '/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_14_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/37/image_10072025_22_37_14_10693.jpg
/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_54_9654.jpg
/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_44_10662.jpg
/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_33_9647.jpg
/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_24_9653.jpg
/home/nano/Desktop/images/10072025/22/36/image_10072025_22_36_14_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781192","1371781195","1371781197","1371781185","1371781188","1371781199"],"photo_ids_order":["1371781185","1371781188","1371781192","1371781195","1371781197","1371781199"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/319e37fb25a417026c041b9ac1e98180.jpg","text":"TemporaryFile(/tmp/multipartBody5535117037449010766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280265038,"filename":"image_10072025_22_36_44_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c8c50e4319bd35c0ef74462d63da1bc.jpg","text":"TemporaryFile(/tmp/multipartBody2010545356660958531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280265038,"filename":"image_10072025_22_36_33_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/364b5b05ed601e7897d10ec35bbfd252.jpg","text":"TemporaryFile(/tmp/multipartBody3947481781936332494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280265038,"filename":"image_10072025_22_36_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94429dd4b067f0f86ec1e4f29862630b.jpg","text":"TemporaryFile(/tmp/multipartBody6141149042687552213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280265038,"filename":"image_10072025_22_37_14_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a272b415f3b02c7a36fe6664576b67a3.jpg","text":"TemporaryFile(/tmp/multipartBody5348403445544280430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280265038,"filename":"image_10072025_22_36_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80581f67d6a064898253b62af383d4f0.jpg","text":"TemporaryFile(/tmp/multipartBody7986288969818895495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280265038,"filename":"image_10072025_22_36_14_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781192","file1":"1371781188","file0":"1371781185","file4":"1371781197","file5":"1371781199","file3":"1371781195"},"map_files_photo_id_array":[{"photo_id":"1371781199","filename":"file5"},{"photo_id":"1371781192","filename":"file2"},{"photo_id":"1371781197","filename":"file4"},{"photo_id":"1371781188","filename":"file1"},{"photo_id":"1371781185","filename":"file0"},{"photo_id":"1371781195","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371781192":["hashtag1","hashtag2"]},{"1371781195":["hashtag1","hashtag2"]},{"1371781197":["hashtag1","hashtag2"]},{"1371781185":["hashtag1","hashtag2"]},{"1371781188":["hashtag1","hashtag2"]},{"1371781199":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371781192, 1371781195, 1371781197, 1371781185, 1371781188, 1371781199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58401823043823 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:30:46.957305
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_14_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/02/29/image_12072025_02_30_03_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/02/29/image_12072025_02_29_54_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_44_10649.jpg', '/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_33_9639.jpg', '/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_24_9638.jpg', '/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_14_10664.jpg', '/home/nano/Desktop/images/12072025/02/29/image_12072025_02_30_03_9658.jpg', '/home/nano/Desktop/images/12072025/02/29/image_12072025_02_29_54_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_44_10649.jpg
/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_33_9639.jpg
/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_24_9638.jpg
/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_14_10664.jpg
/home/nano/Desktop/images/12072025/02/29/image_12072025_02_30_03_9658.jpg
/home/nano/Desktop/images/12072025/02/29/image_12072025_02_29_54_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781220","1371781231","1371781207","1371781215","1371781226","1371781211"],"photo_ids_order":["1371781207","1371781211","1371781215","1371781220","1371781226","1371781231"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5e2495f8a2ca012ec07365a01fe3395.jpg","text":"TemporaryFile(/tmp/multipartBody7805861843850498858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280308325,"filename":"image_12072025_02_30_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc5b057a6209ce38e2c828e6a6731db8.jpg","text":"TemporaryFile(/tmp/multipartBody8898326726633898660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280308325,"filename":"image_12072025_02_29_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d634a5f4132e4b19a9a8f230c2ca705d.jpg","text":"TemporaryFile(/tmp/multipartBody8032391474867995895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280308325,"filename":"image_12072025_02_30_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00f53655393cc363ef85143acdc60c47.jpg","text":"TemporaryFile(/tmp/multipartBody5496071133443659439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280308325,"filename":"image_12072025_02_30_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29badd507e06502297dcb9731ce72681.jpg","text":"TemporaryFile(/tmp/multipartBody8376624340442844710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280308325,"filename":"image_12072025_02_30_03_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/660900f47f728d3b4e0f9b5dd0625c03.jpg","text":"TemporaryFile(/tmp/multipartBody5242787747067489168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280308325,"filename":"image_12072025_02_30_33_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781215","file1":"1371781211","file0":"1371781207","file4":"1371781226","file5":"1371781231","file3":"1371781220"},"map_files_photo_id_array":[{"photo_id":"1371781231","filename":"file5"},{"photo_id":"1371781215","filename":"file2"},{"photo_id":"1371781226","filename":"file4"},{"photo_id":"1371781211","filename":"file1"},{"photo_id":"1371781207","filename":"file0"},{"photo_id":"1371781220","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781220":["hashtag1","hashtag2"]},{"1371781231":["hashtag1","hashtag2"]},{"1371781207":["hashtag1","hashtag2"]},{"1371781215":["hashtag1","hashtag2"]},{"1371781226":["hashtag1","hashtag2"]},{"1371781211":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781220, 1371781231, 1371781207, 1371781215, 1371781226, 1371781211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00074911117554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:31:32.049604
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_33_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_14_10672.jpg', 2), ('/home/nano/Desktop/images/12072025/02/30/image_12072025_02_31_03_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_54_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_44_10649.jpg', '/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_33_9636.jpg', '/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_24_9639.jpg', '/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_14_10672.jpg', '/home/nano/Desktop/images/12072025/02/30/image_12072025_02_31_03_9651.jpg', '/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_44_10649.jpg
/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_33_9636.jpg
/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_24_9639.jpg
/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_14_10672.jpg
/home/nano/Desktop/images/12072025/02/30/image_12072025_02_31_03_9651.jpg
/home/nano/Desktop/images/12072025/02/30/image_12072025_02_30_54_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781257","1371781254","1371781248","1371781242","1371781262","1371781244"],"photo_ids_order":["1371781242","1371781244","1371781248","1371781254","1371781257","1371781262"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/889020617f23c3f01be2bd05a709f88a.jpg","text":"TemporaryFile(/tmp/multipartBody4384485366263388765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280353633,"filename":"image_12072025_02_31_03_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0658a7dc6408f91e390c7376f1e93c7d.jpg","text":"TemporaryFile(/tmp/multipartBody6249732635288602421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280353633,"filename":"image_12072025_02_31_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c06829acf65aec1fc7a1be44a181ec0.jpg","text":"TemporaryFile(/tmp/multipartBody7021604868592959859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280353633,"filename":"image_12072025_02_31_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5339d62287285e9ad8fd62a1d517ac0.jpg","text":"TemporaryFile(/tmp/multipartBody2190910116726394853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280353633,"filename":"image_12072025_02_31_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/867e726bcb952969c3ace8b803065283.jpg","text":"TemporaryFile(/tmp/multipartBody7529012283354191261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280353633,"filename":"image_12072025_02_30_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c20147c6c4e56949d5c63ae0c87d5be.jpg","text":"TemporaryFile(/tmp/multipartBody2765965429280368302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280353633,"filename":"image_12072025_02_31_33_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781248","file1":"1371781244","file0":"1371781242","file4":"1371781257","file5":"1371781262","file3":"1371781254"},"map_files_photo_id_array":[{"photo_id":"1371781262","filename":"file5"},{"photo_id":"1371781248","filename":"file2"},{"photo_id":"1371781257","filename":"file4"},{"photo_id":"1371781244","filename":"file1"},{"photo_id":"1371781242","filename":"file0"},{"photo_id":"1371781254","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781257":["hashtag1","hashtag2"]},{"1371781254":["hashtag1","hashtag2"]},{"1371781248":["hashtag1","hashtag2"]},{"1371781242":["hashtag1","hashtag2"]},{"1371781262":["hashtag1","hashtag2"]},{"1371781244":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781257, 1371781254, 1371781248, 1371781242, 1371781262, 1371781244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.69254755973816 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:32:17.246505
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_44_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_14_10672.jpg', 2), ('/home/nano/Desktop/images/12072025/02/31/image_12072025_02_32_03_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_44_10667.jpg', '/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_33_9639.jpg', '/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_23_9637.jpg', '/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_14_10672.jpg', '/home/nano/Desktop/images/12072025/02/31/image_12072025_02_32_03_9651.jpg', '/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_44_10667.jpg
/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_33_9639.jpg
/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_23_9637.jpg
/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_14_10672.jpg
/home/nano/Desktop/images/12072025/02/31/image_12072025_02_32_03_9651.jpg
/home/nano/Desktop/images/12072025/02/31/image_12072025_02_31_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781281","1371781284","1371781278","1371781287","1371781283","1371781277"],"photo_ids_order":["1371781277","1371781278","1371781281","1371781283","1371781284","1371781287"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d51716eb4bba24f2f435eb0ba6495153.jpg","text":"TemporaryFile(/tmp/multipartBody5407593267099993481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280398651,"filename":"image_12072025_02_32_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42c9beeb7596d15b8cf1ce9c1e4bea76.jpg","text":"TemporaryFile(/tmp/multipartBody3204268653142586758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280398651,"filename":"image_12072025_02_32_03_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89ef2dda52cd25faaf177be1b8f17d00.jpg","text":"TemporaryFile(/tmp/multipartBody6063383743089739709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280398651,"filename":"image_12072025_02_32_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2eb2b82efd09a42be30dcdcc9a545485.jpg","text":"TemporaryFile(/tmp/multipartBody1047642450270931323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280398651,"filename":"image_12072025_02_31_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad09494ffc1ccf1f5a9f76aa1bde0871.jpg","text":"TemporaryFile(/tmp/multipartBody4188353931345566563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280398651,"filename":"image_12072025_02_32_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4fbb3a7b5c994fd469f4eb7713fd7a52.jpg","text":"TemporaryFile(/tmp/multipartBody2579228154511631754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280398651,"filename":"image_12072025_02_32_44_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781281","file1":"1371781278","file0":"1371781277","file4":"1371781284","file5":"1371781287","file3":"1371781283"},"map_files_photo_id_array":[{"photo_id":"1371781287","filename":"file5"},{"photo_id":"1371781281","filename":"file2"},{"photo_id":"1371781284","filename":"file4"},{"photo_id":"1371781278","filename":"file1"},{"photo_id":"1371781277","filename":"file0"},{"photo_id":"1371781283","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781281":["hashtag1","hashtag2"]},{"1371781284":["hashtag1","hashtag2"]},{"1371781278":["hashtag1","hashtag2"]},{"1371781287":["hashtag1","hashtag2"]},{"1371781283":["hashtag1","hashtag2"]},{"1371781277":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781281, 1371781284, 1371781278, 1371781287, 1371781283, 1371781277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.926403045654297 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:33:02.942114
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_54_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_43_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_33_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_24_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_13_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/22/34/image_10072025_22_35_03_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_54_10654.jpg', '/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_43_9651.jpg', '/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_33_9644.jpg', '/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_24_10655.jpg', '/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_13_9662.jpg', '/home/nano/Desktop/images/10072025/22/34/image_10072025_22_35_03_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_54_10654.jpg
/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_43_9651.jpg
/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_33_9644.jpg
/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_24_10655.jpg
/home/nano/Desktop/images/10072025/22/35/image_10072025_22_35_13_9662.jpg
/home/nano/Desktop/images/10072025/22/34/image_10072025_22_35_03_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781312","1371781306","1371781311","1371781308","1371781302","1371781298"],"photo_ids_order":["1371781298","1371781302","1371781306","1371781308","1371781311","1371781312"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc91a4914f1331348e5fbb2fa57a9b61.jpg","text":"TemporaryFile(/tmp/multipartBody4904561062652981177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280445694,"filename":"image_10072025_22_35_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fbe24398f5ee189692ae22ed5c4cb0f5.jpg","text":"TemporaryFile(/tmp/multipartBody7596741752680673907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280445694,"filename":"image_10072025_22_35_33_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54007ca452978414dc47aa8be31e600c.jpg","text":"TemporaryFile(/tmp/multipartBody5991863896945057117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280445694,"filename":"image_10072025_22_35_13_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb56baddc878f45f577152ae8508042d.jpg","text":"TemporaryFile(/tmp/multipartBody4685338310865367000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280445694,"filename":"image_10072025_22_35_24_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b3c02d3307723a28604bf1ffc74abed.jpg","text":"TemporaryFile(/tmp/multipartBody7629829758881477459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280445694,"filename":"image_10072025_22_35_43_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33018f46105874edb4a56859637479df.jpg","text":"TemporaryFile(/tmp/multipartBody2932515341347860921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280445694,"filename":"image_10072025_22_35_54_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781306","file1":"1371781302","file0":"1371781298","file4":"1371781311","file5":"1371781312","file3":"1371781308"},"map_files_photo_id_array":[{"photo_id":"1371781312","filename":"file5"},{"photo_id":"1371781306","filename":"file2"},{"photo_id":"1371781311","filename":"file4"},{"photo_id":"1371781302","filename":"file1"},{"photo_id":"1371781298","filename":"file0"},{"photo_id":"1371781308","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371781312":["hashtag1","hashtag2"]},{"1371781306":["hashtag1","hashtag2"]},{"1371781311":["hashtag1","hashtag2"]},{"1371781308":["hashtag1","hashtag2"]},{"1371781302":["hashtag1","hashtag2"]},{"1371781298":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371781312, 1371781306, 1371781311, 1371781308, 1371781302, 1371781298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01481533050537 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:33:47.331970
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_44_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_33_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_23_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_14_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/02/32/image_12072025_02_33_03_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_44_10656.jpg', '/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_33_9656.jpg', '/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_23_9660.jpg', '/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_14_10668.jpg', '/home/nano/Desktop/images/12072025/02/32/image_12072025_02_33_03_9661.jpg', '/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_44_10656.jpg
/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_33_9656.jpg
/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_23_9660.jpg
/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_14_10668.jpg
/home/nano/Desktop/images/12072025/02/32/image_12072025_02_33_03_9661.jpg
/home/nano/Desktop/images/12072025/02/32/image_12072025_02_32_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781334","1371781333","1371781332","1371781335","1371781329","1371781337"],"photo_ids_order":["1371781329","1371781332","1371781333","1371781334","1371781335","1371781337"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/100a6246fd8af38281ea5b8b52ec122b.jpg","text":"TemporaryFile(/tmp/multipartBody2998998998280831219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280488560,"filename":"image_12072025_02_33_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac19a8e87ffa6552dd5746af0a2f57ca.jpg","text":"TemporaryFile(/tmp/multipartBody4164643299482187424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280488560,"filename":"image_12072025_02_33_23_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c304436c394c1414a5801e4cfbe7dc3a.jpg","text":"TemporaryFile(/tmp/multipartBody1343097556261645986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280488560,"filename":"image_12072025_02_33_33_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcfaca3b5f989f0352ad0372e58fc0bb.jpg","text":"TemporaryFile(/tmp/multipartBody5357299549469437077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280488560,"filename":"image_12072025_02_33_03_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a38f7b0bdbca512c35178289b492f101.jpg","text":"TemporaryFile(/tmp/multipartBody4389761448145174738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280488560,"filename":"image_12072025_02_33_44_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c308985584a8fe1c92cca67fc11d1f62.jpg","text":"TemporaryFile(/tmp/multipartBody3327958673376052856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280488560,"filename":"image_12072025_02_32_53_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781333","file1":"1371781332","file0":"1371781329","file4":"1371781335","file5":"1371781337","file3":"1371781334"},"map_files_photo_id_array":[{"photo_id":"1371781337","filename":"file5"},{"photo_id":"1371781333","filename":"file2"},{"photo_id":"1371781335","filename":"file4"},{"photo_id":"1371781332","filename":"file1"},{"photo_id":"1371781329","filename":"file0"},{"photo_id":"1371781334","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781334":["hashtag1","hashtag2"]},{"1371781333":["hashtag1","hashtag2"]},{"1371781332":["hashtag1","hashtag2"]},{"1371781335":["hashtag1","hashtag2"]},{"1371781329":["hashtag1","hashtag2"]},{"1371781337":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781334, 1371781333, 1371781332, 1371781335, 1371781329, 1371781337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14229226112366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:34:32.447818
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_34_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_23_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_14_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/02/33/image_12072025_02_34_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_44_9639.jpg', '/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_34_10652.jpg', '/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_23_9657.jpg', '/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_14_9662.jpg', '/home/nano/Desktop/images/12072025/02/33/image_12072025_02_34_04_10657.jpg', '/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_44_9639.jpg
/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_34_10652.jpg
/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_23_9657.jpg
/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_14_9662.jpg
/home/nano/Desktop/images/12072025/02/33/image_12072025_02_34_04_10657.jpg
/home/nano/Desktop/images/12072025/02/33/image_12072025_02_33_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781345","1371781354","1371781348","1371781357","1371781350","1371781361"],"photo_ids_order":["1371781345","1371781348","1371781350","1371781354","1371781357","1371781361"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea7bba5cf39b205399807c829a84a0fc.jpg","text":"TemporaryFile(/tmp/multipartBody3243713625683439868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280533748,"filename":"image_12072025_02_34_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a3dbb82a7d48c26ac10b6cdd44220ab.jpg","text":"TemporaryFile(/tmp/multipartBody1435246632037054525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280533748,"filename":"image_12072025_02_34_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/477723b43ba5c62c9c68436ad6b22e01.jpg","text":"TemporaryFile(/tmp/multipartBody1956496678840151977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280533748,"filename":"image_12072025_02_34_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9640d3f62fe75f37c6652098333dda1e.jpg","text":"TemporaryFile(/tmp/multipartBody7246086180152836162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280533748,"filename":"image_12072025_02_34_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc15bde98973da26d31a482c117cae29.jpg","text":"TemporaryFile(/tmp/multipartBody4166922418873249120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280533748,"filename":"image_12072025_02_34_23_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d81470763d826b74e5f51bdce82b75bf.jpg","text":"TemporaryFile(/tmp/multipartBody6790141024147348902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280533748,"filename":"image_12072025_02_33_53_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781350","file1":"1371781348","file0":"1371781345","file4":"1371781357","file5":"1371781361","file3":"1371781354"},"map_files_photo_id_array":[{"photo_id":"1371781361","filename":"file5"},{"photo_id":"1371781350","filename":"file2"},{"photo_id":"1371781357","filename":"file4"},{"photo_id":"1371781348","filename":"file1"},{"photo_id":"1371781345","filename":"file0"},{"photo_id":"1371781354","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781345":["hashtag1","hashtag2"]},{"1371781354":["hashtag1","hashtag2"]},{"1371781348":["hashtag1","hashtag2"]},{"1371781357":["hashtag1","hashtag2"]},{"1371781350":["hashtag1","hashtag2"]},{"1371781361":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781345, 1371781354, 1371781348, 1371781357, 1371781350, 1371781361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.4406418800354 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:35:17.551092
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_34_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/02/34/image_12072025_02_35_04_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_53_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_44_9639.jpg', '/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_34_10666.jpg', '/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_23_9640.jpg', '/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_14_9658.jpg', '/home/nano/Desktop/images/12072025/02/34/image_12072025_02_35_04_10653.jpg', '/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_53_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_44_9639.jpg
/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_34_10666.jpg
/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_23_9640.jpg
/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_14_9658.jpg
/home/nano/Desktop/images/12072025/02/34/image_12072025_02_35_04_10653.jpg
/home/nano/Desktop/images/12072025/02/34/image_12072025_02_34_53_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781390","1371781384","1371781387","1371781380","1371781374","1371781377"],"photo_ids_order":["1371781374","1371781377","1371781380","1371781384","1371781387","1371781390"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb3cb1023f0d07762999ac7f4c117d30.jpg","text":"TemporaryFile(/tmp/multipartBody3082787456148380238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280578785,"filename":"image_12072025_02_34_53_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd1b915f91ea8323243fe9f73a7b75aa.jpg","text":"TemporaryFile(/tmp/multipartBody8432382379079469275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280578785,"filename":"image_12072025_02_35_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2064a2a60896efce5b38a3e621f2c12c.jpg","text":"TemporaryFile(/tmp/multipartBody8534610009178413967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280578785,"filename":"image_12072025_02_35_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/049ab4f8378aa9a82f969659304694b9.jpg","text":"TemporaryFile(/tmp/multipartBody2886536386920289568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280578785,"filename":"image_12072025_02_35_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/115248f426fe1f4a4cf23707596eeeab.jpg","text":"TemporaryFile(/tmp/multipartBody6333387503821540484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280578785,"filename":"image_12072025_02_35_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1058cba89790a03fba56bb150ccc1681.jpg","text":"TemporaryFile(/tmp/multipartBody3396979806830282651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280578785,"filename":"image_12072025_02_35_34_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781380","file1":"1371781377","file0":"1371781374","file4":"1371781387","file5":"1371781390","file3":"1371781384"},"map_files_photo_id_array":[{"photo_id":"1371781390","filename":"file5"},{"photo_id":"1371781380","filename":"file2"},{"photo_id":"1371781387","filename":"file4"},{"photo_id":"1371781377","filename":"file1"},{"photo_id":"1371781374","filename":"file0"},{"photo_id":"1371781384","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781390":["hashtag1","hashtag2"]},{"1371781384":["hashtag1","hashtag2"]},{"1371781387":["hashtag1","hashtag2"]},{"1371781380":["hashtag1","hashtag2"]},{"1371781374":["hashtag1","hashtag2"]},{"1371781377":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781390, 1371781384, 1371781387, 1371781380, 1371781374, 1371781377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.837729692459106 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:36:02.966337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/34/image_10072025_22_34_54_10653.jpg', 2), ('/home/nano/Desktop/images/10072025/22/34/image_10072025_22_34_43_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/22/34/image_10072025_22_34_33_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/33/image_10072025_22_34_04_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/22/33/image_10072025_22_33_54_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/22/33/image_10072025_22_33_24_10675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/34/image_10072025_22_34_54_10653.jpg', '/home/nano/Desktop/images/10072025/22/34/image_10072025_22_34_43_9652.jpg', '/home/nano/Desktop/images/10072025/22/34/image_10072025_22_34_33_9647.jpg', '/home/nano/Desktop/images/10072025/22/33/image_10072025_22_34_04_9654.jpg', '/home/nano/Desktop/images/10072025/22/33/image_10072025_22_33_54_10656.jpg', '/home/nano/Desktop/images/10072025/22/33/image_10072025_22_33_24_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/34/image_10072025_22_34_54_10653.jpg
/home/nano/Desktop/images/10072025/22/34/image_10072025_22_34_43_9652.jpg
/home/nano/Desktop/images/10072025/22/34/image_10072025_22_34_33_9647.jpg
/home/nano/Desktop/images/10072025/22/33/image_10072025_22_34_04_9654.jpg
/home/nano/Desktop/images/10072025/22/33/image_10072025_22_33_54_10656.jpg
/home/nano/Desktop/images/10072025/22/33/image_10072025_22_33_24_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781412","1371781409","1371781414","1371781413","1371781407","1371781416"],"photo_ids_order":["1371781407","1371781409","1371781412","1371781413","1371781414","1371781416"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1bba6e694f39da2cc20be738d738c89.jpg","text":"TemporaryFile(/tmp/multipartBody8004083743148092986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280625754,"filename":"image_10072025_22_34_33_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f5c8fd7b45be0a4c6ea670a1b9d7523.jpg","text":"TemporaryFile(/tmp/multipartBody8638559750677536011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280625754,"filename":"image_10072025_22_34_43_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1442d1a71eb8e5ef5c79e0908067fc48.jpg","text":"TemporaryFile(/tmp/multipartBody2939011208060973045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280625754,"filename":"image_10072025_22_33_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e415fe358a202d904542ec95a131350.jpg","text":"TemporaryFile(/tmp/multipartBody1973510045230077999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280625754,"filename":"image_10072025_22_34_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31c81beeb6449021131f545b7dffab7a.jpg","text":"TemporaryFile(/tmp/multipartBody7322159611631648130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280625754,"filename":"image_10072025_22_34_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db35384feb43d04c43dbadc73d08a564.jpg","text":"TemporaryFile(/tmp/multipartBody3209216205435722699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280625754,"filename":"image_10072025_22_33_24_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781412","file1":"1371781409","file0":"1371781407","file4":"1371781414","file5":"1371781416","file3":"1371781413"},"map_files_photo_id_array":[{"photo_id":"1371781416","filename":"file5"},{"photo_id":"1371781412","filename":"file2"},{"photo_id":"1371781414","filename":"file4"},{"photo_id":"1371781409","filename":"file1"},{"photo_id":"1371781407","filename":"file0"},{"photo_id":"1371781413","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371781412":["hashtag1","hashtag2"]},{"1371781409":["hashtag1","hashtag2"]},{"1371781414":["hashtag1","hashtag2"]},{"1371781413":["hashtag1","hashtag2"]},{"1371781407":["hashtag1","hashtag2"]},{"1371781416":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371781412, 1371781409, 1371781414, 1371781413, 1371781407, 1371781416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93303346633911 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:36:47.656238
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_13_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/35/image_12072025_02_36_04_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_43_9637.jpg', '/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_34_10649.jpg', '/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_23_9639.jpg', '/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_13_9654.jpg', '/home/nano/Desktop/images/12072025/02/35/image_12072025_02_36_04_10646.jpg', '/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_43_9637.jpg
/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_34_10649.jpg
/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_23_9639.jpg
/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_13_9654.jpg
/home/nano/Desktop/images/12072025/02/35/image_12072025_02_36_04_10646.jpg
/home/nano/Desktop/images/12072025/02/35/image_12072025_02_35_53_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781432","1371781438","1371781458","1371781434","1371781451","1371781439"],"photo_ids_order":["1371781432","1371781434","1371781438","1371781439","1371781451","1371781458"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e04f7ecc39872b142edc17c73c94c3c6.jpg","text":"TemporaryFile(/tmp/multipartBody7032580681330153552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280669042,"filename":"image_12072025_02_36_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cdf7dd0c7dc939548093f4813890af45.jpg","text":"TemporaryFile(/tmp/multipartBody1853591334862695157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280669042,"filename":"image_12072025_02_36_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b059323a2760a83b2da88b1c65110215.jpg","text":"TemporaryFile(/tmp/multipartBody8176836967346526520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280669042,"filename":"image_12072025_02_35_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd6eae99569bc9a622bbfae0845291a4.jpg","text":"TemporaryFile(/tmp/multipartBody3111209750229037406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280669042,"filename":"image_12072025_02_36_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87c95db7e6c837d8e8f7b327e4a5fbd8.jpg","text":"TemporaryFile(/tmp/multipartBody8585640219395060760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280669042,"filename":"image_12072025_02_36_04_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00575148b17a6344fe75572ee85b40f1.jpg","text":"TemporaryFile(/tmp/multipartBody9154721541873905717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280669042,"filename":"image_12072025_02_36_13_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781438","file1":"1371781434","file0":"1371781432","file4":"1371781451","file5":"1371781458","file3":"1371781439"},"map_files_photo_id_array":[{"photo_id":"1371781458","filename":"file5"},{"photo_id":"1371781438","filename":"file2"},{"photo_id":"1371781451","filename":"file4"},{"photo_id":"1371781434","filename":"file1"},{"photo_id":"1371781432","filename":"file0"},{"photo_id":"1371781439","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781432":["hashtag1","hashtag2"]},{"1371781438":["hashtag1","hashtag2"]},{"1371781458":["hashtag1","hashtag2"]},{"1371781434":["hashtag1","hashtag2"]},{"1371781451":["hashtag1","hashtag2"]},{"1371781439":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781432, 1371781438, 1371781458, 1371781434, 1371781451, 1371781439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.854311227798462 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:37:32.745232
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_13_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/02/36/image_12072025_02_37_04_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_53_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_43_9638.jpg', '/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_34_9639.jpg', '/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_24_10649.jpg', '/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_13_9667.jpg', '/home/nano/Desktop/images/12072025/02/36/image_12072025_02_37_04_10666.jpg', '/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_53_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_43_9638.jpg
/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_34_9639.jpg
/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_24_10649.jpg
/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_13_9667.jpg
/home/nano/Desktop/images/12072025/02/36/image_12072025_02_37_04_10666.jpg
/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_53_9650.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.132215976715088 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:37:47.735706
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_13_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/02/36/image_12072025_02_37_04_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_53_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_43_9638.jpg', '/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_34_9639.jpg', '/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_24_10649.jpg', '/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_13_9667.jpg', '/home/nano/Desktop/images/12072025/02/36/image_12072025_02_37_04_10666.jpg', '/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_53_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_43_9638.jpg
/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_34_9639.jpg
/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_24_10649.jpg
/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_13_9667.jpg
/home/nano/Desktop/images/12072025/02/36/image_12072025_02_37_04_10666.jpg
/home/nano/Desktop/images/12072025/02/36/image_12072025_02_36_53_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781511","1371781505","1371781507","1371781501","1371781512","1371781509"],"photo_ids_order":["1371781501","1371781505","1371781507","1371781509","1371781511","1371781512"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2074b49b4a81023f41e124f23f53c34.jpg","text":"TemporaryFile(/tmp/multipartBody8177564613820336875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280729067,"filename":"image_12072025_02_37_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81172b534919da4317c8651c1fd21e0f.jpg","text":"TemporaryFile(/tmp/multipartBody5693450758340327383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280729067,"filename":"image_12072025_02_37_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bcb76cd8581900f071be0a2417f23160.jpg","text":"TemporaryFile(/tmp/multipartBody8037834468376428067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280729067,"filename":"image_12072025_02_37_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad423afd6695dc08070cf197c371779f.jpg","text":"TemporaryFile(/tmp/multipartBody3743519797270815360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280729067,"filename":"image_12072025_02_37_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d45a0ffdc8d8ac1a6f192c89213f273b.jpg","text":"TemporaryFile(/tmp/multipartBody4763774093411825125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280729067,"filename":"image_12072025_02_36_53_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af868f9053faa871d45a23b0d079bd27.jpg","text":"TemporaryFile(/tmp/multipartBody8507154985824639200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280729067,"filename":"image_12072025_02_37_13_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781507","file1":"1371781505","file0":"1371781501","file4":"1371781511","file5":"1371781512","file3":"1371781509"},"map_files_photo_id_array":[{"photo_id":"1371781512","filename":"file5"},{"photo_id":"1371781507","filename":"file2"},{"photo_id":"1371781511","filename":"file4"},{"photo_id":"1371781505","filename":"file1"},{"photo_id":"1371781501","filename":"file0"},{"photo_id":"1371781509","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781511":["hashtag1","hashtag2"]},{"1371781505":["hashtag1","hashtag2"]},{"1371781507":["hashtag1","hashtag2"]},{"1371781501":["hashtag1","hashtag2"]},{"1371781512":["hashtag1","hashtag2"]},{"1371781509":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781511, 1371781505, 1371781507, 1371781501, 1371781512, 1371781509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.857759952545166 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:38:31.835465
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_24_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/02/37/image_12072025_02_38_04_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_43_9638.jpg', '/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_34_9638.jpg', '/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_24_10650.jpg', '/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_13_9659.jpg', '/home/nano/Desktop/images/12072025/02/37/image_12072025_02_38_04_9647.jpg', '/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_43_9638.jpg
/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_34_9638.jpg
/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_24_10650.jpg
/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_13_9659.jpg
/home/nano/Desktop/images/12072025/02/37/image_12072025_02_38_04_9647.jpg
/home/nano/Desktop/images/12072025/02/37/image_12072025_02_37_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781526","1371781530","1371781524","1371781532","1371781535","1371781520"],"photo_ids_order":["1371781520","1371781524","1371781526","1371781530","1371781532","1371781535"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27c1177c2ec664d406f4e4dec5788aed.jpg","text":"TemporaryFile(/tmp/multipartBody7121550212329205754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280773690,"filename":"image_12072025_02_38_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/286c8c2d641ee877c4d4a7a5c64a96b5.jpg","text":"TemporaryFile(/tmp/multipartBody4397604746305533938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280773690,"filename":"image_12072025_02_38_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c0f8ea5b0229dbf02758bd0104ffe26.jpg","text":"TemporaryFile(/tmp/multipartBody7203556863769875102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280773690,"filename":"image_12072025_02_38_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc79f611b7ec1049f215db886e802212.jpg","text":"TemporaryFile(/tmp/multipartBody2322989677525209594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280773690,"filename":"image_12072025_02_38_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/007f7a3d495875f88e1337cd36ecd248.jpg","text":"TemporaryFile(/tmp/multipartBody6922358788255813181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280773690,"filename":"image_12072025_02_37_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f018608c22eba4865979b00ae1861d37.jpg","text":"TemporaryFile(/tmp/multipartBody8508731743653472783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280773690,"filename":"image_12072025_02_38_43_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781526","file1":"1371781524","file0":"1371781520","file4":"1371781532","file5":"1371781535","file3":"1371781530"},"map_files_photo_id_array":[{"photo_id":"1371781535","filename":"file5"},{"photo_id":"1371781526","filename":"file2"},{"photo_id":"1371781532","filename":"file4"},{"photo_id":"1371781524","filename":"file1"},{"photo_id":"1371781520","filename":"file0"},{"photo_id":"1371781530","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781526":["hashtag1","hashtag2"]},{"1371781530":["hashtag1","hashtag2"]},{"1371781524":["hashtag1","hashtag2"]},{"1371781532":["hashtag1","hashtag2"]},{"1371781535":["hashtag1","hashtag2"]},{"1371781520":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781526, 1371781530, 1371781524, 1371781532, 1371781535, 1371781520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.631531953811646 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:39:16.954981
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_43_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_24_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/02/38/image_12072025_02_39_04_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_43_9643.jpg', '/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_33_9637.jpg', '/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_24_10665.jpg', '/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_13_9658.jpg', '/home/nano/Desktop/images/12072025/02/38/image_12072025_02_39_04_9644.jpg', '/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_43_9643.jpg
/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_33_9637.jpg
/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_24_10665.jpg
/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_13_9658.jpg
/home/nano/Desktop/images/12072025/02/38/image_12072025_02_39_04_9644.jpg
/home/nano/Desktop/images/12072025/02/38/image_12072025_02_38_54_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781570","1371781564","1371781567","1371781560","1371781563","1371781559"],"photo_ids_order":["1371781559","1371781560","1371781563","1371781564","1371781567","1371781570"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82c01ef91c155b02cd0bf2c5d8153abf.jpg","text":"TemporaryFile(/tmp/multipartBody1737175175538008911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280818191,"filename":"image_12072025_02_38_54_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54481e51a4a88a80ce0452816f7b9cb7.jpg","text":"TemporaryFile(/tmp/multipartBody3094805268919120225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280818191,"filename":"image_12072025_02_39_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7aafa586beb649f5d29b081d7ea180bc.jpg","text":"TemporaryFile(/tmp/multipartBody4268076499517519434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280818191,"filename":"image_12072025_02_39_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c2865fd3aef5592d5477eda228df17d.jpg","text":"TemporaryFile(/tmp/multipartBody4707730593060913691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280818191,"filename":"image_12072025_02_39_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec8ca667f01cec978b7e4f3c8a0bb985.jpg","text":"TemporaryFile(/tmp/multipartBody8246128910030662550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280818191,"filename":"image_12072025_02_39_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c4cbdd9559c548b85acec24cff0903b.jpg","text":"TemporaryFile(/tmp/multipartBody3043437845159320944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280818191,"filename":"image_12072025_02_39_43_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781563","file1":"1371781560","file0":"1371781559","file4":"1371781567","file5":"1371781570","file3":"1371781564"},"map_files_photo_id_array":[{"photo_id":"1371781570","filename":"file5"},{"photo_id":"1371781563","filename":"file2"},{"photo_id":"1371781567","filename":"file4"},{"photo_id":"1371781560","filename":"file1"},{"photo_id":"1371781559","filename":"file0"},{"photo_id":"1371781564","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781570":["hashtag1","hashtag2"]},{"1371781564":["hashtag1","hashtag2"]},{"1371781567":["hashtag1","hashtag2"]},{"1371781560":["hashtag1","hashtag2"]},{"1371781563":["hashtag1","hashtag2"]},{"1371781559":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781570, 1371781564, 1371781567, 1371781560, 1371781563, 1371781559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.431084394454956 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:40:02.438472
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/33/image_10072025_22_33_13_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/22/32/image_10072025_22_33_04_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/22/32/image_10072025_22_32_54_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/22/32/image_10072025_22_32_13_9685.jpg', 2), ('/home/nano/Desktop/images/10072025/22/31/image_10072025_22_32_04_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/33/image_10072025_22_33_13_9666.jpg', '/home/nano/Desktop/images/10072025/22/32/image_10072025_22_33_04_9667.jpg', '/home/nano/Desktop/images/10072025/22/32/image_10072025_22_32_54_10661.jpg', '/home/nano/Desktop/images/10072025/22/32/image_10072025_22_32_13_9685.jpg', '/home/nano/Desktop/images/10072025/22/31/image_10072025_22_32_04_9647.jpg', '/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/33/image_10072025_22_33_13_9666.jpg
/home/nano/Desktop/images/10072025/22/32/image_10072025_22_33_04_9667.jpg
/home/nano/Desktop/images/10072025/22/32/image_10072025_22_32_54_10661.jpg
/home/nano/Desktop/images/10072025/22/32/image_10072025_22_32_13_9685.jpg
/home/nano/Desktop/images/10072025/22/31/image_10072025_22_32_04_9647.jpg
/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_54_10654.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.611670732498169 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:40:17.045441
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_44_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/02/39/image_12072025_02_40_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_54_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_44_10656.jpg', '/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_33_9640.jpg', '/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_24_10649.jpg', '/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_13_9656.jpg', '/home/nano/Desktop/images/12072025/02/39/image_12072025_02_40_03_9646.jpg', '/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_54_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_44_10656.jpg
/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_33_9640.jpg
/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_24_10649.jpg
/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_13_9656.jpg
/home/nano/Desktop/images/12072025/02/39/image_12072025_02_40_03_9646.jpg
/home/nano/Desktop/images/12072025/02/39/image_12072025_02_39_54_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781625","1371781621","1371781615","1371781618","1371781623","1371781611"],"photo_ids_order":["1371781611","1371781615","1371781618","1371781621","1371781623","1371781625"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2eac894d7aef2f43822aa7e70baf0a9.jpg","text":"TemporaryFile(/tmp/multipartBody6271588304125261041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280878439,"filename":"image_12072025_02_39_54_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/918917f9cb7c1158057b488a8d69459b.jpg","text":"TemporaryFile(/tmp/multipartBody2972552430661654523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280878439,"filename":"image_12072025_02_40_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c859608a9c6a942dcc5666bc0397742.jpg","text":"TemporaryFile(/tmp/multipartBody4859680222384889520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280878439,"filename":"image_12072025_02_40_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d01ab7b0906b784a77920ea11ae364de.jpg","text":"TemporaryFile(/tmp/multipartBody8836046544374067492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280878439,"filename":"image_12072025_02_40_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5c624796ef51b0ff90158bb4bfca9aa.jpg","text":"TemporaryFile(/tmp/multipartBody2570339159382071225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280878439,"filename":"image_12072025_02_40_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ba1731b91304a0555ecdec7860e6ecd.jpg","text":"TemporaryFile(/tmp/multipartBody2920059313129137372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280878439,"filename":"image_12072025_02_40_44_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781618","file1":"1371781615","file0":"1371781611","file4":"1371781623","file5":"1371781625","file3":"1371781621"},"map_files_photo_id_array":[{"photo_id":"1371781625","filename":"file5"},{"photo_id":"1371781618","filename":"file2"},{"photo_id":"1371781623","filename":"file4"},{"photo_id":"1371781615","filename":"file1"},{"photo_id":"1371781611","filename":"file0"},{"photo_id":"1371781621","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781625":["hashtag1","hashtag2"]},{"1371781621":["hashtag1","hashtag2"]},{"1371781615":["hashtag1","hashtag2"]},{"1371781618":["hashtag1","hashtag2"]},{"1371781623":["hashtag1","hashtag2"]},{"1371781611":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781625, 1371781621, 1371781615, 1371781618, 1371781623, 1371781611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91830110549927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:41:02.610636
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/33/image_10072025_22_33_13_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/22/32/image_10072025_22_33_04_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/22/32/image_10072025_22_32_54_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/22/32/image_10072025_22_32_13_9685.jpg', 2), ('/home/nano/Desktop/images/10072025/22/31/image_10072025_22_32_04_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/33/image_10072025_22_33_13_9666.jpg', '/home/nano/Desktop/images/10072025/22/32/image_10072025_22_33_04_9667.jpg', '/home/nano/Desktop/images/10072025/22/32/image_10072025_22_32_54_10661.jpg', '/home/nano/Desktop/images/10072025/22/32/image_10072025_22_32_13_9685.jpg', '/home/nano/Desktop/images/10072025/22/31/image_10072025_22_32_04_9647.jpg', '/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/33/image_10072025_22_33_13_9666.jpg
/home/nano/Desktop/images/10072025/22/32/image_10072025_22_33_04_9667.jpg
/home/nano/Desktop/images/10072025/22/32/image_10072025_22_32_54_10661.jpg
/home/nano/Desktop/images/10072025/22/32/image_10072025_22_32_13_9685.jpg
/home/nano/Desktop/images/10072025/22/31/image_10072025_22_32_04_9647.jpg
/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_54_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781654","1371781647","1371781650","1371781652","1371781646","1371781649"],"photo_ids_order":["1371781646","1371781647","1371781649","1371781650","1371781652","1371781654"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/964a0e7bd38f955b1c58ddd22a41fa36.jpg","text":"TemporaryFile(/tmp/multipartBody1879360072460283335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280925167,"filename":"image_10072025_22_31_54_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d7a7caf155a4a716484f6020069c276.jpg","text":"TemporaryFile(/tmp/multipartBody7338355057427934230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280925167,"filename":"image_10072025_22_33_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d3e975e9c705381a2d4deea2b86ceef.jpg","text":"TemporaryFile(/tmp/multipartBody8441094952537075197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280925167,"filename":"image_10072025_22_32_13_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d7a7238bc79865cabab2ce2ca0e0edd.jpg","text":"TemporaryFile(/tmp/multipartBody5032038369320804359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280925167,"filename":"image_10072025_22_32_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fcb0f5cfef525418aaf4ce4a14c95f3.jpg","text":"TemporaryFile(/tmp/multipartBody5887874905975900743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280925167,"filename":"image_10072025_22_33_13_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9523fe8227325e342f7507234c7d0bce.jpg","text":"TemporaryFile(/tmp/multipartBody7738458181680321527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280925167,"filename":"image_10072025_22_32_54_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781649","file1":"1371781647","file0":"1371781646","file4":"1371781652","file5":"1371781654","file3":"1371781650"},"map_files_photo_id_array":[{"photo_id":"1371781654","filename":"file5"},{"photo_id":"1371781649","filename":"file2"},{"photo_id":"1371781652","filename":"file4"},{"photo_id":"1371781647","filename":"file1"},{"photo_id":"1371781646","filename":"file0"},{"photo_id":"1371781650","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371781654":["hashtag1","hashtag2"]},{"1371781647":["hashtag1","hashtag2"]},{"1371781650":["hashtag1","hashtag2"]},{"1371781652":["hashtag1","hashtag2"]},{"1371781646":["hashtag1","hashtag2"]},{"1371781649":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371781654, 1371781647, 1371781650, 1371781652, 1371781646, 1371781649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01301980018616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:41:47.124895
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/41/image_12072025_02_41_44_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/41/image_12072025_02_41_33_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/02/41/image_12072025_02_41_14_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/02/40/image_12072025_02_41_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_54_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/41/image_12072025_02_41_44_10654.jpg', '/home/nano/Desktop/images/12072025/02/41/image_12072025_02_41_33_9657.jpg', '/home/nano/Desktop/images/12072025/02/41/image_12072025_02_41_14_10677.jpg', '/home/nano/Desktop/images/12072025/02/40/image_12072025_02_41_03_9654.jpg', '/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_54_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/41/image_12072025_02_41_44_10654.jpg
/home/nano/Desktop/images/12072025/02/41/image_12072025_02_41_33_9657.jpg
/home/nano/Desktop/images/12072025/02/41/image_12072025_02_41_14_10677.jpg
/home/nano/Desktop/images/12072025/02/40/image_12072025_02_41_03_9654.jpg
/home/nano/Desktop/images/12072025/02/40/image_12072025_02_40_54_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781669","1371781678","1371781674","1371781662","1371781682"],"photo_ids_order":["1371781662","1371781669","1371781674","1371781678","1371781682"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31e6b59373cb19f32f6fc2c1114055e1.jpg","text":"TemporaryFile(/tmp/multipartBody6794167042094066824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280968363,"filename":"image_12072025_02_41_33_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce3bf9447f873215792de2fffdd981fc.jpg","text":"TemporaryFile(/tmp/multipartBody3504046464129878057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280968363,"filename":"image_12072025_02_41_03_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2223397f4121397a04d46531622ff9b.jpg","text":"TemporaryFile(/tmp/multipartBody2700782063417609783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280968363,"filename":"image_12072025_02_41_14_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2b50365d8a8b8827f0a2447239bad00.jpg","text":"TemporaryFile(/tmp/multipartBody274233794947043269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280968363,"filename":"image_12072025_02_41_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1396b4b49a5503d545a125bae8bbdea5.jpg","text":"TemporaryFile(/tmp/multipartBody4638184737264768723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752280968363,"filename":"image_12072025_02_40_54_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781674","file1":"1371781669","file0":"1371781662","file4":"1371781682","file3":"1371781678"},"map_files_photo_id_array":[{"photo_id":"1371781674","filename":"file2"},{"photo_id":"1371781682","filename":"file4"},{"photo_id":"1371781669","filename":"file1"},{"photo_id":"1371781662","filename":"file0"},{"photo_id":"1371781678","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781669":["hashtag1","hashtag2"]},{"1371781678":["hashtag1","hashtag2"]},{"1371781674":["hashtag1","hashtag2"]},{"1371781662":["hashtag1","hashtag2"]},{"1371781682":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781669, 1371781678, 1371781674, 1371781662, 1371781682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.426636934280396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:42:32.232130
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_44_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_14_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/02/41/image_12072025_02_42_03_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/02/41/image_12072025_02_41_54_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_44_10644.jpg', '/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_33_9638.jpg', '/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_24_9637.jpg', '/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_14_10675.jpg', '/home/nano/Desktop/images/12072025/02/41/image_12072025_02_42_03_9649.jpg', '/home/nano/Desktop/images/12072025/02/41/image_12072025_02_41_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_44_10644.jpg
/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_33_9638.jpg
/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_24_9637.jpg
/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_14_10675.jpg
/home/nano/Desktop/images/12072025/02/41/image_12072025_02_42_03_9649.jpg
/home/nano/Desktop/images/12072025/02/41/image_12072025_02_41_54_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781693","1371781706","1371781696","1371781716","1371781712","1371781700"],"photo_ids_order":["1371781693","1371781696","1371781700","1371781706","1371781712","1371781716"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72f3ee7ea23cb8c8a85c0b3cd8f0cf7e.jpg","text":"TemporaryFile(/tmp/multipartBody3876282013435510917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281013528,"filename":"image_12072025_02_42_44_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ac7c08809c1e59c655a0892ce13a7e1.jpg","text":"TemporaryFile(/tmp/multipartBody5767570649167101500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281013528,"filename":"image_12072025_02_42_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f89f31f6486e0cc6662266ca8b685da.jpg","text":"TemporaryFile(/tmp/multipartBody8656356754164276330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281013528,"filename":"image_12072025_02_42_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/904493140f3c04593a2fdaa2f233dbd4.jpg","text":"TemporaryFile(/tmp/multipartBody987712981110962638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281013528,"filename":"image_12072025_02_41_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/600e02ff1e9d7ca10479b16dc035fcdd.jpg","text":"TemporaryFile(/tmp/multipartBody3867409772891861512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281013528,"filename":"image_12072025_02_42_03_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5eb0b3a08662e265f16a7c6f56b43df8.jpg","text":"TemporaryFile(/tmp/multipartBody5535377534378350153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281013528,"filename":"image_12072025_02_42_24_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781700","file1":"1371781696","file0":"1371781693","file4":"1371781712","file5":"1371781716","file3":"1371781706"},"map_files_photo_id_array":[{"photo_id":"1371781716","filename":"file5"},{"photo_id":"1371781700","filename":"file2"},{"photo_id":"1371781712","filename":"file4"},{"photo_id":"1371781696","filename":"file1"},{"photo_id":"1371781693","filename":"file0"},{"photo_id":"1371781706","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781693":["hashtag1","hashtag2"]},{"1371781706":["hashtag1","hashtag2"]},{"1371781696":["hashtag1","hashtag2"]},{"1371781716":["hashtag1","hashtag2"]},{"1371781712":["hashtag1","hashtag2"]},{"1371781700":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781693, 1371781706, 1371781696, 1371781716, 1371781712, 1371781700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.64439415931702 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:43:32.356308
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_33_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_14_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/02/42/image_12072025_02_43_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_44_10647.jpg', '/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_33_9654.jpg', '/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_23_9639.jpg', '/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_14_10669.jpg', '/home/nano/Desktop/images/12072025/02/42/image_12072025_02_43_03_9654.jpg', '/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_44_10647.jpg
/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_33_9654.jpg
/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_23_9639.jpg
/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_14_10669.jpg
/home/nano/Desktop/images/12072025/02/42/image_12072025_02_43_03_9654.jpg
/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_54_9637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0895979404449463 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:43:47.345909
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_33_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_14_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/02/42/image_12072025_02_43_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_44_10647.jpg', '/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_33_9654.jpg', '/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_23_9639.jpg', '/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_14_10669.jpg', '/home/nano/Desktop/images/12072025/02/42/image_12072025_02_43_03_9654.jpg', '/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_44_10647.jpg
/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_33_9654.jpg
/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_23_9639.jpg
/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_14_10669.jpg
/home/nano/Desktop/images/12072025/02/42/image_12072025_02_43_03_9654.jpg
/home/nano/Desktop/images/12072025/02/42/image_12072025_02_42_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781771","1371781750","1371781753","1371781773","1371781755","1371781758"],"photo_ids_order":["1371781750","1371781753","1371781755","1371781758","1371781771","1371781773"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b394ac3f2f23fe5baf208d73fe771fde.jpg","text":"TemporaryFile(/tmp/multipartBody1658400354538247842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281088734,"filename":"image_12072025_02_43_03_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b7a69e0a56e0cd9504f62f9f45b7639.jpg","text":"TemporaryFile(/tmp/multipartBody8226239325228620089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281088734,"filename":"image_12072025_02_43_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08a36f24fbe9fb0aa7ab691d2d23aaad.jpg","text":"TemporaryFile(/tmp/multipartBody3962216416955675414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281088734,"filename":"image_12072025_02_43_33_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f5edeb067dcb2fc0a5322cc6fbbbf1d.jpg","text":"TemporaryFile(/tmp/multipartBody3678821322981069489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281088734,"filename":"image_12072025_02_42_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38150da913bc8ce83f1104b9de2f10dd.jpg","text":"TemporaryFile(/tmp/multipartBody7055904343847420766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281088734,"filename":"image_12072025_02_43_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6df95e6cdb703b3de81b1f0a95fed8ad.jpg","text":"TemporaryFile(/tmp/multipartBody1087931184428468567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281088734,"filename":"image_12072025_02_43_14_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781755","file1":"1371781753","file0":"1371781750","file4":"1371781771","file5":"1371781773","file3":"1371781758"},"map_files_photo_id_array":[{"photo_id":"1371781773","filename":"file5"},{"photo_id":"1371781755","filename":"file2"},{"photo_id":"1371781771","filename":"file4"},{"photo_id":"1371781753","filename":"file1"},{"photo_id":"1371781750","filename":"file0"},{"photo_id":"1371781758","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781771":["hashtag1","hashtag2"]},{"1371781750":["hashtag1","hashtag2"]},{"1371781753":["hashtag1","hashtag2"]},{"1371781773":["hashtag1","hashtag2"]},{"1371781755":["hashtag1","hashtag2"]},{"1371781758":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781771, 1371781750, 1371781753, 1371781773, 1371781755, 1371781758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.57151675224304 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:44:47.457736
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_34_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/02/43/image_12072025_02_44_04_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_44_9637.jpg', '/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_34_10667.jpg', '/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_23_9638.jpg', '/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_14_9658.jpg', '/home/nano/Desktop/images/12072025/02/43/image_12072025_02_44_04_10648.jpg', '/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_44_9637.jpg
/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_34_10667.jpg
/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_23_9638.jpg
/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_14_9658.jpg
/home/nano/Desktop/images/12072025/02/43/image_12072025_02_44_04_10648.jpg
/home/nano/Desktop/images/12072025/02/43/image_12072025_02_43_53_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781792","1371781786","1371781789","1371781780","1371781783","1371781787"],"photo_ids_order":["1371781780","1371781783","1371781786","1371781787","1371781789","1371781792"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5acce047b50dc475b4c7b2daa76b01a7.jpg","text":"TemporaryFile(/tmp/multipartBody8434958020541964941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281149040,"filename":"image_12072025_02_43_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eec1915e7cae725f0cddb04b64ac0d89.jpg","text":"TemporaryFile(/tmp/multipartBody4488544953478261075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281149040,"filename":"image_12072025_02_44_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc04a960b621ab98ff8928420f309a8d.jpg","text":"TemporaryFile(/tmp/multipartBody7303410475669957161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281149040,"filename":"image_12072025_02_44_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a4804d7df11136ff682ead1e2c956eb.jpg","text":"TemporaryFile(/tmp/multipartBody7673538302374410863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281149040,"filename":"image_12072025_02_44_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b58ab78f659cb5ec3a956ab64fe51b32.jpg","text":"TemporaryFile(/tmp/multipartBody8997620947651971915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281149040,"filename":"image_12072025_02_44_34_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d868b514b679e265d1f5b651433e73a.jpg","text":"TemporaryFile(/tmp/multipartBody7519986474078443440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281149040,"filename":"image_12072025_02_44_14_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781786","file1":"1371781783","file0":"1371781780","file4":"1371781789","file5":"1371781792","file3":"1371781787"},"map_files_photo_id_array":[{"photo_id":"1371781792","filename":"file5"},{"photo_id":"1371781786","filename":"file2"},{"photo_id":"1371781789","filename":"file4"},{"photo_id":"1371781783","filename":"file1"},{"photo_id":"1371781780","filename":"file0"},{"photo_id":"1371781787","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781792":["hashtag1","hashtag2"]},{"1371781786":["hashtag1","hashtag2"]},{"1371781789":["hashtag1","hashtag2"]},{"1371781780":["hashtag1","hashtag2"]},{"1371781783":["hashtag1","hashtag2"]},{"1371781787":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781792, 1371781786, 1371781789, 1371781780, 1371781783, 1371781787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.395336866378784 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:45:32.579621
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/45/image_12072025_02_45_44_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/45/image_12072025_02_45_23_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/02/45/image_12072025_02_45_14_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/02/44/image_12072025_02_45_04_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/45/image_12072025_02_45_44_9645.jpg', '/home/nano/Desktop/images/12072025/02/45/image_12072025_02_45_23_9662.jpg', '/home/nano/Desktop/images/12072025/02/45/image_12072025_02_45_14_9655.jpg', '/home/nano/Desktop/images/12072025/02/44/image_12072025_02_45_04_10675.jpg', '/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/45/image_12072025_02_45_44_9645.jpg
/home/nano/Desktop/images/12072025/02/45/image_12072025_02_45_23_9662.jpg
/home/nano/Desktop/images/12072025/02/45/image_12072025_02_45_14_9655.jpg
/home/nano/Desktop/images/12072025/02/44/image_12072025_02_45_04_10675.jpg
/home/nano/Desktop/images/12072025/02/44/image_12072025_02_44_53_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781861","1371781858","1371781843","1371781846","1371781853"],"photo_ids_order":["1371781843","1371781846","1371781853","1371781858","1371781861"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4fc37a82a201c112ef8d61a0c474d1b0.jpg","text":"TemporaryFile(/tmp/multipartBody7963002346101367217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281193849,"filename":"image_12072025_02_44_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0bcc598dd90684cd36c18f183580f9d.jpg","text":"TemporaryFile(/tmp/multipartBody816935726851823310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281193849,"filename":"image_12072025_02_45_04_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9714d7f922762901663eb28c91e8bcfb.jpg","text":"TemporaryFile(/tmp/multipartBody4228459913588772840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281193849,"filename":"image_12072025_02_45_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3d6db13f6ffc7b3a96da07be779ac7d.jpg","text":"TemporaryFile(/tmp/multipartBody7600049677136442038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281193849,"filename":"image_12072025_02_45_23_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca0e1bffcf3c547d94fe37b0ab68375c.jpg","text":"TemporaryFile(/tmp/multipartBody2959597540218126188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281193849,"filename":"image_12072025_02_45_14_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781853","file1":"1371781846","file0":"1371781843","file4":"1371781861","file3":"1371781858"},"map_files_photo_id_array":[{"photo_id":"1371781853","filename":"file2"},{"photo_id":"1371781861","filename":"file4"},{"photo_id":"1371781846","filename":"file1"},{"photo_id":"1371781843","filename":"file0"},{"photo_id":"1371781858","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781861":["hashtag1","hashtag2"]},{"1371781858":["hashtag1","hashtag2"]},{"1371781843":["hashtag1","hashtag2"]},{"1371781846":["hashtag1","hashtag2"]},{"1371781853":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781861, 1371781858, 1371781843, 1371781846, 1371781853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.001943826675415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:46:03.041946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_43_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_34_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_13_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/22/30/image_10072025_22_31_04_9658.jpg', 2), ('/home/nano/Desktop/images/10072025/22/30/image_10072025_22_30_54_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/22/30/image_10072025_22_30_43_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_43_9647.jpg', '/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_34_9646.jpg', '/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_13_9661.jpg', '/home/nano/Desktop/images/10072025/22/30/image_10072025_22_31_04_9658.jpg', '/home/nano/Desktop/images/10072025/22/30/image_10072025_22_30_54_10663.jpg', '/home/nano/Desktop/images/10072025/22/30/image_10072025_22_30_43_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_43_9647.jpg
/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_34_9646.jpg
/home/nano/Desktop/images/10072025/22/31/image_10072025_22_31_13_9661.jpg
/home/nano/Desktop/images/10072025/22/30/image_10072025_22_31_04_9658.jpg
/home/nano/Desktop/images/10072025/22/30/image_10072025_22_30_54_10663.jpg
/home/nano/Desktop/images/10072025/22/30/image_10072025_22_30_43_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781873","1371781876","1371781878","1371781875","1371781880","1371781871"],"photo_ids_order":["1371781871","1371781873","1371781875","1371781876","1371781878","1371781880"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de6f1282f92e7467196cbb918590e862.jpg","text":"TemporaryFile(/tmp/multipartBody1455812643928347602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281225773,"filename":"image_10072025_22_31_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e5e51156fb3f87f74c016d061af4e0f.jpg","text":"TemporaryFile(/tmp/multipartBody5456376356168832551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281225773,"filename":"image_10072025_22_31_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df0e497b5d9dbc72d43f7c1fc7f99594.jpg","text":"TemporaryFile(/tmp/multipartBody8444258096404033406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281225773,"filename":"image_10072025_22_30_54_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15524f58330ffeaba388f1ddff1d53d9.jpg","text":"TemporaryFile(/tmp/multipartBody8856613153488873327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281225773,"filename":"image_10072025_22_31_13_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4580db2357f1a3ea6efacc8e3fe9d89.jpg","text":"TemporaryFile(/tmp/multipartBody1008147829985438763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281225773,"filename":"image_10072025_22_30_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8858a117892191bba8328b2f0cae0ade.jpg","text":"TemporaryFile(/tmp/multipartBody630897983088543240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281225773,"filename":"image_10072025_22_31_43_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781875","file1":"1371781873","file0":"1371781871","file4":"1371781878","file5":"1371781880","file3":"1371781876"},"map_files_photo_id_array":[{"photo_id":"1371781880","filename":"file5"},{"photo_id":"1371781875","filename":"file2"},{"photo_id":"1371781878","filename":"file4"},{"photo_id":"1371781873","filename":"file1"},{"photo_id":"1371781871","filename":"file0"},{"photo_id":"1371781876","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371781873":["hashtag1","hashtag2"]},{"1371781876":["hashtag1","hashtag2"]},{"1371781878":["hashtag1","hashtag2"]},{"1371781875":["hashtag1","hashtag2"]},{"1371781880":["hashtag1","hashtag2"]},{"1371781871":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371781873, 1371781876, 1371781878, 1371781875, 1371781880, 1371781871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44174122810364 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:46:47.691039
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_44_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_34_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_23_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_14_9691.jpg', 2), ('/home/nano/Desktop/images/12072025/02/45/image_12072025_02_46_04_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/02/45/image_12072025_02_45_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_44_9655.jpg', '/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_34_10657.jpg', '/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_23_9661.jpg', '/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_14_9691.jpg', '/home/nano/Desktop/images/12072025/02/45/image_12072025_02_46_04_10666.jpg', '/home/nano/Desktop/images/12072025/02/45/image_12072025_02_45_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_44_9655.jpg
/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_34_10657.jpg
/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_23_9661.jpg
/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_14_9691.jpg
/home/nano/Desktop/images/12072025/02/45/image_12072025_02_46_04_10666.jpg
/home/nano/Desktop/images/12072025/02/45/image_12072025_02_45_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781916","1371781888","1371781912","1371781906","1371781896","1371781892"],"photo_ids_order":["1371781888","1371781892","1371781896","1371781906","1371781912","1371781916"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/135d0f3f81bdbbca4be8e29ecdffeb0b.jpg","text":"TemporaryFile(/tmp/multipartBody7381355221754256924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281269304,"filename":"image_12072025_02_45_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b19e71728cc0cc7ad27a3e5edb49f62c.jpg","text":"TemporaryFile(/tmp/multipartBody1526885645528223511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281269304,"filename":"image_12072025_02_46_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/05084a3375b6ee8ffe4db712ad8be608.jpg","text":"TemporaryFile(/tmp/multipartBody4551585873144625886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281269304,"filename":"image_12072025_02_46_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2395ed27515953223c888c7245f5986d.jpg","text":"TemporaryFile(/tmp/multipartBody451397666334455117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281269304,"filename":"image_12072025_02_46_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37b365724fbf79fdd61899fa37c02efc.jpg","text":"TemporaryFile(/tmp/multipartBody8148523777433650410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281269304,"filename":"image_12072025_02_46_23_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01a7ef6c2c8899b2a71eefa5e6e48413.jpg","text":"TemporaryFile(/tmp/multipartBody3325392607478781737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281269304,"filename":"image_12072025_02_46_34_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781896","file1":"1371781892","file0":"1371781888","file4":"1371781912","file5":"1371781916","file3":"1371781906"},"map_files_photo_id_array":[{"photo_id":"1371781916","filename":"file5"},{"photo_id":"1371781896","filename":"file2"},{"photo_id":"1371781912","filename":"file4"},{"photo_id":"1371781892","filename":"file1"},{"photo_id":"1371781888","filename":"file0"},{"photo_id":"1371781906","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781916":["hashtag1","hashtag2"]},{"1371781888":["hashtag1","hashtag2"]},{"1371781912":["hashtag1","hashtag2"]},{"1371781906":["hashtag1","hashtag2"]},{"1371781896":["hashtag1","hashtag2"]},{"1371781892":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781916, 1371781888, 1371781912, 1371781906, 1371781896, 1371781892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.935036659240723 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:47:31.840871
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/47/image_12072025_02_47_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/47/image_12072025_02_47_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/47/image_12072025_02_47_14_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/02/46/image_12072025_02_47_04_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/47/image_12072025_02_47_43_9638.jpg', '/home/nano/Desktop/images/12072025/02/47/image_12072025_02_47_34_10647.jpg', '/home/nano/Desktop/images/12072025/02/47/image_12072025_02_47_14_9662.jpg', '/home/nano/Desktop/images/12072025/02/46/image_12072025_02_47_04_10675.jpg', '/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/47/image_12072025_02_47_43_9638.jpg
/home/nano/Desktop/images/12072025/02/47/image_12072025_02_47_34_10647.jpg
/home/nano/Desktop/images/12072025/02/47/image_12072025_02_47_14_9662.jpg
/home/nano/Desktop/images/12072025/02/46/image_12072025_02_47_04_10675.jpg
/home/nano/Desktop/images/12072025/02/46/image_12072025_02_46_53_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781930","1371781924","1371781932","1371781926","1371781934"],"photo_ids_order":["1371781924","1371781926","1371781930","1371781932","1371781934"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e2be186732e21cc04e2e47e4c29da45.jpg","text":"TemporaryFile(/tmp/multipartBody4169787460579610708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281312901,"filename":"image_12072025_02_47_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01df6ed1961e628ab199ba95eb68952f.jpg","text":"TemporaryFile(/tmp/multipartBody8346021778154891642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281312901,"filename":"image_12072025_02_47_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3af64555a64ddc886a22a4be23c66e09.jpg","text":"TemporaryFile(/tmp/multipartBody8234451603822469966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281312901,"filename":"image_12072025_02_47_04_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5e7bdec25e84b1188669eb5f2437786.jpg","text":"TemporaryFile(/tmp/multipartBody3381923850782830374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281312901,"filename":"image_12072025_02_47_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3dd96774a639770965ac1e685a6f59c6.jpg","text":"TemporaryFile(/tmp/multipartBody6477279583800566650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281312901,"filename":"image_12072025_02_46_53_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781930","file1":"1371781926","file0":"1371781924","file4":"1371781934","file3":"1371781932"},"map_files_photo_id_array":[{"photo_id":"1371781930","filename":"file2"},{"photo_id":"1371781934","filename":"file4"},{"photo_id":"1371781926","filename":"file1"},{"photo_id":"1371781924","filename":"file0"},{"photo_id":"1371781932","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781930":["hashtag1","hashtag2"]},{"1371781924":["hashtag1","hashtag2"]},{"1371781932":["hashtag1","hashtag2"]},{"1371781926":["hashtag1","hashtag2"]},{"1371781934":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781930, 1371781924, 1371781932, 1371781926, 1371781934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.693177461624146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:48:02.171718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/30/image_10072025_22_30_24_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/22/29/image_10072025_22_30_04_9659.jpg', 2), ('/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_54_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_34_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_23_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/30/image_10072025_22_30_24_10656.jpg', '/home/nano/Desktop/images/10072025/22/29/image_10072025_22_30_04_9659.jpg', '/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_54_10662.jpg', '/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_43_9646.jpg', '/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_34_10675.jpg', '/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_23_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/30/image_10072025_22_30_24_10656.jpg
/home/nano/Desktop/images/10072025/22/29/image_10072025_22_30_04_9659.jpg
/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_54_10662.jpg
/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_43_9646.jpg
/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_34_10675.jpg
/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_23_9647.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 6.158820629119873 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:48:16.873290
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_34_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_23_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_13_9711.jpg', 2), ('/home/nano/Desktop/images/12072025/02/47/image_12072025_02_48_04_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/02/47/image_12072025_02_47_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_43_9639.jpg', '/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_34_10669.jpg', '/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_23_9654.jpg', '/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_13_9711.jpg', '/home/nano/Desktop/images/12072025/02/47/image_12072025_02_48_04_10653.jpg', '/home/nano/Desktop/images/12072025/02/47/image_12072025_02_47_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_43_9639.jpg
/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_34_10669.jpg
/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_23_9654.jpg
/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_13_9711.jpg
/home/nano/Desktop/images/12072025/02/47/image_12072025_02_48_04_10653.jpg
/home/nano/Desktop/images/12072025/02/47/image_12072025_02_47_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781960","1371781963","1371781965","1371781961","1371781955","1371781958"],"photo_ids_order":["1371781955","1371781958","1371781960","1371781961","1371781963","1371781965"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c22b0a0af46d876d3ea6d30dc47b9654.jpg","text":"TemporaryFile(/tmp/multipartBody8691072452521891544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281362183,"filename":"image_12072025_02_48_23_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1ea690cbadda544929602d48d3b97cb.jpg","text":"TemporaryFile(/tmp/multipartBody3709689993871486093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281362183,"filename":"image_12072025_02_48_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5cfa1a382d032263257625e3580f1e6.jpg","text":"TemporaryFile(/tmp/multipartBody4176260271839390435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281362183,"filename":"image_12072025_02_47_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35c3887a037dcc7a3efc740615244b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7220999490948498541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281362183,"filename":"image_12072025_02_48_13_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf1a34e0f4be384b581ebf388782ec16.jpg","text":"TemporaryFile(/tmp/multipartBody2063153254730684761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281362183,"filename":"image_12072025_02_48_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c5c3c331a451f129b84961b733baf97.jpg","text":"TemporaryFile(/tmp/multipartBody1018326932442663887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281362183,"filename":"image_12072025_02_48_34_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781960","file1":"1371781958","file0":"1371781955","file4":"1371781963","file5":"1371781965","file3":"1371781961"},"map_files_photo_id_array":[{"photo_id":"1371781965","filename":"file5"},{"photo_id":"1371781960","filename":"file2"},{"photo_id":"1371781963","filename":"file4"},{"photo_id":"1371781958","filename":"file1"},{"photo_id":"1371781955","filename":"file0"},{"photo_id":"1371781961","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371781960":["hashtag1","hashtag2"]},{"1371781963":["hashtag1","hashtag2"]},{"1371781965":["hashtag1","hashtag2"]},{"1371781961":["hashtag1","hashtag2"]},{"1371781955":["hashtag1","hashtag2"]},{"1371781958":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371781960, 1371781963, 1371781965, 1371781961, 1371781955, 1371781958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43940997123718 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:49:02.687244
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/30/image_10072025_22_30_24_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/22/29/image_10072025_22_30_04_9659.jpg', 2), ('/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_54_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_34_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_23_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/30/image_10072025_22_30_24_10656.jpg', '/home/nano/Desktop/images/10072025/22/29/image_10072025_22_30_04_9659.jpg', '/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_54_10662.jpg', '/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_43_9646.jpg', '/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_34_10675.jpg', '/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_23_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/30/image_10072025_22_30_24_10656.jpg
/home/nano/Desktop/images/10072025/22/29/image_10072025_22_30_04_9659.jpg
/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_54_10662.jpg
/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_43_9646.jpg
/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_34_10675.jpg
/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_23_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371781999","1371781984","1371782002","1371781992","1371781988","1371781996"],"photo_ids_order":["1371781984","1371781988","1371781992","1371781996","1371781999","1371782002"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/792a8e105fe6af83e31662e47968f62f.jpg","text":"TemporaryFile(/tmp/multipartBody1594717003421196700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281409915,"filename":"image_10072025_22_29_34_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1857e2e880dec626f78172be365caa0.jpg","text":"TemporaryFile(/tmp/multipartBody3388155150655153620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281409915,"filename":"image_10072025_22_30_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66c894407b461857c9eb8ac2c15ad3d8.jpg","text":"TemporaryFile(/tmp/multipartBody329945466717355191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281409915,"filename":"image_10072025_22_29_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1bddfa6b2ae5e3a6d4624fe258a24553.jpg","text":"TemporaryFile(/tmp/multipartBody6296629617442819691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281409915,"filename":"image_10072025_22_29_54_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc4934b650d65f3069127750435eeb10.jpg","text":"TemporaryFile(/tmp/multipartBody3581682383955021418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281409915,"filename":"image_10072025_22_30_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ceb6b58ee6dbd5b0f23d59ff95ad076.jpg","text":"TemporaryFile(/tmp/multipartBody2782799350901473417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281409915,"filename":"image_10072025_22_29_43_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371781992","file1":"1371781988","file0":"1371781984","file4":"1371781999","file5":"1371782002","file3":"1371781996"},"map_files_photo_id_array":[{"photo_id":"1371782002","filename":"file5"},{"photo_id":"1371781992","filename":"file2"},{"photo_id":"1371781999","filename":"file4"},{"photo_id":"1371781988","filename":"file1"},{"photo_id":"1371781984","filename":"file0"},{"photo_id":"1371781996","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371781999":["hashtag1","hashtag2"]},{"1371781984":["hashtag1","hashtag2"]},{"1371782002":["hashtag1","hashtag2"]},{"1371781992":["hashtag1","hashtag2"]},{"1371781988":["hashtag1","hashtag2"]},{"1371781996":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371781999, 1371781984, 1371782002, 1371781992, 1371781988, 1371781996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35387182235718 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:49:47.011005
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_43_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_23_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_13_9677.jpg', 2), ('/home/nano/Desktop/images/12072025/02/48/image_12072025_02_49_04_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_53_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_43_9646.jpg', '/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_34_10650.jpg', '/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_23_9642.jpg', '/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_13_9677.jpg', '/home/nano/Desktop/images/12072025/02/48/image_12072025_02_49_04_10663.jpg', '/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_53_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_43_9646.jpg
/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_34_10650.jpg
/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_23_9642.jpg
/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_13_9677.jpg
/home/nano/Desktop/images/12072025/02/48/image_12072025_02_49_04_10663.jpg
/home/nano/Desktop/images/12072025/02/48/image_12072025_02_48_53_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371782041","1371782035","1371782038","1371782031","1371782049","1371782045"],"photo_ids_order":["1371782031","1371782035","1371782038","1371782041","1371782045","1371782049"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42087e1d194e2408a75903d8b06aae59.jpg","text":"TemporaryFile(/tmp/multipartBody3487905473413348610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281451390,"filename":"image_12072025_02_49_13_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12de5e6295edef612d455590693d2a50.jpg","text":"TemporaryFile(/tmp/multipartBody2022374870842859493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281451390,"filename":"image_12072025_02_49_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3fc4cc6d5c3294e0b23c0fb2ae15fc0.jpg","text":"TemporaryFile(/tmp/multipartBody613481430829014491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281451390,"filename":"image_12072025_02_49_23_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55e2d1678d90025d32a0355aba1b5cdc.jpg","text":"TemporaryFile(/tmp/multipartBody5517336230798375197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281451390,"filename":"image_12072025_02_49_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a82141c9ce5cb7f8c2dc5b886ae14a3.jpg","text":"TemporaryFile(/tmp/multipartBody575057092388119381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281451390,"filename":"image_12072025_02_48_53_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ba3e51e2899443c394ab7f0b852e041.jpg","text":"TemporaryFile(/tmp/multipartBody3586571613079449922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281451390,"filename":"image_12072025_02_49_04_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371782038","file1":"1371782035","file0":"1371782031","file4":"1371782045","file5":"1371782049","file3":"1371782041"},"map_files_photo_id_array":[{"photo_id":"1371782049","filename":"file5"},{"photo_id":"1371782038","filename":"file2"},{"photo_id":"1371782045","filename":"file4"},{"photo_id":"1371782035","filename":"file1"},{"photo_id":"1371782031","filename":"file0"},{"photo_id":"1371782041","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371782041":["hashtag1","hashtag2"]},{"1371782035":["hashtag1","hashtag2"]},{"1371782038":["hashtag1","hashtag2"]},{"1371782031":["hashtag1","hashtag2"]},{"1371782049":["hashtag1","hashtag2"]},{"1371782045":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371782041, 1371782035, 1371782038, 1371782031, 1371782049, 1371782045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53027892112732 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:50:32.120561
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_43_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_34_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_13_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/02/49/image_12072025_02_50_04_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_54_10673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_43_9657.jpg', '/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_34_9644.jpg', '/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_24_10648.jpg', '/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_13_9668.jpg', '/home/nano/Desktop/images/12072025/02/49/image_12072025_02_50_04_9648.jpg', '/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_54_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_43_9657.jpg
/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_34_9644.jpg
/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_24_10648.jpg
/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_13_9668.jpg
/home/nano/Desktop/images/12072025/02/49/image_12072025_02_50_04_9648.jpg
/home/nano/Desktop/images/12072025/02/49/image_12072025_02_49_54_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371782068","1371782062","1371782056","1371782064","1371782072","1371782059"],"photo_ids_order":["1371782056","1371782059","1371782062","1371782064","1371782068","1371782072"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e562e824a5a2655442ce72422a3019d3.jpg","text":"TemporaryFile(/tmp/multipartBody7971623675052586005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281497207,"filename":"image_12072025_02_50_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52b02abd94b8f79baaf80703526471c1.jpg","text":"TemporaryFile(/tmp/multipartBody1111146694147406695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281497207,"filename":"image_12072025_02_50_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5deb02811208fff4e9f358566d37fa1e.jpg","text":"TemporaryFile(/tmp/multipartBody6357714141803935023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281497207,"filename":"image_12072025_02_50_43_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84e4c8c00247044a969303d6538562c4.jpg","text":"TemporaryFile(/tmp/multipartBody1466314538068772872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281497207,"filename":"image_12072025_02_50_13_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f59bb3baef07f9702d93f0ae41217e4.jpg","text":"TemporaryFile(/tmp/multipartBody4642300529594184480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281497207,"filename":"image_12072025_02_49_54_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6583c279576a23173358b15d62cdf302.jpg","text":"TemporaryFile(/tmp/multipartBody1690246976368467546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281497207,"filename":"image_12072025_02_50_34_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371782062","file1":"1371782059","file0":"1371782056","file4":"1371782068","file5":"1371782072","file3":"1371782064"},"map_files_photo_id_array":[{"photo_id":"1371782072","filename":"file5"},{"photo_id":"1371782062","filename":"file2"},{"photo_id":"1371782068","filename":"file4"},{"photo_id":"1371782059","filename":"file1"},{"photo_id":"1371782056","filename":"file0"},{"photo_id":"1371782064","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371782068":["hashtag1","hashtag2"]},{"1371782062":["hashtag1","hashtag2"]},{"1371782056":["hashtag1","hashtag2"]},{"1371782064":["hashtag1","hashtag2"]},{"1371782072":["hashtag1","hashtag2"]},{"1371782059":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371782068, 1371782062, 1371782056, 1371782064, 1371782072, 1371782059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.843074798583984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:51:17.210809
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_24_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_13_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/02/50/image_12072025_02_51_04_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_43_9638.jpg', '/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_34_9638.jpg', '/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_24_10665.jpg', '/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_13_9660.jpg', '/home/nano/Desktop/images/12072025/02/50/image_12072025_02_51_04_9639.jpg', '/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_43_9638.jpg
/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_34_9638.jpg
/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_24_10665.jpg
/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_13_9660.jpg
/home/nano/Desktop/images/12072025/02/50/image_12072025_02_51_04_9639.jpg
/home/nano/Desktop/images/12072025/02/50/image_12072025_02_50_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371782104","1371782097","1371782100","1371782103","1371782108","1371782102"],"photo_ids_order":["1371782097","1371782100","1371782102","1371782103","1371782104","1371782108"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f037240c140f5b3a29ebaa3553a9b28e.jpg","text":"TemporaryFile(/tmp/multipartBody9084987033911095438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281538489,"filename":"image_12072025_02_51_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb2a9f303cb02e52e0d0ea2bf6e73be8.jpg","text":"TemporaryFile(/tmp/multipartBody1268443183673246013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281538489,"filename":"image_12072025_02_51_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d03c00216b849d3944b0fdd805578f9.jpg","text":"TemporaryFile(/tmp/multipartBody9039027543741878678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281538489,"filename":"image_12072025_02_51_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c565d98a45144a2b505adfa26b1516e0.jpg","text":"TemporaryFile(/tmp/multipartBody3407613641759552084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281538489,"filename":"image_12072025_02_51_13_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dcb44d6328a710f221850a4026e935ff.jpg","text":"TemporaryFile(/tmp/multipartBody3769260628328826008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281538489,"filename":"image_12072025_02_50_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c56aa20ea9d630e42d22967e5ac8b580.jpg","text":"TemporaryFile(/tmp/multipartBody6106670687105524522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281538489,"filename":"image_12072025_02_51_24_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371782102","file1":"1371782100","file0":"1371782097","file4":"1371782104","file5":"1371782108","file3":"1371782103"},"map_files_photo_id_array":[{"photo_id":"1371782108","filename":"file5"},{"photo_id":"1371782102","filename":"file2"},{"photo_id":"1371782104","filename":"file4"},{"photo_id":"1371782100","filename":"file1"},{"photo_id":"1371782097","filename":"file0"},{"photo_id":"1371782103","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371782104":["hashtag1","hashtag2"]},{"1371782097":["hashtag1","hashtag2"]},{"1371782100":["hashtag1","hashtag2"]},{"1371782103":["hashtag1","hashtag2"]},{"1371782108":["hashtag1","hashtag2"]},{"1371782102":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371782104, 1371782097, 1371782100, 1371782103, 1371782108, 1371782102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.133997440338135 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:52:02.663142
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_13_9672.jpg', 2), ('/home/nano/Desktop/images/10072025/22/28/image_10072025_22_29_04_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/22/28/image_10072025_22_28_43_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/22/28/image_10072025_22_28_34_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/22/28/image_10072025_22_28_13_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/22/27/image_10072025_22_28_04_10685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_13_9672.jpg', '/home/nano/Desktop/images/10072025/22/28/image_10072025_22_29_04_10661.jpg', '/home/nano/Desktop/images/10072025/22/28/image_10072025_22_28_43_9653.jpg', '/home/nano/Desktop/images/10072025/22/28/image_10072025_22_28_34_10656.jpg', '/home/nano/Desktop/images/10072025/22/28/image_10072025_22_28_13_9667.jpg', '/home/nano/Desktop/images/10072025/22/27/image_10072025_22_28_04_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/29/image_10072025_22_29_13_9672.jpg
/home/nano/Desktop/images/10072025/22/28/image_10072025_22_29_04_10661.jpg
/home/nano/Desktop/images/10072025/22/28/image_10072025_22_28_43_9653.jpg
/home/nano/Desktop/images/10072025/22/28/image_10072025_22_28_34_10656.jpg
/home/nano/Desktop/images/10072025/22/28/image_10072025_22_28_13_9667.jpg
/home/nano/Desktop/images/10072025/22/27/image_10072025_22_28_04_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371782131","1371782134","1371782128","1371782137","1371782133","1371782126"],"photo_ids_order":["1371782126","1371782128","1371782131","1371782133","1371782134","1371782137"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45f826eff1e7633fc752e98866f65478.jpg","text":"TemporaryFile(/tmp/multipartBody7434807254520827447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281585335,"filename":"image_10072025_22_28_43_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24296962e29519f1f68c21005684c672.jpg","text":"TemporaryFile(/tmp/multipartBody7829007191980136833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281585335,"filename":"image_10072025_22_28_13_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e2b0b77d512a8a83b7c2bfcb76919c2.jpg","text":"TemporaryFile(/tmp/multipartBody3906163998480125287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281585335,"filename":"image_10072025_22_29_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d332c82278b06a8d6c3f294ec9e8d4d.jpg","text":"TemporaryFile(/tmp/multipartBody21422603606158481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281585335,"filename":"image_10072025_22_28_04_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d924fa420ad98b2f127a3c73e435240f.jpg","text":"TemporaryFile(/tmp/multipartBody3998255211896518324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281585335,"filename":"image_10072025_22_28_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1810a868bdf1189c6d7f5fe9c864a1b7.jpg","text":"TemporaryFile(/tmp/multipartBody963327880161088594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281585335,"filename":"image_10072025_22_29_13_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371782131","file1":"1371782128","file0":"1371782126","file4":"1371782134","file5":"1371782137","file3":"1371782133"},"map_files_photo_id_array":[{"photo_id":"1371782137","filename":"file5"},{"photo_id":"1371782131","filename":"file2"},{"photo_id":"1371782134","filename":"file4"},{"photo_id":"1371782128","filename":"file1"},{"photo_id":"1371782126","filename":"file0"},{"photo_id":"1371782133","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371782131":["hashtag1","hashtag2"]},{"1371782134":["hashtag1","hashtag2"]},{"1371782128":["hashtag1","hashtag2"]},{"1371782137":["hashtag1","hashtag2"]},{"1371782133":["hashtag1","hashtag2"]},{"1371782126":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371782131, 1371782134, 1371782128, 1371782137, 1371782133, 1371782126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76343846321106 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:52:47.306246
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_24_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_13_9682.jpg', 2), ('/home/nano/Desktop/images/12072025/02/51/image_12072025_02_52_03_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_54_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_43_9637.jpg', '/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_33_9638.jpg', '/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_24_10665.jpg', '/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_13_9682.jpg', '/home/nano/Desktop/images/12072025/02/51/image_12072025_02_52_03_9651.jpg', '/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_54_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_43_9637.jpg
/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_33_9638.jpg
/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_24_10665.jpg
/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_13_9682.jpg
/home/nano/Desktop/images/12072025/02/51/image_12072025_02_52_03_9651.jpg
/home/nano/Desktop/images/12072025/02/51/image_12072025_02_51_54_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371782163","1371782151","1371782148","1371782147","1371782156","1371782158"],"photo_ids_order":["1371782147","1371782148","1371782151","1371782156","1371782158","1371782163"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c8a0f03f0eb89daa7345c9af42d48bc.jpg","text":"TemporaryFile(/tmp/multipartBody7261435088324550694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281628760,"filename":"image_12072025_02_51_54_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec108224486e13127397036946578a01.jpg","text":"TemporaryFile(/tmp/multipartBody3820246864267555076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281628760,"filename":"image_12072025_02_52_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/511e9cc64d3b8276f5e03cfbd18299ae.jpg","text":"TemporaryFile(/tmp/multipartBody8933643030109840115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281628760,"filename":"image_12072025_02_52_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/517304ed63c2ca71e213bbea3114e02f.jpg","text":"TemporaryFile(/tmp/multipartBody5112495605088465796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281628760,"filename":"image_12072025_02_52_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b6323c73f8786c6c5aa1c8d945aa6ca.jpg","text":"TemporaryFile(/tmp/multipartBody6803743627414106098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281628760,"filename":"image_12072025_02_52_13_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7360605d9cd3a13204bdc56ec855bfcf.jpg","text":"TemporaryFile(/tmp/multipartBody3443991852563396913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281628760,"filename":"image_12072025_02_52_03_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371782151","file1":"1371782148","file0":"1371782147","file4":"1371782158","file5":"1371782163","file3":"1371782156"},"map_files_photo_id_array":[{"photo_id":"1371782163","filename":"file5"},{"photo_id":"1371782151","filename":"file2"},{"photo_id":"1371782158","filename":"file4"},{"photo_id":"1371782148","filename":"file1"},{"photo_id":"1371782147","filename":"file0"},{"photo_id":"1371782156","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371782163":["hashtag1","hashtag2"]},{"1371782151":["hashtag1","hashtag2"]},{"1371782148":["hashtag1","hashtag2"]},{"1371782147":["hashtag1","hashtag2"]},{"1371782156":["hashtag1","hashtag2"]},{"1371782158":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371782163, 1371782151, 1371782148, 1371782147, 1371782156, 1371782158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.20057511329651 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:53:32.399926
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_44_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_13_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/02/52/image_12072025_02_53_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_44_10650.jpg', '/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_33_9638.jpg', '/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_24_10649.jpg', '/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_13_9665.jpg', '/home/nano/Desktop/images/12072025/02/52/image_12072025_02_53_03_9654.jpg', '/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_44_10650.jpg
/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_33_9638.jpg
/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_24_10649.jpg
/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_13_9665.jpg
/home/nano/Desktop/images/12072025/02/52/image_12072025_02_53_03_9654.jpg
/home/nano/Desktop/images/12072025/02/52/image_12072025_02_52_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371782173","1371782175","1371782184","1371782183","1371782186","1371782180"],"photo_ids_order":["1371782173","1371782175","1371782180","1371782183","1371782184","1371782186"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f082562bba027646c3b6cb050776ea1.jpg","text":"TemporaryFile(/tmp/multipartBody4515110041583510733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281673627,"filename":"image_12072025_02_53_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c20a8229b3316e7f36d08e302c7dd00.jpg","text":"TemporaryFile(/tmp/multipartBody2877961530330669320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281673627,"filename":"image_12072025_02_53_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6970ccfd2543d89d3931be16ac3189e9.jpg","text":"TemporaryFile(/tmp/multipartBody2000752804112843157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281673627,"filename":"image_12072025_02_53_03_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/737eaba7f5740939633603968472c3dd.jpg","text":"TemporaryFile(/tmp/multipartBody5671972415583571277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281673627,"filename":"image_12072025_02_53_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4864632ce9eb05e677f6012d6b5b830.jpg","text":"TemporaryFile(/tmp/multipartBody6527176722169449829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281673627,"filename":"image_12072025_02_52_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a124b45eb58e2bafa1c03dd48d0a61eb.jpg","text":"TemporaryFile(/tmp/multipartBody1336894849636827004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281673627,"filename":"image_12072025_02_53_24_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371782180","file1":"1371782175","file0":"1371782173","file4":"1371782184","file5":"1371782186","file3":"1371782183"},"map_files_photo_id_array":[{"photo_id":"1371782186","filename":"file5"},{"photo_id":"1371782180","filename":"file2"},{"photo_id":"1371782184","filename":"file4"},{"photo_id":"1371782175","filename":"file1"},{"photo_id":"1371782173","filename":"file0"},{"photo_id":"1371782183","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371782173":["hashtag1","hashtag2"]},{"1371782175":["hashtag1","hashtag2"]},{"1371782184":["hashtag1","hashtag2"]},{"1371782183":["hashtag1","hashtag2"]},{"1371782186":["hashtag1","hashtag2"]},{"1371782180":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371782173, 1371782175, 1371782184, 1371782183, 1371782186, 1371782180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.740129470825195 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:54:17.503536
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_33_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_24_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_14_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/02/53/image_12072025_02_54_03_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_44_10649.jpg', '/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_33_9644.jpg', '/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_24_9647.jpg', '/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_14_10671.jpg', '/home/nano/Desktop/images/12072025/02/53/image_12072025_02_54_03_9663.jpg', '/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_44_10649.jpg
/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_33_9644.jpg
/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_24_9647.jpg
/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_14_10671.jpg
/home/nano/Desktop/images/12072025/02/53/image_12072025_02_54_03_9663.jpg
/home/nano/Desktop/images/12072025/02/53/image_12072025_02_53_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371782200","1371782203","1371782206","1371782196","1371782198","1371782194"],"photo_ids_order":["1371782194","1371782196","1371782198","1371782200","1371782203","1371782206"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17805c6ce5ef7ce5ac34e710e4c98f83.jpg","text":"TemporaryFile(/tmp/multipartBody239920055346219122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281718433,"filename":"image_12072025_02_54_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50522cb59dd4fe80283429ca09879716.jpg","text":"TemporaryFile(/tmp/multipartBody3006682572613976722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281718433,"filename":"image_12072025_02_54_03_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc206e29f3445f3977cedbd9a546d54c.jpg","text":"TemporaryFile(/tmp/multipartBody6244581728488059462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281718433,"filename":"image_12072025_02_53_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45efd56e34d235ef4ad234cec2df7bd1.jpg","text":"TemporaryFile(/tmp/multipartBody8284439106088417850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281718433,"filename":"image_12072025_02_54_33_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c716dcab7636fd4eaf4badae223e191.jpg","text":"TemporaryFile(/tmp/multipartBody945664085344581569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281718433,"filename":"image_12072025_02_54_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33b1580db355fa168ccee0184c4c5bd5.jpg","text":"TemporaryFile(/tmp/multipartBody776639929937254997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281718433,"filename":"image_12072025_02_54_44_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371782198","file1":"1371782196","file0":"1371782194","file4":"1371782203","file5":"1371782206","file3":"1371782200"},"map_files_photo_id_array":[{"photo_id":"1371782206","filename":"file5"},{"photo_id":"1371782198","filename":"file2"},{"photo_id":"1371782203","filename":"file4"},{"photo_id":"1371782196","filename":"file1"},{"photo_id":"1371782194","filename":"file0"},{"photo_id":"1371782200","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371782200":["hashtag1","hashtag2"]},{"1371782203":["hashtag1","hashtag2"]},{"1371782206":["hashtag1","hashtag2"]},{"1371782196":["hashtag1","hashtag2"]},{"1371782198":["hashtag1","hashtag2"]},{"1371782194":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371782200, 1371782203, 1371782206, 1371782196, 1371782198, 1371782194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.078254461288452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:55:03.073252
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/27/image_10072025_22_27_23_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/22/27/image_10072025_22_27_14_9669.jpg', 2), ('/home/nano/Desktop/images/10072025/22/26/image_10072025_22_27_04_10673.jpg', 2), ('/home/nano/Desktop/images/10072025/22/26/image_10072025_22_26_53_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/22/26/image_10072025_22_26_44_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/26/image_10072025_22_26_34_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/27/image_10072025_22_27_23_9652.jpg', '/home/nano/Desktop/images/10072025/22/27/image_10072025_22_27_14_9669.jpg', '/home/nano/Desktop/images/10072025/22/26/image_10072025_22_27_04_10673.jpg', '/home/nano/Desktop/images/10072025/22/26/image_10072025_22_26_53_9645.jpg', '/home/nano/Desktop/images/10072025/22/26/image_10072025_22_26_44_9647.jpg', '/home/nano/Desktop/images/10072025/22/26/image_10072025_22_26_34_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/27/image_10072025_22_27_23_9652.jpg
/home/nano/Desktop/images/10072025/22/27/image_10072025_22_27_14_9669.jpg
/home/nano/Desktop/images/10072025/22/26/image_10072025_22_27_04_10673.jpg
/home/nano/Desktop/images/10072025/22/26/image_10072025_22_26_53_9645.jpg
/home/nano/Desktop/images/10072025/22/26/image_10072025_22_26_44_9647.jpg
/home/nano/Desktop/images/10072025/22/26/image_10072025_22_26_34_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371782233","1371782236","1371782224","1371782226","1371782229","1371782231"],"photo_ids_order":["1371782224","1371782226","1371782229","1371782231","1371782233","1371782236"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/490aa2aa2bdf23abedeb76c6c75af83f.jpg","text":"TemporaryFile(/tmp/multipartBody3693058069130718942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281765956,"filename":"image_10072025_22_26_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45391a20bcf0c29e13c514b0a6f1afd0.jpg","text":"TemporaryFile(/tmp/multipartBody3758858861089238006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281765956,"filename":"image_10072025_22_26_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b68c9eb8bdd7c9bd7a05f226a5fdf909.jpg","text":"TemporaryFile(/tmp/multipartBody2973872096025149079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281765956,"filename":"image_10072025_22_27_23_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41e26e649c92c4db4b96732cfb1c3dde.jpg","text":"TemporaryFile(/tmp/multipartBody8227749061619559975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281765956,"filename":"image_10072025_22_27_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18f8799ea1093c4ec4402d0ce8eda746.jpg","text":"TemporaryFile(/tmp/multipartBody810927533790462478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281765956,"filename":"image_10072025_22_27_04_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a796fbac1aa331df06614588d4e663a5.jpg","text":"TemporaryFile(/tmp/multipartBody2539074891594034018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281765956,"filename":"image_10072025_22_26_53_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371782229","file1":"1371782226","file0":"1371782224","file4":"1371782233","file5":"1371782236","file3":"1371782231"},"map_files_photo_id_array":[{"photo_id":"1371782236","filename":"file5"},{"photo_id":"1371782229","filename":"file2"},{"photo_id":"1371782233","filename":"file4"},{"photo_id":"1371782226","filename":"file1"},{"photo_id":"1371782224","filename":"file0"},{"photo_id":"1371782231","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371782233":["hashtag1","hashtag2"]},{"1371782236":["hashtag1","hashtag2"]},{"1371782224":["hashtag1","hashtag2"]},{"1371782226":["hashtag1","hashtag2"]},{"1371782229":["hashtag1","hashtag2"]},{"1371782231":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371782233, 1371782236, 1371782224, 1371782226, 1371782229, 1371782231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49845743179321 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:55:47.666779
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/55/image_12072025_02_55_44_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/02/55/image_12072025_02_55_33_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/02/54/image_12072025_02_55_03_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/55/image_12072025_02_55_44_10652.jpg', '/home/nano/Desktop/images/12072025/02/55/image_12072025_02_55_33_9636.jpg', '/home/nano/Desktop/images/12072025/02/54/image_12072025_02_55_03_9637.jpg', '/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/55/image_12072025_02_55_44_10652.jpg
/home/nano/Desktop/images/12072025/02/55/image_12072025_02_55_33_9636.jpg
/home/nano/Desktop/images/12072025/02/54/image_12072025_02_55_03_9637.jpg
/home/nano/Desktop/images/12072025/02/54/image_12072025_02_54_54_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371782269","1371782256","1371782265","1371782261"],"photo_ids_order":["1371782256","1371782261","1371782265","1371782269"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e23bd35a00ae0187331e65de54ae5b4.jpg","text":"TemporaryFile(/tmp/multipartBody6154885225949663436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281808796,"filename":"image_12072025_02_54_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea040ca392a3823df3512645899f0ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5068608363064400689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281808796,"filename":"image_12072025_02_55_44_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e38301d8b8494b12e557f03748d958c.jpg","text":"TemporaryFile(/tmp/multipartBody4587718494987839760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281808796,"filename":"image_12072025_02_55_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2eb360c68721146829bf9982e17e96bd.jpg","text":"TemporaryFile(/tmp/multipartBody1160056121537385170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281808796,"filename":"image_12072025_02_55_33_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371782265","file1":"1371782261","file0":"1371782256","file3":"1371782269"},"map_files_photo_id_array":[{"photo_id":"1371782265","filename":"file2"},{"photo_id":"1371782261","filename":"file1"},{"photo_id":"1371782256","filename":"file0"},{"photo_id":"1371782269","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371782269":["hashtag1","hashtag2"]},{"1371782256":["hashtag1","hashtag2"]},{"1371782265":["hashtag1","hashtag2"]},{"1371782261":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371782269, 1371782256, 1371782265, 1371782261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.393633604049683 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:56:16.799733
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_44_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_23_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_14_10700.jpg', 2), ('/home/nano/Desktop/images/12072025/02/55/image_12072025_02_56_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/02/55/image_12072025_02_55_53_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_44_10656.jpg', '/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_33_9638.jpg', '/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_23_9646.jpg', '/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_14_10700.jpg', '/home/nano/Desktop/images/12072025/02/55/image_12072025_02_56_03_9646.jpg', '/home/nano/Desktop/images/12072025/02/55/image_12072025_02_55_53_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_44_10656.jpg
/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_33_9638.jpg
/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_23_9646.jpg
/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_14_10700.jpg
/home/nano/Desktop/images/12072025/02/55/image_12072025_02_56_03_9646.jpg
/home/nano/Desktop/images/12072025/02/55/image_12072025_02_55_53_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371782286","1371782280","1371782283","1371782277","1371782288","1371782290"],"photo_ids_order":["1371782277","1371782280","1371782283","1371782286","1371782288","1371782290"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59bd71e18922453d0d61792799f24db3.jpg","text":"TemporaryFile(/tmp/multipartBody7400251583473320340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281838171,"filename":"image_12072025_02_56_14_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbc855d443fd89989286c55ef5b16d41.jpg","text":"TemporaryFile(/tmp/multipartBody5374764445099153818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281838171,"filename":"image_12072025_02_56_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e43c40e077188d1a20e3e1bfc9f6702.jpg","text":"TemporaryFile(/tmp/multipartBody1917480741447861150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281838171,"filename":"image_12072025_02_56_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/916437943eb6b3d9008e4e6bd0498423.jpg","text":"TemporaryFile(/tmp/multipartBody5610621655779921580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281838171,"filename":"image_12072025_02_56_44_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/617b7d0ced49714d9cc6d5ba6d5baabf.jpg","text":"TemporaryFile(/tmp/multipartBody8259204452260218263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281838171,"filename":"image_12072025_02_56_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/443d70e9a353adbdaacb34bc7562f027.jpg","text":"TemporaryFile(/tmp/multipartBody5889571148183178771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281838171,"filename":"image_12072025_02_55_53_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371782283","file1":"1371782280","file0":"1371782277","file4":"1371782288","file5":"1371782290","file3":"1371782286"},"map_files_photo_id_array":[{"photo_id":"1371782290","filename":"file5"},{"photo_id":"1371782283","filename":"file2"},{"photo_id":"1371782288","filename":"file4"},{"photo_id":"1371782280","filename":"file1"},{"photo_id":"1371782277","filename":"file0"},{"photo_id":"1371782286","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371782286":["hashtag1","hashtag2"]},{"1371782280":["hashtag1","hashtag2"]},{"1371782283":["hashtag1","hashtag2"]},{"1371782277":["hashtag1","hashtag2"]},{"1371782288":["hashtag1","hashtag2"]},{"1371782290":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371782286, 1371782280, 1371782283, 1371782277, 1371782288, 1371782290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01148009300232 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:57:02.371719
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/25/image_10072025_22_25_34_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/22/25/image_10072025_22_25_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/22/25/image_10072025_22_25_14_9677.jpg', 2), ('/home/nano/Desktop/images/10072025/22/23/image_10072025_22_24_04_10666.jpg', 2), ('/home/nano/Desktop/images/10072025/22/23/image_10072025_22_23_53_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/23/image_10072025_22_23_44_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/25/image_10072025_22_25_34_10663.jpg', '/home/nano/Desktop/images/10072025/22/25/image_10072025_22_25_23_9645.jpg', '/home/nano/Desktop/images/10072025/22/25/image_10072025_22_25_14_9677.jpg', '/home/nano/Desktop/images/10072025/22/23/image_10072025_22_24_04_10666.jpg', '/home/nano/Desktop/images/10072025/22/23/image_10072025_22_23_53_9647.jpg', '/home/nano/Desktop/images/10072025/22/23/image_10072025_22_23_44_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/25/image_10072025_22_25_34_10663.jpg
/home/nano/Desktop/images/10072025/22/25/image_10072025_22_25_23_9645.jpg
/home/nano/Desktop/images/10072025/22/25/image_10072025_22_25_14_9677.jpg
/home/nano/Desktop/images/10072025/22/23/image_10072025_22_24_04_10666.jpg
/home/nano/Desktop/images/10072025/22/23/image_10072025_22_23_53_9647.jpg
/home/nano/Desktop/images/10072025/22/23/image_10072025_22_23_44_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371782314","1371782322","1371782319","1371782310","1371782333","1371782321"],"photo_ids_order":["1371782310","1371782314","1371782319","1371782321","1371782322","1371782333"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b6188a5c667d065313ba1987504cbe2.jpg","text":"TemporaryFile(/tmp/multipartBody4791944129855371339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281885296,"filename":"image_10072025_22_25_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bd2e0c6a788d638ec92ef03d17f560b.jpg","text":"TemporaryFile(/tmp/multipartBody4825567082698919587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281885296,"filename":"image_10072025_22_23_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03fc8f25a969804fdd53b049757eac09.jpg","text":"TemporaryFile(/tmp/multipartBody6405606466367225610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281885296,"filename":"image_10072025_22_25_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/221e803e3f238c2afb5cff6c2a7506bd.jpg","text":"TemporaryFile(/tmp/multipartBody3650952860303513308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281885296,"filename":"image_10072025_22_25_34_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5da2283433a7415f323d7188ef05e4d0.jpg","text":"TemporaryFile(/tmp/multipartBody7952948346086641724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281885296,"filename":"image_10072025_22_23_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21077c08bace20865244124c92ab6457.jpg","text":"TemporaryFile(/tmp/multipartBody170483787844956313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281885296,"filename":"image_10072025_22_24_04_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371782319","file1":"1371782314","file0":"1371782310","file4":"1371782322","file5":"1371782333","file3":"1371782321"},"map_files_photo_id_array":[{"photo_id":"1371782333","filename":"file5"},{"photo_id":"1371782319","filename":"file2"},{"photo_id":"1371782322","filename":"file4"},{"photo_id":"1371782314","filename":"file1"},{"photo_id":"1371782310","filename":"file0"},{"photo_id":"1371782321","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371782314":["hashtag1","hashtag2"]},{"1371782322":["hashtag1","hashtag2"]},{"1371782319":["hashtag1","hashtag2"]},{"1371782310":["hashtag1","hashtag2"]},{"1371782333":["hashtag1","hashtag2"]},{"1371782321":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371782314, 1371782322, 1371782319, 1371782310, 1371782333, 1371782321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47949981689453 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:57:46.857569
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_44_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_23_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_14_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/02/56/image_12072025_02_57_04_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_44_9640.jpg', '/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_34_10648.jpg', '/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_23_9647.jpg', '/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_14_9669.jpg', '/home/nano/Desktop/images/12072025/02/56/image_12072025_02_57_04_10671.jpg', '/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_44_9640.jpg
/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_34_10648.jpg
/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_23_9647.jpg
/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_14_9669.jpg
/home/nano/Desktop/images/12072025/02/56/image_12072025_02_57_04_10671.jpg
/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_53_9639.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:58:02.112197
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_44_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_23_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_14_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/02/56/image_12072025_02_57_04_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_44_9640.jpg', '/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_34_10648.jpg', '/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_23_9647.jpg', '/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_14_9669.jpg', '/home/nano/Desktop/images/12072025/02/56/image_12072025_02_57_04_10671.jpg', '/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_44_9640.jpg
/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_34_10648.jpg
/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_23_9647.jpg
/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_14_9669.jpg
/home/nano/Desktop/images/12072025/02/56/image_12072025_02_57_04_10671.jpg
/home/nano/Desktop/images/12072025/02/56/image_12072025_02_56_53_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371783001","1371782956","1371782814","1371782762","1371782864","1371782912"],"photo_ids_order":["1371782762","1371782814","1371782864","1371782912","1371782956","1371783001"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd93dde7305dc8eb60ed2154c13b851f.jpg","text":"TemporaryFile(/tmp/multipartBody2292325337594873352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281943430,"filename":"image_12072025_02_56_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0b75186b97468075505ccdf3cb1b2d1.jpg","text":"TemporaryFile(/tmp/multipartBody6252919713629747111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281943430,"filename":"image_12072025_02_57_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3927b68ccae51f02d389927ca1b56fec.jpg","text":"TemporaryFile(/tmp/multipartBody3148036783773302603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281943430,"filename":"image_12072025_02_57_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1cd294e7c3b0a1c655a0dbc2a3a2a17.jpg","text":"TemporaryFile(/tmp/multipartBody6102599961229066211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281943430,"filename":"image_12072025_02_57_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a755571612b3d0772477d3920544ab58.jpg","text":"TemporaryFile(/tmp/multipartBody1138563279865778049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281943430,"filename":"image_12072025_02_57_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83efe325a2df950f484f7f570fb04086.jpg","text":"TemporaryFile(/tmp/multipartBody6209628798104780245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752281943430,"filename":"image_12072025_02_57_14_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371782864","file1":"1371782814","file0":"1371782762","file4":"1371782956","file5":"1371783001","file3":"1371782912"},"map_files_photo_id_array":[{"photo_id":"1371783001","filename":"file5"},{"photo_id":"1371782864","filename":"file2"},{"photo_id":"1371782956","filename":"file4"},{"photo_id":"1371782814","filename":"file1"},{"photo_id":"1371782762","filename":"file0"},{"photo_id":"1371782912","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371783001":["hashtag1","hashtag2"]},{"1371782956":["hashtag1","hashtag2"]},{"1371782814":["hashtag1","hashtag2"]},{"1371782762":["hashtag1","hashtag2"]},{"1371782864":["hashtag1","hashtag2"]},{"1371782912":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371783001, 1371782956, 1371782814, 1371782762, 1371782864, 1371782912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.749347686767578 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:59:02.887699
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/23/image_10072025_22_23_34_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/22/23/image_10072025_22_23_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/22/image_10072025_22_22_14_10682.jpg', 2), ('/home/nano/Desktop/images/10072025/22/21/image_10072025_22_22_03_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/22/20/image_10072025_22_21_03_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/22/20/image_10072025_22_20_53_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/23/image_10072025_22_23_34_10657.jpg', '/home/nano/Desktop/images/10072025/22/23/image_10072025_22_23_23_9646.jpg', '/home/nano/Desktop/images/10072025/22/22/image_10072025_22_22_14_10682.jpg', '/home/nano/Desktop/images/10072025/22/21/image_10072025_22_22_03_9663.jpg', '/home/nano/Desktop/images/10072025/22/20/image_10072025_22_21_03_9665.jpg', '/home/nano/Desktop/images/10072025/22/20/image_10072025_22_20_53_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/23/image_10072025_22_23_34_10657.jpg
/home/nano/Desktop/images/10072025/22/23/image_10072025_22_23_23_9646.jpg
/home/nano/Desktop/images/10072025/22/22/image_10072025_22_22_14_10682.jpg
/home/nano/Desktop/images/10072025/22/21/image_10072025_22_22_03_9663.jpg
/home/nano/Desktop/images/10072025/22/20/image_10072025_22_21_03_9665.jpg
/home/nano/Desktop/images/10072025/22/20/image_10072025_22_20_53_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371783381","1371783372","1371783366","1371783375","1371783377","1371783347"],"photo_ids_order":["1371783347","1371783366","1371783372","1371783375","1371783377","1371783381"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03ed0d7fe9c3bd11753786513cee2b06.jpg","text":"TemporaryFile(/tmp/multipartBody9123764453536819815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282005673,"filename":"image_10072025_22_20_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/199d1f9399d94bb35ecbfe188de2fcf0.jpg","text":"TemporaryFile(/tmp/multipartBody2295514723530588994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282005673,"filename":"image_10072025_22_22_14_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13d27666718dce064f67ed543a676f33.jpg","text":"TemporaryFile(/tmp/multipartBody5686867258538725891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282005673,"filename":"image_10072025_22_23_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbcbd2c8eacae7e37814464602048c1c.jpg","text":"TemporaryFile(/tmp/multipartBody8692093537164578435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282005673,"filename":"image_10072025_22_22_03_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c5dae8dd54e1c63dd142869437b53c2.jpg","text":"TemporaryFile(/tmp/multipartBody7367273659270153044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282005673,"filename":"image_10072025_22_21_03_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bbb32b419ede09e4447aeb168ff6ddcd.jpg","text":"TemporaryFile(/tmp/multipartBody827900086625416308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282005673,"filename":"image_10072025_22_23_34_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371783372","file1":"1371783366","file0":"1371783347","file4":"1371783377","file5":"1371783381","file3":"1371783375"},"map_files_photo_id_array":[{"photo_id":"1371783381","filename":"file5"},{"photo_id":"1371783372","filename":"file2"},{"photo_id":"1371783377","filename":"file4"},{"photo_id":"1371783366","filename":"file1"},{"photo_id":"1371783347","filename":"file0"},{"photo_id":"1371783375","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371783381":["hashtag1","hashtag2"]},{"1371783372":["hashtag1","hashtag2"]},{"1371783366":["hashtag1","hashtag2"]},{"1371783375":["hashtag1","hashtag2"]},{"1371783377":["hashtag1","hashtag2"]},{"1371783347":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371783381, 1371783372, 1371783366, 1371783375, 1371783377, 1371783347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.658061027526855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 02:59:47.131426
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_13_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/02/58/image_12072025_02_59_04_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_43_9638.jpg', '/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_34_10648.jpg', '/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_23_9637.jpg', '/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_13_9642.jpg', '/home/nano/Desktop/images/12072025/02/58/image_12072025_02_59_04_10645.jpg', '/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_43_9638.jpg
/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_34_10648.jpg
/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_23_9637.jpg
/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_13_9642.jpg
/home/nano/Desktop/images/12072025/02/58/image_12072025_02_59_04_10645.jpg
/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_53_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371783546","1371783560","1371783563","1371783602","1371783592","1371783589"],"photo_ids_order":["1371783546","1371783560","1371783563","1371783589","1371783592","1371783602"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb297dfb924720ed07fa39e3db65c062.jpg","text":"TemporaryFile(/tmp/multipartBody7826857631131063039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282048528,"filename":"image_12072025_02_59_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/770eb60a24c712d5f8b73f2e6f74bfd5.jpg","text":"TemporaryFile(/tmp/multipartBody6648832460253148037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282048528,"filename":"image_12072025_02_59_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53a1f62406661cfd4f14ff4b69f54459.jpg","text":"TemporaryFile(/tmp/multipartBody6282276679705558750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282048528,"filename":"image_12072025_02_59_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d263bc0cabe21d1c122b75ced6ecee60.jpg","text":"TemporaryFile(/tmp/multipartBody4204061085741981615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282048528,"filename":"image_12072025_02_58_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40763bac164bd55771ab11b115d269d3.jpg","text":"TemporaryFile(/tmp/multipartBody2046131029771264712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282048528,"filename":"image_12072025_02_59_04_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8598a3e7ce438ce5e9f19beece066b70.jpg","text":"TemporaryFile(/tmp/multipartBody4402175245275092582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282048528,"filename":"image_12072025_02_59_13_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371783563","file1":"1371783560","file0":"1371783546","file4":"1371783592","file5":"1371783602","file3":"1371783589"},"map_files_photo_id_array":[{"photo_id":"1371783602","filename":"file5"},{"photo_id":"1371783563","filename":"file2"},{"photo_id":"1371783592","filename":"file4"},{"photo_id":"1371783560","filename":"file1"},{"photo_id":"1371783546","filename":"file0"},{"photo_id":"1371783589","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371783546":["hashtag1","hashtag2"]},{"1371783560":["hashtag1","hashtag2"]},{"1371783563":["hashtag1","hashtag2"]},{"1371783602":["hashtag1","hashtag2"]},{"1371783592":["hashtag1","hashtag2"]},{"1371783589":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371783546, 1371783560, 1371783563, 1371783602, 1371783592, 1371783589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.806695222854614 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:00:32.242924
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/00/image_12072025_03_00_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/03/00/image_12072025_03_00_24_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/03/00/image_12072025_03_00_13_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/02/59/image_12072025_03_00_04_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_54_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_44_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/00/image_12072025_03_00_43_9645.jpg', '/home/nano/Desktop/images/12072025/03/00/image_12072025_03_00_24_10664.jpg', '/home/nano/Desktop/images/12072025/03/00/image_12072025_03_00_13_9671.jpg', '/home/nano/Desktop/images/12072025/02/59/image_12072025_03_00_04_9662.jpg', '/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_54_10647.jpg', '/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_44_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/00/image_12072025_03_00_43_9645.jpg
/home/nano/Desktop/images/12072025/03/00/image_12072025_03_00_24_10664.jpg
/home/nano/Desktop/images/12072025/03/00/image_12072025_03_00_13_9671.jpg
/home/nano/Desktop/images/12072025/02/59/image_12072025_03_00_04_9662.jpg
/home/nano/Desktop/images/12072025/02/59/image_12072025_02_59_54_10647.jpg
/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_44_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371783706","1371783735","1371783851","1371783767","1371783793","1371783823"],"photo_ids_order":["1371783706","1371783735","1371783767","1371783793","1371783823","1371783851"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd32922f145cf49e2182efe476f8b101.jpg","text":"TemporaryFile(/tmp/multipartBody8735018334629327809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282094118,"filename":"image_12072025_03_00_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bdd86329e67b227674248fd19ae70409.jpg","text":"TemporaryFile(/tmp/multipartBody2516318146125482801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282094118,"filename":"image_12072025_03_00_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/501757862c313c74aa0945b2c5c12842.jpg","text":"TemporaryFile(/tmp/multipartBody2069255765637112769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282094118,"filename":"image_12072025_02_58_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1971eec364dcd961099f28809ca16856.jpg","text":"TemporaryFile(/tmp/multipartBody874525561852838314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282094118,"filename":"image_12072025_03_00_13_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78dad2c105663b0be32795a67300cfb1.jpg","text":"TemporaryFile(/tmp/multipartBody2312691515725583173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282094118,"filename":"image_12072025_03_00_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db066d92b9c1288ec3152b56ca6defb3.jpg","text":"TemporaryFile(/tmp/multipartBody4695822661592009640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282094118,"filename":"image_12072025_02_59_54_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371783767","file1":"1371783735","file0":"1371783706","file4":"1371783823","file5":"1371783851","file3":"1371783793"},"map_files_photo_id_array":[{"photo_id":"1371783851","filename":"file5"},{"photo_id":"1371783767","filename":"file2"},{"photo_id":"1371783823","filename":"file4"},{"photo_id":"1371783735","filename":"file1"},{"photo_id":"1371783706","filename":"file0"},{"photo_id":"1371783793","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371783706":["hashtag1","hashtag2"]},{"1371783735":["hashtag1","hashtag2"]},{"1371783851":["hashtag1","hashtag2"]},{"1371783767":["hashtag1","hashtag2"]},{"1371783793":["hashtag1","hashtag2"]},{"1371783823":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371783706, 1371783735, 1371783851, 1371783767, 1371783793, 1371783823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9770245552063 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:01:17.393317
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_13_9676.jpg', 2), ('/home/nano/Desktop/images/12072025/03/00/image_12072025_03_01_04_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/00/image_12072025_03_00_54_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_43_9640.jpg', '/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_34_9639.jpg', '/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_24_10647.jpg', '/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_13_9676.jpg', '/home/nano/Desktop/images/12072025/03/00/image_12072025_03_01_04_9637.jpg', '/home/nano/Desktop/images/12072025/03/00/image_12072025_03_00_54_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_43_9640.jpg
/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_34_9639.jpg
/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_24_10647.jpg
/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_13_9676.jpg
/home/nano/Desktop/images/12072025/03/00/image_12072025_03_01_04_9637.jpg
/home/nano/Desktop/images/12072025/03/00/image_12072025_03_00_54_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784002","1371784110","1371784141","1371784057","1371784027","1371784086"],"photo_ids_order":["1371784002","1371784027","1371784057","1371784086","1371784110","1371784141"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43f090d8011f351ebd9de51db2e5ae57.jpg","text":"TemporaryFile(/tmp/multipartBody7423189250717645750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282138724,"filename":"image_12072025_03_01_43_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/191f17450956cee2b6bd56928ccc1ab1.jpg","text":"TemporaryFile(/tmp/multipartBody9147564400449970682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282138724,"filename":"image_12072025_03_01_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24a43cdf5e2c0d683fb28f4584679b37.jpg","text":"TemporaryFile(/tmp/multipartBody2007324461810426781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282138724,"filename":"image_12072025_03_00_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0495cc180b0664972adc3b905e09b8cf.jpg","text":"TemporaryFile(/tmp/multipartBody7727213836819507913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282138724,"filename":"image_12072025_03_01_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e426ef046796a0a2098c40be79d7b870.jpg","text":"TemporaryFile(/tmp/multipartBody9204617152415802067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282138724,"filename":"image_12072025_03_01_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1c4f6b8e337f073d002c352f7968a93.jpg","text":"TemporaryFile(/tmp/multipartBody4738959658090685700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282138724,"filename":"image_12072025_03_01_13_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784057","file1":"1371784027","file0":"1371784002","file4":"1371784110","file5":"1371784141","file3":"1371784086"},"map_files_photo_id_array":[{"photo_id":"1371784141","filename":"file5"},{"photo_id":"1371784057","filename":"file2"},{"photo_id":"1371784110","filename":"file4"},{"photo_id":"1371784027","filename":"file1"},{"photo_id":"1371784002","filename":"file0"},{"photo_id":"1371784086","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371784002":["hashtag1","hashtag2"]},{"1371784110":["hashtag1","hashtag2"]},{"1371784141":["hashtag1","hashtag2"]},{"1371784057":["hashtag1","hashtag2"]},{"1371784027":["hashtag1","hashtag2"]},{"1371784086":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371784002, 1371784110, 1371784141, 1371784057, 1371784027, 1371784086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0403995513916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:02:02.927858
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_13_9676.jpg', 2), ('/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_34_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_14_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/02/57/image_12072025_02_58_04_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_13_9676.jpg', '/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_34_10646.jpg', '/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_23_9639.jpg', '/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_14_9664.jpg', '/home/nano/Desktop/images/12072025/02/57/image_12072025_02_58_04_10673.jpg', '/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_13_9676.jpg
/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_34_10646.jpg
/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_23_9639.jpg
/home/nano/Desktop/images/12072025/02/58/image_12072025_02_58_14_9664.jpg
/home/nano/Desktop/images/12072025/02/57/image_12072025_02_58_04_10673.jpg
/home/nano/Desktop/images/12072025/02/57/image_12072025_02_57_53_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784365","1371784350","1371784323","1371784295","1371784364","1371784362"],"photo_ids_order":["1371784295","1371784323","1371784350","1371784362","1371784364","1371784365"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/152c09be99294e8d28744604e0d57623.jpg","text":"TemporaryFile(/tmp/multipartBody5483693057671188859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282184249,"filename":"image_12072025_02_57_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/adedb07bf6e318dbd2940f784b13dd7b.jpg","text":"TemporaryFile(/tmp/multipartBody8619536620595829293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282184249,"filename":"image_12072025_02_58_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/acf0050ee2090e7bf4500eaa8863119a.jpg","text":"TemporaryFile(/tmp/multipartBody8639580956213587787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282184249,"filename":"image_12072025_02_58_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b55280f8b8f744e464f93e1d4ad96e84.jpg","text":"TemporaryFile(/tmp/multipartBody7309394447268009306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282184249,"filename":"image_12072025_03_02_13_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/340940b31b26e7a84af6371781274a99.jpg","text":"TemporaryFile(/tmp/multipartBody8795430696768423178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282184249,"filename":"image_12072025_02_58_04_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30c3f4645938f16e366040447c2e03a9.jpg","text":"TemporaryFile(/tmp/multipartBody1444469411151023307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282184249,"filename":"image_12072025_02_58_14_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784350","file1":"1371784323","file0":"1371784295","file4":"1371784364","file5":"1371784365","file3":"1371784362"},"map_files_photo_id_array":[{"photo_id":"1371784365","filename":"file5"},{"photo_id":"1371784350","filename":"file2"},{"photo_id":"1371784364","filename":"file4"},{"photo_id":"1371784323","filename":"file1"},{"photo_id":"1371784295","filename":"file0"},{"photo_id":"1371784362","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371784365":["hashtag1","hashtag2"]},{"1371784350":["hashtag1","hashtag2"]},{"1371784323":["hashtag1","hashtag2"]},{"1371784295":["hashtag1","hashtag2"]},{"1371784364":["hashtag1","hashtag2"]},{"1371784362":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371784365, 1371784350, 1371784323, 1371784295, 1371784364, 1371784362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2353892326355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:02:47.586787
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_43_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/03/01/image_12072025_03_02_04_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_43_9653.jpg', '/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_34_9639.jpg', '/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_24_10649.jpg', '/home/nano/Desktop/images/12072025/03/01/image_12072025_03_02_04_9671.jpg', '/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_43_9653.jpg
/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_34_9639.jpg
/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_24_10649.jpg
/home/nano/Desktop/images/12072025/03/01/image_12072025_03_02_04_9671.jpg
/home/nano/Desktop/images/12072025/03/01/image_12072025_03_01_54_10648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784396","1371784429","1371784488","1371784461","1371784377"],"photo_ids_order":["1371784377","1371784396","1371784429","1371784461","1371784488"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1f3f90b348ccd62fa008e654ee948ed.jpg","text":"TemporaryFile(/tmp/multipartBody7241960789240263623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282228968,"filename":"image_12072025_03_02_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aec44ba946bc021768b4b7c17e4f9f99.jpg","text":"TemporaryFile(/tmp/multipartBody573846667985761024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282228968,"filename":"image_12072025_03_02_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc5fb55e8e2d8350008394b40cb6587a.jpg","text":"TemporaryFile(/tmp/multipartBody5916693792264776249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282228968,"filename":"image_12072025_03_01_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b62c48a433c90293d47ef6b48d9f968b.jpg","text":"TemporaryFile(/tmp/multipartBody3976367854650435538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282228968,"filename":"image_12072025_03_02_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fc40bcfac450e92e3a468096ed18655.jpg","text":"TemporaryFile(/tmp/multipartBody4544615503277905903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282228968,"filename":"image_12072025_03_02_43_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784429","file1":"1371784396","file0":"1371784377","file4":"1371784488","file3":"1371784461"},"map_files_photo_id_array":[{"photo_id":"1371784429","filename":"file2"},{"photo_id":"1371784488","filename":"file4"},{"photo_id":"1371784396","filename":"file1"},{"photo_id":"1371784377","filename":"file0"},{"photo_id":"1371784461","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371784396":["hashtag1","hashtag2"]},{"1371784429":["hashtag1","hashtag2"]},{"1371784488":["hashtag1","hashtag2"]},{"1371784461":["hashtag1","hashtag2"]},{"1371784377":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371784396, 1371784429, 1371784488, 1371784461, 1371784377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.51157283782959 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:03:17.710284
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/02/image_12072025_03_03_04_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_54_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_43_9645.jpg', '/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_33_9639.jpg', '/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_24_10648.jpg', '/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_13_9656.jpg', '/home/nano/Desktop/images/12072025/03/02/image_12072025_03_03_04_9649.jpg', '/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_43_9645.jpg
/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_33_9639.jpg
/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_24_10648.jpg
/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_13_9656.jpg
/home/nano/Desktop/images/12072025/03/02/image_12072025_03_03_04_9649.jpg
/home/nano/Desktop/images/12072025/03/02/image_12072025_03_02_54_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784632","1371784589","1371784583","1371784576","1371784606","1371784590"],"photo_ids_order":["1371784576","1371784583","1371784589","1371784590","1371784606","1371784632"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73b0bea8e64829e78ba3cc32e3dc4803.jpg","text":"TemporaryFile(/tmp/multipartBody2600318733888143405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282258966,"filename":"image_12072025_03_02_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cfe60795c9456059d813366bead858c9.jpg","text":"TemporaryFile(/tmp/multipartBody7742588939607245614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282258966,"filename":"image_12072025_03_03_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4f1500fb6dbcbc7f5321b45aba16b06.jpg","text":"TemporaryFile(/tmp/multipartBody8762032030884593728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282258966,"filename":"image_12072025_03_03_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc2f24674e9235ad42d88efa6eb83588.jpg","text":"TemporaryFile(/tmp/multipartBody3386163297796955754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282258966,"filename":"image_12072025_03_03_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac35f65b8e1ff9d58fff9b1fed6011ce.jpg","text":"TemporaryFile(/tmp/multipartBody6905264279842499201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282258966,"filename":"image_12072025_03_03_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4a7312d3747c5f760ca3214dae06fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5556696373499157017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282258966,"filename":"image_12072025_03_03_13_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784589","file1":"1371784583","file0":"1371784576","file4":"1371784606","file5":"1371784632","file3":"1371784590"},"map_files_photo_id_array":[{"photo_id":"1371784632","filename":"file5"},{"photo_id":"1371784589","filename":"file2"},{"photo_id":"1371784606","filename":"file4"},{"photo_id":"1371784583","filename":"file1"},{"photo_id":"1371784576","filename":"file0"},{"photo_id":"1371784590","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371784632":["hashtag1","hashtag2"]},{"1371784589":["hashtag1","hashtag2"]},{"1371784583":["hashtag1","hashtag2"]},{"1371784576":["hashtag1","hashtag2"]},{"1371784606":["hashtag1","hashtag2"]},{"1371784590":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371784632, 1371784589, 1371784583, 1371784576, 1371784606, 1371784590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.624996662139893 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:04:02.464819
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/20/image_10072025_22_20_44_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/22/20/image_10072025_22_20_33_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/22/19/image_10072025_22_19_24_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/22/19/image_10072025_22_19_14_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/22/18/image_10072025_22_19_03_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/18/image_10072025_22_18_54_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/20/image_10072025_22_20_44_10656.jpg', '/home/nano/Desktop/images/10072025/22/20/image_10072025_22_20_33_9645.jpg', '/home/nano/Desktop/images/10072025/22/19/image_10072025_22_19_24_9652.jpg', '/home/nano/Desktop/images/10072025/22/19/image_10072025_22_19_14_10672.jpg', '/home/nano/Desktop/images/10072025/22/18/image_10072025_22_19_03_9647.jpg', '/home/nano/Desktop/images/10072025/22/18/image_10072025_22_18_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/20/image_10072025_22_20_44_10656.jpg
/home/nano/Desktop/images/10072025/22/20/image_10072025_22_20_33_9645.jpg
/home/nano/Desktop/images/10072025/22/19/image_10072025_22_19_24_9652.jpg
/home/nano/Desktop/images/10072025/22/19/image_10072025_22_19_14_10672.jpg
/home/nano/Desktop/images/10072025/22/18/image_10072025_22_19_03_9647.jpg
/home/nano/Desktop/images/10072025/22/18/image_10072025_22_18_54_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784716","1371784719","1371784712","1371784706","1371784709","1371784714"],"photo_ids_order":["1371784706","1371784709","1371784712","1371784714","1371784716","1371784719"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20c410bea7e9a8f7f50e4fd0c2dc9a18.jpg","text":"TemporaryFile(/tmp/multipartBody7163400885145289288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282305331,"filename":"image_10072025_22_19_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/941a0c6a99ee18b4befe2296d7651af0.jpg","text":"TemporaryFile(/tmp/multipartBody7626658288844371084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282305331,"filename":"image_10072025_22_18_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/746a7fda717f2fb9453fa26346954fc4.jpg","text":"TemporaryFile(/tmp/multipartBody967355338921959333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282305331,"filename":"image_10072025_22_19_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e62e2486f5ed0985488aae1225ab45a7.jpg","text":"TemporaryFile(/tmp/multipartBody3111248777873712490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282305331,"filename":"image_10072025_22_20_44_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cfee189c28acd51a8af7ebcadcf8bd06.jpg","text":"TemporaryFile(/tmp/multipartBody5324113097900728647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282305331,"filename":"image_10072025_22_20_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e19cbe87f6ccefb8ba85d9ca9ca68fb.jpg","text":"TemporaryFile(/tmp/multipartBody574994336304356415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282305331,"filename":"image_10072025_22_19_14_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784712","file1":"1371784709","file0":"1371784706","file4":"1371784716","file5":"1371784719","file3":"1371784714"},"map_files_photo_id_array":[{"photo_id":"1371784719","filename":"file5"},{"photo_id":"1371784712","filename":"file2"},{"photo_id":"1371784716","filename":"file4"},{"photo_id":"1371784709","filename":"file1"},{"photo_id":"1371784706","filename":"file0"},{"photo_id":"1371784714","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371784716":["hashtag1","hashtag2"]},{"1371784719":["hashtag1","hashtag2"]},{"1371784712":["hashtag1","hashtag2"]},{"1371784706":["hashtag1","hashtag2"]},{"1371784709":["hashtag1","hashtag2"]},{"1371784714":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371784716, 1371784719, 1371784712, 1371784706, 1371784709, 1371784714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96474742889404 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:04:46.828634
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_24_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_14_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/03/03/image_12072025_03_04_03_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_44_10647.jpg', '/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_33_9638.jpg', '/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_24_9658.jpg', '/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_14_10664.jpg', '/home/nano/Desktop/images/12072025/03/03/image_12072025_03_04_03_9648.jpg', '/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_44_10647.jpg
/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_33_9638.jpg
/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_24_9658.jpg
/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_14_10664.jpg
/home/nano/Desktop/images/12072025/03/03/image_12072025_03_04_03_9648.jpg
/home/nano/Desktop/images/12072025/03/03/image_12072025_03_03_54_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784728","1371784730","1371784733","1371784744","1371784747","1371784752"],"photo_ids_order":["1371784728","1371784730","1371784733","1371784744","1371784747","1371784752"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc6727e3af367c2008a66f381fe5b54d.jpg","text":"TemporaryFile(/tmp/multipartBody1470652699120965095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282348333,"filename":"image_12072025_03_04_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa20c9606ef33c9dfdbfdb6a9a902ea5.jpg","text":"TemporaryFile(/tmp/multipartBody6273471344331330292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282348333,"filename":"image_12072025_03_04_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fd65cac51e95b0bcaa18fb9f831dcab.jpg","text":"TemporaryFile(/tmp/multipartBody7812856790201085533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282348333,"filename":"image_12072025_03_04_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0cfed025e1dc0c32131d03847d822186.jpg","text":"TemporaryFile(/tmp/multipartBody5363507682222498637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282348333,"filename":"image_12072025_03_04_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/401719b66b5c3d09c6e793eabbebcf17.jpg","text":"TemporaryFile(/tmp/multipartBody8445806118075997485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282348333,"filename":"image_12072025_03_04_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4bb9fab55d142633d21df72afac38711.jpg","text":"TemporaryFile(/tmp/multipartBody712077956251394707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282348333,"filename":"image_12072025_03_03_54_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784733","file1":"1371784730","file0":"1371784728","file4":"1371784747","file5":"1371784752","file3":"1371784744"},"map_files_photo_id_array":[{"photo_id":"1371784752","filename":"file5"},{"photo_id":"1371784733","filename":"file2"},{"photo_id":"1371784747","filename":"file4"},{"photo_id":"1371784730","filename":"file1"},{"photo_id":"1371784728","filename":"file0"},{"photo_id":"1371784744","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371784728":["hashtag1","hashtag2"]},{"1371784730":["hashtag1","hashtag2"]},{"1371784733":["hashtag1","hashtag2"]},{"1371784744":["hashtag1","hashtag2"]},{"1371784747":["hashtag1","hashtag2"]},{"1371784752":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371784728, 1371784730, 1371784733, 1371784744, 1371784747, 1371784752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.120397329330444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:05:31.939779
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/05/image_12072025_03_05_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/03/05/image_12072025_03_05_24_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/03/05/image_12072025_03_05_14_10679.jpg', 2), ('/home/nano/Desktop/images/12072025/03/04/image_12072025_03_05_03_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/05/image_12072025_03_05_33_9645.jpg', '/home/nano/Desktop/images/12072025/03/05/image_12072025_03_05_24_9643.jpg', '/home/nano/Desktop/images/12072025/03/05/image_12072025_03_05_14_10679.jpg', '/home/nano/Desktop/images/12072025/03/04/image_12072025_03_05_03_9667.jpg', '/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_54_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/05/image_12072025_03_05_33_9645.jpg
/home/nano/Desktop/images/12072025/03/05/image_12072025_03_05_24_9643.jpg
/home/nano/Desktop/images/12072025/03/05/image_12072025_03_05_14_10679.jpg
/home/nano/Desktop/images/12072025/03/04/image_12072025_03_05_03_9667.jpg
/home/nano/Desktop/images/12072025/03/04/image_12072025_03_04_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784761","1371784757","1371784759","1371784764","1371784767"],"photo_ids_order":["1371784757","1371784759","1371784761","1371784764","1371784767"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/094c06782d78e944cbadb24aef6853ec.jpg","text":"TemporaryFile(/tmp/multipartBody5048872344981945806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282393370,"filename":"image_12072025_03_05_14_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/139477eb5b630757fa60dbfb773d924e.jpg","text":"TemporaryFile(/tmp/multipartBody8050650515850108882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282393370,"filename":"image_12072025_03_05_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5051502a62839afcf70f1d19b20d0358.jpg","text":"TemporaryFile(/tmp/multipartBody2999718142006537402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282393370,"filename":"image_12072025_03_05_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c36a1bd89b5415df7ed3c4c3b3cf6ebc.jpg","text":"TemporaryFile(/tmp/multipartBody6014519964766062290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282393370,"filename":"image_12072025_03_05_03_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8b4b8cc5deca9c1c7df07dca4605d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5861298477549944609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282393370,"filename":"image_12072025_03_04_54_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784761","file1":"1371784759","file0":"1371784757","file4":"1371784767","file3":"1371784764"},"map_files_photo_id_array":[{"photo_id":"1371784761","filename":"file2"},{"photo_id":"1371784767","filename":"file4"},{"photo_id":"1371784759","filename":"file1"},{"photo_id":"1371784757","filename":"file0"},{"photo_id":"1371784764","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371784761":["hashtag1","hashtag2"]},{"1371784757":["hashtag1","hashtag2"]},{"1371784759":["hashtag1","hashtag2"]},{"1371784764":["hashtag1","hashtag2"]},{"1371784767":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371784761, 1371784757, 1371784759, 1371784764, 1371784767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.24227285385132 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:06:17.035278
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/06/image_12072025_03_06_44_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/03/06/image_12072025_03_06_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/03/06/image_12072025_03_06_14_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/03/05/image_12072025_03_06_03_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/03/05/image_12072025_03_05_44_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/06/image_12072025_03_06_44_10665.jpg', '/home/nano/Desktop/images/12072025/03/06/image_12072025_03_06_33_9639.jpg', '/home/nano/Desktop/images/12072025/03/06/image_12072025_03_06_14_10663.jpg', '/home/nano/Desktop/images/12072025/03/05/image_12072025_03_06_03_9639.jpg', '/home/nano/Desktop/images/12072025/03/05/image_12072025_03_05_44_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/06/image_12072025_03_06_44_10665.jpg
/home/nano/Desktop/images/12072025/03/06/image_12072025_03_06_33_9639.jpg
/home/nano/Desktop/images/12072025/03/06/image_12072025_03_06_14_10663.jpg
/home/nano/Desktop/images/12072025/03/05/image_12072025_03_06_03_9639.jpg
/home/nano/Desktop/images/12072025/03/05/image_12072025_03_05_44_10653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784787","1371784790","1371784784","1371784792","1371784780"],"photo_ids_order":["1371784780","1371784784","1371784787","1371784790","1371784792"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/424e6fa2c265e5ae1bb8b9c17743907e.jpg","text":"TemporaryFile(/tmp/multipartBody5031033641353851742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282438338,"filename":"image_12072025_03_06_14_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dee637faaedfb35fc8e09e021be984a4.jpg","text":"TemporaryFile(/tmp/multipartBody7799894603894543836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282438338,"filename":"image_12072025_03_06_03_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f570f6b78061420cfe7c375e0366ece.jpg","text":"TemporaryFile(/tmp/multipartBody3006003064259816215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282438338,"filename":"image_12072025_03_06_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01d7ab88cfb7a0bdea578480b47d6c86.jpg","text":"TemporaryFile(/tmp/multipartBody7922416996459986336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282438338,"filename":"image_12072025_03_05_44_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6896dba78da21ad55cdeb66ced68e665.jpg","text":"TemporaryFile(/tmp/multipartBody5458538860597507554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282438338,"filename":"image_12072025_03_06_44_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784787","file1":"1371784784","file0":"1371784780","file4":"1371784792","file3":"1371784790"},"map_files_photo_id_array":[{"photo_id":"1371784787","filename":"file2"},{"photo_id":"1371784792","filename":"file4"},{"photo_id":"1371784784","filename":"file1"},{"photo_id":"1371784780","filename":"file0"},{"photo_id":"1371784790","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371784787":["hashtag1","hashtag2"]},{"1371784790":["hashtag1","hashtag2"]},{"1371784784":["hashtag1","hashtag2"]},{"1371784792":["hashtag1","hashtag2"]},{"1371784780":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371784787, 1371784790, 1371784784, 1371784792, 1371784780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.465513467788696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:06:47.118888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/18/image_10072025_22_18_44_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/22/18/image_10072025_22_18_33_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/18/image_10072025_22_18_24_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/22/17/image_10072025_22_18_03_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/22/17/image_10072025_22_17_54_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/22/17/image_10072025_22_17_44_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/18/image_10072025_22_18_44_10672.jpg', '/home/nano/Desktop/images/10072025/22/18/image_10072025_22_18_33_9647.jpg', '/home/nano/Desktop/images/10072025/22/18/image_10072025_22_18_24_9645.jpg', '/home/nano/Desktop/images/10072025/22/17/image_10072025_22_18_03_9648.jpg', '/home/nano/Desktop/images/10072025/22/17/image_10072025_22_17_54_9652.jpg', '/home/nano/Desktop/images/10072025/22/17/image_10072025_22_17_44_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/18/image_10072025_22_18_44_10672.jpg
/home/nano/Desktop/images/10072025/22/18/image_10072025_22_18_33_9647.jpg
/home/nano/Desktop/images/10072025/22/18/image_10072025_22_18_24_9645.jpg
/home/nano/Desktop/images/10072025/22/17/image_10072025_22_18_03_9648.jpg
/home/nano/Desktop/images/10072025/22/17/image_10072025_22_17_54_9652.jpg
/home/nano/Desktop/images/10072025/22/17/image_10072025_22_17_44_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784815","1371784818","1371784811","1371784798","1371784802","1371784819"],"photo_ids_order":["1371784798","1371784802","1371784811","1371784815","1371784818","1371784819"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ac14694d7f8df2d3e471fd47215e3d9.jpg","text":"TemporaryFile(/tmp/multipartBody1276703197418151642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282469805,"filename":"image_10072025_22_18_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c67f999ff120f59779980a802f9a474.jpg","text":"TemporaryFile(/tmp/multipartBody8434296367572233891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282469805,"filename":"image_10072025_22_17_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26f42671cd549f57939a138e1b5081ec.jpg","text":"TemporaryFile(/tmp/multipartBody3331101449840950582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282469805,"filename":"image_10072025_22_18_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b9e50aca8ce87b59ae2d0363ab32b43.jpg","text":"TemporaryFile(/tmp/multipartBody9196677741024930378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282469805,"filename":"image_10072025_22_18_44_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c83c06437e9e8364fc3431cdf7d5761.jpg","text":"TemporaryFile(/tmp/multipartBody2886612285705284675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282469805,"filename":"image_10072025_22_18_33_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7a875713b2caf18d25c457a8cef60ee.jpg","text":"TemporaryFile(/tmp/multipartBody8634888883352668837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282469805,"filename":"image_10072025_22_17_44_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784811","file1":"1371784802","file0":"1371784798","file4":"1371784818","file5":"1371784819","file3":"1371784815"},"map_files_photo_id_array":[{"photo_id":"1371784819","filename":"file5"},{"photo_id":"1371784811","filename":"file2"},{"photo_id":"1371784818","filename":"file4"},{"photo_id":"1371784802","filename":"file1"},{"photo_id":"1371784798","filename":"file0"},{"photo_id":"1371784815","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371784815":["hashtag1","hashtag2"]},{"1371784818":["hashtag1","hashtag2"]},{"1371784811":["hashtag1","hashtag2"]},{"1371784798":["hashtag1","hashtag2"]},{"1371784802":["hashtag1","hashtag2"]},{"1371784819":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371784815, 1371784818, 1371784811, 1371784798, 1371784802, 1371784819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47878861427307 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:07:32.230317
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_23_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_14_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/03/06/image_12072025_03_07_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/03/06/image_12072025_03_06_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_44_10648.jpg', '/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_33_9640.jpg', '/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_23_9641.jpg', '/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_14_10675.jpg', '/home/nano/Desktop/images/12072025/03/06/image_12072025_03_07_03_9643.jpg', '/home/nano/Desktop/images/12072025/03/06/image_12072025_03_06_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_44_10648.jpg
/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_33_9640.jpg
/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_23_9641.jpg
/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_14_10675.jpg
/home/nano/Desktop/images/12072025/03/06/image_12072025_03_07_03_9643.jpg
/home/nano/Desktop/images/12072025/03/06/image_12072025_03_06_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784844","1371784832","1371784846","1371784825","1371784828","1371784839"],"photo_ids_order":["1371784825","1371784828","1371784832","1371784839","1371784844","1371784846"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50fbffcf56fe9cca0e5ecc896aa58a2a.jpg","text":"TemporaryFile(/tmp/multipartBody8270758040506250789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282513421,"filename":"image_12072025_03_07_03_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2acf1a5516f1dd81dc4155f76c9df7f3.jpg","text":"TemporaryFile(/tmp/multipartBody3610484103047180572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282513421,"filename":"image_12072025_03_07_23_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8ec25604a3d449efe61c4e48d8d4b80.jpg","text":"TemporaryFile(/tmp/multipartBody7790059284535460179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282513421,"filename":"image_12072025_03_06_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13f3ef094fb7e1f2c5680e1e45a5f072.jpg","text":"TemporaryFile(/tmp/multipartBody1121287341123240323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282513421,"filename":"image_12072025_03_07_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c30e9dfdfd9bba32d12f67898117f62.jpg","text":"TemporaryFile(/tmp/multipartBody5084487874769977810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282513421,"filename":"image_12072025_03_07_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/030c0a31ce5a8c3d6a9a8150c434d352.jpg","text":"TemporaryFile(/tmp/multipartBody2120835144205434731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282513421,"filename":"image_12072025_03_07_14_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784832","file1":"1371784828","file0":"1371784825","file4":"1371784844","file5":"1371784846","file3":"1371784839"},"map_files_photo_id_array":[{"photo_id":"1371784846","filename":"file5"},{"photo_id":"1371784832","filename":"file2"},{"photo_id":"1371784844","filename":"file4"},{"photo_id":"1371784828","filename":"file1"},{"photo_id":"1371784825","filename":"file0"},{"photo_id":"1371784839","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371784844":["hashtag1","hashtag2"]},{"1371784832":["hashtag1","hashtag2"]},{"1371784846":["hashtag1","hashtag2"]},{"1371784825":["hashtag1","hashtag2"]},{"1371784828":["hashtag1","hashtag2"]},{"1371784839":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371784844, 1371784832, 1371784846, 1371784825, 1371784828, 1371784839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.952747106552124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:08:17.328392
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/08/image_12072025_03_08_44_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/03/08/image_12072025_03_08_23_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/08/image_12072025_03_08_14_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/08/image_12072025_03_08_44_9641.jpg', '/home/nano/Desktop/images/12072025/03/08/image_12072025_03_08_23_9655.jpg', '/home/nano/Desktop/images/12072025/03/08/image_12072025_03_08_14_9659.jpg', '/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/08/image_12072025_03_08_44_9641.jpg
/home/nano/Desktop/images/12072025/03/08/image_12072025_03_08_23_9655.jpg
/home/nano/Desktop/images/12072025/03/08/image_12072025_03_08_14_9659.jpg
/home/nano/Desktop/images/12072025/03/07/image_12072025_03_07_53_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784860","1371784856","1371784859","1371784858"],"photo_ids_order":["1371784856","1371784858","1371784859","1371784860"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f74cfbaa7999c9ebbff0a3ef03df756c.jpg","text":"TemporaryFile(/tmp/multipartBody7454290605158101695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282558361,"filename":"image_12072025_03_07_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95e22c07070f95bf6884a7c7df7b490a.jpg","text":"TemporaryFile(/tmp/multipartBody6566549871894479762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282558361,"filename":"image_12072025_03_08_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cdc1ec89675717599ea3a6935c30ff28.jpg","text":"TemporaryFile(/tmp/multipartBody453113220109958250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282558361,"filename":"image_12072025_03_08_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32c74e534beed0b80b3b811b957b64fe.jpg","text":"TemporaryFile(/tmp/multipartBody9138534544186002258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282558361,"filename":"image_12072025_03_08_23_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784859","file1":"1371784858","file0":"1371784856","file3":"1371784860"},"map_files_photo_id_array":[{"photo_id":"1371784859","filename":"file2"},{"photo_id":"1371784858","filename":"file1"},{"photo_id":"1371784856","filename":"file0"},{"photo_id":"1371784860","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371784860":["hashtag1","hashtag2"]},{"1371784856":["hashtag1","hashtag2"]},{"1371784859":["hashtag1","hashtag2"]},{"1371784858":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371784860, 1371784856, 1371784859, 1371784858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.580465078353882 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:08:47.304929
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/17/image_10072025_22_17_33_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_54_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_33_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_24_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/22/14/image_10072025_22_15_04_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/17/image_10072025_22_17_33_9651.jpg', '/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_54_10655.jpg', '/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_43_9646.jpg', '/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_33_9647.jpg', '/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_24_10656.jpg', '/home/nano/Desktop/images/10072025/22/14/image_10072025_22_15_04_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/17/image_10072025_22_17_33_9651.jpg
/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_54_10655.jpg
/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_43_9646.jpg
/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_33_9647.jpg
/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_24_10656.jpg
/home/nano/Desktop/images/10072025/22/14/image_10072025_22_15_04_9652.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.701169490814209 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:09:03.122276
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/17/image_10072025_22_17_33_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_54_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_33_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_24_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/22/14/image_10072025_22_15_04_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/17/image_10072025_22_17_33_9651.jpg', '/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_54_10655.jpg', '/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_43_9646.jpg', '/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_33_9647.jpg', '/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_24_10656.jpg', '/home/nano/Desktop/images/10072025/22/14/image_10072025_22_15_04_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/17/image_10072025_22_17_33_9651.jpg
/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_54_10655.jpg
/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_43_9646.jpg
/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_33_9647.jpg
/home/nano/Desktop/images/10072025/22/16/image_10072025_22_16_24_10656.jpg
/home/nano/Desktop/images/10072025/22/14/image_10072025_22_15_04_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784886","1371784879","1371784888","1371784882","1371784876","1371784884"],"photo_ids_order":["1371784876","1371784879","1371784882","1371784884","1371784886","1371784888"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df316311f4077cd7604f8b1489fcf729.jpg","text":"TemporaryFile(/tmp/multipartBody5780272797732675168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282605917,"filename":"image_10072025_22_16_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31d0e15caebd3e394494a78fb59800d0.jpg","text":"TemporaryFile(/tmp/multipartBody1474120331170589936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282605917,"filename":"image_10072025_22_16_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e72acc042fe7faddd34b9c14b147e9b.jpg","text":"TemporaryFile(/tmp/multipartBody196611849799449566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282605917,"filename":"image_10072025_22_15_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a2ab998056047135fc1e63e63ff136a.jpg","text":"TemporaryFile(/tmp/multipartBody2960918007481215875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282605917,"filename":"image_10072025_22_16_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf3cbd3aeea98b9338324aff910ea8ff.jpg","text":"TemporaryFile(/tmp/multipartBody3379805582109946801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282605917,"filename":"image_10072025_22_17_33_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6aea65a776d1e8be8ea2771894f8ef27.jpg","text":"TemporaryFile(/tmp/multipartBody4150173267754520357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282605917,"filename":"image_10072025_22_16_33_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784882","file1":"1371784879","file0":"1371784876","file4":"1371784886","file5":"1371784888","file3":"1371784884"},"map_files_photo_id_array":[{"photo_id":"1371784888","filename":"file5"},{"photo_id":"1371784882","filename":"file2"},{"photo_id":"1371784886","filename":"file4"},{"photo_id":"1371784879","filename":"file1"},{"photo_id":"1371784876","filename":"file0"},{"photo_id":"1371784884","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371784886":["hashtag1","hashtag2"]},{"1371784879":["hashtag1","hashtag2"]},{"1371784888":["hashtag1","hashtag2"]},{"1371784882":["hashtag1","hashtag2"]},{"1371784876":["hashtag1","hashtag2"]},{"1371784884":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371784886, 1371784879, 1371784888, 1371784882, 1371784876, 1371784884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12998127937317 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:09:47.435156
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_44_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_34_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/03/08/image_12072025_03_09_04_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/03/08/image_12072025_03_08_53_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_44_9646.jpg', '/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_34_10666.jpg', '/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_23_9640.jpg', '/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_14_9658.jpg', '/home/nano/Desktop/images/12072025/03/08/image_12072025_03_09_04_10653.jpg', '/home/nano/Desktop/images/12072025/03/08/image_12072025_03_08_53_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_44_9646.jpg
/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_34_10666.jpg
/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_23_9640.jpg
/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_14_9658.jpg
/home/nano/Desktop/images/12072025/03/08/image_12072025_03_09_04_10653.jpg
/home/nano/Desktop/images/12072025/03/08/image_12072025_03_08_53_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784935","1371784931","1371784928","1371784942","1371784945","1371784938"],"photo_ids_order":["1371784928","1371784931","1371784935","1371784938","1371784942","1371784945"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb502a65cb97d8205fb7ff2597ea2aa4.jpg","text":"TemporaryFile(/tmp/multipartBody3326846414507459588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282648590,"filename":"image_12072025_03_09_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe08d25f4a3768b806141907933265ed.jpg","text":"TemporaryFile(/tmp/multipartBody2254226456762430418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282648590,"filename":"image_12072025_03_09_34_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5eb76f3c029cc3db2636304e4cb7c53d.jpg","text":"TemporaryFile(/tmp/multipartBody3058470652274889627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282648590,"filename":"image_12072025_03_09_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b5fc5e3a362f05b1872a859dbdaed47.jpg","text":"TemporaryFile(/tmp/multipartBody6781131435358861084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282648590,"filename":"image_12072025_03_09_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa9d79173e40344103b9f514c3e723dd.jpg","text":"TemporaryFile(/tmp/multipartBody2184835430864863931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282648590,"filename":"image_12072025_03_08_53_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d3a0698ad6a6c2c81d5c84a9a45b744.jpg","text":"TemporaryFile(/tmp/multipartBody8619471670734985113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282648590,"filename":"image_12072025_03_09_14_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784935","file1":"1371784931","file0":"1371784928","file4":"1371784942","file5":"1371784945","file3":"1371784938"},"map_files_photo_id_array":[{"photo_id":"1371784945","filename":"file5"},{"photo_id":"1371784935","filename":"file2"},{"photo_id":"1371784942","filename":"file4"},{"photo_id":"1371784931","filename":"file1"},{"photo_id":"1371784928","filename":"file0"},{"photo_id":"1371784938","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371784935":["hashtag1","hashtag2"]},{"1371784931":["hashtag1","hashtag2"]},{"1371784928":["hashtag1","hashtag2"]},{"1371784942":["hashtag1","hashtag2"]},{"1371784945":["hashtag1","hashtag2"]},{"1371784938":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371784935, 1371784931, 1371784928, 1371784942, 1371784945, 1371784938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.203137159347534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:10:32.518703
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_23_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_14_9682.jpg', 2), ('/home/nano/Desktop/images/12072025/03/09/image_12072025_03_10_04_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_53_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_43_9640.jpg', '/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_34_10649.jpg', '/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_23_9661.jpg', '/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_14_9682.jpg', '/home/nano/Desktop/images/12072025/03/09/image_12072025_03_10_04_10670.jpg', '/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_53_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_43_9640.jpg
/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_34_10649.jpg
/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_23_9661.jpg
/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_14_9682.jpg
/home/nano/Desktop/images/12072025/03/09/image_12072025_03_10_04_10670.jpg
/home/nano/Desktop/images/12072025/03/09/image_12072025_03_09_53_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371784953","1371784955","1371784958","1371784951","1371784960","1371784963"],"photo_ids_order":["1371784951","1371784953","1371784955","1371784958","1371784960","1371784963"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d1f2202638753c5c3b237f9dcf87d75.jpg","text":"TemporaryFile(/tmp/multipartBody2344240680335711403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282693767,"filename":"image_12072025_03_10_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee4ae8015015e0afcb11d4bc38c4a852.jpg","text":"TemporaryFile(/tmp/multipartBody6102309210816283115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282693767,"filename":"image_12072025_03_10_23_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97a60bdb6704d103f5215de5eb66b542.jpg","text":"TemporaryFile(/tmp/multipartBody1126482465388951642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282693767,"filename":"image_12072025_03_10_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7902aefc1850dfb7d8d7be9eb8d8b0b7.jpg","text":"TemporaryFile(/tmp/multipartBody7912103679762686689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282693767,"filename":"image_12072025_03_10_43_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/328f11b4788fbecdc08b8261ba2bfeef.jpg","text":"TemporaryFile(/tmp/multipartBody7861860288657862352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282693767,"filename":"image_12072025_03_10_04_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b70168fde0fa28dc34919c7f8d624f0.jpg","text":"TemporaryFile(/tmp/multipartBody7927887315520596046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282693767,"filename":"image_12072025_03_09_53_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784955","file1":"1371784953","file0":"1371784951","file4":"1371784960","file5":"1371784963","file3":"1371784958"},"map_files_photo_id_array":[{"photo_id":"1371784963","filename":"file5"},{"photo_id":"1371784955","filename":"file2"},{"photo_id":"1371784960","filename":"file4"},{"photo_id":"1371784953","filename":"file1"},{"photo_id":"1371784951","filename":"file0"},{"photo_id":"1371784958","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371784953":["hashtag1","hashtag2"]},{"1371784955":["hashtag1","hashtag2"]},{"1371784958":["hashtag1","hashtag2"]},{"1371784951":["hashtag1","hashtag2"]},{"1371784960":["hashtag1","hashtag2"]},{"1371784963":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371784953, 1371784955, 1371784958, 1371784951, 1371784960, 1371784963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.159061193466187 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:11:17.643474
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/10/image_12072025_03_11_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_53_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_43_9637.jpg', '/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_34_10647.jpg', '/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_23_9637.jpg', '/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_13_9656.jpg', '/home/nano/Desktop/images/12072025/03/10/image_12072025_03_11_04_10661.jpg', '/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_53_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_43_9637.jpg
/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_34_10647.jpg
/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_23_9637.jpg
/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_13_9656.jpg
/home/nano/Desktop/images/12072025/03/10/image_12072025_03_11_04_10661.jpg
/home/nano/Desktop/images/12072025/03/10/image_12072025_03_10_53_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785004","1371784990","1371784992","1371784995","1371784989","1371784986"],"photo_ids_order":["1371784986","1371784989","1371784990","1371784992","1371784995","1371785004"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42a48b120bc2a0b54c4c4790af8c492b.jpg","text":"TemporaryFile(/tmp/multipartBody5375629010004344986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282739986,"filename":"image_12072025_03_10_53_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc091de56f1387b87c5256eea124016e.jpg","text":"TemporaryFile(/tmp/multipartBody1162199964384927730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282739986,"filename":"image_12072025_03_11_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8254fc877d2b3319868de299d1719a1.jpg","text":"TemporaryFile(/tmp/multipartBody2263464381711435027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282739986,"filename":"image_12072025_03_11_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29a277a78d7431fc174a94174bb4e796.jpg","text":"TemporaryFile(/tmp/multipartBody8664685467645474664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282739986,"filename":"image_12072025_03_11_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44c622f055d0ac2a1816d7b06d7bc890.jpg","text":"TemporaryFile(/tmp/multipartBody6249624460278181449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282739986,"filename":"image_12072025_03_11_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3916bc3a14dbcfb97148f24dccddfe66.jpg","text":"TemporaryFile(/tmp/multipartBody3197552729288103046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282739986,"filename":"image_12072025_03_11_43_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371784990","file1":"1371784989","file0":"1371784986","file4":"1371784995","file5":"1371785004","file3":"1371784992"},"map_files_photo_id_array":[{"photo_id":"1371785004","filename":"file5"},{"photo_id":"1371784990","filename":"file2"},{"photo_id":"1371784995","filename":"file4"},{"photo_id":"1371784989","filename":"file1"},{"photo_id":"1371784986","filename":"file0"},{"photo_id":"1371784992","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785004":["hashtag1","hashtag2"]},{"1371784990":["hashtag1","hashtag2"]},{"1371784992":["hashtag1","hashtag2"]},{"1371784995":["hashtag1","hashtag2"]},{"1371784989":["hashtag1","hashtag2"]},{"1371784986":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785004, 1371784990, 1371784992, 1371784995, 1371784989, 1371784986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.414745569229126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:12:03.094813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/14/image_10072025_22_14_54_10665.jpg', 2), ('/home/nano/Desktop/images/10072025/22/14/image_10072025_22_14_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/14/image_10072025_22_14_13_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/22/13/image_10072025_22_14_04_9675.jpg', 2), ('/home/nano/Desktop/images/10072025/22/13/image_10072025_22_13_34_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/22/13/image_10072025_22_13_24_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/14/image_10072025_22_14_54_10665.jpg', '/home/nano/Desktop/images/10072025/22/14/image_10072025_22_14_43_9646.jpg', '/home/nano/Desktop/images/10072025/22/14/image_10072025_22_14_13_9665.jpg', '/home/nano/Desktop/images/10072025/22/13/image_10072025_22_14_04_9675.jpg', '/home/nano/Desktop/images/10072025/22/13/image_10072025_22_13_34_9653.jpg', '/home/nano/Desktop/images/10072025/22/13/image_10072025_22_13_24_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/14/image_10072025_22_14_54_10665.jpg
/home/nano/Desktop/images/10072025/22/14/image_10072025_22_14_43_9646.jpg
/home/nano/Desktop/images/10072025/22/14/image_10072025_22_14_13_9665.jpg
/home/nano/Desktop/images/10072025/22/13/image_10072025_22_14_04_9675.jpg
/home/nano/Desktop/images/10072025/22/13/image_10072025_22_13_34_9653.jpg
/home/nano/Desktop/images/10072025/22/13/image_10072025_22_13_24_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785022","1371785030","1371785033","1371785035","1371785025","1371785028"],"photo_ids_order":["1371785022","1371785025","1371785028","1371785030","1371785033","1371785035"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d366efdfc8f76c47efe387c3295428f.jpg","text":"TemporaryFile(/tmp/multipartBody6737550452615277361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282785994,"filename":"image_10072025_22_14_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65714fde66b83ae69bbe778048c711fa.jpg","text":"TemporaryFile(/tmp/multipartBody4476847240024197080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282785994,"filename":"image_10072025_22_14_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fb329cdd5cf5732ea37dd6830c8a950.jpg","text":"TemporaryFile(/tmp/multipartBody6506903576085153539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282785994,"filename":"image_10072025_22_13_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1bc15c907337a23ffb5efd616fa62f3.jpg","text":"TemporaryFile(/tmp/multipartBody1185820012440821259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282785994,"filename":"image_10072025_22_13_24_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfebc2105fd264dfe67a515d6cfba9bd.jpg","text":"TemporaryFile(/tmp/multipartBody226114785863660371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282785994,"filename":"image_10072025_22_14_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f8be76ba87f9f55516dbfeed0e2a679.jpg","text":"TemporaryFile(/tmp/multipartBody7779407105735559082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282785994,"filename":"image_10072025_22_14_13_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785028","file1":"1371785025","file0":"1371785022","file4":"1371785033","file5":"1371785035","file3":"1371785030"},"map_files_photo_id_array":[{"photo_id":"1371785035","filename":"file5"},{"photo_id":"1371785028","filename":"file2"},{"photo_id":"1371785033","filename":"file4"},{"photo_id":"1371785025","filename":"file1"},{"photo_id":"1371785022","filename":"file0"},{"photo_id":"1371785030","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371785022":["hashtag1","hashtag2"]},{"1371785030":["hashtag1","hashtag2"]},{"1371785033":["hashtag1","hashtag2"]},{"1371785035":["hashtag1","hashtag2"]},{"1371785025":["hashtag1","hashtag2"]},{"1371785028":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371785022, 1371785030, 1371785033, 1371785035, 1371785025, 1371785028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72207164764404 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:12:47.738887
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_34_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_24_10672.jpg', 2), ('/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_13_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_54_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_43_9638.jpg', '/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_34_9645.jpg', '/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_24_10672.jpg', '/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_13_9671.jpg', '/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_54_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_43_9638.jpg
/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_34_9645.jpg
/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_24_10672.jpg
/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_13_9671.jpg
/home/nano/Desktop/images/12072025/03/11/image_12072025_03_11_54_10655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785054","1371785057","1371785047","1371785043","1371785040"],"photo_ids_order":["1371785040","1371785043","1371785047","1371785054","1371785057"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d80c2f4a1d30d7a21d2b3677e3c960c7.jpg","text":"TemporaryFile(/tmp/multipartBody8151046998012930161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282828970,"filename":"image_12072025_03_12_13_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ba78e80bc68491c99b280a02e2c5c88.jpg","text":"TemporaryFile(/tmp/multipartBody4248103650868410495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282828970,"filename":"image_12072025_03_11_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/494f85b7cdcb773c9f847cf53f6f42f6.jpg","text":"TemporaryFile(/tmp/multipartBody2059847737476924460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282828970,"filename":"image_12072025_03_12_24_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83d97dcb3a92855239237c46bb24e43b.jpg","text":"TemporaryFile(/tmp/multipartBody6749117673257819738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282828970,"filename":"image_12072025_03_12_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/622aeced9b01dda0d74363809e584bb3.jpg","text":"TemporaryFile(/tmp/multipartBody2703716604788916422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282828970,"filename":"image_12072025_03_12_43_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785047","file1":"1371785043","file0":"1371785040","file4":"1371785057","file3":"1371785054"},"map_files_photo_id_array":[{"photo_id":"1371785047","filename":"file2"},{"photo_id":"1371785057","filename":"file4"},{"photo_id":"1371785043","filename":"file1"},{"photo_id":"1371785040","filename":"file0"},{"photo_id":"1371785054","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785054":["hashtag1","hashtag2"]},{"1371785057":["hashtag1","hashtag2"]},{"1371785047":["hashtag1","hashtag2"]},{"1371785043":["hashtag1","hashtag2"]},{"1371785040":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785054, 1371785057, 1371785047, 1371785043, 1371785040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.687492847442627 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:13:16.850557
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_43_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_34_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_24_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_13_9673.jpg', 2), ('/home/nano/Desktop/images/12072025/03/12/image_12072025_03_13_04_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_54_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_43_9644.jpg', '/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_34_9641.jpg', '/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_24_10645.jpg', '/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_13_9673.jpg', '/home/nano/Desktop/images/12072025/03/12/image_12072025_03_13_04_9666.jpg', '/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_54_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_43_9644.jpg
/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_34_9641.jpg
/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_24_10645.jpg
/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_13_9673.jpg
/home/nano/Desktop/images/12072025/03/12/image_12072025_03_13_04_9666.jpg
/home/nano/Desktop/images/12072025/03/12/image_12072025_03_12_54_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785072","1371785066","1371785075","1371785068","1371785070","1371785064"],"photo_ids_order":["1371785064","1371785066","1371785068","1371785070","1371785072","1371785075"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff0682445b3dce14db5fbb3eab45353b.jpg","text":"TemporaryFile(/tmp/multipartBody1082586245195696673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282858204,"filename":"image_12072025_03_13_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81887adb08837a7e617d9a411670ace6.jpg","text":"TemporaryFile(/tmp/multipartBody7312594082693013787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282858204,"filename":"image_12072025_03_13_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9008b5e28c9d9900f87da5164ecee295.jpg","text":"TemporaryFile(/tmp/multipartBody3927544728617269201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282858204,"filename":"image_12072025_03_12_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cfa316889cdb367c5ab720c3ea1b0f49.jpg","text":"TemporaryFile(/tmp/multipartBody6375517235812285278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282858204,"filename":"image_12072025_03_13_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e637cd57f4533abac2869aa1b0c984d8.jpg","text":"TemporaryFile(/tmp/multipartBody5724601397638768968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282858204,"filename":"image_12072025_03_13_13_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/081be9725d5624cc25af22548502a76b.jpg","text":"TemporaryFile(/tmp/multipartBody8939339831838014639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282858204,"filename":"image_12072025_03_13_43_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785068","file1":"1371785066","file0":"1371785064","file4":"1371785072","file5":"1371785075","file3":"1371785070"},"map_files_photo_id_array":[{"photo_id":"1371785075","filename":"file5"},{"photo_id":"1371785068","filename":"file2"},{"photo_id":"1371785072","filename":"file4"},{"photo_id":"1371785066","filename":"file1"},{"photo_id":"1371785064","filename":"file0"},{"photo_id":"1371785070","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785072":["hashtag1","hashtag2"]},{"1371785066":["hashtag1","hashtag2"]},{"1371785075":["hashtag1","hashtag2"]},{"1371785068":["hashtag1","hashtag2"]},{"1371785070":["hashtag1","hashtag2"]},{"1371785064":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785072, 1371785066, 1371785075, 1371785068, 1371785070, 1371785064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01326560974121 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:14:02.497698
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/13/image_10072025_22_13_13_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/22/12/image_10072025_22_13_04_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/12/image_10072025_22_12_13_9686.jpg', 2), ('/home/nano/Desktop/images/10072025/22/11/image_10072025_22_12_04_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/22/11/image_10072025_22_11_54_10659.jpg', 2), ('/home/nano/Desktop/images/10072025/22/11/image_10072025_22_11_43_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/13/image_10072025_22_13_13_9664.jpg', '/home/nano/Desktop/images/10072025/22/12/image_10072025_22_13_04_9647.jpg', '/home/nano/Desktop/images/10072025/22/12/image_10072025_22_12_13_9686.jpg', '/home/nano/Desktop/images/10072025/22/11/image_10072025_22_12_04_9656.jpg', '/home/nano/Desktop/images/10072025/22/11/image_10072025_22_11_54_10659.jpg', '/home/nano/Desktop/images/10072025/22/11/image_10072025_22_11_43_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/13/image_10072025_22_13_13_9664.jpg
/home/nano/Desktop/images/10072025/22/12/image_10072025_22_13_04_9647.jpg
/home/nano/Desktop/images/10072025/22/12/image_10072025_22_12_13_9686.jpg
/home/nano/Desktop/images/10072025/22/11/image_10072025_22_12_04_9656.jpg
/home/nano/Desktop/images/10072025/22/11/image_10072025_22_11_54_10659.jpg
/home/nano/Desktop/images/10072025/22/11/image_10072025_22_11_43_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785096","1371785095","1371785089","1371785086","1371785094","1371785097"],"photo_ids_order":["1371785086","1371785089","1371785094","1371785095","1371785096","1371785097"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0c029fe87df3a5b1e7de702feeecac5.jpg","text":"TemporaryFile(/tmp/multipartBody4352222642161258241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282905483,"filename":"image_10072025_22_11_54_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd417029dfd9e445767b73993bcdfea8.jpg","text":"TemporaryFile(/tmp/multipartBody1918945910890578776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282905483,"filename":"image_10072025_22_12_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e89137c07894f899d6332444ed277453.jpg","text":"TemporaryFile(/tmp/multipartBody2790601105880709191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282905483,"filename":"image_10072025_22_13_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbcb96863bf1dbf8b8fc2666b26e777a.jpg","text":"TemporaryFile(/tmp/multipartBody6902020916173160233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282905483,"filename":"image_10072025_22_13_13_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51fdc101740f7a7a4740448fe361cf22.jpg","text":"TemporaryFile(/tmp/multipartBody946548891637681812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282905483,"filename":"image_10072025_22_12_13_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f11486bde308fb6872007f369f9405dd.jpg","text":"TemporaryFile(/tmp/multipartBody5458982728536885911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282905483,"filename":"image_10072025_22_11_43_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785094","file1":"1371785089","file0":"1371785086","file4":"1371785096","file5":"1371785097","file3":"1371785095"},"map_files_photo_id_array":[{"photo_id":"1371785097","filename":"file5"},{"photo_id":"1371785094","filename":"file2"},{"photo_id":"1371785096","filename":"file4"},{"photo_id":"1371785089","filename":"file1"},{"photo_id":"1371785086","filename":"file0"},{"photo_id":"1371785095","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371785096":["hashtag1","hashtag2"]},{"1371785095":["hashtag1","hashtag2"]},{"1371785089":["hashtag1","hashtag2"]},{"1371785086":["hashtag1","hashtag2"]},{"1371785094":["hashtag1","hashtag2"]},{"1371785097":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371785096, 1371785095, 1371785089, 1371785086, 1371785094, 1371785097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.276716470718384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:14:46.965367
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/14/image_12072025_03_14_34_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/14/image_12072025_03_14_24_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/14/image_12072025_03_14_13_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/03/13/image_12072025_03_14_04_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_54_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/14/image_12072025_03_14_34_9655.jpg', '/home/nano/Desktop/images/12072025/03/14/image_12072025_03_14_24_10655.jpg', '/home/nano/Desktop/images/12072025/03/14/image_12072025_03_14_13_9661.jpg', '/home/nano/Desktop/images/12072025/03/13/image_12072025_03_14_04_9647.jpg', '/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_54_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/14/image_12072025_03_14_34_9655.jpg
/home/nano/Desktop/images/12072025/03/14/image_12072025_03_14_24_10655.jpg
/home/nano/Desktop/images/12072025/03/14/image_12072025_03_14_13_9661.jpg
/home/nano/Desktop/images/12072025/03/13/image_12072025_03_14_04_9647.jpg
/home/nano/Desktop/images/12072025/03/13/image_12072025_03_13_54_10656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785132","1371785114","1371785128","1371785122","1371785119"],"photo_ids_order":["1371785114","1371785119","1371785122","1371785128","1371785132"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cae96e3315bd6a762c2bbd764610afc7.jpg","text":"TemporaryFile(/tmp/multipartBody2100648019420474453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282948224,"filename":"image_12072025_03_13_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/49d6065e545e8b64ec858c7ba5fbcf42.jpg","text":"TemporaryFile(/tmp/multipartBody8973296934384886121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282948224,"filename":"image_12072025_03_14_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77bd327dde5b7806e102fac34e92c9f2.jpg","text":"TemporaryFile(/tmp/multipartBody7250462498899516070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282948224,"filename":"image_12072025_03_14_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/338dd99cd3d261044869aacfa3021161.jpg","text":"TemporaryFile(/tmp/multipartBody6274328960300130105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282948224,"filename":"image_12072025_03_14_13_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/393bedfab512c5c4dbf601d1bd90d3ab.jpg","text":"TemporaryFile(/tmp/multipartBody3451857382573062129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282948224,"filename":"image_12072025_03_14_24_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785122","file1":"1371785119","file0":"1371785114","file4":"1371785132","file3":"1371785128"},"map_files_photo_id_array":[{"photo_id":"1371785122","filename":"file2"},{"photo_id":"1371785132","filename":"file4"},{"photo_id":"1371785119","filename":"file1"},{"photo_id":"1371785114","filename":"file0"},{"photo_id":"1371785128","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785132":["hashtag1","hashtag2"]},{"1371785114":["hashtag1","hashtag2"]},{"1371785128":["hashtag1","hashtag2"]},{"1371785122":["hashtag1","hashtag2"]},{"1371785119":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785132, 1371785114, 1371785128, 1371785122, 1371785119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.35120129585266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:15:17.065896
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_43_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_33_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_24_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_13_9699.jpg', 2), ('/home/nano/Desktop/images/12072025/03/14/image_12072025_03_15_03_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/03/14/image_12072025_03_14_43_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_43_9641.jpg', '/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_33_9641.jpg', '/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_24_10655.jpg', '/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_13_9699.jpg', '/home/nano/Desktop/images/12072025/03/14/image_12072025_03_15_03_9644.jpg', '/home/nano/Desktop/images/12072025/03/14/image_12072025_03_14_43_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_43_9641.jpg
/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_33_9641.jpg
/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_24_10655.jpg
/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_13_9699.jpg
/home/nano/Desktop/images/12072025/03/14/image_12072025_03_15_03_9644.jpg
/home/nano/Desktop/images/12072025/03/14/image_12072025_03_14_43_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785150","1371785144","1371785143","1371785152","1371785146","1371785148"],"photo_ids_order":["1371785143","1371785144","1371785146","1371785148","1371785150","1371785152"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff5a1701d36b9ee0afac655d71d0dc5e.jpg","text":"TemporaryFile(/tmp/multipartBody1557997016254765133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282978300,"filename":"image_12072025_03_15_03_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a03da1182bd13c56d3cebc923fd7d371.jpg","text":"TemporaryFile(/tmp/multipartBody3448199948500674926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282978300,"filename":"image_12072025_03_15_33_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44d262ef194cef188fcbca80a635af41.jpg","text":"TemporaryFile(/tmp/multipartBody2433777636507655019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282978300,"filename":"image_12072025_03_15_43_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e269b2282a3866c600eb60d72d7da36.jpg","text":"TemporaryFile(/tmp/multipartBody6503303076840263783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282978300,"filename":"image_12072025_03_14_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4dd4eadfbfcf25000221808575cefc0.jpg","text":"TemporaryFile(/tmp/multipartBody2103511074129913906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282978300,"filename":"image_12072025_03_15_24_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e618f470299ae584be0f47bb7d8885d.jpg","text":"TemporaryFile(/tmp/multipartBody2659206208085968652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752282978300,"filename":"image_12072025_03_15_13_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785146","file1":"1371785144","file0":"1371785143","file4":"1371785150","file5":"1371785152","file3":"1371785148"},"map_files_photo_id_array":[{"photo_id":"1371785152","filename":"file5"},{"photo_id":"1371785146","filename":"file2"},{"photo_id":"1371785150","filename":"file4"},{"photo_id":"1371785144","filename":"file1"},{"photo_id":"1371785143","filename":"file0"},{"photo_id":"1371785148","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785150":["hashtag1","hashtag2"]},{"1371785144":["hashtag1","hashtag2"]},{"1371785143":["hashtag1","hashtag2"]},{"1371785152":["hashtag1","hashtag2"]},{"1371785146":["hashtag1","hashtag2"]},{"1371785148":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785150, 1371785144, 1371785143, 1371785152, 1371785146, 1371785148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30777430534363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:16:02.519732
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/11/image_10072025_22_11_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/10/image_10072025_22_11_04_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_53_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_34_10659.jpg', 2), ('/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_23_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/11/image_10072025_22_11_23_9646.jpg', '/home/nano/Desktop/images/10072025/22/10/image_10072025_22_11_04_10655.jpg', '/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_53_9653.jpg', '/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_43_9646.jpg', '/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_34_10659.jpg', '/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_23_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/11/image_10072025_22_11_23_9646.jpg
/home/nano/Desktop/images/10072025/22/10/image_10072025_22_11_04_10655.jpg
/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_53_9653.jpg
/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_43_9646.jpg
/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_34_10659.jpg
/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_23_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785183","1371785189","1371785173","1371785190","1371785187","1371785178"],"photo_ids_order":["1371785173","1371785178","1371785183","1371785187","1371785189","1371785190"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/280abf7a7ef868a776b9ab19b885665b.jpg","text":"TemporaryFile(/tmp/multipartBody2897425591710327010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283025307,"filename":"image_10072025_22_10_53_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35dab3c8553c7e01fb8bc23a434c5e8d.jpg","text":"TemporaryFile(/tmp/multipartBody2546254766676528553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283025307,"filename":"image_10072025_22_10_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19f0a61c22f8beb4f2e2a1d00652ace6.jpg","text":"TemporaryFile(/tmp/multipartBody7955082427214001838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283025307,"filename":"image_10072025_22_11_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/026dccfe46f9c094c4b331431f4f4753.jpg","text":"TemporaryFile(/tmp/multipartBody4088879662473333392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283025307,"filename":"image_10072025_22_10_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5753bfab9bc3fade68c3b1cdb1fc04e6.jpg","text":"TemporaryFile(/tmp/multipartBody3333424228630404684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283025307,"filename":"image_10072025_22_10_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4771a3261447bf041f3e49ee1e1cd123.jpg","text":"TemporaryFile(/tmp/multipartBody5014912730088688469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283025307,"filename":"image_10072025_22_11_04_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785183","file1":"1371785178","file0":"1371785173","file4":"1371785189","file5":"1371785190","file3":"1371785187"},"map_files_photo_id_array":[{"photo_id":"1371785190","filename":"file5"},{"photo_id":"1371785183","filename":"file2"},{"photo_id":"1371785189","filename":"file4"},{"photo_id":"1371785178","filename":"file1"},{"photo_id":"1371785173","filename":"file0"},{"photo_id":"1371785187","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371785183":["hashtag1","hashtag2"]},{"1371785189":["hashtag1","hashtag2"]},{"1371785173":["hashtag1","hashtag2"]},{"1371785190":["hashtag1","hashtag2"]},{"1371785187":["hashtag1","hashtag2"]},{"1371785178":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371785183, 1371785189, 1371785173, 1371785190, 1371785187, 1371785178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.573843002319336 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:16:47.188344
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_44_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_33_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_24_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_14_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/03/15/image_12072025_03_16_03_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_54_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_44_10656.jpg', '/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_33_9655.jpg', '/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_24_9640.jpg', '/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_14_10663.jpg', '/home/nano/Desktop/images/12072025/03/15/image_12072025_03_16_03_9644.jpg', '/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_54_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_44_10656.jpg
/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_33_9655.jpg
/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_24_9640.jpg
/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_14_10663.jpg
/home/nano/Desktop/images/12072025/03/15/image_12072025_03_16_03_9644.jpg
/home/nano/Desktop/images/12072025/03/15/image_12072025_03_15_54_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785208","1371785202","1371785216","1371785219","1371785206","1371785215"],"photo_ids_order":["1371785202","1371785206","1371785208","1371785215","1371785216","1371785219"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14b2c92d9702ab0b476f4dd9d2d0004b.jpg","text":"TemporaryFile(/tmp/multipartBody824345852890407848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283068549,"filename":"image_12072025_03_16_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6dab402c59c0891e53a55566270ddaed.jpg","text":"TemporaryFile(/tmp/multipartBody928682186060073174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283068549,"filename":"image_12072025_03_16_44_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d929f2c8665a485819707016758059e0.jpg","text":"TemporaryFile(/tmp/multipartBody4313819871150336986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283068549,"filename":"image_12072025_03_16_03_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ad9bb70f731769f4d584a87b25dfd15.jpg","text":"TemporaryFile(/tmp/multipartBody1253746200445580406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283068549,"filename":"image_12072025_03_15_54_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/178ea89ba5136f264d2db87a1f220dbb.jpg","text":"TemporaryFile(/tmp/multipartBody452644075978484393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283068549,"filename":"image_12072025_03_16_33_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4237afdb23fae97eabbf73f27c2441f1.jpg","text":"TemporaryFile(/tmp/multipartBody6815926278563285396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283068549,"filename":"image_12072025_03_16_14_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785208","file1":"1371785206","file0":"1371785202","file4":"1371785216","file5":"1371785219","file3":"1371785215"},"map_files_photo_id_array":[{"photo_id":"1371785219","filename":"file5"},{"photo_id":"1371785208","filename":"file2"},{"photo_id":"1371785216","filename":"file4"},{"photo_id":"1371785206","filename":"file1"},{"photo_id":"1371785202","filename":"file0"},{"photo_id":"1371785215","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785208":["hashtag1","hashtag2"]},{"1371785202":["hashtag1","hashtag2"]},{"1371785216":["hashtag1","hashtag2"]},{"1371785219":["hashtag1","hashtag2"]},{"1371785206":["hashtag1","hashtag2"]},{"1371785215":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785208, 1371785202, 1371785216, 1371785219, 1371785206, 1371785215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.123586893081665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:17:32.264805
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_44_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_33_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_14_10678.jpg', 2), ('/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_44_10655.jpg', '/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_33_9656.jpg', '/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_24_9638.jpg', '/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_14_10678.jpg', '/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_44_10655.jpg
/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_33_9656.jpg
/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_24_9638.jpg
/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_14_10678.jpg
/home/nano/Desktop/images/12072025/03/16/image_12072025_03_16_54_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785229","1371785233","1371785227","1371785235","1371785226"],"photo_ids_order":["1371785226","1371785227","1371785229","1371785233","1371785235"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c36220c9289545bbd1127eeb3d101e2.jpg","text":"TemporaryFile(/tmp/multipartBody5643925597468379174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283113620,"filename":"image_12072025_03_17_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c65a904b41b793feb0d938645faf93ef.jpg","text":"TemporaryFile(/tmp/multipartBody8648960175237784027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283113620,"filename":"image_12072025_03_17_14_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/deb70fde88f9f0c71686f5c376da3e3c.jpg","text":"TemporaryFile(/tmp/multipartBody8509152747007147441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283113620,"filename":"image_12072025_03_17_33_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0cab20a7c003fc890d184298835438a.jpg","text":"TemporaryFile(/tmp/multipartBody5992846259547812967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283113620,"filename":"image_12072025_03_16_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1a3e5ff7f437ac80ff4796b736a937b.jpg","text":"TemporaryFile(/tmp/multipartBody252706537529482156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283113620,"filename":"image_12072025_03_17_44_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785229","file1":"1371785227","file0":"1371785226","file4":"1371785235","file3":"1371785233"},"map_files_photo_id_array":[{"photo_id":"1371785229","filename":"file2"},{"photo_id":"1371785235","filename":"file4"},{"photo_id":"1371785227","filename":"file1"},{"photo_id":"1371785226","filename":"file0"},{"photo_id":"1371785233","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785229":["hashtag1","hashtag2"]},{"1371785233":["hashtag1","hashtag2"]},{"1371785227":["hashtag1","hashtag2"]},{"1371785235":["hashtag1","hashtag2"]},{"1371785226":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785229, 1371785233, 1371785227, 1371785235, 1371785226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.322036743164062 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:18:02.725145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_13_9685.jpg', 2), ('/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_34_10674.jpg', 2), ('/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_23_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_13_9686.jpg', 2), ('/home/nano/Desktop/images/10072025/22/08/image_10072025_22_08_53_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/22/07/image_10072025_22_08_04_10684.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_13_9685.jpg', '/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_34_10674.jpg', '/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_23_9648.jpg', '/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_13_9686.jpg', '/home/nano/Desktop/images/10072025/22/08/image_10072025_22_08_53_9657.jpg', '/home/nano/Desktop/images/10072025/22/07/image_10072025_22_08_04_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_13_9685.jpg
/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_34_10674.jpg
/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_23_9648.jpg
/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_13_9686.jpg
/home/nano/Desktop/images/10072025/22/08/image_10072025_22_08_53_9657.jpg
/home/nano/Desktop/images/10072025/22/07/image_10072025_22_08_04_10684.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8645071983337402 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:18:17.396014
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_24_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_14_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/03/17/image_12072025_03_18_03_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_44_10648.jpg', '/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_33_9640.jpg', '/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_24_9644.jpg', '/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_14_10662.jpg', '/home/nano/Desktop/images/12072025/03/17/image_12072025_03_18_03_9641.jpg', '/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_54_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_44_10648.jpg
/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_33_9640.jpg
/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_24_9644.jpg
/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_14_10662.jpg
/home/nano/Desktop/images/12072025/03/17/image_12072025_03_18_03_9641.jpg
/home/nano/Desktop/images/12072025/03/17/image_12072025_03_17_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785273","1371785275","1371785269","1371785271","1371785262","1371785265"],"photo_ids_order":["1371785262","1371785265","1371785269","1371785271","1371785273","1371785275"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/545c21ea4d9375c4339926c811ff9032.jpg","text":"TemporaryFile(/tmp/multipartBody8965653656858452570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283158373,"filename":"image_12072025_03_18_03_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba5b0a9b83980e3d80a4cd2279a7c89d.jpg","text":"TemporaryFile(/tmp/multipartBody8705629900899263355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283158373,"filename":"image_12072025_03_17_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70475c324e174443e3c54bd70d4a82fd.jpg","text":"TemporaryFile(/tmp/multipartBody2670636049710868701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283158373,"filename":"image_12072025_03_18_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65c9b736b4de9ac4bdf520d634247a93.jpg","text":"TemporaryFile(/tmp/multipartBody5417928858885113519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283158373,"filename":"image_12072025_03_18_14_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de7526c404616525d28282e378bdd56e.jpg","text":"TemporaryFile(/tmp/multipartBody455838884792355767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283158373,"filename":"image_12072025_03_18_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/898211d57d499497d3404e4476ed6c1b.jpg","text":"TemporaryFile(/tmp/multipartBody8040804555883487709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283158373,"filename":"image_12072025_03_18_33_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785269","file1":"1371785265","file0":"1371785262","file4":"1371785273","file5":"1371785275","file3":"1371785271"},"map_files_photo_id_array":[{"photo_id":"1371785275","filename":"file5"},{"photo_id":"1371785269","filename":"file2"},{"photo_id":"1371785273","filename":"file4"},{"photo_id":"1371785265","filename":"file1"},{"photo_id":"1371785262","filename":"file0"},{"photo_id":"1371785271","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785273":["hashtag1","hashtag2"]},{"1371785275":["hashtag1","hashtag2"]},{"1371785269":["hashtag1","hashtag2"]},{"1371785271":["hashtag1","hashtag2"]},{"1371785262":["hashtag1","hashtag2"]},{"1371785265":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785273, 1371785275, 1371785269, 1371785271, 1371785262, 1371785265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.0471453666687 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:19:03.352003
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_13_9685.jpg', 2), ('/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_34_10674.jpg', 2), ('/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_23_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_13_9686.jpg', 2), ('/home/nano/Desktop/images/10072025/22/08/image_10072025_22_08_53_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/22/07/image_10072025_22_08_04_10684.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_13_9685.jpg', '/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_34_10674.jpg', '/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_23_9648.jpg', '/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_13_9686.jpg', '/home/nano/Desktop/images/10072025/22/08/image_10072025_22_08_53_9657.jpg', '/home/nano/Desktop/images/10072025/22/07/image_10072025_22_08_04_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/10/image_10072025_22_10_13_9685.jpg
/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_34_10674.jpg
/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_23_9648.jpg
/home/nano/Desktop/images/10072025/22/09/image_10072025_22_09_13_9686.jpg
/home/nano/Desktop/images/10072025/22/08/image_10072025_22_08_53_9657.jpg
/home/nano/Desktop/images/10072025/22/07/image_10072025_22_08_04_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785307","1371785333","1371785303","1371785296","1371785317","1371785310"],"photo_ids_order":["1371785296","1371785303","1371785307","1371785310","1371785317","1371785333"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61ebd0734a8f221492069d208122c199.jpg","text":"TemporaryFile(/tmp/multipartBody955250554728771145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283206263,"filename":"image_10072025_22_09_23_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28dfa71b47ba2e2bc416594e24f5c107.jpg","text":"TemporaryFile(/tmp/multipartBody1108908630461173058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283206263,"filename":"image_10072025_22_08_04_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d952e9a68d57d27a03af78e7c51452e.jpg","text":"TemporaryFile(/tmp/multipartBody1453314472823334031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283206263,"filename":"image_10072025_22_09_34_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27403cb5a3a60652199113d948a0ec4f.jpg","text":"TemporaryFile(/tmp/multipartBody7454809974058421078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283206263,"filename":"image_10072025_22_10_13_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/864d68431dfd3a16cc7b30ce25d7b39f.jpg","text":"TemporaryFile(/tmp/multipartBody722198186720819454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283206263,"filename":"image_10072025_22_08_53_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d019b31f70d8159f242cb305beb75a59.jpg","text":"TemporaryFile(/tmp/multipartBody1398771387734604182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283206263,"filename":"image_10072025_22_09_13_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785307","file1":"1371785303","file0":"1371785296","file4":"1371785317","file5":"1371785333","file3":"1371785310"},"map_files_photo_id_array":[{"photo_id":"1371785333","filename":"file5"},{"photo_id":"1371785307","filename":"file2"},{"photo_id":"1371785317","filename":"file4"},{"photo_id":"1371785303","filename":"file1"},{"photo_id":"1371785296","filename":"file0"},{"photo_id":"1371785310","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371785307":["hashtag1","hashtag2"]},{"1371785333":["hashtag1","hashtag2"]},{"1371785303":["hashtag1","hashtag2"]},{"1371785296":["hashtag1","hashtag2"]},{"1371785317":["hashtag1","hashtag2"]},{"1371785310":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371785307, 1371785333, 1371785303, 1371785296, 1371785317, 1371785310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.138803482055664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:19:47.499912
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_44_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_33_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_14_10688.jpg', 2), ('/home/nano/Desktop/images/12072025/03/18/image_12072025_03_19_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_44_10646.jpg', '/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_33_9655.jpg', '/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_23_9638.jpg', '/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_14_10688.jpg', '/home/nano/Desktop/images/12072025/03/18/image_12072025_03_19_03_9642.jpg', '/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_44_10646.jpg
/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_33_9655.jpg
/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_23_9638.jpg
/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_14_10688.jpg
/home/nano/Desktop/images/12072025/03/18/image_12072025_03_19_03_9642.jpg
/home/nano/Desktop/images/12072025/03/18/image_12072025_03_18_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785366","1371785369","1371785360","1371785362","1371785364","1371785358"],"photo_ids_order":["1371785358","1371785360","1371785362","1371785364","1371785366","1371785369"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd1259ee333971ad3c31ec2eb13cacad.jpg","text":"TemporaryFile(/tmp/multipartBody5836753072002228839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283248862,"filename":"image_12072025_03_19_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15d4f9dd847a8bc9fce9e1b3c946bc92.jpg","text":"TemporaryFile(/tmp/multipartBody312576261881008238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283248862,"filename":"image_12072025_03_18_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d5f3314c7dd091c7dc9e6ee971bef11.jpg","text":"TemporaryFile(/tmp/multipartBody3573733277511006885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283248862,"filename":"image_12072025_03_19_33_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4207148a4c25da8eba89f9d663f059e5.jpg","text":"TemporaryFile(/tmp/multipartBody4810122583163104128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283248862,"filename":"image_12072025_03_19_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0cf588c66144401bffa26055dc43576.jpg","text":"TemporaryFile(/tmp/multipartBody5283059211274691174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283248862,"filename":"image_12072025_03_19_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/688d23e63c4dd3f66c7d01f483f9548e.jpg","text":"TemporaryFile(/tmp/multipartBody8308112035082497235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283248862,"filename":"image_12072025_03_19_44_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785362","file1":"1371785360","file0":"1371785358","file4":"1371785366","file5":"1371785369","file3":"1371785364"},"map_files_photo_id_array":[{"photo_id":"1371785369","filename":"file5"},{"photo_id":"1371785362","filename":"file2"},{"photo_id":"1371785366","filename":"file4"},{"photo_id":"1371785360","filename":"file1"},{"photo_id":"1371785358","filename":"file0"},{"photo_id":"1371785364","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785366":["hashtag1","hashtag2"]},{"1371785369":["hashtag1","hashtag2"]},{"1371785360":["hashtag1","hashtag2"]},{"1371785362":["hashtag1","hashtag2"]},{"1371785364":["hashtag1","hashtag2"]},{"1371785358":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785366, 1371785369, 1371785360, 1371785362, 1371785364, 1371785358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.64240527153015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:20:32.679063
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_14_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/03/19/image_12072025_03_20_04_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_34_10653.jpg', '/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_23_9640.jpg', '/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_14_9671.jpg', '/home/nano/Desktop/images/12072025/03/19/image_12072025_03_20_04_10673.jpg', '/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_34_10653.jpg
/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_23_9640.jpg
/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_14_9671.jpg
/home/nano/Desktop/images/12072025/03/19/image_12072025_03_20_04_10673.jpg
/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_53_9645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3654420375823975 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:20:47.630092
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_14_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/03/19/image_12072025_03_20_04_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_34_10653.jpg', '/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_23_9640.jpg', '/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_14_9671.jpg', '/home/nano/Desktop/images/12072025/03/19/image_12072025_03_20_04_10673.jpg', '/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_34_10653.jpg
/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_23_9640.jpg
/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_14_9671.jpg
/home/nano/Desktop/images/12072025/03/19/image_12072025_03_20_04_10673.jpg
/home/nano/Desktop/images/12072025/03/19/image_12072025_03_19_53_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785387","1371785402","1371785405","1371785398","1371785391"],"photo_ids_order":["1371785387","1371785391","1371785398","1371785402","1371785405"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7057cd244c5d2c7053accc9cccb06b18.jpg","text":"TemporaryFile(/tmp/multipartBody4251366421495225655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283308863,"filename":"image_12072025_03_20_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/843b9dc7807b77653ef25d3d49f06702.jpg","text":"TemporaryFile(/tmp/multipartBody9023477097126857855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283308863,"filename":"image_12072025_03_20_04_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3b24c14edce63ec70ca2d394c3620bb.jpg","text":"TemporaryFile(/tmp/multipartBody8673681499817397086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283308863,"filename":"image_12072025_03_19_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/310949074de3fc737dc9c6ca4892e543.jpg","text":"TemporaryFile(/tmp/multipartBody231525708503923062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283308863,"filename":"image_12072025_03_20_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6f1659e4ef2cd60d99b05dd1d545e33.jpg","text":"TemporaryFile(/tmp/multipartBody1677114000625601685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283308863,"filename":"image_12072025_03_20_23_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785398","file1":"1371785391","file0":"1371785387","file4":"1371785405","file3":"1371785402"},"map_files_photo_id_array":[{"photo_id":"1371785398","filename":"file2"},{"photo_id":"1371785405","filename":"file4"},{"photo_id":"1371785391","filename":"file1"},{"photo_id":"1371785387","filename":"file0"},{"photo_id":"1371785402","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785387":["hashtag1","hashtag2"]},{"1371785402":["hashtag1","hashtag2"]},{"1371785405":["hashtag1","hashtag2"]},{"1371785398":["hashtag1","hashtag2"]},{"1371785391":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785387, 1371785402, 1371785405, 1371785398, 1371785391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.847983360290527 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:21:17.720086
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/21/image_12072025_03_21_44_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/21/image_12072025_03_21_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/21/image_12072025_03_21_14_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/20/image_12072025_03_21_04_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/21/image_12072025_03_21_44_9638.jpg', '/home/nano/Desktop/images/12072025/03/21/image_12072025_03_21_34_10648.jpg', '/home/nano/Desktop/images/12072025/03/21/image_12072025_03_21_14_9656.jpg', '/home/nano/Desktop/images/12072025/03/20/image_12072025_03_21_04_10665.jpg', '/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/21/image_12072025_03_21_44_9638.jpg
/home/nano/Desktop/images/12072025/03/21/image_12072025_03_21_34_10648.jpg
/home/nano/Desktop/images/12072025/03/21/image_12072025_03_21_14_9656.jpg
/home/nano/Desktop/images/12072025/03/20/image_12072025_03_21_04_10665.jpg
/home/nano/Desktop/images/12072025/03/20/image_12072025_03_20_53_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785412","1371785423","1371785421","1371785415","1371785418"],"photo_ids_order":["1371785412","1371785415","1371785418","1371785421","1371785423"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/edfe3a0c36bb1d2ed4d72923d81b99e7.jpg","text":"TemporaryFile(/tmp/multipartBody3101130372623173000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283338917,"filename":"image_12072025_03_21_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a49aecf2eb5a1eceec8517a7c508136c.jpg","text":"TemporaryFile(/tmp/multipartBody6046725739110309634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283338917,"filename":"image_12072025_03_20_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54607d63c029d1a1a13ff2bd521e238e.jpg","text":"TemporaryFile(/tmp/multipartBody7605518495606124754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283338917,"filename":"image_12072025_03_21_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14f106c53d3282754c853a4ee0fb333b.jpg","text":"TemporaryFile(/tmp/multipartBody7459576542228934303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283338917,"filename":"image_12072025_03_21_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25032973314f5575f2e292ff9c626878.jpg","text":"TemporaryFile(/tmp/multipartBody7961401359761461654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283338917,"filename":"image_12072025_03_21_14_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785418","file1":"1371785415","file0":"1371785412","file4":"1371785423","file3":"1371785421"},"map_files_photo_id_array":[{"photo_id":"1371785418","filename":"file2"},{"photo_id":"1371785423","filename":"file4"},{"photo_id":"1371785415","filename":"file1"},{"photo_id":"1371785412","filename":"file0"},{"photo_id":"1371785421","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785412":["hashtag1","hashtag2"]},{"1371785423":["hashtag1","hashtag2"]},{"1371785421":["hashtag1","hashtag2"]},{"1371785415":["hashtag1","hashtag2"]},{"1371785418":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785412, 1371785423, 1371785421, 1371785415, 1371785418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.358218669891357 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:21:47.768557
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_53_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_14_9691.jpg', 2), ('/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_53_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_44_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_14_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_53_9647.jpg', '/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_23_9646.jpg', '/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_14_9691.jpg', '/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_53_9650.jpg', '/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_44_9646.jpg', '/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_14_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_53_9647.jpg
/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_23_9646.jpg
/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_14_9691.jpg
/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_53_9650.jpg
/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_44_9646.jpg
/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_14_9664.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6530659198760986 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:22:02.159858
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_53_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_14_9691.jpg', 2), ('/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_53_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_44_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_14_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_53_9647.jpg', '/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_23_9646.jpg', '/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_14_9691.jpg', '/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_53_9650.jpg', '/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_44_9646.jpg', '/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_14_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_53_9647.jpg
/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_23_9646.jpg
/home/nano/Desktop/images/10072025/22/07/image_10072025_22_07_14_9691.jpg
/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_53_9650.jpg
/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_44_9646.jpg
/home/nano/Desktop/images/10072025/22/06/image_10072025_22_06_14_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785465","1371785467","1371785461","1371785466","1371785469","1371785457"],"photo_ids_order":["1371785457","1371785461","1371785465","1371785466","1371785467","1371785469"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5af153a31b259b011ade21ea23cf3a35.jpg","text":"TemporaryFile(/tmp/multipartBody6767876127862965140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283384743,"filename":"image_10072025_22_07_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1710c9602d407ed70f8b4c08656de10c.jpg","text":"TemporaryFile(/tmp/multipartBody4725055227161501712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283384743,"filename":"image_10072025_22_06_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4d76d6d04ab8221d36ebf486fcac20a.jpg","text":"TemporaryFile(/tmp/multipartBody682845426106206514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283384743,"filename":"image_10072025_22_07_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa11cdd164cffcd78a88c29d0c23eb4a.jpg","text":"TemporaryFile(/tmp/multipartBody7851600825277755680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283384743,"filename":"image_10072025_22_06_53_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dfc0394e8da781f86970b1e7b6de9dc3.jpg","text":"TemporaryFile(/tmp/multipartBody4593843153267166774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283384743,"filename":"image_10072025_22_06_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d784bb6497d5381993c37112585a71b6.jpg","text":"TemporaryFile(/tmp/multipartBody1577814332946973436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283384743,"filename":"image_10072025_22_07_53_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785465","file1":"1371785461","file0":"1371785457","file4":"1371785467","file5":"1371785469","file3":"1371785466"},"map_files_photo_id_array":[{"photo_id":"1371785469","filename":"file5"},{"photo_id":"1371785465","filename":"file2"},{"photo_id":"1371785467","filename":"file4"},{"photo_id":"1371785461","filename":"file1"},{"photo_id":"1371785457","filename":"file0"},{"photo_id":"1371785466","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371785465":["hashtag1","hashtag2"]},{"1371785467":["hashtag1","hashtag2"]},{"1371785461":["hashtag1","hashtag2"]},{"1371785466":["hashtag1","hashtag2"]},{"1371785469":["hashtag1","hashtag2"]},{"1371785457":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371785465, 1371785467, 1371785461, 1371785466, 1371785469, 1371785457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.934940338134766 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:22:46.911731
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_34_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_23_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_14_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/03/21/image_12072025_03_22_04_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/21/image_12072025_03_21_53_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_43_9637.jpg', '/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_34_10665.jpg', '/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_23_9641.jpg', '/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_14_9667.jpg', '/home/nano/Desktop/images/12072025/03/21/image_12072025_03_22_04_10656.jpg', '/home/nano/Desktop/images/12072025/03/21/image_12072025_03_21_53_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_43_9637.jpg
/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_34_10665.jpg
/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_23_9641.jpg
/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_14_9667.jpg
/home/nano/Desktop/images/12072025/03/21/image_12072025_03_22_04_10656.jpg
/home/nano/Desktop/images/12072025/03/21/image_12072025_03_21_53_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785480","1371785483","1371785477","1371785512","1371785493","1371785502"],"photo_ids_order":["1371785477","1371785480","1371785483","1371785493","1371785502","1371785512"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e40810355e3bd09734e8d718b0e4940e.jpg","text":"TemporaryFile(/tmp/multipartBody8936767898448138907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283428309,"filename":"image_12072025_03_22_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e24094fe27d500f9a099a23f1f13a998.jpg","text":"TemporaryFile(/tmp/multipartBody6410597069887566133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283428309,"filename":"image_12072025_03_22_23_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8d03216b72e93e9fcde7436b07d851f.jpg","text":"TemporaryFile(/tmp/multipartBody1435696749758800177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283428309,"filename":"image_12072025_03_22_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2fbbe5d075778f380659480905f2f34.jpg","text":"TemporaryFile(/tmp/multipartBody7903331499558866407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283428309,"filename":"image_12072025_03_21_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3487e4619b4f2f57461203062b59162f.jpg","text":"TemporaryFile(/tmp/multipartBody8943331810051956636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283428309,"filename":"image_12072025_03_22_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a6a3de781c85ad1bf1490cec27db929.jpg","text":"TemporaryFile(/tmp/multipartBody3244766121784746449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283428309,"filename":"image_12072025_03_22_04_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785483","file1":"1371785480","file0":"1371785477","file4":"1371785502","file5":"1371785512","file3":"1371785493"},"map_files_photo_id_array":[{"photo_id":"1371785512","filename":"file5"},{"photo_id":"1371785483","filename":"file2"},{"photo_id":"1371785502","filename":"file4"},{"photo_id":"1371785480","filename":"file1"},{"photo_id":"1371785477","filename":"file0"},{"photo_id":"1371785493","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785480":["hashtag1","hashtag2"]},{"1371785483":["hashtag1","hashtag2"]},{"1371785477":["hashtag1","hashtag2"]},{"1371785512":["hashtag1","hashtag2"]},{"1371785493":["hashtag1","hashtag2"]},{"1371785502":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785480, 1371785483, 1371785477, 1371785512, 1371785493, 1371785502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71445608139038 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:23:32.007971
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_43_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/03/22/image_12072025_03_23_04_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_53_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_43_9654.jpg', '/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_34_10649.jpg', '/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_23_9637.jpg', '/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_13_9659.jpg', '/home/nano/Desktop/images/12072025/03/22/image_12072025_03_23_04_10663.jpg', '/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_53_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_43_9654.jpg
/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_34_10649.jpg
/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_23_9637.jpg
/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_13_9659.jpg
/home/nano/Desktop/images/12072025/03/22/image_12072025_03_23_04_10663.jpg
/home/nano/Desktop/images/12072025/03/22/image_12072025_03_22_53_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785549","1371785534","1371785522","1371785547","1371785526","1371785541"],"photo_ids_order":["1371785522","1371785526","1371785534","1371785541","1371785547","1371785549"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c79dfd049b0f2bf8cf222bd4e898046.jpg","text":"TemporaryFile(/tmp/multipartBody213532299142012102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283473475,"filename":"image_12072025_03_22_53_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ddea7905f2001b0d7adb54d8951ae144.jpg","text":"TemporaryFile(/tmp/multipartBody4232508365693560496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283473475,"filename":"image_12072025_03_23_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/655498b51798d858598280ebc21524c2.jpg","text":"TemporaryFile(/tmp/multipartBody1846873923133937522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283473475,"filename":"image_12072025_03_23_43_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf3eaab436c8264abd741ecc843da618.jpg","text":"TemporaryFile(/tmp/multipartBody8033318448332119382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283473475,"filename":"image_12072025_03_23_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b58c2ec8bb9933b0c6786d2a7ea0c7f1.jpg","text":"TemporaryFile(/tmp/multipartBody1547168108310998560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283473475,"filename":"image_12072025_03_23_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/806078d3f3c8e55e9766f5e54e15c0d5.jpg","text":"TemporaryFile(/tmp/multipartBody8802540926153701403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283473475,"filename":"image_12072025_03_23_13_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785534","file1":"1371785526","file0":"1371785522","file4":"1371785547","file5":"1371785549","file3":"1371785541"},"map_files_photo_id_array":[{"photo_id":"1371785549","filename":"file5"},{"photo_id":"1371785534","filename":"file2"},{"photo_id":"1371785547","filename":"file4"},{"photo_id":"1371785526","filename":"file1"},{"photo_id":"1371785522","filename":"file0"},{"photo_id":"1371785541","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785549":["hashtag1","hashtag2"]},{"1371785534":["hashtag1","hashtag2"]},{"1371785522":["hashtag1","hashtag2"]},{"1371785547":["hashtag1","hashtag2"]},{"1371785526":["hashtag1","hashtag2"]},{"1371785541":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785549, 1371785534, 1371785522, 1371785547, 1371785526, 1371785541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.416080951690674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:24:17.110878
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/24/image_12072025_03_24_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/24/image_12072025_03_24_24_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/03/24/image_12072025_03_24_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/03/23/image_12072025_03_24_04_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/24/image_12072025_03_24_34_9638.jpg', '/home/nano/Desktop/images/12072025/03/24/image_12072025_03_24_24_10665.jpg', '/home/nano/Desktop/images/12072025/03/24/image_12072025_03_24_13_9658.jpg', '/home/nano/Desktop/images/12072025/03/23/image_12072025_03_24_04_9657.jpg', '/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/24/image_12072025_03_24_34_9638.jpg
/home/nano/Desktop/images/12072025/03/24/image_12072025_03_24_24_10665.jpg
/home/nano/Desktop/images/12072025/03/24/image_12072025_03_24_13_9658.jpg
/home/nano/Desktop/images/12072025/03/23/image_12072025_03_24_04_9657.jpg
/home/nano/Desktop/images/12072025/03/23/image_12072025_03_23_54_10648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785570","1371785572","1371785575","1371785574","1371785568"],"photo_ids_order":["1371785568","1371785570","1371785572","1371785574","1371785575"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4caa023b2a0e4c6216237f089ee45fdb.jpg","text":"TemporaryFile(/tmp/multipartBody4402070828475985517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283518179,"filename":"image_12072025_03_24_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2db943fdcacd8ecc2b76cacb2c18e71.jpg","text":"TemporaryFile(/tmp/multipartBody426241519607881502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283518179,"filename":"image_12072025_03_24_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/099867cbdae6652cd488cd5400573748.jpg","text":"TemporaryFile(/tmp/multipartBody1128619750196823528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283518179,"filename":"image_12072025_03_23_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07c6cc2047a0780ebc24f3a43c5ca974.jpg","text":"TemporaryFile(/tmp/multipartBody170249340576888294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283518179,"filename":"image_12072025_03_24_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b3a920d074e097c82fc72c09f606cd2.jpg","text":"TemporaryFile(/tmp/multipartBody2545952062245143658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283518179,"filename":"image_12072025_03_24_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785572","file1":"1371785570","file0":"1371785568","file4":"1371785575","file3":"1371785574"},"map_files_photo_id_array":[{"photo_id":"1371785572","filename":"file2"},{"photo_id":"1371785575","filename":"file4"},{"photo_id":"1371785570","filename":"file1"},{"photo_id":"1371785568","filename":"file0"},{"photo_id":"1371785574","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785570":["hashtag1","hashtag2"]},{"1371785572":["hashtag1","hashtag2"]},{"1371785575":["hashtag1","hashtag2"]},{"1371785574":["hashtag1","hashtag2"]},{"1371785568":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785570, 1371785572, 1371785575, 1371785574, 1371785568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.634777545928955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:24:47.125422
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/05/image_10072025_22_06_04_10686.jpg', 2), ('/home/nano/Desktop/images/10072025/22/05/image_10072025_22_05_53_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/22/05/image_10072025_22_05_44_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/05/image_10072025_22_05_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/05/image_10072025_22_05_14_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_53_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/05/image_10072025_22_06_04_10686.jpg', '/home/nano/Desktop/images/10072025/22/05/image_10072025_22_05_53_9651.jpg', '/home/nano/Desktop/images/10072025/22/05/image_10072025_22_05_44_9647.jpg', '/home/nano/Desktop/images/10072025/22/05/image_10072025_22_05_23_9646.jpg', '/home/nano/Desktop/images/10072025/22/05/image_10072025_22_05_14_9665.jpg', '/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_53_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/05/image_10072025_22_06_04_10686.jpg
/home/nano/Desktop/images/10072025/22/05/image_10072025_22_05_53_9651.jpg
/home/nano/Desktop/images/10072025/22/05/image_10072025_22_05_44_9647.jpg
/home/nano/Desktop/images/10072025/22/05/image_10072025_22_05_23_9646.jpg
/home/nano/Desktop/images/10072025/22/05/image_10072025_22_05_14_9665.jpg
/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_53_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785597","1371785582","1371785579","1371785596","1371785600","1371785589"],"photo_ids_order":["1371785579","1371785582","1371785589","1371785596","1371785597","1371785600"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a7ace78c1f0f8d57f36d2ac671ecf10.jpg","text":"TemporaryFile(/tmp/multipartBody7258601349574291448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283549869,"filename":"image_10072025_22_05_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16501959bdf8e9aa879fd0baa049bc3c.jpg","text":"TemporaryFile(/tmp/multipartBody1762952121180973964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283549869,"filename":"image_10072025_22_05_53_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e06b5bf066d4fb1c7e477f2b8ef9cbe9.jpg","text":"TemporaryFile(/tmp/multipartBody3326162034532030502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283549869,"filename":"image_10072025_22_06_04_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac360a372fc3472a674033037efbced1.jpg","text":"TemporaryFile(/tmp/multipartBody4702790565772633694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283549869,"filename":"image_10072025_22_05_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2559cd497ca87290a46ed4957046897f.jpg","text":"TemporaryFile(/tmp/multipartBody1757023366861471625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283549869,"filename":"image_10072025_22_04_53_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d7a7e205fce06a4bd6fd404b5fc82d8.jpg","text":"TemporaryFile(/tmp/multipartBody5551019849005144600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283549869,"filename":"image_10072025_22_05_44_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785589","file1":"1371785582","file0":"1371785579","file4":"1371785597","file5":"1371785600","file3":"1371785596"},"map_files_photo_id_array":[{"photo_id":"1371785600","filename":"file5"},{"photo_id":"1371785589","filename":"file2"},{"photo_id":"1371785597","filename":"file4"},{"photo_id":"1371785582","filename":"file1"},{"photo_id":"1371785579","filename":"file0"},{"photo_id":"1371785596","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371785597":["hashtag1","hashtag2"]},{"1371785582":["hashtag1","hashtag2"]},{"1371785579":["hashtag1","hashtag2"]},{"1371785596":["hashtag1","hashtag2"]},{"1371785600":["hashtag1","hashtag2"]},{"1371785589":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371785597, 1371785582, 1371785579, 1371785596, 1371785600, 1371785589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.742900133132935 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:25:32.219658
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_43_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_24_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_13_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/03/24/image_12072025_03_25_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/03/24/image_12072025_03_24_43_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_43_9643.jpg', '/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_34_9638.jpg', '/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_24_10651.jpg', '/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_13_9665.jpg', '/home/nano/Desktop/images/12072025/03/24/image_12072025_03_25_04_9645.jpg', '/home/nano/Desktop/images/12072025/03/24/image_12072025_03_24_43_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_43_9643.jpg
/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_34_9638.jpg
/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_24_10651.jpg
/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_13_9665.jpg
/home/nano/Desktop/images/12072025/03/24/image_12072025_03_25_04_9645.jpg
/home/nano/Desktop/images/12072025/03/24/image_12072025_03_24_43_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785619","1371785621","1371785615","1371785623","1371785611","1371785616"],"photo_ids_order":["1371785611","1371785615","1371785616","1371785619","1371785621","1371785623"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aad16b52aafd5e78b34c9746360b7647.jpg","text":"TemporaryFile(/tmp/multipartBody9112735798473830138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283593825,"filename":"image_12072025_03_25_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7616f49ceacb95b6d9b2458c2a81adf.jpg","text":"TemporaryFile(/tmp/multipartBody2562011662352689170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283593825,"filename":"image_12072025_03_25_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f4386e6ff6674f16d167e1bd17fbd5e.jpg","text":"TemporaryFile(/tmp/multipartBody4531184119840100905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283593825,"filename":"image_12072025_03_25_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/559dbacb0c36cb40e076b91d290ad10c.jpg","text":"TemporaryFile(/tmp/multipartBody6066717032512386472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283593825,"filename":"image_12072025_03_24_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6198d905e7fb11b2dc7ba1c807791717.jpg","text":"TemporaryFile(/tmp/multipartBody4058458308373445707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283593825,"filename":"image_12072025_03_25_43_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/379fc617279c1b759fc8d3700968e018.jpg","text":"TemporaryFile(/tmp/multipartBody7806504411340462661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283593825,"filename":"image_12072025_03_25_24_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785616","file1":"1371785615","file0":"1371785611","file4":"1371785621","file5":"1371785623","file3":"1371785619"},"map_files_photo_id_array":[{"photo_id":"1371785623","filename":"file5"},{"photo_id":"1371785616","filename":"file2"},{"photo_id":"1371785621","filename":"file4"},{"photo_id":"1371785615","filename":"file1"},{"photo_id":"1371785611","filename":"file0"},{"photo_id":"1371785619","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785619":["hashtag1","hashtag2"]},{"1371785621":["hashtag1","hashtag2"]},{"1371785615":["hashtag1","hashtag2"]},{"1371785623":["hashtag1","hashtag2"]},{"1371785611":["hashtag1","hashtag2"]},{"1371785616":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785619, 1371785621, 1371785615, 1371785623, 1371785611, 1371785616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.554041862487793 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:26:17.351510
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/25/image_12072025_03_26_03_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_54_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_43_9640.jpg', '/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_33_9638.jpg', '/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_13_9656.jpg', '/home/nano/Desktop/images/12072025/03/25/image_12072025_03_26_03_9658.jpg', '/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_54_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_43_9640.jpg
/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_33_9638.jpg
/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_13_9656.jpg
/home/nano/Desktop/images/12072025/03/25/image_12072025_03_26_03_9658.jpg
/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_54_10660.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0251448154449463 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:26:32.329199
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/25/image_12072025_03_26_03_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_54_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_43_9640.jpg', '/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_33_9638.jpg', '/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_13_9656.jpg', '/home/nano/Desktop/images/12072025/03/25/image_12072025_03_26_03_9658.jpg', '/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_54_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_43_9640.jpg
/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_33_9638.jpg
/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_13_9656.jpg
/home/nano/Desktop/images/12072025/03/25/image_12072025_03_26_03_9658.jpg
/home/nano/Desktop/images/12072025/03/25/image_12072025_03_25_54_10660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785651","1371785645","1371785648","1371785658","1371785655"],"photo_ids_order":["1371785645","1371785648","1371785651","1371785655","1371785658"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e38c3c38b80d80c315fba575bb9f299.jpg","text":"TemporaryFile(/tmp/multipartBody6221786019817918447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283653408,"filename":"image_12072025_03_26_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/504f58f7e7bc540c4371e0c15aedb10c.jpg","text":"TemporaryFile(/tmp/multipartBody1978145202030949967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283653408,"filename":"image_12072025_03_26_43_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa0dc21b271e34df66e5b9c3f1b6223a.jpg","text":"TemporaryFile(/tmp/multipartBody7881979586306093834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283653408,"filename":"image_12072025_03_26_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59bc8db5fbfe99443cdfdfe3cfdf76f7.jpg","text":"TemporaryFile(/tmp/multipartBody8467971645099337429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283653408,"filename":"image_12072025_03_25_54_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/249e643cac54dfec8182a747108a52e7.jpg","text":"TemporaryFile(/tmp/multipartBody6052442755144972990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283653408,"filename":"image_12072025_03_26_03_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785651","file1":"1371785648","file0":"1371785645","file4":"1371785658","file3":"1371785655"},"map_files_photo_id_array":[{"photo_id":"1371785651","filename":"file2"},{"photo_id":"1371785658","filename":"file4"},{"photo_id":"1371785648","filename":"file1"},{"photo_id":"1371785645","filename":"file0"},{"photo_id":"1371785655","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785651":["hashtag1","hashtag2"]},{"1371785645":["hashtag1","hashtag2"]},{"1371785648":["hashtag1","hashtag2"]},{"1371785658":["hashtag1","hashtag2"]},{"1371785655":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785651, 1371785645, 1371785648, 1371785658, 1371785655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.049444675445557 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:27:02.947746
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_44_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_34_10659.jpg', 2), ('/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_23_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_14_9687.jpg', 2), ('/home/nano/Desktop/images/10072025/22/03/image_10072025_22_04_04_10681.jpg', 2), ('/home/nano/Desktop/images/10072025/22/03/image_10072025_22_03_53_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_44_9644.jpg', '/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_34_10659.jpg', '/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_23_9664.jpg', '/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_14_9687.jpg', '/home/nano/Desktop/images/10072025/22/03/image_10072025_22_04_04_10681.jpg', '/home/nano/Desktop/images/10072025/22/03/image_10072025_22_03_53_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_44_9644.jpg
/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_34_10659.jpg
/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_23_9664.jpg
/home/nano/Desktop/images/10072025/22/04/image_10072025_22_04_14_9687.jpg
/home/nano/Desktop/images/10072025/22/03/image_10072025_22_04_04_10681.jpg
/home/nano/Desktop/images/10072025/22/03/image_10072025_22_03_53_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785671","1371785689","1371785701","1371785704","1371785679","1371785667"],"photo_ids_order":["1371785667","1371785671","1371785679","1371785689","1371785701","1371785704"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ed9497a94cc6683116599f973b887b8.jpg","text":"TemporaryFile(/tmp/multipartBody6939927263834928249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283685842,"filename":"image_10072025_22_04_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6aba11a223c0b54d5b236166a8d7fc34.jpg","text":"TemporaryFile(/tmp/multipartBody5614796493685759531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283685842,"filename":"image_10072025_22_04_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34560534f6861f56113cc08eea563562.jpg","text":"TemporaryFile(/tmp/multipartBody85097336237362322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283685842,"filename":"image_10072025_22_04_04_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b7e54ae9ae84e87b0ef4fa4a7bb5b7a.jpg","text":"TemporaryFile(/tmp/multipartBody8821051863654103615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283685842,"filename":"image_10072025_22_03_53_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/372741e7ed22cdc99bf09195952b85e3.jpg","text":"TemporaryFile(/tmp/multipartBody7133437110241950277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283685842,"filename":"image_10072025_22_04_23_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0365b4dec310d347ec23e615f60bed68.jpg","text":"TemporaryFile(/tmp/multipartBody9190519973014973777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283685842,"filename":"image_10072025_22_04_44_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785679","file1":"1371785671","file0":"1371785667","file4":"1371785701","file5":"1371785704","file3":"1371785689"},"map_files_photo_id_array":[{"photo_id":"1371785704","filename":"file5"},{"photo_id":"1371785679","filename":"file2"},{"photo_id":"1371785701","filename":"file4"},{"photo_id":"1371785671","filename":"file1"},{"photo_id":"1371785667","filename":"file0"},{"photo_id":"1371785689","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371785671":["hashtag1","hashtag2"]},{"1371785689":["hashtag1","hashtag2"]},{"1371785701":["hashtag1","hashtag2"]},{"1371785704":["hashtag1","hashtag2"]},{"1371785679":["hashtag1","hashtag2"]},{"1371785667":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371785671, 1371785689, 1371785701, 1371785704, 1371785679, 1371785667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.534250259399414 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:27:47.426753
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_33_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_24_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_14_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/03/26/image_12072025_03_27_03_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_54_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_44_10648.jpg', '/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_33_9647.jpg', '/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_24_9640.jpg', '/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_14_10669.jpg', '/home/nano/Desktop/images/12072025/03/26/image_12072025_03_27_03_9649.jpg', '/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_54_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_44_10648.jpg
/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_33_9647.jpg
/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_24_9640.jpg
/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_14_10669.jpg
/home/nano/Desktop/images/12072025/03/26/image_12072025_03_27_03_9649.jpg
/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_54_10655.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4701309204101562 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:28:02.845951
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_33_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_24_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_14_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/03/26/image_12072025_03_27_03_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_54_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_44_10648.jpg', '/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_33_9647.jpg', '/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_24_9640.jpg', '/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_14_10669.jpg', '/home/nano/Desktop/images/12072025/03/26/image_12072025_03_27_03_9649.jpg', '/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_54_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_44_10648.jpg
/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_33_9647.jpg
/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_24_9640.jpg
/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_14_10669.jpg
/home/nano/Desktop/images/12072025/03/26/image_12072025_03_27_03_9649.jpg
/home/nano/Desktop/images/12072025/03/26/image_12072025_03_26_54_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785741","1371785735","1371785732","1371785728","1371785739","1371785736"],"photo_ids_order":["1371785728","1371785732","1371785735","1371785736","1371785739","1371785741"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c478c8cf99afe1c76a5d407f7908f28.jpg","text":"TemporaryFile(/tmp/multipartBody5711765819849033067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283744110,"filename":"image_12072025_03_26_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29a357f3c53ad747f8b83d34c3cd8d9b.jpg","text":"TemporaryFile(/tmp/multipartBody1687893461597947431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283744110,"filename":"image_12072025_03_27_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4758d79cc1e60842783670351a95d86a.jpg","text":"TemporaryFile(/tmp/multipartBody3258652727872764363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283744110,"filename":"image_12072025_03_27_33_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9dd72de3abcc00a9c411b29fd17eb65.jpg","text":"TemporaryFile(/tmp/multipartBody156412803653430075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283744110,"filename":"image_12072025_03_27_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22b4c5bd1b187d9f12ef4511908a03ce.jpg","text":"TemporaryFile(/tmp/multipartBody6478582550605238490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283744110,"filename":"image_12072025_03_27_03_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/556608bd380df6de74d818dfb2946b6a.jpg","text":"TemporaryFile(/tmp/multipartBody3074868091861637249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283744110,"filename":"image_12072025_03_27_14_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785735","file1":"1371785732","file0":"1371785728","file4":"1371785739","file5":"1371785741","file3":"1371785736"},"map_files_photo_id_array":[{"photo_id":"1371785741","filename":"file5"},{"photo_id":"1371785735","filename":"file2"},{"photo_id":"1371785739","filename":"file4"},{"photo_id":"1371785732","filename":"file1"},{"photo_id":"1371785728","filename":"file0"},{"photo_id":"1371785736","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785741":["hashtag1","hashtag2"]},{"1371785735":["hashtag1","hashtag2"]},{"1371785732":["hashtag1","hashtag2"]},{"1371785728":["hashtag1","hashtag2"]},{"1371785739":["hashtag1","hashtag2"]},{"1371785736":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785741, 1371785735, 1371785732, 1371785728, 1371785739, 1371785736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93614959716797 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:28:47.535980
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/28/image_12072025_03_28_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/28/image_12072025_03_28_14_10697.jpg', 2), ('/home/nano/Desktop/images/12072025/03/27/image_12072025_03_28_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_54_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/28/image_12072025_03_28_24_9637.jpg', '/home/nano/Desktop/images/12072025/03/28/image_12072025_03_28_14_10697.jpg', '/home/nano/Desktop/images/12072025/03/27/image_12072025_03_28_03_9642.jpg', '/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/28/image_12072025_03_28_24_9637.jpg
/home/nano/Desktop/images/12072025/03/28/image_12072025_03_28_14_10697.jpg
/home/nano/Desktop/images/12072025/03/27/image_12072025_03_28_03_9642.jpg
/home/nano/Desktop/images/12072025/03/27/image_12072025_03_27_54_9644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785750","1371785747","1371785752","1371785748"],"photo_ids_order":["1371785747","1371785748","1371785750","1371785752"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e05e0e82f7e92c488571bed8910a626.jpg","text":"TemporaryFile(/tmp/multipartBody6950655927847525278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283788687,"filename":"image_12072025_03_28_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d6f874174ca3253a5663dc66c7e84fa.jpg","text":"TemporaryFile(/tmp/multipartBody7992751266485723196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283788687,"filename":"image_12072025_03_28_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9056c758af54cc0a53d2b8764009ba3.jpg","text":"TemporaryFile(/tmp/multipartBody6951824516027705474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283788687,"filename":"image_12072025_03_27_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2e7a6da5b2c264c7ccd9b3cb95ad76c.jpg","text":"TemporaryFile(/tmp/multipartBody1824550206271135410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283788687,"filename":"image_12072025_03_28_14_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785750","file1":"1371785748","file0":"1371785747","file3":"1371785752"},"map_files_photo_id_array":[{"photo_id":"1371785750","filename":"file2"},{"photo_id":"1371785748","filename":"file1"},{"photo_id":"1371785747","filename":"file0"},{"photo_id":"1371785752","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785750":["hashtag1","hashtag2"]},{"1371785747":["hashtag1","hashtag2"]},{"1371785752":["hashtag1","hashtag2"]},{"1371785748":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785750, 1371785747, 1371785752, 1371785748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.457472324371338 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:29:17.670827
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_44_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/03/28/image_12072025_03_28_33_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_44_10655.jpg', '/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_33_9637.jpg', '/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_23_9637.jpg', '/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_14_10667.jpg', '/home/nano/Desktop/images/12072025/03/28/image_12072025_03_28_33_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_44_10655.jpg
/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_33_9637.jpg
/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_23_9637.jpg
/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_14_10667.jpg
/home/nano/Desktop/images/12072025/03/28/image_12072025_03_28_33_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785786","1371785782","1371785787","1371785790","1371785784"],"photo_ids_order":["1371785782","1371785784","1371785786","1371785787","1371785790"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee1da847a70db053d58634d02db50689.jpg","text":"TemporaryFile(/tmp/multipartBody2929880750958784024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283819135,"filename":"image_12072025_03_29_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb45e23f286d85dd70920cc7e53b61ec.jpg","text":"TemporaryFile(/tmp/multipartBody1588219327967539106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283819135,"filename":"image_12072025_03_29_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83c776538b72882baaca14fc2827cb29.jpg","text":"TemporaryFile(/tmp/multipartBody7645398714397645881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283819135,"filename":"image_12072025_03_29_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94a61fe1ab2f590c050dbc297a55c254.jpg","text":"TemporaryFile(/tmp/multipartBody2387892815642646669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283819135,"filename":"image_12072025_03_28_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/024cc32b70db4b57a9539e24a6f4cc14.jpg","text":"TemporaryFile(/tmp/multipartBody9089044586327630649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283819135,"filename":"image_12072025_03_29_33_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785786","file1":"1371785784","file0":"1371785782","file4":"1371785790","file3":"1371785787"},"map_files_photo_id_array":[{"photo_id":"1371785786","filename":"file2"},{"photo_id":"1371785790","filename":"file4"},{"photo_id":"1371785784","filename":"file1"},{"photo_id":"1371785782","filename":"file0"},{"photo_id":"1371785787","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785786":["hashtag1","hashtag2"]},{"1371785782":["hashtag1","hashtag2"]},{"1371785787":["hashtag1","hashtag2"]},{"1371785790":["hashtag1","hashtag2"]},{"1371785784":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785786, 1371785782, 1371785787, 1371785790, 1371785784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.75862193107605 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:30:02.069182
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/03/image_10072025_22_03_23_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/22/02/image_10072025_22_03_04_10671.jpg', 2), ('/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_44_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_23_9681.jpg', 2), ('/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_14_9704.jpg', 2), ('/home/nano/Desktop/images/10072025/22/01/image_10072025_22_02_04_10685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/03/image_10072025_22_03_23_9649.jpg', '/home/nano/Desktop/images/10072025/22/02/image_10072025_22_03_04_10671.jpg', '/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_44_9647.jpg', '/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_23_9681.jpg', '/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_14_9704.jpg', '/home/nano/Desktop/images/10072025/22/01/image_10072025_22_02_04_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/03/image_10072025_22_03_23_9649.jpg
/home/nano/Desktop/images/10072025/22/02/image_10072025_22_03_04_10671.jpg
/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_44_9647.jpg
/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_23_9681.jpg
/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_14_9704.jpg
/home/nano/Desktop/images/10072025/22/01/image_10072025_22_02_04_10685.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6904563903808594 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:30:16.752977
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_23_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_14_10692.jpg', 2), ('/home/nano/Desktop/images/12072025/03/29/image_12072025_03_30_03_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_53_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_44_10647.jpg', '/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_33_9638.jpg', '/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_23_9655.jpg', '/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_14_10692.jpg', '/home/nano/Desktop/images/12072025/03/29/image_12072025_03_30_03_9647.jpg', '/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_53_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_44_10647.jpg
/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_33_9638.jpg
/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_23_9655.jpg
/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_14_10692.jpg
/home/nano/Desktop/images/12072025/03/29/image_12072025_03_30_03_9647.jpg
/home/nano/Desktop/images/12072025/03/29/image_12072025_03_29_53_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785852","1371785840","1371785845","1371785848","1371785850","1371785853"],"photo_ids_order":["1371785840","1371785845","1371785848","1371785850","1371785852","1371785853"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fda8003b8a6a4ed04ac0ee29c5aa757.jpg","text":"TemporaryFile(/tmp/multipartBody6450242525267688474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283878055,"filename":"image_12072025_03_30_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/266c0ed15921b86f91225d8bcecc022c.jpg","text":"TemporaryFile(/tmp/multipartBody3255188917003720533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283878055,"filename":"image_12072025_03_30_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa5d5b630b85149e9d19ef5459a2a394.jpg","text":"TemporaryFile(/tmp/multipartBody289390280847539259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283878055,"filename":"image_12072025_03_30_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f938513beba131555724eabf97ab2f6f.jpg","text":"TemporaryFile(/tmp/multipartBody214418578624923169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283878055,"filename":"image_12072025_03_30_23_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26eac85e75ef9f69bf6315a39b409edc.jpg","text":"TemporaryFile(/tmp/multipartBody2217859077397855225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283878055,"filename":"image_12072025_03_30_14_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7b1be640947d688f117bb0c021d64f3.jpg","text":"TemporaryFile(/tmp/multipartBody1426102607878410699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283878055,"filename":"image_12072025_03_29_53_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785848","file1":"1371785845","file0":"1371785840","file4":"1371785852","file5":"1371785853","file3":"1371785850"},"map_files_photo_id_array":[{"photo_id":"1371785853","filename":"file5"},{"photo_id":"1371785848","filename":"file2"},{"photo_id":"1371785852","filename":"file4"},{"photo_id":"1371785845","filename":"file1"},{"photo_id":"1371785840","filename":"file0"},{"photo_id":"1371785850","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785852":["hashtag1","hashtag2"]},{"1371785840":["hashtag1","hashtag2"]},{"1371785845":["hashtag1","hashtag2"]},{"1371785848":["hashtag1","hashtag2"]},{"1371785850":["hashtag1","hashtag2"]},{"1371785853":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785852, 1371785840, 1371785845, 1371785848, 1371785850, 1371785853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21665596961975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:31:02.296156
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/03/image_10072025_22_03_23_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/22/02/image_10072025_22_03_04_10671.jpg', 2), ('/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_44_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_23_9681.jpg', 2), ('/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_14_9704.jpg', 2), ('/home/nano/Desktop/images/10072025/22/01/image_10072025_22_02_04_10685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/03/image_10072025_22_03_23_9649.jpg', '/home/nano/Desktop/images/10072025/22/02/image_10072025_22_03_04_10671.jpg', '/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_44_9647.jpg', '/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_23_9681.jpg', '/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_14_9704.jpg', '/home/nano/Desktop/images/10072025/22/01/image_10072025_22_02_04_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/03/image_10072025_22_03_23_9649.jpg
/home/nano/Desktop/images/10072025/22/02/image_10072025_22_03_04_10671.jpg
/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_44_9647.jpg
/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_23_9681.jpg
/home/nano/Desktop/images/10072025/22/02/image_10072025_22_02_14_9704.jpg
/home/nano/Desktop/images/10072025/22/01/image_10072025_22_02_04_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785885","1371785873","1371785881","1371785880","1371785877","1371785882"],"photo_ids_order":["1371785873","1371785877","1371785880","1371785881","1371785882","1371785885"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5adc7b06c84ffcb5cf9f90af8caf973f.jpg","text":"TemporaryFile(/tmp/multipartBody3561459208800546836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283925185,"filename":"image_10072025_22_02_04_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/813483b482501ef016d6ddf120174a35.jpg","text":"TemporaryFile(/tmp/multipartBody7958008244618974109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283925185,"filename":"image_10072025_22_03_23_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/011c78f5f4332b178eda875ba55d04ad.jpg","text":"TemporaryFile(/tmp/multipartBody8158980882845912510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283925185,"filename":"image_10072025_22_02_23_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/307b0409ed83f26067ce2b6bff5160ea.jpg","text":"TemporaryFile(/tmp/multipartBody5639047868281662422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283925185,"filename":"image_10072025_22_02_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/132536f1588b024031d392a258300fa4.jpg","text":"TemporaryFile(/tmp/multipartBody4759412592467554118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283925185,"filename":"image_10072025_22_03_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f689a9efd80420d4ebac4e1117c64aab.jpg","text":"TemporaryFile(/tmp/multipartBody6903613715702440516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283925185,"filename":"image_10072025_22_02_14_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785880","file1":"1371785877","file0":"1371785873","file4":"1371785882","file5":"1371785885","file3":"1371785881"},"map_files_photo_id_array":[{"photo_id":"1371785885","filename":"file5"},{"photo_id":"1371785880","filename":"file2"},{"photo_id":"1371785882","filename":"file4"},{"photo_id":"1371785877","filename":"file1"},{"photo_id":"1371785873","filename":"file0"},{"photo_id":"1371785881","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371785885":["hashtag1","hashtag2"]},{"1371785873":["hashtag1","hashtag2"]},{"1371785881":["hashtag1","hashtag2"]},{"1371785880":["hashtag1","hashtag2"]},{"1371785877":["hashtag1","hashtag2"]},{"1371785882":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371785885, 1371785873, 1371785881, 1371785880, 1371785877, 1371785882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93526840209961 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:31:46.895354
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_14_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/03/30/image_12072025_03_31_04_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_44_9637.jpg', '/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_34_10649.jpg', '/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_23_9640.jpg', '/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_14_9661.jpg', '/home/nano/Desktop/images/12072025/03/30/image_12072025_03_31_04_10671.jpg', '/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_44_9637.jpg
/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_34_10649.jpg
/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_23_9640.jpg
/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_14_9661.jpg
/home/nano/Desktop/images/12072025/03/30/image_12072025_03_31_04_10671.jpg
/home/nano/Desktop/images/12072025/03/30/image_12072025_03_30_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785912","1371785906","1371785899","1371785908","1371785902","1371785897"],"photo_ids_order":["1371785897","1371785899","1371785902","1371785906","1371785908","1371785912"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a71e4edef4338926c32a0022c49accaa.jpg","text":"TemporaryFile(/tmp/multipartBody5707492628211992748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283968391,"filename":"image_12072025_03_30_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6b7fac0d14709ae6e6b52dff88b3adf.jpg","text":"TemporaryFile(/tmp/multipartBody4440728694447856729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283968391,"filename":"image_12072025_03_31_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ce769ad74c62e36d2e64b310fc5a1f8.jpg","text":"TemporaryFile(/tmp/multipartBody3772110392926395426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283968391,"filename":"image_12072025_03_31_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/370a7155398dd61f2f719788d36b5209.jpg","text":"TemporaryFile(/tmp/multipartBody9021826311566728423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283968391,"filename":"image_12072025_03_31_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c678e0831ae57b0e61aa25ead01da91.jpg","text":"TemporaryFile(/tmp/multipartBody4725885330570202564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283968391,"filename":"image_12072025_03_31_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fbf8cfd908e32cc569dbfe45faf3a13.jpg","text":"TemporaryFile(/tmp/multipartBody6141450827975029387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752283968391,"filename":"image_12072025_03_31_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785902","file1":"1371785899","file0":"1371785897","file4":"1371785908","file5":"1371785912","file3":"1371785906"},"map_files_photo_id_array":[{"photo_id":"1371785912","filename":"file5"},{"photo_id":"1371785902","filename":"file2"},{"photo_id":"1371785908","filename":"file4"},{"photo_id":"1371785899","filename":"file1"},{"photo_id":"1371785897","filename":"file0"},{"photo_id":"1371785906","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785912":["hashtag1","hashtag2"]},{"1371785906":["hashtag1","hashtag2"]},{"1371785899":["hashtag1","hashtag2"]},{"1371785908":["hashtag1","hashtag2"]},{"1371785902":["hashtag1","hashtag2"]},{"1371785897":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785912, 1371785906, 1371785899, 1371785908, 1371785902, 1371785897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.72567629814148 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:32:31.974717
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_44_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_14_9710.jpg', 2), ('/home/nano/Desktop/images/12072025/03/31/image_12072025_03_32_04_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_44_9647.jpg', '/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_34_10650.jpg', '/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_23_9640.jpg', '/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_14_9710.jpg', '/home/nano/Desktop/images/12072025/03/31/image_12072025_03_32_04_10659.jpg', '/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_44_9647.jpg
/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_34_10650.jpg
/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_23_9640.jpg
/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_14_9710.jpg
/home/nano/Desktop/images/12072025/03/31/image_12072025_03_32_04_10659.jpg
/home/nano/Desktop/images/12072025/03/31/image_12072025_03_31_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785927","1371785939","1371785930","1371785926","1371785923","1371785934"],"photo_ids_order":["1371785923","1371785926","1371785927","1371785930","1371785934","1371785939"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f66cbed930829727f08139d0349f7aac.jpg","text":"TemporaryFile(/tmp/multipartBody236608201152045703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284013176,"filename":"image_12072025_03_32_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0df5339f8c4021fd3c043ce4dca65abd.jpg","text":"TemporaryFile(/tmp/multipartBody1718969986309875984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284013176,"filename":"image_12072025_03_31_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce262360c1287780ce141d73e45c59a1.jpg","text":"TemporaryFile(/tmp/multipartBody5902787063195895360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284013176,"filename":"image_12072025_03_32_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52f064b361f0febb54cf5727084b4088.jpg","text":"TemporaryFile(/tmp/multipartBody7789803913942877691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284013176,"filename":"image_12072025_03_32_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8a02a7fda08c6e43c131f9aa4bb5c15.jpg","text":"TemporaryFile(/tmp/multipartBody5753904925339230297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284013176,"filename":"image_12072025_03_32_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ec1ec5690da1ad5fa20af83fa7a2464.jpg","text":"TemporaryFile(/tmp/multipartBody8003968858072427720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284013176,"filename":"image_12072025_03_32_04_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785927","file1":"1371785926","file0":"1371785923","file4":"1371785934","file5":"1371785939","file3":"1371785930"},"map_files_photo_id_array":[{"photo_id":"1371785939","filename":"file5"},{"photo_id":"1371785927","filename":"file2"},{"photo_id":"1371785934","filename":"file4"},{"photo_id":"1371785926","filename":"file1"},{"photo_id":"1371785923","filename":"file0"},{"photo_id":"1371785930","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785927":["hashtag1","hashtag2"]},{"1371785939":["hashtag1","hashtag2"]},{"1371785930":["hashtag1","hashtag2"]},{"1371785926":["hashtag1","hashtag2"]},{"1371785923":["hashtag1","hashtag2"]},{"1371785934":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785927, 1371785939, 1371785930, 1371785926, 1371785923, 1371785934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.451762437820435 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:33:17.091426
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_43_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_23_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_14_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/03/32/image_12072025_03_33_04_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_43_9642.jpg', '/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_34_10649.jpg', '/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_23_9648.jpg', '/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_14_9661.jpg', '/home/nano/Desktop/images/12072025/03/32/image_12072025_03_33_04_10652.jpg', '/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_43_9642.jpg
/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_34_10649.jpg
/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_23_9648.jpg
/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_14_9661.jpg
/home/nano/Desktop/images/12072025/03/32/image_12072025_03_33_04_10652.jpg
/home/nano/Desktop/images/12072025/03/32/image_12072025_03_32_53_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785966","1371785962","1371785959","1371785968","1371785967","1371785964"],"photo_ids_order":["1371785959","1371785962","1371785964","1371785966","1371785967","1371785968"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74f6cbc8d4221fd6a2bd464bdde48b18.jpg","text":"TemporaryFile(/tmp/multipartBody4111879182717540946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284058424,"filename":"image_12072025_03_33_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13119a5b6c2f23b56b4bf3a9420273ca.jpg","text":"TemporaryFile(/tmp/multipartBody7948334893737472115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284058424,"filename":"image_12072025_03_33_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/592039e89ce21ad32b6bf7e1a7759cba.jpg","text":"TemporaryFile(/tmp/multipartBody8425684695673127612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284058424,"filename":"image_12072025_03_33_43_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/008694c7925631dc6542720acb5bd90d.jpg","text":"TemporaryFile(/tmp/multipartBody1132911236486870941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284058424,"filename":"image_12072025_03_32_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6fd2ec303027249af9387a9345383e3.jpg","text":"TemporaryFile(/tmp/multipartBody7336772522566979486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284058424,"filename":"image_12072025_03_33_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71a884b6827cb7d620781b0b8083fed2.jpg","text":"TemporaryFile(/tmp/multipartBody7774162692758289052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284058424,"filename":"image_12072025_03_33_23_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785964","file1":"1371785962","file0":"1371785959","file4":"1371785967","file5":"1371785968","file3":"1371785966"},"map_files_photo_id_array":[{"photo_id":"1371785968","filename":"file5"},{"photo_id":"1371785964","filename":"file2"},{"photo_id":"1371785967","filename":"file4"},{"photo_id":"1371785962","filename":"file1"},{"photo_id":"1371785959","filename":"file0"},{"photo_id":"1371785966","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371785966":["hashtag1","hashtag2"]},{"1371785962":["hashtag1","hashtag2"]},{"1371785959":["hashtag1","hashtag2"]},{"1371785968":["hashtag1","hashtag2"]},{"1371785967":["hashtag1","hashtag2"]},{"1371785964":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371785966, 1371785962, 1371785959, 1371785968, 1371785967, 1371785964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57869625091553 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:34:02.603501
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/01/image_10072025_22_01_53_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/22/01/image_10072025_22_01_44_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/22/01/image_10072025_22_01_23_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/22/01/image_10072025_22_01_14_9691.jpg', 2), ('/home/nano/Desktop/images/10072025/22/00/image_10072025_22_00_44_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/22/00/image_10072025_22_00_34_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/01/image_10072025_22_01_53_9648.jpg', '/home/nano/Desktop/images/10072025/22/01/image_10072025_22_01_44_9646.jpg', '/home/nano/Desktop/images/10072025/22/01/image_10072025_22_01_23_9651.jpg', '/home/nano/Desktop/images/10072025/22/01/image_10072025_22_01_14_9691.jpg', '/home/nano/Desktop/images/10072025/22/00/image_10072025_22_00_44_9666.jpg', '/home/nano/Desktop/images/10072025/22/00/image_10072025_22_00_34_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/01/image_10072025_22_01_53_9648.jpg
/home/nano/Desktop/images/10072025/22/01/image_10072025_22_01_44_9646.jpg
/home/nano/Desktop/images/10072025/22/01/image_10072025_22_01_23_9651.jpg
/home/nano/Desktop/images/10072025/22/01/image_10072025_22_01_14_9691.jpg
/home/nano/Desktop/images/10072025/22/00/image_10072025_22_00_44_9666.jpg
/home/nano/Desktop/images/10072025/22/00/image_10072025_22_00_34_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371785992","1371785997","1371785988","1371786003","1371786006","1371786000"],"photo_ids_order":["1371785988","1371785992","1371785997","1371786000","1371786003","1371786006"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0264e5d1191b824c341024fe4be9336f.jpg","text":"TemporaryFile(/tmp/multipartBody7521607210350128215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284105332,"filename":"image_10072025_22_01_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40105649d13f72d246bb5c5837041e93.jpg","text":"TemporaryFile(/tmp/multipartBody6298031018462169450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284105332,"filename":"image_10072025_22_01_23_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c21342fdd654c1986f4fca52bd2e015.jpg","text":"TemporaryFile(/tmp/multipartBody584135922995479223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284105332,"filename":"image_10072025_22_01_53_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16739d5965196cbde52b9ec20a61592c.jpg","text":"TemporaryFile(/tmp/multipartBody1004551558113346237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284105332,"filename":"image_10072025_22_00_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10b2d1e5569380398f0eba877976c089.jpg","text":"TemporaryFile(/tmp/multipartBody591709922932794806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284105332,"filename":"image_10072025_22_00_34_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af9cde242da99c959789ec1a61d1cc02.jpg","text":"TemporaryFile(/tmp/multipartBody3160190630881314287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284105332,"filename":"image_10072025_22_01_14_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371785997","file1":"1371785992","file0":"1371785988","file4":"1371786003","file5":"1371786006","file3":"1371786000"},"map_files_photo_id_array":[{"photo_id":"1371786006","filename":"file5"},{"photo_id":"1371785997","filename":"file2"},{"photo_id":"1371786003","filename":"file4"},{"photo_id":"1371785992","filename":"file1"},{"photo_id":"1371785988","filename":"file0"},{"photo_id":"1371786000","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371785992":["hashtag1","hashtag2"]},{"1371785997":["hashtag1","hashtag2"]},{"1371785988":["hashtag1","hashtag2"]},{"1371786003":["hashtag1","hashtag2"]},{"1371786006":["hashtag1","hashtag2"]},{"1371786000":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371785992, 1371785997, 1371785988, 1371786003, 1371786006, 1371786000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09209704399109 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:34:47.163125
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_43_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_24_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_13_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_53_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_43_9657.jpg', '/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_34_9638.jpg', '/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_24_10654.jpg', '/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_13_9655.jpg', '/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_53_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_43_9657.jpg
/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_34_9638.jpg
/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_24_10654.jpg
/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_13_9655.jpg
/home/nano/Desktop/images/12072025/03/33/image_12072025_03_33_53_9655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786020","1371786014","1371786016","1371786018","1371786015"],"photo_ids_order":["1371786014","1371786015","1371786016","1371786018","1371786020"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcd36a105586415bd85ebb2cd57342bf.jpg","text":"TemporaryFile(/tmp/multipartBody4883320766757046444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284148348,"filename":"image_12072025_03_33_53_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b11f2cc70a2e3d326e7a3b1cc15c4059.jpg","text":"TemporaryFile(/tmp/multipartBody7165619329094571802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284148348,"filename":"image_12072025_03_34_43_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88a5e293f741fa09b1edd1128ebca420.jpg","text":"TemporaryFile(/tmp/multipartBody2837076584767401037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284148348,"filename":"image_12072025_03_34_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b47c635744cf8fcd3e8da2c975049aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7396118603160013213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284148348,"filename":"image_12072025_03_34_13_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/017fd5c79312ae751329c2b329a312a6.jpg","text":"TemporaryFile(/tmp/multipartBody4456152142877883492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284148348,"filename":"image_12072025_03_34_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786016","file1":"1371786015","file0":"1371786014","file4":"1371786020","file3":"1371786018"},"map_files_photo_id_array":[{"photo_id":"1371786016","filename":"file2"},{"photo_id":"1371786020","filename":"file4"},{"photo_id":"1371786015","filename":"file1"},{"photo_id":"1371786014","filename":"file0"},{"photo_id":"1371786018","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786020":["hashtag1","hashtag2"]},{"1371786014":["hashtag1","hashtag2"]},{"1371786016":["hashtag1","hashtag2"]},{"1371786018":["hashtag1","hashtag2"]},{"1371786015":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786020, 1371786014, 1371786016, 1371786018, 1371786015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.217710256576538 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:35:17.260746
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_34_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_24_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_13_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/03/34/image_12072025_03_35_04_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_43_9637.jpg', '/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_34_9656.jpg', '/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_24_10646.jpg', '/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_13_9669.jpg', '/home/nano/Desktop/images/12072025/03/34/image_12072025_03_35_04_9655.jpg', '/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_43_9637.jpg
/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_34_9656.jpg
/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_24_10646.jpg
/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_13_9669.jpg
/home/nano/Desktop/images/12072025/03/34/image_12072025_03_35_04_9655.jpg
/home/nano/Desktop/images/12072025/03/34/image_12072025_03_34_54_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786032","1371786041","1371786035","1371786038","1371786031","1371786034"],"photo_ids_order":["1371786031","1371786032","1371786034","1371786035","1371786038","1371786041"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8472f65c0572076c1b7c5f1bd3747d8a.jpg","text":"TemporaryFile(/tmp/multipartBody6592311654902223652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284178629,"filename":"image_12072025_03_35_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b937f763e88ef833e1b28bd77278e53.jpg","text":"TemporaryFile(/tmp/multipartBody1018228548183649553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284178629,"filename":"image_12072025_03_34_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50735270fa7f72e3857730d5674345b2.jpg","text":"TemporaryFile(/tmp/multipartBody255335783827410473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284178629,"filename":"image_12072025_03_35_13_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e690de96c5b8e000861541d7ce36ac03.jpg","text":"TemporaryFile(/tmp/multipartBody7573291034622172478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284178629,"filename":"image_12072025_03_35_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eba57ca2af5248540cda4df9321029f7.jpg","text":"TemporaryFile(/tmp/multipartBody3390638259255291521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284178629,"filename":"image_12072025_03_35_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d040880169cda3aa7ab042e8f6ce5c03.jpg","text":"TemporaryFile(/tmp/multipartBody2252492369091300058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284178629,"filename":"image_12072025_03_35_24_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786034","file1":"1371786032","file0":"1371786031","file4":"1371786038","file5":"1371786041","file3":"1371786035"},"map_files_photo_id_array":[{"photo_id":"1371786041","filename":"file5"},{"photo_id":"1371786034","filename":"file2"},{"photo_id":"1371786038","filename":"file4"},{"photo_id":"1371786032","filename":"file1"},{"photo_id":"1371786031","filename":"file0"},{"photo_id":"1371786035","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786032":["hashtag1","hashtag2"]},{"1371786041":["hashtag1","hashtag2"]},{"1371786035":["hashtag1","hashtag2"]},{"1371786038":["hashtag1","hashtag2"]},{"1371786031":["hashtag1","hashtag2"]},{"1371786034":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786032, 1371786041, 1371786035, 1371786038, 1371786031, 1371786034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08329200744629 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:36:02.765170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/22/00/image_10072025_22_00_23_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/22/00/image_10072025_22_00_14_9675.jpg', 2), ('/home/nano/Desktop/images/10072025/21/59/image_10072025_22_00_04_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_44_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_34_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/22/00/image_10072025_22_00_23_9648.jpg', '/home/nano/Desktop/images/10072025/22/00/image_10072025_22_00_14_9675.jpg', '/home/nano/Desktop/images/10072025/21/59/image_10072025_22_00_04_10675.jpg', '/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_53_9646.jpg', '/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_44_9646.jpg', '/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_34_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/22/00/image_10072025_22_00_23_9648.jpg
/home/nano/Desktop/images/10072025/22/00/image_10072025_22_00_14_9675.jpg
/home/nano/Desktop/images/10072025/21/59/image_10072025_22_00_04_10675.jpg
/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_53_9646.jpg
/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_44_9646.jpg
/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_34_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786068","1371786056","1371786058","1371786060","1371786063","1371786065"],"photo_ids_order":["1371786056","1371786058","1371786060","1371786063","1371786065","1371786068"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17089ef4b8106fef616855dac2625022.jpg","text":"TemporaryFile(/tmp/multipartBody5306581358808267426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284225496,"filename":"image_10072025_21_59_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b01fcae66ee695f0f9db4619298fe02.jpg","text":"TemporaryFile(/tmp/multipartBody5349630623406826548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284225496,"filename":"image_10072025_22_00_23_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f58d6cdea5536d00d34559e9cf2b1dbe.jpg","text":"TemporaryFile(/tmp/multipartBody6577677821097331411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284225496,"filename":"image_10072025_22_00_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea35094212ec61acfc4ae527bc448024.jpg","text":"TemporaryFile(/tmp/multipartBody1123445763887834311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284225496,"filename":"image_10072025_22_00_04_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa8e97e22de17cdb26b1c4cfa49009c9.jpg","text":"TemporaryFile(/tmp/multipartBody5805383828095965387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284225496,"filename":"image_10072025_21_59_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20e26ea1b603378b14244d23edf1fe03.jpg","text":"TemporaryFile(/tmp/multipartBody528930067747522960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284225496,"filename":"image_10072025_21_59_44_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786060","file1":"1371786058","file0":"1371786056","file4":"1371786065","file5":"1371786068","file3":"1371786063"},"map_files_photo_id_array":[{"photo_id":"1371786068","filename":"file5"},{"photo_id":"1371786060","filename":"file2"},{"photo_id":"1371786065","filename":"file4"},{"photo_id":"1371786058","filename":"file1"},{"photo_id":"1371786056","filename":"file0"},{"photo_id":"1371786063","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371786068":["hashtag1","hashtag2"]},{"1371786056":["hashtag1","hashtag2"]},{"1371786058":["hashtag1","hashtag2"]},{"1371786060":["hashtag1","hashtag2"]},{"1371786063":["hashtag1","hashtag2"]},{"1371786065":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371786068, 1371786056, 1371786058, 1371786060, 1371786063, 1371786065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64608716964722 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:36:47.378952
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_43_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/03/35/image_12072025_03_36_04_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_43_9643.jpg', '/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_34_9638.jpg', '/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_24_10649.jpg', '/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_13_9657.jpg', '/home/nano/Desktop/images/12072025/03/35/image_12072025_03_36_04_9637.jpg', '/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_54_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_43_9643.jpg
/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_34_9638.jpg
/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_24_10649.jpg
/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_13_9657.jpg
/home/nano/Desktop/images/12072025/03/35/image_12072025_03_36_04_9637.jpg
/home/nano/Desktop/images/12072025/03/35/image_12072025_03_35_54_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786074","1371786076","1371786085","1371786078","1371786093","1371786095"],"photo_ids_order":["1371786074","1371786076","1371786078","1371786085","1371786093","1371786095"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6529cf79d5868fdc6dfc007d341b180.jpg","text":"TemporaryFile(/tmp/multipartBody4351533275724179420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284268488,"filename":"image_12072025_03_36_43_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93bdfc77d2c953f8f52672e1c3e67895.jpg","text":"TemporaryFile(/tmp/multipartBody703716123982552391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284268488,"filename":"image_12072025_03_36_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c80d850a24bf49ad05980947a1800bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6932712253713730304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284268488,"filename":"image_12072025_03_36_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31501638a918a8d69354dc48e34caa2f.jpg","text":"TemporaryFile(/tmp/multipartBody1694244158381040751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284268488,"filename":"image_12072025_03_36_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6994af52fc35794eee3a46ff016b7ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2328176333412557564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284268488,"filename":"image_12072025_03_36_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd70b86ff6b9e315d60df0a51517d3b0.jpg","text":"TemporaryFile(/tmp/multipartBody6986172108952536002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284268488,"filename":"image_12072025_03_35_54_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786078","file1":"1371786076","file0":"1371786074","file4":"1371786093","file5":"1371786095","file3":"1371786085"},"map_files_photo_id_array":[{"photo_id":"1371786095","filename":"file5"},{"photo_id":"1371786078","filename":"file2"},{"photo_id":"1371786093","filename":"file4"},{"photo_id":"1371786076","filename":"file1"},{"photo_id":"1371786074","filename":"file0"},{"photo_id":"1371786085","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786074":["hashtag1","hashtag2"]},{"1371786076":["hashtag1","hashtag2"]},{"1371786085":["hashtag1","hashtag2"]},{"1371786078":["hashtag1","hashtag2"]},{"1371786093":["hashtag1","hashtag2"]},{"1371786095":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786074, 1371786076, 1371786085, 1371786078, 1371786093, 1371786095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.344878911972046 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:37:32.460482
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_43_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_33_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_24_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_13_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/03/36/image_12072025_03_37_03_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_43_9646.jpg', '/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_33_9657.jpg', '/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_24_10668.jpg', '/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_13_9665.jpg', '/home/nano/Desktop/images/12072025/03/36/image_12072025_03_37_03_9655.jpg', '/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_43_9646.jpg
/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_33_9657.jpg
/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_24_10668.jpg
/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_13_9665.jpg
/home/nano/Desktop/images/12072025/03/36/image_12072025_03_37_03_9655.jpg
/home/nano/Desktop/images/12072025/03/36/image_12072025_03_36_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786113","1371786118","1371786115","1371786120","1371786111","1371786108"],"photo_ids_order":["1371786108","1371786111","1371786113","1371786115","1371786118","1371786120"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0facb484772e90093862f3f27e5de041.jpg","text":"TemporaryFile(/tmp/multipartBody1685874914341504767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284313682,"filename":"image_12072025_03_37_24_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d97159caa15bcf2b2b971b505219fca5.jpg","text":"TemporaryFile(/tmp/multipartBody1753983923468598538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284313682,"filename":"image_12072025_03_37_03_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e397a325475cdaedb8bd2a516d0d7103.jpg","text":"TemporaryFile(/tmp/multipartBody8090907643279327224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284313682,"filename":"image_12072025_03_37_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c61cf882361c462aaffc18903e39d2d3.jpg","text":"TemporaryFile(/tmp/multipartBody3351219633920062121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284313682,"filename":"image_12072025_03_36_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d72318e4fff0d66b8397772c2f16f46.jpg","text":"TemporaryFile(/tmp/multipartBody5711758503500966349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284313682,"filename":"image_12072025_03_37_33_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a55a69d42ef5f0723e6b33ba49419ab.jpg","text":"TemporaryFile(/tmp/multipartBody8677175616169333832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284313682,"filename":"image_12072025_03_37_43_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786113","file1":"1371786111","file0":"1371786108","file4":"1371786118","file5":"1371786120","file3":"1371786115"},"map_files_photo_id_array":[{"photo_id":"1371786120","filename":"file5"},{"photo_id":"1371786113","filename":"file2"},{"photo_id":"1371786118","filename":"file4"},{"photo_id":"1371786111","filename":"file1"},{"photo_id":"1371786108","filename":"file0"},{"photo_id":"1371786115","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786113":["hashtag1","hashtag2"]},{"1371786118":["hashtag1","hashtag2"]},{"1371786115":["hashtag1","hashtag2"]},{"1371786120":["hashtag1","hashtag2"]},{"1371786111":["hashtag1","hashtag2"]},{"1371786108":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786113, 1371786118, 1371786115, 1371786120, 1371786111, 1371786108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.484867811203 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:38:17.558863
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_54_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_13_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/03/37/image_12072025_03_38_03_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_54_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_54_9646.jpg', '/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_33_9640.jpg', '/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_24_10647.jpg', '/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_13_9667.jpg', '/home/nano/Desktop/images/12072025/03/37/image_12072025_03_38_03_9664.jpg', '/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_54_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_54_9646.jpg
/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_33_9640.jpg
/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_24_10647.jpg
/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_13_9667.jpg
/home/nano/Desktop/images/12072025/03/37/image_12072025_03_38_03_9664.jpg
/home/nano/Desktop/images/12072025/03/37/image_12072025_03_37_54_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786146","1371786137","1371786136","1371786139","1371786138","1371786143"],"photo_ids_order":["1371786136","1371786137","1371786138","1371786139","1371786143","1371786146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0805cdeca4fe3c5bd2ea53b6cdfe7d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7068056301272146205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284358747,"filename":"image_12072025_03_37_54_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c0a7efebecc5ab586b64a943ceb68dc.jpg","text":"TemporaryFile(/tmp/multipartBody4480902660395193413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284358747,"filename":"image_12072025_03_38_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2082f56f581f57329da49e1fa98b7152.jpg","text":"TemporaryFile(/tmp/multipartBody4410358622173734784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284358747,"filename":"image_12072025_03_38_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cba6408aa7b0bfcac18f3bcc4156a0be.jpg","text":"TemporaryFile(/tmp/multipartBody7972238741376238251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284358747,"filename":"image_12072025_03_38_13_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a6d24d601cabc455b6dec8ce46078b7.jpg","text":"TemporaryFile(/tmp/multipartBody7983992966226596619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284358747,"filename":"image_12072025_03_38_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a60a82f164e650a6dc94249c88d2a30.jpg","text":"TemporaryFile(/tmp/multipartBody6101088504217454320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284358747,"filename":"image_12072025_03_38_03_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786138","file1":"1371786137","file0":"1371786136","file4":"1371786143","file5":"1371786146","file3":"1371786139"},"map_files_photo_id_array":[{"photo_id":"1371786146","filename":"file5"},{"photo_id":"1371786138","filename":"file2"},{"photo_id":"1371786143","filename":"file4"},{"photo_id":"1371786137","filename":"file1"},{"photo_id":"1371786136","filename":"file0"},{"photo_id":"1371786139","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786146":["hashtag1","hashtag2"]},{"1371786137":["hashtag1","hashtag2"]},{"1371786136":["hashtag1","hashtag2"]},{"1371786139":["hashtag1","hashtag2"]},{"1371786138":["hashtag1","hashtag2"]},{"1371786143":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786146, 1371786137, 1371786136, 1371786139, 1371786138, 1371786143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.193466186523438 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:39:03.503715
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_23_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_14_10676.jpg', 2), ('/home/nano/Desktop/images/10072025/21/58/image_10072025_21_59_03_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/21/58/image_10072025_21_58_53_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/58/image_10072025_21_58_44_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/58/image_10072025_21_58_14_10683.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_23_9647.jpg', '/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_14_10676.jpg', '/home/nano/Desktop/images/10072025/21/58/image_10072025_21_59_03_9647.jpg', '/home/nano/Desktop/images/10072025/21/58/image_10072025_21_58_53_9648.jpg', '/home/nano/Desktop/images/10072025/21/58/image_10072025_21_58_44_10657.jpg', '/home/nano/Desktop/images/10072025/21/58/image_10072025_21_58_14_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_23_9647.jpg
/home/nano/Desktop/images/10072025/21/59/image_10072025_21_59_14_10676.jpg
/home/nano/Desktop/images/10072025/21/58/image_10072025_21_59_03_9647.jpg
/home/nano/Desktop/images/10072025/21/58/image_10072025_21_58_53_9648.jpg
/home/nano/Desktop/images/10072025/21/58/image_10072025_21_58_44_10657.jpg
/home/nano/Desktop/images/10072025/21/58/image_10072025_21_58_14_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786173","1371786167","1371786169","1371786171","1371786174","1371786164"],"photo_ids_order":["1371786164","1371786167","1371786169","1371786171","1371786173","1371786174"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/834784e12809c78b512a6208db4c6ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8653805645671793536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284406409,"filename":"image_10072025_21_58_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d27caf0864a721a06529ae55ace8bf1d.jpg","text":"TemporaryFile(/tmp/multipartBody3875501377499864702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284406409,"filename":"image_10072025_21_59_14_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c16cf4554ece259b87f448c11268aa8.jpg","text":"TemporaryFile(/tmp/multipartBody2031098759269717226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284406409,"filename":"image_10072025_21_59_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dfb0a651fef453fd2ad5c6ef5ea1fc7d.jpg","text":"TemporaryFile(/tmp/multipartBody111489737342596843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284406409,"filename":"image_10072025_21_58_53_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d875e99f0fa6a375a8d5896685f595cd.jpg","text":"TemporaryFile(/tmp/multipartBody3681847119635745077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284406409,"filename":"image_10072025_21_58_14_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d85ed30c3591559dc3a9bf1889abd21.jpg","text":"TemporaryFile(/tmp/multipartBody2838269710332419185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284406409,"filename":"image_10072025_21_59_23_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786169","file1":"1371786167","file0":"1371786164","file4":"1371786173","file5":"1371786174","file3":"1371786171"},"map_files_photo_id_array":[{"photo_id":"1371786174","filename":"file5"},{"photo_id":"1371786169","filename":"file2"},{"photo_id":"1371786173","filename":"file4"},{"photo_id":"1371786167","filename":"file1"},{"photo_id":"1371786164","filename":"file0"},{"photo_id":"1371786171","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371786173":["hashtag1","hashtag2"]},{"1371786167":["hashtag1","hashtag2"]},{"1371786169":["hashtag1","hashtag2"]},{"1371786171":["hashtag1","hashtag2"]},{"1371786174":["hashtag1","hashtag2"]},{"1371786164":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371786173, 1371786167, 1371786169, 1371786171, 1371786174, 1371786164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.360928773880005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:39:47.707059
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/39/image_12072025_03_39_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/39/image_12072025_03_39_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/39/image_12072025_03_39_14_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/03/38/image_12072025_03_39_03_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_44_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/39/image_12072025_03_39_44_10648.jpg', '/home/nano/Desktop/images/12072025/03/39/image_12072025_03_39_24_9638.jpg', '/home/nano/Desktop/images/12072025/03/39/image_12072025_03_39_14_10669.jpg', '/home/nano/Desktop/images/12072025/03/38/image_12072025_03_39_03_9644.jpg', '/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_44_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/39/image_12072025_03_39_44_10648.jpg
/home/nano/Desktop/images/12072025/03/39/image_12072025_03_39_24_9638.jpg
/home/nano/Desktop/images/12072025/03/39/image_12072025_03_39_14_10669.jpg
/home/nano/Desktop/images/12072025/03/38/image_12072025_03_39_03_9644.jpg
/home/nano/Desktop/images/12072025/03/38/image_12072025_03_38_44_10657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786212","1371786209","1371786205","1371786213","1371786201"],"photo_ids_order":["1371786201","1371786205","1371786209","1371786212","1371786213"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6b4dfa3e8eb50e19c48e5ad18083331.jpg","text":"TemporaryFile(/tmp/multipartBody3981031324104646166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284449136,"filename":"image_12072025_03_39_03_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ba3514b066aa5c7addf9944f8ecc8ae.jpg","text":"TemporaryFile(/tmp/multipartBody1038145543209796011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284449136,"filename":"image_12072025_03_39_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bc92babbd98d39f904d1ac686a4a0e3.jpg","text":"TemporaryFile(/tmp/multipartBody1416499042628602116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284449136,"filename":"image_12072025_03_39_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad2ece9b89b141adcf4f9109bd7560de.jpg","text":"TemporaryFile(/tmp/multipartBody6186714962718142192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284449136,"filename":"image_12072025_03_38_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57a93963e0623c014418c10e6c45d9b1.jpg","text":"TemporaryFile(/tmp/multipartBody8471416294294944475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284449136,"filename":"image_12072025_03_39_44_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786209","file1":"1371786205","file0":"1371786201","file4":"1371786213","file3":"1371786212"},"map_files_photo_id_array":[{"photo_id":"1371786209","filename":"file2"},{"photo_id":"1371786213","filename":"file4"},{"photo_id":"1371786205","filename":"file1"},{"photo_id":"1371786201","filename":"file0"},{"photo_id":"1371786212","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786212":["hashtag1","hashtag2"]},{"1371786209":["hashtag1","hashtag2"]},{"1371786205":["hashtag1","hashtag2"]},{"1371786213":["hashtag1","hashtag2"]},{"1371786201":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786212, 1371786209, 1371786205, 1371786213, 1371786201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.597522974014282 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:40:16.784622
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_44_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_33_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_24_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_14_10687.jpg', 2), ('/home/nano/Desktop/images/12072025/03/39/image_12072025_03_40_03_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/03/39/image_12072025_03_39_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_44_10655.jpg', '/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_33_9644.jpg', '/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_24_9639.jpg', '/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_14_10687.jpg', '/home/nano/Desktop/images/12072025/03/39/image_12072025_03_40_03_9644.jpg', '/home/nano/Desktop/images/12072025/03/39/image_12072025_03_39_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_44_10655.jpg
/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_33_9644.jpg
/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_24_9639.jpg
/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_14_10687.jpg
/home/nano/Desktop/images/12072025/03/39/image_12072025_03_40_03_9644.jpg
/home/nano/Desktop/images/12072025/03/39/image_12072025_03_39_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786224","1371786280","1371786262","1371786226","1371786276","1371786237"],"photo_ids_order":["1371786224","1371786226","1371786237","1371786262","1371786276","1371786280"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f83e6357a01e7f2562d38fef1c1b6f41.jpg","text":"TemporaryFile(/tmp/multipartBody8635027579173133346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284478011,"filename":"image_12072025_03_40_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/190188ba436a9fce785795880e481e51.jpg","text":"TemporaryFile(/tmp/multipartBody6185368097470252146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284478011,"filename":"image_12072025_03_39_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef1d6a84ebda03bd69fdb865cc112a79.jpg","text":"TemporaryFile(/tmp/multipartBody9148818390330785996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284478011,"filename":"image_12072025_03_40_14_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0da96c3d44e690acc4cb9e18346b6868.jpg","text":"TemporaryFile(/tmp/multipartBody5008795629151168880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284478011,"filename":"image_12072025_03_40_33_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/504e6ae7932f9c108633d4ee77a32e38.jpg","text":"TemporaryFile(/tmp/multipartBody9128712042308458558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284478011,"filename":"image_12072025_03_40_03_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b84dbb0e504e54173780e6a6407157f.jpg","text":"TemporaryFile(/tmp/multipartBody6058369249571868491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284478011,"filename":"image_12072025_03_40_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786237","file1":"1371786226","file0":"1371786224","file4":"1371786276","file5":"1371786280","file3":"1371786262"},"map_files_photo_id_array":[{"photo_id":"1371786280","filename":"file5"},{"photo_id":"1371786237","filename":"file2"},{"photo_id":"1371786276","filename":"file4"},{"photo_id":"1371786226","filename":"file1"},{"photo_id":"1371786224","filename":"file0"},{"photo_id":"1371786262","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786224":["hashtag1","hashtag2"]},{"1371786280":["hashtag1","hashtag2"]},{"1371786262":["hashtag1","hashtag2"]},{"1371786226":["hashtag1","hashtag2"]},{"1371786276":["hashtag1","hashtag2"]},{"1371786237":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786224, 1371786280, 1371786262, 1371786226, 1371786276, 1371786237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01258373260498 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:41:02.471248
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/57/image_10072025_21_58_03_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_53_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_44_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_33_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_24_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_14_10696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/57/image_10072025_21_58_03_9648.jpg', '/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_53_9647.jpg', '/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_44_10657.jpg', '/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_33_9648.jpg', '/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_24_9647.jpg', '/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_14_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/57/image_10072025_21_58_03_9648.jpg
/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_53_9647.jpg
/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_44_10657.jpg
/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_33_9648.jpg
/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_24_9647.jpg
/home/nano/Desktop/images/10072025/21/57/image_10072025_21_57_14_10696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786347","1371786373","1371786307","1371786309","1371786318","1371786303"],"photo_ids_order":["1371786303","1371786307","1371786309","1371786318","1371786347","1371786373"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/593d63426244669587088a8726f4820b.jpg","text":"TemporaryFile(/tmp/multipartBody8110920401232645480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284525223,"filename":"image_10072025_21_57_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/902760f25ee3bf5018bbdc4848a83aec.jpg","text":"TemporaryFile(/tmp/multipartBody4207713936762513760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284525223,"filename":"image_10072025_21_57_14_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5fcd4dcca753194f1fdd092dc008b6e.jpg","text":"TemporaryFile(/tmp/multipartBody2944233526015114669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284525223,"filename":"image_10072025_21_57_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/157f7b0942643e186b90ecdd1e84d7ec.jpg","text":"TemporaryFile(/tmp/multipartBody7369085647960331039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284525223,"filename":"image_10072025_21_57_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/114d119706eace883a6f395604079210.jpg","text":"TemporaryFile(/tmp/multipartBody2586908795985001823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284525223,"filename":"image_10072025_21_57_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb2fbccb77bd162d633b01889a860800.jpg","text":"TemporaryFile(/tmp/multipartBody1242722380856931098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284525223,"filename":"image_10072025_21_58_03_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786309","file1":"1371786307","file0":"1371786303","file4":"1371786347","file5":"1371786373","file3":"1371786318"},"map_files_photo_id_array":[{"photo_id":"1371786373","filename":"file5"},{"photo_id":"1371786309","filename":"file2"},{"photo_id":"1371786347","filename":"file4"},{"photo_id":"1371786307","filename":"file1"},{"photo_id":"1371786303","filename":"file0"},{"photo_id":"1371786318","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371786347":["hashtag1","hashtag2"]},{"1371786373":["hashtag1","hashtag2"]},{"1371786307":["hashtag1","hashtag2"]},{"1371786309":["hashtag1","hashtag2"]},{"1371786318":["hashtag1","hashtag2"]},{"1371786303":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371786347, 1371786373, 1371786307, 1371786309, 1371786318, 1371786303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10600018501282 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:41:46.936719
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/41/image_12072025_03_41_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/41/image_12072025_03_41_33_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/03/41/image_12072025_03_41_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/03/40/image_12072025_03_41_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/41/image_12072025_03_41_44_10647.jpg', '/home/nano/Desktop/images/12072025/03/41/image_12072025_03_41_33_9636.jpg', '/home/nano/Desktop/images/12072025/03/41/image_12072025_03_41_14_10667.jpg', '/home/nano/Desktop/images/12072025/03/40/image_12072025_03_41_03_9645.jpg', '/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/41/image_12072025_03_41_44_10647.jpg
/home/nano/Desktop/images/12072025/03/41/image_12072025_03_41_33_9636.jpg
/home/nano/Desktop/images/12072025/03/41/image_12072025_03_41_14_10667.jpg
/home/nano/Desktop/images/12072025/03/40/image_12072025_03_41_03_9645.jpg
/home/nano/Desktop/images/12072025/03/40/image_12072025_03_40_53_9644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786503","1371786484","1371786444","1371786468","1371786513"],"photo_ids_order":["1371786444","1371786468","1371786484","1371786503","1371786513"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83459d981cef2bdd21fe39de32226be0.jpg","text":"TemporaryFile(/tmp/multipartBody4210258712219590940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284568304,"filename":"image_12072025_03_41_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74c138c40196310fc466bf0ec03cc973.jpg","text":"TemporaryFile(/tmp/multipartBody4627355535185687716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284568304,"filename":"image_12072025_03_41_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9152451ded0a468463b55d263dd394ab.jpg","text":"TemporaryFile(/tmp/multipartBody8822758285304080087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284568304,"filename":"image_12072025_03_41_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ccf82a6f22c2d9c519805a7cd4694292.jpg","text":"TemporaryFile(/tmp/multipartBody7015590821007869529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284568304,"filename":"image_12072025_03_41_33_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/610a42b3c51fba298c3221fd98c56b87.jpg","text":"TemporaryFile(/tmp/multipartBody4750643060078186935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284568304,"filename":"image_12072025_03_40_53_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786484","file1":"1371786468","file0":"1371786444","file4":"1371786513","file3":"1371786503"},"map_files_photo_id_array":[{"photo_id":"1371786484","filename":"file2"},{"photo_id":"1371786513","filename":"file4"},{"photo_id":"1371786468","filename":"file1"},{"photo_id":"1371786444","filename":"file0"},{"photo_id":"1371786503","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786503":["hashtag1","hashtag2"]},{"1371786484":["hashtag1","hashtag2"]},{"1371786444":["hashtag1","hashtag2"]},{"1371786468":["hashtag1","hashtag2"]},{"1371786513":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786503, 1371786484, 1371786444, 1371786468, 1371786513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.162078142166138 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:42:17.025150
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_23_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_14_9681.jpg', 2), ('/home/nano/Desktop/images/12072025/03/41/image_12072025_03_42_04_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/03/41/image_12072025_03_41_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_44_9637.jpg', '/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_34_10648.jpg', '/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_23_9656.jpg', '/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_14_9681.jpg', '/home/nano/Desktop/images/12072025/03/41/image_12072025_03_42_04_10666.jpg', '/home/nano/Desktop/images/12072025/03/41/image_12072025_03_41_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_44_9637.jpg
/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_34_10648.jpg
/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_23_9656.jpg
/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_14_9681.jpg
/home/nano/Desktop/images/12072025/03/41/image_12072025_03_42_04_10666.jpg
/home/nano/Desktop/images/12072025/03/41/image_12072025_03_41_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786550","1371786553","1371786556","1371786555","1371786558","1371786554"],"photo_ids_order":["1371786550","1371786553","1371786554","1371786555","1371786556","1371786558"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/686149900837fbb3881e688b79a7afdb.jpg","text":"TemporaryFile(/tmp/multipartBody1066906496985877571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284598299,"filename":"image_12072025_03_42_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2775794e1371b4087787e537ff384bc6.jpg","text":"TemporaryFile(/tmp/multipartBody3644174961940860317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284598299,"filename":"image_12072025_03_42_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33186a35fc187855e3836ca05434880e.jpg","text":"TemporaryFile(/tmp/multipartBody416224321715134436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284598299,"filename":"image_12072025_03_42_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6366f32642c9bbb5e27a3ffe756d3269.jpg","text":"TemporaryFile(/tmp/multipartBody7461437887356398426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284598299,"filename":"image_12072025_03_42_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a379900218291a03072a926205940ee5.jpg","text":"TemporaryFile(/tmp/multipartBody8138563890977565944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284598299,"filename":"image_12072025_03_41_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be0ecd9146e7cfc48421772016b68384.jpg","text":"TemporaryFile(/tmp/multipartBody9114328145612390087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284598299,"filename":"image_12072025_03_42_23_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786554","file1":"1371786553","file0":"1371786550","file4":"1371786556","file5":"1371786558","file3":"1371786555"},"map_files_photo_id_array":[{"photo_id":"1371786558","filename":"file5"},{"photo_id":"1371786554","filename":"file2"},{"photo_id":"1371786556","filename":"file4"},{"photo_id":"1371786553","filename":"file1"},{"photo_id":"1371786550","filename":"file0"},{"photo_id":"1371786555","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786550":["hashtag1","hashtag2"]},{"1371786553":["hashtag1","hashtag2"]},{"1371786556":["hashtag1","hashtag2"]},{"1371786555":["hashtag1","hashtag2"]},{"1371786558":["hashtag1","hashtag2"]},{"1371786554":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786550, 1371786553, 1371786556, 1371786555, 1371786558, 1371786554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07831287384033 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:43:02.624180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/56/image_10072025_21_57_03_9671.jpg', 2), ('/home/nano/Desktop/images/10072025/21/56/image_10072025_21_56_44_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/56/image_10072025_21_56_33_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/56/image_10072025_21_56_14_10677.jpg', 2), ('/home/nano/Desktop/images/10072025/21/55/image_10072025_21_56_03_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/21/55/image_10072025_21_55_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/56/image_10072025_21_57_03_9671.jpg', '/home/nano/Desktop/images/10072025/21/56/image_10072025_21_56_44_10658.jpg', '/home/nano/Desktop/images/10072025/21/56/image_10072025_21_56_33_9656.jpg', '/home/nano/Desktop/images/10072025/21/56/image_10072025_21_56_14_10677.jpg', '/home/nano/Desktop/images/10072025/21/55/image_10072025_21_56_03_9665.jpg', '/home/nano/Desktop/images/10072025/21/55/image_10072025_21_55_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/56/image_10072025_21_57_03_9671.jpg
/home/nano/Desktop/images/10072025/21/56/image_10072025_21_56_44_10658.jpg
/home/nano/Desktop/images/10072025/21/56/image_10072025_21_56_33_9656.jpg
/home/nano/Desktop/images/10072025/21/56/image_10072025_21_56_14_10677.jpg
/home/nano/Desktop/images/10072025/21/55/image_10072025_21_56_03_9665.jpg
/home/nano/Desktop/images/10072025/21/55/image_10072025_21_55_54_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786701","1371786697","1371786676","1371786706","1371786703","1371786650"],"photo_ids_order":["1371786650","1371786676","1371786697","1371786701","1371786703","1371786706"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03d34d2a7fd028433794ccf29c6b7356.jpg","text":"TemporaryFile(/tmp/multipartBody5928533426247199843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284645366,"filename":"image_10072025_21_56_14_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77172eba70bfbd9bccac99e6f919bd56.jpg","text":"TemporaryFile(/tmp/multipartBody2743489301335096844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284645366,"filename":"image_10072025_21_56_33_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c8914ca1ce1ee1442d29d16d727eacc.jpg","text":"TemporaryFile(/tmp/multipartBody3409475875047678380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284645366,"filename":"image_10072025_21_56_44_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f439784d101c127119f569d0dee0262c.jpg","text":"TemporaryFile(/tmp/multipartBody8742178621792968013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284645366,"filename":"image_10072025_21_55_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37ccb89f477745213c7b243ea09a0257.jpg","text":"TemporaryFile(/tmp/multipartBody5933728728823534480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284645366,"filename":"image_10072025_21_56_03_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2dbeac62e859488f1a37f36956809699.jpg","text":"TemporaryFile(/tmp/multipartBody5166448927360548816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284645366,"filename":"image_10072025_21_57_03_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786697","file1":"1371786676","file0":"1371786650","file4":"1371786703","file5":"1371786706","file3":"1371786701"},"map_files_photo_id_array":[{"photo_id":"1371786706","filename":"file5"},{"photo_id":"1371786697","filename":"file2"},{"photo_id":"1371786703","filename":"file4"},{"photo_id":"1371786676","filename":"file1"},{"photo_id":"1371786650","filename":"file0"},{"photo_id":"1371786701","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371786701":["hashtag1","hashtag2"]},{"1371786697":["hashtag1","hashtag2"]},{"1371786676":["hashtag1","hashtag2"]},{"1371786706":["hashtag1","hashtag2"]},{"1371786703":["hashtag1","hashtag2"]},{"1371786650":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371786701, 1371786697, 1371786676, 1371786706, 1371786703, 1371786650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3632276058197 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:43:47.131923
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/43/image_12072025_03_43_44_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/43/image_12072025_03_43_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/03/43/image_12072025_03_43_14_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/03/42/image_12072025_03_43_04_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/43/image_12072025_03_43_44_9648.jpg', '/home/nano/Desktop/images/12072025/03/43/image_12072025_03_43_23_9640.jpg', '/home/nano/Desktop/images/12072025/03/43/image_12072025_03_43_14_9683.jpg', '/home/nano/Desktop/images/12072025/03/42/image_12072025_03_43_04_10664.jpg', '/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/43/image_12072025_03_43_44_9648.jpg
/home/nano/Desktop/images/12072025/03/43/image_12072025_03_43_23_9640.jpg
/home/nano/Desktop/images/12072025/03/43/image_12072025_03_43_14_9683.jpg
/home/nano/Desktop/images/12072025/03/42/image_12072025_03_43_04_10664.jpg
/home/nano/Desktop/images/12072025/03/42/image_12072025_03_42_53_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786722","1371786725","1371786733","1371786736","1371786729"],"photo_ids_order":["1371786722","1371786725","1371786729","1371786733","1371786736"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7af3c68a24b394d738a1662aa347219.jpg","text":"TemporaryFile(/tmp/multipartBody2713940632155672186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284688469,"filename":"image_12072025_03_43_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ff7f6ca8a9fa70d52316f51bc3aec09.jpg","text":"TemporaryFile(/tmp/multipartBody1332675325603645580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284688469,"filename":"image_12072025_03_43_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89a1e456ff6e0c173e3e6a82f99cfb2e.jpg","text":"TemporaryFile(/tmp/multipartBody5364016562256200038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284688469,"filename":"image_12072025_03_43_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbac5ec3ee3d05cf94e91009f7d66b9b.jpg","text":"TemporaryFile(/tmp/multipartBody3283657806952927641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284688469,"filename":"image_12072025_03_42_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e9a1da265c4ca103e9827df6ebcd956.jpg","text":"TemporaryFile(/tmp/multipartBody4531785384858976183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284688469,"filename":"image_12072025_03_43_14_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786729","file1":"1371786725","file0":"1371786722","file4":"1371786736","file3":"1371786733"},"map_files_photo_id_array":[{"photo_id":"1371786729","filename":"file2"},{"photo_id":"1371786736","filename":"file4"},{"photo_id":"1371786725","filename":"file1"},{"photo_id":"1371786722","filename":"file0"},{"photo_id":"1371786733","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786722":["hashtag1","hashtag2"]},{"1371786725":["hashtag1","hashtag2"]},{"1371786733":["hashtag1","hashtag2"]},{"1371786736":["hashtag1","hashtag2"]},{"1371786729":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786722, 1371786725, 1371786733, 1371786736, 1371786729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.085315465927124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:44:32.231137
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_43_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_34_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_14_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/43/image_12072025_03_43_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_43_9647.jpg', '/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_34_10665.jpg', '/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_23_9636.jpg', '/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_14_9655.jpg', '/home/nano/Desktop/images/12072025/03/43/image_12072025_03_43_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_43_9647.jpg
/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_34_10665.jpg
/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_23_9636.jpg
/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_14_9655.jpg
/home/nano/Desktop/images/12072025/03/43/image_12072025_03_43_53_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786755","1371786749","1371786745","1371786753","1371786747"],"photo_ids_order":["1371786745","1371786747","1371786749","1371786753","1371786755"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5fec2907e010852410271b26345b747.jpg","text":"TemporaryFile(/tmp/multipartBody6336481194285149576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284733404,"filename":"image_12072025_03_43_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/466bfa0ba9d7886937416720e33d5cdf.jpg","text":"TemporaryFile(/tmp/multipartBody7623898408722862998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284733404,"filename":"image_12072025_03_44_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c698728de994a974702c15fff5cffc4c.jpg","text":"TemporaryFile(/tmp/multipartBody5969881458949534155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284733404,"filename":"image_12072025_03_44_43_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de906e918f9ac29a5a32d42df17c4f2b.jpg","text":"TemporaryFile(/tmp/multipartBody6233884186133688499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284733404,"filename":"image_12072025_03_44_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cbda23f287c54f231182640bbb499f2.jpg","text":"TemporaryFile(/tmp/multipartBody6791095342799815049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284733404,"filename":"image_12072025_03_44_34_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786749","file1":"1371786747","file0":"1371786745","file4":"1371786755","file3":"1371786753"},"map_files_photo_id_array":[{"photo_id":"1371786749","filename":"file2"},{"photo_id":"1371786755","filename":"file4"},{"photo_id":"1371786747","filename":"file1"},{"photo_id":"1371786745","filename":"file0"},{"photo_id":"1371786753","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786755":["hashtag1","hashtag2"]},{"1371786749":["hashtag1","hashtag2"]},{"1371786745":["hashtag1","hashtag2"]},{"1371786753":["hashtag1","hashtag2"]},{"1371786747":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786755, 1371786749, 1371786745, 1371786753, 1371786747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.588520288467407 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:45:02.884048
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/55/image_10072025_21_55_24_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/54/image_10072025_21_55_03_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/21/54/image_10072025_21_54_54_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/21/54/image_10072025_21_54_33_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/54/image_10072025_21_54_24_9668.jpg', 2), ('/home/nano/Desktop/images/10072025/21/54/image_10072025_21_54_14_10694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/55/image_10072025_21_55_24_9648.jpg', '/home/nano/Desktop/images/10072025/21/54/image_10072025_21_55_03_9667.jpg', '/home/nano/Desktop/images/10072025/21/54/image_10072025_21_54_54_9650.jpg', '/home/nano/Desktop/images/10072025/21/54/image_10072025_21_54_33_9648.jpg', '/home/nano/Desktop/images/10072025/21/54/image_10072025_21_54_24_9668.jpg', '/home/nano/Desktop/images/10072025/21/54/image_10072025_21_54_14_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/55/image_10072025_21_55_24_9648.jpg
/home/nano/Desktop/images/10072025/21/54/image_10072025_21_55_03_9667.jpg
/home/nano/Desktop/images/10072025/21/54/image_10072025_21_54_54_9650.jpg
/home/nano/Desktop/images/10072025/21/54/image_10072025_21_54_33_9648.jpg
/home/nano/Desktop/images/10072025/21/54/image_10072025_21_54_24_9668.jpg
/home/nano/Desktop/images/10072025/21/54/image_10072025_21_54_14_10694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786781","1371786778","1371786772","1371786780","1371786776","1371786770"],"photo_ids_order":["1371786770","1371786772","1371786776","1371786778","1371786780","1371786781"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6bcb0ff06c8780448e341da73d0d11c.jpg","text":"TemporaryFile(/tmp/multipartBody4593813431353647167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284765646,"filename":"image_10072025_21_54_14_10694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21f257c72060bb6084ff3e71ab9a48b0.jpg","text":"TemporaryFile(/tmp/multipartBody3472375124289459945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284765646,"filename":"image_10072025_21_54_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5985e6adc62963c73a5729ea7f181191.jpg","text":"TemporaryFile(/tmp/multipartBody6300803067986089974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284765646,"filename":"image_10072025_21_55_03_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/baede7582b1ebffa002709a051294429.jpg","text":"TemporaryFile(/tmp/multipartBody7056742005188927408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284765646,"filename":"image_10072025_21_54_24_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bcc29143e088777a45f535bbbc7d886e.jpg","text":"TemporaryFile(/tmp/multipartBody8310194741337841311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284765646,"filename":"image_10072025_21_54_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65d41f8d4ee5eb5ac6eca085e599374d.jpg","text":"TemporaryFile(/tmp/multipartBody7655058580597106066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284765646,"filename":"image_10072025_21_55_24_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786776","file1":"1371786772","file0":"1371786770","file4":"1371786780","file5":"1371786781","file3":"1371786778"},"map_files_photo_id_array":[{"photo_id":"1371786781","filename":"file5"},{"photo_id":"1371786776","filename":"file2"},{"photo_id":"1371786780","filename":"file4"},{"photo_id":"1371786772","filename":"file1"},{"photo_id":"1371786770","filename":"file0"},{"photo_id":"1371786778","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371786781":["hashtag1","hashtag2"]},{"1371786778":["hashtag1","hashtag2"]},{"1371786772":["hashtag1","hashtag2"]},{"1371786780":["hashtag1","hashtag2"]},{"1371786776":["hashtag1","hashtag2"]},{"1371786770":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371786781, 1371786778, 1371786772, 1371786780, 1371786776, 1371786770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03014063835144 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:45:47.329265
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_43_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_34_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/03/44/image_12072025_03_45_04_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_53_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_43_9644.jpg', '/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_34_10656.jpg', '/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_23_9637.jpg', '/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_13_9658.jpg', '/home/nano/Desktop/images/12072025/03/44/image_12072025_03_45_04_10654.jpg', '/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_53_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_43_9644.jpg
/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_34_10656.jpg
/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_23_9637.jpg
/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_13_9658.jpg
/home/nano/Desktop/images/12072025/03/44/image_12072025_03_45_04_10654.jpg
/home/nano/Desktop/images/12072025/03/44/image_12072025_03_44_53_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786799","1371786793","1371786805","1371786802","1371786801","1371786797"],"photo_ids_order":["1371786793","1371786797","1371786799","1371786801","1371786802","1371786805"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d64cb52beb3334414b2cd1b52f745e97.jpg","text":"TemporaryFile(/tmp/multipartBody8644367783319322337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284808763,"filename":"image_12072025_03_45_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/777704be02c3ed151ed6d26e5edf9ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8101865451214725583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284808763,"filename":"image_12072025_03_45_43_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40aca2c7a4de1848962a2632e5d44de7.jpg","text":"TemporaryFile(/tmp/multipartBody6413191441380320429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284808763,"filename":"image_12072025_03_44_53_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd3c7997b4b65af703d3b2687a5b4ec8.jpg","text":"TemporaryFile(/tmp/multipartBody5407147304753895041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284808763,"filename":"image_12072025_03_45_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/815fdfbe7ee5fe6ac37d339e6826593a.jpg","text":"TemporaryFile(/tmp/multipartBody1173762003044051151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284808763,"filename":"image_12072025_03_45_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/632c4241e0933b7f5c29d96208382ed6.jpg","text":"TemporaryFile(/tmp/multipartBody3190578221024944593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284808763,"filename":"image_12072025_03_45_34_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786799","file1":"1371786797","file0":"1371786793","file4":"1371786802","file5":"1371786805","file3":"1371786801"},"map_files_photo_id_array":[{"photo_id":"1371786805","filename":"file5"},{"photo_id":"1371786799","filename":"file2"},{"photo_id":"1371786802","filename":"file4"},{"photo_id":"1371786797","filename":"file1"},{"photo_id":"1371786793","filename":"file0"},{"photo_id":"1371786801","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786799":["hashtag1","hashtag2"]},{"1371786793":["hashtag1","hashtag2"]},{"1371786805":["hashtag1","hashtag2"]},{"1371786802":["hashtag1","hashtag2"]},{"1371786801":["hashtag1","hashtag2"]},{"1371786797":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786799, 1371786793, 1371786805, 1371786802, 1371786801, 1371786797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.402894020080566 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:46:32.437385
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_34_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_13_9676.jpg', 2), ('/home/nano/Desktop/images/12072025/03/45/image_12072025_03_46_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_43_9645.jpg', '/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_34_9637.jpg', '/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_24_10648.jpg', '/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_13_9676.jpg', '/home/nano/Desktop/images/12072025/03/45/image_12072025_03_46_04_9645.jpg', '/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_43_9645.jpg
/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_34_9637.jpg
/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_24_10648.jpg
/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_13_9676.jpg
/home/nano/Desktop/images/12072025/03/45/image_12072025_03_46_04_9645.jpg
/home/nano/Desktop/images/12072025/03/45/image_12072025_03_45_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786833","1371786821","1371786818","1371786823","1371786825","1371786830"],"photo_ids_order":["1371786818","1371786821","1371786823","1371786825","1371786830","1371786833"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f27f8e505c3cc1d6f61553212b31fce.jpg","text":"TemporaryFile(/tmp/multipartBody6895071369983567486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284853837,"filename":"image_12072025_03_45_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a51a461d80325af42b41fef3cbd936e9.jpg","text":"TemporaryFile(/tmp/multipartBody282590822562724392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284853837,"filename":"image_12072025_03_46_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3c854bf342c6408359b27ad796310ea.jpg","text":"TemporaryFile(/tmp/multipartBody101783579352071178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284853837,"filename":"image_12072025_03_46_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb04e7cfad3a4d6b3b662c698177f81a.jpg","text":"TemporaryFile(/tmp/multipartBody6396163889318930269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284853837,"filename":"image_12072025_03_46_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/129a19dbd5fa7199992504e048bd9285.jpg","text":"TemporaryFile(/tmp/multipartBody1141451891782641277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284853837,"filename":"image_12072025_03_46_13_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77689502570f1d722ea832291e1cccbe.jpg","text":"TemporaryFile(/tmp/multipartBody457803922852462354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284853837,"filename":"image_12072025_03_46_04_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786823","file1":"1371786821","file0":"1371786818","file4":"1371786830","file5":"1371786833","file3":"1371786825"},"map_files_photo_id_array":[{"photo_id":"1371786833","filename":"file5"},{"photo_id":"1371786823","filename":"file2"},{"photo_id":"1371786830","filename":"file4"},{"photo_id":"1371786821","filename":"file1"},{"photo_id":"1371786818","filename":"file0"},{"photo_id":"1371786825","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786833":["hashtag1","hashtag2"]},{"1371786821":["hashtag1","hashtag2"]},{"1371786818":["hashtag1","hashtag2"]},{"1371786823":["hashtag1","hashtag2"]},{"1371786825":["hashtag1","hashtag2"]},{"1371786830":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786833, 1371786821, 1371786818, 1371786823, 1371786825, 1371786830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.191967248916626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:47:17.524473
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/47/image_12072025_03_47_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/03/47/image_12072025_03_47_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/46/image_12072025_03_47_04_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/47/image_12072025_03_47_43_9645.jpg', '/home/nano/Desktop/images/12072025/03/47/image_12072025_03_47_24_10648.jpg', '/home/nano/Desktop/images/12072025/03/46/image_12072025_03_47_04_9665.jpg', '/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/47/image_12072025_03_47_43_9645.jpg
/home/nano/Desktop/images/12072025/03/47/image_12072025_03_47_24_10648.jpg
/home/nano/Desktop/images/12072025/03/46/image_12072025_03_47_04_9665.jpg
/home/nano/Desktop/images/12072025/03/46/image_12072025_03_46_54_10649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786861","1371786858","1371786863","1371786857"],"photo_ids_order":["1371786857","1371786858","1371786861","1371786863"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2ada6a7a47ee16265767ff7b9a6fa6c.jpg","text":"TemporaryFile(/tmp/multipartBody7357110727024559595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284898728,"filename":"image_12072025_03_47_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7cc26001566a70bcbc395d6b9d642723.jpg","text":"TemporaryFile(/tmp/multipartBody3650280020702940227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284898728,"filename":"image_12072025_03_47_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe84b780e6bbb0165fa8c2ca19277d51.jpg","text":"TemporaryFile(/tmp/multipartBody1125809935602692104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284898728,"filename":"image_12072025_03_46_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d15c224f95ab82f61e1853dd6f73ce6.jpg","text":"TemporaryFile(/tmp/multipartBody8580317822662576625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284898728,"filename":"image_12072025_03_47_43_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786861","file1":"1371786858","file0":"1371786857","file3":"1371786863"},"map_files_photo_id_array":[{"photo_id":"1371786861","filename":"file2"},{"photo_id":"1371786858","filename":"file1"},{"photo_id":"1371786857","filename":"file0"},{"photo_id":"1371786863","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786861":["hashtag1","hashtag2"]},{"1371786858":["hashtag1","hashtag2"]},{"1371786863":["hashtag1","hashtag2"]},{"1371786857":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786861, 1371786858, 1371786863, 1371786857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.879478216171265 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:47:47.533654
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/53/image_10072025_21_53_44_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/53/image_10072025_21_53_33_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/53/image_10072025_21_53_24_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/52/image_10072025_21_53_03_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_54_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_44_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/53/image_10072025_21_53_44_10656.jpg', '/home/nano/Desktop/images/10072025/21/53/image_10072025_21_53_33_9645.jpg', '/home/nano/Desktop/images/10072025/21/53/image_10072025_21_53_24_9648.jpg', '/home/nano/Desktop/images/10072025/21/52/image_10072025_21_53_03_9650.jpg', '/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_54_9648.jpg', '/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_44_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/53/image_10072025_21_53_44_10656.jpg
/home/nano/Desktop/images/10072025/21/53/image_10072025_21_53_33_9645.jpg
/home/nano/Desktop/images/10072025/21/53/image_10072025_21_53_24_9648.jpg
/home/nano/Desktop/images/10072025/21/52/image_10072025_21_53_03_9650.jpg
/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_54_9648.jpg
/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_44_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786880","1371786871","1371786873","1371786876","1371786884","1371786887"],"photo_ids_order":["1371786871","1371786873","1371786876","1371786880","1371786884","1371786887"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aadead3269edb09edb81651ad717ca1f.jpg","text":"TemporaryFile(/tmp/multipartBody4080661490990099191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284930407,"filename":"image_10072025_21_53_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f2bad05a25524dd1d4166a0dd2e13dc.jpg","text":"TemporaryFile(/tmp/multipartBody215937209078891145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284930407,"filename":"image_10072025_21_53_44_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a30e8f28c8b2627f8c41a9ea5e9d3bf0.jpg","text":"TemporaryFile(/tmp/multipartBody4381615502453131642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284930407,"filename":"image_10072025_21_53_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37699e087a8a2a3e52246635bbd5dd53.jpg","text":"TemporaryFile(/tmp/multipartBody9011298125720226049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284930407,"filename":"image_10072025_21_53_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86d5f2263fc7b5d7be68a0c227e10c8f.jpg","text":"TemporaryFile(/tmp/multipartBody9121516072304486232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284930407,"filename":"image_10072025_21_52_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4affadb8918be30875f88de402f046b.jpg","text":"TemporaryFile(/tmp/multipartBody7359636244655826095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284930407,"filename":"image_10072025_21_52_44_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786876","file1":"1371786873","file0":"1371786871","file4":"1371786884","file5":"1371786887","file3":"1371786880"},"map_files_photo_id_array":[{"photo_id":"1371786887","filename":"file5"},{"photo_id":"1371786876","filename":"file2"},{"photo_id":"1371786884","filename":"file4"},{"photo_id":"1371786873","filename":"file1"},{"photo_id":"1371786871","filename":"file0"},{"photo_id":"1371786880","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371786880":["hashtag1","hashtag2"]},{"1371786871":["hashtag1","hashtag2"]},{"1371786873":["hashtag1","hashtag2"]},{"1371786876":["hashtag1","hashtag2"]},{"1371786884":["hashtag1","hashtag2"]},{"1371786887":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371786880, 1371786871, 1371786873, 1371786876, 1371786884, 1371786887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.564159870147705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:48:32.593751
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/48/image_12072025_03_48_13_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/03/47/image_12072025_03_48_03_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/03/47/image_12072025_03_47_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/48/image_12072025_03_48_13_9652.jpg', '/home/nano/Desktop/images/12072025/03/47/image_12072025_03_48_03_9658.jpg', '/home/nano/Desktop/images/12072025/03/47/image_12072025_03_47_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/48/image_12072025_03_48_13_9652.jpg
/home/nano/Desktop/images/12072025/03/47/image_12072025_03_48_03_9658.jpg
/home/nano/Desktop/images/12072025/03/47/image_12072025_03_47_54_10649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786898","1371786893","1371786896"],"photo_ids_order":["1371786893","1371786896","1371786898"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26f997dc01dd9682b4a93d05fb831936.jpg","text":"TemporaryFile(/tmp/multipartBody5120660750385295287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284973747,"filename":"image_12072025_03_47_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb0f87c2b57dc380c04a7143b61ab119.jpg","text":"TemporaryFile(/tmp/multipartBody7257542919794395529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284973747,"filename":"image_12072025_03_48_13_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16518ace16624d28d09afc571a8dd06f.jpg","text":"TemporaryFile(/tmp/multipartBody3791007167487015740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752284973747,"filename":"image_12072025_03_48_03_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786898","file1":"1371786896","file0":"1371786893"},"map_files_photo_id_array":[{"photo_id":"1371786898","filename":"file2"},{"photo_id":"1371786896","filename":"file1"},{"photo_id":"1371786893","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786898":["hashtag1","hashtag2"]},{"1371786893":["hashtag1","hashtag2"]},{"1371786896":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786898, 1371786893, 1371786896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.90780544281006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:49:03.611296
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_33_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_24_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_13_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/21/51/image_10072025_21_52_03_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_54_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_43_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_33_9649.jpg', '/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_24_10656.jpg', '/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_13_9667.jpg', '/home/nano/Desktop/images/10072025/21/51/image_10072025_21_52_03_9646.jpg', '/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_54_10658.jpg', '/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_43_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_33_9649.jpg
/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_24_10656.jpg
/home/nano/Desktop/images/10072025/21/52/image_10072025_21_52_13_9667.jpg
/home/nano/Desktop/images/10072025/21/51/image_10072025_21_52_03_9646.jpg
/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_54_10658.jpg
/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_43_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786914","1371786917","1371786922","1371786919","1371786910","1371786907"],"photo_ids_order":["1371786907","1371786910","1371786914","1371786917","1371786919","1371786922"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30eefac8863fd26e31139ffce1bd4a6f.jpg","text":"TemporaryFile(/tmp/multipartBody2476340434141872132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285006435,"filename":"image_10072025_21_52_13_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55f0100e1a95b66577c5f7c6495eaf0a.jpg","text":"TemporaryFile(/tmp/multipartBody7694540206289790453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285006435,"filename":"image_10072025_21_52_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e18a9b764a13b7aa2fa863a59494a73.jpg","text":"TemporaryFile(/tmp/multipartBody6218928773605902698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285006435,"filename":"image_10072025_21_51_43_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a55814e49cfd37836330b25feba5b65.jpg","text":"TemporaryFile(/tmp/multipartBody1422990707093207108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285006435,"filename":"image_10072025_21_51_54_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a10319bb6df68e1a0e5c4b8806e0a0f7.jpg","text":"TemporaryFile(/tmp/multipartBody1056872366186202982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285006435,"filename":"image_10072025_21_52_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d988f4880ebc7064c04f4d297b6a89d.jpg","text":"TemporaryFile(/tmp/multipartBody8566317088055438571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285006435,"filename":"image_10072025_21_52_33_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786914","file1":"1371786910","file0":"1371786907","file4":"1371786919","file5":"1371786922","file3":"1371786917"},"map_files_photo_id_array":[{"photo_id":"1371786922","filename":"file5"},{"photo_id":"1371786914","filename":"file2"},{"photo_id":"1371786919","filename":"file4"},{"photo_id":"1371786910","filename":"file1"},{"photo_id":"1371786907","filename":"file0"},{"photo_id":"1371786917","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371786914":["hashtag1","hashtag2"]},{"1371786917":["hashtag1","hashtag2"]},{"1371786922":["hashtag1","hashtag2"]},{"1371786919":["hashtag1","hashtag2"]},{"1371786910":["hashtag1","hashtag2"]},{"1371786907":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371786914, 1371786917, 1371786922, 1371786919, 1371786910, 1371786907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52453804016113 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:49:47.774622
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_14_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/03/48/image_12072025_03_49_03_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/03/48/image_12072025_03_48_24_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_44_10647.jpg', '/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_33_9638.jpg', '/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_24_9638.jpg', '/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_14_10665.jpg', '/home/nano/Desktop/images/12072025/03/48/image_12072025_03_49_03_9639.jpg', '/home/nano/Desktop/images/12072025/03/48/image_12072025_03_48_24_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_44_10647.jpg
/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_33_9638.jpg
/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_24_9638.jpg
/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_14_10665.jpg
/home/nano/Desktop/images/12072025/03/48/image_12072025_03_49_03_9639.jpg
/home/nano/Desktop/images/12072025/03/48/image_12072025_03_48_24_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786941","1371786951","1371786954","1371786948","1371786939","1371786944"],"photo_ids_order":["1371786939","1371786941","1371786944","1371786948","1371786951","1371786954"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1d67302d8a32e1314ca69d06772fbe3.jpg","text":"TemporaryFile(/tmp/multipartBody3559819937588933292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285052014,"filename":"image_12072025_03_49_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18d6bb0759f9634a2b6afe50e16a3c62.jpg","text":"TemporaryFile(/tmp/multipartBody5676856626743895434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285052014,"filename":"image_12072025_03_49_03_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f88a65cc27a3173a266e876572c62fd7.jpg","text":"TemporaryFile(/tmp/multipartBody7259639445983715463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285052014,"filename":"image_12072025_03_48_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c7dd2baeecb3bad404524b76aeef802.jpg","text":"TemporaryFile(/tmp/multipartBody6949945454524030124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285052014,"filename":"image_12072025_03_49_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7eacce5411d844020de996e215d0c39a.jpg","text":"TemporaryFile(/tmp/multipartBody5889637243859470051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285052014,"filename":"image_12072025_03_49_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bcb9baf428f25b7ac96540cea49776f0.jpg","text":"TemporaryFile(/tmp/multipartBody577597815316125746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285052014,"filename":"image_12072025_03_49_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786944","file1":"1371786941","file0":"1371786939","file4":"1371786951","file5":"1371786954","file3":"1371786948"},"map_files_photo_id_array":[{"photo_id":"1371786954","filename":"file5"},{"photo_id":"1371786944","filename":"file2"},{"photo_id":"1371786951","filename":"file4"},{"photo_id":"1371786941","filename":"file1"},{"photo_id":"1371786939","filename":"file0"},{"photo_id":"1371786948","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786941":["hashtag1","hashtag2"]},{"1371786951":["hashtag1","hashtag2"]},{"1371786954":["hashtag1","hashtag2"]},{"1371786948":["hashtag1","hashtag2"]},{"1371786939":["hashtag1","hashtag2"]},{"1371786944":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786941, 1371786951, 1371786954, 1371786948, 1371786939, 1371786944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74973511695862 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:50:31.863169
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_24_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_14_10686.jpg', 2), ('/home/nano/Desktop/images/12072025/03/49/image_12072025_03_50_03_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_44_10647.jpg', '/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_33_9639.jpg', '/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_24_9654.jpg', '/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_14_10686.jpg', '/home/nano/Desktop/images/12072025/03/49/image_12072025_03_50_03_9651.jpg', '/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_44_10647.jpg
/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_33_9639.jpg
/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_24_9654.jpg
/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_14_10686.jpg
/home/nano/Desktop/images/12072025/03/49/image_12072025_03_50_03_9651.jpg
/home/nano/Desktop/images/12072025/03/49/image_12072025_03_49_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786961","1371786964","1371786963","1371786972","1371786966","1371786969"],"photo_ids_order":["1371786961","1371786963","1371786964","1371786966","1371786969","1371786972"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00d9cb430d3419e5fd6884ed57556e49.jpg","text":"TemporaryFile(/tmp/multipartBody6711922080805671519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285096456,"filename":"image_12072025_03_50_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82e35770548159eda73218b199121612.jpg","text":"TemporaryFile(/tmp/multipartBody398196135817890015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285096456,"filename":"image_12072025_03_50_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/283a843b9f6b4ecd3a6cd48fabff9f44.jpg","text":"TemporaryFile(/tmp/multipartBody2886367125774057158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285096456,"filename":"image_12072025_03_50_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/364073181177d8a155d73fdc5736e4f3.jpg","text":"TemporaryFile(/tmp/multipartBody6277108737641360052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285096456,"filename":"image_12072025_03_49_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e486d74ba70f7907c16734ac40690b4.jpg","text":"TemporaryFile(/tmp/multipartBody3642352804993224214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285096456,"filename":"image_12072025_03_50_14_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc921b7c09a9edb5716e142c55b125c6.jpg","text":"TemporaryFile(/tmp/multipartBody3767817595719478989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285096456,"filename":"image_12072025_03_50_03_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786964","file1":"1371786963","file0":"1371786961","file4":"1371786969","file5":"1371786972","file3":"1371786966"},"map_files_photo_id_array":[{"photo_id":"1371786972","filename":"file5"},{"photo_id":"1371786964","filename":"file2"},{"photo_id":"1371786969","filename":"file4"},{"photo_id":"1371786963","filename":"file1"},{"photo_id":"1371786961","filename":"file0"},{"photo_id":"1371786966","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786961":["hashtag1","hashtag2"]},{"1371786964":["hashtag1","hashtag2"]},{"1371786963":["hashtag1","hashtag2"]},{"1371786972":["hashtag1","hashtag2"]},{"1371786966":["hashtag1","hashtag2"]},{"1371786969":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786961, 1371786964, 1371786963, 1371786972, 1371786966, 1371786969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48490810394287 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:51:16.959973
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/51/image_12072025_03_51_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/03/51/image_12072025_03_51_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/03/51/image_12072025_03_51_14_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/03/50/image_12072025_03_51_03_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/51/image_12072025_03_51_44_10649.jpg', '/home/nano/Desktop/images/12072025/03/51/image_12072025_03_51_33_9639.jpg', '/home/nano/Desktop/images/12072025/03/51/image_12072025_03_51_14_10668.jpg', '/home/nano/Desktop/images/12072025/03/50/image_12072025_03_51_03_9655.jpg', '/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/51/image_12072025_03_51_44_10649.jpg
/home/nano/Desktop/images/12072025/03/51/image_12072025_03_51_33_9639.jpg
/home/nano/Desktop/images/12072025/03/51/image_12072025_03_51_14_10668.jpg
/home/nano/Desktop/images/12072025/03/50/image_12072025_03_51_03_9655.jpg
/home/nano/Desktop/images/12072025/03/50/image_12072025_03_50_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371786991","1371786984","1371786987","1371786989","1371786983"],"photo_ids_order":["1371786983","1371786984","1371786987","1371786989","1371786991"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0813699de32e45396067b7cef45f0896.jpg","text":"TemporaryFile(/tmp/multipartBody3930392563532088970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285140978,"filename":"image_12072025_03_50_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb596ec4ecdc32a0d5f50d90f8733a00.jpg","text":"TemporaryFile(/tmp/multipartBody7009481835745822917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285140978,"filename":"image_12072025_03_51_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae1e4fe2852b35978ece659edcae16ab.jpg","text":"TemporaryFile(/tmp/multipartBody3937313777332930942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285140978,"filename":"image_12072025_03_51_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e57e0ade7ff7e0ce96771a0b640de76e.jpg","text":"TemporaryFile(/tmp/multipartBody829704757207082943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285140978,"filename":"image_12072025_03_51_03_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73035c37d192728d1e464f33d8b28737.jpg","text":"TemporaryFile(/tmp/multipartBody984990164599907825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285140978,"filename":"image_12072025_03_51_44_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371786987","file1":"1371786984","file0":"1371786983","file4":"1371786991","file3":"1371786989"},"map_files_photo_id_array":[{"photo_id":"1371786987","filename":"file2"},{"photo_id":"1371786991","filename":"file4"},{"photo_id":"1371786984","filename":"file1"},{"photo_id":"1371786983","filename":"file0"},{"photo_id":"1371786989","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371786991":["hashtag1","hashtag2"]},{"1371786984":["hashtag1","hashtag2"]},{"1371786987":["hashtag1","hashtag2"]},{"1371786989":["hashtag1","hashtag2"]},{"1371786983":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371786991, 1371786984, 1371786987, 1371786989, 1371786983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.03533148765564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:52:02.314000
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_33_9673.jpg', 2), ('/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_24_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_13_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/21/50/image_10072025_21_51_03_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/21/50/image_10072025_21_50_54_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/21/50/image_10072025_21_50_43_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_33_9673.jpg', '/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_24_10658.jpg', '/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_13_9666.jpg', '/home/nano/Desktop/images/10072025/21/50/image_10072025_21_51_03_9667.jpg', '/home/nano/Desktop/images/10072025/21/50/image_10072025_21_50_54_10663.jpg', '/home/nano/Desktop/images/10072025/21/50/image_10072025_21_50_43_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_33_9673.jpg
/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_24_10658.jpg
/home/nano/Desktop/images/10072025/21/51/image_10072025_21_51_13_9666.jpg
/home/nano/Desktop/images/10072025/21/50/image_10072025_21_51_03_9667.jpg
/home/nano/Desktop/images/10072025/21/50/image_10072025_21_50_54_10663.jpg
/home/nano/Desktop/images/10072025/21/50/image_10072025_21_50_43_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371787022","1371787030","1371787024","1371787033","1371787032","1371787028"],"photo_ids_order":["1371787022","1371787024","1371787028","1371787030","1371787032","1371787033"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f98b042b8b627c8decb0977e453fa51.jpg","text":"TemporaryFile(/tmp/multipartBody355928247221432605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285188390,"filename":"image_10072025_21_51_33_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f26a74be7b877c305d5a132db935fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8060298437157407811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285188390,"filename":"image_10072025_21_51_03_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e22d2b0361ab15e8f31187c96df1c104.jpg","text":"TemporaryFile(/tmp/multipartBody4302857508154956277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285188390,"filename":"image_10072025_21_51_24_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8db1d83dc8c3184155e065d95c6ad9f9.jpg","text":"TemporaryFile(/tmp/multipartBody1363611927290203711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285188390,"filename":"image_10072025_21_50_43_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e860319697f7250eb82ad991c4c494e.jpg","text":"TemporaryFile(/tmp/multipartBody4492788420214968223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285188390,"filename":"image_10072025_21_50_54_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/544ccd68564a7625e0b201a235a820ed.jpg","text":"TemporaryFile(/tmp/multipartBody3255487842828222470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285188390,"filename":"image_10072025_21_51_13_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371787028","file1":"1371787024","file0":"1371787022","file4":"1371787032","file5":"1371787033","file3":"1371787030"},"map_files_photo_id_array":[{"photo_id":"1371787033","filename":"file5"},{"photo_id":"1371787028","filename":"file2"},{"photo_id":"1371787032","filename":"file4"},{"photo_id":"1371787024","filename":"file1"},{"photo_id":"1371787022","filename":"file0"},{"photo_id":"1371787030","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371787022":["hashtag1","hashtag2"]},{"1371787030":["hashtag1","hashtag2"]},{"1371787024":["hashtag1","hashtag2"]},{"1371787033":["hashtag1","hashtag2"]},{"1371787032":["hashtag1","hashtag2"]},{"1371787028":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371787022, 1371787030, 1371787024, 1371787033, 1371787032, 1371787028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78504490852356 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:52:47.049851
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_44_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_34_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_14_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/03/51/image_12072025_03_52_04_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/03/51/image_12072025_03_51_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_44_9642.jpg', '/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_34_10656.jpg', '/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_23_9636.jpg', '/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_14_9666.jpg', '/home/nano/Desktop/images/12072025/03/51/image_12072025_03_52_04_10659.jpg', '/home/nano/Desktop/images/12072025/03/51/image_12072025_03_51_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_44_9642.jpg
/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_34_10656.jpg
/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_23_9636.jpg
/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_14_9666.jpg
/home/nano/Desktop/images/12072025/03/51/image_12072025_03_52_04_10659.jpg
/home/nano/Desktop/images/12072025/03/51/image_12072025_03_51_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371787109","1371787100","1371787087","1371787057","1371787059","1371787113"],"photo_ids_order":["1371787057","1371787059","1371787087","1371787100","1371787109","1371787113"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6206e51fb2c2d8af7f205b2f1e1c0c15.jpg","text":"TemporaryFile(/tmp/multipartBody1792901606304158587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285234656,"filename":"image_12072025_03_52_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7be4d17da41f2b13c5abc1b28482226.jpg","text":"TemporaryFile(/tmp/multipartBody8649733809002607274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285234656,"filename":"image_12072025_03_52_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84ca3a8bf1cb85a2a8f3a42db23503d6.jpg","text":"TemporaryFile(/tmp/multipartBody628396777129499259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285234656,"filename":"image_12072025_03_52_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/370870056dce4a3f75bef3ab1f4bd2c5.jpg","text":"TemporaryFile(/tmp/multipartBody4953638055795552368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285234656,"filename":"image_12072025_03_52_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18ebd8065d1ad62a9ae63e68f05d6639.jpg","text":"TemporaryFile(/tmp/multipartBody3689061889107249082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285234656,"filename":"image_12072025_03_52_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91c55b3d06fd8c19f22fb3211525dd87.jpg","text":"TemporaryFile(/tmp/multipartBody2404869212066094182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285234656,"filename":"image_12072025_03_51_53_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371787087","file1":"1371787059","file0":"1371787057","file4":"1371787109","file5":"1371787113","file3":"1371787100"},"map_files_photo_id_array":[{"photo_id":"1371787113","filename":"file5"},{"photo_id":"1371787087","filename":"file2"},{"photo_id":"1371787109","filename":"file4"},{"photo_id":"1371787059","filename":"file1"},{"photo_id":"1371787057","filename":"file0"},{"photo_id":"1371787100","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371787109":["hashtag1","hashtag2"]},{"1371787100":["hashtag1","hashtag2"]},{"1371787087":["hashtag1","hashtag2"]},{"1371787057":["hashtag1","hashtag2"]},{"1371787059":["hashtag1","hashtag2"]},{"1371787113":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371787109, 1371787100, 1371787087, 1371787057, 1371787059, 1371787113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04087233543396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:53:32.162135
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/53/image_12072025_03_53_44_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/03/53/image_12072025_03_53_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/03/53/image_12072025_03_53_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/52/image_12072025_03_53_04_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/53/image_12072025_03_53_44_9642.jpg', '/home/nano/Desktop/images/12072025/03/53/image_12072025_03_53_34_10653.jpg', '/home/nano/Desktop/images/12072025/03/53/image_12072025_03_53_23_9638.jpg', '/home/nano/Desktop/images/12072025/03/52/image_12072025_03_53_04_10674.jpg', '/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/53/image_12072025_03_53_44_9642.jpg
/home/nano/Desktop/images/12072025/03/53/image_12072025_03_53_34_10653.jpg
/home/nano/Desktop/images/12072025/03/53/image_12072025_03_53_23_9638.jpg
/home/nano/Desktop/images/12072025/03/52/image_12072025_03_53_04_10674.jpg
/home/nano/Desktop/images/12072025/03/52/image_12072025_03_52_53_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371787129","1371787144","1371787123","1371787131","1371787133"],"photo_ids_order":["1371787123","1371787129","1371787131","1371787133","1371787144"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d44dad80c61113a609cb28eec4e46bb.jpg","text":"TemporaryFile(/tmp/multipartBody5398601833746371432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285275665,"filename":"image_12072025_03_53_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c883e3c1805ff4420b0dc4e123b041bf.jpg","text":"TemporaryFile(/tmp/multipartBody4238492726165366088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285275665,"filename":"image_12072025_03_52_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/977bbf4482ab0991c915517f6bef7606.jpg","text":"TemporaryFile(/tmp/multipartBody5502669005470303090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285275665,"filename":"image_12072025_03_53_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1425e0038f2aafbd72e30ed8446ec45a.jpg","text":"TemporaryFile(/tmp/multipartBody2996988451932193777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285275665,"filename":"image_12072025_03_53_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d901ca0f939255ff2306d4d61590411b.jpg","text":"TemporaryFile(/tmp/multipartBody535333590242749858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285275665,"filename":"image_12072025_03_53_04_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371787131","file1":"1371787129","file0":"1371787123","file4":"1371787144","file3":"1371787133"},"map_files_photo_id_array":[{"photo_id":"1371787131","filename":"file2"},{"photo_id":"1371787144","filename":"file4"},{"photo_id":"1371787129","filename":"file1"},{"photo_id":"1371787123","filename":"file0"},{"photo_id":"1371787133","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371787129":["hashtag1","hashtag2"]},{"1371787144":["hashtag1","hashtag2"]},{"1371787123":["hashtag1","hashtag2"]},{"1371787131":["hashtag1","hashtag2"]},{"1371787133":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371787129, 1371787144, 1371787123, 1371787131, 1371787133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.579365015029907 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:54:17.276247
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/54/image_12072025_03_54_34_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/03/54/image_12072025_03_54_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/54/image_12072025_03_54_14_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/03/53/image_12072025_03_54_04_10681.jpg', 2), ('/home/nano/Desktop/images/12072025/03/53/image_12072025_03_53_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/54/image_12072025_03_54_34_10652.jpg', '/home/nano/Desktop/images/12072025/03/54/image_12072025_03_54_23_9638.jpg', '/home/nano/Desktop/images/12072025/03/54/image_12072025_03_54_14_9661.jpg', '/home/nano/Desktop/images/12072025/03/53/image_12072025_03_54_04_10681.jpg', '/home/nano/Desktop/images/12072025/03/53/image_12072025_03_53_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/54/image_12072025_03_54_34_10652.jpg
/home/nano/Desktop/images/12072025/03/54/image_12072025_03_54_23_9638.jpg
/home/nano/Desktop/images/12072025/03/54/image_12072025_03_54_14_9661.jpg
/home/nano/Desktop/images/12072025/03/53/image_12072025_03_54_04_10681.jpg
/home/nano/Desktop/images/12072025/03/53/image_12072025_03_53_53_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371787282","1371787321","1371787314","1371787298","1371787280"],"photo_ids_order":["1371787280","1371787282","1371787298","1371787314","1371787321"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a23eb3998b54c8ce35977f412a99d3e0.jpg","text":"TemporaryFile(/tmp/multipartBody4104020861414904235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285320896,"filename":"image_12072025_03_54_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4dd39b4c649829eee72d4ad5fdbee6be.jpg","text":"TemporaryFile(/tmp/multipartBody1715549228890402247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285320896,"filename":"image_12072025_03_53_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37cf07ca353b8fc165a93c6fb645a9a7.jpg","text":"TemporaryFile(/tmp/multipartBody5524111181026749364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285320896,"filename":"image_12072025_03_54_04_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b215517d76d4dc9d6066a286e3ede23f.jpg","text":"TemporaryFile(/tmp/multipartBody110147714690176983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285320896,"filename":"image_12072025_03_54_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c39c42acb3162bfa1cab0457a7819bba.jpg","text":"TemporaryFile(/tmp/multipartBody2169100681559871609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285320896,"filename":"image_12072025_03_54_34_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371787298","file1":"1371787282","file0":"1371787280","file4":"1371787321","file3":"1371787314"},"map_files_photo_id_array":[{"photo_id":"1371787298","filename":"file2"},{"photo_id":"1371787321","filename":"file4"},{"photo_id":"1371787282","filename":"file1"},{"photo_id":"1371787280","filename":"file0"},{"photo_id":"1371787314","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371787282":["hashtag1","hashtag2"]},{"1371787321":["hashtag1","hashtag2"]},{"1371787314":["hashtag1","hashtag2"]},{"1371787298":["hashtag1","hashtag2"]},{"1371787280":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371787282, 1371787321, 1371787314, 1371787298, 1371787280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.952435731887817 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:55:02.870874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/50/image_10072025_21_50_33_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/50/image_10072025_21_50_24_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/49/image_10072025_21_50_03_9670.jpg', 2), ('/home/nano/Desktop/images/10072025/21/49/image_10072025_21_49_54_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/49/image_10072025_21_49_34_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/21/49/image_10072025_21_49_24_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/50/image_10072025_21_50_33_9648.jpg', '/home/nano/Desktop/images/10072025/21/50/image_10072025_21_50_24_10657.jpg', '/home/nano/Desktop/images/10072025/21/49/image_10072025_21_50_03_9670.jpg', '/home/nano/Desktop/images/10072025/21/49/image_10072025_21_49_54_10656.jpg', '/home/nano/Desktop/images/10072025/21/49/image_10072025_21_49_34_9651.jpg', '/home/nano/Desktop/images/10072025/21/49/image_10072025_21_49_24_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/50/image_10072025_21_50_33_9648.jpg
/home/nano/Desktop/images/10072025/21/50/image_10072025_21_50_24_10657.jpg
/home/nano/Desktop/images/10072025/21/49/image_10072025_21_50_03_9670.jpg
/home/nano/Desktop/images/10072025/21/49/image_10072025_21_49_54_10656.jpg
/home/nano/Desktop/images/10072025/21/49/image_10072025_21_49_34_9651.jpg
/home/nano/Desktop/images/10072025/21/49/image_10072025_21_49_24_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371787375","1371787371","1371787379","1371787364","1371787367","1371787403"],"photo_ids_order":["1371787364","1371787367","1371787371","1371787375","1371787379","1371787403"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7770829f574553da583404d9afe5339.jpg","text":"TemporaryFile(/tmp/multipartBody6029643836027396084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285369015,"filename":"image_10072025_21_49_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c3f8257dacd9021d5e8c6fb5f9ff26b.jpg","text":"TemporaryFile(/tmp/multipartBody6255566320526367460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285369015,"filename":"image_10072025_21_50_03_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/706164af8148f7642b4f6ef83fcec536.jpg","text":"TemporaryFile(/tmp/multipartBody1756147926661124257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285369015,"filename":"image_10072025_21_49_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e242f85d22edb484e143f832fc31d5b.jpg","text":"TemporaryFile(/tmp/multipartBody6675653673655084970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285369015,"filename":"image_10072025_21_50_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e86b255b54ee8791457f24a286d2b02d.jpg","text":"TemporaryFile(/tmp/multipartBody2398636125446496880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285369015,"filename":"image_10072025_21_50_24_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16b1a089469b2d72fa5fdd899dd34400.jpg","text":"TemporaryFile(/tmp/multipartBody4771451803692227873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285369015,"filename":"image_10072025_21_49_24_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371787371","file1":"1371787367","file0":"1371787364","file4":"1371787379","file5":"1371787403","file3":"1371787375"},"map_files_photo_id_array":[{"photo_id":"1371787403","filename":"file5"},{"photo_id":"1371787371","filename":"file2"},{"photo_id":"1371787379","filename":"file4"},{"photo_id":"1371787367","filename":"file1"},{"photo_id":"1371787364","filename":"file0"},{"photo_id":"1371787375","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371787375":["hashtag1","hashtag2"]},{"1371787371":["hashtag1","hashtag2"]},{"1371787379":["hashtag1","hashtag2"]},{"1371787364":["hashtag1","hashtag2"]},{"1371787367":["hashtag1","hashtag2"]},{"1371787403":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371787375, 1371787371, 1371787379, 1371787364, 1371787367, 1371787403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15839099884033 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:55:47.345601
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/55/image_12072025_03_55_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/55/image_12072025_03_55_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/03/54/image_12072025_03_54_43_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/55/image_12072025_03_55_43_9637.jpg', '/home/nano/Desktop/images/12072025/03/55/image_12072025_03_55_34_10647.jpg', '/home/nano/Desktop/images/12072025/03/54/image_12072025_03_54_43_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/55/image_12072025_03_55_43_9637.jpg
/home/nano/Desktop/images/12072025/03/55/image_12072025_03_55_34_10647.jpg
/home/nano/Desktop/images/12072025/03/54/image_12072025_03_54_43_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371787511","1371787513","1371787507"],"photo_ids_order":["1371787507","1371787511","1371787513"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db2513a05d2df3e2e6d53f9cd27ffb97.jpg","text":"TemporaryFile(/tmp/multipartBody4587992647968972010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285409690,"filename":"image_12072025_03_55_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf30c89825519538ab591a7767321f8e.jpg","text":"TemporaryFile(/tmp/multipartBody7720193885195854617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285409690,"filename":"image_12072025_03_54_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3a82b341b01a06f4eccc24427e8b19a.jpg","text":"TemporaryFile(/tmp/multipartBody4102978825394568098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285409690,"filename":"image_12072025_03_55_43_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371787513","file1":"1371787511","file0":"1371787507"},"map_files_photo_id_array":[{"photo_id":"1371787513","filename":"file2"},{"photo_id":"1371787511","filename":"file1"},{"photo_id":"1371787507","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371787511":["hashtag1","hashtag2"]},{"1371787513":["hashtag1","hashtag2"]},{"1371787507":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371787511, 1371787513, 1371787507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.92561101913452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:56:17.452561
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_34_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_24_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_13_9677.jpg', 2), ('/home/nano/Desktop/images/12072025/03/55/image_12072025_03_55_54_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_43_9639.jpg', '/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_34_9646.jpg', '/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_24_10657.jpg', '/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_13_9677.jpg', '/home/nano/Desktop/images/12072025/03/55/image_12072025_03_55_54_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_43_9639.jpg
/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_34_9646.jpg
/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_24_10657.jpg
/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_13_9677.jpg
/home/nano/Desktop/images/12072025/03/55/image_12072025_03_55_54_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371787566","1371787542","1371787526","1371787529","1371787523"],"photo_ids_order":["1371787523","1371787526","1371787529","1371787542","1371787566"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3e047db7e1c54ed9b1da166461cc22f.jpg","text":"TemporaryFile(/tmp/multipartBody2351711283656478983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285442913,"filename":"image_12072025_03_55_54_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad1ba37ae809f79f9138388fce35743a.jpg","text":"TemporaryFile(/tmp/multipartBody2680197387640510827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285442913,"filename":"image_12072025_03_56_13_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86c81cad9755e5b81a3b5d53e5f88751.jpg","text":"TemporaryFile(/tmp/multipartBody2878776588593384030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285442913,"filename":"image_12072025_03_56_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82d9339145f0f23cd63dd58301be4b12.jpg","text":"TemporaryFile(/tmp/multipartBody8323738530216519642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285442913,"filename":"image_12072025_03_56_24_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f66233da65844e801c37ac5e175471c.jpg","text":"TemporaryFile(/tmp/multipartBody8550542127909038973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285442913,"filename":"image_12072025_03_56_43_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371787529","file1":"1371787526","file0":"1371787523","file4":"1371787566","file3":"1371787542"},"map_files_photo_id_array":[{"photo_id":"1371787529","filename":"file2"},{"photo_id":"1371787566","filename":"file4"},{"photo_id":"1371787526","filename":"file1"},{"photo_id":"1371787523","filename":"file0"},{"photo_id":"1371787542","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371787566":["hashtag1","hashtag2"]},{"1371787542":["hashtag1","hashtag2"]},{"1371787526":["hashtag1","hashtag2"]},{"1371787529":["hashtag1","hashtag2"]},{"1371787523":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371787566, 1371787542, 1371787526, 1371787529, 1371787523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.28574800491333 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:57:03.170821
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/49/image_10072025_21_49_13_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/21/48/image_10072025_21_49_04_9658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/48/image_10072025_21_48_54_10674.jpg', 2), ('/home/nano/Desktop/images/10072025/21/48/image_10072025_21_48_43_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/21/48/image_10072025_21_48_34_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/48/image_10072025_21_48_13_9663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/49/image_10072025_21_49_13_9662.jpg', '/home/nano/Desktop/images/10072025/21/48/image_10072025_21_49_04_9658.jpg', '/home/nano/Desktop/images/10072025/21/48/image_10072025_21_48_54_10674.jpg', '/home/nano/Desktop/images/10072025/21/48/image_10072025_21_48_43_9653.jpg', '/home/nano/Desktop/images/10072025/21/48/image_10072025_21_48_34_9646.jpg', '/home/nano/Desktop/images/10072025/21/48/image_10072025_21_48_13_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/49/image_10072025_21_49_13_9662.jpg
/home/nano/Desktop/images/10072025/21/48/image_10072025_21_49_04_9658.jpg
/home/nano/Desktop/images/10072025/21/48/image_10072025_21_48_54_10674.jpg
/home/nano/Desktop/images/10072025/21/48/image_10072025_21_48_43_9653.jpg
/home/nano/Desktop/images/10072025/21/48/image_10072025_21_48_34_9646.jpg
/home/nano/Desktop/images/10072025/21/48/image_10072025_21_48_13_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371787792","1371787861","1371787767","1371787743","1371787841","1371787817"],"photo_ids_order":["1371787743","1371787767","1371787792","1371787817","1371787841","1371787861"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a2783ec4193d5fb97285369d183d2d4.jpg","text":"TemporaryFile(/tmp/multipartBody5347605769671155704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285489288,"filename":"image_10072025_21_48_54_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aeb19397c9d2c9ee03f1a48a89a9d1d5.jpg","text":"TemporaryFile(/tmp/multipartBody4211482083559374397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285489288,"filename":"image_10072025_21_48_13_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c27dd42cc73ac83a8cd598503195761c.jpg","text":"TemporaryFile(/tmp/multipartBody428950340320938660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285489288,"filename":"image_10072025_21_49_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30b3dd44116fad29e1dd46bb6a7e743a.jpg","text":"TemporaryFile(/tmp/multipartBody2152269020802201765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285489288,"filename":"image_10072025_21_49_13_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/890540781f6a5e240d1768427467625d.jpg","text":"TemporaryFile(/tmp/multipartBody913498701842694984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285489288,"filename":"image_10072025_21_48_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e8e3c0c92f2cd8e73da7ec2182510cc.jpg","text":"TemporaryFile(/tmp/multipartBody3046709681094718162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285489288,"filename":"image_10072025_21_48_43_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371787792","file1":"1371787767","file0":"1371787743","file4":"1371787841","file5":"1371787861","file3":"1371787817"},"map_files_photo_id_array":[{"photo_id":"1371787861","filename":"file5"},{"photo_id":"1371787792","filename":"file2"},{"photo_id":"1371787841","filename":"file4"},{"photo_id":"1371787767","filename":"file1"},{"photo_id":"1371787743","filename":"file0"},{"photo_id":"1371787817","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371787792":["hashtag1","hashtag2"]},{"1371787861":["hashtag1","hashtag2"]},{"1371787767":["hashtag1","hashtag2"]},{"1371787743":["hashtag1","hashtag2"]},{"1371787841":["hashtag1","hashtag2"]},{"1371787817":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371787792, 1371787861, 1371787767, 1371787743, 1371787841, 1371787817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.518778800964355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:57:47.620641
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_34_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/03/56/image_12072025_03_57_04_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_34_9637.jpg', '/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_24_10648.jpg', '/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_13_9657.jpg', '/home/nano/Desktop/images/12072025/03/56/image_12072025_03_57_04_9637.jpg', '/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_34_9637.jpg
/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_24_10648.jpg
/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_13_9657.jpg
/home/nano/Desktop/images/12072025/03/56/image_12072025_03_57_04_9637.jpg
/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_54_10648.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:59:03.491428
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_34_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/03/56/image_12072025_03_57_04_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_34_9637.jpg', '/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_24_10648.jpg', '/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_13_9657.jpg', '/home/nano/Desktop/images/12072025/03/56/image_12072025_03_57_04_9637.jpg', '/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_34_9637.jpg
/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_24_10648.jpg
/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_13_9657.jpg
/home/nano/Desktop/images/12072025/03/56/image_12072025_03_57_04_9637.jpg
/home/nano/Desktop/images/12072025/03/56/image_12072025_03_56_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371788396","1371788258","1371788288","1371788354","1371788335"],"photo_ids_order":["1371788258","1371788288","1371788335","1371788354","1371788396"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63d9465ec4b077155cd3a7862d2fcc1a.jpg","text":"TemporaryFile(/tmp/multipartBody6299891544570805888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285607660,"filename":"image_12072025_03_56_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8830da8a096b5d98311856bbdb4c2254.jpg","text":"TemporaryFile(/tmp/multipartBody3963327870728877441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285607660,"filename":"image_12072025_03_57_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e112c9bbdb92539b477d2cf1ca047ea.jpg","text":"TemporaryFile(/tmp/multipartBody6830825209870838438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285607660,"filename":"image_12072025_03_57_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59843620a03b6d88f6d078d666706bf3.jpg","text":"TemporaryFile(/tmp/multipartBody6332762881237089427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285607660,"filename":"image_12072025_03_57_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75644aa8963bad70f90c4127f96b7dcf.jpg","text":"TemporaryFile(/tmp/multipartBody3802083003833041155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285607660,"filename":"image_12072025_03_57_13_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371788335","file1":"1371788288","file0":"1371788258","file4":"1371788396","file3":"1371788354"},"map_files_photo_id_array":[{"photo_id":"1371788335","filename":"file2"},{"photo_id":"1371788396","filename":"file4"},{"photo_id":"1371788288","filename":"file1"},{"photo_id":"1371788258","filename":"file0"},{"photo_id":"1371788354","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371788396":["hashtag1","hashtag2"]},{"1371788258":["hashtag1","hashtag2"]},{"1371788288":["hashtag1","hashtag2"]},{"1371788354":["hashtag1","hashtag2"]},{"1371788335":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371788396, 1371788258, 1371788288, 1371788354, 1371788335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.29349184036255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 03:59:47.625073
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_44_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_33_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_14_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/58/image_12072025_03_59_03_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_44_10664.jpg', '/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_33_9656.jpg', '/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_24_9638.jpg', '/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_14_10655.jpg', '/home/nano/Desktop/images/12072025/03/58/image_12072025_03_59_03_9639.jpg', '/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_44_10664.jpg
/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_33_9656.jpg
/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_24_9638.jpg
/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_14_10655.jpg
/home/nano/Desktop/images/12072025/03/58/image_12072025_03_59_03_9639.jpg
/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371788790","1371788835","1371788922","1371788879","1371788703","1371788747"],"photo_ids_order":["1371788703","1371788747","1371788790","1371788835","1371788879","1371788922"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/080bbb9172e07e4bbda17ffb13397e1f.jpg","text":"TemporaryFile(/tmp/multipartBody5683869257288900051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285653883,"filename":"image_12072025_03_59_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f111b8b82c897f50dda2025e895b0cc1.jpg","text":"TemporaryFile(/tmp/multipartBody6796134533207937721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285653883,"filename":"image_12072025_03_59_14_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8894e42343fb6225b3032c5b7b224c51.jpg","text":"TemporaryFile(/tmp/multipartBody8849683585110853477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285653883,"filename":"image_12072025_03_58_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13617539e7327a733590425e39e23754.jpg","text":"TemporaryFile(/tmp/multipartBody1102188227405226481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285653883,"filename":"image_12072025_03_59_03_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7f57ed426dec235a3abd9b3f2e687eb.jpg","text":"TemporaryFile(/tmp/multipartBody7645453620719686608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285653883,"filename":"image_12072025_03_59_44_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec5b68b279638cc45897baee8fddd04e.jpg","text":"TemporaryFile(/tmp/multipartBody6749414792400927670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285653883,"filename":"image_12072025_03_59_33_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371788790","file1":"1371788747","file0":"1371788703","file4":"1371788879","file5":"1371788922","file3":"1371788835"},"map_files_photo_id_array":[{"photo_id":"1371788922","filename":"file5"},{"photo_id":"1371788790","filename":"file2"},{"photo_id":"1371788879","filename":"file4"},{"photo_id":"1371788747","filename":"file1"},{"photo_id":"1371788703","filename":"file0"},{"photo_id":"1371788835","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371788790":["hashtag1","hashtag2"]},{"1371788835":["hashtag1","hashtag2"]},{"1371788922":["hashtag1","hashtag2"]},{"1371788879":["hashtag1","hashtag2"]},{"1371788703":["hashtag1","hashtag2"]},{"1371788747":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371788790, 1371788835, 1371788922, 1371788879, 1371788703, 1371788747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.474717140197754 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:00:32.740235
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_44_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_24_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_14_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/03/59/image_12072025_04_00_03_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_44_10650.jpg', '/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_33_9637.jpg', '/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_24_9636.jpg', '/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_14_10658.jpg', '/home/nano/Desktop/images/12072025/03/59/image_12072025_04_00_03_9636.jpg', '/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_44_10650.jpg
/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_33_9637.jpg
/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_24_9636.jpg
/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_14_10658.jpg
/home/nano/Desktop/images/12072025/03/59/image_12072025_04_00_03_9636.jpg
/home/nano/Desktop/images/12072025/03/59/image_12072025_03_59_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371789279","1371789317","1371789146","1371789233","1371789097","1371789195"],"photo_ids_order":["1371789097","1371789146","1371789195","1371789233","1371789279","1371789317"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67bbb7de7664306aa7ec2cfccbb1b28d.jpg","text":"TemporaryFile(/tmp/multipartBody6171904459179622258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285699314,"filename":"image_12072025_04_00_03_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a99ad738ec389670cace5e28f53b673a.jpg","text":"TemporaryFile(/tmp/multipartBody2099156757489564761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285699314,"filename":"image_12072025_03_59_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1dec97ed1aa31699da782abd04eba7f1.jpg","text":"TemporaryFile(/tmp/multipartBody3127792124493917888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285699314,"filename":"image_12072025_04_00_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae5e9a9c91d0b56da8bc6681a9638917.jpg","text":"TemporaryFile(/tmp/multipartBody6348669675062103329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285699314,"filename":"image_12072025_04_00_14_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a725598e78f4f64faf8acf1f5d0226f6.jpg","text":"TemporaryFile(/tmp/multipartBody2685010262665813649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285699314,"filename":"image_12072025_04_00_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93374eb1f1456ea62a7b4dd101c1c804.jpg","text":"TemporaryFile(/tmp/multipartBody5748836433430094430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285699314,"filename":"image_12072025_04_00_24_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371789195","file1":"1371789146","file0":"1371789097","file4":"1371789279","file5":"1371789317","file3":"1371789233"},"map_files_photo_id_array":[{"photo_id":"1371789317","filename":"file5"},{"photo_id":"1371789195","filename":"file2"},{"photo_id":"1371789279","filename":"file4"},{"photo_id":"1371789146","filename":"file1"},{"photo_id":"1371789097","filename":"file0"},{"photo_id":"1371789233","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371789279":["hashtag1","hashtag2"]},{"1371789317":["hashtag1","hashtag2"]},{"1371789146":["hashtag1","hashtag2"]},{"1371789233":["hashtag1","hashtag2"]},{"1371789097":["hashtag1","hashtag2"]},{"1371789195":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371789279, 1371789317, 1371789146, 1371789233, 1371789097, 1371789195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.546061992645264 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:01:16.847224
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_44_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_24_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_14_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/04/00/image_12072025_04_01_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_44_10653.jpg', '/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_33_9640.jpg', '/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_24_9656.jpg', '/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_14_10673.jpg', '/home/nano/Desktop/images/12072025/04/00/image_12072025_04_01_03_9645.jpg', '/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_44_10653.jpg
/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_33_9640.jpg
/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_24_9656.jpg
/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_14_10673.jpg
/home/nano/Desktop/images/12072025/04/00/image_12072025_04_01_03_9645.jpg
/home/nano/Desktop/images/12072025/04/00/image_12072025_04_00_54_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371789477","1371789558","1371789531","1371789501","1371789583","1371789610"],"photo_ids_order":["1371789477","1371789501","1371789531","1371789558","1371789583","1371789610"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba0d34b2528f7ccc615002859a5a0694.jpg","text":"TemporaryFile(/tmp/multipartBody6494708761073776188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285744605,"filename":"image_12072025_04_01_44_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a552185c62e109f69d439223b7215f21.jpg","text":"TemporaryFile(/tmp/multipartBody6670656893833469715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285744605,"filename":"image_12072025_04_01_14_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ce3bf5b7396ae77184da0a8ea55ea3b.jpg","text":"TemporaryFile(/tmp/multipartBody5859881682988109384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285744605,"filename":"image_12072025_04_01_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00dcb81b1bf95cedaf6f45cf6c0ee78a.jpg","text":"TemporaryFile(/tmp/multipartBody3708030846821773767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285744605,"filename":"image_12072025_04_01_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55fa83d192783a07eb614d231366562e.jpg","text":"TemporaryFile(/tmp/multipartBody8024345881545070378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285744605,"filename":"image_12072025_04_01_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b438157021c6aed253432468992ac38.jpg","text":"TemporaryFile(/tmp/multipartBody2470377234089992358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285744605,"filename":"image_12072025_04_00_54_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371789531","file1":"1371789501","file0":"1371789477","file4":"1371789583","file5":"1371789610","file3":"1371789558"},"map_files_photo_id_array":[{"photo_id":"1371789610","filename":"file5"},{"photo_id":"1371789531","filename":"file2"},{"photo_id":"1371789583","filename":"file4"},{"photo_id":"1371789501","filename":"file1"},{"photo_id":"1371789477","filename":"file0"},{"photo_id":"1371789558","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371789477":["hashtag1","hashtag2"]},{"1371789558":["hashtag1","hashtag2"]},{"1371789531":["hashtag1","hashtag2"]},{"1371789501":["hashtag1","hashtag2"]},{"1371789583":["hashtag1","hashtag2"]},{"1371789610":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371789477, 1371789558, 1371789531, 1371789501, 1371789583, 1371789610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.81994581222534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:02:02.361609
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_43_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_24_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_13_9672.jpg', 2), ('/home/nano/Desktop/images/12072025/03/57/image_12072025_03_58_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_43_9655.jpg', '/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_33_9639.jpg', '/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_24_10654.jpg', '/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_13_9672.jpg', '/home/nano/Desktop/images/12072025/03/57/image_12072025_03_58_04_9645.jpg', '/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_43_9655.jpg
/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_33_9639.jpg
/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_24_10654.jpg
/home/nano/Desktop/images/12072025/03/58/image_12072025_03_58_13_9672.jpg
/home/nano/Desktop/images/12072025/03/57/image_12072025_03_58_04_9645.jpg
/home/nano/Desktop/images/12072025/03/57/image_12072025_03_57_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371789780","1371789782","1371789776","1371789770","1371789773","1371789763"],"photo_ids_order":["1371789763","1371789770","1371789773","1371789776","1371789780","1371789782"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c91d644cf76ffd1337585c25af736fbe.jpg","text":"TemporaryFile(/tmp/multipartBody7572867581102611836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285788596,"filename":"image_12072025_03_58_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f25354e48c14aeec3284580ec43f4984.jpg","text":"TemporaryFile(/tmp/multipartBody4149859684698661098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285788596,"filename":"image_12072025_03_57_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0664316e0bc314c15ef5ef969c2145a4.jpg","text":"TemporaryFile(/tmp/multipartBody4145163058271556826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285788596,"filename":"image_12072025_03_58_13_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d3aed5b107e2ae75ce9f8583680edc4.jpg","text":"TemporaryFile(/tmp/multipartBody6356589504706728742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285788596,"filename":"image_12072025_03_58_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9130c7f78e288ef6fcd1d562abd68f6c.jpg","text":"TemporaryFile(/tmp/multipartBody7183755279478195001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285788596,"filename":"image_12072025_03_58_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33310a52d6bc63873d963e79ebcc4cab.jpg","text":"TemporaryFile(/tmp/multipartBody1537742719625400522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285788596,"filename":"image_12072025_03_58_43_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371789773","file1":"1371789770","file0":"1371789763","file4":"1371789780","file5":"1371789782","file3":"1371789776"},"map_files_photo_id_array":[{"photo_id":"1371789782","filename":"file5"},{"photo_id":"1371789773","filename":"file2"},{"photo_id":"1371789780","filename":"file4"},{"photo_id":"1371789770","filename":"file1"},{"photo_id":"1371789763","filename":"file0"},{"photo_id":"1371789776","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371789780":["hashtag1","hashtag2"]},{"1371789782":["hashtag1","hashtag2"]},{"1371789776":["hashtag1","hashtag2"]},{"1371789770":["hashtag1","hashtag2"]},{"1371789773":["hashtag1","hashtag2"]},{"1371789763":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371789780, 1371789782, 1371789776, 1371789770, 1371789773, 1371789763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48637843132019 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:02:47.020659
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_23_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_14_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/04/01/image_12072025_04_02_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_53_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_44_9637.jpg', '/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_34_10648.jpg', '/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_23_9647.jpg', '/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_14_10664.jpg', '/home/nano/Desktop/images/12072025/04/01/image_12072025_04_02_03_9643.jpg', '/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_53_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_44_9637.jpg
/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_34_10648.jpg
/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_23_9647.jpg
/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_14_10664.jpg
/home/nano/Desktop/images/12072025/04/01/image_12072025_04_02_03_9643.jpg
/home/nano/Desktop/images/12072025/04/01/image_12072025_04_01_53_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371789906","1371789857","1371789830","1371789803","1371789795","1371789882"],"photo_ids_order":["1371789795","1371789803","1371789830","1371789857","1371789882","1371789906"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8ebd8f34f875e9a6ba78c5b207adaf8.jpg","text":"TemporaryFile(/tmp/multipartBody4715300042090659158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285832663,"filename":"image_12072025_04_01_53_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2e00429e49cb0574763e268fae4a3cd.jpg","text":"TemporaryFile(/tmp/multipartBody4124618073455980148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285832663,"filename":"image_12072025_04_02_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a091e4e631d929a8df996cca89b2963e.jpg","text":"TemporaryFile(/tmp/multipartBody4769537717804694561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285832663,"filename":"image_12072025_04_02_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03d81204414191135f41eb5a29a09811.jpg","text":"TemporaryFile(/tmp/multipartBody6653843813535729378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285832663,"filename":"image_12072025_04_02_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eea918a0211e92df86a88e33ab74cf47.jpg","text":"TemporaryFile(/tmp/multipartBody3536860974558612948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285832663,"filename":"image_12072025_04_02_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc743e3070995647a9cdc4df96775332.jpg","text":"TemporaryFile(/tmp/multipartBody4792059631652557763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285832663,"filename":"image_12072025_04_02_03_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371789830","file1":"1371789803","file0":"1371789795","file4":"1371789882","file5":"1371789906","file3":"1371789857"},"map_files_photo_id_array":[{"photo_id":"1371789906","filename":"file5"},{"photo_id":"1371789830","filename":"file2"},{"photo_id":"1371789882","filename":"file4"},{"photo_id":"1371789803","filename":"file1"},{"photo_id":"1371789795","filename":"file0"},{"photo_id":"1371789857","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371789906":["hashtag1","hashtag2"]},{"1371789857":["hashtag1","hashtag2"]},{"1371789830":["hashtag1","hashtag2"]},{"1371789803":["hashtag1","hashtag2"]},{"1371789795":["hashtag1","hashtag2"]},{"1371789882":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371789906, 1371789857, 1371789830, 1371789803, 1371789795, 1371789882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87449240684509 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:03:32.194961
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_44_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_34_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_23_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_14_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/04/02/image_12072025_04_03_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_44_9647.jpg', '/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_34_10652.jpg', '/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_23_9643.jpg', '/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_14_9670.jpg', '/home/nano/Desktop/images/12072025/04/02/image_12072025_04_03_04_10657.jpg', '/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_44_9647.jpg
/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_34_10652.jpg
/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_23_9643.jpg
/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_14_9670.jpg
/home/nano/Desktop/images/12072025/04/02/image_12072025_04_03_04_10657.jpg
/home/nano/Desktop/images/12072025/04/02/image_12072025_04_02_53_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790047","1371790128","1371790035","1371790038","1371790073","1371790099"],"photo_ids_order":["1371790035","1371790038","1371790047","1371790073","1371790099","1371790128"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e86211582212e7693d83eb75557f4420.jpg","text":"TemporaryFile(/tmp/multipartBody2324055914520035863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285879194,"filename":"image_12072025_04_03_23_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ad27f405925dbfcfafe4f9f5beecd56.jpg","text":"TemporaryFile(/tmp/multipartBody7700116030896793660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285879194,"filename":"image_12072025_04_02_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/614fe001c1b738b586fd85c21fbbbc45.jpg","text":"TemporaryFile(/tmp/multipartBody6966155067334230700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285879194,"filename":"image_12072025_04_03_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2077d7e6a23e11e0a305c55a93646eb0.jpg","text":"TemporaryFile(/tmp/multipartBody7003846047536816286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285879194,"filename":"image_12072025_04_03_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e82c7cc0c01cc605c6f5567dc49e011e.jpg","text":"TemporaryFile(/tmp/multipartBody5238961611534399435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285879194,"filename":"image_12072025_04_03_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c69d505ba35f770d371f6511f8254fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7222833378550119469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285879194,"filename":"image_12072025_04_03_04_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790047","file1":"1371790038","file0":"1371790035","file4":"1371790099","file5":"1371790128","file3":"1371790073"},"map_files_photo_id_array":[{"photo_id":"1371790128","filename":"file5"},{"photo_id":"1371790047","filename":"file2"},{"photo_id":"1371790099","filename":"file4"},{"photo_id":"1371790038","filename":"file1"},{"photo_id":"1371790035","filename":"file0"},{"photo_id":"1371790073","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790047":["hashtag1","hashtag2"]},{"1371790128":["hashtag1","hashtag2"]},{"1371790035":["hashtag1","hashtag2"]},{"1371790038":["hashtag1","hashtag2"]},{"1371790073":["hashtag1","hashtag2"]},{"1371790099":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790047, 1371790128, 1371790035, 1371790038, 1371790073, 1371790099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47048330307007 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:04:17.221849
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_14_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/04/03/image_12072025_04_04_04_10672.jpg', 2), ('/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_44_9639.jpg', '/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_34_10653.jpg', '/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_23_9640.jpg', '/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_14_9683.jpg', '/home/nano/Desktop/images/12072025/04/03/image_12072025_04_04_04_10672.jpg', '/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_44_9639.jpg
/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_34_10653.jpg
/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_23_9640.jpg
/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_14_9683.jpg
/home/nano/Desktop/images/12072025/04/03/image_12072025_04_04_04_10672.jpg
/home/nano/Desktop/images/12072025/04/03/image_12072025_04_03_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790204","1371790207","1371790197","1371790191","1371790199","1371790184"],"photo_ids_order":["1371790184","1371790191","1371790197","1371790199","1371790204","1371790207"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e58dfd41eddab0abd43825ab305547e4.jpg","text":"TemporaryFile(/tmp/multipartBody7778340555393850165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285917945,"filename":"image_12072025_04_04_04_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f90452232c802fe937b938d2f8cd142.jpg","text":"TemporaryFile(/tmp/multipartBody5256737364776069839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285917945,"filename":"image_12072025_04_03_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/889aec5efac1d1fc82b441c19955afc6.jpg","text":"TemporaryFile(/tmp/multipartBody3213604860510656315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285917945,"filename":"image_12072025_04_04_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a82253a54a03beb61d207928fa20cc2.jpg","text":"TemporaryFile(/tmp/multipartBody776998630244812730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285917945,"filename":"image_12072025_04_04_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4f27dd56baf03d9d5a46f2aac3599eb.jpg","text":"TemporaryFile(/tmp/multipartBody1784813688299747621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285917945,"filename":"image_12072025_04_04_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2997e684c9bc44295f76b2361764f33.jpg","text":"TemporaryFile(/tmp/multipartBody8525511372427786551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285917945,"filename":"image_12072025_04_04_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790197","file1":"1371790191","file0":"1371790184","file4":"1371790204","file5":"1371790207","file3":"1371790199"},"map_files_photo_id_array":[{"photo_id":"1371790207","filename":"file5"},{"photo_id":"1371790197","filename":"file2"},{"photo_id":"1371790204","filename":"file4"},{"photo_id":"1371790191","filename":"file1"},{"photo_id":"1371790184","filename":"file0"},{"photo_id":"1371790199","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790204":["hashtag1","hashtag2"]},{"1371790207":["hashtag1","hashtag2"]},{"1371790197":["hashtag1","hashtag2"]},{"1371790191":["hashtag1","hashtag2"]},{"1371790199":["hashtag1","hashtag2"]},{"1371790184":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790204, 1371790207, 1371790197, 1371790191, 1371790199, 1371790184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25483512878418 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:05:02.751484
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/47/image_10072025_21_48_04_9640.jpg', 2), ('/home/nano/Desktop/images/10072025/21/47/image_10072025_21_47_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/47/image_10072025_21_47_34_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/21/47/image_10072025_21_47_13_9679.jpg', 2), ('/home/nano/Desktop/images/10072025/21/46/image_10072025_21_47_04_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/46/image_10072025_21_46_54_10674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/47/image_10072025_21_48_04_9640.jpg', '/home/nano/Desktop/images/10072025/21/47/image_10072025_21_47_43_9646.jpg', '/home/nano/Desktop/images/10072025/21/47/image_10072025_21_47_34_9651.jpg', '/home/nano/Desktop/images/10072025/21/47/image_10072025_21_47_13_9679.jpg', '/home/nano/Desktop/images/10072025/21/46/image_10072025_21_47_04_9656.jpg', '/home/nano/Desktop/images/10072025/21/46/image_10072025_21_46_54_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/47/image_10072025_21_48_04_9640.jpg
/home/nano/Desktop/images/10072025/21/47/image_10072025_21_47_43_9646.jpg
/home/nano/Desktop/images/10072025/21/47/image_10072025_21_47_34_9651.jpg
/home/nano/Desktop/images/10072025/21/47/image_10072025_21_47_13_9679.jpg
/home/nano/Desktop/images/10072025/21/46/image_10072025_21_47_04_9656.jpg
/home/nano/Desktop/images/10072025/21/46/image_10072025_21_46_54_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790243","1371790254","1371790247","1371790256","1371790250","1371790252"],"photo_ids_order":["1371790243","1371790247","1371790250","1371790252","1371790254","1371790256"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be2b80a2698368cfa8c9e32ee9724823.jpg","text":"TemporaryFile(/tmp/multipartBody8050645926594674915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285970746,"filename":"image_10072025_21_48_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1ab5892541f341ada0cf20ddddf137a.jpg","text":"TemporaryFile(/tmp/multipartBody261763613496338063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285970746,"filename":"image_10072025_21_47_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14f9f14e05f92b315f1b62368829a653.jpg","text":"TemporaryFile(/tmp/multipartBody7036333980493752042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285970746,"filename":"image_10072025_21_47_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b578c5fdc45448f4e7368a1da6f06201.jpg","text":"TemporaryFile(/tmp/multipartBody4486370278651435641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285970746,"filename":"image_10072025_21_46_54_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3b62c7dffee4002b79ae928d647d4fd.jpg","text":"TemporaryFile(/tmp/multipartBody2650377095995131997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285970746,"filename":"image_10072025_21_47_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff47e0dd0fd06f5f24bcd2f9981a8abf.jpg","text":"TemporaryFile(/tmp/multipartBody3404660651667710397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752285970746,"filename":"image_10072025_21_47_13_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790250","file1":"1371790247","file0":"1371790243","file4":"1371790254","file5":"1371790256","file3":"1371790252"},"map_files_photo_id_array":[{"photo_id":"1371790256","filename":"file5"},{"photo_id":"1371790250","filename":"file2"},{"photo_id":"1371790254","filename":"file4"},{"photo_id":"1371790247","filename":"file1"},{"photo_id":"1371790243","filename":"file0"},{"photo_id":"1371790252","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371790243":["hashtag1","hashtag2"]},{"1371790254":["hashtag1","hashtag2"]},{"1371790247":["hashtag1","hashtag2"]},{"1371790256":["hashtag1","hashtag2"]},{"1371790250":["hashtag1","hashtag2"]},{"1371790252":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371790243, 1371790254, 1371790247, 1371790256, 1371790250, 1371790252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.512407064437866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:05:47.308892
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_14_9678.jpg', 2), ('/home/nano/Desktop/images/12072025/04/04/image_12072025_04_05_04_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_43_9640.jpg', '/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_34_10649.jpg', '/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_23_9636.jpg', '/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_14_9678.jpg', '/home/nano/Desktop/images/12072025/04/04/image_12072025_04_05_04_10662.jpg', '/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_43_9640.jpg
/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_34_10649.jpg
/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_23_9636.jpg
/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_14_9678.jpg
/home/nano/Desktop/images/12072025/04/04/image_12072025_04_05_04_10662.jpg
/home/nano/Desktop/images/12072025/04/04/image_12072025_04_04_53_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790275","1371790278","1371790280","1371790277","1371790270","1371790273"],"photo_ids_order":["1371790270","1371790273","1371790275","1371790277","1371790278","1371790280"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd77338866f1039106433c58fb8a1bea.jpg","text":"TemporaryFile(/tmp/multipartBody6134592572315451515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286015350,"filename":"image_12072025_04_05_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94d6cebdc7a625a3296b35c6e569efa7.jpg","text":"TemporaryFile(/tmp/multipartBody492657116685259691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286015350,"filename":"image_12072025_04_05_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/007976c3b7121ebde96dcd8a0d6c4b1f.jpg","text":"TemporaryFile(/tmp/multipartBody3119091789217922271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286015350,"filename":"image_12072025_04_04_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c7fcede1847415ea7813639861557b0.jpg","text":"TemporaryFile(/tmp/multipartBody7501705423968431600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286015350,"filename":"image_12072025_04_05_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4810bb01c41aedc521c0835363ddb2c.jpg","text":"TemporaryFile(/tmp/multipartBody5785118791942276811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286015350,"filename":"image_12072025_04_05_43_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/644118e236652c658adbc1012f7b18ce.jpg","text":"TemporaryFile(/tmp/multipartBody663038116878339571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286015350,"filename":"image_12072025_04_05_34_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790275","file1":"1371790273","file0":"1371790270","file4":"1371790278","file5":"1371790280","file3":"1371790277"},"map_files_photo_id_array":[{"photo_id":"1371790280","filename":"file5"},{"photo_id":"1371790275","filename":"file2"},{"photo_id":"1371790278","filename":"file4"},{"photo_id":"1371790273","filename":"file1"},{"photo_id":"1371790270","filename":"file0"},{"photo_id":"1371790277","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790275":["hashtag1","hashtag2"]},{"1371790278":["hashtag1","hashtag2"]},{"1371790280":["hashtag1","hashtag2"]},{"1371790277":["hashtag1","hashtag2"]},{"1371790270":["hashtag1","hashtag2"]},{"1371790273":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790275, 1371790278, 1371790280, 1371790277, 1371790270, 1371790273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06676459312439 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:06:32.449836
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_34_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/04/05/image_12072025_04_06_04_10678.jpg', 2), ('/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_43_9637.jpg', '/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_34_10646.jpg', '/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_23_9637.jpg', '/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_13_9659.jpg', '/home/nano/Desktop/images/12072025/04/05/image_12072025_04_06_04_10678.jpg', '/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_43_9637.jpg
/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_34_10646.jpg
/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_23_9637.jpg
/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_13_9659.jpg
/home/nano/Desktop/images/12072025/04/05/image_12072025_04_06_04_10678.jpg
/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_53_9640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 7.5934813022613525 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:06:47.413381
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_34_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/04/05/image_12072025_04_06_04_10678.jpg', 2), ('/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_43_9637.jpg', '/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_34_10646.jpg', '/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_23_9637.jpg', '/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_13_9659.jpg', '/home/nano/Desktop/images/12072025/04/05/image_12072025_04_06_04_10678.jpg', '/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_43_9637.jpg
/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_34_10646.jpg
/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_23_9637.jpg
/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_13_9659.jpg
/home/nano/Desktop/images/12072025/04/05/image_12072025_04_06_04_10678.jpg
/home/nano/Desktop/images/12072025/04/05/image_12072025_04_05_53_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790321","1371790309","1371790323","1371790305","1371790316","1371790310"],"photo_ids_order":["1371790305","1371790309","1371790310","1371790316","1371790321","1371790323"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d985dbcba95b9d011832ff76ce22fa2.jpg","text":"TemporaryFile(/tmp/multipartBody4714625688346660824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286072553,"filename":"image_12072025_04_06_04_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80b3ef1fae17e13fa87de9087fd9554c.jpg","text":"TemporaryFile(/tmp/multipartBody4905540545042699858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286072553,"filename":"image_12072025_04_06_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4f323df1daf347854d0f10d200d17b4.jpg","text":"TemporaryFile(/tmp/multipartBody8089051113299668868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286072553,"filename":"image_12072025_04_05_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f445a08687cbe073a108e68e2655a25.jpg","text":"TemporaryFile(/tmp/multipartBody8343394902483246566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286072553,"filename":"image_12072025_04_06_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0261461cbff4b497200c237a1fe8e10c.jpg","text":"TemporaryFile(/tmp/multipartBody8374448556092634873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286072553,"filename":"image_12072025_04_06_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9131b2fb66861fb58e7271836592c9b.jpg","text":"TemporaryFile(/tmp/multipartBody3046414997942377452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286072553,"filename":"image_12072025_04_06_23_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790310","file1":"1371790309","file0":"1371790305","file4":"1371790321","file5":"1371790323","file3":"1371790316"},"map_files_photo_id_array":[{"photo_id":"1371790323","filename":"file5"},{"photo_id":"1371790310","filename":"file2"},{"photo_id":"1371790321","filename":"file4"},{"photo_id":"1371790309","filename":"file1"},{"photo_id":"1371790305","filename":"file0"},{"photo_id":"1371790316","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790321":["hashtag1","hashtag2"]},{"1371790309":["hashtag1","hashtag2"]},{"1371790323":["hashtag1","hashtag2"]},{"1371790305":["hashtag1","hashtag2"]},{"1371790316":["hashtag1","hashtag2"]},{"1371790310":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790321, 1371790309, 1371790323, 1371790305, 1371790316, 1371790310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57744789123535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:07:32.546899
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/07/image_12072025_04_07_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/07/image_12072025_04_07_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/07/image_12072025_04_07_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/06/image_12072025_04_07_04_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/07/image_12072025_04_07_43_9639.jpg', '/home/nano/Desktop/images/12072025/04/07/image_12072025_04_07_34_9639.jpg', '/home/nano/Desktop/images/12072025/04/07/image_12072025_04_07_24_10648.jpg', '/home/nano/Desktop/images/12072025/04/06/image_12072025_04_07_04_9641.jpg', '/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/07/image_12072025_04_07_43_9639.jpg
/home/nano/Desktop/images/12072025/04/07/image_12072025_04_07_34_9639.jpg
/home/nano/Desktop/images/12072025/04/07/image_12072025_04_07_24_10648.jpg
/home/nano/Desktop/images/12072025/04/06/image_12072025_04_07_04_9641.jpg
/home/nano/Desktop/images/12072025/04/06/image_12072025_04_06_54_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790338","1371790346","1371790349","1371790334","1371790343"],"photo_ids_order":["1371790334","1371790338","1371790343","1371790346","1371790349"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04542ccf27bc0e8b79beab34d2a6125c.jpg","text":"TemporaryFile(/tmp/multipartBody9161145475762251733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286118618,"filename":"image_12072025_04_07_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11d0b763398761edc793897039f48727.jpg","text":"TemporaryFile(/tmp/multipartBody302619319503512952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286118618,"filename":"image_12072025_04_07_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3eef9c0cdcc2679c150c05de544a9651.jpg","text":"TemporaryFile(/tmp/multipartBody603453576622256106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286118618,"filename":"image_12072025_04_06_54_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dccb42c2e89c76a6a2c25fa4789aad52.jpg","text":"TemporaryFile(/tmp/multipartBody159857442971616768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286118618,"filename":"image_12072025_04_07_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2bd8b9c4494bfc572a1c32e79aabe6ab.jpg","text":"TemporaryFile(/tmp/multipartBody5221705341304655855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286118618,"filename":"image_12072025_04_07_24_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790343","file1":"1371790338","file0":"1371790334","file4":"1371790349","file3":"1371790346"},"map_files_photo_id_array":[{"photo_id":"1371790343","filename":"file2"},{"photo_id":"1371790349","filename":"file4"},{"photo_id":"1371790338","filename":"file1"},{"photo_id":"1371790334","filename":"file0"},{"photo_id":"1371790346","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790338":["hashtag1","hashtag2"]},{"1371790346":["hashtag1","hashtag2"]},{"1371790349":["hashtag1","hashtag2"]},{"1371790334":["hashtag1","hashtag2"]},{"1371790343":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790338, 1371790346, 1371790349, 1371790334, 1371790343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.27984023094177 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:08:17.673595
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/08/image_12072025_04_08_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/08/image_12072025_04_08_24_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/04/08/image_12072025_04_08_13_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/04/07/image_12072025_04_08_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/04/07/image_12072025_04_07_54_10675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/08/image_12072025_04_08_34_9639.jpg', '/home/nano/Desktop/images/12072025/04/08/image_12072025_04_08_24_10657.jpg', '/home/nano/Desktop/images/12072025/04/08/image_12072025_04_08_13_9655.jpg', '/home/nano/Desktop/images/12072025/04/07/image_12072025_04_08_04_9645.jpg', '/home/nano/Desktop/images/12072025/04/07/image_12072025_04_07_54_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/08/image_12072025_04_08_34_9639.jpg
/home/nano/Desktop/images/12072025/04/08/image_12072025_04_08_24_10657.jpg
/home/nano/Desktop/images/12072025/04/08/image_12072025_04_08_13_9655.jpg
/home/nano/Desktop/images/12072025/04/07/image_12072025_04_08_04_9645.jpg
/home/nano/Desktop/images/12072025/04/07/image_12072025_04_07_54_10675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790380","1371790368","1371790382","1371790370","1371790376"],"photo_ids_order":["1371790368","1371790370","1371790376","1371790380","1371790382"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90693d999f46918698358627bc54ce9d.jpg","text":"TemporaryFile(/tmp/multipartBody6545276315171379784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286158392,"filename":"image_12072025_04_08_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a12af54b27392c47b5653fd24912ec1f.jpg","text":"TemporaryFile(/tmp/multipartBody8472097791976445573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286158392,"filename":"image_12072025_04_08_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/230260c3fb88672777fe6218090d4805.jpg","text":"TemporaryFile(/tmp/multipartBody7819904158468287783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286158392,"filename":"image_12072025_04_07_54_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3455c0535fc25c96856889dc3a01c07e.jpg","text":"TemporaryFile(/tmp/multipartBody305145766979571787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286158392,"filename":"image_12072025_04_08_24_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f43277858d14ffcf7c6c5cc6f4a101df.jpg","text":"TemporaryFile(/tmp/multipartBody958174670948374544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286158392,"filename":"image_12072025_04_08_13_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790376","file1":"1371790370","file0":"1371790368","file4":"1371790382","file3":"1371790380"},"map_files_photo_id_array":[{"photo_id":"1371790376","filename":"file2"},{"photo_id":"1371790382","filename":"file4"},{"photo_id":"1371790370","filename":"file1"},{"photo_id":"1371790368","filename":"file0"},{"photo_id":"1371790380","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790380":["hashtag1","hashtag2"]},{"1371790368":["hashtag1","hashtag2"]},{"1371790382":["hashtag1","hashtag2"]},{"1371790370":["hashtag1","hashtag2"]},{"1371790376":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790380, 1371790368, 1371790382, 1371790370, 1371790376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.650647401809692 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:08:47.654558
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/46/image_10072025_21_46_34_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/46/image_10072025_21_46_24_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/45/image_10072025_21_46_04_9675.jpg', 2), ('/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_54_10674.jpg', 2), ('/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_34_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/46/image_10072025_21_46_34_9648.jpg', '/home/nano/Desktop/images/10072025/21/46/image_10072025_21_46_24_10658.jpg', '/home/nano/Desktop/images/10072025/21/45/image_10072025_21_46_04_9675.jpg', '/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_54_10674.jpg', '/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_43_9646.jpg', '/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_34_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/46/image_10072025_21_46_34_9648.jpg
/home/nano/Desktop/images/10072025/21/46/image_10072025_21_46_24_10658.jpg
/home/nano/Desktop/images/10072025/21/45/image_10072025_21_46_04_9675.jpg
/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_54_10674.jpg
/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_43_9646.jpg
/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_34_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790413","1371790407","1371790415","1371790412","1371790396","1371790399"],"photo_ids_order":["1371790396","1371790399","1371790407","1371790412","1371790413","1371790415"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66d8a60cd304ffa880d913418e3d2452.jpg","text":"TemporaryFile(/tmp/multipartBody8993172359379592724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286194392,"filename":"image_10072025_21_45_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6c7820b354a2ab81ff81fd2509f96d3.jpg","text":"TemporaryFile(/tmp/multipartBody7618798162597738135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286194392,"filename":"image_10072025_21_46_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/641bd14ecb03f45f6b11508617e25c17.jpg","text":"TemporaryFile(/tmp/multipartBody4088306595606799625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286194392,"filename":"image_10072025_21_45_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1001d176a7df442c36789382e29d3df8.jpg","text":"TemporaryFile(/tmp/multipartBody605304481825595396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286194392,"filename":"image_10072025_21_45_54_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2b3eeb0bf61e2da6f31a0c2d175eba1.jpg","text":"TemporaryFile(/tmp/multipartBody1135004857277987373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286194392,"filename":"image_10072025_21_46_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8268746d9b16109d338e7ed476360788.jpg","text":"TemporaryFile(/tmp/multipartBody7882875625869953923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286194392,"filename":"image_10072025_21_46_24_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790407","file1":"1371790399","file0":"1371790396","file4":"1371790413","file5":"1371790415","file3":"1371790412"},"map_files_photo_id_array":[{"photo_id":"1371790415","filename":"file5"},{"photo_id":"1371790407","filename":"file2"},{"photo_id":"1371790413","filename":"file4"},{"photo_id":"1371790399","filename":"file1"},{"photo_id":"1371790396","filename":"file0"},{"photo_id":"1371790412","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371790413":["hashtag1","hashtag2"]},{"1371790407":["hashtag1","hashtag2"]},{"1371790415":["hashtag1","hashtag2"]},{"1371790412":["hashtag1","hashtag2"]},{"1371790396":["hashtag1","hashtag2"]},{"1371790399":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371790413, 1371790407, 1371790415, 1371790412, 1371790396, 1371790399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07821202278137 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:09:31.778123
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_33_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/04/08/image_12072025_04_09_03_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/04/08/image_12072025_04_08_43_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_44_10648.jpg', '/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_33_9655.jpg', '/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_24_10649.jpg', '/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_13_9656.jpg', '/home/nano/Desktop/images/12072025/04/08/image_12072025_04_09_03_9640.jpg', '/home/nano/Desktop/images/12072025/04/08/image_12072025_04_08_43_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_44_10648.jpg
/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_33_9655.jpg
/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_24_10649.jpg
/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_13_9656.jpg
/home/nano/Desktop/images/12072025/04/08/image_12072025_04_09_03_9640.jpg
/home/nano/Desktop/images/12072025/04/08/image_12072025_04_08_43_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790440","1371790428","1371790466","1371790451","1371790462","1371790444"],"photo_ids_order":["1371790428","1371790440","1371790444","1371790451","1371790462","1371790466"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fbb9d9eb41bdfd04a99d0bed31b9e00.jpg","text":"TemporaryFile(/tmp/multipartBody1819602527078364561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286239681,"filename":"image_12072025_04_09_33_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47eb82d84136781b35a93669c736837e.jpg","text":"TemporaryFile(/tmp/multipartBody1395383975560270742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286239681,"filename":"image_12072025_04_09_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9262f6d6873d3a3d5e37d2588abf17d5.jpg","text":"TemporaryFile(/tmp/multipartBody4339809097911925703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286239681,"filename":"image_12072025_04_08_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78ae71dd39a0e7cd07ad152fa25c8614.jpg","text":"TemporaryFile(/tmp/multipartBody855405228820973640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286239681,"filename":"image_12072025_04_09_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0914490cc6fecd914dc834290088fae1.jpg","text":"TemporaryFile(/tmp/multipartBody841684244388461171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286239681,"filename":"image_12072025_04_09_03_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eec9a8db675720d4aa010d6987714532.jpg","text":"TemporaryFile(/tmp/multipartBody3073905798131733098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286239681,"filename":"image_12072025_04_09_24_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790444","file1":"1371790440","file0":"1371790428","file4":"1371790462","file5":"1371790466","file3":"1371790451"},"map_files_photo_id_array":[{"photo_id":"1371790466","filename":"file5"},{"photo_id":"1371790444","filename":"file2"},{"photo_id":"1371790462","filename":"file4"},{"photo_id":"1371790440","filename":"file1"},{"photo_id":"1371790428","filename":"file0"},{"photo_id":"1371790451","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790440":["hashtag1","hashtag2"]},{"1371790428":["hashtag1","hashtag2"]},{"1371790466":["hashtag1","hashtag2"]},{"1371790451":["hashtag1","hashtag2"]},{"1371790462":["hashtag1","hashtag2"]},{"1371790444":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790440, 1371790428, 1371790466, 1371790451, 1371790462, 1371790444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24962568283081 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:10:16.855882
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_14_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/04/09/image_12072025_04_10_03_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_44_10647.jpg', '/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_33_9639.jpg', '/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_24_9637.jpg', '/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_14_10664.jpg', '/home/nano/Desktop/images/12072025/04/09/image_12072025_04_10_03_9662.jpg', '/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_44_10647.jpg
/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_33_9639.jpg
/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_24_9637.jpg
/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_14_10664.jpg
/home/nano/Desktop/images/12072025/04/09/image_12072025_04_10_03_9662.jpg
/home/nano/Desktop/images/12072025/04/09/image_12072025_04_09_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790482","1371790476","1371790490","1371790475","1371790480","1371790486"],"photo_ids_order":["1371790475","1371790476","1371790480","1371790482","1371790486","1371790490"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/288e728e6a3fb966f1dac83408636cc1.jpg","text":"TemporaryFile(/tmp/multipartBody4521839404202742511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286282466,"filename":"image_12072025_04_10_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6613dd1940acaad62ac99f4a130fd4a2.jpg","text":"TemporaryFile(/tmp/multipartBody1777985959020321445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286282466,"filename":"image_12072025_04_10_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0be9b322a2aa1445a9c14efca1bf2d8.jpg","text":"TemporaryFile(/tmp/multipartBody5871280494428138977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286282466,"filename":"image_12072025_04_09_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2edb49f189273db891fac5b0b50b684.jpg","text":"TemporaryFile(/tmp/multipartBody956233815258134746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286282466,"filename":"image_12072025_04_10_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77fc3cd150bc7fd69e618ed0398cae84.jpg","text":"TemporaryFile(/tmp/multipartBody3287713389604810331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286282466,"filename":"image_12072025_04_10_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/825222892969cd5a20f4a6cc6590bd56.jpg","text":"TemporaryFile(/tmp/multipartBody7876378785278877634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286282466,"filename":"image_12072025_04_10_03_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790480","file1":"1371790476","file0":"1371790475","file4":"1371790486","file5":"1371790490","file3":"1371790482"},"map_files_photo_id_array":[{"photo_id":"1371790490","filename":"file5"},{"photo_id":"1371790480","filename":"file2"},{"photo_id":"1371790486","filename":"file4"},{"photo_id":"1371790476","filename":"file1"},{"photo_id":"1371790475","filename":"file0"},{"photo_id":"1371790482","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790482":["hashtag1","hashtag2"]},{"1371790476":["hashtag1","hashtag2"]},{"1371790490":["hashtag1","hashtag2"]},{"1371790475":["hashtag1","hashtag2"]},{"1371790480":["hashtag1","hashtag2"]},{"1371790486":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790482, 1371790476, 1371790490, 1371790475, 1371790480, 1371790486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.465399980545044 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:11:02.298139
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_24_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_13_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/21/44/image_10072025_21_45_04_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/21/44/image_10072025_21_44_54_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/44/image_10072025_21_44_43_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/44/image_10072025_21_44_34_10679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_24_10656.jpg', '/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_13_9665.jpg', '/home/nano/Desktop/images/10072025/21/44/image_10072025_21_45_04_9661.jpg', '/home/nano/Desktop/images/10072025/21/44/image_10072025_21_44_54_10658.jpg', '/home/nano/Desktop/images/10072025/21/44/image_10072025_21_44_43_9648.jpg', '/home/nano/Desktop/images/10072025/21/44/image_10072025_21_44_34_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_24_10656.jpg
/home/nano/Desktop/images/10072025/21/45/image_10072025_21_45_13_9665.jpg
/home/nano/Desktop/images/10072025/21/44/image_10072025_21_45_04_9661.jpg
/home/nano/Desktop/images/10072025/21/44/image_10072025_21_44_54_10658.jpg
/home/nano/Desktop/images/10072025/21/44/image_10072025_21_44_43_9648.jpg
/home/nano/Desktop/images/10072025/21/44/image_10072025_21_44_34_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790525","1371790519","1371790513","1371790521","1371790524","1371790517"],"photo_ids_order":["1371790513","1371790517","1371790519","1371790521","1371790524","1371790525"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50553fd6987fd2578bc92d16e465a243.jpg","text":"TemporaryFile(/tmp/multipartBody6224768567781953382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286331657,"filename":"image_10072025_21_44_34_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae1175b8a96050ad454ee3f42513400d.jpg","text":"TemporaryFile(/tmp/multipartBody804739393736532829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286331657,"filename":"image_10072025_21_45_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16eb90dbd7eeba9dd8c1080c44019edf.jpg","text":"TemporaryFile(/tmp/multipartBody177378754033447219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286331657,"filename":"image_10072025_21_45_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d6de9933de2a5637912c2663b9703c2.jpg","text":"TemporaryFile(/tmp/multipartBody4946653959191949944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286331657,"filename":"image_10072025_21_44_54_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21aaed53056b14cee4cf25ed5887deb0.jpg","text":"TemporaryFile(/tmp/multipartBody3485620502170538316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286331657,"filename":"image_10072025_21_44_43_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f58a67caf671cab7bcee13d59aaaa94f.jpg","text":"TemporaryFile(/tmp/multipartBody1745784561420377896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286331657,"filename":"image_10072025_21_45_13_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790519","file1":"1371790517","file0":"1371790513","file4":"1371790524","file5":"1371790525","file3":"1371790521"},"map_files_photo_id_array":[{"photo_id":"1371790525","filename":"file5"},{"photo_id":"1371790519","filename":"file2"},{"photo_id":"1371790524","filename":"file4"},{"photo_id":"1371790517","filename":"file1"},{"photo_id":"1371790513","filename":"file0"},{"photo_id":"1371790521","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371790525":["hashtag1","hashtag2"]},{"1371790519":["hashtag1","hashtag2"]},{"1371790513":["hashtag1","hashtag2"]},{"1371790521":["hashtag1","hashtag2"]},{"1371790524":["hashtag1","hashtag2"]},{"1371790517":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371790525, 1371790519, 1371790513, 1371790521, 1371790524, 1371790517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.595067501068115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:11:46.950986
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_24_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_14_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/04/10/image_12072025_04_11_03_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_44_10649.jpg', '/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_33_9638.jpg', '/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_24_9636.jpg', '/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_14_10662.jpg', '/home/nano/Desktop/images/12072025/04/10/image_12072025_04_11_03_9638.jpg', '/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_44_10649.jpg
/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_33_9638.jpg
/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_24_9636.jpg
/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_14_10662.jpg
/home/nano/Desktop/images/12072025/04/10/image_12072025_04_11_03_9638.jpg
/home/nano/Desktop/images/12072025/04/10/image_12072025_04_10_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790566","1371790542","1371790562","1371790553","1371790570","1371790564"],"photo_ids_order":["1371790542","1371790553","1371790562","1371790564","1371790566","1371790570"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/631eb68ac2b7bf958f9f9af4f6f6f332.jpg","text":"TemporaryFile(/tmp/multipartBody7506942015739762022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286372702,"filename":"image_12072025_04_11_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1a89ec8bbae00a4fb56d4b372d17696.jpg","text":"TemporaryFile(/tmp/multipartBody1132494946320611882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286372702,"filename":"image_12072025_04_11_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3d5e7142ca4c675f8830a51b73a1ae9.jpg","text":"TemporaryFile(/tmp/multipartBody641488521950390514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286372702,"filename":"image_12072025_04_11_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a8098e96b2aeb5eb6594696e8d3ca18.jpg","text":"TemporaryFile(/tmp/multipartBody2928928246444560430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286372702,"filename":"image_12072025_04_11_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/678eb1bff5515d44ab9669d1b68fdcae.jpg","text":"TemporaryFile(/tmp/multipartBody3871088322853112624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286372702,"filename":"image_12072025_04_10_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/174135f70fc30e1c663705aa57c17e25.jpg","text":"TemporaryFile(/tmp/multipartBody2112370597066308527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286372702,"filename":"image_12072025_04_11_14_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790562","file1":"1371790553","file0":"1371790542","file4":"1371790566","file5":"1371790570","file3":"1371790564"},"map_files_photo_id_array":[{"photo_id":"1371790570","filename":"file5"},{"photo_id":"1371790562","filename":"file2"},{"photo_id":"1371790566","filename":"file4"},{"photo_id":"1371790553","filename":"file1"},{"photo_id":"1371790542","filename":"file0"},{"photo_id":"1371790564","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790566":["hashtag1","hashtag2"]},{"1371790542":["hashtag1","hashtag2"]},{"1371790562":["hashtag1","hashtag2"]},{"1371790553":["hashtag1","hashtag2"]},{"1371790570":["hashtag1","hashtag2"]},{"1371790564":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790566, 1371790542, 1371790562, 1371790553, 1371790570, 1371790564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87371039390564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:12:32.049448
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/12/image_12072025_04_12_14_10682.jpg', 2), ('/home/nano/Desktop/images/12072025/04/11/image_12072025_04_12_03_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/12/image_12072025_04_12_14_10682.jpg', '/home/nano/Desktop/images/12072025/04/11/image_12072025_04_12_03_9652.jpg', '/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/12/image_12072025_04_12_14_10682.jpg
/home/nano/Desktop/images/12072025/04/11/image_12072025_04_12_03_9652.jpg
/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_53_9645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6045453548431396 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:12:47.062882
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/12/image_12072025_04_12_14_10682.jpg', 2), ('/home/nano/Desktop/images/12072025/04/11/image_12072025_04_12_03_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/12/image_12072025_04_12_14_10682.jpg', '/home/nano/Desktop/images/12072025/04/11/image_12072025_04_12_03_9652.jpg', '/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/12/image_12072025_04_12_14_10682.jpg
/home/nano/Desktop/images/12072025/04/11/image_12072025_04_12_03_9652.jpg
/home/nano/Desktop/images/12072025/04/11/image_12072025_04_11_53_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790598","1371790601","1371790594"],"photo_ids_order":["1371790594","1371790598","1371790601"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6851eae87e5cb6a3b5fe4c120a894c0.jpg","text":"TemporaryFile(/tmp/multipartBody4732000795474245883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286431638,"filename":"image_12072025_04_12_03_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7ead7d32c7cd48a6a9c96eb0dccc3c7.jpg","text":"TemporaryFile(/tmp/multipartBody1203595536636008612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286431638,"filename":"image_12072025_04_11_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a63c354959c6087f51b965a2a4f2f8e4.jpg","text":"TemporaryFile(/tmp/multipartBody7604756059250576203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286431638,"filename":"image_12072025_04_12_14_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790601","file1":"1371790598","file0":"1371790594"},"map_files_photo_id_array":[{"photo_id":"1371790601","filename":"file2"},{"photo_id":"1371790598","filename":"file1"},{"photo_id":"1371790594","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790598":["hashtag1","hashtag2"]},{"1371790601":["hashtag1","hashtag2"]},{"1371790594":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790598, 1371790601, 1371790594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.521313667297363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:13:17.219786
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_34_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_14_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/04/12/image_12072025_04_13_04_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/04/12/image_12072025_04_12_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_44_9639.jpg', '/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_34_10651.jpg', '/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_23_9640.jpg', '/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_14_9662.jpg', '/home/nano/Desktop/images/12072025/04/12/image_12072025_04_13_04_10653.jpg', '/home/nano/Desktop/images/12072025/04/12/image_12072025_04_12_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_44_9639.jpg
/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_34_10651.jpg
/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_23_9640.jpg
/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_14_9662.jpg
/home/nano/Desktop/images/12072025/04/12/image_12072025_04_13_04_10653.jpg
/home/nano/Desktop/images/12072025/04/12/image_12072025_04_12_53_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790633","1371790627","1371790629","1371790631","1371790625","1371790637"],"photo_ids_order":["1371790625","1371790627","1371790629","1371790631","1371790633","1371790637"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b1aaa184d8edb4b9bc1f47aec1ef08c.jpg","text":"TemporaryFile(/tmp/multipartBody2481707010991341525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286463227,"filename":"image_12072025_04_13_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25f485210a1e42b55af8335644d2d600.jpg","text":"TemporaryFile(/tmp/multipartBody7879885462959363984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286463227,"filename":"image_12072025_04_13_34_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2394f6bb0ba2d9e628b79509a379fa4f.jpg","text":"TemporaryFile(/tmp/multipartBody1209912849552109974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286463227,"filename":"image_12072025_04_13_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13440ffcd12af35c6149bb769189c1d7.jpg","text":"TemporaryFile(/tmp/multipartBody3497656366889148421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286463227,"filename":"image_12072025_04_13_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb31d3839946ac8c673977c4db8529f2.jpg","text":"TemporaryFile(/tmp/multipartBody1082133582725177080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286463227,"filename":"image_12072025_04_13_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52c57647a87ed8cc1cc9136d4ad599cc.jpg","text":"TemporaryFile(/tmp/multipartBody7348690527197351063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286463227,"filename":"image_12072025_04_12_53_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790629","file1":"1371790627","file0":"1371790625","file4":"1371790633","file5":"1371790637","file3":"1371790631"},"map_files_photo_id_array":[{"photo_id":"1371790637","filename":"file5"},{"photo_id":"1371790629","filename":"file2"},{"photo_id":"1371790633","filename":"file4"},{"photo_id":"1371790627","filename":"file1"},{"photo_id":"1371790625","filename":"file0"},{"photo_id":"1371790631","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790633":["hashtag1","hashtag2"]},{"1371790627":["hashtag1","hashtag2"]},{"1371790629":["hashtag1","hashtag2"]},{"1371790631":["hashtag1","hashtag2"]},{"1371790625":["hashtag1","hashtag2"]},{"1371790637":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790633, 1371790627, 1371790629, 1371790631, 1371790625, 1371790637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.825352907180786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:14:02.813570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/44/image_10072025_21_44_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/43/image_10072025_21_44_04_10670.jpg', 2), ('/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_53_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_43_9670.jpg', 2), ('/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_34_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_23_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/44/image_10072025_21_44_23_9645.jpg', '/home/nano/Desktop/images/10072025/21/43/image_10072025_21_44_04_10670.jpg', '/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_53_9662.jpg', '/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_43_9670.jpg', '/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_34_10664.jpg', '/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_23_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/44/image_10072025_21_44_23_9645.jpg
/home/nano/Desktop/images/10072025/21/43/image_10072025_21_44_04_10670.jpg
/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_53_9662.jpg
/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_43_9670.jpg
/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_34_10664.jpg
/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_23_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790665","1371790659","1371790656","1371790661","1371790664","1371790663"],"photo_ids_order":["1371790656","1371790659","1371790661","1371790663","1371790664","1371790665"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/600ea807a780cef8763d952990f411c9.jpg","text":"TemporaryFile(/tmp/multipartBody5128151800297183750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286513081,"filename":"image_10072025_21_43_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b814f4c48f966a2c62db711cb04a2ac5.jpg","text":"TemporaryFile(/tmp/multipartBody5847641501708538162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286513081,"filename":"image_10072025_21_44_04_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89dd272cb2459bcffb7d73201a617025.jpg","text":"TemporaryFile(/tmp/multipartBody6850705428332303445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286513081,"filename":"image_10072025_21_44_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd5a454cd2bd6509c3796f7a6bfda85e.jpg","text":"TemporaryFile(/tmp/multipartBody1483389968320283310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286513081,"filename":"image_10072025_21_43_53_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f3630d7635aca1ec84812111f5db430.jpg","text":"TemporaryFile(/tmp/multipartBody59380156796230841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286513081,"filename":"image_10072025_21_43_34_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4fe6174e0f0bff6d06835e7c20cea54a.jpg","text":"TemporaryFile(/tmp/multipartBody4269316910817492222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286513081,"filename":"image_10072025_21_43_43_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790661","file1":"1371790659","file0":"1371790656","file4":"1371790664","file5":"1371790665","file3":"1371790663"},"map_files_photo_id_array":[{"photo_id":"1371790665","filename":"file5"},{"photo_id":"1371790661","filename":"file2"},{"photo_id":"1371790664","filename":"file4"},{"photo_id":"1371790659","filename":"file1"},{"photo_id":"1371790656","filename":"file0"},{"photo_id":"1371790663","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371790665":["hashtag1","hashtag2"]},{"1371790659":["hashtag1","hashtag2"]},{"1371790656":["hashtag1","hashtag2"]},{"1371790661":["hashtag1","hashtag2"]},{"1371790664":["hashtag1","hashtag2"]},{"1371790663":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371790665, 1371790659, 1371790656, 1371790661, 1371790664, 1371790663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.567310094833374 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:14:47.234983
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_44_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_23_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_14_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/04/13/image_12072025_04_14_04_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_53_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_44_9655.jpg', '/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_23_9641.jpg', '/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_14_9660.jpg', '/home/nano/Desktop/images/12072025/04/13/image_12072025_04_14_04_10656.jpg', '/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_53_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_44_9655.jpg
/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_23_9641.jpg
/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_14_9660.jpg
/home/nano/Desktop/images/12072025/04/13/image_12072025_04_14_04_10656.jpg
/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_53_9655.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 5.062214374542236 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:15:02.736550
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_44_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_23_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_14_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/04/13/image_12072025_04_14_04_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_53_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_44_9655.jpg', '/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_23_9641.jpg', '/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_14_9660.jpg', '/home/nano/Desktop/images/12072025/04/13/image_12072025_04_14_04_10656.jpg', '/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_53_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_44_9655.jpg
/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_23_9641.jpg
/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_14_9660.jpg
/home/nano/Desktop/images/12072025/04/13/image_12072025_04_14_04_10656.jpg
/home/nano/Desktop/images/12072025/04/13/image_12072025_04_13_53_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790708","1371790701","1371790710","1371790706","1371790703"],"photo_ids_order":["1371790701","1371790703","1371790706","1371790708","1371790710"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91287874fab010e262bcf97912ae9a7d.jpg","text":"TemporaryFile(/tmp/multipartBody3256724905895094922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286566733,"filename":"image_12072025_04_14_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f49735e4a92467b93afaf2d18a76080a.jpg","text":"TemporaryFile(/tmp/multipartBody7938475696925453807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286566733,"filename":"image_12072025_04_14_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5287720bdb2e4894a8054cb4bd7d93c2.jpg","text":"TemporaryFile(/tmp/multipartBody5255706800097997781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286566733,"filename":"image_12072025_04_13_53_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b313a65e04d34eb89d07af0ac37bd32.jpg","text":"TemporaryFile(/tmp/multipartBody3095225467290751381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286566733,"filename":"image_12072025_04_14_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7322d84961d9bacaa4e543664b4bc24.jpg","text":"TemporaryFile(/tmp/multipartBody8258720734848246254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286566733,"filename":"image_12072025_04_14_23_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790706","file1":"1371790703","file0":"1371790701","file4":"1371790710","file3":"1371790708"},"map_files_photo_id_array":[{"photo_id":"1371790706","filename":"file2"},{"photo_id":"1371790710","filename":"file4"},{"photo_id":"1371790703","filename":"file1"},{"photo_id":"1371790701","filename":"file0"},{"photo_id":"1371790708","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790708":["hashtag1","hashtag2"]},{"1371790701":["hashtag1","hashtag2"]},{"1371790710":["hashtag1","hashtag2"]},{"1371790706":["hashtag1","hashtag2"]},{"1371790703":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790708, 1371790701, 1371790710, 1371790706, 1371790703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.714043140411377 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:15:47.337261
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_34_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_13_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/04/14/image_12072025_04_15_04_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_43_9645.jpg', '/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_34_10654.jpg', '/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_23_9638.jpg', '/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_13_9668.jpg', '/home/nano/Desktop/images/12072025/04/14/image_12072025_04_15_04_10658.jpg', '/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_43_9645.jpg
/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_34_10654.jpg
/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_23_9638.jpg
/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_13_9668.jpg
/home/nano/Desktop/images/12072025/04/14/image_12072025_04_15_04_10658.jpg
/home/nano/Desktop/images/12072025/04/14/image_12072025_04_14_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790738","1371790746","1371790734","1371790743","1371790725","1371790730"],"photo_ids_order":["1371790725","1371790730","1371790734","1371790738","1371790743","1371790746"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e92eef0a9cc29d0f4c8b17171ad44d6.jpg","text":"TemporaryFile(/tmp/multipartBody5642774843242373318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286612787,"filename":"image_12072025_04_15_13_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a111caae783bb7b4cfcdc67a8af42832.jpg","text":"TemporaryFile(/tmp/multipartBody7931321415406582743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286612787,"filename":"image_12072025_04_14_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d98ba42beb22cb8e5f11d6d1e4db4134.jpg","text":"TemporaryFile(/tmp/multipartBody5247501586366947643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286612787,"filename":"image_12072025_04_15_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53377f5a8e62a0552643c91a4a7c3fe1.jpg","text":"TemporaryFile(/tmp/multipartBody6495900245653835285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286612787,"filename":"image_12072025_04_15_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5519fd936a024f42ca45b13c8a17a059.jpg","text":"TemporaryFile(/tmp/multipartBody8682705990626543033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286612787,"filename":"image_12072025_04_15_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9a3a5ee58ce2cb287444d69daf0ac86.jpg","text":"TemporaryFile(/tmp/multipartBody6680578713358514792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286612787,"filename":"image_12072025_04_15_34_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790734","file1":"1371790730","file0":"1371790725","file4":"1371790743","file5":"1371790746","file3":"1371790738"},"map_files_photo_id_array":[{"photo_id":"1371790746","filename":"file5"},{"photo_id":"1371790734","filename":"file2"},{"photo_id":"1371790743","filename":"file4"},{"photo_id":"1371790730","filename":"file1"},{"photo_id":"1371790725","filename":"file0"},{"photo_id":"1371790738","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790738":["hashtag1","hashtag2"]},{"1371790746":["hashtag1","hashtag2"]},{"1371790734":["hashtag1","hashtag2"]},{"1371790743":["hashtag1","hashtag2"]},{"1371790725":["hashtag1","hashtag2"]},{"1371790730":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790738, 1371790746, 1371790734, 1371790743, 1371790725, 1371790730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50376319885254 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:16:32.449553
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/16/image_12072025_04_16_34_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/04/16/image_12072025_04_16_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/04/16/image_12072025_04_16_13_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/04/15/image_12072025_04_16_04_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/16/image_12072025_04_16_34_9636.jpg', '/home/nano/Desktop/images/12072025/04/16/image_12072025_04_16_24_10647.jpg', '/home/nano/Desktop/images/12072025/04/16/image_12072025_04_16_13_9662.jpg', '/home/nano/Desktop/images/12072025/04/15/image_12072025_04_16_04_10656.jpg', '/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/16/image_12072025_04_16_34_9636.jpg
/home/nano/Desktop/images/12072025/04/16/image_12072025_04_16_24_10647.jpg
/home/nano/Desktop/images/12072025/04/16/image_12072025_04_16_13_9662.jpg
/home/nano/Desktop/images/12072025/04/15/image_12072025_04_16_04_10656.jpg
/home/nano/Desktop/images/12072025/04/15/image_12072025_04_15_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790752","1371790760","1371790763","1371790757","1371790754"],"photo_ids_order":["1371790752","1371790754","1371790757","1371790760","1371790763"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae76bc2361dbe779f6a3574ac0af43c6.jpg","text":"TemporaryFile(/tmp/multipartBody475515506960804096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286657487,"filename":"image_12072025_04_16_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a52f796904607b29926739bbf346aa1.jpg","text":"TemporaryFile(/tmp/multipartBody6140468997583570862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286657487,"filename":"image_12072025_04_16_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d26a6729ce52c1c41b4a11195b5f6630.jpg","text":"TemporaryFile(/tmp/multipartBody3357860795766717308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286657487,"filename":"image_12072025_04_15_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f51910017fbcfea2ee10453675ccbcc.jpg","text":"TemporaryFile(/tmp/multipartBody6766702953015485225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286657487,"filename":"image_12072025_04_16_13_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d555f56e6e2b3814fa9eecdbfd0e94c4.jpg","text":"TemporaryFile(/tmp/multipartBody777288429839943416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286657487,"filename":"image_12072025_04_16_24_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790757","file1":"1371790754","file0":"1371790752","file4":"1371790763","file3":"1371790760"},"map_files_photo_id_array":[{"photo_id":"1371790757","filename":"file2"},{"photo_id":"1371790763","filename":"file4"},{"photo_id":"1371790754","filename":"file1"},{"photo_id":"1371790752","filename":"file0"},{"photo_id":"1371790760","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790752":["hashtag1","hashtag2"]},{"1371790760":["hashtag1","hashtag2"]},{"1371790763":["hashtag1","hashtag2"]},{"1371790757":["hashtag1","hashtag2"]},{"1371790754":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790752, 1371790760, 1371790763, 1371790757, 1371790754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.24496269226074 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:17:17.541497
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_34_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_13_9678.jpg', 2), ('/home/nano/Desktop/images/12072025/04/16/image_12072025_04_17_04_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/04/16/image_12072025_04_16_43_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_43_9639.jpg', '/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_34_9650.jpg', '/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_24_10648.jpg', '/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_13_9678.jpg', '/home/nano/Desktop/images/12072025/04/16/image_12072025_04_17_04_9636.jpg', '/home/nano/Desktop/images/12072025/04/16/image_12072025_04_16_43_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_43_9639.jpg
/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_34_9650.jpg
/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_24_10648.jpg
/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_13_9678.jpg
/home/nano/Desktop/images/12072025/04/16/image_12072025_04_17_04_9636.jpg
/home/nano/Desktop/images/12072025/04/16/image_12072025_04_16_43_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790801","1371790810","1371790797","1371790803","1371790806","1371790796"],"photo_ids_order":["1371790796","1371790797","1371790801","1371790803","1371790806","1371790810"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe50f8163499f4c446603e2da6de1f1c.jpg","text":"TemporaryFile(/tmp/multipartBody3502940564786895159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286705190,"filename":"image_12072025_04_17_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aaf1c70e83a23c9d9205f8fa652d1430.jpg","text":"TemporaryFile(/tmp/multipartBody5836944937140176104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286705190,"filename":"image_12072025_04_16_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77ccab28f61e4577a7669ff3cd47803c.jpg","text":"TemporaryFile(/tmp/multipartBody2999087539006173388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286705190,"filename":"image_12072025_04_17_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7523e27d8229c6de5042d795cb393901.jpg","text":"TemporaryFile(/tmp/multipartBody128954385882300640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286705190,"filename":"image_12072025_04_17_13_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d9415e67df11ada9f9760406872a1b0.jpg","text":"TemporaryFile(/tmp/multipartBody2636301666676696151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286705190,"filename":"image_12072025_04_17_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41cbe61ed49d8f807dc33df0a3b5da9d.jpg","text":"TemporaryFile(/tmp/multipartBody8103981404780898429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286705190,"filename":"image_12072025_04_17_43_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790801","file1":"1371790797","file0":"1371790796","file4":"1371790806","file5":"1371790810","file3":"1371790803"},"map_files_photo_id_array":[{"photo_id":"1371790810","filename":"file5"},{"photo_id":"1371790801","filename":"file2"},{"photo_id":"1371790806","filename":"file4"},{"photo_id":"1371790797","filename":"file1"},{"photo_id":"1371790796","filename":"file0"},{"photo_id":"1371790803","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790801":["hashtag1","hashtag2"]},{"1371790810":["hashtag1","hashtag2"]},{"1371790797":["hashtag1","hashtag2"]},{"1371790803":["hashtag1","hashtag2"]},{"1371790806":["hashtag1","hashtag2"]},{"1371790796":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790801, 1371790810, 1371790797, 1371790803, 1371790806, 1371790796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.54504084587097 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:18:03.133629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_13_9683.jpg', 2), ('/home/nano/Desktop/images/10072025/21/42/image_10072025_21_43_04_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_53_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_34_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_23_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_13_9683.jpg', '/home/nano/Desktop/images/10072025/21/42/image_10072025_21_43_04_10672.jpg', '/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_53_9662.jpg', '/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_43_9646.jpg', '/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_34_10658.jpg', '/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_23_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_13_9683.jpg
/home/nano/Desktop/images/10072025/21/42/image_10072025_21_43_04_10672.jpg
/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_53_9662.jpg
/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_43_9646.jpg
/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_34_10658.jpg
/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_23_9646.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 9.42908000946045 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:18:17.688632
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/18/image_12072025_04_18_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_54_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/18/image_12072025_04_18_43_9637.jpg', '/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/18/image_12072025_04_18_43_9637.jpg
/home/nano/Desktop/images/12072025/04/17/image_12072025_04_17_54_10653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790837","1371790834"],"photo_ids_order":["1371790834","1371790837"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36754d92eb07b131a700bcb3227e5a85.jpg","text":"TemporaryFile(/tmp/multipartBody9071462969304741277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286760147,"filename":"image_12072025_04_17_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41913925bcf3d7dab683452eca05ee4b.jpg","text":"TemporaryFile(/tmp/multipartBody6224098477033641170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286760147,"filename":"image_12072025_04_18_43_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371790837","file0":"1371790834"},"map_files_photo_id_array":[{"photo_id":"1371790837","filename":"file1"},{"photo_id":"1371790834","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790837":["hashtag1","hashtag2"]},{"1371790834":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790837, 1371790834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.72852063179016 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:18:47.694824
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_13_9683.jpg', 2), ('/home/nano/Desktop/images/10072025/21/42/image_10072025_21_43_04_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_53_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_34_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_23_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_13_9683.jpg', '/home/nano/Desktop/images/10072025/21/42/image_10072025_21_43_04_10672.jpg', '/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_53_9662.jpg', '/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_43_9646.jpg', '/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_34_10658.jpg', '/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_23_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/43/image_10072025_21_43_13_9683.jpg
/home/nano/Desktop/images/10072025/21/42/image_10072025_21_43_04_10672.jpg
/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_53_9662.jpg
/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_43_9646.jpg
/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_34_10658.jpg
/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_23_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790863","1371790857","1371790854","1371790850","1371790846","1371790861"],"photo_ids_order":["1371790846","1371790850","1371790854","1371790857","1371790861","1371790863"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07f93b6331ce15016e617ac6f26c4683.jpg","text":"TemporaryFile(/tmp/multipartBody2980520413715421745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286790387,"filename":"image_10072025_21_42_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff89df61044918db62e7462dcef4ea04.jpg","text":"TemporaryFile(/tmp/multipartBody3149910955296688340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286790387,"filename":"image_10072025_21_42_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/abd525f01f1748da3a892169a8fc4b20.jpg","text":"TemporaryFile(/tmp/multipartBody474659002087963551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286790387,"filename":"image_10072025_21_42_53_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dcd76a7c85622f9dbf32f9288c2ba69a.jpg","text":"TemporaryFile(/tmp/multipartBody5807101434228404214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286790387,"filename":"image_10072025_21_43_04_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec094a108a538b657af805a5b3a55f20.jpg","text":"TemporaryFile(/tmp/multipartBody2830709359633140761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286790387,"filename":"image_10072025_21_43_13_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46c585efdac19ff48925cc9fdd6e73bc.jpg","text":"TemporaryFile(/tmp/multipartBody6234688003013343879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286790387,"filename":"image_10072025_21_42_34_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790854","file1":"1371790850","file0":"1371790846","file4":"1371790861","file5":"1371790863","file3":"1371790857"},"map_files_photo_id_array":[{"photo_id":"1371790863","filename":"file5"},{"photo_id":"1371790854","filename":"file2"},{"photo_id":"1371790861","filename":"file4"},{"photo_id":"1371790850","filename":"file1"},{"photo_id":"1371790846","filename":"file0"},{"photo_id":"1371790857","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371790863":["hashtag1","hashtag2"]},{"1371790857":["hashtag1","hashtag2"]},{"1371790854":["hashtag1","hashtag2"]},{"1371790850":["hashtag1","hashtag2"]},{"1371790846":["hashtag1","hashtag2"]},{"1371790861":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371790863, 1371790857, 1371790854, 1371790850, 1371790846, 1371790861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.804835081100464 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:19:31.796101
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/19/image_12072025_04_19_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/19/image_12072025_04_19_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/19/image_12072025_04_19_13_9707.jpg', 2), ('/home/nano/Desktop/images/12072025/04/18/image_12072025_04_19_03_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/04/18/image_12072025_04_18_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/19/image_12072025_04_19_33_9638.jpg', '/home/nano/Desktop/images/12072025/04/19/image_12072025_04_19_24_10648.jpg', '/home/nano/Desktop/images/12072025/04/19/image_12072025_04_19_13_9707.jpg', '/home/nano/Desktop/images/12072025/04/18/image_12072025_04_19_03_9640.jpg', '/home/nano/Desktop/images/12072025/04/18/image_12072025_04_18_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/19/image_12072025_04_19_33_9638.jpg
/home/nano/Desktop/images/12072025/04/19/image_12072025_04_19_24_10648.jpg
/home/nano/Desktop/images/12072025/04/19/image_12072025_04_19_13_9707.jpg
/home/nano/Desktop/images/12072025/04/18/image_12072025_04_19_03_9640.jpg
/home/nano/Desktop/images/12072025/04/18/image_12072025_04_18_54_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790878","1371790895","1371790891","1371790870","1371790873"],"photo_ids_order":["1371790870","1371790873","1371790878","1371790891","1371790895"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14890c8bcd7f2b07f4d7d2aeddf813df.jpg","text":"TemporaryFile(/tmp/multipartBody1523785739255593957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286832803,"filename":"image_12072025_04_19_13_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7f2e39db565aa0e1207f68ac15f0922.jpg","text":"TemporaryFile(/tmp/multipartBody8937592183284825174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286832803,"filename":"image_12072025_04_18_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84c58bbe7e5ec4b9475a46e8dd3cfc58.jpg","text":"TemporaryFile(/tmp/multipartBody7705701031042676207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286832803,"filename":"image_12072025_04_19_03_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65d265fc58237340a3379040a6a8528e.jpg","text":"TemporaryFile(/tmp/multipartBody6607988135869772018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286832803,"filename":"image_12072025_04_19_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26af9a24beb93b5aa823aab899033530.jpg","text":"TemporaryFile(/tmp/multipartBody5538068874672066188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286832803,"filename":"image_12072025_04_19_24_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790878","file1":"1371790873","file0":"1371790870","file4":"1371790895","file3":"1371790891"},"map_files_photo_id_array":[{"photo_id":"1371790878","filename":"file2"},{"photo_id":"1371790895","filename":"file4"},{"photo_id":"1371790873","filename":"file1"},{"photo_id":"1371790870","filename":"file0"},{"photo_id":"1371790891","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790878":["hashtag1","hashtag2"]},{"1371790895":["hashtag1","hashtag2"]},{"1371790891":["hashtag1","hashtag2"]},{"1371790870":["hashtag1","hashtag2"]},{"1371790873":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790878, 1371790895, 1371790891, 1371790870, 1371790873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.31524395942688 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:20:02.330297
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_13_9687.jpg', 2), ('/home/nano/Desktop/images/10072025/21/41/image_10072025_21_42_04_10669.jpg', 2), ('/home/nano/Desktop/images/10072025/21/41/image_10072025_21_41_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/41/image_10072025_21_41_43_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/21/40/image_10072025_21_41_04_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/21/40/image_10072025_21_40_53_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_13_9687.jpg', '/home/nano/Desktop/images/10072025/21/41/image_10072025_21_42_04_10669.jpg', '/home/nano/Desktop/images/10072025/21/41/image_10072025_21_41_53_9646.jpg', '/home/nano/Desktop/images/10072025/21/41/image_10072025_21_41_43_9647.jpg', '/home/nano/Desktop/images/10072025/21/40/image_10072025_21_41_04_10664.jpg', '/home/nano/Desktop/images/10072025/21/40/image_10072025_21_40_53_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/42/image_10072025_21_42_13_9687.jpg
/home/nano/Desktop/images/10072025/21/41/image_10072025_21_42_04_10669.jpg
/home/nano/Desktop/images/10072025/21/41/image_10072025_21_41_53_9646.jpg
/home/nano/Desktop/images/10072025/21/41/image_10072025_21_41_43_9647.jpg
/home/nano/Desktop/images/10072025/21/40/image_10072025_21_41_04_10664.jpg
/home/nano/Desktop/images/10072025/21/40/image_10072025_21_40_53_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790918","1371790914","1371790916","1371790919","1371790910","1371790907"],"photo_ids_order":["1371790907","1371790910","1371790914","1371790916","1371790918","1371790919"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a26f78998aea4dff876fd5517a5251e.jpg","text":"TemporaryFile(/tmp/multipartBody3126315124825517192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286864939,"filename":"image_10072025_21_41_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/836bbb028b7967f2a4c244fe23c0ad4e.jpg","text":"TemporaryFile(/tmp/multipartBody3013463285967227055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286864939,"filename":"image_10072025_21_41_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62ac49a4c666bdef127aa69324775e0c.jpg","text":"TemporaryFile(/tmp/multipartBody3103267574005403953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286864939,"filename":"image_10072025_21_41_43_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9349e67b5f559b40330cd22b89ef8d26.jpg","text":"TemporaryFile(/tmp/multipartBody1457107507081611124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286864939,"filename":"image_10072025_21_40_53_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2add836cb260097d2a4504c4da84c68d.jpg","text":"TemporaryFile(/tmp/multipartBody3690451960438770514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286864939,"filename":"image_10072025_21_42_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9accacec4e8017fea24d245d7e713724.jpg","text":"TemporaryFile(/tmp/multipartBody6739332574003086423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286864939,"filename":"image_10072025_21_42_13_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790914","file1":"1371790910","file0":"1371790907","file4":"1371790918","file5":"1371790919","file3":"1371790916"},"map_files_photo_id_array":[{"photo_id":"1371790919","filename":"file5"},{"photo_id":"1371790914","filename":"file2"},{"photo_id":"1371790918","filename":"file4"},{"photo_id":"1371790910","filename":"file1"},{"photo_id":"1371790907","filename":"file0"},{"photo_id":"1371790916","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371790918":["hashtag1","hashtag2"]},{"1371790914":["hashtag1","hashtag2"]},{"1371790916":["hashtag1","hashtag2"]},{"1371790919":["hashtag1","hashtag2"]},{"1371790910":["hashtag1","hashtag2"]},{"1371790907":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371790918, 1371790914, 1371790916, 1371790919, 1371790910, 1371790907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77484893798828 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:20:46.971140
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_44_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_33_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_24_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_14_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/04/19/image_12072025_04_20_03_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/19/image_12072025_04_19_43_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_44_10650.jpg', '/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_33_9646.jpg', '/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_24_9641.jpg', '/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_14_10674.jpg', '/home/nano/Desktop/images/12072025/04/19/image_12072025_04_20_03_9648.jpg', '/home/nano/Desktop/images/12072025/04/19/image_12072025_04_19_43_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_44_10650.jpg
/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_33_9646.jpg
/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_24_9641.jpg
/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_14_10674.jpg
/home/nano/Desktop/images/12072025/04/19/image_12072025_04_20_03_9648.jpg
/home/nano/Desktop/images/12072025/04/19/image_12072025_04_19_43_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790959","1371790950","1371790938","1371790955","1371790964","1371790945"],"photo_ids_order":["1371790938","1371790945","1371790950","1371790955","1371790959","1371790964"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5802a7d3b46397eb82624d154377f403.jpg","text":"TemporaryFile(/tmp/multipartBody4258831492851752357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286908101,"filename":"image_12072025_04_20_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fdae68bcc1cf8919b44962cdbcccb9b.jpg","text":"TemporaryFile(/tmp/multipartBody8611023495551782090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286908101,"filename":"image_12072025_04_20_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e225c5410d6de702e7c0008fd85670f.jpg","text":"TemporaryFile(/tmp/multipartBody7056602816903279650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286908101,"filename":"image_12072025_04_20_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2a122b8ef54648485b2e39ed8e37dda.jpg","text":"TemporaryFile(/tmp/multipartBody3123938279592182186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286908101,"filename":"image_12072025_04_20_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53e536ce4b2a1384268d8ae7f28eb70d.jpg","text":"TemporaryFile(/tmp/multipartBody6696619991654673172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286908101,"filename":"image_12072025_04_19_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6caf0633de5c4d5729797dec56cd73d.jpg","text":"TemporaryFile(/tmp/multipartBody6286317875838870533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286908101,"filename":"image_12072025_04_20_33_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790950","file1":"1371790945","file0":"1371790938","file4":"1371790959","file5":"1371790964","file3":"1371790955"},"map_files_photo_id_array":[{"photo_id":"1371790964","filename":"file5"},{"photo_id":"1371790950","filename":"file2"},{"photo_id":"1371790959","filename":"file4"},{"photo_id":"1371790945","filename":"file1"},{"photo_id":"1371790938","filename":"file0"},{"photo_id":"1371790955","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790959":["hashtag1","hashtag2"]},{"1371790950":["hashtag1","hashtag2"]},{"1371790938":["hashtag1","hashtag2"]},{"1371790955":["hashtag1","hashtag2"]},{"1371790964":["hashtag1","hashtag2"]},{"1371790945":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790959, 1371790950, 1371790938, 1371790955, 1371790964, 1371790945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.613102197647095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:21:32.139441
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/21/image_12072025_04_21_33_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/04/21/image_12072025_04_21_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/21/image_12072025_04_21_14_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/04/20/image_12072025_04_21_03_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/21/image_12072025_04_21_33_9636.jpg', '/home/nano/Desktop/images/12072025/04/21/image_12072025_04_21_24_9637.jpg', '/home/nano/Desktop/images/12072025/04/21/image_12072025_04_21_14_10670.jpg', '/home/nano/Desktop/images/12072025/04/20/image_12072025_04_21_03_9650.jpg', '/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_54_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/21/image_12072025_04_21_33_9636.jpg
/home/nano/Desktop/images/12072025/04/21/image_12072025_04_21_24_9637.jpg
/home/nano/Desktop/images/12072025/04/21/image_12072025_04_21_14_10670.jpg
/home/nano/Desktop/images/12072025/04/20/image_12072025_04_21_03_9650.jpg
/home/nano/Desktop/images/12072025/04/20/image_12072025_04_20_54_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371790974","1371790979","1371790973","1371790976","1371790984"],"photo_ids_order":["1371790973","1371790974","1371790976","1371790979","1371790984"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b753c684a3d1a508fe44a98c698006b.jpg","text":"TemporaryFile(/tmp/multipartBody6769316843238716520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286953324,"filename":"image_12072025_04_21_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14391d064441d76b89e12706f3ca7558.jpg","text":"TemporaryFile(/tmp/multipartBody7469162232556008104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286953324,"filename":"image_12072025_04_21_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/adc9b3e3e735e7e8fadc61fdca3a187f.jpg","text":"TemporaryFile(/tmp/multipartBody3254850766583855997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286953324,"filename":"image_12072025_04_21_33_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12f2dea6c05c73e70d0ed3deb9cf4975.jpg","text":"TemporaryFile(/tmp/multipartBody2523022758165072836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286953324,"filename":"image_12072025_04_21_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b85418330205890f084faf45ad316ee1.jpg","text":"TemporaryFile(/tmp/multipartBody3909374256591392862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286953324,"filename":"image_12072025_04_20_54_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371790976","file1":"1371790974","file0":"1371790973","file4":"1371790984","file3":"1371790979"},"map_files_photo_id_array":[{"photo_id":"1371790976","filename":"file2"},{"photo_id":"1371790984","filename":"file4"},{"photo_id":"1371790974","filename":"file1"},{"photo_id":"1371790973","filename":"file0"},{"photo_id":"1371790979","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371790974":["hashtag1","hashtag2"]},{"1371790979":["hashtag1","hashtag2"]},{"1371790973":["hashtag1","hashtag2"]},{"1371790976":["hashtag1","hashtag2"]},{"1371790984":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371790974, 1371790979, 1371790973, 1371790976, 1371790984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.400095224380493 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:22:17.199055
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_14_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/04/21/image_12072025_04_22_03_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/21/image_12072025_04_21_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_44_10647.jpg', '/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_33_9638.jpg', '/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_23_9639.jpg', '/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_14_10669.jpg', '/home/nano/Desktop/images/12072025/04/21/image_12072025_04_22_03_9638.jpg', '/home/nano/Desktop/images/12072025/04/21/image_12072025_04_21_54_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_44_10647.jpg
/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_33_9638.jpg
/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_23_9639.jpg
/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_14_10669.jpg
/home/nano/Desktop/images/12072025/04/21/image_12072025_04_22_03_9638.jpg
/home/nano/Desktop/images/12072025/04/21/image_12072025_04_21_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791011","1371791019","1371791010","1371791016","1371791015","1371791020"],"photo_ids_order":["1371791010","1371791011","1371791015","1371791016","1371791019","1371791020"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ca5a8e526ba9ad8e2139a093b812bd9.jpg","text":"TemporaryFile(/tmp/multipartBody1375937015104608762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286998387,"filename":"image_12072025_04_22_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc7f847e1ce110235379226a5de8bfb3.jpg","text":"TemporaryFile(/tmp/multipartBody7358459710953290557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286998387,"filename":"image_12072025_04_22_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b1ea282b7a4e8ee2f9ed9b4e4724d1b.jpg","text":"TemporaryFile(/tmp/multipartBody6815852397171755256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286998387,"filename":"image_12072025_04_22_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fc06c858e16f534558d4fd653703609.jpg","text":"TemporaryFile(/tmp/multipartBody3383109609765483684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286998387,"filename":"image_12072025_04_22_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d87ad747e4f022f608a41776c54554a4.jpg","text":"TemporaryFile(/tmp/multipartBody5383703586477004121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286998387,"filename":"image_12072025_04_22_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfd328186bee2e8c2d9c379db8fc6160.jpg","text":"TemporaryFile(/tmp/multipartBody6818691686634328142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752286998387,"filename":"image_12072025_04_21_54_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791015","file1":"1371791011","file0":"1371791010","file4":"1371791019","file5":"1371791020","file3":"1371791016"},"map_files_photo_id_array":[{"photo_id":"1371791020","filename":"file5"},{"photo_id":"1371791015","filename":"file2"},{"photo_id":"1371791019","filename":"file4"},{"photo_id":"1371791011","filename":"file1"},{"photo_id":"1371791010","filename":"file0"},{"photo_id":"1371791016","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791011":["hashtag1","hashtag2"]},{"1371791019":["hashtag1","hashtag2"]},{"1371791010":["hashtag1","hashtag2"]},{"1371791016":["hashtag1","hashtag2"]},{"1371791015":["hashtag1","hashtag2"]},{"1371791020":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791011, 1371791019, 1371791010, 1371791016, 1371791015, 1371791020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33824348449707 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:23:02.706260
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/40/image_10072025_21_40_44_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/40/image_10072025_21_40_34_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/40/image_10072025_21_40_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/39/image_10072025_21_40_04_10679.jpg', 2), ('/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_53_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_44_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/40/image_10072025_21_40_44_9646.jpg', '/home/nano/Desktop/images/10072025/21/40/image_10072025_21_40_34_10657.jpg', '/home/nano/Desktop/images/10072025/21/40/image_10072025_21_40_23_9645.jpg', '/home/nano/Desktop/images/10072025/21/39/image_10072025_21_40_04_10679.jpg', '/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_53_9652.jpg', '/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_44_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/40/image_10072025_21_40_44_9646.jpg
/home/nano/Desktop/images/10072025/21/40/image_10072025_21_40_34_10657.jpg
/home/nano/Desktop/images/10072025/21/40/image_10072025_21_40_23_9645.jpg
/home/nano/Desktop/images/10072025/21/39/image_10072025_21_40_04_10679.jpg
/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_53_9652.jpg
/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_44_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791049","1371791042","1371791036","1371791039","1371791044","1371791047"],"photo_ids_order":["1371791036","1371791039","1371791042","1371791044","1371791047","1371791049"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a760dd6e4c16f825617fd66d55cec916.jpg","text":"TemporaryFile(/tmp/multipartBody680642923213753707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287045331,"filename":"image_10072025_21_39_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40b15eb7ec263e19144675c8fb059045.jpg","text":"TemporaryFile(/tmp/multipartBody8473252152848255482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287045331,"filename":"image_10072025_21_40_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29daf52051015993b92c9799975f2830.jpg","text":"TemporaryFile(/tmp/multipartBody5346474428503197653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287045331,"filename":"image_10072025_21_40_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52ba5b13f9c2c38e275d1d2a6591259c.jpg","text":"TemporaryFile(/tmp/multipartBody1100356280695208196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287045331,"filename":"image_10072025_21_40_34_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23ca721efe77a97bb8f0bea4021514ba.jpg","text":"TemporaryFile(/tmp/multipartBody6347917514791879390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287045331,"filename":"image_10072025_21_40_04_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5b4000e5b0c0554b2508e9f5c21e5e7.jpg","text":"TemporaryFile(/tmp/multipartBody8688692004399519750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287045331,"filename":"image_10072025_21_39_53_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791042","file1":"1371791039","file0":"1371791036","file4":"1371791047","file5":"1371791049","file3":"1371791044"},"map_files_photo_id_array":[{"photo_id":"1371791049","filename":"file5"},{"photo_id":"1371791042","filename":"file2"},{"photo_id":"1371791047","filename":"file4"},{"photo_id":"1371791039","filename":"file1"},{"photo_id":"1371791036","filename":"file0"},{"photo_id":"1371791044","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371791049":["hashtag1","hashtag2"]},{"1371791042":["hashtag1","hashtag2"]},{"1371791036":["hashtag1","hashtag2"]},{"1371791039":["hashtag1","hashtag2"]},{"1371791044":["hashtag1","hashtag2"]},{"1371791047":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371791049, 1371791042, 1371791036, 1371791039, 1371791044, 1371791047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73719072341919 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:23:47.308397
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/23/image_12072025_04_23_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/04/23/image_12072025_04_23_14_9680.jpg', 2), ('/home/nano/Desktop/images/12072025/04/22/image_12072025_04_23_04_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/23/image_12072025_04_23_23_9636.jpg', '/home/nano/Desktop/images/12072025/04/23/image_12072025_04_23_14_9680.jpg', '/home/nano/Desktop/images/12072025/04/22/image_12072025_04_23_04_10655.jpg', '/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/23/image_12072025_04_23_23_9636.jpg
/home/nano/Desktop/images/12072025/04/23/image_12072025_04_23_14_9680.jpg
/home/nano/Desktop/images/12072025/04/22/image_12072025_04_23_04_10655.jpg
/home/nano/Desktop/images/12072025/04/22/image_12072025_04_22_53_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791076","1371791067","1371791060","1371791063"],"photo_ids_order":["1371791060","1371791063","1371791067","1371791076"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/736441536ae326d5767fa363bf0b3def.jpg","text":"TemporaryFile(/tmp/multipartBody6362010136248494056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287088193,"filename":"image_12072025_04_22_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c32812a5bce2e06df1c66c8b4b1084c.jpg","text":"TemporaryFile(/tmp/multipartBody7950881069679039899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287088193,"filename":"image_12072025_04_23_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55a40d7cdf513078d7471d661cc7ae45.jpg","text":"TemporaryFile(/tmp/multipartBody622404188832603111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287088193,"filename":"image_12072025_04_23_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4cde7f90eb06e27ba4c7ff33ee1537f5.jpg","text":"TemporaryFile(/tmp/multipartBody7039543669056151105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287088193,"filename":"image_12072025_04_23_14_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791067","file1":"1371791063","file0":"1371791060","file3":"1371791076"},"map_files_photo_id_array":[{"photo_id":"1371791067","filename":"file2"},{"photo_id":"1371791063","filename":"file1"},{"photo_id":"1371791060","filename":"file0"},{"photo_id":"1371791076","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791076":["hashtag1","hashtag2"]},{"1371791067":["hashtag1","hashtag2"]},{"1371791060":["hashtag1","hashtag2"]},{"1371791063":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791076, 1371791067, 1371791060, 1371791063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.039957523345947 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:24:17.435163
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/24/image_12072025_04_24_44_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/24/image_12072025_04_24_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/24/image_12072025_04_24_14_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/04/23/image_12072025_04_23_34_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/24/image_12072025_04_24_44_9638.jpg', '/home/nano/Desktop/images/12072025/04/24/image_12072025_04_24_23_9638.jpg', '/home/nano/Desktop/images/12072025/04/24/image_12072025_04_24_14_9656.jpg', '/home/nano/Desktop/images/12072025/04/23/image_12072025_04_23_34_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/24/image_12072025_04_24_44_9638.jpg
/home/nano/Desktop/images/12072025/04/24/image_12072025_04_24_23_9638.jpg
/home/nano/Desktop/images/12072025/04/24/image_12072025_04_24_14_9656.jpg
/home/nano/Desktop/images/12072025/04/23/image_12072025_04_23_34_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791087","1371791089","1371791083","1371791085"],"photo_ids_order":["1371791083","1371791085","1371791087","1371791089"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/477c879c7d02a3a7f6c6e652b7089335.jpg","text":"TemporaryFile(/tmp/multipartBody1324761964580042340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287118210,"filename":"image_12072025_04_24_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d030562720e626bc8a931c399dbf966e.jpg","text":"TemporaryFile(/tmp/multipartBody8107995766952913612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287118210,"filename":"image_12072025_04_23_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/161c5fc33e07e08e84d688314540aadc.jpg","text":"TemporaryFile(/tmp/multipartBody1374479936368355981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287118210,"filename":"image_12072025_04_24_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22a8155c914152e916cb97b1a3f444b2.jpg","text":"TemporaryFile(/tmp/multipartBody7714032370250224978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287118210,"filename":"image_12072025_04_24_23_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791087","file1":"1371791085","file0":"1371791083","file3":"1371791089"},"map_files_photo_id_array":[{"photo_id":"1371791087","filename":"file2"},{"photo_id":"1371791085","filename":"file1"},{"photo_id":"1371791083","filename":"file0"},{"photo_id":"1371791089","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791087":["hashtag1","hashtag2"]},{"1371791089":["hashtag1","hashtag2"]},{"1371791083":["hashtag1","hashtag2"]},{"1371791085":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791087, 1371791089, 1371791083, 1371791085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.783276796340942 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:24:47.416180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_34_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_23_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_14_9675.jpg', 2), ('/home/nano/Desktop/images/10072025/21/38/image_10072025_21_39_04_10679.jpg', 2), ('/home/nano/Desktop/images/10072025/21/38/image_10072025_21_38_53_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/21/38/image_10072025_21_38_44_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_34_10656.jpg', '/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_23_9647.jpg', '/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_14_9675.jpg', '/home/nano/Desktop/images/10072025/21/38/image_10072025_21_39_04_10679.jpg', '/home/nano/Desktop/images/10072025/21/38/image_10072025_21_38_53_9653.jpg', '/home/nano/Desktop/images/10072025/21/38/image_10072025_21_38_44_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_34_10656.jpg
/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_23_9647.jpg
/home/nano/Desktop/images/10072025/21/39/image_10072025_21_39_14_9675.jpg
/home/nano/Desktop/images/10072025/21/38/image_10072025_21_39_04_10679.jpg
/home/nano/Desktop/images/10072025/21/38/image_10072025_21_38_53_9653.jpg
/home/nano/Desktop/images/10072025/21/38/image_10072025_21_38_44_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791112","1371791096","1371791109","1371791099","1371791105","1371791116"],"photo_ids_order":["1371791096","1371791099","1371791105","1371791109","1371791112","1371791116"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c468d849f81c7fc28e8fe596aaafe35.jpg","text":"TemporaryFile(/tmp/multipartBody9133651194621155462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287150055,"filename":"image_10072025_21_38_53_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4b3efec78e0d9c79b1d71a00af0a7dd.jpg","text":"TemporaryFile(/tmp/multipartBody509747074584129002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287150055,"filename":"image_10072025_21_39_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1618074e815b1796e3a66ed1cf8d05ca.jpg","text":"TemporaryFile(/tmp/multipartBody2456533259207670648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287150055,"filename":"image_10072025_21_39_04_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a16f0dbcccd6c90d8002462a26652e7.jpg","text":"TemporaryFile(/tmp/multipartBody621128141970423096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287150055,"filename":"image_10072025_21_39_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6e53359128465135952e400761b08cb.jpg","text":"TemporaryFile(/tmp/multipartBody1688604354977126940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287150055,"filename":"image_10072025_21_39_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfd106cb80dcfdf82aedfd176be6b12f.jpg","text":"TemporaryFile(/tmp/multipartBody359586729437986413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287150055,"filename":"image_10072025_21_38_44_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791105","file1":"1371791099","file0":"1371791096","file4":"1371791112","file5":"1371791116","file3":"1371791109"},"map_files_photo_id_array":[{"photo_id":"1371791116","filename":"file5"},{"photo_id":"1371791105","filename":"file2"},{"photo_id":"1371791112","filename":"file4"},{"photo_id":"1371791099","filename":"file1"},{"photo_id":"1371791096","filename":"file0"},{"photo_id":"1371791109","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371791112":["hashtag1","hashtag2"]},{"1371791096":["hashtag1","hashtag2"]},{"1371791109":["hashtag1","hashtag2"]},{"1371791099":["hashtag1","hashtag2"]},{"1371791105":["hashtag1","hashtag2"]},{"1371791116":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371791112, 1371791096, 1371791109, 1371791099, 1371791105, 1371791116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.838499546051025 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:25:32.533970
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_43_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_34_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_23_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_14_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/04/24/image_12072025_04_25_04_10680.jpg', 2), ('/home/nano/Desktop/images/12072025/04/24/image_12072025_04_24_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_43_9644.jpg', '/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_34_10651.jpg', '/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_23_9650.jpg', '/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_14_9668.jpg', '/home/nano/Desktop/images/12072025/04/24/image_12072025_04_25_04_10680.jpg', '/home/nano/Desktop/images/12072025/04/24/image_12072025_04_24_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_43_9644.jpg
/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_34_10651.jpg
/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_23_9650.jpg
/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_14_9668.jpg
/home/nano/Desktop/images/12072025/04/24/image_12072025_04_25_04_10680.jpg
/home/nano/Desktop/images/12072025/04/24/image_12072025_04_24_53_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791136","1371791147","1371791141","1371791131","1371791125","1371791128"],"photo_ids_order":["1371791125","1371791128","1371791131","1371791136","1371791141","1371791147"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b661ab129a7d98e3c5b845f055196ff.jpg","text":"TemporaryFile(/tmp/multipartBody6271733133736511880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287193500,"filename":"image_12072025_04_25_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb7597142ba59b6de10887d927849f82.jpg","text":"TemporaryFile(/tmp/multipartBody2525891798731591643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287193500,"filename":"image_12072025_04_24_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8414a698491427f1429198880a8465aa.jpg","text":"TemporaryFile(/tmp/multipartBody6154803228887098053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287193500,"filename":"image_12072025_04_25_04_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c50fa8cc93df4760a82f29f1f1320411.jpg","text":"TemporaryFile(/tmp/multipartBody6048211279575037863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287193500,"filename":"image_12072025_04_25_23_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa98306c9c9d89341b00de0127031efe.jpg","text":"TemporaryFile(/tmp/multipartBody5863088420440229841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287193500,"filename":"image_12072025_04_25_43_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a93a6800552f4c6c5616974e5e1c51e3.jpg","text":"TemporaryFile(/tmp/multipartBody2981920696159141172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287193500,"filename":"image_12072025_04_25_34_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791131","file1":"1371791128","file0":"1371791125","file4":"1371791141","file5":"1371791147","file3":"1371791136"},"map_files_photo_id_array":[{"photo_id":"1371791147","filename":"file5"},{"photo_id":"1371791131","filename":"file2"},{"photo_id":"1371791141","filename":"file4"},{"photo_id":"1371791128","filename":"file1"},{"photo_id":"1371791125","filename":"file0"},{"photo_id":"1371791136","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791136":["hashtag1","hashtag2"]},{"1371791147":["hashtag1","hashtag2"]},{"1371791141":["hashtag1","hashtag2"]},{"1371791131":["hashtag1","hashtag2"]},{"1371791125":["hashtag1","hashtag2"]},{"1371791128":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791136, 1371791147, 1371791141, 1371791131, 1371791125, 1371791128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53560972213745 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:26:17.630768
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/26/image_12072025_04_26_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/26/image_12072025_04_26_23_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/04/26/image_12072025_04_26_13_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/04/25/image_12072025_04_26_04_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_53_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/26/image_12072025_04_26_34_10650.jpg', '/home/nano/Desktop/images/12072025/04/26/image_12072025_04_26_23_9656.jpg', '/home/nano/Desktop/images/12072025/04/26/image_12072025_04_26_13_9663.jpg', '/home/nano/Desktop/images/12072025/04/25/image_12072025_04_26_04_10669.jpg', '/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_53_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/26/image_12072025_04_26_34_10650.jpg
/home/nano/Desktop/images/12072025/04/26/image_12072025_04_26_23_9656.jpg
/home/nano/Desktop/images/12072025/04/26/image_12072025_04_26_13_9663.jpg
/home/nano/Desktop/images/12072025/04/25/image_12072025_04_26_04_10669.jpg
/home/nano/Desktop/images/12072025/04/25/image_12072025_04_25_53_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791160","1371791165","1371791162","1371791170","1371791167"],"photo_ids_order":["1371791160","1371791162","1371791165","1371791167","1371791170"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e8c8f653a0ebe1e777f64ada52c8e44.jpg","text":"TemporaryFile(/tmp/multipartBody3604514508167832787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287238851,"filename":"image_12072025_04_26_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50baedb546e412dd3e4669f85111d770.jpg","text":"TemporaryFile(/tmp/multipartBody5842139971338960391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287238851,"filename":"image_12072025_04_26_13_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c93393c1da9f4ddb9baacedeb643bf62.jpg","text":"TemporaryFile(/tmp/multipartBody44194427446036749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287238851,"filename":"image_12072025_04_26_23_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb025d20753a7cbfd19f24e2804ecfd4.jpg","text":"TemporaryFile(/tmp/multipartBody7772172562046598378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287238851,"filename":"image_12072025_04_25_53_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1bb5db8dc4aee20f31ff63ebae009f5e.jpg","text":"TemporaryFile(/tmp/multipartBody1316648530376764412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287238851,"filename":"image_12072025_04_26_04_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791165","file1":"1371791162","file0":"1371791160","file4":"1371791170","file3":"1371791167"},"map_files_photo_id_array":[{"photo_id":"1371791165","filename":"file2"},{"photo_id":"1371791170","filename":"file4"},{"photo_id":"1371791162","filename":"file1"},{"photo_id":"1371791160","filename":"file0"},{"photo_id":"1371791167","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791160":["hashtag1","hashtag2"]},{"1371791165":["hashtag1","hashtag2"]},{"1371791162":["hashtag1","hashtag2"]},{"1371791170":["hashtag1","hashtag2"]},{"1371791167":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791160, 1371791165, 1371791162, 1371791170, 1371791167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.067031145095825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:26:47.632904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/38/image_10072025_21_38_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/38/image_10072025_21_38_14_9682.jpg', 2), ('/home/nano/Desktop/images/10072025/21/37/image_10072025_21_38_04_10668.jpg', 2), ('/home/nano/Desktop/images/10072025/21/37/image_10072025_21_37_44_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/21/37/image_10072025_21_37_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/37/image_10072025_21_37_14_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/38/image_10072025_21_38_23_9645.jpg', '/home/nano/Desktop/images/10072025/21/38/image_10072025_21_38_14_9682.jpg', '/home/nano/Desktop/images/10072025/21/37/image_10072025_21_38_04_10668.jpg', '/home/nano/Desktop/images/10072025/21/37/image_10072025_21_37_44_9647.jpg', '/home/nano/Desktop/images/10072025/21/37/image_10072025_21_37_23_9646.jpg', '/home/nano/Desktop/images/10072025/21/37/image_10072025_21_37_14_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/38/image_10072025_21_38_23_9645.jpg
/home/nano/Desktop/images/10072025/21/38/image_10072025_21_38_14_9682.jpg
/home/nano/Desktop/images/10072025/21/37/image_10072025_21_38_04_10668.jpg
/home/nano/Desktop/images/10072025/21/37/image_10072025_21_37_44_9647.jpg
/home/nano/Desktop/images/10072025/21/37/image_10072025_21_37_23_9646.jpg
/home/nano/Desktop/images/10072025/21/37/image_10072025_21_37_14_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791203","1371791181","1371791197","1371791191","1371791185","1371791200"],"photo_ids_order":["1371791181","1371791185","1371791191","1371791197","1371791200","1371791203"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86ba3623ddf12d06fab9115f2d8455e7.jpg","text":"TemporaryFile(/tmp/multipartBody1996705089801443709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287270241,"filename":"image_10072025_21_37_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35565b0c94cdb6580ff6386635195b39.jpg","text":"TemporaryFile(/tmp/multipartBody7081550456192587541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287270241,"filename":"image_10072025_21_38_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57f30743435e4be76acce4e0ed944a80.jpg","text":"TemporaryFile(/tmp/multipartBody4280060487086116094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287270241,"filename":"image_10072025_21_37_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf9fb91a59b901086cf3c83483be9df8.jpg","text":"TemporaryFile(/tmp/multipartBody1417572414794391879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287270241,"filename":"image_10072025_21_38_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fd517e5da17c1edbf6c8967beda0613.jpg","text":"TemporaryFile(/tmp/multipartBody6844644769815443920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287270241,"filename":"image_10072025_21_38_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9d5c01c290f5616bb16a75048dd1956.jpg","text":"TemporaryFile(/tmp/multipartBody5720449736776089470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287270241,"filename":"image_10072025_21_37_23_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791191","file1":"1371791185","file0":"1371791181","file4":"1371791200","file5":"1371791203","file3":"1371791197"},"map_files_photo_id_array":[{"photo_id":"1371791203","filename":"file5"},{"photo_id":"1371791191","filename":"file2"},{"photo_id":"1371791200","filename":"file4"},{"photo_id":"1371791185","filename":"file1"},{"photo_id":"1371791181","filename":"file0"},{"photo_id":"1371791197","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371791203":["hashtag1","hashtag2"]},{"1371791181":["hashtag1","hashtag2"]},{"1371791197":["hashtag1","hashtag2"]},{"1371791191":["hashtag1","hashtag2"]},{"1371791185":["hashtag1","hashtag2"]},{"1371791200":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371791203, 1371791181, 1371791197, 1371791191, 1371791185, 1371791200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.157697916030884 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:27:32.761891
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/27/image_12072025_04_27_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/27/image_12072025_04_27_34_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/04/27/image_12072025_04_27_24_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/26/image_12072025_04_27_04_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/26/image_12072025_04_26_43_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/27/image_12072025_04_27_43_9639.jpg', '/home/nano/Desktop/images/12072025/04/27/image_12072025_04_27_34_9641.jpg', '/home/nano/Desktop/images/12072025/04/27/image_12072025_04_27_24_10650.jpg', '/home/nano/Desktop/images/12072025/04/26/image_12072025_04_27_04_9638.jpg', '/home/nano/Desktop/images/12072025/04/26/image_12072025_04_26_43_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/27/image_12072025_04_27_43_9639.jpg
/home/nano/Desktop/images/12072025/04/27/image_12072025_04_27_34_9641.jpg
/home/nano/Desktop/images/12072025/04/27/image_12072025_04_27_24_10650.jpg
/home/nano/Desktop/images/12072025/04/26/image_12072025_04_27_04_9638.jpg
/home/nano/Desktop/images/12072025/04/26/image_12072025_04_26_43_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791222","1371791219","1371791210","1371791215","1371791209"],"photo_ids_order":["1371791209","1371791210","1371791215","1371791219","1371791222"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a6955b2a17958effc533635aa7c95bb.jpg","text":"TemporaryFile(/tmp/multipartBody2863320892217875214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287314158,"filename":"image_12072025_04_26_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6312ef63ce39c3d422ffe267906bb624.jpg","text":"TemporaryFile(/tmp/multipartBody803891570574154574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287314158,"filename":"image_12072025_04_27_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/174ceac9fbcdf494e378f5be11450810.jpg","text":"TemporaryFile(/tmp/multipartBody7831516434384564607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287314158,"filename":"image_12072025_04_27_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60241ebe80c281c04f79716cf1dd95d8.jpg","text":"TemporaryFile(/tmp/multipartBody7682948959678348563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287314158,"filename":"image_12072025_04_27_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1a49f9e43b6f6a4b4ecec5e023a1268.jpg","text":"TemporaryFile(/tmp/multipartBody8498994892830644286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287314158,"filename":"image_12072025_04_27_43_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791215","file1":"1371791210","file0":"1371791209","file4":"1371791222","file3":"1371791219"},"map_files_photo_id_array":[{"photo_id":"1371791215","filename":"file2"},{"photo_id":"1371791222","filename":"file4"},{"photo_id":"1371791210","filename":"file1"},{"photo_id":"1371791209","filename":"file0"},{"photo_id":"1371791219","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791222":["hashtag1","hashtag2"]},{"1371791219":["hashtag1","hashtag2"]},{"1371791210":["hashtag1","hashtag2"]},{"1371791215":["hashtag1","hashtag2"]},{"1371791209":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791222, 1371791219, 1371791210, 1371791215, 1371791209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.746283769607544 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:28:02.217270
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/36/image_10072025_21_36_44_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/21/36/image_10072025_21_36_34_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/21/36/image_10072025_21_36_23_9675.jpg', 2), ('/home/nano/Desktop/images/10072025/21/36/image_10072025_21_36_14_9674.jpg', 2), ('/home/nano/Desktop/images/10072025/21/35/image_10072025_21_36_04_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/36/image_10072025_21_36_44_9647.jpg', '/home/nano/Desktop/images/10072025/21/36/image_10072025_21_36_34_10655.jpg', '/home/nano/Desktop/images/10072025/21/36/image_10072025_21_36_23_9675.jpg', '/home/nano/Desktop/images/10072025/21/36/image_10072025_21_36_14_9674.jpg', '/home/nano/Desktop/images/10072025/21/35/image_10072025_21_36_04_10672.jpg', '/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/36/image_10072025_21_36_44_9647.jpg
/home/nano/Desktop/images/10072025/21/36/image_10072025_21_36_34_10655.jpg
/home/nano/Desktop/images/10072025/21/36/image_10072025_21_36_23_9675.jpg
/home/nano/Desktop/images/10072025/21/36/image_10072025_21_36_14_9674.jpg
/home/nano/Desktop/images/10072025/21/35/image_10072025_21_36_04_10672.jpg
/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791250","1371791252","1371791249","1371791240","1371791251","1371791245"],"photo_ids_order":["1371791240","1371791245","1371791249","1371791250","1371791251","1371791252"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03b4f7b707811f99126b70729a43e91b.jpg","text":"TemporaryFile(/tmp/multipartBody7660690520578382590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287344711,"filename":"image_10072025_21_36_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/873366ae9f4e7fbf9b3942a10a715bf4.jpg","text":"TemporaryFile(/tmp/multipartBody2060069348290360704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287344711,"filename":"image_10072025_21_35_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff13b8bd08c38cd060b70a792683a3fb.jpg","text":"TemporaryFile(/tmp/multipartBody4527059997582839561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287344711,"filename":"image_10072025_21_36_23_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b980252b72bd80eea4976ae5c870b9cb.jpg","text":"TemporaryFile(/tmp/multipartBody7447655953182369698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287344711,"filename":"image_10072025_21_36_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47b9fe77c8a7847dcdfa32467cc5767e.jpg","text":"TemporaryFile(/tmp/multipartBody1209742809554922552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287344711,"filename":"image_10072025_21_36_04_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce04632826ebfbd0a09d10949c051ce0.jpg","text":"TemporaryFile(/tmp/multipartBody5285736044898182253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287344711,"filename":"image_10072025_21_36_34_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791249","file1":"1371791245","file0":"1371791240","file4":"1371791251","file5":"1371791252","file3":"1371791250"},"map_files_photo_id_array":[{"photo_id":"1371791252","filename":"file5"},{"photo_id":"1371791249","filename":"file2"},{"photo_id":"1371791251","filename":"file4"},{"photo_id":"1371791245","filename":"file1"},{"photo_id":"1371791240","filename":"file0"},{"photo_id":"1371791250","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371791250":["hashtag1","hashtag2"]},{"1371791252":["hashtag1","hashtag2"]},{"1371791249":["hashtag1","hashtag2"]},{"1371791240":["hashtag1","hashtag2"]},{"1371791251":["hashtag1","hashtag2"]},{"1371791245":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371791250, 1371791252, 1371791249, 1371791240, 1371791251, 1371791245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83229875564575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:28:46.848944
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_24_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/04/27/image_12072025_04_28_04_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/04/27/image_12072025_04_27_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_43_9639.jpg', '/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_34_9639.jpg', '/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_24_10657.jpg', '/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_13_9657.jpg', '/home/nano/Desktop/images/12072025/04/27/image_12072025_04_28_04_9651.jpg', '/home/nano/Desktop/images/12072025/04/27/image_12072025_04_27_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_43_9639.jpg
/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_34_9639.jpg
/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_24_10657.jpg
/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_13_9657.jpg
/home/nano/Desktop/images/12072025/04/27/image_12072025_04_28_04_9651.jpg
/home/nano/Desktop/images/12072025/04/27/image_12072025_04_27_54_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791265","1371791268","1371791279","1371791261","1371791272","1371791283"],"photo_ids_order":["1371791261","1371791265","1371791268","1371791272","1371791279","1371791283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b5b5e37ad8155b215941e16ef558147.jpg","text":"TemporaryFile(/tmp/multipartBody2113598938075139752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287387867,"filename":"image_12072025_04_28_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26d5845ca2b2a571d138ee4769f12667.jpg","text":"TemporaryFile(/tmp/multipartBody226280679303873291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287387867,"filename":"image_12072025_04_28_24_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a10c0b94e03786f85216a73083c92b64.jpg","text":"TemporaryFile(/tmp/multipartBody8394321002825569413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287387867,"filename":"image_12072025_04_28_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36449a2578b85b20c68597503b617e07.jpg","text":"TemporaryFile(/tmp/multipartBody3841713786370818714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287387867,"filename":"image_12072025_04_28_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d7d622069e2da9b57127c92b96a3455.jpg","text":"TemporaryFile(/tmp/multipartBody1079527526355160463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287387867,"filename":"image_12072025_04_28_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f0c91c062471217762402bcef900fe9.jpg","text":"TemporaryFile(/tmp/multipartBody2130188632845913516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287387867,"filename":"image_12072025_04_27_54_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791268","file1":"1371791265","file0":"1371791261","file4":"1371791279","file5":"1371791283","file3":"1371791272"},"map_files_photo_id_array":[{"photo_id":"1371791283","filename":"file5"},{"photo_id":"1371791268","filename":"file2"},{"photo_id":"1371791279","filename":"file4"},{"photo_id":"1371791265","filename":"file1"},{"photo_id":"1371791261","filename":"file0"},{"photo_id":"1371791272","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791265":["hashtag1","hashtag2"]},{"1371791268":["hashtag1","hashtag2"]},{"1371791279":["hashtag1","hashtag2"]},{"1371791261":["hashtag1","hashtag2"]},{"1371791272":["hashtag1","hashtag2"]},{"1371791283":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791265, 1371791268, 1371791279, 1371791261, 1371791272, 1371791283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41921043395996 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:29:31.947906
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/29/image_12072025_04_29_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/28/image_12072025_04_29_03_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_54_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/29/image_12072025_04_29_33_9639.jpg', '/home/nano/Desktop/images/12072025/04/28/image_12072025_04_29_03_9660.jpg', '/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_54_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/29/image_12072025_04_29_33_9639.jpg
/home/nano/Desktop/images/12072025/04/28/image_12072025_04_29_03_9660.jpg
/home/nano/Desktop/images/12072025/04/28/image_12072025_04_28_54_10652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791292","1371791293","1371791296"],"photo_ids_order":["1371791292","1371791293","1371791296"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/197c26e24cd0ac3ffd99609d7e40cde0.jpg","text":"TemporaryFile(/tmp/multipartBody2438772200770709350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287432987,"filename":"image_12072025_04_29_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ed573145ed24a9278f8961c15cf9212.jpg","text":"TemporaryFile(/tmp/multipartBody6244321712789870844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287432987,"filename":"image_12072025_04_29_03_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8c99d1ee3e50a80423592eab790a2cc.jpg","text":"TemporaryFile(/tmp/multipartBody792899842082944523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287432987,"filename":"image_12072025_04_28_54_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791296","file1":"1371791293","file0":"1371791292"},"map_files_photo_id_array":[{"photo_id":"1371791296","filename":"file2"},{"photo_id":"1371791293","filename":"file1"},{"photo_id":"1371791292","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791292":["hashtag1","hashtag2"]},{"1371791293":["hashtag1","hashtag2"]},{"1371791296":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791292, 1371791293, 1371791296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.906686544418335 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:30:02.491415
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_44_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_33_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_14_10694.jpg', 2), ('/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_53_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_44_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_33_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_44_10658.jpg', '/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_33_9645.jpg', '/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_14_10694.jpg', '/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_53_9649.jpg', '/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_44_10660.jpg', '/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_33_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_44_10658.jpg
/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_33_9645.jpg
/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_14_10694.jpg
/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_53_9649.jpg
/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_44_10660.jpg
/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_33_9648.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.831202507019043 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:30:17.068670
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_24_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_14_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/04/29/image_12072025_04_30_03_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/04/29/image_12072025_04_29_43_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_44_10648.jpg', '/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_33_9645.jpg', '/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_24_9640.jpg', '/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_14_10665.jpg', '/home/nano/Desktop/images/12072025/04/29/image_12072025_04_30_03_9652.jpg', '/home/nano/Desktop/images/12072025/04/29/image_12072025_04_29_43_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_44_10648.jpg
/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_33_9645.jpg
/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_24_9640.jpg
/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_14_10665.jpg
/home/nano/Desktop/images/12072025/04/29/image_12072025_04_30_03_9652.jpg
/home/nano/Desktop/images/12072025/04/29/image_12072025_04_29_43_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791340","1371791353","1371791335","1371791350","1371791344","1371791347"],"photo_ids_order":["1371791335","1371791340","1371791344","1371791347","1371791350","1371791353"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a14de9f2b6993abb5c9612440c428ef.jpg","text":"TemporaryFile(/tmp/multipartBody2633683657351058942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287478380,"filename":"image_12072025_04_30_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2e03304bc37fcee39fb11e2d269d38d.jpg","text":"TemporaryFile(/tmp/multipartBody5717146156742164412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287478380,"filename":"image_12072025_04_29_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6bd48fa33bd8c02f650ee599cc60076e.jpg","text":"TemporaryFile(/tmp/multipartBody6503754828378728569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287478380,"filename":"image_12072025_04_30_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14966d159c1ba6c3a5655d7ced55a605.jpg","text":"TemporaryFile(/tmp/multipartBody1773903806440632457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287478380,"filename":"image_12072025_04_30_03_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e5d1939251f4c939d85d5d729b98aa2.jpg","text":"TemporaryFile(/tmp/multipartBody679994037540666855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287478380,"filename":"image_12072025_04_30_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95e50c6ebef15344eb1816643f1c84a7.jpg","text":"TemporaryFile(/tmp/multipartBody4265123763653055504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287478380,"filename":"image_12072025_04_30_14_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791344","file1":"1371791340","file0":"1371791335","file4":"1371791350","file5":"1371791353","file3":"1371791347"},"map_files_photo_id_array":[{"photo_id":"1371791353","filename":"file5"},{"photo_id":"1371791344","filename":"file2"},{"photo_id":"1371791350","filename":"file4"},{"photo_id":"1371791340","filename":"file1"},{"photo_id":"1371791335","filename":"file0"},{"photo_id":"1371791347","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791340":["hashtag1","hashtag2"]},{"1371791353":["hashtag1","hashtag2"]},{"1371791335":["hashtag1","hashtag2"]},{"1371791350":["hashtag1","hashtag2"]},{"1371791344":["hashtag1","hashtag2"]},{"1371791347":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791340, 1371791353, 1371791335, 1371791350, 1371791344, 1371791347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75399661064148 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:31:02.690107
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_44_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_33_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_14_10694.jpg', 2), ('/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_53_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_44_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_33_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_44_10658.jpg', '/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_33_9645.jpg', '/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_14_10694.jpg', '/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_53_9649.jpg', '/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_44_10660.jpg', '/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_33_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_44_10658.jpg
/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_33_9645.jpg
/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_14_10694.jpg
/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_53_9649.jpg
/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_44_10660.jpg
/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_33_9648.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5538644790649414 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:31:17.234786
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/31/image_12072025_04_31_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/31/image_12072025_04_31_24_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/04/31/image_12072025_04_31_14_10684.jpg', 2), ('/home/nano/Desktop/images/12072025/04/30/image_12072025_04_31_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/31/image_12072025_04_31_44_10648.jpg', '/home/nano/Desktop/images/12072025/04/31/image_12072025_04_31_24_9655.jpg', '/home/nano/Desktop/images/12072025/04/31/image_12072025_04_31_14_10684.jpg', '/home/nano/Desktop/images/12072025/04/30/image_12072025_04_31_03_9645.jpg', '/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/31/image_12072025_04_31_44_10648.jpg
/home/nano/Desktop/images/12072025/04/31/image_12072025_04_31_24_9655.jpg
/home/nano/Desktop/images/12072025/04/31/image_12072025_04_31_14_10684.jpg
/home/nano/Desktop/images/12072025/04/30/image_12072025_04_31_03_9645.jpg
/home/nano/Desktop/images/12072025/04/30/image_12072025_04_30_54_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791385","1371791392","1371791386","1371791389","1371791383"],"photo_ids_order":["1371791383","1371791385","1371791386","1371791389","1371791392"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8020716f44300d451f2fb3baf982729.jpg","text":"TemporaryFile(/tmp/multipartBody4010922704731898195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287538290,"filename":"image_12072025_04_31_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa05bd64465c2cad39d9b8215c549c1a.jpg","text":"TemporaryFile(/tmp/multipartBody3552915071942642436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287538290,"filename":"image_12072025_04_30_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af219b406440a35db12556be14189b9c.jpg","text":"TemporaryFile(/tmp/multipartBody7154295323273554736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287538290,"filename":"image_12072025_04_31_14_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f23d103b01b628ce9571790c29e69b5.jpg","text":"TemporaryFile(/tmp/multipartBody6643563566818507981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287538290,"filename":"image_12072025_04_31_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b70194ec6eab3cfa9608956b621c7fe.jpg","text":"TemporaryFile(/tmp/multipartBody8977658966674597294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287538290,"filename":"image_12072025_04_31_44_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791386","file1":"1371791385","file0":"1371791383","file4":"1371791392","file3":"1371791389"},"map_files_photo_id_array":[{"photo_id":"1371791386","filename":"file2"},{"photo_id":"1371791392","filename":"file4"},{"photo_id":"1371791385","filename":"file1"},{"photo_id":"1371791383","filename":"file0"},{"photo_id":"1371791389","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791385":["hashtag1","hashtag2"]},{"1371791392":["hashtag1","hashtag2"]},{"1371791386":["hashtag1","hashtag2"]},{"1371791389":["hashtag1","hashtag2"]},{"1371791383":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791385, 1371791392, 1371791386, 1371791389, 1371791383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.35873794555664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:31:47.221583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_44_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_33_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_14_10694.jpg', 2), ('/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_53_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_44_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_33_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_44_10658.jpg', '/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_33_9645.jpg', '/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_14_10694.jpg', '/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_53_9649.jpg', '/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_44_10660.jpg', '/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_33_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_44_10658.jpg
/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_33_9645.jpg
/home/nano/Desktop/images/10072025/21/35/image_10072025_21_35_14_10694.jpg
/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_53_9649.jpg
/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_44_10660.jpg
/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_33_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791403","1371791406","1371791411","1371791414","1371791408","1371791417"],"photo_ids_order":["1371791403","1371791406","1371791408","1371791411","1371791414","1371791417"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3882db9c9498f8bfa7ec2e2e0183f4bb.jpg","text":"TemporaryFile(/tmp/multipartBody7209324872194636006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287569743,"filename":"image_10072025_21_35_44_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6fe4d24d3240632c7f45b8a8110e0f0.jpg","text":"TemporaryFile(/tmp/multipartBody668638896772948779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287569743,"filename":"image_10072025_21_35_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c82274f036fbdf48d89b673f2cd3b812.jpg","text":"TemporaryFile(/tmp/multipartBody6057158252618128997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287569743,"filename":"image_10072025_21_34_53_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1025dd453a3b98478ebe710238ff7f6c.jpg","text":"TemporaryFile(/tmp/multipartBody4905558114175141601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287569743,"filename":"image_10072025_21_34_44_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67130e2fac667542fdf89819a96d3a13.jpg","text":"TemporaryFile(/tmp/multipartBody1218139735155879044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287569743,"filename":"image_10072025_21_35_14_10694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18b47202895191cccaf4a008e55bac0f.jpg","text":"TemporaryFile(/tmp/multipartBody1089948680878007813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287569743,"filename":"image_10072025_21_34_33_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791408","file1":"1371791406","file0":"1371791403","file4":"1371791414","file5":"1371791417","file3":"1371791411"},"map_files_photo_id_array":[{"photo_id":"1371791417","filename":"file5"},{"photo_id":"1371791408","filename":"file2"},{"photo_id":"1371791414","filename":"file4"},{"photo_id":"1371791406","filename":"file1"},{"photo_id":"1371791403","filename":"file0"},{"photo_id":"1371791411","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371791403":["hashtag1","hashtag2"]},{"1371791406":["hashtag1","hashtag2"]},{"1371791411":["hashtag1","hashtag2"]},{"1371791414":["hashtag1","hashtag2"]},{"1371791408":["hashtag1","hashtag2"]},{"1371791417":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371791403, 1371791406, 1371791411, 1371791414, 1371791408, 1371791417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23291754722595 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:32:32.318638
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_44_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_14_10691.jpg', 2), ('/home/nano/Desktop/images/12072025/04/31/image_12072025_04_32_03_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/04/31/image_12072025_04_31_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_44_10653.jpg', '/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_33_9645.jpg', '/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_24_9638.jpg', '/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_14_10691.jpg', '/home/nano/Desktop/images/12072025/04/31/image_12072025_04_32_03_9656.jpg', '/home/nano/Desktop/images/12072025/04/31/image_12072025_04_31_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_44_10653.jpg
/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_33_9645.jpg
/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_24_9638.jpg
/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_14_10691.jpg
/home/nano/Desktop/images/12072025/04/31/image_12072025_04_32_03_9656.jpg
/home/nano/Desktop/images/12072025/04/31/image_12072025_04_31_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791445","1371791433","1371791441","1371791437","1371791431","1371791428"],"photo_ids_order":["1371791428","1371791431","1371791433","1371791437","1371791441","1371791445"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed69b53785dcda136a1c97988398cbce.jpg","text":"TemporaryFile(/tmp/multipartBody1862311125346262017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287613394,"filename":"image_12072025_04_31_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff7167564a201abe3a684c7dc179afa8.jpg","text":"TemporaryFile(/tmp/multipartBody7831605398851391290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287613394,"filename":"image_12072025_04_32_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a16b4e09b1d5cf9f77703817f013949.jpg","text":"TemporaryFile(/tmp/multipartBody1297125950529612524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287613394,"filename":"image_12072025_04_32_03_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f89b5c7adea9b7b7516a8e54a5742803.jpg","text":"TemporaryFile(/tmp/multipartBody2581422228849212415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287613394,"filename":"image_12072025_04_32_14_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1101ca2a7f5dbca0bdf06ac27171b3aa.jpg","text":"TemporaryFile(/tmp/multipartBody1062787180764776315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287613394,"filename":"image_12072025_04_32_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b20090b64ac379b7406582893d2953e3.jpg","text":"TemporaryFile(/tmp/multipartBody3716657215273230551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287613394,"filename":"image_12072025_04_32_44_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791433","file1":"1371791431","file0":"1371791428","file4":"1371791441","file5":"1371791445","file3":"1371791437"},"map_files_photo_id_array":[{"photo_id":"1371791445","filename":"file5"},{"photo_id":"1371791433","filename":"file2"},{"photo_id":"1371791441","filename":"file4"},{"photo_id":"1371791431","filename":"file1"},{"photo_id":"1371791428","filename":"file0"},{"photo_id":"1371791437","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791445":["hashtag1","hashtag2"]},{"1371791433":["hashtag1","hashtag2"]},{"1371791441":["hashtag1","hashtag2"]},{"1371791437":["hashtag1","hashtag2"]},{"1371791431":["hashtag1","hashtag2"]},{"1371791428":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791445, 1371791433, 1371791441, 1371791437, 1371791431, 1371791428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.701765298843384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:33:17.426958
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_44_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_33_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_23_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_14_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/04/32/image_12072025_04_33_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_53_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_44_10650.jpg', '/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_33_9644.jpg', '/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_23_9655.jpg', '/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_14_10671.jpg', '/home/nano/Desktop/images/12072025/04/32/image_12072025_04_33_03_9646.jpg', '/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_53_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_44_10650.jpg
/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_33_9644.jpg
/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_23_9655.jpg
/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_14_10671.jpg
/home/nano/Desktop/images/12072025/04/32/image_12072025_04_33_03_9646.jpg
/home/nano/Desktop/images/12072025/04/32/image_12072025_04_32_53_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791469","1371791471","1371791459","1371791467","1371791461","1371791464"],"photo_ids_order":["1371791459","1371791461","1371791464","1371791467","1371791469","1371791471"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c6867dbc98f1033ec4a4ebec94e0c99.jpg","text":"TemporaryFile(/tmp/multipartBody1910673526713020462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287658479,"filename":"image_12072025_04_33_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d07bf6b672112732e9a8cd5bbee2471.jpg","text":"TemporaryFile(/tmp/multipartBody4814026385053264596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287658479,"filename":"image_12072025_04_32_53_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e5f32ef8a9f2dc22bffd8d4cc1e1467.jpg","text":"TemporaryFile(/tmp/multipartBody1054019991292532158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287658479,"filename":"image_12072025_04_33_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c82da7ae87bdbb1fd337793c45fc0660.jpg","text":"TemporaryFile(/tmp/multipartBody3041915583453471523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287658479,"filename":"image_12072025_04_33_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f39220794da3b7b4b715ccb273ae6682.jpg","text":"TemporaryFile(/tmp/multipartBody8818082979020844098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287658479,"filename":"image_12072025_04_33_33_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72403730afaacaec0eaf087778928907.jpg","text":"TemporaryFile(/tmp/multipartBody2519381348396508300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287658479,"filename":"image_12072025_04_33_23_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791464","file1":"1371791461","file0":"1371791459","file4":"1371791469","file5":"1371791471","file3":"1371791467"},"map_files_photo_id_array":[{"photo_id":"1371791471","filename":"file5"},{"photo_id":"1371791464","filename":"file2"},{"photo_id":"1371791469","filename":"file4"},{"photo_id":"1371791461","filename":"file1"},{"photo_id":"1371791459","filename":"file0"},{"photo_id":"1371791467","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791469":["hashtag1","hashtag2"]},{"1371791471":["hashtag1","hashtag2"]},{"1371791459":["hashtag1","hashtag2"]},{"1371791467":["hashtag1","hashtag2"]},{"1371791461":["hashtag1","hashtag2"]},{"1371791464":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791469, 1371791471, 1371791459, 1371791467, 1371791461, 1371791464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.675857305526733 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:34:03.059890
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_23_9659.jpg', 2), ('/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_14_10676.jpg', 2), ('/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_53_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_44_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_33_9642.jpg', 2), ('/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_24_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_23_9659.jpg', '/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_14_10676.jpg', '/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_53_9645.jpg', '/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_44_10657.jpg', '/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_33_9642.jpg', '/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_24_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_23_9659.jpg
/home/nano/Desktop/images/10072025/21/34/image_10072025_21_34_14_10676.jpg
/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_53_9645.jpg
/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_44_10657.jpg
/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_33_9642.jpg
/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_24_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791500","1371791490","1371791493","1371791502","1371791495","1371791497"],"photo_ids_order":["1371791490","1371791493","1371791495","1371791497","1371791500","1371791502"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b56f286f7db57cc54a648da846ad85e8.jpg","text":"TemporaryFile(/tmp/multipartBody8166740999067898311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287705517,"filename":"image_10072025_21_33_33_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b5ae7e9e786e0a39ab085eea16c702c.jpg","text":"TemporaryFile(/tmp/multipartBody3804805561051031173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287705517,"filename":"image_10072025_21_34_23_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f160d96e7ce2478f4240223e5381b7c.jpg","text":"TemporaryFile(/tmp/multipartBody8824200869892801187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287705517,"filename":"image_10072025_21_34_14_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10622793fff7c3144efa02ed9a5759c2.jpg","text":"TemporaryFile(/tmp/multipartBody4811722085081793365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287705517,"filename":"image_10072025_21_33_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc8cc97a72df4f87f066e94c4c83309e.jpg","text":"TemporaryFile(/tmp/multipartBody3982935094275187099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287705517,"filename":"image_10072025_21_33_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc3c88a6c41644ead123621b1d8dc399.jpg","text":"TemporaryFile(/tmp/multipartBody4805037144432603095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287705517,"filename":"image_10072025_21_33_44_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791495","file1":"1371791493","file0":"1371791490","file4":"1371791500","file5":"1371791502","file3":"1371791497"},"map_files_photo_id_array":[{"photo_id":"1371791502","filename":"file5"},{"photo_id":"1371791495","filename":"file2"},{"photo_id":"1371791500","filename":"file4"},{"photo_id":"1371791493","filename":"file1"},{"photo_id":"1371791490","filename":"file0"},{"photo_id":"1371791497","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371791500":["hashtag1","hashtag2"]},{"1371791490":["hashtag1","hashtag2"]},{"1371791493":["hashtag1","hashtag2"]},{"1371791502":["hashtag1","hashtag2"]},{"1371791495":["hashtag1","hashtag2"]},{"1371791497":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371791500, 1371791490, 1371791493, 1371791502, 1371791495, 1371791497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28501486778259 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:34:47.551198
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/34/image_12072025_04_34_44_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/04/34/image_12072025_04_34_34_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/04/34/image_12072025_04_34_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/04/33/image_12072025_04_34_04_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_53_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/34/image_12072025_04_34_44_9641.jpg', '/home/nano/Desktop/images/12072025/04/34/image_12072025_04_34_34_10656.jpg', '/home/nano/Desktop/images/12072025/04/34/image_12072025_04_34_23_9640.jpg', '/home/nano/Desktop/images/12072025/04/33/image_12072025_04_34_04_10648.jpg', '/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_53_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/34/image_12072025_04_34_44_9641.jpg
/home/nano/Desktop/images/12072025/04/34/image_12072025_04_34_34_10656.jpg
/home/nano/Desktop/images/12072025/04/34/image_12072025_04_34_23_9640.jpg
/home/nano/Desktop/images/12072025/04/33/image_12072025_04_34_04_10648.jpg
/home/nano/Desktop/images/12072025/04/33/image_12072025_04_33_53_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791532","1371791535","1371791523","1371791519","1371791515"],"photo_ids_order":["1371791515","1371791519","1371791523","1371791532","1371791535"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8df2237418570535e21dc49998aa3cc1.jpg","text":"TemporaryFile(/tmp/multipartBody148331267703568277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287748688,"filename":"image_12072025_04_34_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/170f619d8a1e5e0f559f1e5d51b4d5eb.jpg","text":"TemporaryFile(/tmp/multipartBody2998433056480128221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287748688,"filename":"image_12072025_04_33_53_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4da02b92c2e850e3fb3fc437a7ec7fa.jpg","text":"TemporaryFile(/tmp/multipartBody3703502414599208327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287748688,"filename":"image_12072025_04_34_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/956433b30b1c76d88472b58e38d4fb75.jpg","text":"TemporaryFile(/tmp/multipartBody7722397523607430160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287748688,"filename":"image_12072025_04_34_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a5fdab096a26b0d1460db384f448c6a.jpg","text":"TemporaryFile(/tmp/multipartBody3915085195657241351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287748688,"filename":"image_12072025_04_34_44_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791523","file1":"1371791519","file0":"1371791515","file4":"1371791535","file3":"1371791532"},"map_files_photo_id_array":[{"photo_id":"1371791523","filename":"file2"},{"photo_id":"1371791535","filename":"file4"},{"photo_id":"1371791519","filename":"file1"},{"photo_id":"1371791515","filename":"file0"},{"photo_id":"1371791532","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791532":["hashtag1","hashtag2"]},{"1371791535":["hashtag1","hashtag2"]},{"1371791523":["hashtag1","hashtag2"]},{"1371791519":["hashtag1","hashtag2"]},{"1371791515":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791532, 1371791535, 1371791523, 1371791519, 1371791515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.39829397201538 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:35:17.643227
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_23_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_14_9672.jpg', 2), ('/home/nano/Desktop/images/12072025/04/34/image_12072025_04_35_04_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/04/34/image_12072025_04_34_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_34_10650.jpg', '/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_23_9662.jpg', '/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_14_9672.jpg', '/home/nano/Desktop/images/12072025/04/34/image_12072025_04_35_04_10664.jpg', '/home/nano/Desktop/images/12072025/04/34/image_12072025_04_34_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_34_10650.jpg
/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_23_9662.jpg
/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_14_9672.jpg
/home/nano/Desktop/images/12072025/04/34/image_12072025_04_35_04_10664.jpg
/home/nano/Desktop/images/12072025/04/34/image_12072025_04_34_53_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791541","1371791549","1371791543","1371791546","1371791548"],"photo_ids_order":["1371791541","1371791543","1371791546","1371791548","1371791549"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67132b5ed1ffda2a3f84820bb2471358.jpg","text":"TemporaryFile(/tmp/multipartBody7717938641716111515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287778611,"filename":"image_12072025_04_35_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d836315a303baea362fa6d207cb9c29f.jpg","text":"TemporaryFile(/tmp/multipartBody5818182391232987170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287778611,"filename":"image_12072025_04_34_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe1e2552504c9c6246ac56cc2ebaac69.jpg","text":"TemporaryFile(/tmp/multipartBody5110240544542479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287778611,"filename":"image_12072025_04_35_23_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a805d373b022e44dfb40e7ba535dbd5.jpg","text":"TemporaryFile(/tmp/multipartBody6618762221065540739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287778611,"filename":"image_12072025_04_35_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8b3044d6fc0f75b921d2c5ed49eec1b.jpg","text":"TemporaryFile(/tmp/multipartBody9096011133890789831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287778611,"filename":"image_12072025_04_35_04_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791546","file1":"1371791543","file0":"1371791541","file4":"1371791549","file3":"1371791548"},"map_files_photo_id_array":[{"photo_id":"1371791546","filename":"file2"},{"photo_id":"1371791549","filename":"file4"},{"photo_id":"1371791543","filename":"file1"},{"photo_id":"1371791541","filename":"file0"},{"photo_id":"1371791548","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791541":["hashtag1","hashtag2"]},{"1371791549":["hashtag1","hashtag2"]},{"1371791543":["hashtag1","hashtag2"]},{"1371791546":["hashtag1","hashtag2"]},{"1371791548":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791541, 1371791549, 1371791543, 1371791546, 1371791548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.478673696517944 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:35:47.649186
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_14_10682.jpg', 2), ('/home/nano/Desktop/images/10072025/21/32/image_10072025_21_33_03_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/21/32/image_10072025_21_32_54_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/21/32/image_10072025_21_32_44_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/32/image_10072025_21_32_24_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/21/32/image_10072025_21_32_14_10676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_14_10682.jpg', '/home/nano/Desktop/images/10072025/21/32/image_10072025_21_33_03_9661.jpg', '/home/nano/Desktop/images/10072025/21/32/image_10072025_21_32_54_9647.jpg', '/home/nano/Desktop/images/10072025/21/32/image_10072025_21_32_44_10657.jpg', '/home/nano/Desktop/images/10072025/21/32/image_10072025_21_32_24_9652.jpg', '/home/nano/Desktop/images/10072025/21/32/image_10072025_21_32_14_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/33/image_10072025_21_33_14_10682.jpg
/home/nano/Desktop/images/10072025/21/32/image_10072025_21_33_03_9661.jpg
/home/nano/Desktop/images/10072025/21/32/image_10072025_21_32_54_9647.jpg
/home/nano/Desktop/images/10072025/21/32/image_10072025_21_32_44_10657.jpg
/home/nano/Desktop/images/10072025/21/32/image_10072025_21_32_24_9652.jpg
/home/nano/Desktop/images/10072025/21/32/image_10072025_21_32_14_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791573","1371791567","1371791561","1371791570","1371791564","1371791572"],"photo_ids_order":["1371791561","1371791564","1371791567","1371791570","1371791572","1371791573"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1639022ef56ee4b4b870e52c7afc1fb2.jpg","text":"TemporaryFile(/tmp/multipartBody7397526326727199002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287810214,"filename":"image_10072025_21_32_14_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0594506851256ceb933009ecd20fb4d8.jpg","text":"TemporaryFile(/tmp/multipartBody702909388435347579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287810214,"filename":"image_10072025_21_32_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/213dbe797465e882f909b060988eff23.jpg","text":"TemporaryFile(/tmp/multipartBody8880247486688617980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287810214,"filename":"image_10072025_21_33_14_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ae1cb5fcb53319aa33288f65d6fc371.jpg","text":"TemporaryFile(/tmp/multipartBody6051121300086819954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287810214,"filename":"image_10072025_21_32_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bcbce83206dcc9da6dbd657fb7c3ff63.jpg","text":"TemporaryFile(/tmp/multipartBody3012332610877299012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287810214,"filename":"image_10072025_21_33_03_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf464fda295543c18874b597b7e410a5.jpg","text":"TemporaryFile(/tmp/multipartBody8777416980059851805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287810214,"filename":"image_10072025_21_32_24_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791567","file1":"1371791564","file0":"1371791561","file4":"1371791572","file5":"1371791573","file3":"1371791570"},"map_files_photo_id_array":[{"photo_id":"1371791573","filename":"file5"},{"photo_id":"1371791567","filename":"file2"},{"photo_id":"1371791572","filename":"file4"},{"photo_id":"1371791564","filename":"file1"},{"photo_id":"1371791561","filename":"file0"},{"photo_id":"1371791570","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371791573":["hashtag1","hashtag2"]},{"1371791567":["hashtag1","hashtag2"]},{"1371791561":["hashtag1","hashtag2"]},{"1371791570":["hashtag1","hashtag2"]},{"1371791564":["hashtag1","hashtag2"]},{"1371791572":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371791573, 1371791567, 1371791561, 1371791570, 1371791564, 1371791572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16215968132019 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:36:32.758424
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_14_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/04/35/image_12072025_04_36_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_34_10650.jpg', '/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_14_9659.jpg', '/home/nano/Desktop/images/12072025/04/35/image_12072025_04_36_04_10661.jpg', '/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_44_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_34_10650.jpg
/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_14_9659.jpg
/home/nano/Desktop/images/12072025/04/35/image_12072025_04_36_04_10661.jpg
/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_44_9638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0334367752075195 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:36:47.843588
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_14_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/04/35/image_12072025_04_36_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_44_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_34_10650.jpg', '/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_14_9659.jpg', '/home/nano/Desktop/images/12072025/04/35/image_12072025_04_36_04_10661.jpg', '/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_44_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_34_10650.jpg
/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_14_9659.jpg
/home/nano/Desktop/images/12072025/04/35/image_12072025_04_36_04_10661.jpg
/home/nano/Desktop/images/12072025/04/35/image_12072025_04_35_44_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791601","1371791597","1371791606","1371791611"],"photo_ids_order":["1371791597","1371791601","1371791606","1371791611"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20bd5fde7020564d6f056242bce50517.jpg","text":"TemporaryFile(/tmp/multipartBody8149696503096176080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287868859,"filename":"image_12072025_04_36_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c19dd12806b5d7f1dcff7b72a16c5b6.jpg","text":"TemporaryFile(/tmp/multipartBody645967794153255673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287868859,"filename":"image_12072025_04_36_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45db5f7ee18c803702dbc85fe5928d11.jpg","text":"TemporaryFile(/tmp/multipartBody3611923424998125665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287868859,"filename":"image_12072025_04_36_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66b7e4ce3da295cecec72554f29112e9.jpg","text":"TemporaryFile(/tmp/multipartBody3742728099727663898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287868859,"filename":"image_12072025_04_35_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791606","file1":"1371791601","file0":"1371791597","file3":"1371791611"},"map_files_photo_id_array":[{"photo_id":"1371791606","filename":"file2"},{"photo_id":"1371791601","filename":"file1"},{"photo_id":"1371791597","filename":"file0"},{"photo_id":"1371791611","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791601":["hashtag1","hashtag2"]},{"1371791597":["hashtag1","hashtag2"]},{"1371791606":["hashtag1","hashtag2"]},{"1371791611":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791601, 1371791597, 1371791606, 1371791611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.89096164703369 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:37:16.949967
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_43_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_34_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_13_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/04/36/image_12072025_04_37_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_43_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_43_9647.jpg', '/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_34_9643.jpg', '/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_24_10649.jpg', '/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_13_9664.jpg', '/home/nano/Desktop/images/12072025/04/36/image_12072025_04_37_04_10661.jpg', '/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_43_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_43_9647.jpg
/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_34_9643.jpg
/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_24_10649.jpg
/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_13_9664.jpg
/home/nano/Desktop/images/12072025/04/36/image_12072025_04_37_04_10661.jpg
/home/nano/Desktop/images/12072025/04/36/image_12072025_04_36_43_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791625","1371791628","1371791632","1371791635","1371791638","1371791623"],"photo_ids_order":["1371791623","1371791625","1371791628","1371791632","1371791635","1371791638"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e063cdc89326324e35e784cabd4ac8ea.jpg","text":"TemporaryFile(/tmp/multipartBody1448032557856287642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287898241,"filename":"image_12072025_04_37_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95d9eeea41b9c74082781633d1ab0a4d.jpg","text":"TemporaryFile(/tmp/multipartBody1479187262049465664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287898241,"filename":"image_12072025_04_37_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d44153dfcfb227a141d117754e9a2be0.jpg","text":"TemporaryFile(/tmp/multipartBody3274007371115514791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287898241,"filename":"image_12072025_04_37_13_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57abc4a3fe6f549eb6b44efa8df31310.jpg","text":"TemporaryFile(/tmp/multipartBody2610834206840749977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287898241,"filename":"image_12072025_04_37_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd990bbdf21dfa7bc845da3e4fbc91a5.jpg","text":"TemporaryFile(/tmp/multipartBody3485252660846554451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287898241,"filename":"image_12072025_04_36_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e85f73942526ccdf90ace31ed081173.jpg","text":"TemporaryFile(/tmp/multipartBody8538465628244752836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287898241,"filename":"image_12072025_04_37_43_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791628","file1":"1371791625","file0":"1371791623","file4":"1371791635","file5":"1371791638","file3":"1371791632"},"map_files_photo_id_array":[{"photo_id":"1371791638","filename":"file5"},{"photo_id":"1371791628","filename":"file2"},{"photo_id":"1371791635","filename":"file4"},{"photo_id":"1371791625","filename":"file1"},{"photo_id":"1371791623","filename":"file0"},{"photo_id":"1371791632","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791625":["hashtag1","hashtag2"]},{"1371791628":["hashtag1","hashtag2"]},{"1371791632":["hashtag1","hashtag2"]},{"1371791635":["hashtag1","hashtag2"]},{"1371791638":["hashtag1","hashtag2"]},{"1371791623":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791625, 1371791628, 1371791632, 1371791635, 1371791638, 1371791623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06845569610596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:38:02.306808
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/31/image_10072025_21_32_03_9679.jpg', 2), ('/home/nano/Desktop/images/10072025/21/31/image_10072025_21_31_54_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/21/31/image_10072025_21_31_44_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/31/image_10072025_21_31_24_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/31/image_10072025_21_31_14_10673.jpg', 2), ('/home/nano/Desktop/images/10072025/21/30/image_10072025_21_31_03_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/31/image_10072025_21_32_03_9679.jpg', '/home/nano/Desktop/images/10072025/21/31/image_10072025_21_31_54_9649.jpg', '/home/nano/Desktop/images/10072025/21/31/image_10072025_21_31_44_10656.jpg', '/home/nano/Desktop/images/10072025/21/31/image_10072025_21_31_24_9648.jpg', '/home/nano/Desktop/images/10072025/21/31/image_10072025_21_31_14_10673.jpg', '/home/nano/Desktop/images/10072025/21/30/image_10072025_21_31_03_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/31/image_10072025_21_32_03_9679.jpg
/home/nano/Desktop/images/10072025/21/31/image_10072025_21_31_54_9649.jpg
/home/nano/Desktop/images/10072025/21/31/image_10072025_21_31_44_10656.jpg
/home/nano/Desktop/images/10072025/21/31/image_10072025_21_31_24_9648.jpg
/home/nano/Desktop/images/10072025/21/31/image_10072025_21_31_14_10673.jpg
/home/nano/Desktop/images/10072025/21/30/image_10072025_21_31_03_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791670","1371791664","1371791673","1371791667","1371791660","1371791677"],"photo_ids_order":["1371791660","1371791664","1371791667","1371791670","1371791673","1371791677"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ff670d4b372fa98c8c50d03ac63790b.jpg","text":"TemporaryFile(/tmp/multipartBody287121851886333710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287944963,"filename":"image_10072025_21_31_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/badc61d7ea6d1454dc0eff90be7b9a49.jpg","text":"TemporaryFile(/tmp/multipartBody557857313900319978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287944963,"filename":"image_10072025_21_31_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/095fec98b2d0438e34d058afffe6ffd1.jpg","text":"TemporaryFile(/tmp/multipartBody6004610178164713787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287944963,"filename":"image_10072025_21_31_14_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/767faec454894fbddc0d84330e5de843.jpg","text":"TemporaryFile(/tmp/multipartBody2081507838928194209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287944963,"filename":"image_10072025_21_31_44_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1370b07e145fa862000a19f0d98aa570.jpg","text":"TemporaryFile(/tmp/multipartBody8395054243538314017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287944963,"filename":"image_10072025_21_32_03_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d990b7217ddf9527aa43f92d2b8eef4.jpg","text":"TemporaryFile(/tmp/multipartBody2635833999779425833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287944963,"filename":"image_10072025_21_31_03_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791667","file1":"1371791664","file0":"1371791660","file4":"1371791673","file5":"1371791677","file3":"1371791670"},"map_files_photo_id_array":[{"photo_id":"1371791677","filename":"file5"},{"photo_id":"1371791667","filename":"file2"},{"photo_id":"1371791673","filename":"file4"},{"photo_id":"1371791664","filename":"file1"},{"photo_id":"1371791660","filename":"file0"},{"photo_id":"1371791670","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371791670":["hashtag1","hashtag2"]},{"1371791664":["hashtag1","hashtag2"]},{"1371791673":["hashtag1","hashtag2"]},{"1371791667":["hashtag1","hashtag2"]},{"1371791660":["hashtag1","hashtag2"]},{"1371791677":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371791670, 1371791664, 1371791673, 1371791667, 1371791660, 1371791677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14447855949402 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:38:47.053388
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_43_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_24_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_13_9678.jpg', 2), ('/home/nano/Desktop/images/12072025/04/37/image_12072025_04_38_04_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_54_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_43_9664.jpg', '/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_34_9639.jpg', '/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_24_10650.jpg', '/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_13_9678.jpg', '/home/nano/Desktop/images/12072025/04/37/image_12072025_04_38_04_9644.jpg', '/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_54_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_43_9664.jpg
/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_34_9639.jpg
/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_24_10650.jpg
/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_13_9678.jpg
/home/nano/Desktop/images/12072025/04/37/image_12072025_04_38_04_9644.jpg
/home/nano/Desktop/images/12072025/04/37/image_12072025_04_37_54_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791697","1371791706","1371791693","1371791701","1371791704","1371791688"],"photo_ids_order":["1371791688","1371791693","1371791697","1371791701","1371791704","1371791706"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ddbebbfcb0f5ef70e26e28f4d83296ac.jpg","text":"TemporaryFile(/tmp/multipartBody2288910067994825803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287988324,"filename":"image_12072025_04_38_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d739a56195221fb06b9b49504af2fd44.jpg","text":"TemporaryFile(/tmp/multipartBody933258307131225746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287988324,"filename":"image_12072025_04_37_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c05b8b6da20deaa093c458e53efc5709.jpg","text":"TemporaryFile(/tmp/multipartBody4465371434792147978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287988324,"filename":"image_12072025_04_38_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8f49afa0f1c587f74acee6c4732c1e6.jpg","text":"TemporaryFile(/tmp/multipartBody2168013871599114304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287988324,"filename":"image_12072025_04_38_13_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27b75c74a3c8b412026f39033b725a88.jpg","text":"TemporaryFile(/tmp/multipartBody4922870474228271764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287988324,"filename":"image_12072025_04_38_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca762162826fb53918ea773aff052e09.jpg","text":"TemporaryFile(/tmp/multipartBody3363129985786147454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752287988324,"filename":"image_12072025_04_38_43_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791697","file1":"1371791693","file0":"1371791688","file4":"1371791704","file5":"1371791706","file3":"1371791701"},"map_files_photo_id_array":[{"photo_id":"1371791706","filename":"file5"},{"photo_id":"1371791697","filename":"file2"},{"photo_id":"1371791704","filename":"file4"},{"photo_id":"1371791693","filename":"file1"},{"photo_id":"1371791688","filename":"file0"},{"photo_id":"1371791701","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791697":["hashtag1","hashtag2"]},{"1371791706":["hashtag1","hashtag2"]},{"1371791693":["hashtag1","hashtag2"]},{"1371791701":["hashtag1","hashtag2"]},{"1371791704":["hashtag1","hashtag2"]},{"1371791688":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791697, 1371791706, 1371791693, 1371791701, 1371791704, 1371791688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86194896697998 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:39:32.153008
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/39/image_12072025_04_39_24_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/04/39/image_12072025_04_39_13_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/04/38/image_12072025_04_39_04_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/39/image_12072025_04_39_24_10646.jpg', '/home/nano/Desktop/images/12072025/04/39/image_12072025_04_39_13_9655.jpg', '/home/nano/Desktop/images/12072025/04/38/image_12072025_04_39_04_9650.jpg', '/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/39/image_12072025_04_39_24_10646.jpg
/home/nano/Desktop/images/12072025/04/39/image_12072025_04_39_13_9655.jpg
/home/nano/Desktop/images/12072025/04/38/image_12072025_04_39_04_9650.jpg
/home/nano/Desktop/images/12072025/04/38/image_12072025_04_38_54_10654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791718","1371791717","1371791714","1371791722"],"photo_ids_order":["1371791714","1371791717","1371791718","1371791722"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/449c7cd2d6b80f28f2725d3eee32039d.jpg","text":"TemporaryFile(/tmp/multipartBody76965559084767593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288033179,"filename":"image_12072025_04_39_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21ee529f6bed40105a42ab1b6a1292ca.jpg","text":"TemporaryFile(/tmp/multipartBody2046566289440338921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288033179,"filename":"image_12072025_04_39_13_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d9f2e77df92a481e42848d8dfc0bbcd.jpg","text":"TemporaryFile(/tmp/multipartBody8969139874428055327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288033179,"filename":"image_12072025_04_39_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c76e794ed72133585948343b76014ee1.jpg","text":"TemporaryFile(/tmp/multipartBody2314227296806697627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288033179,"filename":"image_12072025_04_38_54_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791718","file1":"1371791717","file0":"1371791714","file3":"1371791722"},"map_files_photo_id_array":[{"photo_id":"1371791718","filename":"file2"},{"photo_id":"1371791717","filename":"file1"},{"photo_id":"1371791714","filename":"file0"},{"photo_id":"1371791722","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791718":["hashtag1","hashtag2"]},{"1371791717":["hashtag1","hashtag2"]},{"1371791714":["hashtag1","hashtag2"]},{"1371791722":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791718, 1371791717, 1371791714, 1371791722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.64472246170044 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:40:02.570363
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_54_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_44_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_33_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_24_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_14_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/21/29/image_10072025_21_30_03_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_54_9644.jpg', '/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_44_10675.jpg', '/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_33_9654.jpg', '/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_24_9648.jpg', '/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_14_10675.jpg', '/home/nano/Desktop/images/10072025/21/29/image_10072025_21_30_03_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_54_9644.jpg
/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_44_10675.jpg
/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_33_9654.jpg
/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_24_9648.jpg
/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_14_10675.jpg
/home/nano/Desktop/images/10072025/21/29/image_10072025_21_30_03_9666.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5282366275787354 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:40:17.232036
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_33_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/04/39/image_12072025_04_40_03_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/04/39/image_12072025_04_39_54_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_43_9640.jpg', '/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_33_9641.jpg', '/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_24_10648.jpg', '/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_13_9659.jpg', '/home/nano/Desktop/images/12072025/04/39/image_12072025_04_40_03_9644.jpg', '/home/nano/Desktop/images/12072025/04/39/image_12072025_04_39_54_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_43_9640.jpg
/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_33_9641.jpg
/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_24_10648.jpg
/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_13_9659.jpg
/home/nano/Desktop/images/12072025/04/39/image_12072025_04_40_03_9644.jpg
/home/nano/Desktop/images/12072025/04/39/image_12072025_04_39_54_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791766","1371791771","1371791768","1371791762","1371791756","1371791758"],"photo_ids_order":["1371791756","1371791758","1371791762","1371791766","1371791768","1371791771"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae04a0d3fb5a6bd3cd98153efea23914.jpg","text":"TemporaryFile(/tmp/multipartBody7803948040070126325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288078225,"filename":"image_12072025_04_40_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a0b39e598bcf37261c6ba1ea999e000.jpg","text":"TemporaryFile(/tmp/multipartBody1925934588200837003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288078225,"filename":"image_12072025_04_39_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/921dd0ec3bf2695a7b81c1853ab4024f.jpg","text":"TemporaryFile(/tmp/multipartBody4957160819045808313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288078225,"filename":"image_12072025_04_40_03_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf4686c6c6f33a78c09efb7d8ae0a423.jpg","text":"TemporaryFile(/tmp/multipartBody4287172436683847616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288078225,"filename":"image_12072025_04_40_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16ed2fdc2024891f32bdf9759e39bff6.jpg","text":"TemporaryFile(/tmp/multipartBody9182196399264736103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288078225,"filename":"image_12072025_04_40_43_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/951552f87072510a6bdc7beaf90d6357.jpg","text":"TemporaryFile(/tmp/multipartBody7258710714238399161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288078225,"filename":"image_12072025_04_40_33_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791762","file1":"1371791758","file0":"1371791756","file4":"1371791768","file5":"1371791771","file3":"1371791766"},"map_files_photo_id_array":[{"photo_id":"1371791771","filename":"file5"},{"photo_id":"1371791762","filename":"file2"},{"photo_id":"1371791768","filename":"file4"},{"photo_id":"1371791758","filename":"file1"},{"photo_id":"1371791756","filename":"file0"},{"photo_id":"1371791766","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791766":["hashtag1","hashtag2"]},{"1371791771":["hashtag1","hashtag2"]},{"1371791768":["hashtag1","hashtag2"]},{"1371791762":["hashtag1","hashtag2"]},{"1371791756":["hashtag1","hashtag2"]},{"1371791758":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791766, 1371791771, 1371791768, 1371791762, 1371791756, 1371791758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.101515769958496 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:41:02.836355
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_54_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_44_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_33_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_24_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_14_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/21/29/image_10072025_21_30_03_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_54_9644.jpg', '/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_44_10675.jpg', '/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_33_9654.jpg', '/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_24_9648.jpg', '/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_14_10675.jpg', '/home/nano/Desktop/images/10072025/21/29/image_10072025_21_30_03_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_54_9644.jpg
/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_44_10675.jpg
/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_33_9654.jpg
/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_24_9648.jpg
/home/nano/Desktop/images/10072025/21/30/image_10072025_21_30_14_10675.jpg
/home/nano/Desktop/images/10072025/21/29/image_10072025_21_30_03_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791789","1371791794","1371791797","1371791791","1371791800","1371791787"],"photo_ids_order":["1371791787","1371791789","1371791791","1371791794","1371791797","1371791800"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40b8ac77f2f627f4ad04a68578a58de4.jpg","text":"TemporaryFile(/tmp/multipartBody3523865074531046361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288125355,"filename":"image_10072025_21_30_44_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f94100b19022d9690764c5a77e5366d.jpg","text":"TemporaryFile(/tmp/multipartBody8815387580843418482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288125355,"filename":"image_10072025_21_30_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf06a21adfdd5474e5981d3cf9c22d19.jpg","text":"TemporaryFile(/tmp/multipartBody5687932323657453359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288125355,"filename":"image_10072025_21_30_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7bcbcce307517311e66ecd95c1855bbf.jpg","text":"TemporaryFile(/tmp/multipartBody1173742279103311530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288125355,"filename":"image_10072025_21_30_33_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a21cee050f8844174f1ce709cae44f2.jpg","text":"TemporaryFile(/tmp/multipartBody1653033846101334883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288125355,"filename":"image_10072025_21_30_03_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3bc38aec81e64ef0c4c9901d7fe492ca.jpg","text":"TemporaryFile(/tmp/multipartBody3504966528516299141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288125355,"filename":"image_10072025_21_30_54_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791791","file1":"1371791789","file0":"1371791787","file4":"1371791797","file5":"1371791800","file3":"1371791794"},"map_files_photo_id_array":[{"photo_id":"1371791800","filename":"file5"},{"photo_id":"1371791791","filename":"file2"},{"photo_id":"1371791797","filename":"file4"},{"photo_id":"1371791789","filename":"file1"},{"photo_id":"1371791787","filename":"file0"},{"photo_id":"1371791794","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371791789":["hashtag1","hashtag2"]},{"1371791794":["hashtag1","hashtag2"]},{"1371791797":["hashtag1","hashtag2"]},{"1371791791":["hashtag1","hashtag2"]},{"1371791800":["hashtag1","hashtag2"]},{"1371791787":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371791789, 1371791794, 1371791797, 1371791791, 1371791800, 1371791787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39802861213684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:41:47.387922
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_44_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_24_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_13_9707.jpg', 2), ('/home/nano/Desktop/images/12072025/04/40/image_12072025_04_41_03_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_44_10655.jpg', '/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_33_9639.jpg', '/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_24_10652.jpg', '/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_13_9707.jpg', '/home/nano/Desktop/images/12072025/04/40/image_12072025_04_41_03_9665.jpg', '/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_44_10655.jpg
/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_33_9639.jpg
/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_24_10652.jpg
/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_13_9707.jpg
/home/nano/Desktop/images/12072025/04/40/image_12072025_04_41_03_9665.jpg
/home/nano/Desktop/images/12072025/04/40/image_12072025_04_40_54_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791817","1371791826","1371791828","1371791822","1371791830","1371791833"],"photo_ids_order":["1371791817","1371791822","1371791826","1371791828","1371791830","1371791833"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21e602b968c96f5aaea48c78a313b2f9.jpg","text":"TemporaryFile(/tmp/multipartBody2775872496290869107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288168561,"filename":"image_12072025_04_41_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6360b2d4e2c6e9c6866488f67e7d5560.jpg","text":"TemporaryFile(/tmp/multipartBody7573570815810640738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288168561,"filename":"image_12072025_04_41_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4716fb8aa193cb1ce67d334f0b44cd0.jpg","text":"TemporaryFile(/tmp/multipartBody2866282118833154403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288168561,"filename":"image_12072025_04_41_13_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d9dd1a72735bb5ed0f8a8df7c19fb9d.jpg","text":"TemporaryFile(/tmp/multipartBody4393808231944798063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288168561,"filename":"image_12072025_04_41_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84a2d9bbcebfafe4c8bbe51c9a203ff7.jpg","text":"TemporaryFile(/tmp/multipartBody6805610273085006819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288168561,"filename":"image_12072025_04_41_03_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7cf282d8ef20e3d53ec1c9c42593e9d9.jpg","text":"TemporaryFile(/tmp/multipartBody9136240035658878969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288168561,"filename":"image_12072025_04_40_54_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791826","file1":"1371791822","file0":"1371791817","file4":"1371791830","file5":"1371791833","file3":"1371791828"},"map_files_photo_id_array":[{"photo_id":"1371791833","filename":"file5"},{"photo_id":"1371791826","filename":"file2"},{"photo_id":"1371791830","filename":"file4"},{"photo_id":"1371791822","filename":"file1"},{"photo_id":"1371791817","filename":"file0"},{"photo_id":"1371791828","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791817":["hashtag1","hashtag2"]},{"1371791826":["hashtag1","hashtag2"]},{"1371791828":["hashtag1","hashtag2"]},{"1371791822":["hashtag1","hashtag2"]},{"1371791830":["hashtag1","hashtag2"]},{"1371791833":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791817, 1371791826, 1371791828, 1371791822, 1371791830, 1371791833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.268887281417847 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:42:32.489215
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_24_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_14_10687.jpg', 2), ('/home/nano/Desktop/images/12072025/04/41/image_12072025_04_42_03_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_44_10648.jpg', '/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_33_9639.jpg', '/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_24_9657.jpg', '/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_14_10687.jpg', '/home/nano/Desktop/images/12072025/04/41/image_12072025_04_42_03_9649.jpg', '/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_44_10648.jpg
/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_33_9639.jpg
/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_24_9657.jpg
/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_14_10687.jpg
/home/nano/Desktop/images/12072025/04/41/image_12072025_04_42_03_9649.jpg
/home/nano/Desktop/images/12072025/04/41/image_12072025_04_41_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791862","1371791846","1371791858","1371791851","1371791854","1371791848"],"photo_ids_order":["1371791846","1371791848","1371791851","1371791854","1371791858","1371791862"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a78b4b5d984e054a1e5b42a66331cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2280038051516911305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288213870,"filename":"image_12072025_04_41_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d7377cdeeff0efc5b2c64b2e2e4a1b5.jpg","text":"TemporaryFile(/tmp/multipartBody4575260277119127209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288213870,"filename":"image_12072025_04_42_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61f16a9455b0a50fda8364499ef7829b.jpg","text":"TemporaryFile(/tmp/multipartBody7680890298595074794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288213870,"filename":"image_12072025_04_42_03_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d074a43a6c2b019973f42943567f28f.jpg","text":"TemporaryFile(/tmp/multipartBody427023459812654615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288213870,"filename":"image_12072025_04_42_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7c3fb9c06300dc30b08aaf1312961c0.jpg","text":"TemporaryFile(/tmp/multipartBody5219035903547814434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288213870,"filename":"image_12072025_04_42_14_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/119fa007ef5e6cf039de48ffd1fa6dd7.jpg","text":"TemporaryFile(/tmp/multipartBody873773956235364873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288213870,"filename":"image_12072025_04_42_33_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791851","file1":"1371791848","file0":"1371791846","file4":"1371791858","file5":"1371791862","file3":"1371791854"},"map_files_photo_id_array":[{"photo_id":"1371791862","filename":"file5"},{"photo_id":"1371791851","filename":"file2"},{"photo_id":"1371791858","filename":"file4"},{"photo_id":"1371791848","filename":"file1"},{"photo_id":"1371791846","filename":"file0"},{"photo_id":"1371791854","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791862":["hashtag1","hashtag2"]},{"1371791846":["hashtag1","hashtag2"]},{"1371791858":["hashtag1","hashtag2"]},{"1371791851":["hashtag1","hashtag2"]},{"1371791854":["hashtag1","hashtag2"]},{"1371791848":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791862, 1371791846, 1371791858, 1371791851, 1371791854, 1371791848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.248592138290405 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:43:17.599366
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/43/image_12072025_04_43_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/43/image_12072025_04_43_33_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/04/42/image_12072025_04_43_03_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/43/image_12072025_04_43_44_10648.jpg', '/home/nano/Desktop/images/12072025/04/43/image_12072025_04_43_33_9646.jpg', '/home/nano/Desktop/images/12072025/04/42/image_12072025_04_43_03_9638.jpg', '/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_54_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/43/image_12072025_04_43_44_10648.jpg
/home/nano/Desktop/images/12072025/04/43/image_12072025_04_43_33_9646.jpg
/home/nano/Desktop/images/12072025/04/42/image_12072025_04_43_03_9638.jpg
/home/nano/Desktop/images/12072025/04/42/image_12072025_04_42_54_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791874","1371791879","1371791876","1371791881"],"photo_ids_order":["1371791874","1371791876","1371791879","1371791881"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa806d6457c88b5c1e1c3a6bc80dcc8a.jpg","text":"TemporaryFile(/tmp/multipartBody9213616727433845002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288258486,"filename":"image_12072025_04_43_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9c617e84cb283b558dcc093721b4a11.jpg","text":"TemporaryFile(/tmp/multipartBody543700811363872561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288258486,"filename":"image_12072025_04_43_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/027e93bb26613a452e063ec946374acb.jpg","text":"TemporaryFile(/tmp/multipartBody2779470263636834039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288258486,"filename":"image_12072025_04_43_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22d9abcb3299a0d2bce79fa11ec579fd.jpg","text":"TemporaryFile(/tmp/multipartBody6611633763560058506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288258486,"filename":"image_12072025_04_42_54_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791879","file1":"1371791876","file0":"1371791874","file3":"1371791881"},"map_files_photo_id_array":[{"photo_id":"1371791879","filename":"file2"},{"photo_id":"1371791876","filename":"file1"},{"photo_id":"1371791874","filename":"file0"},{"photo_id":"1371791881","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791874":["hashtag1","hashtag2"]},{"1371791879":["hashtag1","hashtag2"]},{"1371791876":["hashtag1","hashtag2"]},{"1371791881":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791874, 1371791879, 1371791876, 1371791881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.44786310195923 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:43:47.626696
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/29/image_10072025_21_29_44_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/21/29/image_10072025_21_29_33_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/21/29/image_10072025_21_29_24_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/29/image_10072025_21_29_14_10674.jpg', 2), ('/home/nano/Desktop/images/10072025/21/28/image_10072025_21_29_03_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_54_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/29/image_10072025_21_29_44_10672.jpg', '/home/nano/Desktop/images/10072025/21/29/image_10072025_21_29_33_9665.jpg', '/home/nano/Desktop/images/10072025/21/29/image_10072025_21_29_24_9656.jpg', '/home/nano/Desktop/images/10072025/21/29/image_10072025_21_29_14_10674.jpg', '/home/nano/Desktop/images/10072025/21/28/image_10072025_21_29_03_9667.jpg', '/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_54_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/29/image_10072025_21_29_44_10672.jpg
/home/nano/Desktop/images/10072025/21/29/image_10072025_21_29_33_9665.jpg
/home/nano/Desktop/images/10072025/21/29/image_10072025_21_29_24_9656.jpg
/home/nano/Desktop/images/10072025/21/29/image_10072025_21_29_14_10674.jpg
/home/nano/Desktop/images/10072025/21/28/image_10072025_21_29_03_9667.jpg
/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_54_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791895","1371791904","1371791891","1371791908","1371791898","1371791902"],"photo_ids_order":["1371791891","1371791895","1371791898","1371791902","1371791904","1371791908"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b37e02b149e2287dfb4f4a687b3ecb8a.jpg","text":"TemporaryFile(/tmp/multipartBody915326600999133779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288290020,"filename":"image_10072025_21_29_33_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39e6ee60ce579e9c32ad55c00c9c0620.jpg","text":"TemporaryFile(/tmp/multipartBody2505764025696697981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288290020,"filename":"image_10072025_21_29_03_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e681f04eb5161739bca328dff21341d.jpg","text":"TemporaryFile(/tmp/multipartBody7642155765013325875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288290020,"filename":"image_10072025_21_29_44_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6402bfe71a6ed5306e335d08e1cd858.jpg","text":"TemporaryFile(/tmp/multipartBody7510265316034247854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288290020,"filename":"image_10072025_21_28_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f167b189d7f93290a2c40736d956e019.jpg","text":"TemporaryFile(/tmp/multipartBody7894122564370379520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288290020,"filename":"image_10072025_21_29_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e5ba691a0636e4fb7c08b608e1cf6b5.jpg","text":"TemporaryFile(/tmp/multipartBody7524481955633518766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288290020,"filename":"image_10072025_21_29_14_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791898","file1":"1371791895","file0":"1371791891","file4":"1371791904","file5":"1371791908","file3":"1371791902"},"map_files_photo_id_array":[{"photo_id":"1371791908","filename":"file5"},{"photo_id":"1371791898","filename":"file2"},{"photo_id":"1371791904","filename":"file4"},{"photo_id":"1371791895","filename":"file1"},{"photo_id":"1371791891","filename":"file0"},{"photo_id":"1371791902","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371791895":["hashtag1","hashtag2"]},{"1371791904":["hashtag1","hashtag2"]},{"1371791891":["hashtag1","hashtag2"]},{"1371791908":["hashtag1","hashtag2"]},{"1371791898":["hashtag1","hashtag2"]},{"1371791902":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371791895, 1371791904, 1371791891, 1371791908, 1371791898, 1371791902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04887247085571 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:44:32.797227
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/44/image_12072025_04_44_44_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/04/44/image_12072025_04_44_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/04/44/image_12072025_04_44_14_10680.jpg', 2), ('/home/nano/Desktop/images/12072025/04/43/image_12072025_04_44_03_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/43/image_12072025_04_43_53_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/44/image_12072025_04_44_44_10656.jpg', '/home/nano/Desktop/images/12072025/04/44/image_12072025_04_44_33_9645.jpg', '/home/nano/Desktop/images/12072025/04/44/image_12072025_04_44_14_10680.jpg', '/home/nano/Desktop/images/12072025/04/43/image_12072025_04_44_03_9639.jpg', '/home/nano/Desktop/images/12072025/04/43/image_12072025_04_43_53_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/44/image_12072025_04_44_44_10656.jpg
/home/nano/Desktop/images/12072025/04/44/image_12072025_04_44_33_9645.jpg
/home/nano/Desktop/images/12072025/04/44/image_12072025_04_44_14_10680.jpg
/home/nano/Desktop/images/12072025/04/43/image_12072025_04_44_03_9639.jpg
/home/nano/Desktop/images/12072025/04/43/image_12072025_04_43_53_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791919","1371791927","1371791921","1371791915","1371791924"],"photo_ids_order":["1371791915","1371791919","1371791921","1371791924","1371791927"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0f63685aa0b110fcbee3689dd02d1b0.jpg","text":"TemporaryFile(/tmp/multipartBody6467562106945945074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288334004,"filename":"image_12072025_04_44_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a620cc95d6e49e6971cc6bffbd0c6ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2481506943768764665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288334004,"filename":"image_12072025_04_43_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13bb76f0ab86463395d02b5dbd545ba8.jpg","text":"TemporaryFile(/tmp/multipartBody3368703491432884066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288334004,"filename":"image_12072025_04_44_14_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f188060bd84b2f119543f43c370f49fa.jpg","text":"TemporaryFile(/tmp/multipartBody8435439890458940149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288334004,"filename":"image_12072025_04_44_44_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/300ae0c0aed337fca6aad800b8d149da.jpg","text":"TemporaryFile(/tmp/multipartBody1848782849728355574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288334004,"filename":"image_12072025_04_44_03_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791921","file1":"1371791919","file0":"1371791915","file4":"1371791927","file3":"1371791924"},"map_files_photo_id_array":[{"photo_id":"1371791921","filename":"file2"},{"photo_id":"1371791927","filename":"file4"},{"photo_id":"1371791919","filename":"file1"},{"photo_id":"1371791915","filename":"file0"},{"photo_id":"1371791924","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791919":["hashtag1","hashtag2"]},{"1371791927":["hashtag1","hashtag2"]},{"1371791921":["hashtag1","hashtag2"]},{"1371791915":["hashtag1","hashtag2"]},{"1371791924":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791919, 1371791927, 1371791921, 1371791915, 1371791924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.291449308395386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:45:02.318218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_44_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_33_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_24_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_14_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/21/27/image_10072025_21_28_03_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/21/27/image_10072025_21_27_54_10663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_44_10661.jpg', '/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_33_9652.jpg', '/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_24_9657.jpg', '/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_14_10672.jpg', '/home/nano/Desktop/images/10072025/21/27/image_10072025_21_28_03_9652.jpg', '/home/nano/Desktop/images/10072025/21/27/image_10072025_21_27_54_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_44_10661.jpg
/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_33_9652.jpg
/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_24_9657.jpg
/home/nano/Desktop/images/10072025/21/28/image_10072025_21_28_14_10672.jpg
/home/nano/Desktop/images/10072025/21/27/image_10072025_21_28_03_9652.jpg
/home/nano/Desktop/images/10072025/21/27/image_10072025_21_27_54_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791952","1371791945","1371791933","1371791936","1371791956","1371791941"],"photo_ids_order":["1371791933","1371791936","1371791941","1371791945","1371791952","1371791956"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f59372d031ef646d5f46ce8e5e37970f.jpg","text":"TemporaryFile(/tmp/multipartBody1960634624425308105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288364972,"filename":"image_10072025_21_28_03_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9ad68e31e840162dd6e996c7ecf8ade.jpg","text":"TemporaryFile(/tmp/multipartBody7995032482944570562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288364972,"filename":"image_10072025_21_28_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/409cfe0bc1b5453d62e0a8f586bdd987.jpg","text":"TemporaryFile(/tmp/multipartBody8790587924844193046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288364972,"filename":"image_10072025_21_28_44_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c7424c59ef4c84e96cc24e50e58fa31.jpg","text":"TemporaryFile(/tmp/multipartBody6979622457748806270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288364972,"filename":"image_10072025_21_28_33_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c784ff6fef8a9d533cebdefd588bf47e.jpg","text":"TemporaryFile(/tmp/multipartBody6045197361893398532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288364972,"filename":"image_10072025_21_27_54_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/540c2ca68d69c9f3bec66f30d5756499.jpg","text":"TemporaryFile(/tmp/multipartBody8366186318686353302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288364972,"filename":"image_10072025_21_28_24_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791941","file1":"1371791936","file0":"1371791933","file4":"1371791952","file5":"1371791956","file3":"1371791945"},"map_files_photo_id_array":[{"photo_id":"1371791956","filename":"file5"},{"photo_id":"1371791941","filename":"file2"},{"photo_id":"1371791952","filename":"file4"},{"photo_id":"1371791936","filename":"file1"},{"photo_id":"1371791933","filename":"file0"},{"photo_id":"1371791945","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371791952":["hashtag1","hashtag2"]},{"1371791945":["hashtag1","hashtag2"]},{"1371791933":["hashtag1","hashtag2"]},{"1371791936":["hashtag1","hashtag2"]},{"1371791956":["hashtag1","hashtag2"]},{"1371791941":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371791952, 1371791945, 1371791933, 1371791936, 1371791956, 1371791941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.951406717300415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:45:46.805742
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_44_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_34_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_14_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/04/44/image_12072025_04_45_03_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/04/44/image_12072025_04_44_53_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_44_9638.jpg', '/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_34_10665.jpg', '/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_23_9639.jpg', '/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_14_10666.jpg', '/home/nano/Desktop/images/12072025/04/44/image_12072025_04_45_03_9651.jpg', '/home/nano/Desktop/images/12072025/04/44/image_12072025_04_44_53_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_44_9638.jpg
/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_34_10665.jpg
/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_23_9639.jpg
/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_14_10666.jpg
/home/nano/Desktop/images/12072025/04/44/image_12072025_04_45_03_9651.jpg
/home/nano/Desktop/images/12072025/04/44/image_12072025_04_44_53_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371791981","1371791966","1371791975","1371791968","1371791977","1371791971"],"photo_ids_order":["1371791966","1371791968","1371791971","1371791975","1371791977","1371791981"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac2f456122cee1e91899ebea936e5d16.jpg","text":"TemporaryFile(/tmp/multipartBody3243736851865958712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288408057,"filename":"image_12072025_04_44_53_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c16459bb4629460af0cf0d1a2d8724c.jpg","text":"TemporaryFile(/tmp/multipartBody2010915867362799697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288408057,"filename":"image_12072025_04_45_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/890a5d4a50a6492bc627011ecfd42407.jpg","text":"TemporaryFile(/tmp/multipartBody8498192362695494918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288408057,"filename":"image_12072025_04_45_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eec694f2ebd013d5a546724ca3f8efcf.jpg","text":"TemporaryFile(/tmp/multipartBody8364540112041081557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288408057,"filename":"image_12072025_04_45_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e73730d3175c06549a56e589e6e2f41.jpg","text":"TemporaryFile(/tmp/multipartBody3045205976200411084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288408057,"filename":"image_12072025_04_45_03_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b48ebbed8a2cc27a36bef759c4134023.jpg","text":"TemporaryFile(/tmp/multipartBody2110091759863050809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288408057,"filename":"image_12072025_04_45_23_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791971","file1":"1371791968","file0":"1371791966","file4":"1371791977","file5":"1371791981","file3":"1371791975"},"map_files_photo_id_array":[{"photo_id":"1371791981","filename":"file5"},{"photo_id":"1371791971","filename":"file2"},{"photo_id":"1371791977","filename":"file4"},{"photo_id":"1371791968","filename":"file1"},{"photo_id":"1371791966","filename":"file0"},{"photo_id":"1371791975","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371791981":["hashtag1","hashtag2"]},{"1371791966":["hashtag1","hashtag2"]},{"1371791975":["hashtag1","hashtag2"]},{"1371791968":["hashtag1","hashtag2"]},{"1371791977":["hashtag1","hashtag2"]},{"1371791971":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371791981, 1371791966, 1371791975, 1371791968, 1371791977, 1371791971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04710102081299 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:46:31.900386
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_44_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_14_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/04/45/image_12072025_04_46_04_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_44_9638.jpg', '/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_34_10648.jpg', '/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_23_9637.jpg', '/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_14_9659.jpg', '/home/nano/Desktop/images/12072025/04/45/image_12072025_04_46_04_10669.jpg', '/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_44_9638.jpg
/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_34_10648.jpg
/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_23_9637.jpg
/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_14_9659.jpg
/home/nano/Desktop/images/12072025/04/45/image_12072025_04_46_04_10669.jpg
/home/nano/Desktop/images/12072025/04/45/image_12072025_04_45_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792000","1371791993","1371791995","1371792004","1371791997","1371791991"],"photo_ids_order":["1371791991","1371791993","1371791995","1371791997","1371792000","1371792004"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b887415282780713420dc09a92ee5d4.jpg","text":"TemporaryFile(/tmp/multipartBody7649733531997608827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288452869,"filename":"image_12072025_04_46_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6b5f305536be64e814a061eb929a348.jpg","text":"TemporaryFile(/tmp/multipartBody7094523894201516642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288452869,"filename":"image_12072025_04_46_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7256f4d6fb3ac67e87d0aee1f1a3a6dc.jpg","text":"TemporaryFile(/tmp/multipartBody7565002985192312258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288452869,"filename":"image_12072025_04_46_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9ee8605a43eb1bfa91dea0b44a3bcf7.jpg","text":"TemporaryFile(/tmp/multipartBody8643182209817679530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288452869,"filename":"image_12072025_04_45_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1e221b1a5ab1166977c49c15e7a2fa1.jpg","text":"TemporaryFile(/tmp/multipartBody3927384590011554285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288452869,"filename":"image_12072025_04_46_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc1dbffa48b3c4dea18c739c1987cbc8.jpg","text":"TemporaryFile(/tmp/multipartBody4021234120521149040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288452869,"filename":"image_12072025_04_46_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371791995","file1":"1371791993","file0":"1371791991","file4":"1371792000","file5":"1371792004","file3":"1371791997"},"map_files_photo_id_array":[{"photo_id":"1371792004","filename":"file5"},{"photo_id":"1371791995","filename":"file2"},{"photo_id":"1371792000","filename":"file4"},{"photo_id":"1371791993","filename":"file1"},{"photo_id":"1371791991","filename":"file0"},{"photo_id":"1371791997","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371792000":["hashtag1","hashtag2"]},{"1371791993":["hashtag1","hashtag2"]},{"1371791995":["hashtag1","hashtag2"]},{"1371792004":["hashtag1","hashtag2"]},{"1371791997":["hashtag1","hashtag2"]},{"1371791991":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371792000, 1371791993, 1371791995, 1371792004, 1371791997, 1371791991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.495476722717285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:47:17.012714
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_43_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/04/46/image_12072025_04_47_04_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_43_9636.jpg', '/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_34_10649.jpg', '/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_23_9639.jpg', '/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_14_9658.jpg', '/home/nano/Desktop/images/12072025/04/46/image_12072025_04_47_04_10667.jpg', '/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_43_9636.jpg
/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_34_10649.jpg
/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_23_9639.jpg
/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_14_9658.jpg
/home/nano/Desktop/images/12072025/04/46/image_12072025_04_47_04_10667.jpg
/home/nano/Desktop/images/12072025/04/46/image_12072025_04_46_53_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792021","1371792018","1371792023","1371792017","1371792025","1371792019"],"photo_ids_order":["1371792017","1371792018","1371792019","1371792021","1371792023","1371792025"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c4c038c41b9a643b6388365c9a23187.jpg","text":"TemporaryFile(/tmp/multipartBody3231342055978757968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288498246,"filename":"image_12072025_04_47_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fd6ba67a6957b7b4233f2e8ada23242.jpg","text":"TemporaryFile(/tmp/multipartBody1600345676192562390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288498246,"filename":"image_12072025_04_47_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e073d9d3d34042718a1e1de75fd9df31.jpg","text":"TemporaryFile(/tmp/multipartBody8097004409433726007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288498246,"filename":"image_12072025_04_47_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/341db8e7077f5fd806f29eb17a2ccffd.jpg","text":"TemporaryFile(/tmp/multipartBody3341652038166286126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288498246,"filename":"image_12072025_04_47_43_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96b459dc4aa2d833e92e58be811fe1eb.jpg","text":"TemporaryFile(/tmp/multipartBody9007327237287861021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288498246,"filename":"image_12072025_04_46_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d2ecb39eec0ae4c9cee65363a88e62d.jpg","text":"TemporaryFile(/tmp/multipartBody6801864047195071521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288498246,"filename":"image_12072025_04_47_23_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792019","file1":"1371792018","file0":"1371792017","file4":"1371792023","file5":"1371792025","file3":"1371792021"},"map_files_photo_id_array":[{"photo_id":"1371792025","filename":"file5"},{"photo_id":"1371792019","filename":"file2"},{"photo_id":"1371792023","filename":"file4"},{"photo_id":"1371792018","filename":"file1"},{"photo_id":"1371792017","filename":"file0"},{"photo_id":"1371792021","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371792021":["hashtag1","hashtag2"]},{"1371792018":["hashtag1","hashtag2"]},{"1371792023":["hashtag1","hashtag2"]},{"1371792017":["hashtag1","hashtag2"]},{"1371792025":["hashtag1","hashtag2"]},{"1371792019":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371792021, 1371792018, 1371792023, 1371792017, 1371792025, 1371792019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.324626207351685 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:48:02.492833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/27/image_10072025_21_27_43_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/27/image_10072025_21_27_24_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/21/27/image_10072025_21_27_13_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/21/26/image_10072025_21_27_03_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_54_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_43_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/27/image_10072025_21_27_43_9645.jpg', '/home/nano/Desktop/images/10072025/21/27/image_10072025_21_27_24_10655.jpg', '/home/nano/Desktop/images/10072025/21/27/image_10072025_21_27_13_9663.jpg', '/home/nano/Desktop/images/10072025/21/26/image_10072025_21_27_03_9666.jpg', '/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_54_10656.jpg', '/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_43_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/27/image_10072025_21_27_43_9645.jpg
/home/nano/Desktop/images/10072025/21/27/image_10072025_21_27_24_10655.jpg
/home/nano/Desktop/images/10072025/21/27/image_10072025_21_27_13_9663.jpg
/home/nano/Desktop/images/10072025/21/26/image_10072025_21_27_03_9666.jpg
/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_54_10656.jpg
/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_43_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792042","1371792045","1371792050","1371792055","1371792052","1371792048"],"photo_ids_order":["1371792042","1371792045","1371792048","1371792050","1371792052","1371792055"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84f5c250e7ec135c798c7dbbe25a062a.jpg","text":"TemporaryFile(/tmp/multipartBody2843680990987710399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288545002,"filename":"image_10072025_21_27_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f0061ea83b8ace1077326b7a927e815.jpg","text":"TemporaryFile(/tmp/multipartBody4127071185825371837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288545002,"filename":"image_10072025_21_27_24_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9130fd7a72703f6ac39fa0019dc7cae.jpg","text":"TemporaryFile(/tmp/multipartBody3150563759621725857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288545002,"filename":"image_10072025_21_27_03_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f712f8324154f74fbe0e9d055f23ee5d.jpg","text":"TemporaryFile(/tmp/multipartBody6415224797902518849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288545002,"filename":"image_10072025_21_26_43_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f0178c601632faf77f694bf639389e6.jpg","text":"TemporaryFile(/tmp/multipartBody1054917316306879671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288545002,"filename":"image_10072025_21_26_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a36a9ea0e421a69012dd407ee9a5c90.jpg","text":"TemporaryFile(/tmp/multipartBody7370501098528996084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288545002,"filename":"image_10072025_21_27_13_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792048","file1":"1371792045","file0":"1371792042","file4":"1371792052","file5":"1371792055","file3":"1371792050"},"map_files_photo_id_array":[{"photo_id":"1371792055","filename":"file5"},{"photo_id":"1371792048","filename":"file2"},{"photo_id":"1371792052","filename":"file4"},{"photo_id":"1371792045","filename":"file1"},{"photo_id":"1371792042","filename":"file0"},{"photo_id":"1371792050","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371792042":["hashtag1","hashtag2"]},{"1371792045":["hashtag1","hashtag2"]},{"1371792050":["hashtag1","hashtag2"]},{"1371792055":["hashtag1","hashtag2"]},{"1371792052":["hashtag1","hashtag2"]},{"1371792048":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371792042, 1371792045, 1371792050, 1371792055, 1371792052, 1371792048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98643374443054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:48:47.126853
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_34_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_13_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/04/47/image_12072025_04_48_04_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_43_9637.jpg', '/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_34_10654.jpg', '/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_23_9637.jpg', '/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_13_9670.jpg', '/home/nano/Desktop/images/12072025/04/47/image_12072025_04_48_04_10656.jpg', '/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_43_9637.jpg
/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_34_10654.jpg
/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_23_9637.jpg
/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_13_9670.jpg
/home/nano/Desktop/images/12072025/04/47/image_12072025_04_48_04_10656.jpg
/home/nano/Desktop/images/12072025/04/47/image_12072025_04_47_53_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792083","1371792062","1371792067","1371792078","1371792087","1371792072"],"photo_ids_order":["1371792062","1371792067","1371792072","1371792078","1371792083","1371792087"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/121425df6cf1388d46e52215d1e6579b.jpg","text":"TemporaryFile(/tmp/multipartBody3136099853356450253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288588439,"filename":"image_12072025_04_48_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/846c6e0928a8706eba776428eb467b52.jpg","text":"TemporaryFile(/tmp/multipartBody156628760165426963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288588439,"filename":"image_12072025_04_48_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3a52dce44926e5abc5b493d2753e867.jpg","text":"TemporaryFile(/tmp/multipartBody5461936177386295049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288588439,"filename":"image_12072025_04_48_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71c7c11a97df4d16635bc1bd7536fe0c.jpg","text":"TemporaryFile(/tmp/multipartBody241060987283020517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288588439,"filename":"image_12072025_04_48_13_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c06e2e90888752cdf82435f155660588.jpg","text":"TemporaryFile(/tmp/multipartBody8858952825008976591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288588439,"filename":"image_12072025_04_47_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cf557b174855bd5d4cdebb2e5a61876.jpg","text":"TemporaryFile(/tmp/multipartBody2450992121890391330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288588439,"filename":"image_12072025_04_48_23_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792072","file1":"1371792067","file0":"1371792062","file4":"1371792083","file5":"1371792087","file3":"1371792078"},"map_files_photo_id_array":[{"photo_id":"1371792087","filename":"file5"},{"photo_id":"1371792072","filename":"file2"},{"photo_id":"1371792083","filename":"file4"},{"photo_id":"1371792067","filename":"file1"},{"photo_id":"1371792062","filename":"file0"},{"photo_id":"1371792078","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371792083":["hashtag1","hashtag2"]},{"1371792062":["hashtag1","hashtag2"]},{"1371792067":["hashtag1","hashtag2"]},{"1371792078":["hashtag1","hashtag2"]},{"1371792087":["hashtag1","hashtag2"]},{"1371792072":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371792083, 1371792062, 1371792067, 1371792078, 1371792087, 1371792072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.504353046417236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:49:32.237456
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/49/image_12072025_04_49_43_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/04/49/image_12072025_04_49_34_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/49/image_12072025_04_49_13_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/04/48/image_12072025_04_49_04_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/49/image_12072025_04_49_43_9644.jpg', '/home/nano/Desktop/images/12072025/04/49/image_12072025_04_49_34_9637.jpg', '/home/nano/Desktop/images/12072025/04/49/image_12072025_04_49_13_9653.jpg', '/home/nano/Desktop/images/12072025/04/48/image_12072025_04_49_04_9650.jpg', '/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_54_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/49/image_12072025_04_49_43_9644.jpg
/home/nano/Desktop/images/12072025/04/49/image_12072025_04_49_34_9637.jpg
/home/nano/Desktop/images/12072025/04/49/image_12072025_04_49_13_9653.jpg
/home/nano/Desktop/images/12072025/04/48/image_12072025_04_49_04_9650.jpg
/home/nano/Desktop/images/12072025/04/48/image_12072025_04_48_54_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792129","1371792111","1371792124","1371792103","1371792106"],"photo_ids_order":["1371792103","1371792106","1371792111","1371792124","1371792129"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/635346a8b085490e54c29379b0e1cb4f.jpg","text":"TemporaryFile(/tmp/multipartBody3287753664034239279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288633399,"filename":"image_12072025_04_48_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6922a01a827c48249d68df3ee91edd9f.jpg","text":"TemporaryFile(/tmp/multipartBody3287847629417625505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288633399,"filename":"image_12072025_04_49_13_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbb581e2738b9d1f76cbce34c926028f.jpg","text":"TemporaryFile(/tmp/multipartBody5071708308384936832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288633399,"filename":"image_12072025_04_49_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e1e3f4f5da2c5d6ab367c57d0ae2025.jpg","text":"TemporaryFile(/tmp/multipartBody917323103504337060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288633399,"filename":"image_12072025_04_49_43_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1530149f6366a146acee3b87f99c7ebb.jpg","text":"TemporaryFile(/tmp/multipartBody4751402270757627082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288633399,"filename":"image_12072025_04_49_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792111","file1":"1371792106","file0":"1371792103","file4":"1371792129","file3":"1371792124"},"map_files_photo_id_array":[{"photo_id":"1371792111","filename":"file2"},{"photo_id":"1371792129","filename":"file4"},{"photo_id":"1371792106","filename":"file1"},{"photo_id":"1371792103","filename":"file0"},{"photo_id":"1371792124","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371792129":["hashtag1","hashtag2"]},{"1371792111":["hashtag1","hashtag2"]},{"1371792124":["hashtag1","hashtag2"]},{"1371792103":["hashtag1","hashtag2"]},{"1371792106":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371792129, 1371792111, 1371792124, 1371792103, 1371792106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.29406189918518 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:50:17.348586
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_34_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_24_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/04/49/image_12072025_04_50_04_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/04/49/image_12072025_04_49_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_43_9639.jpg', '/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_34_9657.jpg', '/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_24_10673.jpg', '/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_13_9659.jpg', '/home/nano/Desktop/images/12072025/04/49/image_12072025_04_50_04_9647.jpg', '/home/nano/Desktop/images/12072025/04/49/image_12072025_04_49_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_43_9639.jpg
/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_34_9657.jpg
/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_24_10673.jpg
/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_13_9659.jpg
/home/nano/Desktop/images/12072025/04/49/image_12072025_04_50_04_9647.jpg
/home/nano/Desktop/images/12072025/04/49/image_12072025_04_49_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792162","1371792158","1371792163","1371792157","1371792165","1371792159"],"photo_ids_order":["1371792157","1371792158","1371792159","1371792162","1371792163","1371792165"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b2ab611874ef62d32dea4bebb5d27b2.jpg","text":"TemporaryFile(/tmp/multipartBody6495465335350768774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288678623,"filename":"image_12072025_04_50_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0dcccf8a25666d05e1931ac3a975424e.jpg","text":"TemporaryFile(/tmp/multipartBody8557076788372253105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288678623,"filename":"image_12072025_04_50_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6afdcdb06a7ff419e37ee02dc822a19.jpg","text":"TemporaryFile(/tmp/multipartBody499736085594993403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288678623,"filename":"image_12072025_04_50_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa6d4c88243b9d60ff17d2ad30f3994a.jpg","text":"TemporaryFile(/tmp/multipartBody4042000992182980104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288678623,"filename":"image_12072025_04_50_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a99ae21167de346eabdb01622391689.jpg","text":"TemporaryFile(/tmp/multipartBody4048985200124460612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288678623,"filename":"image_12072025_04_49_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13eff62a2133e298b90dbbfde69e2e8d.jpg","text":"TemporaryFile(/tmp/multipartBody4116238036429964651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288678623,"filename":"image_12072025_04_50_24_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792159","file1":"1371792158","file0":"1371792157","file4":"1371792163","file5":"1371792165","file3":"1371792162"},"map_files_photo_id_array":[{"photo_id":"1371792165","filename":"file5"},{"photo_id":"1371792159","filename":"file2"},{"photo_id":"1371792163","filename":"file4"},{"photo_id":"1371792158","filename":"file1"},{"photo_id":"1371792157","filename":"file0"},{"photo_id":"1371792162","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371792162":["hashtag1","hashtag2"]},{"1371792158":["hashtag1","hashtag2"]},{"1371792163":["hashtag1","hashtag2"]},{"1371792157":["hashtag1","hashtag2"]},{"1371792165":["hashtag1","hashtag2"]},{"1371792159":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371792162, 1371792158, 1371792163, 1371792157, 1371792165, 1371792159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17565298080444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:51:02.946032
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_33_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_24_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_13_9687.jpg', 2), ('/home/nano/Desktop/images/10072025/21/25/image_10072025_21_26_03_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/21/25/image_10072025_21_25_54_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/25/image_10072025_21_25_43_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_33_9654.jpg', '/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_24_10663.jpg', '/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_13_9687.jpg', '/home/nano/Desktop/images/10072025/21/25/image_10072025_21_26_03_9665.jpg', '/home/nano/Desktop/images/10072025/21/25/image_10072025_21_25_54_10657.jpg', '/home/nano/Desktop/images/10072025/21/25/image_10072025_21_25_43_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_33_9654.jpg
/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_24_10663.jpg
/home/nano/Desktop/images/10072025/21/26/image_10072025_21_26_13_9687.jpg
/home/nano/Desktop/images/10072025/21/25/image_10072025_21_26_03_9665.jpg
/home/nano/Desktop/images/10072025/21/25/image_10072025_21_25_54_10657.jpg
/home/nano/Desktop/images/10072025/21/25/image_10072025_21_25_43_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792191","1371792193","1371792195","1371792183","1371792186","1371792189"],"photo_ids_order":["1371792183","1371792186","1371792189","1371792191","1371792193","1371792195"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1548441a9bc524c1fcc9c7c19957cb28.jpg","text":"TemporaryFile(/tmp/multipartBody290708123983368730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288725474,"filename":"image_10072025_21_26_03_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/445aac72ac117ad4b9fd29e73af122d6.jpg","text":"TemporaryFile(/tmp/multipartBody1154017715515880131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288725474,"filename":"image_10072025_21_25_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/923a3280d25b95c7dc8b55b75d6de584.jpg","text":"TemporaryFile(/tmp/multipartBody3189300237404463541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288725474,"filename":"image_10072025_21_25_43_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6befc8c439754912a73bbbc81cfd8b5e.jpg","text":"TemporaryFile(/tmp/multipartBody6386248595672681016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288725474,"filename":"image_10072025_21_26_33_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c89eb2b28722da30b73c00712532010.jpg","text":"TemporaryFile(/tmp/multipartBody5137384124691908761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288725474,"filename":"image_10072025_21_26_24_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5755a2c9f4f4d661f5736aff04e45f42.jpg","text":"TemporaryFile(/tmp/multipartBody8507858042098590655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288725474,"filename":"image_10072025_21_26_13_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792189","file1":"1371792186","file0":"1371792183","file4":"1371792193","file5":"1371792195","file3":"1371792191"},"map_files_photo_id_array":[{"photo_id":"1371792195","filename":"file5"},{"photo_id":"1371792189","filename":"file2"},{"photo_id":"1371792193","filename":"file4"},{"photo_id":"1371792186","filename":"file1"},{"photo_id":"1371792183","filename":"file0"},{"photo_id":"1371792191","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371792191":["hashtag1","hashtag2"]},{"1371792193":["hashtag1","hashtag2"]},{"1371792195":["hashtag1","hashtag2"]},{"1371792183":["hashtag1","hashtag2"]},{"1371792186":["hashtag1","hashtag2"]},{"1371792189":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371792191, 1371792193, 1371792195, 1371792183, 1371792186, 1371792189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00264811515808 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:51:47.470930
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_33_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_24_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/04/50/image_12072025_04_51_03_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_43_9640.jpg', '/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_33_9655.jpg', '/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_24_10652.jpg', '/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_13_9659.jpg', '/home/nano/Desktop/images/12072025/04/50/image_12072025_04_51_03_9670.jpg', '/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_43_9640.jpg
/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_33_9655.jpg
/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_24_10652.jpg
/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_13_9659.jpg
/home/nano/Desktop/images/12072025/04/50/image_12072025_04_51_03_9670.jpg
/home/nano/Desktop/images/12072025/04/50/image_12072025_04_50_54_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792219","1371792207","1371792215","1371792203","1371792217","1371792211"],"photo_ids_order":["1371792203","1371792207","1371792211","1371792215","1371792217","1371792219"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b5a03c235410aea4c8a2e9b9e9eec4e.jpg","text":"TemporaryFile(/tmp/multipartBody2013350683231396709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288768728,"filename":"image_12072025_04_50_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42de23d0929be3dff609e1f7c9e66ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1049771143958977160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288768728,"filename":"image_12072025_04_51_33_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68b1dc90c4260dc13cc606a52c536451.jpg","text":"TemporaryFile(/tmp/multipartBody1821534959988933348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288768728,"filename":"image_12072025_04_51_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8679fbbdd4a3675f0c659c6a5591d00.jpg","text":"TemporaryFile(/tmp/multipartBody5751744991617853550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288768728,"filename":"image_12072025_04_51_43_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d9e6035374fd576d2307d3f16e130f2.jpg","text":"TemporaryFile(/tmp/multipartBody5077449532395246775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288768728,"filename":"image_12072025_04_51_03_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7b3156fececd96a6a6242eb86fa3a1f.jpg","text":"TemporaryFile(/tmp/multipartBody6800474572631066649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288768728,"filename":"image_12072025_04_51_24_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792211","file1":"1371792207","file0":"1371792203","file4":"1371792217","file5":"1371792219","file3":"1371792215"},"map_files_photo_id_array":[{"photo_id":"1371792219","filename":"file5"},{"photo_id":"1371792211","filename":"file2"},{"photo_id":"1371792217","filename":"file4"},{"photo_id":"1371792207","filename":"file1"},{"photo_id":"1371792203","filename":"file0"},{"photo_id":"1371792215","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371792219":["hashtag1","hashtag2"]},{"1371792207":["hashtag1","hashtag2"]},{"1371792215":["hashtag1","hashtag2"]},{"1371792203":["hashtag1","hashtag2"]},{"1371792217":["hashtag1","hashtag2"]},{"1371792211":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371792219, 1371792207, 1371792215, 1371792203, 1371792217, 1371792211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32687783241272 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:52:32.576927
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_44_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_13_9682.jpg', 2), ('/home/nano/Desktop/images/12072025/04/51/image_12072025_04_52_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_54_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_44_10667.jpg', '/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_33_9637.jpg', '/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_24_10649.jpg', '/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_13_9682.jpg', '/home/nano/Desktop/images/12072025/04/51/image_12072025_04_52_03_9642.jpg', '/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_54_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_44_10667.jpg
/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_33_9637.jpg
/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_24_10649.jpg
/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_13_9682.jpg
/home/nano/Desktop/images/12072025/04/51/image_12072025_04_52_03_9642.jpg
/home/nano/Desktop/images/12072025/04/51/image_12072025_04_51_54_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792228","1371792233","1371792227","1371792241","1371792229","1371792238"],"photo_ids_order":["1371792227","1371792228","1371792229","1371792233","1371792238","1371792241"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25fea42b581c64597529145b3d7067de.jpg","text":"TemporaryFile(/tmp/multipartBody7056175003396454819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288813667,"filename":"image_12072025_04_52_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/817720829c9ee3831b80b317297bb1dc.jpg","text":"TemporaryFile(/tmp/multipartBody4391543425537186524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288813667,"filename":"image_12072025_04_52_13_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b89c0b9d568b7c0543bb3ec82a6737b3.jpg","text":"TemporaryFile(/tmp/multipartBody5464421367036056994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288813667,"filename":"image_12072025_04_52_44_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77b58ff71b8fee8b605fe6ca2c67b018.jpg","text":"TemporaryFile(/tmp/multipartBody7335691276616263681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288813667,"filename":"image_12072025_04_51_54_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d13200c9d8c1e1876180854697c8d232.jpg","text":"TemporaryFile(/tmp/multipartBody3869854958217861666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288813667,"filename":"image_12072025_04_52_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6f9a9d889779dab948b102b49a7ba40.jpg","text":"TemporaryFile(/tmp/multipartBody7578612793110159859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288813667,"filename":"image_12072025_04_52_03_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792229","file1":"1371792228","file0":"1371792227","file4":"1371792238","file5":"1371792241","file3":"1371792233"},"map_files_photo_id_array":[{"photo_id":"1371792241","filename":"file5"},{"photo_id":"1371792229","filename":"file2"},{"photo_id":"1371792238","filename":"file4"},{"photo_id":"1371792228","filename":"file1"},{"photo_id":"1371792227","filename":"file0"},{"photo_id":"1371792233","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371792228":["hashtag1","hashtag2"]},{"1371792233":["hashtag1","hashtag2"]},{"1371792227":["hashtag1","hashtag2"]},{"1371792241":["hashtag1","hashtag2"]},{"1371792229":["hashtag1","hashtag2"]},{"1371792238":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371792228, 1371792233, 1371792227, 1371792241, 1371792229, 1371792238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82144069671631 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:53:17.658950
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_44_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_33_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_24_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_14_10672.jpg', 2), ('/home/nano/Desktop/images/12072025/04/52/image_12072025_04_53_03_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_44_10654.jpg', '/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_33_9657.jpg', '/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_24_9646.jpg', '/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_14_10672.jpg', '/home/nano/Desktop/images/12072025/04/52/image_12072025_04_53_03_9650.jpg', '/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_54_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_44_10654.jpg
/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_33_9657.jpg
/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_24_9646.jpg
/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_14_10672.jpg
/home/nano/Desktop/images/12072025/04/52/image_12072025_04_53_03_9650.jpg
/home/nano/Desktop/images/12072025/04/52/image_12072025_04_52_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792257","1371792266","1371792271","1371792274","1371792262","1371792258"],"photo_ids_order":["1371792257","1371792258","1371792262","1371792266","1371792271","1371792274"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/340de325be68e46fd9d872a105db4da7.jpg","text":"TemporaryFile(/tmp/multipartBody2247905426539497457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288858700,"filename":"image_12072025_04_53_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e2186193c834d8fc055a75456e454e4.jpg","text":"TemporaryFile(/tmp/multipartBody2502006177372180644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288858700,"filename":"image_12072025_04_53_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63339d658e142e6aefed15dd636a8961.jpg","text":"TemporaryFile(/tmp/multipartBody7021952897967456849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288858700,"filename":"image_12072025_04_53_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0a8a727827b6e0e538884b69a33676c.jpg","text":"TemporaryFile(/tmp/multipartBody5592142355409795311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288858700,"filename":"image_12072025_04_52_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52b65d0eb5c33a140111075a9d0f8042.jpg","text":"TemporaryFile(/tmp/multipartBody8288143331015644573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288858700,"filename":"image_12072025_04_53_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/784c776008e49e93526266111772d3fe.jpg","text":"TemporaryFile(/tmp/multipartBody606966908240280383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288858700,"filename":"image_12072025_04_53_33_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792262","file1":"1371792258","file0":"1371792257","file4":"1371792271","file5":"1371792274","file3":"1371792266"},"map_files_photo_id_array":[{"photo_id":"1371792274","filename":"file5"},{"photo_id":"1371792262","filename":"file2"},{"photo_id":"1371792271","filename":"file4"},{"photo_id":"1371792258","filename":"file1"},{"photo_id":"1371792257","filename":"file0"},{"photo_id":"1371792266","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371792257":["hashtag1","hashtag2"]},{"1371792266":["hashtag1","hashtag2"]},{"1371792271":["hashtag1","hashtag2"]},{"1371792274":["hashtag1","hashtag2"]},{"1371792262":["hashtag1","hashtag2"]},{"1371792258":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371792257, 1371792266, 1371792271, 1371792274, 1371792262, 1371792258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00558876991272 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:54:02.401413
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/25/image_10072025_21_25_24_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/25/image_10072025_21_25_13_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/21/24/image_10072025_21_25_04_9674.jpg', 2), ('/home/nano/Desktop/images/10072025/21/24/image_10072025_21_24_54_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/24/image_10072025_21_24_43_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/21/24/image_10072025_21_24_34_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/25/image_10072025_21_25_24_10656.jpg', '/home/nano/Desktop/images/10072025/21/25/image_10072025_21_25_13_9665.jpg', '/home/nano/Desktop/images/10072025/21/24/image_10072025_21_25_04_9674.jpg', '/home/nano/Desktop/images/10072025/21/24/image_10072025_21_24_54_10656.jpg', '/home/nano/Desktop/images/10072025/21/24/image_10072025_21_24_43_9647.jpg', '/home/nano/Desktop/images/10072025/21/24/image_10072025_21_24_34_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/25/image_10072025_21_25_24_10656.jpg
/home/nano/Desktop/images/10072025/21/25/image_10072025_21_25_13_9665.jpg
/home/nano/Desktop/images/10072025/21/24/image_10072025_21_25_04_9674.jpg
/home/nano/Desktop/images/10072025/21/24/image_10072025_21_24_54_10656.jpg
/home/nano/Desktop/images/10072025/21/24/image_10072025_21_24_43_9647.jpg
/home/nano/Desktop/images/10072025/21/24/image_10072025_21_24_34_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792309","1371792300","1371792296","1371792310","1371792304","1371792307"],"photo_ids_order":["1371792296","1371792300","1371792304","1371792307","1371792309","1371792310"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/792ab83ca5e06050e0fc6d82043a876f.jpg","text":"TemporaryFile(/tmp/multipartBody1367172356838000870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288904940,"filename":"image_10072025_21_24_43_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fde9148dfef651f77c236e0dbc041fdf.jpg","text":"TemporaryFile(/tmp/multipartBody3466059318824388565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288904940,"filename":"image_10072025_21_25_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40ab3d99a2e5c7ef1cd2ac760a8c85ce.jpg","text":"TemporaryFile(/tmp/multipartBody7879742833029534723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288904940,"filename":"image_10072025_21_25_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/380b7b12658248ecfb9c88e0d169200f.jpg","text":"TemporaryFile(/tmp/multipartBody7654275618893860717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288904940,"filename":"image_10072025_21_24_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4166f84faea7c96e68c5bad74dd8f8a7.jpg","text":"TemporaryFile(/tmp/multipartBody537626530938992633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288904940,"filename":"image_10072025_21_25_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/acf18698b7fa5cd941f237cdb10e2fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3081326017576274324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288904940,"filename":"image_10072025_21_24_54_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792304","file1":"1371792300","file0":"1371792296","file4":"1371792309","file5":"1371792310","file3":"1371792307"},"map_files_photo_id_array":[{"photo_id":"1371792310","filename":"file5"},{"photo_id":"1371792304","filename":"file2"},{"photo_id":"1371792309","filename":"file4"},{"photo_id":"1371792300","filename":"file1"},{"photo_id":"1371792296","filename":"file0"},{"photo_id":"1371792307","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371792309":["hashtag1","hashtag2"]},{"1371792300":["hashtag1","hashtag2"]},{"1371792296":["hashtag1","hashtag2"]},{"1371792310":["hashtag1","hashtag2"]},{"1371792304":["hashtag1","hashtag2"]},{"1371792307":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371792309, 1371792300, 1371792296, 1371792310, 1371792304, 1371792307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88481068611145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:54:46.787141
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/54/image_12072025_04_54_44_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/04/54/image_12072025_04_54_33_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/04/54/image_12072025_04_54_24_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/04/53/image_12072025_04_54_03_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/54/image_12072025_04_54_44_10646.jpg', '/home/nano/Desktop/images/12072025/04/54/image_12072025_04_54_33_9647.jpg', '/home/nano/Desktop/images/12072025/04/54/image_12072025_04_54_24_9644.jpg', '/home/nano/Desktop/images/12072025/04/53/image_12072025_04_54_03_9647.jpg', '/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/54/image_12072025_04_54_44_10646.jpg
/home/nano/Desktop/images/12072025/04/54/image_12072025_04_54_33_9647.jpg
/home/nano/Desktop/images/12072025/04/54/image_12072025_04_54_24_9644.jpg
/home/nano/Desktop/images/12072025/04/53/image_12072025_04_54_03_9647.jpg
/home/nano/Desktop/images/12072025/04/53/image_12072025_04_53_54_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792327","1371792335","1371792332","1371792337","1371792322"],"photo_ids_order":["1371792322","1371792327","1371792332","1371792335","1371792337"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bcb55856e93d5991ae5a5f212342d554.jpg","text":"TemporaryFile(/tmp/multipartBody3998668601628429882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288947885,"filename":"image_12072025_04_54_33_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da0f45f40190d44cc9e4d773463425e4.jpg","text":"TemporaryFile(/tmp/multipartBody7131298819071721810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288947885,"filename":"image_12072025_04_54_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/580e50b0ecf8ab4530022353e81f1f2e.jpg","text":"TemporaryFile(/tmp/multipartBody6623182160130895596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288947885,"filename":"image_12072025_04_54_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2808972124d96b04f4614dcce993ac6.jpg","text":"TemporaryFile(/tmp/multipartBody5075055924143897457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288947885,"filename":"image_12072025_04_53_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cee32b88f578ea878da9f73cc99d1d4f.jpg","text":"TemporaryFile(/tmp/multipartBody266823319899220068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288947885,"filename":"image_12072025_04_54_44_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792332","file1":"1371792327","file0":"1371792322","file4":"1371792337","file3":"1371792335"},"map_files_photo_id_array":[{"photo_id":"1371792332","filename":"file2"},{"photo_id":"1371792337","filename":"file4"},{"photo_id":"1371792327","filename":"file1"},{"photo_id":"1371792322","filename":"file0"},{"photo_id":"1371792335","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371792327":["hashtag1","hashtag2"]},{"1371792335":["hashtag1","hashtag2"]},{"1371792332":["hashtag1","hashtag2"]},{"1371792337":["hashtag1","hashtag2"]},{"1371792322":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371792327, 1371792335, 1371792332, 1371792337, 1371792322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.7158100605011 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:55:16.871809
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/55/image_12072025_04_55_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/55/image_12072025_04_55_14_10681.jpg', 2), ('/home/nano/Desktop/images/12072025/04/54/image_12072025_04_55_03_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/54/image_12072025_04_54_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/55/image_12072025_04_55_33_9637.jpg', '/home/nano/Desktop/images/12072025/04/55/image_12072025_04_55_14_10681.jpg', '/home/nano/Desktop/images/12072025/04/54/image_12072025_04_55_03_9648.jpg', '/home/nano/Desktop/images/12072025/04/54/image_12072025_04_54_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/55/image_12072025_04_55_33_9637.jpg
/home/nano/Desktop/images/12072025/04/55/image_12072025_04_55_14_10681.jpg
/home/nano/Desktop/images/12072025/04/54/image_12072025_04_55_03_9648.jpg
/home/nano/Desktop/images/12072025/04/54/image_12072025_04_54_54_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792348","1371792342","1371792344","1371792346"],"photo_ids_order":["1371792342","1371792344","1371792346","1371792348"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd0b5bd280a5eabe1779de9e173cecc6.jpg","text":"TemporaryFile(/tmp/multipartBody1559946725230540814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288977704,"filename":"image_12072025_04_54_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a80b745a42af95118d6127d9cf56e76.jpg","text":"TemporaryFile(/tmp/multipartBody9101284428892818242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288977704,"filename":"image_12072025_04_55_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d6db1cc0cd0699e6c1081753e5e6dcd.jpg","text":"TemporaryFile(/tmp/multipartBody5518558218338833360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288977704,"filename":"image_12072025_04_55_14_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b243a8bc075fef1ff4fd5ddeaf443239.jpg","text":"TemporaryFile(/tmp/multipartBody7276289388129538172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752288977704,"filename":"image_12072025_04_55_03_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792346","file1":"1371792344","file0":"1371792342","file3":"1371792348"},"map_files_photo_id_array":[{"photo_id":"1371792346","filename":"file2"},{"photo_id":"1371792344","filename":"file1"},{"photo_id":"1371792342","filename":"file0"},{"photo_id":"1371792348","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371792348":["hashtag1","hashtag2"]},{"1371792342":["hashtag1","hashtag2"]},{"1371792344":["hashtag1","hashtag2"]},{"1371792346":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371792348, 1371792342, 1371792344, 1371792346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.862215995788574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:55:46.876539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/23/image_10072025_21_24_04_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_54_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_43_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_34_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_24_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_13_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/23/image_10072025_21_24_04_9654.jpg', '/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_54_10663.jpg', '/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_43_9654.jpg', '/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_34_9650.jpg', '/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_24_10654.jpg', '/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_13_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/23/image_10072025_21_24_04_9654.jpg
/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_54_10663.jpg
/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_43_9654.jpg
/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_34_9650.jpg
/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_24_10654.jpg
/home/nano/Desktop/images/10072025/21/23/image_10072025_21_23_13_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792360","1371792371","1371792374","1371792368","1371792356","1371792364"],"photo_ids_order":["1371792356","1371792360","1371792364","1371792368","1371792371","1371792374"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d7b01849172b735e26c499de8093e91.jpg","text":"TemporaryFile(/tmp/multipartBody198767847178659584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289009532,"filename":"image_10072025_21_23_54_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fe80925bb4038c9abf331b742ad0ed9.jpg","text":"TemporaryFile(/tmp/multipartBody8056895730990339539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289009532,"filename":"image_10072025_21_23_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13443dc740dbc803bb7251721090ab94.jpg","text":"TemporaryFile(/tmp/multipartBody2706896088790014468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289009532,"filename":"image_10072025_21_23_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/211223c905ab0d4521bc904f99699f9d.jpg","text":"TemporaryFile(/tmp/multipartBody1621081716410458723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289009532,"filename":"image_10072025_21_23_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86ed8b4fb26b225d5687e9475b25dd3c.jpg","text":"TemporaryFile(/tmp/multipartBody8172274961451579790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289009532,"filename":"image_10072025_21_24_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96a5a0a2a8ff4f682f101fb23c73e40b.jpg","text":"TemporaryFile(/tmp/multipartBody150002614918720612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289009532,"filename":"image_10072025_21_23_43_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792364","file1":"1371792360","file0":"1371792356","file4":"1371792371","file5":"1371792374","file3":"1371792368"},"map_files_photo_id_array":[{"photo_id":"1371792374","filename":"file5"},{"photo_id":"1371792364","filename":"file2"},{"photo_id":"1371792371","filename":"file4"},{"photo_id":"1371792360","filename":"file1"},{"photo_id":"1371792356","filename":"file0"},{"photo_id":"1371792368","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371792360":["hashtag1","hashtag2"]},{"1371792371":["hashtag1","hashtag2"]},{"1371792374":["hashtag1","hashtag2"]},{"1371792368":["hashtag1","hashtag2"]},{"1371792356":["hashtag1","hashtag2"]},{"1371792364":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371792360, 1371792371, 1371792374, 1371792368, 1371792356, 1371792364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.408411264419556 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:56:31.987625
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_23_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_14_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/04/55/image_12072025_04_56_03_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/04/55/image_12072025_04_55_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_44_10647.jpg', '/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_33_9639.jpg', '/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_23_9664.jpg', '/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_14_10665.jpg', '/home/nano/Desktop/images/12072025/04/55/image_12072025_04_56_03_9663.jpg', '/home/nano/Desktop/images/12072025/04/55/image_12072025_04_55_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_44_10647.jpg
/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_33_9639.jpg
/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_23_9664.jpg
/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_14_10665.jpg
/home/nano/Desktop/images/12072025/04/55/image_12072025_04_56_03_9663.jpg
/home/nano/Desktop/images/12072025/04/55/image_12072025_04_55_53_9638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5938236713409424 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:56:46.980954
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_23_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_14_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/04/55/image_12072025_04_56_03_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/04/55/image_12072025_04_55_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_44_10647.jpg', '/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_33_9639.jpg', '/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_23_9664.jpg', '/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_14_10665.jpg', '/home/nano/Desktop/images/12072025/04/55/image_12072025_04_56_03_9663.jpg', '/home/nano/Desktop/images/12072025/04/55/image_12072025_04_55_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_44_10647.jpg
/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_33_9639.jpg
/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_23_9664.jpg
/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_14_10665.jpg
/home/nano/Desktop/images/12072025/04/55/image_12072025_04_56_03_9663.jpg
/home/nano/Desktop/images/12072025/04/55/image_12072025_04_55_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792470","1371792417","1371792402","1371792443","1371792394","1371792399"],"photo_ids_order":["1371792394","1371792399","1371792402","1371792417","1371792443","1371792470"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2628b26a1e4c4518ee2479f81923b48.jpg","text":"TemporaryFile(/tmp/multipartBody4074661119965559520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289068325,"filename":"image_12072025_04_55_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce90100388af35b4f35267ffa497fe0a.jpg","text":"TemporaryFile(/tmp/multipartBody8434733831613051437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289068325,"filename":"image_12072025_04_56_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a59a2c9701fdd1e08da012862a31f7c1.jpg","text":"TemporaryFile(/tmp/multipartBody6032578100117870694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289068325,"filename":"image_12072025_04_56_23_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bae00177269de7d6801c60e46d81ee46.jpg","text":"TemporaryFile(/tmp/multipartBody6211955211680206300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289068325,"filename":"image_12072025_04_56_03_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39240e42a0266443322970b62bbe85ed.jpg","text":"TemporaryFile(/tmp/multipartBody5168505821564066439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289068325,"filename":"image_12072025_04_56_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3289be77b6892c328a8d9809b716b71a.jpg","text":"TemporaryFile(/tmp/multipartBody7914065868657331062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289068325,"filename":"image_12072025_04_56_33_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792402","file1":"1371792399","file0":"1371792394","file4":"1371792443","file5":"1371792470","file3":"1371792417"},"map_files_photo_id_array":[{"photo_id":"1371792470","filename":"file5"},{"photo_id":"1371792402","filename":"file2"},{"photo_id":"1371792443","filename":"file4"},{"photo_id":"1371792399","filename":"file1"},{"photo_id":"1371792394","filename":"file0"},{"photo_id":"1371792417","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371792470":["hashtag1","hashtag2"]},{"1371792417":["hashtag1","hashtag2"]},{"1371792402":["hashtag1","hashtag2"]},{"1371792443":["hashtag1","hashtag2"]},{"1371792394":["hashtag1","hashtag2"]},{"1371792399":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371792470, 1371792417, 1371792402, 1371792443, 1371792394, 1371792399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.996107578277588 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:57:32.091783
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_44_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_34_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_14_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/04/56/image_12072025_04_57_04_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_44_9645.jpg', '/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_34_10665.jpg', '/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_23_9637.jpg', '/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_14_9659.jpg', '/home/nano/Desktop/images/12072025/04/56/image_12072025_04_57_04_10664.jpg', '/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_44_9645.jpg
/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_34_10665.jpg
/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_23_9637.jpg
/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_14_9659.jpg
/home/nano/Desktop/images/12072025/04/56/image_12072025_04_57_04_10664.jpg
/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_53_9639.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:58:02.446606
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_44_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_34_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_14_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/04/56/image_12072025_04_57_04_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_44_9645.jpg', '/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_34_10665.jpg', '/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_23_9637.jpg', '/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_14_9659.jpg', '/home/nano/Desktop/images/12072025/04/56/image_12072025_04_57_04_10664.jpg', '/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_44_9645.jpg
/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_34_10665.jpg
/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_23_9637.jpg
/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_14_9659.jpg
/home/nano/Desktop/images/12072025/04/56/image_12072025_04_57_04_10664.jpg
/home/nano/Desktop/images/12072025/04/56/image_12072025_04_56_53_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371792930","1371792953","1371792859","1371792907","1371792882","1371792834"],"photo_ids_order":["1371792834","1371792859","1371792882","1371792907","1371792930","1371792953"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c951930031ac426a15d381c431cb15d1.jpg","text":"TemporaryFile(/tmp/multipartBody8066177557351413870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289143384,"filename":"image_12072025_04_57_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/926f0d36e362197a151428a68241eeac.jpg","text":"TemporaryFile(/tmp/multipartBody4438141646479414112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289143384,"filename":"image_12072025_04_56_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5144060f60d3fe111014e8925925e0f7.jpg","text":"TemporaryFile(/tmp/multipartBody5216229094069690251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289143384,"filename":"image_12072025_04_57_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ec0f83ed72414afbefaf7e34446950f.jpg","text":"TemporaryFile(/tmp/multipartBody1691553768106988471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289143384,"filename":"image_12072025_04_57_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47ee781a5ba23835c2108c520e8388d8.jpg","text":"TemporaryFile(/tmp/multipartBody1122571606026676762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289143384,"filename":"image_12072025_04_57_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53c44266b759393072710e29db4a473e.jpg","text":"TemporaryFile(/tmp/multipartBody2836363332709016344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289143384,"filename":"image_12072025_04_57_44_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371792882","file1":"1371792859","file0":"1371792834","file4":"1371792930","file5":"1371792953","file3":"1371792907"},"map_files_photo_id_array":[{"photo_id":"1371792953","filename":"file5"},{"photo_id":"1371792882","filename":"file2"},{"photo_id":"1371792930","filename":"file4"},{"photo_id":"1371792859","filename":"file1"},{"photo_id":"1371792834","filename":"file0"},{"photo_id":"1371792907","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371792930":["hashtag1","hashtag2"]},{"1371792953":["hashtag1","hashtag2"]},{"1371792859":["hashtag1","hashtag2"]},{"1371792907":["hashtag1","hashtag2"]},{"1371792882":["hashtag1","hashtag2"]},{"1371792834":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371792930, 1371792953, 1371792859, 1371792907, 1371792882, 1371792834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.231855869293213 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:59:03.134504
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/22/image_10072025_21_23_04_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/22/image_10072025_21_22_54_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/22/image_10072025_21_22_34_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/22/image_10072025_21_22_24_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/21/22/image_10072025_21_22_13_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/21/21/image_10072025_21_22_04_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/22/image_10072025_21_23_04_9645.jpg', '/home/nano/Desktop/images/10072025/21/22/image_10072025_21_22_54_10656.jpg', '/home/nano/Desktop/images/10072025/21/22/image_10072025_21_22_34_9656.jpg', '/home/nano/Desktop/images/10072025/21/22/image_10072025_21_22_24_10655.jpg', '/home/nano/Desktop/images/10072025/21/22/image_10072025_21_22_13_9664.jpg', '/home/nano/Desktop/images/10072025/21/21/image_10072025_21_22_04_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/22/image_10072025_21_23_04_9645.jpg
/home/nano/Desktop/images/10072025/21/22/image_10072025_21_22_54_10656.jpg
/home/nano/Desktop/images/10072025/21/22/image_10072025_21_22_34_9656.jpg
/home/nano/Desktop/images/10072025/21/22/image_10072025_21_22_24_10655.jpg
/home/nano/Desktop/images/10072025/21/22/image_10072025_21_22_13_9664.jpg
/home/nano/Desktop/images/10072025/21/21/image_10072025_21_22_04_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371793110","1371793367","1371793238","1371793186","1371793137","1371793298"],"photo_ids_order":["1371793110","1371793137","1371793186","1371793238","1371793298","1371793367"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a26f420592482093fbb1d2d0c9fbb5bd.jpg","text":"TemporaryFile(/tmp/multipartBody2103397648728934382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289205716,"filename":"image_10072025_21_23_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0f8b2c8d9120bfc2bd714f12bff5f6e.jpg","text":"TemporaryFile(/tmp/multipartBody4449571059188718770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289205716,"filename":"image_10072025_21_22_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32314862b1df81155b4769bd7daa4f96.jpg","text":"TemporaryFile(/tmp/multipartBody7531433723701972072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289205716,"filename":"image_10072025_21_22_24_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34177144fca66504a8c5adbcf0366761.jpg","text":"TemporaryFile(/tmp/multipartBody9104155460291113858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289205716,"filename":"image_10072025_21_22_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fb5d6a88e293a5bb286160f13cf519d.jpg","text":"TemporaryFile(/tmp/multipartBody7040687277445648006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289205716,"filename":"image_10072025_21_22_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1424fbc965247b520d16300d265d1536.jpg","text":"TemporaryFile(/tmp/multipartBody3968531698756562573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289205716,"filename":"image_10072025_21_22_13_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371793186","file1":"1371793137","file0":"1371793110","file4":"1371793298","file5":"1371793367","file3":"1371793238"},"map_files_photo_id_array":[{"photo_id":"1371793367","filename":"file5"},{"photo_id":"1371793186","filename":"file2"},{"photo_id":"1371793298","filename":"file4"},{"photo_id":"1371793137","filename":"file1"},{"photo_id":"1371793110","filename":"file0"},{"photo_id":"1371793238","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371793110":["hashtag1","hashtag2"]},{"1371793367":["hashtag1","hashtag2"]},{"1371793238":["hashtag1","hashtag2"]},{"1371793186":["hashtag1","hashtag2"]},{"1371793137":["hashtag1","hashtag2"]},{"1371793298":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371793110, 1371793367, 1371793238, 1371793186, 1371793137, 1371793298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42733597755432 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 04:59:47.434877
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/59/image_12072025_04_59_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/04/59/image_12072025_04_59_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/04/59/image_12072025_04_59_13_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/04/58/image_12072025_04_59_04_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_53_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/59/image_12072025_04_59_34_10647.jpg', '/home/nano/Desktop/images/12072025/04/59/image_12072025_04_59_23_9637.jpg', '/home/nano/Desktop/images/12072025/04/59/image_12072025_04_59_13_9641.jpg', '/home/nano/Desktop/images/12072025/04/58/image_12072025_04_59_04_10652.jpg', '/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_53_9639.jpg', '/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_44_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/59/image_12072025_04_59_34_10647.jpg
/home/nano/Desktop/images/12072025/04/59/image_12072025_04_59_23_9637.jpg
/home/nano/Desktop/images/12072025/04/59/image_12072025_04_59_13_9641.jpg
/home/nano/Desktop/images/12072025/04/58/image_12072025_04_59_04_10652.jpg
/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_53_9639.jpg
/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_44_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371793670","1371793785","1371793758","1371793836","1371793809","1371793719"],"photo_ids_order":["1371793670","1371793719","1371793758","1371793785","1371793809","1371793836"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8cdc9b500a2f726de45bf0a12d68184.jpg","text":"TemporaryFile(/tmp/multipartBody3277933900433824103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289248490,"filename":"image_12072025_04_59_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d5881312ecd81e946865328298c12c6.jpg","text":"TemporaryFile(/tmp/multipartBody3345449359556828279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289248490,"filename":"image_12072025_04_59_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2270673d68b8a764cd46b9864207cea8.jpg","text":"TemporaryFile(/tmp/multipartBody3629596807011934031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289248490,"filename":"image_12072025_04_59_13_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af838ac1889cfa89b5237378df894f64.jpg","text":"TemporaryFile(/tmp/multipartBody2830009129207061212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289248490,"filename":"image_12072025_04_58_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/978d7710d2aa8e8efdb71e47271bc1d3.jpg","text":"TemporaryFile(/tmp/multipartBody5912413522761674275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289248490,"filename":"image_12072025_04_58_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6ab1440a96b483edd69184844df7e93.jpg","text":"TemporaryFile(/tmp/multipartBody8759019051809731977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289248490,"filename":"image_12072025_04_59_23_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371793758","file1":"1371793719","file0":"1371793670","file4":"1371793809","file5":"1371793836","file3":"1371793785"},"map_files_photo_id_array":[{"photo_id":"1371793836","filename":"file5"},{"photo_id":"1371793758","filename":"file2"},{"photo_id":"1371793809","filename":"file4"},{"photo_id":"1371793719","filename":"file1"},{"photo_id":"1371793670","filename":"file0"},{"photo_id":"1371793785","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371793670":["hashtag1","hashtag2"]},{"1371793785":["hashtag1","hashtag2"]},{"1371793758":["hashtag1","hashtag2"]},{"1371793836":["hashtag1","hashtag2"]},{"1371793809":["hashtag1","hashtag2"]},{"1371793719":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371793670, 1371793785, 1371793758, 1371793836, 1371793809, 1371793719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36654877662659 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:00:32.551258
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_34_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_13_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/04/59/image_12072025_05_00_04_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/04/59/image_12072025_04_59_43_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_43_9638.jpg', '/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_34_9636.jpg', '/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_24_10649.jpg', '/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_13_9683.jpg', '/home/nano/Desktop/images/12072025/04/59/image_12072025_05_00_04_9648.jpg', '/home/nano/Desktop/images/12072025/04/59/image_12072025_04_59_43_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_43_9638.jpg
/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_34_9636.jpg
/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_24_10649.jpg
/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_13_9683.jpg
/home/nano/Desktop/images/12072025/04/59/image_12072025_05_00_04_9648.jpg
/home/nano/Desktop/images/12072025/04/59/image_12072025_04_59_43_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371794249","1371794222","1371794113","1371794200","1371794082","1371794151"],"photo_ids_order":["1371794082","1371794113","1371794151","1371794200","1371794222","1371794249"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4419b7880fe7ca7a9b3f1858aeadbf78.jpg","text":"TemporaryFile(/tmp/multipartBody4290061556171321217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289293744,"filename":"image_12072025_04_59_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28a09b14b3970fd26b9eb84ac7e6dd26.jpg","text":"TemporaryFile(/tmp/multipartBody3962009330917156574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289293744,"filename":"image_12072025_05_00_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ae3ff75e2646c10c4a3eef74d68d25c.jpg","text":"TemporaryFile(/tmp/multipartBody418389998888965553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289293744,"filename":"image_12072025_05_00_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85f96b9fc2baa4accf3568a4c0a67c99.jpg","text":"TemporaryFile(/tmp/multipartBody8703071797165647101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289293744,"filename":"image_12072025_05_00_13_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba81612fb3386648bbaa102061bcb75a.jpg","text":"TemporaryFile(/tmp/multipartBody6817290188331521329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289293744,"filename":"image_12072025_05_00_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9188e68fa9ec5b01fd9791f9229af620.jpg","text":"TemporaryFile(/tmp/multipartBody772680272772695571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289293744,"filename":"image_12072025_05_00_24_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371794151","file1":"1371794113","file0":"1371794082","file4":"1371794222","file5":"1371794249","file3":"1371794200"},"map_files_photo_id_array":[{"photo_id":"1371794249","filename":"file5"},{"photo_id":"1371794151","filename":"file2"},{"photo_id":"1371794222","filename":"file4"},{"photo_id":"1371794113","filename":"file1"},{"photo_id":"1371794082","filename":"file0"},{"photo_id":"1371794200","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371794249":["hashtag1","hashtag2"]},{"1371794222":["hashtag1","hashtag2"]},{"1371794113":["hashtag1","hashtag2"]},{"1371794200":["hashtag1","hashtag2"]},{"1371794082":["hashtag1","hashtag2"]},{"1371794151":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371794249, 1371794222, 1371794113, 1371794200, 1371794082, 1371794151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58487319946289 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:01:17.651896
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/01/image_12072025_05_01_24_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/05/01/image_12072025_05_01_13_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/05/00/image_12072025_05_01_04_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_54_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_34_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_23_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/01/image_12072025_05_01_24_10664.jpg', '/home/nano/Desktop/images/12072025/05/01/image_12072025_05_01_13_9655.jpg', '/home/nano/Desktop/images/12072025/05/00/image_12072025_05_01_04_9648.jpg', '/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_54_10654.jpg', '/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_34_10655.jpg', '/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_23_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/01/image_12072025_05_01_24_10664.jpg
/home/nano/Desktop/images/12072025/05/01/image_12072025_05_01_13_9655.jpg
/home/nano/Desktop/images/12072025/05/00/image_12072025_05_01_04_9648.jpg
/home/nano/Desktop/images/12072025/05/00/image_12072025_05_00_54_10654.jpg
/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_34_10655.jpg
/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_23_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371794546","1371794417","1371794521","1371794496","1371794468","1371794444"],"photo_ids_order":["1371794417","1371794444","1371794468","1371794496","1371794521","1371794546"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/527051f0303079f411188c0fd203fcae.jpg","text":"TemporaryFile(/tmp/multipartBody81643911540685722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289338968,"filename":"image_12072025_04_58_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d79165082baddc0b9ee98e106c1fe13b.jpg","text":"TemporaryFile(/tmp/multipartBody7623861822613848198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289338968,"filename":"image_12072025_05_01_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0cb4d9527cc58d986563a200a884682c.jpg","text":"TemporaryFile(/tmp/multipartBody5281793342833035933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289338968,"filename":"image_12072025_04_58_34_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cf5886a394ea1d40ebc8ee84aa4e69e.jpg","text":"TemporaryFile(/tmp/multipartBody8624028996690340789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289338968,"filename":"image_12072025_05_00_54_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8c16ffc2de94a1d15552d336fb17e82.jpg","text":"TemporaryFile(/tmp/multipartBody8839720931898076073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289338968,"filename":"image_12072025_05_01_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/590aea7477ae65f8d2e23844aae2e8c3.jpg","text":"TemporaryFile(/tmp/multipartBody2395228660437507389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289338968,"filename":"image_12072025_05_01_13_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371794468","file1":"1371794444","file0":"1371794417","file4":"1371794521","file5":"1371794546","file3":"1371794496"},"map_files_photo_id_array":[{"photo_id":"1371794546","filename":"file5"},{"photo_id":"1371794468","filename":"file2"},{"photo_id":"1371794521","filename":"file4"},{"photo_id":"1371794444","filename":"file1"},{"photo_id":"1371794417","filename":"file0"},{"photo_id":"1371794496","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371794546":["hashtag1","hashtag2"]},{"1371794417":["hashtag1","hashtag2"]},{"1371794521":["hashtag1","hashtag2"]},{"1371794496":["hashtag1","hashtag2"]},{"1371794468":["hashtag1","hashtag2"]},{"1371794444":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371794546, 1371794417, 1371794521, 1371794496, 1371794468, 1371794444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.022398710250854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:02:03.125165
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_14_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/04/57/image_12072025_04_58_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_14_9664.jpg', '/home/nano/Desktop/images/12072025/04/57/image_12072025_04_58_04_10661.jpg', '/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/04/58/image_12072025_04_58_14_9664.jpg
/home/nano/Desktop/images/12072025/04/57/image_12072025_04_58_04_10661.jpg
/home/nano/Desktop/images/12072025/04/57/image_12072025_04_57_53_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371794562","1371794565","1371794568"],"photo_ids_order":["1371794562","1371794565","1371794568"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7368d1499362fc29f8d9ec46a4b9b46a.jpg","text":"TemporaryFile(/tmp/multipartBody6412603182869002945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289383960,"filename":"image_12072025_04_58_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bbbf36487a8c346ca1e9dc15b5910e2.jpg","text":"TemporaryFile(/tmp/multipartBody2022330850162483820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289383960,"filename":"image_12072025_04_58_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90d063902792bcfd7bdedd5026d9d476.jpg","text":"TemporaryFile(/tmp/multipartBody8001085902997037386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289383960,"filename":"image_12072025_04_57_53_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371794568","file1":"1371794565","file0":"1371794562"},"map_files_photo_id_array":[{"photo_id":"1371794568","filename":"file2"},{"photo_id":"1371794565","filename":"file1"},{"photo_id":"1371794562","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371794562":["hashtag1","hashtag2"]},{"1371794565":["hashtag1","hashtag2"]},{"1371794568":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371794562, 1371794565, 1371794568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.179722785949707 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:02:32.741012
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_43_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_33_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_24_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_13_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/05/01/image_12072025_05_02_04_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/05/01/image_12072025_05_01_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_43_9656.jpg', '/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_33_9636.jpg', '/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_24_10665.jpg', '/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_13_9655.jpg', '/home/nano/Desktop/images/12072025/05/01/image_12072025_05_02_04_9656.jpg', '/home/nano/Desktop/images/12072025/05/01/image_12072025_05_01_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_43_9656.jpg
/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_33_9636.jpg
/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_24_10665.jpg
/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_13_9655.jpg
/home/nano/Desktop/images/12072025/05/01/image_12072025_05_02_04_9656.jpg
/home/nano/Desktop/images/12072025/05/01/image_12072025_05_01_54_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371794612","1371794638","1371794719","1371794694","1371794745","1371794667"],"photo_ids_order":["1371794612","1371794638","1371794667","1371794694","1371794719","1371794745"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d484ba29366a33bb81e6c8cfeb348f59.jpg","text":"TemporaryFile(/tmp/multipartBody2561144202393540219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289414148,"filename":"image_12072025_05_02_43_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/991d349951d6f062db97dc2a2fdb0a6b.jpg","text":"TemporaryFile(/tmp/multipartBody8134850728362207717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289414148,"filename":"image_12072025_05_02_33_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70f38b13c943bfd360d8e5d3d451168e.jpg","text":"TemporaryFile(/tmp/multipartBody8227109731732820052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289414148,"filename":"image_12072025_05_02_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fb41391690d26cad0e0f12408e511b1.jpg","text":"TemporaryFile(/tmp/multipartBody4590516549478814312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289414148,"filename":"image_12072025_05_02_13_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14d56cd54ec699a17d610c81cc9f849d.jpg","text":"TemporaryFile(/tmp/multipartBody8551686120176825029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289414148,"filename":"image_12072025_05_01_54_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5de2c35b017ef23d96c408589d5d9bf1.jpg","text":"TemporaryFile(/tmp/multipartBody4212990157048427378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289414148,"filename":"image_12072025_05_02_24_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371794667","file1":"1371794638","file0":"1371794612","file4":"1371794719","file5":"1371794745","file3":"1371794694"},"map_files_photo_id_array":[{"photo_id":"1371794745","filename":"file5"},{"photo_id":"1371794667","filename":"file2"},{"photo_id":"1371794719","filename":"file4"},{"photo_id":"1371794638","filename":"file1"},{"photo_id":"1371794612","filename":"file0"},{"photo_id":"1371794694","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371794612":["hashtag1","hashtag2"]},{"1371794638":["hashtag1","hashtag2"]},{"1371794719":["hashtag1","hashtag2"]},{"1371794694":["hashtag1","hashtag2"]},{"1371794745":["hashtag1","hashtag2"]},{"1371794667":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371794612, 1371794638, 1371794719, 1371794694, 1371794745, 1371794667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45211720466614 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:03:16.835271
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_44_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_24_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_13_9678.jpg', 2), ('/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_44_10654.jpg', '/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_33_9638.jpg', '/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_24_10655.jpg', '/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_13_9678.jpg', '/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_44_10654.jpg
/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_33_9638.jpg
/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_24_10655.jpg
/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_13_9678.jpg
/home/nano/Desktop/images/12072025/05/02/image_12072025_05_02_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371794843","1371794906","1371794841","1371794879","1371794852"],"photo_ids_order":["1371794841","1371794843","1371794852","1371794879","1371794906"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a82c4a22d849cfa7ffe9dbc2881ab98.jpg","text":"TemporaryFile(/tmp/multipartBody9216579942266750820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289458109,"filename":"image_12072025_05_03_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/688d985aba7b020da7c7d9e35f777e39.jpg","text":"TemporaryFile(/tmp/multipartBody1260822915523249048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289458109,"filename":"image_12072025_05_02_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84e2bd5d9aab21cfa0f00f612fa69d8a.jpg","text":"TemporaryFile(/tmp/multipartBody984139457154452496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289458109,"filename":"image_12072025_05_03_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/acb7531fd553e5e3335ba26dcafc1957.jpg","text":"TemporaryFile(/tmp/multipartBody4956002663742701081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289458109,"filename":"image_12072025_05_03_13_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/484fbdf5d2085ae60c20b496b180d9b8.jpg","text":"TemporaryFile(/tmp/multipartBody2968784666559058556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289458109,"filename":"image_12072025_05_03_24_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371794852","file1":"1371794843","file0":"1371794841","file4":"1371794906","file3":"1371794879"},"map_files_photo_id_array":[{"photo_id":"1371794852","filename":"file2"},{"photo_id":"1371794906","filename":"file4"},{"photo_id":"1371794843","filename":"file1"},{"photo_id":"1371794841","filename":"file0"},{"photo_id":"1371794879","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371794843":["hashtag1","hashtag2"]},{"1371794906":["hashtag1","hashtag2"]},{"1371794841":["hashtag1","hashtag2"]},{"1371794879":["hashtag1","hashtag2"]},{"1371794852":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371794843, 1371794906, 1371794841, 1371794879, 1371794852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.976003408432007 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:04:02.490885
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/21/image_10072025_21_21_54_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/21/image_10072025_21_21_34_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/21/21/image_10072025_21_21_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/20/image_10072025_21_21_04_10671.jpg', 2), ('/home/nano/Desktop/images/10072025/21/20/image_10072025_21_20_53_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/21/20/image_10072025_21_20_43_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/21/image_10072025_21_21_54_10657.jpg', '/home/nano/Desktop/images/10072025/21/21/image_10072025_21_21_34_10655.jpg', '/home/nano/Desktop/images/10072025/21/21/image_10072025_21_21_23_9645.jpg', '/home/nano/Desktop/images/10072025/21/20/image_10072025_21_21_04_10671.jpg', '/home/nano/Desktop/images/10072025/21/20/image_10072025_21_20_53_9649.jpg', '/home/nano/Desktop/images/10072025/21/20/image_10072025_21_20_43_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/21/image_10072025_21_21_54_10657.jpg
/home/nano/Desktop/images/10072025/21/21/image_10072025_21_21_34_10655.jpg
/home/nano/Desktop/images/10072025/21/21/image_10072025_21_21_23_9645.jpg
/home/nano/Desktop/images/10072025/21/20/image_10072025_21_21_04_10671.jpg
/home/nano/Desktop/images/10072025/21/20/image_10072025_21_20_53_9649.jpg
/home/nano/Desktop/images/10072025/21/20/image_10072025_21_20_43_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371794992","1371794991","1371794988","1371794990","1371794984","1371794987"],"photo_ids_order":["1371794984","1371794987","1371794988","1371794990","1371794991","1371794992"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f648eb9586c74ca606dedc273b8e042a.jpg","text":"TemporaryFile(/tmp/multipartBody3108822643591058528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289505094,"filename":"image_10072025_21_20_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c06252e85dc7ed2c6b5d3990e1532fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2438445753837659681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289505094,"filename":"image_10072025_21_20_53_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7bc8d32be66a662b3cb069bee3ec0f09.jpg","text":"TemporaryFile(/tmp/multipartBody2884418134131995249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289505094,"filename":"image_10072025_21_21_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a361f4bf90231a62f9d5440c2b809002.jpg","text":"TemporaryFile(/tmp/multipartBody4838483364336664522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289505094,"filename":"image_10072025_21_21_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e29cd000fa988bcb5c1db0a2a1ff6771.jpg","text":"TemporaryFile(/tmp/multipartBody2488698144251584194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289505094,"filename":"image_10072025_21_21_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6415043478d684fec040823f245b0c3.jpg","text":"TemporaryFile(/tmp/multipartBody2037911951435974699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289505094,"filename":"image_10072025_21_21_34_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371794988","file1":"1371794987","file0":"1371794984","file4":"1371794991","file5":"1371794992","file3":"1371794990"},"map_files_photo_id_array":[{"photo_id":"1371794992","filename":"file5"},{"photo_id":"1371794988","filename":"file2"},{"photo_id":"1371794991","filename":"file4"},{"photo_id":"1371794987","filename":"file1"},{"photo_id":"1371794984","filename":"file0"},{"photo_id":"1371794990","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371794992":["hashtag1","hashtag2"]},{"1371794991":["hashtag1","hashtag2"]},{"1371794988":["hashtag1","hashtag2"]},{"1371794990":["hashtag1","hashtag2"]},{"1371794984":["hashtag1","hashtag2"]},{"1371794987":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371794992, 1371794991, 1371794988, 1371794990, 1371794984, 1371794987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.828237771987915 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:04:47.047450
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_14_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/05/03/image_12072025_05_04_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_54_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_44_10647.jpg', '/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_33_9638.jpg', '/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_24_9638.jpg', '/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_14_10670.jpg', '/home/nano/Desktop/images/12072025/05/03/image_12072025_05_04_03_9645.jpg', '/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_54_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_44_10647.jpg
/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_33_9638.jpg
/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_24_9638.jpg
/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_14_10670.jpg
/home/nano/Desktop/images/12072025/05/03/image_12072025_05_04_03_9645.jpg
/home/nano/Desktop/images/12072025/05/03/image_12072025_05_03_54_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795022","1371795025","1371795028","1371795009","1371795012","1371795014"],"photo_ids_order":["1371795009","1371795012","1371795014","1371795022","1371795025","1371795028"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7572c811d76ce5aefba600f2f894ed3.jpg","text":"TemporaryFile(/tmp/multipartBody4906976556090320366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289548292,"filename":"image_12072025_05_04_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c74475c0f705c85d105da8ed6619a37.jpg","text":"TemporaryFile(/tmp/multipartBody2022440182938856584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289548292,"filename":"image_12072025_05_04_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54d5ea5f793763dbd40db3cb81941039.jpg","text":"TemporaryFile(/tmp/multipartBody3222681911812592529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289548292,"filename":"image_12072025_05_03_54_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e184070f445676e1b70a1539cab3afe0.jpg","text":"TemporaryFile(/tmp/multipartBody8214541187332019947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289548292,"filename":"image_12072025_05_04_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6fcdc726aeeba748e532dfe503366b83.jpg","text":"TemporaryFile(/tmp/multipartBody1227230449724455019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289548292,"filename":"image_12072025_05_04_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d1d7f228f6fce6e18fc2e837f907c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4826872768531141593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289548292,"filename":"image_12072025_05_04_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795014","file1":"1371795012","file0":"1371795009","file4":"1371795025","file5":"1371795028","file3":"1371795022"},"map_files_photo_id_array":[{"photo_id":"1371795028","filename":"file5"},{"photo_id":"1371795014","filename":"file2"},{"photo_id":"1371795025","filename":"file4"},{"photo_id":"1371795012","filename":"file1"},{"photo_id":"1371795009","filename":"file0"},{"photo_id":"1371795022","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795022":["hashtag1","hashtag2"]},{"1371795025":["hashtag1","hashtag2"]},{"1371795028":["hashtag1","hashtag2"]},{"1371795009":["hashtag1","hashtag2"]},{"1371795012":["hashtag1","hashtag2"]},{"1371795014":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795022, 1371795025, 1371795028, 1371795009, 1371795012, 1371795014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4870069026947 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:05:32.143945
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_24_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_14_10681.jpg', 2), ('/home/nano/Desktop/images/12072025/05/04/image_12072025_05_05_03_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_44_10647.jpg', '/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_33_9637.jpg', '/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_24_9636.jpg', '/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_14_10681.jpg', '/home/nano/Desktop/images/12072025/05/04/image_12072025_05_05_03_9662.jpg', '/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_44_10647.jpg
/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_33_9637.jpg
/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_24_9636.jpg
/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_14_10681.jpg
/home/nano/Desktop/images/12072025/05/04/image_12072025_05_05_03_9662.jpg
/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_54_9638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2556915283203125 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:05:47.146142
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_24_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_14_10681.jpg', 2), ('/home/nano/Desktop/images/12072025/05/04/image_12072025_05_05_03_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_44_10647.jpg', '/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_33_9637.jpg', '/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_24_9636.jpg', '/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_14_10681.jpg', '/home/nano/Desktop/images/12072025/05/04/image_12072025_05_05_03_9662.jpg', '/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_44_10647.jpg
/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_33_9637.jpg
/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_24_9636.jpg
/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_14_10681.jpg
/home/nano/Desktop/images/12072025/05/04/image_12072025_05_05_03_9662.jpg
/home/nano/Desktop/images/12072025/05/04/image_12072025_05_04_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795055","1371795058","1371795062","1371795065","1371795050","1371795068"],"photo_ids_order":["1371795050","1371795055","1371795058","1371795062","1371795065","1371795068"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1467bfa9a3ab8b729cb112b298acb46e.jpg","text":"TemporaryFile(/tmp/multipartBody1852589418997879803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289607999,"filename":"image_12072025_05_05_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3792d8f790fb6dce032df410774c2137.jpg","text":"TemporaryFile(/tmp/multipartBody2724361630308777194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289607999,"filename":"image_12072025_05_05_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d5e9a886424a3876db00c2a631abd63.jpg","text":"TemporaryFile(/tmp/multipartBody5342743344855550277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289607999,"filename":"image_12072025_05_05_14_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac53fd28d66d09464e58f798b6c27b73.jpg","text":"TemporaryFile(/tmp/multipartBody8345736871632461716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289607999,"filename":"image_12072025_05_05_03_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90b35775df19f079c7de03b511a3add3.jpg","text":"TemporaryFile(/tmp/multipartBody462583707870309825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289607999,"filename":"image_12072025_05_05_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d3c134fac1a47e84ddc468c477b5084.jpg","text":"TemporaryFile(/tmp/multipartBody4891814414773723687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289607999,"filename":"image_12072025_05_04_54_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795058","file1":"1371795055","file0":"1371795050","file4":"1371795065","file5":"1371795068","file3":"1371795062"},"map_files_photo_id_array":[{"photo_id":"1371795068","filename":"file5"},{"photo_id":"1371795058","filename":"file2"},{"photo_id":"1371795065","filename":"file4"},{"photo_id":"1371795055","filename":"file1"},{"photo_id":"1371795050","filename":"file0"},{"photo_id":"1371795062","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795055":["hashtag1","hashtag2"]},{"1371795058":["hashtag1","hashtag2"]},{"1371795062":["hashtag1","hashtag2"]},{"1371795065":["hashtag1","hashtag2"]},{"1371795050":["hashtag1","hashtag2"]},{"1371795068":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795055, 1371795058, 1371795062, 1371795065, 1371795050, 1371795068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34260964393616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:06:32.316462
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_33_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_14_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/05/05/image_12072025_05_06_03_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_54_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_44_10647.jpg', '/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_33_9641.jpg', '/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_23_9638.jpg', '/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_14_10673.jpg', '/home/nano/Desktop/images/12072025/05/05/image_12072025_05_06_03_9648.jpg', '/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_44_10647.jpg
/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_33_9641.jpg
/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_23_9638.jpg
/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_14_10673.jpg
/home/nano/Desktop/images/12072025/05/05/image_12072025_05_06_03_9648.jpg
/home/nano/Desktop/images/12072025/05/05/image_12072025_05_05_54_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795088","1371795082","1371795084","1371795080","1371795077","1371795079"],"photo_ids_order":["1371795077","1371795079","1371795080","1371795082","1371795084","1371795088"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3bef45ce786e8511c2d31601918c051.jpg","text":"TemporaryFile(/tmp/multipartBody6112825962359939104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289653304,"filename":"image_12072025_05_05_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79c76fd66a6157877e5ff44d235d1301.jpg","text":"TemporaryFile(/tmp/multipartBody4234792067579413086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289653304,"filename":"image_12072025_05_06_14_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/374f87b718a038e75055ad56dd6256c7.jpg","text":"TemporaryFile(/tmp/multipartBody4472656526310430993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289653304,"filename":"image_12072025_05_06_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8c32a97591ba6a78c4c2613234c0b1e.jpg","text":"TemporaryFile(/tmp/multipartBody8898304343634568944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289653304,"filename":"image_12072025_05_06_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/654db4392f483361c5447c0ef3c69235.jpg","text":"TemporaryFile(/tmp/multipartBody5676912060989598267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289653304,"filename":"image_12072025_05_06_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2780899e5458dbe870399cf02ff2d9c.jpg","text":"TemporaryFile(/tmp/multipartBody8502587906428816758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289653304,"filename":"image_12072025_05_06_33_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795080","file1":"1371795079","file0":"1371795077","file4":"1371795084","file5":"1371795088","file3":"1371795082"},"map_files_photo_id_array":[{"photo_id":"1371795088","filename":"file5"},{"photo_id":"1371795080","filename":"file2"},{"photo_id":"1371795084","filename":"file4"},{"photo_id":"1371795079","filename":"file1"},{"photo_id":"1371795077","filename":"file0"},{"photo_id":"1371795082","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795088":["hashtag1","hashtag2"]},{"1371795082":["hashtag1","hashtag2"]},{"1371795084":["hashtag1","hashtag2"]},{"1371795080":["hashtag1","hashtag2"]},{"1371795077":["hashtag1","hashtag2"]},{"1371795079":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795088, 1371795082, 1371795084, 1371795080, 1371795077, 1371795079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.335660457611084 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:07:17.437208
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_44_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_34_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_14_9680.jpg', 2), ('/home/nano/Desktop/images/12072025/05/06/image_12072025_05_07_04_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_44_9644.jpg', '/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_34_10646.jpg', '/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_23_9637.jpg', '/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_14_9680.jpg', '/home/nano/Desktop/images/12072025/05/06/image_12072025_05_07_04_10675.jpg', '/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_44_9644.jpg
/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_34_10646.jpg
/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_23_9637.jpg
/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_14_9680.jpg
/home/nano/Desktop/images/12072025/05/06/image_12072025_05_07_04_10675.jpg
/home/nano/Desktop/images/12072025/05/06/image_12072025_05_06_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795106","1371795120","1371795114","1371795108","1371795110","1371795116"],"photo_ids_order":["1371795106","1371795108","1371795110","1371795114","1371795116","1371795120"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5da27c7c896d3717c8e97d0b5b6da4e.jpg","text":"TemporaryFile(/tmp/multipartBody3434916776983441657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289698951,"filename":"image_12072025_05_07_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9e4b765205634ce275eac5e9607764b.jpg","text":"TemporaryFile(/tmp/multipartBody5655559741379256780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289698951,"filename":"image_12072025_05_06_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0dde5ee6dccee88e0676c3aebea9321.jpg","text":"TemporaryFile(/tmp/multipartBody7745713544938039062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289698951,"filename":"image_12072025_05_07_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e683a3cba6c611e4b660a5308387670.jpg","text":"TemporaryFile(/tmp/multipartBody5507587787854473766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289698951,"filename":"image_12072025_05_07_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d884ebef4f78e3233896577f4614bdd.jpg","text":"TemporaryFile(/tmp/multipartBody6002240372057793556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289698951,"filename":"image_12072025_05_07_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb2e83f8f51c198650d649e74b144976.jpg","text":"TemporaryFile(/tmp/multipartBody8625233075413853976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289698951,"filename":"image_12072025_05_07_04_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795110","file1":"1371795108","file0":"1371795106","file4":"1371795116","file5":"1371795120","file3":"1371795114"},"map_files_photo_id_array":[{"photo_id":"1371795120","filename":"file5"},{"photo_id":"1371795110","filename":"file2"},{"photo_id":"1371795116","filename":"file4"},{"photo_id":"1371795108","filename":"file1"},{"photo_id":"1371795106","filename":"file0"},{"photo_id":"1371795114","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795106":["hashtag1","hashtag2"]},{"1371795120":["hashtag1","hashtag2"]},{"1371795114":["hashtag1","hashtag2"]},{"1371795108":["hashtag1","hashtag2"]},{"1371795110":["hashtag1","hashtag2"]},{"1371795116":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795106, 1371795120, 1371795114, 1371795108, 1371795110, 1371795116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5888032913208 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:08:02.753403
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/20/image_10072025_21_20_34_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/21/20/image_10072025_21_20_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/19/image_10072025_21_20_04_10668.jpg', 2), ('/home/nano/Desktop/images/10072025/21/19/image_10072025_21_19_53_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/19/image_10072025_21_19_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/19/image_10072025_21_19_34_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/20/image_10072025_21_20_34_10664.jpg', '/home/nano/Desktop/images/10072025/21/20/image_10072025_21_20_23_9646.jpg', '/home/nano/Desktop/images/10072025/21/19/image_10072025_21_20_04_10668.jpg', '/home/nano/Desktop/images/10072025/21/19/image_10072025_21_19_53_9645.jpg', '/home/nano/Desktop/images/10072025/21/19/image_10072025_21_19_43_9646.jpg', '/home/nano/Desktop/images/10072025/21/19/image_10072025_21_19_34_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/20/image_10072025_21_20_34_10664.jpg
/home/nano/Desktop/images/10072025/21/20/image_10072025_21_20_23_9646.jpg
/home/nano/Desktop/images/10072025/21/19/image_10072025_21_20_04_10668.jpg
/home/nano/Desktop/images/10072025/21/19/image_10072025_21_19_53_9645.jpg
/home/nano/Desktop/images/10072025/21/19/image_10072025_21_19_43_9646.jpg
/home/nano/Desktop/images/10072025/21/19/image_10072025_21_19_34_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795142","1371795144","1371795138","1371795137","1371795146","1371795140"],"photo_ids_order":["1371795137","1371795138","1371795140","1371795142","1371795144","1371795146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/660a5575de4604c10717a14b9e2b944e.jpg","text":"TemporaryFile(/tmp/multipartBody7753170585944306126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289745277,"filename":"image_10072025_21_19_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/314d43df997d8d52bc38bf99e57863aa.jpg","text":"TemporaryFile(/tmp/multipartBody6613538122180989312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289745277,"filename":"image_10072025_21_19_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/295484822b4b70df33be1f438b9e16ee.jpg","text":"TemporaryFile(/tmp/multipartBody7620301386355741073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289745277,"filename":"image_10072025_21_20_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f975fd06278c3e1d6ee92f8ea2c0a15a.jpg","text":"TemporaryFile(/tmp/multipartBody521067056237159736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289745277,"filename":"image_10072025_21_20_34_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/581eddecd62da481a854ddb4ada81134.jpg","text":"TemporaryFile(/tmp/multipartBody5269323901393628213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289745277,"filename":"image_10072025_21_19_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5e10a729e116c960900e251eb61ea7c.jpg","text":"TemporaryFile(/tmp/multipartBody2774715928406303429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289745277,"filename":"image_10072025_21_20_04_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795140","file1":"1371795138","file0":"1371795137","file4":"1371795144","file5":"1371795146","file3":"1371795142"},"map_files_photo_id_array":[{"photo_id":"1371795146","filename":"file5"},{"photo_id":"1371795140","filename":"file2"},{"photo_id":"1371795144","filename":"file4"},{"photo_id":"1371795138","filename":"file1"},{"photo_id":"1371795137","filename":"file0"},{"photo_id":"1371795142","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371795142":["hashtag1","hashtag2"]},{"1371795144":["hashtag1","hashtag2"]},{"1371795138":["hashtag1","hashtag2"]},{"1371795137":["hashtag1","hashtag2"]},{"1371795146":["hashtag1","hashtag2"]},{"1371795140":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371795142, 1371795144, 1371795138, 1371795137, 1371795146, 1371795140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.716564655303955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:08:47.601987
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/08/image_12072025_05_08_44_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/05/08/image_12072025_05_08_34_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/08/image_12072025_05_08_23_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/05/07/image_12072025_05_08_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_53_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/08/image_12072025_05_08_44_9644.jpg', '/home/nano/Desktop/images/12072025/05/08/image_12072025_05_08_34_10654.jpg', '/home/nano/Desktop/images/12072025/05/08/image_12072025_05_08_23_9653.jpg', '/home/nano/Desktop/images/12072025/05/07/image_12072025_05_08_04_10657.jpg', '/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_53_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/08/image_12072025_05_08_44_9644.jpg
/home/nano/Desktop/images/12072025/05/08/image_12072025_05_08_34_10654.jpg
/home/nano/Desktop/images/12072025/05/08/image_12072025_05_08_23_9653.jpg
/home/nano/Desktop/images/12072025/05/07/image_12072025_05_08_04_10657.jpg
/home/nano/Desktop/images/12072025/05/07/image_12072025_05_07_53_9646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795169","1371795162","1371795159","1371795168","1371795164"],"photo_ids_order":["1371795159","1371795162","1371795164","1371795168","1371795169"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8c39d9c5b2081dbacb08b3ca3e853b9.jpg","text":"TemporaryFile(/tmp/multipartBody7254941788721286845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289788557,"filename":"image_12072025_05_07_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12eb4dd721b2c352c7858a6345b6d4a8.jpg","text":"TemporaryFile(/tmp/multipartBody8148333358943801838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289788557,"filename":"image_12072025_05_08_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/202773ac6d1280de5432a5f77862c0fe.jpg","text":"TemporaryFile(/tmp/multipartBody6393923641499615343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289788557,"filename":"image_12072025_05_08_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/860dda0d0fa099d67889ded7e0027f58.jpg","text":"TemporaryFile(/tmp/multipartBody7621613726060710443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289788557,"filename":"image_12072025_05_08_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/193eca1e36cc3ab96c452e128d317518.jpg","text":"TemporaryFile(/tmp/multipartBody5600685929093267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289788557,"filename":"image_12072025_05_08_23_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795164","file1":"1371795162","file0":"1371795159","file4":"1371795169","file3":"1371795168"},"map_files_photo_id_array":[{"photo_id":"1371795164","filename":"file2"},{"photo_id":"1371795169","filename":"file4"},{"photo_id":"1371795162","filename":"file1"},{"photo_id":"1371795159","filename":"file0"},{"photo_id":"1371795168","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795169":["hashtag1","hashtag2"]},{"1371795162":["hashtag1","hashtag2"]},{"1371795159":["hashtag1","hashtag2"]},{"1371795168":["hashtag1","hashtag2"]},{"1371795164":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795169, 1371795162, 1371795159, 1371795168, 1371795164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.106775760650635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:09:17.726118
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/09/image_12072025_05_09_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/05/09/image_12072025_05_09_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/05/09/image_12072025_05_09_14_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/05/08/image_12072025_05_09_04_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/05/08/image_12072025_05_08_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/09/image_12072025_05_09_43_9645.jpg', '/home/nano/Desktop/images/12072025/05/09/image_12072025_05_09_34_10653.jpg', '/home/nano/Desktop/images/12072025/05/09/image_12072025_05_09_14_9661.jpg', '/home/nano/Desktop/images/12072025/05/08/image_12072025_05_09_04_10666.jpg', '/home/nano/Desktop/images/12072025/05/08/image_12072025_05_08_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/09/image_12072025_05_09_43_9645.jpg
/home/nano/Desktop/images/12072025/05/09/image_12072025_05_09_34_10653.jpg
/home/nano/Desktop/images/12072025/05/09/image_12072025_05_09_14_9661.jpg
/home/nano/Desktop/images/12072025/05/08/image_12072025_05_09_04_10666.jpg
/home/nano/Desktop/images/12072025/05/08/image_12072025_05_08_53_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795172","1371795180","1371795177","1371795174","1371795182"],"photo_ids_order":["1371795172","1371795174","1371795177","1371795180","1371795182"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce0b2b3864b1951a9100239089344e22.jpg","text":"TemporaryFile(/tmp/multipartBody2136261056996205777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289818674,"filename":"image_12072025_05_09_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0925da6c765d63b00529050305e6d4e7.jpg","text":"TemporaryFile(/tmp/multipartBody5849844110263538029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289818674,"filename":"image_12072025_05_09_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e50b44e85068faecf5af0bad851ddc0.jpg","text":"TemporaryFile(/tmp/multipartBody4940940700639120215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289818674,"filename":"image_12072025_05_09_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da35ca61055a1f4150ca432a4e98bb59.jpg","text":"TemporaryFile(/tmp/multipartBody588840677558253401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289818674,"filename":"image_12072025_05_09_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8207b1631c8253d39c4feed592b0846d.jpg","text":"TemporaryFile(/tmp/multipartBody4297321732785756278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289818674,"filename":"image_12072025_05_08_53_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795177","file1":"1371795174","file0":"1371795172","file4":"1371795182","file3":"1371795180"},"map_files_photo_id_array":[{"photo_id":"1371795177","filename":"file2"},{"photo_id":"1371795182","filename":"file4"},{"photo_id":"1371795174","filename":"file1"},{"photo_id":"1371795172","filename":"file0"},{"photo_id":"1371795180","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795172":["hashtag1","hashtag2"]},{"1371795180":["hashtag1","hashtag2"]},{"1371795177":["hashtag1","hashtag2"]},{"1371795174":["hashtag1","hashtag2"]},{"1371795182":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795172, 1371795180, 1371795177, 1371795174, 1371795182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.262614488601685 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:09:47.679689
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/19/image_10072025_21_19_14_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/21/18/image_10072025_21_19_04_10673.jpg', 2), ('/home/nano/Desktop/images/10072025/21/18/image_10072025_21_18_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/18/image_10072025_21_18_44_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/18/image_10072025_21_18_34_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/18/image_10072025_21_18_23_9671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/19/image_10072025_21_19_14_9664.jpg', '/home/nano/Desktop/images/10072025/21/18/image_10072025_21_19_04_10673.jpg', '/home/nano/Desktop/images/10072025/21/18/image_10072025_21_18_53_9646.jpg', '/home/nano/Desktop/images/10072025/21/18/image_10072025_21_18_44_9646.jpg', '/home/nano/Desktop/images/10072025/21/18/image_10072025_21_18_34_10656.jpg', '/home/nano/Desktop/images/10072025/21/18/image_10072025_21_18_23_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/19/image_10072025_21_19_14_9664.jpg
/home/nano/Desktop/images/10072025/21/18/image_10072025_21_19_04_10673.jpg
/home/nano/Desktop/images/10072025/21/18/image_10072025_21_18_53_9646.jpg
/home/nano/Desktop/images/10072025/21/18/image_10072025_21_18_44_9646.jpg
/home/nano/Desktop/images/10072025/21/18/image_10072025_21_18_34_10656.jpg
/home/nano/Desktop/images/10072025/21/18/image_10072025_21_18_23_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795214","1371795211","1371795216","1371795224","1371795218","1371795221"],"photo_ids_order":["1371795211","1371795214","1371795216","1371795218","1371795221","1371795224"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c582e38bc925d32d5efeefa53e27200f.jpg","text":"TemporaryFile(/tmp/multipartBody3351713766427925573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289850398,"filename":"image_10072025_21_19_04_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2dd9959161f6e27fc58d718c94cbbd17.jpg","text":"TemporaryFile(/tmp/multipartBody8722645433268384468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289850398,"filename":"image_10072025_21_19_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/615241a4c4f5538f9202ede7e875d7ef.jpg","text":"TemporaryFile(/tmp/multipartBody5341700807780461509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289850398,"filename":"image_10072025_21_18_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93228f1fb3ec4c12995b02e6ddd832bf.jpg","text":"TemporaryFile(/tmp/multipartBody6394882920012182671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289850398,"filename":"image_10072025_21_18_23_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d083850f205bd5d1509ea5cf687f0fe.jpg","text":"TemporaryFile(/tmp/multipartBody8984129955771806075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289850398,"filename":"image_10072025_21_18_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d39f27517eb764022bb4710751fd0cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2233760108611312138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289850398,"filename":"image_10072025_21_18_34_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795216","file1":"1371795214","file0":"1371795211","file4":"1371795221","file5":"1371795224","file3":"1371795218"},"map_files_photo_id_array":[{"photo_id":"1371795224","filename":"file5"},{"photo_id":"1371795216","filename":"file2"},{"photo_id":"1371795221","filename":"file4"},{"photo_id":"1371795214","filename":"file1"},{"photo_id":"1371795211","filename":"file0"},{"photo_id":"1371795218","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371795214":["hashtag1","hashtag2"]},{"1371795211":["hashtag1","hashtag2"]},{"1371795216":["hashtag1","hashtag2"]},{"1371795224":["hashtag1","hashtag2"]},{"1371795218":["hashtag1","hashtag2"]},{"1371795221":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371795214, 1371795211, 1371795216, 1371795224, 1371795218, 1371795221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.675252199172974 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:10:31.790279
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/10/image_12072025_05_10_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/05/10/image_12072025_05_10_23_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/05/10/image_12072025_05_10_13_9682.jpg', 2), ('/home/nano/Desktop/images/12072025/05/09/image_12072025_05_10_04_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/09/image_12072025_05_09_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/10/image_12072025_05_10_43_9645.jpg', '/home/nano/Desktop/images/12072025/05/10/image_12072025_05_10_23_9656.jpg', '/home/nano/Desktop/images/12072025/05/10/image_12072025_05_10_13_9682.jpg', '/home/nano/Desktop/images/12072025/05/09/image_12072025_05_10_04_10654.jpg', '/home/nano/Desktop/images/12072025/05/09/image_12072025_05_09_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/10/image_12072025_05_10_43_9645.jpg
/home/nano/Desktop/images/12072025/05/10/image_12072025_05_10_23_9656.jpg
/home/nano/Desktop/images/12072025/05/10/image_12072025_05_10_13_9682.jpg
/home/nano/Desktop/images/12072025/05/09/image_12072025_05_10_04_10654.jpg
/home/nano/Desktop/images/12072025/05/09/image_12072025_05_09_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795247","1371795235","1371795243","1371795249","1371795239"],"photo_ids_order":["1371795235","1371795239","1371795243","1371795247","1371795249"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e98f7235d3d329b5f0006ad0f8ebf6c4.jpg","text":"TemporaryFile(/tmp/multipartBody6630412270051693471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289892899,"filename":"image_12072025_05_10_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c95d706ac56897b16bbba2f32fc2e5d.jpg","text":"TemporaryFile(/tmp/multipartBody3121510976624519850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289892899,"filename":"image_12072025_05_10_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b483882a9342491a45715aa0321528c.jpg","text":"TemporaryFile(/tmp/multipartBody6373042020935914318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289892899,"filename":"image_12072025_05_10_13_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f355e93931f1362738195a7d468baf7.jpg","text":"TemporaryFile(/tmp/multipartBody768928434142463469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289892899,"filename":"image_12072025_05_09_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ca25627dadf0b453d8c1d4440d96f28.jpg","text":"TemporaryFile(/tmp/multipartBody8834300417042103608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289892899,"filename":"image_12072025_05_10_23_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795243","file1":"1371795239","file0":"1371795235","file4":"1371795249","file3":"1371795247"},"map_files_photo_id_array":[{"photo_id":"1371795243","filename":"file2"},{"photo_id":"1371795249","filename":"file4"},{"photo_id":"1371795239","filename":"file1"},{"photo_id":"1371795235","filename":"file0"},{"photo_id":"1371795247","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795247":["hashtag1","hashtag2"]},{"1371795235":["hashtag1","hashtag2"]},{"1371795243":["hashtag1","hashtag2"]},{"1371795249":["hashtag1","hashtag2"]},{"1371795239":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795247, 1371795235, 1371795243, 1371795249, 1371795239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.21671462059021 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:11:16.882404
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/11/image_12072025_05_11_34_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/05/11/image_12072025_05_11_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/11/image_12072025_05_11_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/05/10/image_12072025_05_11_04_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/05/10/image_12072025_05_10_53_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/11/image_12072025_05_11_34_10651.jpg', '/home/nano/Desktop/images/12072025/05/11/image_12072025_05_11_23_9638.jpg', '/home/nano/Desktop/images/12072025/05/11/image_12072025_05_11_13_9658.jpg', '/home/nano/Desktop/images/12072025/05/10/image_12072025_05_11_04_10664.jpg', '/home/nano/Desktop/images/12072025/05/10/image_12072025_05_10_53_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/11/image_12072025_05_11_34_10651.jpg
/home/nano/Desktop/images/12072025/05/11/image_12072025_05_11_23_9638.jpg
/home/nano/Desktop/images/12072025/05/11/image_12072025_05_11_13_9658.jpg
/home/nano/Desktop/images/12072025/05/10/image_12072025_05_11_04_10664.jpg
/home/nano/Desktop/images/12072025/05/10/image_12072025_05_10_53_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795262","1371795264","1371795267","1371795260","1371795266"],"photo_ids_order":["1371795260","1371795262","1371795264","1371795266","1371795267"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a817b03e19d9e40d2deceedb78bc3b2b.jpg","text":"TemporaryFile(/tmp/multipartBody8598176288166712666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289938044,"filename":"image_12072025_05_11_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f11fa0b7cd11ecb5e652bfaf4651f988.jpg","text":"TemporaryFile(/tmp/multipartBody4951331884175129918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289938044,"filename":"image_12072025_05_11_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ff7b2fb1be97a230f463c940eeff883.jpg","text":"TemporaryFile(/tmp/multipartBody2591016550445655900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289938044,"filename":"image_12072025_05_10_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aad609f96f1df96a7cb3673ad8009058.jpg","text":"TemporaryFile(/tmp/multipartBody4168700795267859715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289938044,"filename":"image_12072025_05_11_34_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da50b3f3ebae7957abdeb75020a0523a.jpg","text":"TemporaryFile(/tmp/multipartBody5301935037253403602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289938044,"filename":"image_12072025_05_11_04_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795264","file1":"1371795262","file0":"1371795260","file4":"1371795267","file3":"1371795266"},"map_files_photo_id_array":[{"photo_id":"1371795264","filename":"file2"},{"photo_id":"1371795267","filename":"file4"},{"photo_id":"1371795262","filename":"file1"},{"photo_id":"1371795260","filename":"file0"},{"photo_id":"1371795266","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795262":["hashtag1","hashtag2"]},{"1371795264":["hashtag1","hashtag2"]},{"1371795267":["hashtag1","hashtag2"]},{"1371795260":["hashtag1","hashtag2"]},{"1371795266":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795262, 1371795264, 1371795267, 1371795260, 1371795266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.665576219558716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:11:46.902394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/17/image_10072025_21_18_04_10678.jpg', 2), ('/home/nano/Desktop/images/10072025/21/17/image_10072025_21_17_53_9671.jpg', 2), ('/home/nano/Desktop/images/10072025/21/17/image_10072025_21_17_44_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/21/17/image_10072025_21_17_34_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/17/image_10072025_21_17_23_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/21/16/image_10072025_21_17_04_10662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/17/image_10072025_21_18_04_10678.jpg', '/home/nano/Desktop/images/10072025/21/17/image_10072025_21_17_53_9671.jpg', '/home/nano/Desktop/images/10072025/21/17/image_10072025_21_17_44_9652.jpg', '/home/nano/Desktop/images/10072025/21/17/image_10072025_21_17_34_10657.jpg', '/home/nano/Desktop/images/10072025/21/17/image_10072025_21_17_23_9652.jpg', '/home/nano/Desktop/images/10072025/21/16/image_10072025_21_17_04_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/17/image_10072025_21_18_04_10678.jpg
/home/nano/Desktop/images/10072025/21/17/image_10072025_21_17_53_9671.jpg
/home/nano/Desktop/images/10072025/21/17/image_10072025_21_17_44_9652.jpg
/home/nano/Desktop/images/10072025/21/17/image_10072025_21_17_34_10657.jpg
/home/nano/Desktop/images/10072025/21/17/image_10072025_21_17_23_9652.jpg
/home/nano/Desktop/images/10072025/21/16/image_10072025_21_17_04_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795289","1371795288","1371795282","1371795285","1371795290","1371795287"],"photo_ids_order":["1371795282","1371795285","1371795287","1371795288","1371795289","1371795290"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91cfa1e0d7b12021afe96d40487504b0.jpg","text":"TemporaryFile(/tmp/multipartBody3093035783857456767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289969366,"filename":"image_10072025_21_17_23_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b68d78192ed4f1dd25c1660bfed783f8.jpg","text":"TemporaryFile(/tmp/multipartBody249319123528165444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289969366,"filename":"image_10072025_21_17_34_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6cb40f6bff09a6e78f42d7b5fd8d8395.jpg","text":"TemporaryFile(/tmp/multipartBody8904272356714244990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289969366,"filename":"image_10072025_21_18_04_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26a75552ccc042e2accdc56a64614d9c.jpg","text":"TemporaryFile(/tmp/multipartBody4044940960101091511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289969366,"filename":"image_10072025_21_17_53_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/039170f113d1a83d709cb664b944224c.jpg","text":"TemporaryFile(/tmp/multipartBody5934758223011835159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289969366,"filename":"image_10072025_21_17_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52c7f87e12cc14c7c4a8d2b887531b6a.jpg","text":"TemporaryFile(/tmp/multipartBody1469548087468146531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752289969366,"filename":"image_10072025_21_17_44_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795287","file1":"1371795285","file0":"1371795282","file4":"1371795289","file5":"1371795290","file3":"1371795288"},"map_files_photo_id_array":[{"photo_id":"1371795290","filename":"file5"},{"photo_id":"1371795287","filename":"file2"},{"photo_id":"1371795289","filename":"file4"},{"photo_id":"1371795285","filename":"file1"},{"photo_id":"1371795282","filename":"file0"},{"photo_id":"1371795288","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371795289":["hashtag1","hashtag2"]},{"1371795288":["hashtag1","hashtag2"]},{"1371795282":["hashtag1","hashtag2"]},{"1371795285":["hashtag1","hashtag2"]},{"1371795290":["hashtag1","hashtag2"]},{"1371795287":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371795289, 1371795288, 1371795282, 1371795285, 1371795290, 1371795287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45432424545288 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:12:31.962673
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_24_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_13_9678.jpg', 2), ('/home/nano/Desktop/images/12072025/05/11/image_12072025_05_12_04_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/11/image_12072025_05_11_43_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_43_9638.jpg', '/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_34_9638.jpg', '/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_24_10652.jpg', '/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_13_9678.jpg', '/home/nano/Desktop/images/12072025/05/11/image_12072025_05_12_04_9647.jpg', '/home/nano/Desktop/images/12072025/05/11/image_12072025_05_11_43_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_43_9638.jpg
/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_34_9638.jpg
/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_24_10652.jpg
/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_13_9678.jpg
/home/nano/Desktop/images/12072025/05/11/image_12072025_05_12_04_9647.jpg
/home/nano/Desktop/images/12072025/05/11/image_12072025_05_11_43_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795302","1371795313","1371795310","1371795304","1371795307","1371795314"],"photo_ids_order":["1371795302","1371795304","1371795307","1371795310","1371795313","1371795314"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eeb8c7438f02bd87801d99f1cbd915fe.jpg","text":"TemporaryFile(/tmp/multipartBody460888572598570432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290013112,"filename":"image_12072025_05_12_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1c48fe112326a9791db9b227570188f.jpg","text":"TemporaryFile(/tmp/multipartBody4642033656536916696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290013112,"filename":"image_12072025_05_12_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/072475e70e5e871c81237a66d1c7df0b.jpg","text":"TemporaryFile(/tmp/multipartBody3131745704511061981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290013112,"filename":"image_12072025_05_12_13_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b72c0e637f3d30c8130ee8573f0ea1cd.jpg","text":"TemporaryFile(/tmp/multipartBody7855009276295427467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290013112,"filename":"image_12072025_05_12_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16a5e0f9c2c177d3b83a0050ea28c962.jpg","text":"TemporaryFile(/tmp/multipartBody433887273841601346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290013112,"filename":"image_12072025_05_12_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d94d0da864e7e12e2ddef0f4b5fdb445.jpg","text":"TemporaryFile(/tmp/multipartBody5672456547940160262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290013112,"filename":"image_12072025_05_11_43_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795307","file1":"1371795304","file0":"1371795302","file4":"1371795313","file5":"1371795314","file3":"1371795310"},"map_files_photo_id_array":[{"photo_id":"1371795314","filename":"file5"},{"photo_id":"1371795307","filename":"file2"},{"photo_id":"1371795313","filename":"file4"},{"photo_id":"1371795304","filename":"file1"},{"photo_id":"1371795302","filename":"file0"},{"photo_id":"1371795310","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795302":["hashtag1","hashtag2"]},{"1371795313":["hashtag1","hashtag2"]},{"1371795310":["hashtag1","hashtag2"]},{"1371795304":["hashtag1","hashtag2"]},{"1371795307":["hashtag1","hashtag2"]},{"1371795314":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795302, 1371795313, 1371795310, 1371795304, 1371795307, 1371795314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.40014624595642 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:13:17.123608
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_43_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_13_9681.jpg', 2), ('/home/nano/Desktop/images/12072025/05/12/image_12072025_05_13_04_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_54_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_43_9636.jpg', '/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_34_9638.jpg', '/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_13_9681.jpg', '/home/nano/Desktop/images/12072025/05/12/image_12072025_05_13_04_9644.jpg', '/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_54_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_43_9636.jpg
/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_34_9638.jpg
/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_13_9681.jpg
/home/nano/Desktop/images/12072025/05/12/image_12072025_05_13_04_9644.jpg
/home/nano/Desktop/images/12072025/05/12/image_12072025_05_12_54_10665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795328","1371795336","1371795329","1371795338","1371795332"],"photo_ids_order":["1371795328","1371795329","1371795332","1371795336","1371795338"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/722b73d19433c0f9b6d5ddf3fa3750ed.jpg","text":"TemporaryFile(/tmp/multipartBody3254832008114117099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290058079,"filename":"image_12072025_05_13_43_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/625d5fb32a3313465a27626b584387c9.jpg","text":"TemporaryFile(/tmp/multipartBody4352071341948801994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290058079,"filename":"image_12072025_05_13_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df90cbadad08c6f92e2629793d013830.jpg","text":"TemporaryFile(/tmp/multipartBody644534743720825378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290058079,"filename":"image_12072025_05_13_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bcdad930b4fcccac44afa09180f15db.jpg","text":"TemporaryFile(/tmp/multipartBody3443398824551712701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290058079,"filename":"image_12072025_05_12_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dcda937b099e63c3169c301cfb8e10b7.jpg","text":"TemporaryFile(/tmp/multipartBody7146884650150438643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290058079,"filename":"image_12072025_05_13_13_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795332","file1":"1371795329","file0":"1371795328","file4":"1371795338","file3":"1371795336"},"map_files_photo_id_array":[{"photo_id":"1371795332","filename":"file2"},{"photo_id":"1371795338","filename":"file4"},{"photo_id":"1371795329","filename":"file1"},{"photo_id":"1371795328","filename":"file0"},{"photo_id":"1371795336","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795328":["hashtag1","hashtag2"]},{"1371795336":["hashtag1","hashtag2"]},{"1371795329":["hashtag1","hashtag2"]},{"1371795338":["hashtag1","hashtag2"]},{"1371795332":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795328, 1371795336, 1371795329, 1371795338, 1371795332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.794331312179565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:13:47.075642
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_53_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_44_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_34_10673.jpg', 2), ('/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_23_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_14_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/21/15/image_10072025_21_16_04_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_53_9645.jpg', '/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_44_9646.jpg', '/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_34_10673.jpg', '/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_23_9648.jpg', '/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_14_9661.jpg', '/home/nano/Desktop/images/10072025/21/15/image_10072025_21_16_04_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_53_9645.jpg
/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_44_9646.jpg
/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_34_10673.jpg
/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_23_9648.jpg
/home/nano/Desktop/images/10072025/21/16/image_10072025_21_16_14_9661.jpg
/home/nano/Desktop/images/10072025/21/15/image_10072025_21_16_04_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795361","1371795369","1371795363","1371795366","1371795356","1371795359"],"photo_ids_order":["1371795356","1371795359","1371795361","1371795363","1371795366","1371795369"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26cabb34a0a07313ff2389d77c455410.jpg","text":"TemporaryFile(/tmp/multipartBody3370459674299490952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290089524,"filename":"image_10072025_21_16_34_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56f1e72da4ee9060df8046da212a97ec.jpg","text":"TemporaryFile(/tmp/multipartBody7554880224640264301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290089524,"filename":"image_10072025_21_16_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/617c325c9499f07b2bd856e894193213.jpg","text":"TemporaryFile(/tmp/multipartBody9194785132766246071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290089524,"filename":"image_10072025_21_16_23_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0879139b3afa62bf73b14f20355aea05.jpg","text":"TemporaryFile(/tmp/multipartBody3035001729373326575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290089524,"filename":"image_10072025_21_16_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd2d501d3e413c45261b5ccad09b643b.jpg","text":"TemporaryFile(/tmp/multipartBody3605129735448427353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290089524,"filename":"image_10072025_21_16_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f68849001bbf6d60da34ae056ca17550.jpg","text":"TemporaryFile(/tmp/multipartBody3482543635684934883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290089524,"filename":"image_10072025_21_16_44_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795361","file1":"1371795359","file0":"1371795356","file4":"1371795366","file5":"1371795369","file3":"1371795363"},"map_files_photo_id_array":[{"photo_id":"1371795369","filename":"file5"},{"photo_id":"1371795361","filename":"file2"},{"photo_id":"1371795366","filename":"file4"},{"photo_id":"1371795359","filename":"file1"},{"photo_id":"1371795356","filename":"file0"},{"photo_id":"1371795363","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371795361":["hashtag1","hashtag2"]},{"1371795369":["hashtag1","hashtag2"]},{"1371795363":["hashtag1","hashtag2"]},{"1371795366":["hashtag1","hashtag2"]},{"1371795356":["hashtag1","hashtag2"]},{"1371795359":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371795361, 1371795369, 1371795363, 1371795366, 1371795356, 1371795359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95382857322693 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:14:32.208288
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_34_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_24_10704.jpg', 2), ('/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_13_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/05/13/image_12072025_05_14_04_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_34_9636.jpg', '/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_24_10704.jpg', '/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_13_9675.jpg', '/home/nano/Desktop/images/12072025/05/13/image_12072025_05_14_04_9652.jpg', '/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_34_9636.jpg
/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_24_10704.jpg
/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_13_9675.jpg
/home/nano/Desktop/images/12072025/05/13/image_12072025_05_14_04_9652.jpg
/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_54_10648.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8925602436065674 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:14:47.183517
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_34_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_24_10704.jpg', 2), ('/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_13_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/05/13/image_12072025_05_14_04_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_34_9636.jpg', '/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_24_10704.jpg', '/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_13_9675.jpg', '/home/nano/Desktop/images/12072025/05/13/image_12072025_05_14_04_9652.jpg', '/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_34_9636.jpg
/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_24_10704.jpg
/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_13_9675.jpg
/home/nano/Desktop/images/12072025/05/13/image_12072025_05_14_04_9652.jpg
/home/nano/Desktop/images/12072025/05/13/image_12072025_05_13_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795391","1371795400","1371795387","1371795402","1371795389"],"photo_ids_order":["1371795387","1371795389","1371795391","1371795400","1371795402"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb03d8ab36e0d1be8a29f29acbaf1bdd.jpg","text":"TemporaryFile(/tmp/multipartBody3675417023135124422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290148046,"filename":"image_12072025_05_14_13_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de02cb2e2ef307bad6f3611fae837e2c.jpg","text":"TemporaryFile(/tmp/multipartBody5037600140311232205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290148046,"filename":"image_12072025_05_14_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3851c0cf2b851bd346a394b2116a6ea6.jpg","text":"TemporaryFile(/tmp/multipartBody4948167965956617095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290148046,"filename":"image_12072025_05_14_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/606de6d583cf9386f5d373975f9766f8.jpg","text":"TemporaryFile(/tmp/multipartBody1159574873112813499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290148046,"filename":"image_12072025_05_13_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/443196283c468e67aede0b50fa083270.jpg","text":"TemporaryFile(/tmp/multipartBody166082616857152760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290148046,"filename":"image_12072025_05_14_24_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795391","file1":"1371795389","file0":"1371795387","file4":"1371795402","file3":"1371795400"},"map_files_photo_id_array":[{"photo_id":"1371795391","filename":"file2"},{"photo_id":"1371795402","filename":"file4"},{"photo_id":"1371795389","filename":"file1"},{"photo_id":"1371795387","filename":"file0"},{"photo_id":"1371795400","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795391":["hashtag1","hashtag2"]},{"1371795400":["hashtag1","hashtag2"]},{"1371795387":["hashtag1","hashtag2"]},{"1371795402":["hashtag1","hashtag2"]},{"1371795389":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795391, 1371795400, 1371795387, 1371795402, 1371795389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.194974184036255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:15:32.285143
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_43_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_33_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_24_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/05/14/image_12072025_05_15_03_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_43_9662.jpg', '/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_33_9646.jpg', '/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_24_10653.jpg', '/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_13_9659.jpg', '/home/nano/Desktop/images/12072025/05/14/image_12072025_05_15_03_9659.jpg', '/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_43_9662.jpg
/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_33_9646.jpg
/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_24_10653.jpg
/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_13_9659.jpg
/home/nano/Desktop/images/12072025/05/14/image_12072025_05_15_03_9659.jpg
/home/nano/Desktop/images/12072025/05/14/image_12072025_05_14_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795430","1371795433","1371795427","1371795421","1371795426","1371795422"],"photo_ids_order":["1371795421","1371795422","1371795426","1371795427","1371795430","1371795433"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1980b2e609be62eb4a5345a7605ab9c.jpg","text":"TemporaryFile(/tmp/multipartBody7884613455033145207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290193530,"filename":"image_12072025_05_15_03_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/165fa0df160de427bb0a6d834d0b857b.jpg","text":"TemporaryFile(/tmp/multipartBody4188552124742691045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290193530,"filename":"image_12072025_05_14_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6a3fa7e9e217ac718f1356f2cd6121b.jpg","text":"TemporaryFile(/tmp/multipartBody5863807838971451833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290193530,"filename":"image_12072025_05_15_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1223f127b5bba6887d6acaf6c646510a.jpg","text":"TemporaryFile(/tmp/multipartBody4408635680045629053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290193530,"filename":"image_12072025_05_15_43_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ce9b99804dc662f1ebdb152b4d824c8.jpg","text":"TemporaryFile(/tmp/multipartBody2546506480614613333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290193530,"filename":"image_12072025_05_15_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a74df11d94e180b2440bb37bfe1d6f43.jpg","text":"TemporaryFile(/tmp/multipartBody4256460579693475556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290193530,"filename":"image_12072025_05_15_33_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795426","file1":"1371795422","file0":"1371795421","file4":"1371795430","file5":"1371795433","file3":"1371795427"},"map_files_photo_id_array":[{"photo_id":"1371795433","filename":"file5"},{"photo_id":"1371795426","filename":"file2"},{"photo_id":"1371795430","filename":"file4"},{"photo_id":"1371795422","filename":"file1"},{"photo_id":"1371795421","filename":"file0"},{"photo_id":"1371795427","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795430":["hashtag1","hashtag2"]},{"1371795433":["hashtag1","hashtag2"]},{"1371795427":["hashtag1","hashtag2"]},{"1371795421":["hashtag1","hashtag2"]},{"1371795426":["hashtag1","hashtag2"]},{"1371795422":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795430, 1371795433, 1371795427, 1371795421, 1371795426, 1371795422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.879004955291748 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:16:17.435167
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/16/image_12072025_05_16_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/16/image_12072025_05_16_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/16/image_12072025_05_16_24_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/05/15/image_12072025_05_16_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/16/image_12072025_05_16_44_10647.jpg', '/home/nano/Desktop/images/12072025/05/16/image_12072025_05_16_33_9638.jpg', '/home/nano/Desktop/images/12072025/05/16/image_12072025_05_16_24_9661.jpg', '/home/nano/Desktop/images/12072025/05/15/image_12072025_05_16_03_9645.jpg', '/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/16/image_12072025_05_16_44_10647.jpg
/home/nano/Desktop/images/12072025/05/16/image_12072025_05_16_33_9638.jpg
/home/nano/Desktop/images/12072025/05/16/image_12072025_05_16_24_9661.jpg
/home/nano/Desktop/images/12072025/05/15/image_12072025_05_16_03_9645.jpg
/home/nano/Desktop/images/12072025/05/15/image_12072025_05_15_54_10649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795445","1371795442","1371795447","1371795449","1371795443"],"photo_ids_order":["1371795442","1371795443","1371795445","1371795447","1371795449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d2022d1d302d1166fc6b4c520579b5f.jpg","text":"TemporaryFile(/tmp/multipartBody3609401608388042462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290238580,"filename":"image_12072025_05_16_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a14c435c805b7d63a31848018911216a.jpg","text":"TemporaryFile(/tmp/multipartBody3248592786440882662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290238580,"filename":"image_12072025_05_16_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5945dfc40d3a2686f4cf25d9dedce390.jpg","text":"TemporaryFile(/tmp/multipartBody2187765081327069378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290238580,"filename":"image_12072025_05_16_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c82f5e2a95fbf854cfaa9ff23432f0b.jpg","text":"TemporaryFile(/tmp/multipartBody6368502015768807013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290238580,"filename":"image_12072025_05_15_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e463e158d933e6c2531e836083349ed.jpg","text":"TemporaryFile(/tmp/multipartBody6078979524509835135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290238580,"filename":"image_12072025_05_16_33_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795445","file1":"1371795443","file0":"1371795442","file4":"1371795449","file3":"1371795447"},"map_files_photo_id_array":[{"photo_id":"1371795445","filename":"file2"},{"photo_id":"1371795449","filename":"file4"},{"photo_id":"1371795443","filename":"file1"},{"photo_id":"1371795442","filename":"file0"},{"photo_id":"1371795447","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795445":["hashtag1","hashtag2"]},{"1371795442":["hashtag1","hashtag2"]},{"1371795447":["hashtag1","hashtag2"]},{"1371795449":["hashtag1","hashtag2"]},{"1371795443":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795445, 1371795442, 1371795447, 1371795449, 1371795443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.952444314956665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:16:47.411951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_53_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_44_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_34_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_23_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_14_9685.jpg', 2), ('/home/nano/Desktop/images/10072025/21/14/image_10072025_21_15_04_10681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_53_9644.jpg', '/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_44_9646.jpg', '/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_34_10664.jpg', '/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_23_9652.jpg', '/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_14_9685.jpg', '/home/nano/Desktop/images/10072025/21/14/image_10072025_21_15_04_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_53_9644.jpg
/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_44_9646.jpg
/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_34_10664.jpg
/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_23_9652.jpg
/home/nano/Desktop/images/10072025/21/15/image_10072025_21_15_14_9685.jpg
/home/nano/Desktop/images/10072025/21/14/image_10072025_21_15_04_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795463","1371795469","1371795454","1371795456","1371795473","1371795476"],"photo_ids_order":["1371795454","1371795456","1371795463","1371795469","1371795473","1371795476"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/561803441a9e6a0d29765f042ed25ce2.jpg","text":"TemporaryFile(/tmp/multipartBody6517195235672605345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290269903,"filename":"image_10072025_21_15_34_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94ee7e5f99ed0897102e5095411523a5.jpg","text":"TemporaryFile(/tmp/multipartBody5670486777869535403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290269903,"filename":"image_10072025_21_15_23_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1665a54d2eab6df387641638738a53c.jpg","text":"TemporaryFile(/tmp/multipartBody8545554506801059288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290269903,"filename":"image_10072025_21_15_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc41bfb7f26d2ba792ac1f3912f51fd2.jpg","text":"TemporaryFile(/tmp/multipartBody1425164172601001700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290269903,"filename":"image_10072025_21_15_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aff3791e61d591d450388c1831042cca.jpg","text":"TemporaryFile(/tmp/multipartBody1664761738943321620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290269903,"filename":"image_10072025_21_15_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/909278f5253be2914fa94599c0ecd799.jpg","text":"TemporaryFile(/tmp/multipartBody3655362463898174625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290269903,"filename":"image_10072025_21_15_04_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795463","file1":"1371795456","file0":"1371795454","file4":"1371795473","file5":"1371795476","file3":"1371795469"},"map_files_photo_id_array":[{"photo_id":"1371795476","filename":"file5"},{"photo_id":"1371795463","filename":"file2"},{"photo_id":"1371795473","filename":"file4"},{"photo_id":"1371795456","filename":"file1"},{"photo_id":"1371795454","filename":"file0"},{"photo_id":"1371795469","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371795463":["hashtag1","hashtag2"]},{"1371795469":["hashtag1","hashtag2"]},{"1371795454":["hashtag1","hashtag2"]},{"1371795456":["hashtag1","hashtag2"]},{"1371795473":["hashtag1","hashtag2"]},{"1371795476":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371795463, 1371795469, 1371795454, 1371795456, 1371795473, 1371795476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94260025024414 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:17:32.481162
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/17/image_12072025_05_17_44_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/05/17/image_12072025_05_17_33_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/05/17/image_12072025_05_17_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/16/image_12072025_05_17_03_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/05/16/image_12072025_05_16_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/17/image_12072025_05_17_44_10666.jpg', '/home/nano/Desktop/images/12072025/05/17/image_12072025_05_17_33_9666.jpg', '/home/nano/Desktop/images/12072025/05/17/image_12072025_05_17_24_9637.jpg', '/home/nano/Desktop/images/12072025/05/16/image_12072025_05_17_03_9648.jpg', '/home/nano/Desktop/images/12072025/05/16/image_12072025_05_16_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/17/image_12072025_05_17_44_10666.jpg
/home/nano/Desktop/images/12072025/05/17/image_12072025_05_17_33_9666.jpg
/home/nano/Desktop/images/12072025/05/17/image_12072025_05_17_24_9637.jpg
/home/nano/Desktop/images/12072025/05/16/image_12072025_05_17_03_9648.jpg
/home/nano/Desktop/images/12072025/05/16/image_12072025_05_16_54_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795483","1371795504","1371795501","1371795485","1371795488"],"photo_ids_order":["1371795483","1371795485","1371795488","1371795501","1371795504"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e570f9d5401f7dc0a46eceaf3cb153b.jpg","text":"TemporaryFile(/tmp/multipartBody178695155259092024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290313636,"filename":"image_12072025_05_17_44_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d92e72bc36506549583e01aed0dfb60e.jpg","text":"TemporaryFile(/tmp/multipartBody5534859649093449228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290313636,"filename":"image_12072025_05_16_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/256fc9fab4cfd1230bd0024d97b88dc9.jpg","text":"TemporaryFile(/tmp/multipartBody8682611668815087884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290313636,"filename":"image_12072025_05_17_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eacc5ff37c51d3929836d5ecd5b84f9c.jpg","text":"TemporaryFile(/tmp/multipartBody7213065936353651174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290313636,"filename":"image_12072025_05_17_33_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a4c5d77e3e95edabe640b54f4fc27b4.jpg","text":"TemporaryFile(/tmp/multipartBody4722029808658505941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290313636,"filename":"image_12072025_05_17_24_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795488","file1":"1371795485","file0":"1371795483","file4":"1371795504","file3":"1371795501"},"map_files_photo_id_array":[{"photo_id":"1371795488","filename":"file2"},{"photo_id":"1371795504","filename":"file4"},{"photo_id":"1371795485","filename":"file1"},{"photo_id":"1371795483","filename":"file0"},{"photo_id":"1371795501","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795483":["hashtag1","hashtag2"]},{"1371795504":["hashtag1","hashtag2"]},{"1371795501":["hashtag1","hashtag2"]},{"1371795485":["hashtag1","hashtag2"]},{"1371795488":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795483, 1371795504, 1371795501, 1371795485, 1371795488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.784218311309814 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:18:02.805870
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/14/image_10072025_21_14_53_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/21/14/image_10072025_21_14_44_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/21/14/image_10072025_21_14_34_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/21/14/image_10072025_21_14_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/13/image_10072025_21_14_03_9659.jpg', 2), ('/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/14/image_10072025_21_14_53_9654.jpg', '/home/nano/Desktop/images/10072025/21/14/image_10072025_21_14_44_9651.jpg', '/home/nano/Desktop/images/10072025/21/14/image_10072025_21_14_34_10661.jpg', '/home/nano/Desktop/images/10072025/21/14/image_10072025_21_14_23_9645.jpg', '/home/nano/Desktop/images/10072025/21/13/image_10072025_21_14_03_9659.jpg', '/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/14/image_10072025_21_14_53_9654.jpg
/home/nano/Desktop/images/10072025/21/14/image_10072025_21_14_44_9651.jpg
/home/nano/Desktop/images/10072025/21/14/image_10072025_21_14_34_10661.jpg
/home/nano/Desktop/images/10072025/21/14/image_10072025_21_14_23_9645.jpg
/home/nano/Desktop/images/10072025/21/13/image_10072025_21_14_03_9659.jpg
/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795526","1371795511","1371795520","1371795514","1371795523","1371795517"],"photo_ids_order":["1371795511","1371795514","1371795517","1371795520","1371795523","1371795526"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a30b3d14991b50b771976a40dfc27363.jpg","text":"TemporaryFile(/tmp/multipartBody642316309093132136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290345525,"filename":"image_10072025_21_13_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55af0297739c26a95453162b9e7359f6.jpg","text":"TemporaryFile(/tmp/multipartBody5999551866639157643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290345525,"filename":"image_10072025_21_14_53_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54acec53571ed343bf15c99c3cd7ebd0.jpg","text":"TemporaryFile(/tmp/multipartBody2580394824595997906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290345525,"filename":"image_10072025_21_14_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90c09d20f5b9b41c63c018de6ce708aa.jpg","text":"TemporaryFile(/tmp/multipartBody4134820833653959919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290345525,"filename":"image_10072025_21_14_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e2e6254d048667b7e498fa053bd53f7.jpg","text":"TemporaryFile(/tmp/multipartBody6183091652769663531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290345525,"filename":"image_10072025_21_14_03_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f00a48998358e46c9bc9274b76effcb2.jpg","text":"TemporaryFile(/tmp/multipartBody7663634038731307822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290345525,"filename":"image_10072025_21_14_34_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795517","file1":"1371795514","file0":"1371795511","file4":"1371795523","file5":"1371795526","file3":"1371795520"},"map_files_photo_id_array":[{"photo_id":"1371795526","filename":"file5"},{"photo_id":"1371795517","filename":"file2"},{"photo_id":"1371795523","filename":"file4"},{"photo_id":"1371795514","filename":"file1"},{"photo_id":"1371795511","filename":"file0"},{"photo_id":"1371795520","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371795526":["hashtag1","hashtag2"]},{"1371795511":["hashtag1","hashtag2"]},{"1371795520":["hashtag1","hashtag2"]},{"1371795514":["hashtag1","hashtag2"]},{"1371795523":["hashtag1","hashtag2"]},{"1371795517":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371795526, 1371795511, 1371795520, 1371795514, 1371795523, 1371795517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27868938446045 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:18:47.601987
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/18/image_12072025_05_18_54_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/18/image_12072025_05_18_24_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/05/18/image_12072025_05_18_14_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/05/17/image_12072025_05_18_03_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/05/17/image_12072025_05_17_54_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/18/image_12072025_05_18_54_9637.jpg', '/home/nano/Desktop/images/12072025/05/18/image_12072025_05_18_24_9645.jpg', '/home/nano/Desktop/images/12072025/05/18/image_12072025_05_18_14_10668.jpg', '/home/nano/Desktop/images/12072025/05/17/image_12072025_05_18_03_9653.jpg', '/home/nano/Desktop/images/12072025/05/17/image_12072025_05_17_54_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/18/image_12072025_05_18_54_9637.jpg
/home/nano/Desktop/images/12072025/05/18/image_12072025_05_18_24_9645.jpg
/home/nano/Desktop/images/12072025/05/18/image_12072025_05_18_14_10668.jpg
/home/nano/Desktop/images/12072025/05/17/image_12072025_05_18_03_9653.jpg
/home/nano/Desktop/images/12072025/05/17/image_12072025_05_17_54_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795541","1371795555","1371795560","1371795557","1371795539"],"photo_ids_order":["1371795539","1371795541","1371795555","1371795557","1371795560"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ad704c599a009a123cbe7ce209ac98b.jpg","text":"TemporaryFile(/tmp/multipartBody1285076357907268674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290388797,"filename":"image_12072025_05_18_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bdaaf461746a73b6ef6b6fe87a2b3ead.jpg","text":"TemporaryFile(/tmp/multipartBody4502574453328961099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290388797,"filename":"image_12072025_05_18_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c744243b5cca6f01ead46a27e724d938.jpg","text":"TemporaryFile(/tmp/multipartBody4763343936283846721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290388797,"filename":"image_12072025_05_17_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2108063e43c2f768d4af8923e8974f74.jpg","text":"TemporaryFile(/tmp/multipartBody1866435415068142168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290388797,"filename":"image_12072025_05_18_03_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba7b5c37182245712e86ed5bdac61902.jpg","text":"TemporaryFile(/tmp/multipartBody7250728367454559028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290388797,"filename":"image_12072025_05_18_54_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795555","file1":"1371795541","file0":"1371795539","file4":"1371795560","file3":"1371795557"},"map_files_photo_id_array":[{"photo_id":"1371795555","filename":"file2"},{"photo_id":"1371795560","filename":"file4"},{"photo_id":"1371795541","filename":"file1"},{"photo_id":"1371795539","filename":"file0"},{"photo_id":"1371795557","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795541":["hashtag1","hashtag2"]},{"1371795555":["hashtag1","hashtag2"]},{"1371795560":["hashtag1","hashtag2"]},{"1371795557":["hashtag1","hashtag2"]},{"1371795539":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795541, 1371795555, 1371795560, 1371795557, 1371795539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.859501600265503 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:19:17.708147
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_33_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_14_10685.jpg', 2), ('/home/nano/Desktop/images/12072025/05/18/image_12072025_05_19_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/18/image_12072025_05_18_44_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_44_10647.jpg', '/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_33_9646.jpg', '/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_23_9638.jpg', '/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_14_10685.jpg', '/home/nano/Desktop/images/12072025/05/18/image_12072025_05_19_03_9654.jpg', '/home/nano/Desktop/images/12072025/05/18/image_12072025_05_18_44_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_44_10647.jpg
/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_33_9646.jpg
/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_23_9638.jpg
/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_14_10685.jpg
/home/nano/Desktop/images/12072025/05/18/image_12072025_05_19_03_9654.jpg
/home/nano/Desktop/images/12072025/05/18/image_12072025_05_18_44_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795562","1371795571","1371795568","1371795563","1371795566","1371795574"],"photo_ids_order":["1371795562","1371795563","1371795566","1371795568","1371795571","1371795574"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c9b45c42f0b207d33881ede5c7b1604.jpg","text":"TemporaryFile(/tmp/multipartBody1374497827820160682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290418712,"filename":"image_12072025_05_19_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3a896fac4358fed5e129d287f4e576a.jpg","text":"TemporaryFile(/tmp/multipartBody82088183977459953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290418712,"filename":"image_12072025_05_19_03_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef8df14d5dfdc2251be2e1b503a80df0.jpg","text":"TemporaryFile(/tmp/multipartBody3943850960599443549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290418712,"filename":"image_12072025_05_19_14_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20dca35b59b7f21dbe0db5b5d4a46d2a.jpg","text":"TemporaryFile(/tmp/multipartBody9215227534158649890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290418712,"filename":"image_12072025_05_19_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a971479a61c440b88a2af3b27cc52a08.jpg","text":"TemporaryFile(/tmp/multipartBody328507957620500442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290418712,"filename":"image_12072025_05_19_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94f3f80d2147a7e1961f2c458b96f67b.jpg","text":"TemporaryFile(/tmp/multipartBody6686981046668533836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290418712,"filename":"image_12072025_05_18_44_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795566","file1":"1371795563","file0":"1371795562","file4":"1371795571","file5":"1371795574","file3":"1371795568"},"map_files_photo_id_array":[{"photo_id":"1371795574","filename":"file5"},{"photo_id":"1371795566","filename":"file2"},{"photo_id":"1371795571","filename":"file4"},{"photo_id":"1371795563","filename":"file1"},{"photo_id":"1371795562","filename":"file0"},{"photo_id":"1371795568","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795562":["hashtag1","hashtag2"]},{"1371795571":["hashtag1","hashtag2"]},{"1371795568":["hashtag1","hashtag2"]},{"1371795563":["hashtag1","hashtag2"]},{"1371795566":["hashtag1","hashtag2"]},{"1371795574":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795562, 1371795571, 1371795568, 1371795563, 1371795566, 1371795574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.98319983482361 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:20:02.094725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_44_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_33_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_14_10674.jpg', 2), ('/home/nano/Desktop/images/10072025/21/12/image_10072025_21_13_03_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_53_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_44_10675.jpg', '/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_33_9648.jpg', '/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_23_9645.jpg', '/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_14_10674.jpg', '/home/nano/Desktop/images/10072025/21/12/image_10072025_21_13_03_9657.jpg', '/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_53_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_44_10675.jpg
/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_33_9648.jpg
/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_23_9645.jpg
/home/nano/Desktop/images/10072025/21/13/image_10072025_21_13_14_10674.jpg
/home/nano/Desktop/images/10072025/21/12/image_10072025_21_13_03_9657.jpg
/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_53_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795598","1371795603","1371795609","1371795600","1371795608","1371795605"],"photo_ids_order":["1371795598","1371795600","1371795603","1371795605","1371795608","1371795609"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f4f78d57cab5f6dd8eaff3ae885e087.jpg","text":"TemporaryFile(/tmp/multipartBody8138148568854839240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290464670,"filename":"image_10072025_21_13_44_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bea0df1bb1d5f185d9878a0c52e63df6.jpg","text":"TemporaryFile(/tmp/multipartBody7067533017667411181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290464670,"filename":"image_10072025_21_13_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61869f2add912bb5ff72672829fd68b9.jpg","text":"TemporaryFile(/tmp/multipartBody2625198842019268564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290464670,"filename":"image_10072025_21_12_53_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ee4a901ead36c9f9b167d7678f5c16b.jpg","text":"TemporaryFile(/tmp/multipartBody1612133057353608194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290464670,"filename":"image_10072025_21_13_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe01f9772cf8a296feff56b624ab3d0b.jpg","text":"TemporaryFile(/tmp/multipartBody4690268958658024005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290464670,"filename":"image_10072025_21_13_03_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62914cf0e838e126786422fd4f3ea05d.jpg","text":"TemporaryFile(/tmp/multipartBody4654259199669661032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290464670,"filename":"image_10072025_21_13_14_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795603","file1":"1371795600","file0":"1371795598","file4":"1371795608","file5":"1371795609","file3":"1371795605"},"map_files_photo_id_array":[{"photo_id":"1371795609","filename":"file5"},{"photo_id":"1371795603","filename":"file2"},{"photo_id":"1371795608","filename":"file4"},{"photo_id":"1371795600","filename":"file1"},{"photo_id":"1371795598","filename":"file0"},{"photo_id":"1371795605","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371795598":["hashtag1","hashtag2"]},{"1371795603":["hashtag1","hashtag2"]},{"1371795609":["hashtag1","hashtag2"]},{"1371795600":["hashtag1","hashtag2"]},{"1371795608":["hashtag1","hashtag2"]},{"1371795605":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371795598, 1371795603, 1371795609, 1371795600, 1371795608, 1371795605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.367783069610596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:20:46.828528
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_44_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_34_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_23_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_14_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/05/19/image_12072025_05_20_03_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_44_9640.jpg', '/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_34_10654.jpg', '/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_23_9641.jpg', '/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_14_10673.jpg', '/home/nano/Desktop/images/12072025/05/19/image_12072025_05_20_03_9640.jpg', '/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_44_9640.jpg
/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_34_10654.jpg
/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_23_9641.jpg
/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_14_10673.jpg
/home/nano/Desktop/images/12072025/05/19/image_12072025_05_20_03_9640.jpg
/home/nano/Desktop/images/12072025/05/19/image_12072025_05_19_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795625","1371795633","1371795636","1371795626","1371795620","1371795623"],"photo_ids_order":["1371795620","1371795623","1371795625","1371795626","1371795633","1371795636"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ebbef14b5a694d7d4c988af223e7c59a.jpg","text":"TemporaryFile(/tmp/multipartBody3324538879464973848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290508088,"filename":"image_12072025_05_20_23_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8efd9db97220bf01d46e6b905186c24e.jpg","text":"TemporaryFile(/tmp/multipartBody1197130446961265697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290508088,"filename":"image_12072025_05_20_03_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e91c68010edf6462aafc8d61f4b46cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2839799218615732449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290508088,"filename":"image_12072025_05_19_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/49546e6e91545e8753e06ed46a093e5b.jpg","text":"TemporaryFile(/tmp/multipartBody5129838117279318439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290508088,"filename":"image_12072025_05_20_14_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/136224721a6ac58084d689efc76031b9.jpg","text":"TemporaryFile(/tmp/multipartBody2989286235761229251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290508088,"filename":"image_12072025_05_20_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/155fed4f06628f28d9673d93b17f9855.jpg","text":"TemporaryFile(/tmp/multipartBody8319868131458481741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290508088,"filename":"image_12072025_05_20_34_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795625","file1":"1371795623","file0":"1371795620","file4":"1371795633","file5":"1371795636","file3":"1371795626"},"map_files_photo_id_array":[{"photo_id":"1371795636","filename":"file5"},{"photo_id":"1371795625","filename":"file2"},{"photo_id":"1371795633","filename":"file4"},{"photo_id":"1371795623","filename":"file1"},{"photo_id":"1371795620","filename":"file0"},{"photo_id":"1371795626","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795625":["hashtag1","hashtag2"]},{"1371795633":["hashtag1","hashtag2"]},{"1371795636":["hashtag1","hashtag2"]},{"1371795626":["hashtag1","hashtag2"]},{"1371795620":["hashtag1","hashtag2"]},{"1371795623":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795625, 1371795633, 1371795636, 1371795626, 1371795620, 1371795623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.488141775131226 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:21:31.936021
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_44_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_34_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_14_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_53_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_44_9644.jpg', '/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_34_10655.jpg', '/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_23_9640.jpg', '/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_14_9663.jpg', '/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_53_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_44_9644.jpg
/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_34_10655.jpg
/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_23_9640.jpg
/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_14_9663.jpg
/home/nano/Desktop/images/12072025/05/20/image_12072025_05_20_53_9655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795651","1371795654","1371795648","1371795663","1371795667"],"photo_ids_order":["1371795648","1371795651","1371795654","1371795663","1371795667"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bbc60d8109163090255adf2ac733af5c.jpg","text":"TemporaryFile(/tmp/multipartBody8321897074910370954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290553073,"filename":"image_12072025_05_21_34_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20d814ffd6a5417f782822384770d6a8.jpg","text":"TemporaryFile(/tmp/multipartBody8981070752001841651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290553073,"filename":"image_12072025_05_21_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f16350857b3c00812c8c455e668e39d0.jpg","text":"TemporaryFile(/tmp/multipartBody8553379225970654658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290553073,"filename":"image_12072025_05_21_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27af7c04a775657276429c8182eade3d.jpg","text":"TemporaryFile(/tmp/multipartBody8583416677704543137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290553073,"filename":"image_12072025_05_21_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/916357cc1305ab1dcddf2655f9642c12.jpg","text":"TemporaryFile(/tmp/multipartBody5609242491653477757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290553073,"filename":"image_12072025_05_20_53_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795654","file1":"1371795651","file0":"1371795648","file4":"1371795667","file3":"1371795663"},"map_files_photo_id_array":[{"photo_id":"1371795654","filename":"file2"},{"photo_id":"1371795667","filename":"file4"},{"photo_id":"1371795651","filename":"file1"},{"photo_id":"1371795648","filename":"file0"},{"photo_id":"1371795663","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795651":["hashtag1","hashtag2"]},{"1371795654":["hashtag1","hashtag2"]},{"1371795648":["hashtag1","hashtag2"]},{"1371795663":["hashtag1","hashtag2"]},{"1371795667":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795651, 1371795654, 1371795648, 1371795663, 1371795667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.65219759941101 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:22:02.430386
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_44_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_33_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_14_10680.jpg', 2), ('/home/nano/Desktop/images/10072025/21/11/image_10072025_21_12_03_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_44_10663.jpg', '/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_33_9665.jpg', '/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_23_9646.jpg', '/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_14_10680.jpg', '/home/nano/Desktop/images/10072025/21/11/image_10072025_21_12_03_9650.jpg', '/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_44_10663.jpg
/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_33_9665.jpg
/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_23_9646.jpg
/home/nano/Desktop/images/10072025/21/12/image_10072025_21_12_14_10680.jpg
/home/nano/Desktop/images/10072025/21/11/image_10072025_21_12_03_9650.jpg
/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795676","1371795678","1371795672","1371795681","1371795675","1371795674"],"photo_ids_order":["1371795672","1371795674","1371795675","1371795676","1371795678","1371795681"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b063d7d95447aee960ca4edf945d873.jpg","text":"TemporaryFile(/tmp/multipartBody1561906993999746142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290584933,"filename":"image_10072025_21_12_14_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47b036194b46bffbb67e564d23de87ad.jpg","text":"TemporaryFile(/tmp/multipartBody3729285026042378563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290584933,"filename":"image_10072025_21_12_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55ac16689d5fd28f6ab0274b6f9527ca.jpg","text":"TemporaryFile(/tmp/multipartBody4716985514692885738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290584933,"filename":"image_10072025_21_12_44_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b550cae5e1aafeb3a689b91b1e621513.jpg","text":"TemporaryFile(/tmp/multipartBody5291091803960445173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290584933,"filename":"image_10072025_21_11_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/684394bac1845322f94520061c1e005b.jpg","text":"TemporaryFile(/tmp/multipartBody7411686062814729572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290584933,"filename":"image_10072025_21_12_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4a3e9ad0d1fd5033a09327074780678.jpg","text":"TemporaryFile(/tmp/multipartBody925575397811780287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290584933,"filename":"image_10072025_21_12_33_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795675","file1":"1371795674","file0":"1371795672","file4":"1371795678","file5":"1371795681","file3":"1371795676"},"map_files_photo_id_array":[{"photo_id":"1371795681","filename":"file5"},{"photo_id":"1371795675","filename":"file2"},{"photo_id":"1371795678","filename":"file4"},{"photo_id":"1371795674","filename":"file1"},{"photo_id":"1371795672","filename":"file0"},{"photo_id":"1371795676","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371795676":["hashtag1","hashtag2"]},{"1371795678":["hashtag1","hashtag2"]},{"1371795672":["hashtag1","hashtag2"]},{"1371795681":["hashtag1","hashtag2"]},{"1371795675":["hashtag1","hashtag2"]},{"1371795674":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371795676, 1371795678, 1371795672, 1371795681, 1371795675, 1371795674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.367504358291626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:22:47.027613
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_34_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/05/21/image_12072025_05_22_04_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_53_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_44_9637.jpg', '/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_34_10654.jpg', '/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_23_9637.jpg', '/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_14_9658.jpg', '/home/nano/Desktop/images/12072025/05/21/image_12072025_05_22_04_10673.jpg', '/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_53_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_44_9637.jpg
/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_34_10654.jpg
/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_23_9637.jpg
/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_14_9658.jpg
/home/nano/Desktop/images/12072025/05/21/image_12072025_05_22_04_10673.jpg
/home/nano/Desktop/images/12072025/05/21/image_12072025_05_21_53_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795696","1371795715","1371795711","1371795698","1371795707","1371795694"],"photo_ids_order":["1371795694","1371795696","1371795698","1371795707","1371795711","1371795715"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd0711c2544dd92d5b47f132b4d49298.jpg","text":"TemporaryFile(/tmp/multipartBody5144397895455316795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290628351,"filename":"image_12072025_05_22_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5d721e8624e7b2dc1758dbd953d7eaf.jpg","text":"TemporaryFile(/tmp/multipartBody4892632058180563898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290628351,"filename":"image_12072025_05_21_53_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b40a3306e4313c8b8461dab630debaf.jpg","text":"TemporaryFile(/tmp/multipartBody7173259308849002001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290628351,"filename":"image_12072025_05_22_04_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/163d91efb3062b3d2195f68b4b4372d5.jpg","text":"TemporaryFile(/tmp/multipartBody7218474041856786903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290628351,"filename":"image_12072025_05_22_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bbf97541f8e0da31fa1d29d455d4d1c4.jpg","text":"TemporaryFile(/tmp/multipartBody324767271931457284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290628351,"filename":"image_12072025_05_22_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0982b5ae048546cbf3bcfe1fa3a8f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6161141516761428156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290628351,"filename":"image_12072025_05_22_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795698","file1":"1371795696","file0":"1371795694","file4":"1371795711","file5":"1371795715","file3":"1371795707"},"map_files_photo_id_array":[{"photo_id":"1371795715","filename":"file5"},{"photo_id":"1371795698","filename":"file2"},{"photo_id":"1371795711","filename":"file4"},{"photo_id":"1371795696","filename":"file1"},{"photo_id":"1371795694","filename":"file0"},{"photo_id":"1371795707","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795696":["hashtag1","hashtag2"]},{"1371795715":["hashtag1","hashtag2"]},{"1371795711":["hashtag1","hashtag2"]},{"1371795698":["hashtag1","hashtag2"]},{"1371795707":["hashtag1","hashtag2"]},{"1371795694":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795696, 1371795715, 1371795711, 1371795698, 1371795707, 1371795694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11854934692383 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:23:32.154896
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_13_9673.jpg', 2), ('/home/nano/Desktop/images/12072025/05/22/image_12072025_05_23_04_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_43_9639.jpg', '/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_34_10647.jpg', '/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_23_9637.jpg', '/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_13_9673.jpg', '/home/nano/Desktop/images/12072025/05/22/image_12072025_05_23_04_10677.jpg', '/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_43_9639.jpg
/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_34_10647.jpg
/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_23_9637.jpg
/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_13_9673.jpg
/home/nano/Desktop/images/12072025/05/22/image_12072025_05_23_04_10677.jpg
/home/nano/Desktop/images/12072025/05/22/image_12072025_05_22_53_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795751","1371795727","1371795735","1371795746","1371795731","1371795755"],"photo_ids_order":["1371795727","1371795731","1371795735","1371795746","1371795751","1371795755"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3131112d0137031196939c14cf6c81d6.jpg","text":"TemporaryFile(/tmp/multipartBody1532567451278725881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290673374,"filename":"image_12072025_05_23_04_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4e17fefa570d4ea70e8a56fa4cc44d1.jpg","text":"TemporaryFile(/tmp/multipartBody1120637003559912365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290673374,"filename":"image_12072025_05_23_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff724eef9f8ac4d702d5fd6d78bde4be.jpg","text":"TemporaryFile(/tmp/multipartBody5750942976216625736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290673374,"filename":"image_12072025_05_23_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10a6e6e1f4a12361e7571be84ecaa74e.jpg","text":"TemporaryFile(/tmp/multipartBody4970533186078656166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290673374,"filename":"image_12072025_05_23_13_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e023226bd8491dcd0489ac1d230ae287.jpg","text":"TemporaryFile(/tmp/multipartBody2849659755407921953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290673374,"filename":"image_12072025_05_23_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b612be22fe973c8de7ee9cf4d90d214b.jpg","text":"TemporaryFile(/tmp/multipartBody401403444138819673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290673374,"filename":"image_12072025_05_22_53_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795735","file1":"1371795731","file0":"1371795727","file4":"1371795751","file5":"1371795755","file3":"1371795746"},"map_files_photo_id_array":[{"photo_id":"1371795755","filename":"file5"},{"photo_id":"1371795735","filename":"file2"},{"photo_id":"1371795751","filename":"file4"},{"photo_id":"1371795731","filename":"file1"},{"photo_id":"1371795727","filename":"file0"},{"photo_id":"1371795746","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795751":["hashtag1","hashtag2"]},{"1371795727":["hashtag1","hashtag2"]},{"1371795735":["hashtag1","hashtag2"]},{"1371795746":["hashtag1","hashtag2"]},{"1371795731":["hashtag1","hashtag2"]},{"1371795755":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795751, 1371795727, 1371795735, 1371795746, 1371795731, 1371795755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77450442314148 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:24:17.226719
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_53_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_43_9639.jpg', '/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_34_9639.jpg', '/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_24_10648.jpg', '/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_13_9658.jpg', '/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_53_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_43_9639.jpg
/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_34_9639.jpg
/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_24_10648.jpg
/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_13_9658.jpg
/home/nano/Desktop/images/12072025/05/23/image_12072025_05_23_53_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795769","1371795763","1371795765","1371795761","1371795767"],"photo_ids_order":["1371795761","1371795763","1371795765","1371795767","1371795769"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/631232c7f8e4e0e1269f6dc154683712.jpg","text":"TemporaryFile(/tmp/multipartBody2375510176706742485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290718378,"filename":"image_12072025_05_23_53_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e80c2e3e8d7b3ea31f4e6c42a46f95c4.jpg","text":"TemporaryFile(/tmp/multipartBody2958780402812533571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290718378,"filename":"image_12072025_05_24_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66c81f43482c336b0c18a89366ebe684.jpg","text":"TemporaryFile(/tmp/multipartBody1953025228674141072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290718378,"filename":"image_12072025_05_24_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17fdb3dfdf3f800e28ea867dad756932.jpg","text":"TemporaryFile(/tmp/multipartBody6429627862554297482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290718378,"filename":"image_12072025_05_24_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2000aa61ca001d834cedfbe39b6991a.jpg","text":"TemporaryFile(/tmp/multipartBody4301936193882738989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290718378,"filename":"image_12072025_05_24_13_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795765","file1":"1371795763","file0":"1371795761","file4":"1371795769","file3":"1371795767"},"map_files_photo_id_array":[{"photo_id":"1371795765","filename":"file2"},{"photo_id":"1371795769","filename":"file4"},{"photo_id":"1371795763","filename":"file1"},{"photo_id":"1371795761","filename":"file0"},{"photo_id":"1371795767","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795769":["hashtag1","hashtag2"]},{"1371795763":["hashtag1","hashtag2"]},{"1371795765":["hashtag1","hashtag2"]},{"1371795761":["hashtag1","hashtag2"]},{"1371795767":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795769, 1371795763, 1371795765, 1371795761, 1371795767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.86184334754944 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:24:47.261689
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_44_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_33_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_24_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_14_10674.jpg', 2), ('/home/nano/Desktop/images/10072025/21/10/image_10072025_21_11_03_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_54_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_44_10662.jpg', '/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_33_9645.jpg', '/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_24_9645.jpg', '/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_14_10674.jpg', '/home/nano/Desktop/images/10072025/21/10/image_10072025_21_11_03_9646.jpg', '/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_44_10662.jpg
/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_33_9645.jpg
/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_24_9645.jpg
/home/nano/Desktop/images/10072025/21/11/image_10072025_21_11_14_10674.jpg
/home/nano/Desktop/images/10072025/21/10/image_10072025_21_11_03_9646.jpg
/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_54_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795775","1371795778","1371795792","1371795789","1371795787","1371795772"],"photo_ids_order":["1371795772","1371795775","1371795778","1371795787","1371795789","1371795792"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1838fbaf3b12ea184307d0b5ab422f49.jpg","text":"TemporaryFile(/tmp/multipartBody5579803507811513536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290749786,"filename":"image_10072025_21_11_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8debb2aeafb49cd996b0d3e926f8b4eb.jpg","text":"TemporaryFile(/tmp/multipartBody5527320665422298200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290749786,"filename":"image_10072025_21_11_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/243e4d3d8246b785014bc3536e80ee76.jpg","text":"TemporaryFile(/tmp/multipartBody1490470539684556896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290749786,"filename":"image_10072025_21_10_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5504f3d205118c363807850424a1ed3.jpg","text":"TemporaryFile(/tmp/multipartBody5923209942062177208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290749786,"filename":"image_10072025_21_11_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f30f6954ea9f3d8364d51f227207de2.jpg","text":"TemporaryFile(/tmp/multipartBody3085065343388784592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290749786,"filename":"image_10072025_21_11_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6425d5aaa76ffd299950998ddba91bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3690245149110742827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290749786,"filename":"image_10072025_21_11_44_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795778","file1":"1371795775","file0":"1371795772","file4":"1371795789","file5":"1371795792","file3":"1371795787"},"map_files_photo_id_array":[{"photo_id":"1371795792","filename":"file5"},{"photo_id":"1371795778","filename":"file2"},{"photo_id":"1371795789","filename":"file4"},{"photo_id":"1371795775","filename":"file1"},{"photo_id":"1371795772","filename":"file0"},{"photo_id":"1371795787","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371795775":["hashtag1","hashtag2"]},{"1371795778":["hashtag1","hashtag2"]},{"1371795792":["hashtag1","hashtag2"]},{"1371795789":["hashtag1","hashtag2"]},{"1371795787":["hashtag1","hashtag2"]},{"1371795772":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371795775, 1371795778, 1371795792, 1371795789, 1371795787, 1371795772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8166241645813 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:25:32.359813
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/25/image_12072025_05_25_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/25/image_12072025_05_25_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/05/25/image_12072025_05_25_24_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/05/24/image_12072025_05_25_04_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_54_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/25/image_12072025_05_25_43_9638.jpg', '/home/nano/Desktop/images/12072025/05/25/image_12072025_05_25_34_9639.jpg', '/home/nano/Desktop/images/12072025/05/25/image_12072025_05_25_24_10653.jpg', '/home/nano/Desktop/images/12072025/05/24/image_12072025_05_25_04_9650.jpg', '/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_54_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/25/image_12072025_05_25_43_9638.jpg
/home/nano/Desktop/images/12072025/05/25/image_12072025_05_25_34_9639.jpg
/home/nano/Desktop/images/12072025/05/25/image_12072025_05_25_24_10653.jpg
/home/nano/Desktop/images/12072025/05/24/image_12072025_05_25_04_9650.jpg
/home/nano/Desktop/images/12072025/05/24/image_12072025_05_24_54_10667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795820","1371795814","1371795804","1371795806","1371795821"],"photo_ids_order":["1371795804","1371795806","1371795814","1371795820","1371795821"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4557fb16db0558fc3aad10d20116047b.jpg","text":"TemporaryFile(/tmp/multipartBody8839704299221394354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290793574,"filename":"image_12072025_05_25_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7479f127789e4cd9068e2f001a108e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7779663418652611802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290793574,"filename":"image_12072025_05_25_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc6c783f92ec40a1e6724da7d5f13c0a.jpg","text":"TemporaryFile(/tmp/multipartBody1149628717364432343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290793574,"filename":"image_12072025_05_25_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb53c4535d866f3ebb8aa910540fdb8e.jpg","text":"TemporaryFile(/tmp/multipartBody3413462465263338726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290793574,"filename":"image_12072025_05_25_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4dd24328a65c8ba637294f2f6d421d58.jpg","text":"TemporaryFile(/tmp/multipartBody3996382192163136498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290793574,"filename":"image_12072025_05_24_54_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795814","file1":"1371795806","file0":"1371795804","file4":"1371795821","file3":"1371795820"},"map_files_photo_id_array":[{"photo_id":"1371795814","filename":"file2"},{"photo_id":"1371795821","filename":"file4"},{"photo_id":"1371795806","filename":"file1"},{"photo_id":"1371795804","filename":"file0"},{"photo_id":"1371795820","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795820":["hashtag1","hashtag2"]},{"1371795814":["hashtag1","hashtag2"]},{"1371795804":["hashtag1","hashtag2"]},{"1371795806":["hashtag1","hashtag2"]},{"1371795821":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795820, 1371795814, 1371795804, 1371795806, 1371795821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.183461904525757 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:26:02.774844
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_44_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_33_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_24_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_14_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/21/09/image_10072025_21_10_03_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/09/image_10072025_21_09_54_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_44_10658.jpg', '/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_33_9662.jpg', '/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_24_9652.jpg', '/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_14_10675.jpg', '/home/nano/Desktop/images/10072025/21/09/image_10072025_21_10_03_9648.jpg', '/home/nano/Desktop/images/10072025/21/09/image_10072025_21_09_54_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_44_10658.jpg
/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_33_9662.jpg
/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_24_9652.jpg
/home/nano/Desktop/images/10072025/21/10/image_10072025_21_10_14_10675.jpg
/home/nano/Desktop/images/10072025/21/09/image_10072025_21_10_03_9648.jpg
/home/nano/Desktop/images/10072025/21/09/image_10072025_21_09_54_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795829","1371795834","1371795837","1371795825","1371795827","1371795836"],"photo_ids_order":["1371795825","1371795827","1371795829","1371795834","1371795836","1371795837"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f894acd906d9d1a1e83b343a87807f6.jpg","text":"TemporaryFile(/tmp/multipartBody5697840980082847696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290825288,"filename":"image_10072025_21_10_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/748c90c7129920cb5224195522aa1c28.jpg","text":"TemporaryFile(/tmp/multipartBody1784275309752168087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290825288,"filename":"image_10072025_21_10_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9d446f4d538c031ea61f1c98a844f1d.jpg","text":"TemporaryFile(/tmp/multipartBody6390765880365511829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290825288,"filename":"image_10072025_21_09_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9939b1db0f834f0d0ffc261821fae6f.jpg","text":"TemporaryFile(/tmp/multipartBody9000342111174075040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290825288,"filename":"image_10072025_21_10_44_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15a60f385abc84149f977b10d83fa086.jpg","text":"TemporaryFile(/tmp/multipartBody8632213135842758969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290825288,"filename":"image_10072025_21_10_33_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e36b13bd0544bcff308a804473c308f.jpg","text":"TemporaryFile(/tmp/multipartBody1274386335401858318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290825288,"filename":"image_10072025_21_10_03_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795829","file1":"1371795827","file0":"1371795825","file4":"1371795836","file5":"1371795837","file3":"1371795834"},"map_files_photo_id_array":[{"photo_id":"1371795837","filename":"file5"},{"photo_id":"1371795829","filename":"file2"},{"photo_id":"1371795836","filename":"file4"},{"photo_id":"1371795827","filename":"file1"},{"photo_id":"1371795825","filename":"file0"},{"photo_id":"1371795834","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371795829":["hashtag1","hashtag2"]},{"1371795834":["hashtag1","hashtag2"]},{"1371795837":["hashtag1","hashtag2"]},{"1371795825":["hashtag1","hashtag2"]},{"1371795827":["hashtag1","hashtag2"]},{"1371795836":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371795829, 1371795834, 1371795837, 1371795825, 1371795827, 1371795836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65033483505249 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:26:47.444433
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_43_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_34_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/05/25/image_12072025_05_26_04_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/05/25/image_12072025_05_25_54_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_43_9646.jpg', '/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_34_9646.jpg', '/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_24_10648.jpg', '/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_13_9658.jpg', '/home/nano/Desktop/images/12072025/05/25/image_12072025_05_26_04_9658.jpg', '/home/nano/Desktop/images/12072025/05/25/image_12072025_05_25_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_43_9646.jpg
/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_34_9646.jpg
/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_24_10648.jpg
/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_13_9658.jpg
/home/nano/Desktop/images/12072025/05/25/image_12072025_05_26_04_9658.jpg
/home/nano/Desktop/images/12072025/05/25/image_12072025_05_25_54_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795847","1371795858","1371795867","1371795855","1371795851","1371795865"],"photo_ids_order":["1371795847","1371795851","1371795855","1371795858","1371795865","1371795867"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dcc19b7a6a0fe4427ec4d65b966880a4.jpg","text":"TemporaryFile(/tmp/multipartBody6518651722548755375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290868597,"filename":"image_12072025_05_26_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/735984244bda72c758da8862c558232b.jpg","text":"TemporaryFile(/tmp/multipartBody4930491210984958459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290868597,"filename":"image_12072025_05_26_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08e009fd34ef929936f75a79da8677cb.jpg","text":"TemporaryFile(/tmp/multipartBody334748817257086297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290868597,"filename":"image_12072025_05_25_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20b2fbf1bb21480d7a933edfd3c67d7e.jpg","text":"TemporaryFile(/tmp/multipartBody893527197303537452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290868597,"filename":"image_12072025_05_26_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b20a73fa34f1e4d555139e9cb5be5023.jpg","text":"TemporaryFile(/tmp/multipartBody5036553749308155751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290868597,"filename":"image_12072025_05_26_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fce795300098979f25f512e4a09b260.jpg","text":"TemporaryFile(/tmp/multipartBody8162016016683357599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290868597,"filename":"image_12072025_05_26_04_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795855","file1":"1371795851","file0":"1371795847","file4":"1371795865","file5":"1371795867","file3":"1371795858"},"map_files_photo_id_array":[{"photo_id":"1371795867","filename":"file5"},{"photo_id":"1371795855","filename":"file2"},{"photo_id":"1371795865","filename":"file4"},{"photo_id":"1371795851","filename":"file1"},{"photo_id":"1371795847","filename":"file0"},{"photo_id":"1371795858","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795847":["hashtag1","hashtag2"]},{"1371795858":["hashtag1","hashtag2"]},{"1371795867":["hashtag1","hashtag2"]},{"1371795855":["hashtag1","hashtag2"]},{"1371795851":["hashtag1","hashtag2"]},{"1371795865":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795847, 1371795858, 1371795867, 1371795855, 1371795851, 1371795865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38323664665222 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:27:32.559711
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_13_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_54_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_44_10647.jpg', '/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_24_10647.jpg', '/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_13_9662.jpg', '/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_54_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_44_10647.jpg
/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_24_10647.jpg
/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_13_9662.jpg
/home/nano/Desktop/images/12072025/05/26/image_12072025_05_26_54_10644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795880","1371795877","1371795876","1371795875"],"photo_ids_order":["1371795875","1371795876","1371795877","1371795880"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01b7264ff7de9d21605a32cfa06dc953.jpg","text":"TemporaryFile(/tmp/multipartBody7690841737886332223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290913375,"filename":"image_12072025_05_26_54_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/214ad9e7e475ee4f209fce41437c28d4.jpg","text":"TemporaryFile(/tmp/multipartBody6815047923684656441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290913375,"filename":"image_12072025_05_27_13_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4abc0e9e3b394e290d38d2fa5bc9444.jpg","text":"TemporaryFile(/tmp/multipartBody8381109216089335705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290913375,"filename":"image_12072025_05_27_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8dba5b318a1f9b379150636bc2e60628.jpg","text":"TemporaryFile(/tmp/multipartBody174675572370607108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290913375,"filename":"image_12072025_05_27_44_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795877","file1":"1371795876","file0":"1371795875","file3":"1371795880"},"map_files_photo_id_array":[{"photo_id":"1371795877","filename":"file2"},{"photo_id":"1371795876","filename":"file1"},{"photo_id":"1371795875","filename":"file0"},{"photo_id":"1371795880","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795880":["hashtag1","hashtag2"]},{"1371795877":["hashtag1","hashtag2"]},{"1371795876":["hashtag1","hashtag2"]},{"1371795875":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795880, 1371795877, 1371795876, 1371795875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.18918514251709 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:28:02.990564
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/09/image_10072025_21_09_44_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/21/09/image_10072025_21_09_33_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/21/09/image_10072025_21_09_14_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/21/08/image_10072025_21_09_03_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/21/08/image_10072025_21_08_44_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/21/08/image_10072025_21_08_33_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/09/image_10072025_21_09_44_10658.jpg', '/home/nano/Desktop/images/10072025/21/09/image_10072025_21_09_33_9652.jpg', '/home/nano/Desktop/images/10072025/21/09/image_10072025_21_09_14_10675.jpg', '/home/nano/Desktop/images/10072025/21/08/image_10072025_21_09_03_9650.jpg', '/home/nano/Desktop/images/10072025/21/08/image_10072025_21_08_44_10664.jpg', '/home/nano/Desktop/images/10072025/21/08/image_10072025_21_08_33_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/09/image_10072025_21_09_44_10658.jpg
/home/nano/Desktop/images/10072025/21/09/image_10072025_21_09_33_9652.jpg
/home/nano/Desktop/images/10072025/21/09/image_10072025_21_09_14_10675.jpg
/home/nano/Desktop/images/10072025/21/08/image_10072025_21_09_03_9650.jpg
/home/nano/Desktop/images/10072025/21/08/image_10072025_21_08_44_10664.jpg
/home/nano/Desktop/images/10072025/21/08/image_10072025_21_08_33_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795916","1371795919","1371795913","1371795921","1371795909","1371795923"],"photo_ids_order":["1371795909","1371795913","1371795916","1371795919","1371795921","1371795923"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83cc9c1467106599ce37ad7c6316bacd.jpg","text":"TemporaryFile(/tmp/multipartBody9154988483875112753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290946135,"filename":"image_10072025_21_09_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f717cd03454f2166766d39b267a87a6.jpg","text":"TemporaryFile(/tmp/multipartBody7690545383095638247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290946135,"filename":"image_10072025_21_09_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8142a21e48e1fa6a8f977dea9ae915d8.jpg","text":"TemporaryFile(/tmp/multipartBody8014580603514772194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290946135,"filename":"image_10072025_21_09_33_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6af5c682b7368a75b2739d1a1011ff4.jpg","text":"TemporaryFile(/tmp/multipartBody8384221666756092162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290946135,"filename":"image_10072025_21_08_44_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8b6aaa0681950c9ae44f5715bc937f9.jpg","text":"TemporaryFile(/tmp/multipartBody4162594848946107554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290946135,"filename":"image_10072025_21_09_44_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f4570bb7c49027f1619b6abdb3e1be5.jpg","text":"TemporaryFile(/tmp/multipartBody2666483555094912499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752290946135,"filename":"image_10072025_21_08_33_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795916","file1":"1371795913","file0":"1371795909","file4":"1371795921","file5":"1371795923","file3":"1371795919"},"map_files_photo_id_array":[{"photo_id":"1371795923","filename":"file5"},{"photo_id":"1371795916","filename":"file2"},{"photo_id":"1371795921","filename":"file4"},{"photo_id":"1371795913","filename":"file1"},{"photo_id":"1371795909","filename":"file0"},{"photo_id":"1371795919","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371795916":["hashtag1","hashtag2"]},{"1371795919":["hashtag1","hashtag2"]},{"1371795913":["hashtag1","hashtag2"]},{"1371795921":["hashtag1","hashtag2"]},{"1371795909":["hashtag1","hashtag2"]},{"1371795923":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371795916, 1371795919, 1371795913, 1371795921, 1371795909, 1371795923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09918427467346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:28:47.645253
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_24_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_14_10676.jpg', 2), ('/home/nano/Desktop/images/12072025/05/27/image_12072025_05_28_03_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_44_10649.jpg', '/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_33_9645.jpg', '/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_24_9646.jpg', '/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_14_10676.jpg', '/home/nano/Desktop/images/12072025/05/27/image_12072025_05_28_03_9653.jpg', '/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_44_10649.jpg
/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_33_9645.jpg
/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_24_9646.jpg
/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_14_10676.jpg
/home/nano/Desktop/images/12072025/05/27/image_12072025_05_28_03_9653.jpg
/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_54_9640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1478521823883057 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:29:03.305719
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_24_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_14_10676.jpg', 2), ('/home/nano/Desktop/images/12072025/05/27/image_12072025_05_28_03_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_44_10649.jpg', '/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_33_9645.jpg', '/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_24_9646.jpg', '/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_14_10676.jpg', '/home/nano/Desktop/images/12072025/05/27/image_12072025_05_28_03_9653.jpg', '/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_44_10649.jpg
/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_33_9645.jpg
/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_24_9646.jpg
/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_14_10676.jpg
/home/nano/Desktop/images/12072025/05/27/image_12072025_05_28_03_9653.jpg
/home/nano/Desktop/images/12072025/05/27/image_12072025_05_27_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795946","1371795955","1371795958","1371795957","1371795951","1371795960"],"photo_ids_order":["1371795946","1371795951","1371795955","1371795957","1371795958","1371795960"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e4a0ebc0829bcd29615a27a82fb4e7c.jpg","text":"TemporaryFile(/tmp/multipartBody1851791502209344655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291004536,"filename":"image_12072025_05_28_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83471dc0bbbe6bd9b1fa864ae819e350.jpg","text":"TemporaryFile(/tmp/multipartBody5945129297266158077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291004536,"filename":"image_12072025_05_28_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0098b20ce4280bc5b0310544a583f5b4.jpg","text":"TemporaryFile(/tmp/multipartBody2872068192714411162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291004536,"filename":"image_12072025_05_28_03_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2cd2b53e49c7693d9e2ae67b6448e48f.jpg","text":"TemporaryFile(/tmp/multipartBody840071889674064325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291004536,"filename":"image_12072025_05_28_14_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a49014bb3b235ea27a3dc2fbf51bf6c0.jpg","text":"TemporaryFile(/tmp/multipartBody8111516245272194819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291004536,"filename":"image_12072025_05_28_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/05c1aee0b7855fcf4f8c9c3f81dc4de9.jpg","text":"TemporaryFile(/tmp/multipartBody3200122481713572906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291004536,"filename":"image_12072025_05_27_54_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795955","file1":"1371795951","file0":"1371795946","file4":"1371795958","file5":"1371795960","file3":"1371795957"},"map_files_photo_id_array":[{"photo_id":"1371795960","filename":"file5"},{"photo_id":"1371795955","filename":"file2"},{"photo_id":"1371795958","filename":"file4"},{"photo_id":"1371795951","filename":"file1"},{"photo_id":"1371795946","filename":"file0"},{"photo_id":"1371795957","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795946":["hashtag1","hashtag2"]},{"1371795955":["hashtag1","hashtag2"]},{"1371795958":["hashtag1","hashtag2"]},{"1371795957":["hashtag1","hashtag2"]},{"1371795951":["hashtag1","hashtag2"]},{"1371795960":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795946, 1371795955, 1371795958, 1371795957, 1371795951, 1371795960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.566107749938965 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:29:47.756806
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/29/image_12072025_05_29_33_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/29/image_12072025_05_29_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/29/image_12072025_05_29_14_10684.jpg', 2), ('/home/nano/Desktop/images/12072025/05/28/image_12072025_05_29_03_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/29/image_12072025_05_29_33_9654.jpg', '/home/nano/Desktop/images/12072025/05/29/image_12072025_05_29_24_9638.jpg', '/home/nano/Desktop/images/12072025/05/29/image_12072025_05_29_14_10684.jpg', '/home/nano/Desktop/images/12072025/05/28/image_12072025_05_29_03_9652.jpg', '/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/29/image_12072025_05_29_33_9654.jpg
/home/nano/Desktop/images/12072025/05/29/image_12072025_05_29_24_9638.jpg
/home/nano/Desktop/images/12072025/05/29/image_12072025_05_29_14_10684.jpg
/home/nano/Desktop/images/12072025/05/28/image_12072025_05_29_03_9652.jpg
/home/nano/Desktop/images/12072025/05/28/image_12072025_05_28_54_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371795990","1371795984","1371795986","1371795980","1371795982"],"photo_ids_order":["1371795980","1371795982","1371795984","1371795986","1371795990"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1039dc22c3ec2051974a5784b401ca6c.jpg","text":"TemporaryFile(/tmp/multipartBody1414745545550797131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291048760,"filename":"image_12072025_05_28_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0539488826d10bfd7a81cac063c90ec.jpg","text":"TemporaryFile(/tmp/multipartBody46487496489131420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291048760,"filename":"image_12072025_05_29_14_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f4dbf4fc0b60f44263130c3cad0d1da.jpg","text":"TemporaryFile(/tmp/multipartBody1327779287707164035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291048760,"filename":"image_12072025_05_29_03_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/130603679a233f5748dbd1617a10e0da.jpg","text":"TemporaryFile(/tmp/multipartBody6291477617460698357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291048760,"filename":"image_12072025_05_29_33_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e5629470efb943813c7033397762ffe.jpg","text":"TemporaryFile(/tmp/multipartBody1637320856049376669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291048760,"filename":"image_12072025_05_29_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371795984","file1":"1371795982","file0":"1371795980","file4":"1371795990","file3":"1371795986"},"map_files_photo_id_array":[{"photo_id":"1371795984","filename":"file2"},{"photo_id":"1371795990","filename":"file4"},{"photo_id":"1371795982","filename":"file1"},{"photo_id":"1371795980","filename":"file0"},{"photo_id":"1371795986","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371795990":["hashtag1","hashtag2"]},{"1371795984":["hashtag1","hashtag2"]},{"1371795986":["hashtag1","hashtag2"]},{"1371795980":["hashtag1","hashtag2"]},{"1371795982":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371795990, 1371795984, 1371795986, 1371795980, 1371795982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.029948949813843 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:30:31.850777
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_44_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_33_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_24_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_14_10712.jpg', 2), ('/home/nano/Desktop/images/12072025/05/29/image_12072025_05_30_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/05/29/image_12072025_05_29_44_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_44_10655.jpg', '/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_33_9644.jpg', '/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_24_9658.jpg', '/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_14_10712.jpg', '/home/nano/Desktop/images/12072025/05/29/image_12072025_05_30_03_9643.jpg', '/home/nano/Desktop/images/12072025/05/29/image_12072025_05_29_44_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_44_10655.jpg
/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_33_9644.jpg
/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_24_9658.jpg
/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_14_10712.jpg
/home/nano/Desktop/images/12072025/05/29/image_12072025_05_30_03_9643.jpg
/home/nano/Desktop/images/12072025/05/29/image_12072025_05_29_44_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796009","1371796012","1371796022","1371796019","1371796007","1371796016"],"photo_ids_order":["1371796007","1371796009","1371796012","1371796016","1371796019","1371796022"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7486a5f471f236cf4b4a2ad48140d15.jpg","text":"TemporaryFile(/tmp/multipartBody5441327811541936316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291093370,"filename":"image_12072025_05_30_33_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af85d896f53b23f846de0faf98c95890.jpg","text":"TemporaryFile(/tmp/multipartBody2908571691879786821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291093370,"filename":"image_12072025_05_30_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35a14b7e920e3fee3651fd93ab69742e.jpg","text":"TemporaryFile(/tmp/multipartBody5470074380176866964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291093370,"filename":"image_12072025_05_29_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97640dfe1c5fb4c89169dd35711ec298.jpg","text":"TemporaryFile(/tmp/multipartBody3684120732274092102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291093370,"filename":"image_12072025_05_30_03_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc1865bdf96185097a99fe4663e232d9.jpg","text":"TemporaryFile(/tmp/multipartBody452083196923389872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291093370,"filename":"image_12072025_05_30_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a77e63a3e7c31657a392f57d4dd34e62.jpg","text":"TemporaryFile(/tmp/multipartBody6716659582450155688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291093370,"filename":"image_12072025_05_30_14_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796012","file1":"1371796009","file0":"1371796007","file4":"1371796019","file5":"1371796022","file3":"1371796016"},"map_files_photo_id_array":[{"photo_id":"1371796022","filename":"file5"},{"photo_id":"1371796012","filename":"file2"},{"photo_id":"1371796019","filename":"file4"},{"photo_id":"1371796009","filename":"file1"},{"photo_id":"1371796007","filename":"file0"},{"photo_id":"1371796016","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371796009":["hashtag1","hashtag2"]},{"1371796012":["hashtag1","hashtag2"]},{"1371796022":["hashtag1","hashtag2"]},{"1371796019":["hashtag1","hashtag2"]},{"1371796007":["hashtag1","hashtag2"]},{"1371796016":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371796009, 1371796012, 1371796022, 1371796019, 1371796007, 1371796016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46381759643555 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:31:16.940141
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_44_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_33_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_23_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/05/30/image_12072025_05_31_03_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_44_10667.jpg', '/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_33_9650.jpg', '/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_23_9648.jpg', '/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_14_10667.jpg', '/home/nano/Desktop/images/12072025/05/30/image_12072025_05_31_03_9655.jpg', '/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_44_10667.jpg
/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_33_9650.jpg
/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_23_9648.jpg
/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_14_10667.jpg
/home/nano/Desktop/images/12072025/05/30/image_12072025_05_31_03_9655.jpg
/home/nano/Desktop/images/12072025/05/30/image_12072025_05_30_53_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796042","1371796039","1371796032","1371796041","1371796035","1371796037"],"photo_ids_order":["1371796032","1371796035","1371796037","1371796039","1371796041","1371796042"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b6d1ec8d9be8e9ea2de14cf76efa9f3.jpg","text":"TemporaryFile(/tmp/multipartBody6805403320922325483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291137955,"filename":"image_12072025_05_30_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/106b32cffcde0823eb988ae014ead628.jpg","text":"TemporaryFile(/tmp/multipartBody2405690582285620268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291137955,"filename":"image_12072025_05_31_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/655d1933c78af4da7abbd3d5a52dca07.jpg","text":"TemporaryFile(/tmp/multipartBody7982727180903690506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291137955,"filename":"image_12072025_05_31_44_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56b9fbcf921ffdaeb60f58d09b0f3e24.jpg","text":"TemporaryFile(/tmp/multipartBody3506817282348668761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291137955,"filename":"image_12072025_05_31_03_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a810e734d1b163509d20bedac767e01.jpg","text":"TemporaryFile(/tmp/multipartBody4882250725156199024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291137955,"filename":"image_12072025_05_31_33_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b21106c53f6e4ee4db65ec85a927a086.jpg","text":"TemporaryFile(/tmp/multipartBody3321162965348362947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291137955,"filename":"image_12072025_05_31_23_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796037","file1":"1371796035","file0":"1371796032","file4":"1371796041","file5":"1371796042","file3":"1371796039"},"map_files_photo_id_array":[{"photo_id":"1371796042","filename":"file5"},{"photo_id":"1371796037","filename":"file2"},{"photo_id":"1371796041","filename":"file4"},{"photo_id":"1371796035","filename":"file1"},{"photo_id":"1371796032","filename":"file0"},{"photo_id":"1371796039","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371796042":["hashtag1","hashtag2"]},{"1371796039":["hashtag1","hashtag2"]},{"1371796032":["hashtag1","hashtag2"]},{"1371796041":["hashtag1","hashtag2"]},{"1371796035":["hashtag1","hashtag2"]},{"1371796037":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371796042, 1371796039, 1371796032, 1371796041, 1371796035, 1371796037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75081968307495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:32:02.347603
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_33_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_24_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_13_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/21/06/image_10072025_21_07_03_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_54_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_43_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_33_9648.jpg', '/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_24_10656.jpg', '/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_13_9665.jpg', '/home/nano/Desktop/images/10072025/21/06/image_10072025_21_07_03_9650.jpg', '/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_54_10655.jpg', '/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_43_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_33_9648.jpg
/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_24_10656.jpg
/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_13_9665.jpg
/home/nano/Desktop/images/10072025/21/06/image_10072025_21_07_03_9650.jpg
/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_54_10655.jpg
/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_43_9645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.541663408279419 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:32:17.052476
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/32/image_12072025_05_32_44_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/05/32/image_12072025_05_32_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/05/32/image_12072025_05_32_23_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/05/31/image_12072025_05_32_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_53_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/32/image_12072025_05_32_44_9657.jpg', '/home/nano/Desktop/images/12072025/05/32/image_12072025_05_32_34_10649.jpg', '/home/nano/Desktop/images/12072025/05/32/image_12072025_05_32_23_9659.jpg', '/home/nano/Desktop/images/12072025/05/31/image_12072025_05_32_04_10657.jpg', '/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_53_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/32/image_12072025_05_32_44_9657.jpg
/home/nano/Desktop/images/12072025/05/32/image_12072025_05_32_34_10649.jpg
/home/nano/Desktop/images/12072025/05/32/image_12072025_05_32_23_9659.jpg
/home/nano/Desktop/images/12072025/05/31/image_12072025_05_32_04_10657.jpg
/home/nano/Desktop/images/12072025/05/31/image_12072025_05_31_53_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796074","1371796071","1371796068","1371796066","1371796069"],"photo_ids_order":["1371796066","1371796068","1371796069","1371796071","1371796074"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da9a2412ce08282f44c9c83a6bfe6d08.jpg","text":"TemporaryFile(/tmp/multipartBody8628426814675589151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291198217,"filename":"image_12072025_05_31_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55478bc6ab5edb9f03c5e9f1438ad37d.jpg","text":"TemporaryFile(/tmp/multipartBody8115384436884691862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291198217,"filename":"image_12072025_05_32_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ba8f387c0cca76201d0e5af068c7a3c.jpg","text":"TemporaryFile(/tmp/multipartBody1999027936914992740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291198217,"filename":"image_12072025_05_32_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86c2546b24028bef0ffa037decb7ac80.jpg","text":"TemporaryFile(/tmp/multipartBody8907738321435716718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291198217,"filename":"image_12072025_05_32_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6253f8c24f02242b26d984ed644b8e15.jpg","text":"TemporaryFile(/tmp/multipartBody4016550633881386494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291198217,"filename":"image_12072025_05_32_23_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796069","file1":"1371796068","file0":"1371796066","file4":"1371796074","file3":"1371796071"},"map_files_photo_id_array":[{"photo_id":"1371796069","filename":"file2"},{"photo_id":"1371796074","filename":"file4"},{"photo_id":"1371796068","filename":"file1"},{"photo_id":"1371796066","filename":"file0"},{"photo_id":"1371796071","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371796074":["hashtag1","hashtag2"]},{"1371796071":["hashtag1","hashtag2"]},{"1371796068":["hashtag1","hashtag2"]},{"1371796066":["hashtag1","hashtag2"]},{"1371796069":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371796074, 1371796071, 1371796068, 1371796066, 1371796069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.26370859146118 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:33:02.712514
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_33_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_24_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_13_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/21/06/image_10072025_21_07_03_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_54_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_43_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_33_9648.jpg', '/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_24_10656.jpg', '/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_13_9665.jpg', '/home/nano/Desktop/images/10072025/21/06/image_10072025_21_07_03_9650.jpg', '/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_54_10655.jpg', '/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_43_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_33_9648.jpg
/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_24_10656.jpg
/home/nano/Desktop/images/10072025/21/07/image_10072025_21_07_13_9665.jpg
/home/nano/Desktop/images/10072025/21/06/image_10072025_21_07_03_9650.jpg
/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_54_10655.jpg
/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_43_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796108","1371796111","1371796105","1371796097","1371796101","1371796094"],"photo_ids_order":["1371796094","1371796097","1371796101","1371796105","1371796108","1371796111"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1726a68f4fb4f76186989fcdbf9b2b0f.jpg","text":"TemporaryFile(/tmp/multipartBody7982130140782675274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291245544,"filename":"image_10072025_21_06_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8982e4573bdc2f478ad0780e4e2f2fb.jpg","text":"TemporaryFile(/tmp/multipartBody2196291682731683130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291245544,"filename":"image_10072025_21_06_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a6eda720e14e2f69c57305e124cd8fb.jpg","text":"TemporaryFile(/tmp/multipartBody2520589462082272043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291245544,"filename":"image_10072025_21_07_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7205184ab45b5f11e7e2a57721f44ee.jpg","text":"TemporaryFile(/tmp/multipartBody3454753422153100926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291245544,"filename":"image_10072025_21_07_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4f0760a499458d7824ca0d7f14d6e0d.jpg","text":"TemporaryFile(/tmp/multipartBody7040448598647500743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291245544,"filename":"image_10072025_21_07_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae4a878d52d626943b79f5c89f282aa4.jpg","text":"TemporaryFile(/tmp/multipartBody7720191303623838069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291245544,"filename":"image_10072025_21_07_33_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796101","file1":"1371796097","file0":"1371796094","file4":"1371796108","file5":"1371796111","file3":"1371796105"},"map_files_photo_id_array":[{"photo_id":"1371796111","filename":"file5"},{"photo_id":"1371796101","filename":"file2"},{"photo_id":"1371796108","filename":"file4"},{"photo_id":"1371796097","filename":"file1"},{"photo_id":"1371796094","filename":"file0"},{"photo_id":"1371796105","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371796108":["hashtag1","hashtag2"]},{"1371796111":["hashtag1","hashtag2"]},{"1371796105":["hashtag1","hashtag2"]},{"1371796097":["hashtag1","hashtag2"]},{"1371796101":["hashtag1","hashtag2"]},{"1371796094":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371796108, 1371796111, 1371796105, 1371796097, 1371796101, 1371796094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05232310295105 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:33:47.180272
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/33/image_12072025_05_33_44_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/05/33/image_12072025_05_33_23_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/05/33/image_12072025_05_33_14_9706.jpg', 2), ('/home/nano/Desktop/images/12072025/05/32/image_12072025_05_33_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/05/32/image_12072025_05_32_53_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/33/image_12072025_05_33_44_9640.jpg', '/home/nano/Desktop/images/12072025/05/33/image_12072025_05_33_23_9642.jpg', '/home/nano/Desktop/images/12072025/05/33/image_12072025_05_33_14_9706.jpg', '/home/nano/Desktop/images/12072025/05/32/image_12072025_05_33_04_10657.jpg', '/home/nano/Desktop/images/12072025/05/32/image_12072025_05_32_53_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/33/image_12072025_05_33_44_9640.jpg
/home/nano/Desktop/images/12072025/05/33/image_12072025_05_33_23_9642.jpg
/home/nano/Desktop/images/12072025/05/33/image_12072025_05_33_14_9706.jpg
/home/nano/Desktop/images/12072025/05/32/image_12072025_05_33_04_10657.jpg
/home/nano/Desktop/images/12072025/05/32/image_12072025_05_32_53_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796138","1371796137","1371796134","1371796130","1371796127"],"photo_ids_order":["1371796127","1371796130","1371796134","1371796137","1371796138"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/304b2b23240552b6d67f560e72eacdff.jpg","text":"TemporaryFile(/tmp/multipartBody388793589144664247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291288523,"filename":"image_12072025_05_32_53_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d759332c8a104d0811f22d14047722c.jpg","text":"TemporaryFile(/tmp/multipartBody2094104752376274294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291288523,"filename":"image_12072025_05_33_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b2d3b2b03ec86d60a7805fc36193478.jpg","text":"TemporaryFile(/tmp/multipartBody8058743321112804451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291288523,"filename":"image_12072025_05_33_14_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3431ce49d1ff89e08874eb84fd05695.jpg","text":"TemporaryFile(/tmp/multipartBody9084368990503247143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291288523,"filename":"image_12072025_05_33_23_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe181520d5aa66d05d5bcc04e44e1e3f.jpg","text":"TemporaryFile(/tmp/multipartBody6318795649588554756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291288523,"filename":"image_12072025_05_33_44_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796134","file1":"1371796130","file0":"1371796127","file4":"1371796138","file3":"1371796137"},"map_files_photo_id_array":[{"photo_id":"1371796134","filename":"file2"},{"photo_id":"1371796138","filename":"file4"},{"photo_id":"1371796130","filename":"file1"},{"photo_id":"1371796127","filename":"file0"},{"photo_id":"1371796137","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371796138":["hashtag1","hashtag2"]},{"1371796137":["hashtag1","hashtag2"]},{"1371796134":["hashtag1","hashtag2"]},{"1371796130":["hashtag1","hashtag2"]},{"1371796127":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371796138, 1371796137, 1371796134, 1371796130, 1371796127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.37263536453247 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:34:32.287678
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/34/image_12072025_05_34_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/34/image_12072025_05_34_34_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/34/image_12072025_05_34_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/05/33/image_12072025_05_34_04_10684.jpg', 2), ('/home/nano/Desktop/images/12072025/05/33/image_12072025_05_33_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/34/image_12072025_05_34_44_9637.jpg', '/home/nano/Desktop/images/12072025/05/34/image_12072025_05_34_34_10654.jpg', '/home/nano/Desktop/images/12072025/05/34/image_12072025_05_34_23_9636.jpg', '/home/nano/Desktop/images/12072025/05/33/image_12072025_05_34_04_10684.jpg', '/home/nano/Desktop/images/12072025/05/33/image_12072025_05_33_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/34/image_12072025_05_34_44_9637.jpg
/home/nano/Desktop/images/12072025/05/34/image_12072025_05_34_34_10654.jpg
/home/nano/Desktop/images/12072025/05/34/image_12072025_05_34_23_9636.jpg
/home/nano/Desktop/images/12072025/05/33/image_12072025_05_34_04_10684.jpg
/home/nano/Desktop/images/12072025/05/33/image_12072025_05_33_53_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796160","1371796177","1371796159","1371796168","1371796147"],"photo_ids_order":["1371796147","1371796159","1371796160","1371796168","1371796177"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc75eed76d5811980fcd0e1207d41406.jpg","text":"TemporaryFile(/tmp/multipartBody2836584100515990779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291333496,"filename":"image_12072025_05_34_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e1ce3ef265931a74929ecdae1c69488.jpg","text":"TemporaryFile(/tmp/multipartBody2813636240130182797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291333496,"filename":"image_12072025_05_33_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38355f6c503ce30f1012b3602a18f8c8.jpg","text":"TemporaryFile(/tmp/multipartBody9207717886276354674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291333496,"filename":"image_12072025_05_34_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9fc6785a8a51a498504fd7ee90eaddd.jpg","text":"TemporaryFile(/tmp/multipartBody4972171817681620162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291333496,"filename":"image_12072025_05_34_04_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6551ea3ef88483d40b411e2a8ebfbee.jpg","text":"TemporaryFile(/tmp/multipartBody4339765798280002435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291333496,"filename":"image_12072025_05_34_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796160","file1":"1371796159","file0":"1371796147","file4":"1371796177","file3":"1371796168"},"map_files_photo_id_array":[{"photo_id":"1371796160","filename":"file2"},{"photo_id":"1371796177","filename":"file4"},{"photo_id":"1371796159","filename":"file1"},{"photo_id":"1371796147","filename":"file0"},{"photo_id":"1371796168","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371796160":["hashtag1","hashtag2"]},{"1371796177":["hashtag1","hashtag2"]},{"1371796159":["hashtag1","hashtag2"]},{"1371796168":["hashtag1","hashtag2"]},{"1371796147":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371796160, 1371796177, 1371796159, 1371796168, 1371796147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.45959210395813 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:35:02.962690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_24_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_13_9668.jpg', 2), ('/home/nano/Desktop/images/10072025/21/05/image_10072025_21_06_04_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_54_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_43_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_34_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_24_10664.jpg', '/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_13_9668.jpg', '/home/nano/Desktop/images/10072025/21/05/image_10072025_21_06_04_9656.jpg', '/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_54_10655.jpg', '/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_43_9645.jpg', '/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_34_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_24_10664.jpg
/home/nano/Desktop/images/10072025/21/06/image_10072025_21_06_13_9668.jpg
/home/nano/Desktop/images/10072025/21/05/image_10072025_21_06_04_9656.jpg
/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_54_10655.jpg
/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_43_9645.jpg
/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_34_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796234","1371796237","1371796239","1371796218","1371796215","1371796193"],"photo_ids_order":["1371796193","1371796215","1371796218","1371796234","1371796237","1371796239"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1512c84f331341721eb6960bfded23d7.jpg","text":"TemporaryFile(/tmp/multipartBody5792380194827013848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291365563,"filename":"image_10072025_21_05_54_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3dd337bf1178ba74fa400bfeb4d4b47a.jpg","text":"TemporaryFile(/tmp/multipartBody8757458988601779203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291365563,"filename":"image_10072025_21_05_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42ab185b1451f4671d8d28104d877500.jpg","text":"TemporaryFile(/tmp/multipartBody5593388883702699012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291365563,"filename":"image_10072025_21_05_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f70ba871ee9ddfe1dd32a758a5e93cad.jpg","text":"TemporaryFile(/tmp/multipartBody4254894607836231760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291365563,"filename":"image_10072025_21_06_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/244f4e5ac8c8a217b3744c950e236480.jpg","text":"TemporaryFile(/tmp/multipartBody1387826605811140463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291365563,"filename":"image_10072025_21_06_13_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f866bf21321c9643322367f86f94301.jpg","text":"TemporaryFile(/tmp/multipartBody556039771776385361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291365563,"filename":"image_10072025_21_06_24_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796218","file1":"1371796215","file0":"1371796193","file4":"1371796237","file5":"1371796239","file3":"1371796234"},"map_files_photo_id_array":[{"photo_id":"1371796239","filename":"file5"},{"photo_id":"1371796218","filename":"file2"},{"photo_id":"1371796237","filename":"file4"},{"photo_id":"1371796215","filename":"file1"},{"photo_id":"1371796193","filename":"file0"},{"photo_id":"1371796234","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371796234":["hashtag1","hashtag2"]},{"1371796237":["hashtag1","hashtag2"]},{"1371796239":["hashtag1","hashtag2"]},{"1371796218":["hashtag1","hashtag2"]},{"1371796215":["hashtag1","hashtag2"]},{"1371796193":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371796234, 1371796237, 1371796239, 1371796218, 1371796215, 1371796193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60957312583923 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:35:47.410951
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_14_9682.jpg', 2), ('/home/nano/Desktop/images/12072025/05/34/image_12072025_05_35_04_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/05/34/image_12072025_05_34_53_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_43_9637.jpg', '/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_34_10648.jpg', '/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_23_9638.jpg', '/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_14_9682.jpg', '/home/nano/Desktop/images/12072025/05/34/image_12072025_05_35_04_10659.jpg', '/home/nano/Desktop/images/12072025/05/34/image_12072025_05_34_53_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_43_9637.jpg
/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_34_10648.jpg
/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_23_9638.jpg
/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_14_9682.jpg
/home/nano/Desktop/images/12072025/05/34/image_12072025_05_35_04_10659.jpg
/home/nano/Desktop/images/12072025/05/34/image_12072025_05_34_53_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796271","1371796313","1371796316","1371796319","1371796310","1371796285"],"photo_ids_order":["1371796271","1371796285","1371796310","1371796313","1371796316","1371796319"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45dea5c8ee9841733364abe8658135ec.jpg","text":"TemporaryFile(/tmp/multipartBody7526180037921311109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291408794,"filename":"image_12072025_05_35_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c012476e5e99eda999f37deb43338d5b.jpg","text":"TemporaryFile(/tmp/multipartBody3503725739147590652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291408794,"filename":"image_12072025_05_35_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/216dedfc4d753fb55d93b1215d2be282.jpg","text":"TemporaryFile(/tmp/multipartBody8811011106413576436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291408794,"filename":"image_12072025_05_35_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01d45ffb46bbc68d77bfb4987de7ab61.jpg","text":"TemporaryFile(/tmp/multipartBody6006951523497607517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291408794,"filename":"image_12072025_05_34_53_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ae09bad0c6f83568704fd43672f5719.jpg","text":"TemporaryFile(/tmp/multipartBody6953602633511116650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291408794,"filename":"image_12072025_05_35_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4de052d5e09bacfa34293efbb851e1b.jpg","text":"TemporaryFile(/tmp/multipartBody684310541861876529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291408794,"filename":"image_12072025_05_35_34_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796310","file1":"1371796285","file0":"1371796271","file4":"1371796316","file5":"1371796319","file3":"1371796313"},"map_files_photo_id_array":[{"photo_id":"1371796319","filename":"file5"},{"photo_id":"1371796310","filename":"file2"},{"photo_id":"1371796316","filename":"file4"},{"photo_id":"1371796285","filename":"file1"},{"photo_id":"1371796271","filename":"file0"},{"photo_id":"1371796313","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371796271":["hashtag1","hashtag2"]},{"1371796313":["hashtag1","hashtag2"]},{"1371796316":["hashtag1","hashtag2"]},{"1371796319":["hashtag1","hashtag2"]},{"1371796310":["hashtag1","hashtag2"]},{"1371796285":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371796271, 1371796313, 1371796316, 1371796319, 1371796310, 1371796285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.095439434051514 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:36:32.527646
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/36/image_12072025_05_36_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/05/36/image_12072025_05_36_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/05/36/image_12072025_05_36_13_9672.jpg', 2), ('/home/nano/Desktop/images/12072025/05/35/image_12072025_05_36_04_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/36/image_12072025_05_36_34_10648.jpg', '/home/nano/Desktop/images/12072025/05/36/image_12072025_05_36_23_9636.jpg', '/home/nano/Desktop/images/12072025/05/36/image_12072025_05_36_13_9672.jpg', '/home/nano/Desktop/images/12072025/05/35/image_12072025_05_36_04_10668.jpg', '/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/36/image_12072025_05_36_34_10648.jpg
/home/nano/Desktop/images/12072025/05/36/image_12072025_05_36_23_9636.jpg
/home/nano/Desktop/images/12072025/05/36/image_12072025_05_36_13_9672.jpg
/home/nano/Desktop/images/12072025/05/35/image_12072025_05_36_04_10668.jpg
/home/nano/Desktop/images/12072025/05/35/image_12072025_05_35_53_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796348","1371796335","1371796344","1371796331","1371796339"],"photo_ids_order":["1371796331","1371796335","1371796339","1371796344","1371796348"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/874bc2b0eece41c998caf16725fb2b26.jpg","text":"TemporaryFile(/tmp/multipartBody3122970709345291879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291453674,"filename":"image_12072025_05_35_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/920005de396d293fa77d78bc3b91432a.jpg","text":"TemporaryFile(/tmp/multipartBody8425086302172890450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291453674,"filename":"image_12072025_05_36_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7186339e2d79697faeaf810d085f34b5.jpg","text":"TemporaryFile(/tmp/multipartBody7316121973670068711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291453674,"filename":"image_12072025_05_36_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dfb1d7202938fe6419081115918ac841.jpg","text":"TemporaryFile(/tmp/multipartBody1022034193788392221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291453674,"filename":"image_12072025_05_36_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c791fa94ef4bfe137f7801b161d8597c.jpg","text":"TemporaryFile(/tmp/multipartBody1843778672480639216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291453674,"filename":"image_12072025_05_36_13_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796339","file1":"1371796335","file0":"1371796331","file4":"1371796348","file3":"1371796344"},"map_files_photo_id_array":[{"photo_id":"1371796339","filename":"file2"},{"photo_id":"1371796348","filename":"file4"},{"photo_id":"1371796335","filename":"file1"},{"photo_id":"1371796331","filename":"file0"},{"photo_id":"1371796344","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371796348":["hashtag1","hashtag2"]},{"1371796335":["hashtag1","hashtag2"]},{"1371796344":["hashtag1","hashtag2"]},{"1371796331":["hashtag1","hashtag2"]},{"1371796339":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371796348, 1371796335, 1371796344, 1371796331, 1371796339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.223748922348022 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:37:02.967458
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_24_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_13_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/21/04/image_10072025_21_05_04_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/21/04/image_10072025_21_04_54_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/04/image_10072025_21_04_34_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/21/04/image_10072025_21_04_13_9663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_24_10655.jpg', '/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_13_9663.jpg', '/home/nano/Desktop/images/10072025/21/04/image_10072025_21_05_04_9664.jpg', '/home/nano/Desktop/images/10072025/21/04/image_10072025_21_04_54_10657.jpg', '/home/nano/Desktop/images/10072025/21/04/image_10072025_21_04_34_9664.jpg', '/home/nano/Desktop/images/10072025/21/04/image_10072025_21_04_13_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_24_10655.jpg
/home/nano/Desktop/images/10072025/21/05/image_10072025_21_05_13_9663.jpg
/home/nano/Desktop/images/10072025/21/04/image_10072025_21_05_04_9664.jpg
/home/nano/Desktop/images/10072025/21/04/image_10072025_21_04_54_10657.jpg
/home/nano/Desktop/images/10072025/21/04/image_10072025_21_04_34_9664.jpg
/home/nano/Desktop/images/10072025/21/04/image_10072025_21_04_13_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796371","1371796374","1371796376","1371796369","1371796378","1371796366"],"photo_ids_order":["1371796366","1371796369","1371796371","1371796374","1371796376","1371796378"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37113008d1858c05aaa70234c2f43d51.jpg","text":"TemporaryFile(/tmp/multipartBody74223684554157251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291485535,"filename":"image_10072025_21_05_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09abe4ea05cfd6656bf2f5d40afe0dd7.jpg","text":"TemporaryFile(/tmp/multipartBody5716607016195231276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291485535,"filename":"image_10072025_21_04_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcf92e9e3f030b8f54943426317a3162.jpg","text":"TemporaryFile(/tmp/multipartBody7648754087755969412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291485535,"filename":"image_10072025_21_04_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3326098810f43d6b485af7670c0bdf33.jpg","text":"TemporaryFile(/tmp/multipartBody4173247788014172600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291485535,"filename":"image_10072025_21_05_13_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/620793aa23ec89686d7c779bad31e744.jpg","text":"TemporaryFile(/tmp/multipartBody1106618187224415958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291485535,"filename":"image_10072025_21_04_13_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5ed7c0ff466155384bc18e9b2f559dd.jpg","text":"TemporaryFile(/tmp/multipartBody9176567488056646321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291485535,"filename":"image_10072025_21_05_24_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796371","file1":"1371796369","file0":"1371796366","file4":"1371796376","file5":"1371796378","file3":"1371796374"},"map_files_photo_id_array":[{"photo_id":"1371796378","filename":"file5"},{"photo_id":"1371796371","filename":"file2"},{"photo_id":"1371796376","filename":"file4"},{"photo_id":"1371796369","filename":"file1"},{"photo_id":"1371796366","filename":"file0"},{"photo_id":"1371796374","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371796371":["hashtag1","hashtag2"]},{"1371796374":["hashtag1","hashtag2"]},{"1371796376":["hashtag1","hashtag2"]},{"1371796369":["hashtag1","hashtag2"]},{"1371796378":["hashtag1","hashtag2"]},{"1371796366":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371796371, 1371796374, 1371796376, 1371796369, 1371796378, 1371796366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01567983627319 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:37:47.705109
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/37/image_12072025_05_37_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/37/image_12072025_05_37_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/36/image_12072025_05_37_04_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/05/36/image_12072025_05_36_43_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/37/image_12072025_05_37_43_9638.jpg', '/home/nano/Desktop/images/12072025/05/37/image_12072025_05_37_24_10647.jpg', '/home/nano/Desktop/images/12072025/05/36/image_12072025_05_37_04_9675.jpg', '/home/nano/Desktop/images/12072025/05/36/image_12072025_05_36_43_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/37/image_12072025_05_37_43_9638.jpg
/home/nano/Desktop/images/12072025/05/37/image_12072025_05_37_24_10647.jpg
/home/nano/Desktop/images/12072025/05/36/image_12072025_05_37_04_9675.jpg
/home/nano/Desktop/images/12072025/05/36/image_12072025_05_36_43_9646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796391","1371796400","1371796393","1371796396"],"photo_ids_order":["1371796391","1371796393","1371796396","1371796400"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c3342ac6008c3b842d127d22ad29bf17.jpg","text":"TemporaryFile(/tmp/multipartBody9028110627819665713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291528744,"filename":"image_12072025_05_37_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af794781257e5efba1e40a3cf215c32a.jpg","text":"TemporaryFile(/tmp/multipartBody3837441037819076147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291528744,"filename":"image_12072025_05_36_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a9e64366c2d3d29dd6853f3fb0e9bb2.jpg","text":"TemporaryFile(/tmp/multipartBody4344375746990088964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291528744,"filename":"image_12072025_05_37_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b38f4609e5967a89ac008ef0c6ee917.jpg","text":"TemporaryFile(/tmp/multipartBody5169696305593525618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291528744,"filename":"image_12072025_05_37_04_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796396","file1":"1371796393","file0":"1371796391","file3":"1371796400"},"map_files_photo_id_array":[{"photo_id":"1371796396","filename":"file2"},{"photo_id":"1371796393","filename":"file1"},{"photo_id":"1371796391","filename":"file0"},{"photo_id":"1371796400","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371796391":["hashtag1","hashtag2"]},{"1371796400":["hashtag1","hashtag2"]},{"1371796393":["hashtag1","hashtag2"]},{"1371796396":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371796391, 1371796400, 1371796393, 1371796396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.724793434143066 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:38:16.878245
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/38/image_12072025_05_38_13_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/05/37/image_12072025_05_38_04_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/37/image_12072025_05_37_54_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/38/image_12072025_05_38_13_9675.jpg', '/home/nano/Desktop/images/12072025/05/37/image_12072025_05_38_04_9654.jpg', '/home/nano/Desktop/images/12072025/05/37/image_12072025_05_37_54_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/38/image_12072025_05_38_13_9675.jpg
/home/nano/Desktop/images/12072025/05/37/image_12072025_05_38_04_9654.jpg
/home/nano/Desktop/images/12072025/05/37/image_12072025_05_37_54_10645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796410","1371796409","1371796406"],"photo_ids_order":["1371796406","1371796409","1371796410"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/adb13ce3221dc7e03d4b5303a38ad988.jpg","text":"TemporaryFile(/tmp/multipartBody707270542233116542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291557590,"filename":"image_12072025_05_37_54_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6067756af12a07366cddd0100ec4385a.jpg","text":"TemporaryFile(/tmp/multipartBody2624621168737043772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291557590,"filename":"image_12072025_05_38_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7f6ac2c07c6a19b86b90b32b04dee4f.jpg","text":"TemporaryFile(/tmp/multipartBody1648266628951152756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291557590,"filename":"image_12072025_05_38_13_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796410","file1":"1371796409","file0":"1371796406"},"map_files_photo_id_array":[{"photo_id":"1371796410","filename":"file2"},{"photo_id":"1371796409","filename":"file1"},{"photo_id":"1371796406","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371796410":["hashtag1","hashtag2"]},{"1371796409":["hashtag1","hashtag2"]},{"1371796406":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371796410, 1371796409, 1371796406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.18165683746338 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:38:46.824225
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/03/image_10072025_21_04_04_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/03/image_10072025_21_03_54_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/03/image_10072025_21_03_43_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/21/03/image_10072025_21_03_34_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/21/03/image_10072025_21_03_13_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_03_04_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/03/image_10072025_21_04_04_9656.jpg', '/home/nano/Desktop/images/10072025/21/03/image_10072025_21_03_54_10656.jpg', '/home/nano/Desktop/images/10072025/21/03/image_10072025_21_03_43_9653.jpg', '/home/nano/Desktop/images/10072025/21/03/image_10072025_21_03_34_9652.jpg', '/home/nano/Desktop/images/10072025/21/03/image_10072025_21_03_13_9663.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_03_04_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/03/image_10072025_21_04_04_9656.jpg
/home/nano/Desktop/images/10072025/21/03/image_10072025_21_03_54_10656.jpg
/home/nano/Desktop/images/10072025/21/03/image_10072025_21_03_43_9653.jpg
/home/nano/Desktop/images/10072025/21/03/image_10072025_21_03_34_9652.jpg
/home/nano/Desktop/images/10072025/21/03/image_10072025_21_03_13_9663.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_03_04_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796432","1371796428","1371796416","1371796421","1371796424","1371796418"],"photo_ids_order":["1371796416","1371796418","1371796421","1371796424","1371796428","1371796432"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee75aa2018322a33d8542b6471ba637a.jpg","text":"TemporaryFile(/tmp/multipartBody1836040586343657353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291589483,"filename":"image_10072025_21_03_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/925dddbc7222d8a14945582b1e0ee894.jpg","text":"TemporaryFile(/tmp/multipartBody4911779386072545365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291589483,"filename":"image_10072025_21_03_13_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b33e855b4492a484e4ff90479917aaae.jpg","text":"TemporaryFile(/tmp/multipartBody7742216965951835974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291589483,"filename":"image_10072025_21_04_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1bacd728368aae2584344751d7d835c.jpg","text":"TemporaryFile(/tmp/multipartBody4758366182252134605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291589483,"filename":"image_10072025_21_03_43_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42df428f0eb42258fa186a5d13577175.jpg","text":"TemporaryFile(/tmp/multipartBody6720579583407573784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291589483,"filename":"image_10072025_21_03_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1969aa97818a123d41565095776cab6.jpg","text":"TemporaryFile(/tmp/multipartBody5629965971972566585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291589483,"filename":"image_10072025_21_03_54_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796421","file1":"1371796418","file0":"1371796416","file4":"1371796428","file5":"1371796432","file3":"1371796424"},"map_files_photo_id_array":[{"photo_id":"1371796432","filename":"file5"},{"photo_id":"1371796421","filename":"file2"},{"photo_id":"1371796428","filename":"file4"},{"photo_id":"1371796418","filename":"file1"},{"photo_id":"1371796416","filename":"file0"},{"photo_id":"1371796424","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371796432":["hashtag1","hashtag2"]},{"1371796428":["hashtag1","hashtag2"]},{"1371796416":["hashtag1","hashtag2"]},{"1371796421":["hashtag1","hashtag2"]},{"1371796424":["hashtag1","hashtag2"]},{"1371796418":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371796432, 1371796428, 1371796416, 1371796421, 1371796424, 1371796418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97714638710022 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:39:31.919727
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/39/image_12072025_05_39_24_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/39/image_12072025_05_39_13_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/05/38/image_12072025_05_39_04_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/05/38/image_12072025_05_38_24_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/39/image_12072025_05_39_24_10654.jpg', '/home/nano/Desktop/images/12072025/05/39/image_12072025_05_39_13_9666.jpg', '/home/nano/Desktop/images/12072025/05/38/image_12072025_05_39_04_9660.jpg', '/home/nano/Desktop/images/12072025/05/38/image_12072025_05_38_24_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/39/image_12072025_05_39_24_10654.jpg
/home/nano/Desktop/images/12072025/05/39/image_12072025_05_39_13_9666.jpg
/home/nano/Desktop/images/12072025/05/38/image_12072025_05_39_04_9660.jpg
/home/nano/Desktop/images/12072025/05/38/image_12072025_05_38_24_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796458","1371796454","1371796474","1371796456"],"photo_ids_order":["1371796454","1371796456","1371796458","1371796474"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/661cebf3542747afc297adb153a32561.jpg","text":"TemporaryFile(/tmp/multipartBody8029253154507013462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291632744,"filename":"image_12072025_05_39_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/effb8c0e2cf6e0dc580e33063a7ed1e1.jpg","text":"TemporaryFile(/tmp/multipartBody7917923348903232863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291632744,"filename":"image_12072025_05_39_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb88bdbdbfba0518b0b183852ab50c9b.jpg","text":"TemporaryFile(/tmp/multipartBody6763505375861987311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291632744,"filename":"image_12072025_05_38_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8664dd20649440767d1846aae1445764.jpg","text":"TemporaryFile(/tmp/multipartBody1818191416563597931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291632744,"filename":"image_12072025_05_39_13_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796458","file1":"1371796456","file0":"1371796454","file3":"1371796474"},"map_files_photo_id_array":[{"photo_id":"1371796458","filename":"file2"},{"photo_id":"1371796456","filename":"file1"},{"photo_id":"1371796454","filename":"file0"},{"photo_id":"1371796474","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371796458":["hashtag1","hashtag2"]},{"1371796454":["hashtag1","hashtag2"]},{"1371796474":["hashtag1","hashtag2"]},{"1371796456":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371796458, 1371796454, 1371796474, 1371796456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.897541761398315 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:40:02.411989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_54_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_43_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_34_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_24_10670.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_13_9673.jpg', 2), ('/home/nano/Desktop/images/10072025/21/01/image_10072025_21_02_04_9663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_54_10656.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_43_9655.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_34_9649.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_24_10670.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_13_9673.jpg', '/home/nano/Desktop/images/10072025/21/01/image_10072025_21_02_04_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_54_10656.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_43_9655.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_34_9649.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_24_10670.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_13_9673.jpg
/home/nano/Desktop/images/10072025/21/01/image_10072025_21_02_04_9663.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.507189989089966 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:40:17.045281
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_43_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_33_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_24_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_13_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/05/39/image_12072025_05_40_03_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/05/39/image_12072025_05_39_33_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_43_9654.jpg', '/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_33_9658.jpg', '/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_24_10651.jpg', '/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_13_9661.jpg', '/home/nano/Desktop/images/12072025/05/39/image_12072025_05_40_03_9640.jpg', '/home/nano/Desktop/images/12072025/05/39/image_12072025_05_39_33_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_43_9654.jpg
/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_33_9658.jpg
/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_24_10651.jpg
/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_13_9661.jpg
/home/nano/Desktop/images/12072025/05/39/image_12072025_05_40_03_9640.jpg
/home/nano/Desktop/images/12072025/05/39/image_12072025_05_39_33_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371796507","1371796509","1371796512","1371796514","1371796517","1371796516"],"photo_ids_order":["1371796507","1371796509","1371796512","1371796514","1371796516","1371796517"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c3ce9bd6f4ed1cbcad5c9e093c132529.jpg","text":"TemporaryFile(/tmp/multipartBody5833755200263661714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291678185,"filename":"image_12072025_05_40_43_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7c894e2ea7459b7a356444ddd313306.jpg","text":"TemporaryFile(/tmp/multipartBody3320287395606869909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291678185,"filename":"image_12072025_05_40_33_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd9ad3c32c21116358dc35c0e7430750.jpg","text":"TemporaryFile(/tmp/multipartBody3879068383731449503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291678185,"filename":"image_12072025_05_40_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/609a3d78bef411389d20895d69266822.jpg","text":"TemporaryFile(/tmp/multipartBody7267646948233282262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291678185,"filename":"image_12072025_05_40_13_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b9db99ad114dcd9f08895a1d8a4ee95.jpg","text":"TemporaryFile(/tmp/multipartBody4239971530692343456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291678185,"filename":"image_12072025_05_39_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/838852566118b60997f942c888df65ef.jpg","text":"TemporaryFile(/tmp/multipartBody444451292498335670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752291678185,"filename":"image_12072025_05_40_03_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371796512","file1":"1371796509","file0":"1371796507","file4":"1371796516","file5":"1371796517","file3":"1371796514"},"map_files_photo_id_array":[{"photo_id":"1371796517","filename":"file5"},{"photo_id":"1371796512","filename":"file2"},{"photo_id":"1371796516","filename":"file4"},{"photo_id":"1371796509","filename":"file1"},{"photo_id":"1371796507","filename":"file0"},{"photo_id":"1371796514","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371796507":["hashtag1","hashtag2"]},{"1371796509":["hashtag1","hashtag2"]},{"1371796512":["hashtag1","hashtag2"]},{"1371796514":["hashtag1","hashtag2"]},{"1371796517":["hashtag1","hashtag2"]},{"1371796516":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371796507, 1371796509, 1371796512, 1371796514, 1371796517, 1371796516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82540535926819 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:41:02.547971
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_54_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_43_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_34_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_24_10670.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_13_9673.jpg', 2), ('/home/nano/Desktop/images/10072025/21/01/image_10072025_21_02_04_9663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_54_10656.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_43_9655.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_34_9649.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_24_10670.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_13_9673.jpg', '/home/nano/Desktop/images/10072025/21/01/image_10072025_21_02_04_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_54_10656.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_43_9655.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_34_9649.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_24_10670.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_13_9673.jpg
/home/nano/Desktop/images/10072025/21/01/image_10072025_21_02_04_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:58:02.424829
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_23_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_14_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/05/56/image_12072025_05_57_04_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_53_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_44_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_34_10647.jpg', '/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_23_9655.jpg', '/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_14_9667.jpg', '/home/nano/Desktop/images/12072025/05/56/image_12072025_05_57_04_10664.jpg', '/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_53_9637.jpg', '/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_44_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_34_10647.jpg
/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_23_9655.jpg
/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_14_9667.jpg
/home/nano/Desktop/images/12072025/05/56/image_12072025_05_57_04_10664.jpg
/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_53_9637.jpg
/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_44_10647.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.107271671295166 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:59:02.907702
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/58/image_12072025_05_58_34_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/58/image_12072025_05_58_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/05/58/image_12072025_05_58_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/05/57/image_12072025_05_58_04_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_53_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_34_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/58/image_12072025_05_58_34_10654.jpg', '/home/nano/Desktop/images/12072025/05/58/image_12072025_05_58_23_9640.jpg', '/home/nano/Desktop/images/12072025/05/58/image_12072025_05_58_14_9658.jpg', '/home/nano/Desktop/images/12072025/05/57/image_12072025_05_58_04_10656.jpg', '/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_53_9637.jpg', '/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_34_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/58/image_12072025_05_58_34_10654.jpg
/home/nano/Desktop/images/12072025/05/58/image_12072025_05_58_23_9640.jpg
/home/nano/Desktop/images/12072025/05/58/image_12072025_05_58_14_9658.jpg
/home/nano/Desktop/images/12072025/05/57/image_12072025_05_58_04_10656.jpg
/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_53_9637.jpg
/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_34_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371798216","1371798272","1371798296","1371798236","1371798326","1371798246"],"photo_ids_order":["1371798216","1371798236","1371798246","1371798272","1371798296","1371798326"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/789056cf42c1830c900d3be4215f351a.jpg","text":"TemporaryFile(/tmp/multipartBody6217570073794910115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292804201,"filename":"image_12072025_05_58_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe5408e15eac593fe8094e4945191b03.jpg","text":"TemporaryFile(/tmp/multipartBody4913184009728237686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292804201,"filename":"image_12072025_05_58_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01429a1ac2b64b1dfd0d2052d03d2cfa.jpg","text":"TemporaryFile(/tmp/multipartBody9123076559652951734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292804201,"filename":"image_12072025_05_57_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8d5dbc2654f1df653c0908ea2f0b035.jpg","text":"TemporaryFile(/tmp/multipartBody3161319488171313626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292804201,"filename":"image_12072025_05_58_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a9de70c60257884950c19f83b5d8401.jpg","text":"TemporaryFile(/tmp/multipartBody824156341534261890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292804201,"filename":"image_12072025_05_57_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b01cda8d808b4b8d6abbd35b40e9bc4.jpg","text":"TemporaryFile(/tmp/multipartBody6237144462957712268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292804201,"filename":"image_12072025_05_58_14_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371798246","file1":"1371798236","file0":"1371798216","file4":"1371798296","file5":"1371798326","file3":"1371798272"},"map_files_photo_id_array":[{"photo_id":"1371798326","filename":"file5"},{"photo_id":"1371798246","filename":"file2"},{"photo_id":"1371798296","filename":"file4"},{"photo_id":"1371798236","filename":"file1"},{"photo_id":"1371798216","filename":"file0"},{"photo_id":"1371798272","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371798216":["hashtag1","hashtag2"]},{"1371798272":["hashtag1","hashtag2"]},{"1371798296":["hashtag1","hashtag2"]},{"1371798236":["hashtag1","hashtag2"]},{"1371798326":["hashtag1","hashtag2"]},{"1371798246":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371798216, 1371798272, 1371798296, 1371798236, 1371798326, 1371798246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68786644935608 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 05:59:47.077010
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/59/image_12072025_05_59_34_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/05/59/image_12072025_05_59_23_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/05/59/image_12072025_05_59_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/05/58/image_12072025_05_59_04_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/05/58/image_12072025_05_58_44_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_23_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/59/image_12072025_05_59_34_10665.jpg', '/home/nano/Desktop/images/12072025/05/59/image_12072025_05_59_23_9642.jpg', '/home/nano/Desktop/images/12072025/05/59/image_12072025_05_59_13_9656.jpg', '/home/nano/Desktop/images/12072025/05/58/image_12072025_05_59_04_10660.jpg', '/home/nano/Desktop/images/12072025/05/58/image_12072025_05_58_44_9640.jpg', '/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_23_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/59/image_12072025_05_59_34_10665.jpg
/home/nano/Desktop/images/12072025/05/59/image_12072025_05_59_23_9642.jpg
/home/nano/Desktop/images/12072025/05/59/image_12072025_05_59_13_9656.jpg
/home/nano/Desktop/images/12072025/05/58/image_12072025_05_59_04_10660.jpg
/home/nano/Desktop/images/12072025/05/58/image_12072025_05_58_44_9640.jpg
/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_23_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371798618","1371798593","1371798485","1371798511","1371798567","1371798537"],"photo_ids_order":["1371798485","1371798511","1371798537","1371798567","1371798593","1371798618"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5eb14f18f007be4b018ff0387e70ed4e.jpg","text":"TemporaryFile(/tmp/multipartBody3002905829745290944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292848450,"filename":"image_12072025_05_57_23_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9cc7ba30c1bb4d85b4ac39a63c901ff.jpg","text":"TemporaryFile(/tmp/multipartBody5465039826837328999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292848450,"filename":"image_12072025_05_58_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d3d8ebae030067f9cc60ffb8d4ca94c.jpg","text":"TemporaryFile(/tmp/multipartBody3637458950816603427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292848450,"filename":"image_12072025_05_59_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98bfa2e7b6a2d26c9f9f5e24d566a156.jpg","text":"TemporaryFile(/tmp/multipartBody4104115540443576711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292848450,"filename":"image_12072025_05_59_23_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a5b3a3de333f31e866a029151fd6c79.jpg","text":"TemporaryFile(/tmp/multipartBody3961487517205568385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292848450,"filename":"image_12072025_05_59_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/faffeef7c4db8e1cf998c283d36a224f.jpg","text":"TemporaryFile(/tmp/multipartBody6213435246658509904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292848450,"filename":"image_12072025_05_59_13_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371798537","file1":"1371798511","file0":"1371798485","file4":"1371798593","file5":"1371798618","file3":"1371798567"},"map_files_photo_id_array":[{"photo_id":"1371798618","filename":"file5"},{"photo_id":"1371798537","filename":"file2"},{"photo_id":"1371798593","filename":"file4"},{"photo_id":"1371798511","filename":"file1"},{"photo_id":"1371798485","filename":"file0"},{"photo_id":"1371798567","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371798618":["hashtag1","hashtag2"]},{"1371798593":["hashtag1","hashtag2"]},{"1371798485":["hashtag1","hashtag2"]},{"1371798511":["hashtag1","hashtag2"]},{"1371798567":["hashtag1","hashtag2"]},{"1371798537":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371798618, 1371798593, 1371798485, 1371798511, 1371798567, 1371798537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.707173347473145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:00:32.166367
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/00/image_12072025_06_00_43_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/06/00/image_12072025_06_00_34_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/06/00/image_12072025_06_00_24_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/05/59/image_12072025_06_00_04_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/05/59/image_12072025_05_59_53_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_14_9667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/00/image_12072025_06_00_43_9644.jpg', '/home/nano/Desktop/images/12072025/06/00/image_12072025_06_00_34_9645.jpg', '/home/nano/Desktop/images/12072025/06/00/image_12072025_06_00_24_10666.jpg', '/home/nano/Desktop/images/12072025/05/59/image_12072025_06_00_04_10647.jpg', '/home/nano/Desktop/images/12072025/05/59/image_12072025_05_59_53_9657.jpg', '/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_14_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/00/image_12072025_06_00_43_9644.jpg
/home/nano/Desktop/images/12072025/06/00/image_12072025_06_00_34_9645.jpg
/home/nano/Desktop/images/12072025/06/00/image_12072025_06_00_24_10666.jpg
/home/nano/Desktop/images/12072025/05/59/image_12072025_06_00_04_10647.jpg
/home/nano/Desktop/images/12072025/05/59/image_12072025_05_59_53_9657.jpg
/home/nano/Desktop/images/12072025/05/57/image_12072025_05_57_14_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371798863","1371798779","1371798838","1371798919","1371798805","1371798891"],"photo_ids_order":["1371798779","1371798805","1371798838","1371798863","1371798891","1371798919"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48d3acd1bcce2343e990480a3714a121.jpg","text":"TemporaryFile(/tmp/multipartBody6005478412840448793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292893497,"filename":"image_12072025_06_00_04_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c33fdbcc19d6e1f1896a6c4840de356d.jpg","text":"TemporaryFile(/tmp/multipartBody6912952154927455564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292893497,"filename":"image_12072025_06_00_43_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4adb143c8514fe01821a562a45508d6f.jpg","text":"TemporaryFile(/tmp/multipartBody4291991047347165975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292893497,"filename":"image_12072025_06_00_24_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7c23ad848e0f15187b7127463c769ff.jpg","text":"TemporaryFile(/tmp/multipartBody2050081474324246329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292893497,"filename":"image_12072025_05_57_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba32d582b785e2558fcf1bc817bb84a3.jpg","text":"TemporaryFile(/tmp/multipartBody3585239110386772173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292893497,"filename":"image_12072025_06_00_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73cf005a314ce70a08856f8111e8d488.jpg","text":"TemporaryFile(/tmp/multipartBody8152366577776820382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292893497,"filename":"image_12072025_05_59_53_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371798838","file1":"1371798805","file0":"1371798779","file4":"1371798891","file5":"1371798919","file3":"1371798863"},"map_files_photo_id_array":[{"photo_id":"1371798919","filename":"file5"},{"photo_id":"1371798838","filename":"file2"},{"photo_id":"1371798891","filename":"file4"},{"photo_id":"1371798805","filename":"file1"},{"photo_id":"1371798779","filename":"file0"},{"photo_id":"1371798863","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371798863":["hashtag1","hashtag2"]},{"1371798779":["hashtag1","hashtag2"]},{"1371798838":["hashtag1","hashtag2"]},{"1371798919":["hashtag1","hashtag2"]},{"1371798805":["hashtag1","hashtag2"]},{"1371798891":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371798863, 1371798779, 1371798838, 1371798919, 1371798805, 1371798891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53633451461792 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:01:17.260654
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/01/image_12072025_06_01_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/06/00/image_12072025_06_01_04_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/06/00/image_12072025_06_00_54_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/05/56/image_12072025_05_57_04_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_53_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_44_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/01/image_12072025_06_01_13_9659.jpg', '/home/nano/Desktop/images/12072025/06/00/image_12072025_06_01_04_9646.jpg', '/home/nano/Desktop/images/12072025/06/00/image_12072025_06_00_54_10652.jpg', '/home/nano/Desktop/images/12072025/05/56/image_12072025_05_57_04_10664.jpg', '/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_53_9637.jpg', '/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_44_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/01/image_12072025_06_01_13_9659.jpg
/home/nano/Desktop/images/12072025/06/00/image_12072025_06_01_04_9646.jpg
/home/nano/Desktop/images/12072025/06/00/image_12072025_06_00_54_10652.jpg
/home/nano/Desktop/images/12072025/05/56/image_12072025_05_57_04_10664.jpg
/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_53_9637.jpg
/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_44_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799073","1371799181","1371799148","1371799123","1371799173","1371799098"],"photo_ids_order":["1371799073","1371799098","1371799123","1371799148","1371799173","1371799181"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4ff57ac848f7846aad00f7a0c546954.jpg","text":"TemporaryFile(/tmp/multipartBody5830772231666498131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292938636,"filename":"image_12072025_06_01_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d66debab7810ea7ee2e1aac601bfc6fa.jpg","text":"TemporaryFile(/tmp/multipartBody1678802499557013039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292938636,"filename":"image_12072025_05_56_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be1ed4d8d77205b90bb0f10eb2989bfc.jpg","text":"TemporaryFile(/tmp/multipartBody753552921229055013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292938636,"filename":"image_12072025_05_57_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd7327f0a7812fb05c3a502f8921779d.jpg","text":"TemporaryFile(/tmp/multipartBody2214095390438275852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292938636,"filename":"image_12072025_06_00_54_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2f9a6e56ce631a0e1b328b61906cec7.jpg","text":"TemporaryFile(/tmp/multipartBody5651522010467696770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292938636,"filename":"image_12072025_05_56_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a045939828942f145fa0faafd46f922.jpg","text":"TemporaryFile(/tmp/multipartBody5845148791893608202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292938636,"filename":"image_12072025_06_01_04_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799123","file1":"1371799098","file0":"1371799073","file4":"1371799173","file5":"1371799181","file3":"1371799148"},"map_files_photo_id_array":[{"photo_id":"1371799181","filename":"file5"},{"photo_id":"1371799123","filename":"file2"},{"photo_id":"1371799173","filename":"file4"},{"photo_id":"1371799098","filename":"file1"},{"photo_id":"1371799073","filename":"file0"},{"photo_id":"1371799148","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799073":["hashtag1","hashtag2"]},{"1371799181":["hashtag1","hashtag2"]},{"1371799148":["hashtag1","hashtag2"]},{"1371799123":["hashtag1","hashtag2"]},{"1371799173":["hashtag1","hashtag2"]},{"1371799098":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799073, 1371799181, 1371799148, 1371799123, 1371799173, 1371799098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11880087852478 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:02:02.802561
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/05/55/image_12072025_05_56_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/05/55/image_12072025_05_55_44_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/05/55/image_12072025_05_55_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/55/image_12072025_05_55_24_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/05/55/image_12072025_05_55_14_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_33_9640.jpg', '/home/nano/Desktop/images/12072025/05/55/image_12072025_05_56_03_9645.jpg', '/home/nano/Desktop/images/12072025/05/55/image_12072025_05_55_44_10674.jpg', '/home/nano/Desktop/images/12072025/05/55/image_12072025_05_55_33_9637.jpg', '/home/nano/Desktop/images/12072025/05/55/image_12072025_05_55_24_9639.jpg', '/home/nano/Desktop/images/12072025/05/55/image_12072025_05_55_14_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/56/image_12072025_05_56_33_9640.jpg
/home/nano/Desktop/images/12072025/05/55/image_12072025_05_56_03_9645.jpg
/home/nano/Desktop/images/12072025/05/55/image_12072025_05_55_44_10674.jpg
/home/nano/Desktop/images/12072025/05/55/image_12072025_05_55_33_9637.jpg
/home/nano/Desktop/images/12072025/05/55/image_12072025_05_55_24_9639.jpg
/home/nano/Desktop/images/12072025/05/55/image_12072025_05_55_14_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799193","1371799238","1371799290","1371799266","1371799196","1371799215"],"photo_ids_order":["1371799193","1371799196","1371799215","1371799238","1371799266","1371799290"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/825085b290146df3a94e9fa1af6775f3.jpg","text":"TemporaryFile(/tmp/multipartBody8598184873765052921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292983937,"filename":"image_12072025_05_56_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a314aaf95560506b78a1e30cde06435a.jpg","text":"TemporaryFile(/tmp/multipartBody8053709809840688677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292983937,"filename":"image_12072025_05_55_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/784821d8cd5fe47b1ce17a88566d1d5f.jpg","text":"TemporaryFile(/tmp/multipartBody2616267039804893969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292983937,"filename":"image_12072025_05_55_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/064ddc48e0f928c69e8af6289e590cb6.jpg","text":"TemporaryFile(/tmp/multipartBody1128500318365689262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292983937,"filename":"image_12072025_05_55_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afb39a24ece85289abc08beb4dcd318e.jpg","text":"TemporaryFile(/tmp/multipartBody360949647440224880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292983937,"filename":"image_12072025_05_56_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3268feb2334b2329f290a70aa0b2a98.jpg","text":"TemporaryFile(/tmp/multipartBody974743635788210873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752292983937,"filename":"image_12072025_05_55_44_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799215","file1":"1371799196","file0":"1371799193","file4":"1371799266","file5":"1371799290","file3":"1371799238"},"map_files_photo_id_array":[{"photo_id":"1371799290","filename":"file5"},{"photo_id":"1371799215","filename":"file2"},{"photo_id":"1371799266","filename":"file4"},{"photo_id":"1371799196","filename":"file1"},{"photo_id":"1371799193","filename":"file0"},{"photo_id":"1371799238","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799193":["hashtag1","hashtag2"]},{"1371799238":["hashtag1","hashtag2"]},{"1371799290":["hashtag1","hashtag2"]},{"1371799266":["hashtag1","hashtag2"]},{"1371799196":["hashtag1","hashtag2"]},{"1371799215":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799193, 1371799238, 1371799290, 1371799266, 1371799196, 1371799215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18014097213745 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:02:47.418988
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/02/image_12072025_06_02_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/06/02/image_12072025_06_02_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/06/01/image_12072025_06_01_24_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/05/54/image_12072025_05_55_03_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_54_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_44_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/02/image_12072025_06_02_43_9640.jpg', '/home/nano/Desktop/images/12072025/06/02/image_12072025_06_02_34_9638.jpg', '/home/nano/Desktop/images/12072025/06/01/image_12072025_06_01_24_10652.jpg', '/home/nano/Desktop/images/12072025/05/54/image_12072025_05_55_03_9649.jpg', '/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_54_9658.jpg', '/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_44_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/02/image_12072025_06_02_43_9640.jpg
/home/nano/Desktop/images/12072025/06/02/image_12072025_06_02_34_9638.jpg
/home/nano/Desktop/images/12072025/06/01/image_12072025_06_01_24_10652.jpg
/home/nano/Desktop/images/12072025/05/54/image_12072025_05_55_03_9649.jpg
/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_54_9658.jpg
/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_44_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799412","1371799415","1371799400","1371799403","1371799441","1371799416"],"photo_ids_order":["1371799400","1371799403","1371799412","1371799415","1371799416","1371799441"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71b2d65f2368a51eab183961157e29f6.jpg","text":"TemporaryFile(/tmp/multipartBody5495205294650578556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293028892,"filename":"image_12072025_06_01_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56784bba9cd75f33dc8efd9ecfd8d122.jpg","text":"TemporaryFile(/tmp/multipartBody6711062596258489190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293028892,"filename":"image_12072025_05_55_03_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d2845dd7713a02c3a17e565e26e3a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8966427477354593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293028892,"filename":"image_12072025_06_02_43_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/095d20c961b0bad349664c39fe99e2b5.jpg","text":"TemporaryFile(/tmp/multipartBody2670453361235084981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293028892,"filename":"image_12072025_06_02_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c9f0d6b30c9111fc9268b708f0bffee.jpg","text":"TemporaryFile(/tmp/multipartBody8670383920044260549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293028892,"filename":"image_12072025_05_54_44_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ecaf3551b7091e759abfba4524a34b8c.jpg","text":"TemporaryFile(/tmp/multipartBody7109389726144294929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293028892,"filename":"image_12072025_05_54_54_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799412","file1":"1371799403","file0":"1371799400","file4":"1371799416","file5":"1371799441","file3":"1371799415"},"map_files_photo_id_array":[{"photo_id":"1371799441","filename":"file5"},{"photo_id":"1371799412","filename":"file2"},{"photo_id":"1371799416","filename":"file4"},{"photo_id":"1371799403","filename":"file1"},{"photo_id":"1371799400","filename":"file0"},{"photo_id":"1371799415","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799412":["hashtag1","hashtag2"]},{"1371799415":["hashtag1","hashtag2"]},{"1371799400":["hashtag1","hashtag2"]},{"1371799403":["hashtag1","hashtag2"]},{"1371799441":["hashtag1","hashtag2"]},{"1371799416":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799412, 1371799415, 1371799400, 1371799403, 1371799441, 1371799416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5046169757843 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:03:32.506976
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_33_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_24_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/06/02/image_12072025_06_03_03_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/06/02/image_12072025_06_02_54_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_33_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_43_9637.jpg', '/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_33_9656.jpg', '/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_24_10650.jpg', '/home/nano/Desktop/images/12072025/06/02/image_12072025_06_03_03_9661.jpg', '/home/nano/Desktop/images/12072025/06/02/image_12072025_06_02_54_10648.jpg', '/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_33_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_43_9637.jpg
/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_33_9656.jpg
/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_24_10650.jpg
/home/nano/Desktop/images/12072025/06/02/image_12072025_06_03_03_9661.jpg
/home/nano/Desktop/images/12072025/06/02/image_12072025_06_02_54_10648.jpg
/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_33_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799556","1371799559","1371799550","1371799547","1371799552","1371799545"],"photo_ids_order":["1371799545","1371799547","1371799550","1371799552","1371799556","1371799559"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/176c1e5ed97dbc96f72b50669d197868.jpg","text":"TemporaryFile(/tmp/multipartBody3807446599086656952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293073853,"filename":"image_12072025_06_02_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a686258d85d3811c84cbdb5ca8bf4601.jpg","text":"TemporaryFile(/tmp/multipartBody3042412905440148876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293073853,"filename":"image_12072025_05_54_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/532dbe6b4a03a5a7305a788194c5f2e2.jpg","text":"TemporaryFile(/tmp/multipartBody8263208586289367523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293073853,"filename":"image_12072025_06_03_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4edb64a3b4a28351c5a4cb0d28e072e0.jpg","text":"TemporaryFile(/tmp/multipartBody7487829722305690616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293073853,"filename":"image_12072025_06_03_33_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b173c3063876f019f1b86db5ee2bcbf1.jpg","text":"TemporaryFile(/tmp/multipartBody223615762912372815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293073853,"filename":"image_12072025_06_03_03_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/162a73cd472dce3f822158f54b6fcfe3.jpg","text":"TemporaryFile(/tmp/multipartBody2255946948731483449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293073853,"filename":"image_12072025_06_03_43_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799550","file1":"1371799547","file0":"1371799545","file4":"1371799556","file5":"1371799559","file3":"1371799552"},"map_files_photo_id_array":[{"photo_id":"1371799559","filename":"file5"},{"photo_id":"1371799550","filename":"file2"},{"photo_id":"1371799556","filename":"file4"},{"photo_id":"1371799547","filename":"file1"},{"photo_id":"1371799545","filename":"file0"},{"photo_id":"1371799552","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799556":["hashtag1","hashtag2"]},{"1371799559":["hashtag1","hashtag2"]},{"1371799550":["hashtag1","hashtag2"]},{"1371799547":["hashtag1","hashtag2"]},{"1371799552":["hashtag1","hashtag2"]},{"1371799545":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799556, 1371799559, 1371799550, 1371799547, 1371799552, 1371799545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57133150100708 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:04:17.583542
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_44_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_33_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/06/03/image_12072025_06_04_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_54_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_24_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_14_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_44_10645.jpg', '/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_33_9647.jpg', '/home/nano/Desktop/images/12072025/06/03/image_12072025_06_04_03_9646.jpg', '/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_54_10646.jpg', '/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_24_9657.jpg', '/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_14_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_44_10645.jpg
/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_33_9647.jpg
/home/nano/Desktop/images/12072025/06/03/image_12072025_06_04_03_9646.jpg
/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_54_10646.jpg
/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_24_9657.jpg
/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_14_10664.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2529652118682861 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:04:32.597297
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_44_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_33_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/06/03/image_12072025_06_04_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_54_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_24_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_14_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_44_10645.jpg', '/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_33_9647.jpg', '/home/nano/Desktop/images/12072025/06/03/image_12072025_06_04_03_9646.jpg', '/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_54_10646.jpg', '/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_24_9657.jpg', '/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_14_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_44_10645.jpg
/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_33_9647.jpg
/home/nano/Desktop/images/12072025/06/03/image_12072025_06_04_03_9646.jpg
/home/nano/Desktop/images/12072025/06/03/image_12072025_06_03_54_10646.jpg
/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_24_9657.jpg
/home/nano/Desktop/images/12072025/05/54/image_12072025_05_54_14_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799591","1371799594","1371799596","1371799584","1371799587","1371799580"],"photo_ids_order":["1371799580","1371799584","1371799587","1371799591","1371799594","1371799596"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f5c7843d9535fa3f7e1c62af017fcd0.jpg","text":"TemporaryFile(/tmp/multipartBody367372084545823683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293133640,"filename":"image_12072025_06_03_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc4aaed329501a84a98b35e38946f418.jpg","text":"TemporaryFile(/tmp/multipartBody8284165800972256223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293133640,"filename":"image_12072025_05_54_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b636a75ba91067a51cf09dfc4c3b01d8.jpg","text":"TemporaryFile(/tmp/multipartBody3049839446356297046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293133640,"filename":"image_12072025_05_54_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/69c52d70c02a5733d2f00c159de9e2bb.jpg","text":"TemporaryFile(/tmp/multipartBody7281542495392072618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293133640,"filename":"image_12072025_06_04_33_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a91ba6b3a7e4d4193b5de532ea0605ad.jpg","text":"TemporaryFile(/tmp/multipartBody306721999121426720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293133640,"filename":"image_12072025_06_04_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/512eaf280fe5b06c9fdf6288c8df6888.jpg","text":"TemporaryFile(/tmp/multipartBody5847733735143859809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293133640,"filename":"image_12072025_06_04_44_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799587","file1":"1371799584","file0":"1371799580","file4":"1371799594","file5":"1371799596","file3":"1371799591"},"map_files_photo_id_array":[{"photo_id":"1371799596","filename":"file5"},{"photo_id":"1371799587","filename":"file2"},{"photo_id":"1371799594","filename":"file4"},{"photo_id":"1371799584","filename":"file1"},{"photo_id":"1371799580","filename":"file0"},{"photo_id":"1371799591","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799591":["hashtag1","hashtag2"]},{"1371799594":["hashtag1","hashtag2"]},{"1371799596":["hashtag1","hashtag2"]},{"1371799584":["hashtag1","hashtag2"]},{"1371799587":["hashtag1","hashtag2"]},{"1371799580":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799591, 1371799594, 1371799596, 1371799584, 1371799587, 1371799580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.769129037857056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:05:17.701574
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/05/image_12072025_06_05_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/06/05/image_12072025_06_05_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_54_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/05/53/image_12072025_05_54_03_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/05/53/image_12072025_05_53_54_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/05/53/image_12072025_05_53_44_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/05/image_12072025_06_05_33_9639.jpg', '/home/nano/Desktop/images/12072025/06/05/image_12072025_06_05_24_9637.jpg', '/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_54_9640.jpg', '/home/nano/Desktop/images/12072025/05/53/image_12072025_05_54_03_9662.jpg', '/home/nano/Desktop/images/12072025/05/53/image_12072025_05_53_54_9657.jpg', '/home/nano/Desktop/images/12072025/05/53/image_12072025_05_53_44_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/05/image_12072025_06_05_33_9639.jpg
/home/nano/Desktop/images/12072025/06/05/image_12072025_06_05_24_9637.jpg
/home/nano/Desktop/images/12072025/06/04/image_12072025_06_04_54_9640.jpg
/home/nano/Desktop/images/12072025/05/53/image_12072025_05_54_03_9662.jpg
/home/nano/Desktop/images/12072025/05/53/image_12072025_05_53_54_9657.jpg
/home/nano/Desktop/images/12072025/05/53/image_12072025_05_53_44_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799610","1371799613","1371799616","1371799615","1371799609","1371799617"],"photo_ids_order":["1371799609","1371799610","1371799613","1371799615","1371799616","1371799617"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/147205f1e724068cf688b181f7047ed3.jpg","text":"TemporaryFile(/tmp/multipartBody6993399463659677933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293179191,"filename":"image_12072025_06_05_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1cf2d42c418b7a20b2af770e90cf7238.jpg","text":"TemporaryFile(/tmp/multipartBody1018495730985382745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293179191,"filename":"image_12072025_06_04_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2457e5fb90b4a49578f3deb9839f666.jpg","text":"TemporaryFile(/tmp/multipartBody9105806832970535338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293179191,"filename":"image_12072025_05_53_54_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d09e0920ce59757639dd030adf5af96b.jpg","text":"TemporaryFile(/tmp/multipartBody1466302168902145339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293179191,"filename":"image_12072025_05_54_03_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e98cbff398b7470f24b62e7523707b4.jpg","text":"TemporaryFile(/tmp/multipartBody2578695894968412579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293179191,"filename":"image_12072025_06_05_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b778149ba966169fd3b7c81a75c28422.jpg","text":"TemporaryFile(/tmp/multipartBody8517051518444699998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293179191,"filename":"image_12072025_05_53_44_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799613","file1":"1371799610","file0":"1371799609","file4":"1371799616","file5":"1371799617","file3":"1371799615"},"map_files_photo_id_array":[{"photo_id":"1371799617","filename":"file5"},{"photo_id":"1371799613","filename":"file2"},{"photo_id":"1371799616","filename":"file4"},{"photo_id":"1371799610","filename":"file1"},{"photo_id":"1371799609","filename":"file0"},{"photo_id":"1371799615","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799610":["hashtag1","hashtag2"]},{"1371799613":["hashtag1","hashtag2"]},{"1371799616":["hashtag1","hashtag2"]},{"1371799615":["hashtag1","hashtag2"]},{"1371799609":["hashtag1","hashtag2"]},{"1371799617":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799610, 1371799613, 1371799616, 1371799615, 1371799609, 1371799617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31268620491028 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:06:02.035724
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/53/image_12072025_05_53_33_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/05/53/image_12072025_05_53_24_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/05/52/image_12072025_05_53_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_54_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_44_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_33_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/53/image_12072025_05_53_33_9644.jpg', '/home/nano/Desktop/images/12072025/05/53/image_12072025_05_53_24_9645.jpg', '/home/nano/Desktop/images/12072025/05/52/image_12072025_05_53_03_9646.jpg', '/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_54_9644.jpg', '/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_44_10650.jpg', '/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_33_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/53/image_12072025_05_53_33_9644.jpg
/home/nano/Desktop/images/12072025/05/53/image_12072025_05_53_24_9645.jpg
/home/nano/Desktop/images/12072025/05/52/image_12072025_05_53_03_9646.jpg
/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_54_9644.jpg
/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_44_10650.jpg
/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_33_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799645","1371799642","1371799639","1371799638","1371799632","1371799635"],"photo_ids_order":["1371799632","1371799635","1371799638","1371799639","1371799642","1371799645"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae7d96bf05dba736b4114dbae47c6350.jpg","text":"TemporaryFile(/tmp/multipartBody1346250944414108778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293223306,"filename":"image_12072025_05_52_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/277cb4eaa96049329eb74cf523eb3863.jpg","text":"TemporaryFile(/tmp/multipartBody7337242164513608685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293223306,"filename":"image_12072025_05_52_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d63fe0f021903929dbcade01b5383ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5540282479095513046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293223306,"filename":"image_12072025_05_52_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22b134ffe5939eaab52405e94c9ced3e.jpg","text":"TemporaryFile(/tmp/multipartBody6473096776426447336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293223306,"filename":"image_12072025_05_53_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f9833f38ad582f39e11a92cad6721e0.jpg","text":"TemporaryFile(/tmp/multipartBody6224762920792640104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293223306,"filename":"image_12072025_05_53_33_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f0cc75b82779d24792465298552a840.jpg","text":"TemporaryFile(/tmp/multipartBody3282504256072219665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293223306,"filename":"image_12072025_05_53_24_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799638","file1":"1371799635","file0":"1371799632","file4":"1371799642","file5":"1371799645","file3":"1371799639"},"map_files_photo_id_array":[{"photo_id":"1371799645","filename":"file5"},{"photo_id":"1371799638","filename":"file2"},{"photo_id":"1371799642","filename":"file4"},{"photo_id":"1371799635","filename":"file1"},{"photo_id":"1371799632","filename":"file0"},{"photo_id":"1371799639","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799645":["hashtag1","hashtag2"]},{"1371799642":["hashtag1","hashtag2"]},{"1371799639":["hashtag1","hashtag2"]},{"1371799638":["hashtag1","hashtag2"]},{"1371799632":["hashtag1","hashtag2"]},{"1371799635":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799645, 1371799642, 1371799639, 1371799638, 1371799632, 1371799635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47370266914368 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:06:46.798664
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_44_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_33_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_24_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/06/05/image_12072025_06_06_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/06/05/image_12072025_06_05_44_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_13_9682.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_44_10652.jpg', '/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_33_9657.jpg', '/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_24_9648.jpg', '/home/nano/Desktop/images/12072025/06/05/image_12072025_06_06_03_9643.jpg', '/home/nano/Desktop/images/12072025/06/05/image_12072025_06_05_44_10673.jpg', '/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_13_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_44_10652.jpg
/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_33_9657.jpg
/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_24_9648.jpg
/home/nano/Desktop/images/12072025/06/05/image_12072025_06_06_03_9643.jpg
/home/nano/Desktop/images/12072025/06/05/image_12072025_06_05_44_10673.jpg
/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_13_9682.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4354095458984375 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:07:02.467953
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_44_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_33_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_24_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/06/05/image_12072025_06_06_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/06/05/image_12072025_06_05_44_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_13_9682.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_44_10652.jpg', '/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_33_9657.jpg', '/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_24_9648.jpg', '/home/nano/Desktop/images/12072025/06/05/image_12072025_06_06_03_9643.jpg', '/home/nano/Desktop/images/12072025/06/05/image_12072025_06_05_44_10673.jpg', '/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_13_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_44_10652.jpg
/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_33_9657.jpg
/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_24_9648.jpg
/home/nano/Desktop/images/12072025/06/05/image_12072025_06_06_03_9643.jpg
/home/nano/Desktop/images/12072025/06/05/image_12072025_06_05_44_10673.jpg
/home/nano/Desktop/images/12072025/05/52/image_12072025_05_52_13_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799676","1371799664","1371799678","1371799672","1371799675","1371799669"],"photo_ids_order":["1371799664","1371799669","1371799672","1371799675","1371799676","1371799678"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbe593f771b8d3d4c74dc1586284627e.jpg","text":"TemporaryFile(/tmp/multipartBody5240523447230703636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293283711,"filename":"image_12072025_06_05_44_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6dd92742fa913a73c16f57e6bae601f8.jpg","text":"TemporaryFile(/tmp/multipartBody2783718340762715839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293283711,"filename":"image_12072025_06_06_44_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e498dfd3b36ed7afa9687bc136d98ff.jpg","text":"TemporaryFile(/tmp/multipartBody3597788727086091946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293283711,"filename":"image_12072025_05_52_13_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/316fc7d499f9f6c5728c2c4726f97db1.jpg","text":"TemporaryFile(/tmp/multipartBody4435760010497839821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293283711,"filename":"image_12072025_06_06_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62c06516f178b5c8e7e79a1253033545.jpg","text":"TemporaryFile(/tmp/multipartBody6791312909643512155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293283711,"filename":"image_12072025_06_06_03_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9341ef39fc79ea45eaafffb32ed31bec.jpg","text":"TemporaryFile(/tmp/multipartBody8986481698855743552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293283711,"filename":"image_12072025_06_06_33_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799672","file1":"1371799669","file0":"1371799664","file4":"1371799676","file5":"1371799678","file3":"1371799675"},"map_files_photo_id_array":[{"photo_id":"1371799678","filename":"file5"},{"photo_id":"1371799672","filename":"file2"},{"photo_id":"1371799676","filename":"file4"},{"photo_id":"1371799669","filename":"file1"},{"photo_id":"1371799664","filename":"file0"},{"photo_id":"1371799675","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799676":["hashtag1","hashtag2"]},{"1371799664":["hashtag1","hashtag2"]},{"1371799678":["hashtag1","hashtag2"]},{"1371799672":["hashtag1","hashtag2"]},{"1371799675":["hashtag1","hashtag2"]},{"1371799669":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799676, 1371799664, 1371799678, 1371799672, 1371799675, 1371799669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2099826335907 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:07:46.901674
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_44_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_33_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_23_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_14_10672.jpg', 2), ('/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_54_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/05/51/image_12072025_05_52_03_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_44_10654.jpg', '/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_33_9648.jpg', '/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_23_9656.jpg', '/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_14_10672.jpg', '/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_54_9642.jpg', '/home/nano/Desktop/images/12072025/05/51/image_12072025_05_52_03_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_44_10654.jpg
/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_33_9648.jpg
/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_23_9656.jpg
/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_14_10672.jpg
/home/nano/Desktop/images/12072025/06/06/image_12072025_06_06_54_9642.jpg
/home/nano/Desktop/images/12072025/05/51/image_12072025_05_52_03_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799693","1371799695","1371799689","1371799698","1371799697","1371799701"],"photo_ids_order":["1371799689","1371799693","1371799695","1371799697","1371799698","1371799701"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f82703bf0a30c2cb6ff50b06856c2db5.jpg","text":"TemporaryFile(/tmp/multipartBody3206287966877397951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293328335,"filename":"image_12072025_06_07_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61ebff19d5ae15e9b92a45ef15ce0bfd.jpg","text":"TemporaryFile(/tmp/multipartBody5903156432222728897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293328335,"filename":"image_12072025_06_07_23_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b82f0dcf26d69e32df7885ee93663a00.jpg","text":"TemporaryFile(/tmp/multipartBody7434894443518401455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293328335,"filename":"image_12072025_06_07_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1cdee0d4c4497c1a1105c9f1ef40d486.jpg","text":"TemporaryFile(/tmp/multipartBody1200940377189954767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293328335,"filename":"image_12072025_06_06_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd768922b30c4bb2bf3427a88fbf7175.jpg","text":"TemporaryFile(/tmp/multipartBody5604259625211218474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293328335,"filename":"image_12072025_06_07_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8db996fd6bf82289d18da4ce7d89743c.jpg","text":"TemporaryFile(/tmp/multipartBody3732936618817789252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293328335,"filename":"image_12072025_05_52_03_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799695","file1":"1371799693","file0":"1371799689","file4":"1371799698","file5":"1371799701","file3":"1371799697"},"map_files_photo_id_array":[{"photo_id":"1371799701","filename":"file5"},{"photo_id":"1371799695","filename":"file2"},{"photo_id":"1371799698","filename":"file4"},{"photo_id":"1371799693","filename":"file1"},{"photo_id":"1371799689","filename":"file0"},{"photo_id":"1371799697","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799693":["hashtag1","hashtag2"]},{"1371799695":["hashtag1","hashtag2"]},{"1371799689":["hashtag1","hashtag2"]},{"1371799698":["hashtag1","hashtag2"]},{"1371799697":["hashtag1","hashtag2"]},{"1371799701":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799693, 1371799695, 1371799689, 1371799698, 1371799697, 1371799701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73589301109314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:08:32.004750
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/08/image_12072025_06_08_44_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/06/08/image_12072025_06_08_33_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/06/08/image_12072025_06_08_23_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_53_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/05/51/image_12072025_05_51_54_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/51/image_12072025_05_51_33_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/08/image_12072025_06_08_44_10664.jpg', '/home/nano/Desktop/images/12072025/06/08/image_12072025_06_08_33_9645.jpg', '/home/nano/Desktop/images/12072025/06/08/image_12072025_06_08_23_9655.jpg', '/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_53_9644.jpg', '/home/nano/Desktop/images/12072025/05/51/image_12072025_05_51_54_10646.jpg', '/home/nano/Desktop/images/12072025/05/51/image_12072025_05_51_33_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/08/image_12072025_06_08_44_10664.jpg
/home/nano/Desktop/images/12072025/06/08/image_12072025_06_08_33_9645.jpg
/home/nano/Desktop/images/12072025/06/08/image_12072025_06_08_23_9655.jpg
/home/nano/Desktop/images/12072025/06/07/image_12072025_06_07_53_9644.jpg
/home/nano/Desktop/images/12072025/05/51/image_12072025_05_51_54_10646.jpg
/home/nano/Desktop/images/12072025/05/51/image_12072025_05_51_33_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799721","1371799726","1371799714","1371799723","1371799711","1371799716"],"photo_ids_order":["1371799711","1371799714","1371799716","1371799721","1371799723","1371799726"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d614ddf5ee25011d80e7eeb92394ddb7.jpg","text":"TemporaryFile(/tmp/multipartBody4127055842541266444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293373370,"filename":"image_12072025_06_07_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59c4a2cef3b5dc612fa93564bce41bca.jpg","text":"TemporaryFile(/tmp/multipartBody556665842944353226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293373370,"filename":"image_12072025_05_51_33_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32833f5fc94012e9812e115acd0691e2.jpg","text":"TemporaryFile(/tmp/multipartBody5348470658902262625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293373370,"filename":"image_12072025_06_08_33_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c99727f6dade8d5e284f4325b52d8fa0.jpg","text":"TemporaryFile(/tmp/multipartBody9040840750487906558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293373370,"filename":"image_12072025_05_51_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19eb8ccd4cb847a4a77212c73e86248b.jpg","text":"TemporaryFile(/tmp/multipartBody8388070812423667623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293373370,"filename":"image_12072025_06_08_44_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c66223c8815a46c46353fd6e3bfa13bd.jpg","text":"TemporaryFile(/tmp/multipartBody7271479374042995379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293373370,"filename":"image_12072025_06_08_23_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799716","file1":"1371799714","file0":"1371799711","file4":"1371799723","file5":"1371799726","file3":"1371799721"},"map_files_photo_id_array":[{"photo_id":"1371799726","filename":"file5"},{"photo_id":"1371799716","filename":"file2"},{"photo_id":"1371799723","filename":"file4"},{"photo_id":"1371799714","filename":"file1"},{"photo_id":"1371799711","filename":"file0"},{"photo_id":"1371799721","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799721":["hashtag1","hashtag2"]},{"1371799726":["hashtag1","hashtag2"]},{"1371799714":["hashtag1","hashtag2"]},{"1371799723":["hashtag1","hashtag2"]},{"1371799711":["hashtag1","hashtag2"]},{"1371799716":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799721, 1371799726, 1371799714, 1371799723, 1371799711, 1371799716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.660149574279785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:09:17.142669
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/09/image_12072025_06_09_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/06/09/image_12072025_06_09_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/06/09/image_12072025_06_09_14_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/06/08/image_12072025_06_09_04_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/06/08/image_12072025_06_08_53_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/05/51/image_12072025_05_51_24_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/09/image_12072025_06_09_34_10647.jpg', '/home/nano/Desktop/images/12072025/06/09/image_12072025_06_09_23_9638.jpg', '/home/nano/Desktop/images/12072025/06/09/image_12072025_06_09_14_9659.jpg', '/home/nano/Desktop/images/12072025/06/08/image_12072025_06_09_04_10649.jpg', '/home/nano/Desktop/images/12072025/06/08/image_12072025_06_08_53_9645.jpg', '/home/nano/Desktop/images/12072025/05/51/image_12072025_05_51_24_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/09/image_12072025_06_09_34_10647.jpg
/home/nano/Desktop/images/12072025/06/09/image_12072025_06_09_23_9638.jpg
/home/nano/Desktop/images/12072025/06/09/image_12072025_06_09_14_9659.jpg
/home/nano/Desktop/images/12072025/06/08/image_12072025_06_09_04_10649.jpg
/home/nano/Desktop/images/12072025/06/08/image_12072025_06_08_53_9645.jpg
/home/nano/Desktop/images/12072025/05/51/image_12072025_05_51_24_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799742","1371799745","1371799735","1371799737","1371799752","1371799740"],"photo_ids_order":["1371799735","1371799737","1371799740","1371799742","1371799745","1371799752"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a89357b023c4e51f19af25c4cdaf0c1d.jpg","text":"TemporaryFile(/tmp/multipartBody8103818917096256999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293418433,"filename":"image_12072025_06_09_04_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/527a0db174a0cc493a4024ef688c3768.jpg","text":"TemporaryFile(/tmp/multipartBody2074871716307731219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293418433,"filename":"image_12072025_06_08_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/752c2e334078cf2e3f5c58ae0191f63d.jpg","text":"TemporaryFile(/tmp/multipartBody5895807248385631917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293418433,"filename":"image_12072025_06_09_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7670ba38bea7b569fefdcf2292af8957.jpg","text":"TemporaryFile(/tmp/multipartBody1312589591758189400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293418433,"filename":"image_12072025_06_09_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6dd45f60115468da2cf8530c1519cc5c.jpg","text":"TemporaryFile(/tmp/multipartBody950131980571468175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293418433,"filename":"image_12072025_05_51_24_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/208729e08407c69dfdd9ba23f85531a7.jpg","text":"TemporaryFile(/tmp/multipartBody3740073794542836419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293418433,"filename":"image_12072025_06_09_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799740","file1":"1371799737","file0":"1371799735","file4":"1371799745","file5":"1371799752","file3":"1371799742"},"map_files_photo_id_array":[{"photo_id":"1371799752","filename":"file5"},{"photo_id":"1371799740","filename":"file2"},{"photo_id":"1371799745","filename":"file4"},{"photo_id":"1371799737","filename":"file1"},{"photo_id":"1371799735","filename":"file0"},{"photo_id":"1371799742","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799742":["hashtag1","hashtag2"]},{"1371799745":["hashtag1","hashtag2"]},{"1371799735":["hashtag1","hashtag2"]},{"1371799737":["hashtag1","hashtag2"]},{"1371799752":["hashtag1","hashtag2"]},{"1371799740":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799742, 1371799745, 1371799735, 1371799737, 1371799752, 1371799740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92105746269226 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:10:02.616345
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/51/image_12072025_05_51_13_9677.jpg', 2), ('/home/nano/Desktop/images/12072025/05/50/image_12072025_05_51_03_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_54_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_43_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_24_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/51/image_12072025_05_51_13_9677.jpg', '/home/nano/Desktop/images/12072025/05/50/image_12072025_05_51_03_9660.jpg', '/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_54_10655.jpg', '/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_43_9643.jpg', '/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_34_9638.jpg', '/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_24_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/51/image_12072025_05_51_13_9677.jpg
/home/nano/Desktop/images/12072025/05/50/image_12072025_05_51_03_9660.jpg
/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_54_10655.jpg
/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_43_9643.jpg
/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_34_9638.jpg
/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_24_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799781","1371799773","1371799782","1371799776","1371799785","1371799779"],"photo_ids_order":["1371799773","1371799776","1371799779","1371799781","1371799782","1371799785"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/143d0b04b808b6875f163cc27d2fb3eb.jpg","text":"TemporaryFile(/tmp/multipartBody5600657997928428510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293463772,"filename":"image_12072025_05_50_43_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f134886cb95a53a6a6f3ccda64bb783.jpg","text":"TemporaryFile(/tmp/multipartBody3805500767445343326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293463772,"filename":"image_12072025_05_51_13_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c193645f83b2198d7cdfa3833cd993d.jpg","text":"TemporaryFile(/tmp/multipartBody8932888737764385443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293463772,"filename":"image_12072025_05_50_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4dccea5f8d5c9d830c889d1ea3d6228.jpg","text":"TemporaryFile(/tmp/multipartBody7554401747478075758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293463772,"filename":"image_12072025_05_51_03_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1fcb34368eedc6c39171a7074760b62.jpg","text":"TemporaryFile(/tmp/multipartBody5969031591857659628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293463772,"filename":"image_12072025_05_50_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6294937f1b81e043f80635db933e6fa.jpg","text":"TemporaryFile(/tmp/multipartBody4678824273184517860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293463772,"filename":"image_12072025_05_50_54_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799779","file1":"1371799776","file0":"1371799773","file4":"1371799782","file5":"1371799785","file3":"1371799781"},"map_files_photo_id_array":[{"photo_id":"1371799785","filename":"file5"},{"photo_id":"1371799779","filename":"file2"},{"photo_id":"1371799782","filename":"file4"},{"photo_id":"1371799776","filename":"file1"},{"photo_id":"1371799773","filename":"file0"},{"photo_id":"1371799781","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799781":["hashtag1","hashtag2"]},{"1371799773":["hashtag1","hashtag2"]},{"1371799782":["hashtag1","hashtag2"]},{"1371799776":["hashtag1","hashtag2"]},{"1371799785":["hashtag1","hashtag2"]},{"1371799779":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799781, 1371799773, 1371799782, 1371799776, 1371799785, 1371799779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60306930541992 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:10:47.226112
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/10/image_12072025_06_10_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/06/10/image_12072025_06_10_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/06/10/image_12072025_06_10_14_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/06/09/image_12072025_06_10_04_10685.jpg', 2), ('/home/nano/Desktop/images/12072025/06/09/image_12072025_06_09_53_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_13_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/10/image_12072025_06_10_44_9639.jpg', '/home/nano/Desktop/images/12072025/06/10/image_12072025_06_10_23_9636.jpg', '/home/nano/Desktop/images/12072025/06/10/image_12072025_06_10_14_9660.jpg', '/home/nano/Desktop/images/12072025/06/09/image_12072025_06_10_04_10685.jpg', '/home/nano/Desktop/images/12072025/06/09/image_12072025_06_09_53_9636.jpg', '/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_13_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/10/image_12072025_06_10_44_9639.jpg
/home/nano/Desktop/images/12072025/06/10/image_12072025_06_10_23_9636.jpg
/home/nano/Desktop/images/12072025/06/10/image_12072025_06_10_14_9660.jpg
/home/nano/Desktop/images/12072025/06/09/image_12072025_06_10_04_10685.jpg
/home/nano/Desktop/images/12072025/06/09/image_12072025_06_09_53_9636.jpg
/home/nano/Desktop/images/12072025/05/50/image_12072025_05_50_13_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799808","1371799813","1371799801","1371799810","1371799804","1371799806"],"photo_ids_order":["1371799801","1371799804","1371799806","1371799808","1371799810","1371799813"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66f61610b0059badc31852e6d58c9faf.jpg","text":"TemporaryFile(/tmp/multipartBody8053654123473235911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293508480,"filename":"image_12072025_06_10_04_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2b316575da80d07ba305e1967b93ec1.jpg","text":"TemporaryFile(/tmp/multipartBody5220899240904596914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293508480,"filename":"image_12072025_05_50_13_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3bdd45e771fcd5051b8ef3ba570d6942.jpg","text":"TemporaryFile(/tmp/multipartBody8969841027956045316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293508480,"filename":"image_12072025_06_10_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3efdb9a57b01d3bb7896f88db3e2295e.jpg","text":"TemporaryFile(/tmp/multipartBody6977021399835284324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293508480,"filename":"image_12072025_06_09_53_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4cde42b085b29b6e9fd6cdf549d0d921.jpg","text":"TemporaryFile(/tmp/multipartBody5667938176463178184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293508480,"filename":"image_12072025_06_10_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4a168d50abd0f896179d7005112249f.jpg","text":"TemporaryFile(/tmp/multipartBody6456044295085269789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293508480,"filename":"image_12072025_06_10_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799806","file1":"1371799804","file0":"1371799801","file4":"1371799810","file5":"1371799813","file3":"1371799808"},"map_files_photo_id_array":[{"photo_id":"1371799813","filename":"file5"},{"photo_id":"1371799806","filename":"file2"},{"photo_id":"1371799810","filename":"file4"},{"photo_id":"1371799804","filename":"file1"},{"photo_id":"1371799801","filename":"file0"},{"photo_id":"1371799808","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799808":["hashtag1","hashtag2"]},{"1371799813":["hashtag1","hashtag2"]},{"1371799801":["hashtag1","hashtag2"]},{"1371799810":["hashtag1","hashtag2"]},{"1371799804":["hashtag1","hashtag2"]},{"1371799806":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799808, 1371799813, 1371799801, 1371799810, 1371799804, 1371799806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.791935682296753 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:11:32.345929
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_43_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_23_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/06/10/image_12072025_06_11_04_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/06/10/image_12072025_06_10_53_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_43_9644.jpg', '/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_34_10653.jpg', '/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_23_9655.jpg', '/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_13_9658.jpg', '/home/nano/Desktop/images/12072025/06/10/image_12072025_06_11_04_10662.jpg', '/home/nano/Desktop/images/12072025/06/10/image_12072025_06_10_53_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_43_9644.jpg
/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_34_10653.jpg
/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_23_9655.jpg
/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_13_9658.jpg
/home/nano/Desktop/images/12072025/06/10/image_12072025_06_11_04_10662.jpg
/home/nano/Desktop/images/12072025/06/10/image_12072025_06_10_53_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799835","1371799823","1371799826","1371799831","1371799837","1371799822"],"photo_ids_order":["1371799822","1371799823","1371799826","1371799831","1371799835","1371799837"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fcec0fd58bad0f938d798c594ddebbe.jpg","text":"TemporaryFile(/tmp/multipartBody1085625833580508761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293553758,"filename":"image_12072025_06_11_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88f0a2f28b989f4edb4cca5c0d6ec258.jpg","text":"TemporaryFile(/tmp/multipartBody3652504278923669650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293553758,"filename":"image_12072025_06_11_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12d13316304343fff1855fb91f676584.jpg","text":"TemporaryFile(/tmp/multipartBody8786820667179647317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293553758,"filename":"image_12072025_06_11_23_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0131a8f0cebbc40175ce29e4be358b5a.jpg","text":"TemporaryFile(/tmp/multipartBody5702486654712255093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293553758,"filename":"image_12072025_06_11_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47a9f209a86ac145cd6b2ca2a863c3d1.jpg","text":"TemporaryFile(/tmp/multipartBody8199000143527134365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293553758,"filename":"image_12072025_06_10_53_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/796877e3a2fbe054eb0dab4e51ee8eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1824299072469615261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293553758,"filename":"image_12072025_06_11_43_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799826","file1":"1371799823","file0":"1371799822","file4":"1371799835","file5":"1371799837","file3":"1371799831"},"map_files_photo_id_array":[{"photo_id":"1371799837","filename":"file5"},{"photo_id":"1371799826","filename":"file2"},{"photo_id":"1371799835","filename":"file4"},{"photo_id":"1371799823","filename":"file1"},{"photo_id":"1371799822","filename":"file0"},{"photo_id":"1371799831","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799835":["hashtag1","hashtag2"]},{"1371799823":["hashtag1","hashtag2"]},{"1371799826":["hashtag1","hashtag2"]},{"1371799831":["hashtag1","hashtag2"]},{"1371799837":["hashtag1","hashtag2"]},{"1371799822":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799835, 1371799823, 1371799826, 1371799831, 1371799837, 1371799822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9280321598053 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:12:17.471465
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_43_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_34_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_24_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_13_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/06/11/image_12072025_06_12_04_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_43_9623.jpg', '/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_34_9623.jpg', '/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_24_10624.jpg', '/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_13_9647.jpg', '/home/nano/Desktop/images/12072025/06/11/image_12072025_06_12_04_10650.jpg', '/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_43_9623.jpg
/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_34_9623.jpg
/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_24_10624.jpg
/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_13_9647.jpg
/home/nano/Desktop/images/12072025/06/11/image_12072025_06_12_04_10650.jpg
/home/nano/Desktop/images/12072025/06/11/image_12072025_06_11_53_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799856","1371799867","1371799852","1371799860","1371799848","1371799863"],"photo_ids_order":["1371799848","1371799852","1371799856","1371799860","1371799863","1371799867"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e6c87862c295deab81b8b902d93aaa8.jpg","text":"TemporaryFile(/tmp/multipartBody7218438251465298360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293598728,"filename":"image_12072025_06_12_24_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0ff66a471d9feaf9cd3c8aedcb695be.jpg","text":"TemporaryFile(/tmp/multipartBody403160066889107110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293598728,"filename":"image_12072025_06_11_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8f0bc581e01b8a2707fe8f04c1b8e7e.jpg","text":"TemporaryFile(/tmp/multipartBody5553080742796515254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293598728,"filename":"image_12072025_06_12_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/931ea3e9acdaa5b5535a63f0289a8dfd.jpg","text":"TemporaryFile(/tmp/multipartBody5772149664094553543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293598728,"filename":"image_12072025_06_12_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71973677313ce332e352417386aadaa4.jpg","text":"TemporaryFile(/tmp/multipartBody3338755238983755296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293598728,"filename":"image_12072025_06_12_43_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e38507b4cfbf7102db28693cb0eee38.jpg","text":"TemporaryFile(/tmp/multipartBody7051129320589196041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293598728,"filename":"image_12072025_06_12_04_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799856","file1":"1371799852","file0":"1371799848","file4":"1371799863","file5":"1371799867","file3":"1371799860"},"map_files_photo_id_array":[{"photo_id":"1371799867","filename":"file5"},{"photo_id":"1371799856","filename":"file2"},{"photo_id":"1371799863","filename":"file4"},{"photo_id":"1371799852","filename":"file1"},{"photo_id":"1371799848","filename":"file0"},{"photo_id":"1371799860","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799856":["hashtag1","hashtag2"]},{"1371799867":["hashtag1","hashtag2"]},{"1371799852":["hashtag1","hashtag2"]},{"1371799860":["hashtag1","hashtag2"]},{"1371799848":["hashtag1","hashtag2"]},{"1371799863":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799856, 1371799867, 1371799852, 1371799860, 1371799848, 1371799863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.710427045822144 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:13:03.066724
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/49/image_12072025_05_50_04_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/05/49/image_12072025_05_49_43_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/49/image_12072025_05_49_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/49/image_12072025_05_49_24_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/05/49/image_12072025_05_49_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/05/48/image_12072025_05_49_04_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/49/image_12072025_05_50_04_9644.jpg', '/home/nano/Desktop/images/12072025/05/49/image_12072025_05_49_43_9646.jpg', '/home/nano/Desktop/images/12072025/05/49/image_12072025_05_49_34_9638.jpg', '/home/nano/Desktop/images/12072025/05/49/image_12072025_05_49_24_10654.jpg', '/home/nano/Desktop/images/12072025/05/49/image_12072025_05_49_13_9657.jpg', '/home/nano/Desktop/images/12072025/05/48/image_12072025_05_49_04_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/49/image_12072025_05_50_04_9644.jpg
/home/nano/Desktop/images/12072025/05/49/image_12072025_05_49_43_9646.jpg
/home/nano/Desktop/images/12072025/05/49/image_12072025_05_49_34_9638.jpg
/home/nano/Desktop/images/12072025/05/49/image_12072025_05_49_24_10654.jpg
/home/nano/Desktop/images/12072025/05/49/image_12072025_05_49_13_9657.jpg
/home/nano/Desktop/images/12072025/05/48/image_12072025_05_49_04_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799889","1371799880","1371799888","1371799890","1371799883","1371799886"],"photo_ids_order":["1371799880","1371799883","1371799886","1371799888","1371799889","1371799890"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab2a0059f79200cbbb0eee5bc313688b.jpg","text":"TemporaryFile(/tmp/multipartBody6133554513470266663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293644500,"filename":"image_12072025_05_49_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8bd4fe67115304f6f47c0dbf62ac8df0.jpg","text":"TemporaryFile(/tmp/multipartBody2465128136527254810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293644500,"filename":"image_12072025_05_50_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96b38619e05bf2439692ab3f41a95fbc.jpg","text":"TemporaryFile(/tmp/multipartBody4725514628238631076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293644500,"filename":"image_12072025_05_49_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d8d0628157eae1d64a844851494cb25.jpg","text":"TemporaryFile(/tmp/multipartBody6110036608389532422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293644500,"filename":"image_12072025_05_49_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/282be870ad4a31c0e6793d7beb5cd0c6.jpg","text":"TemporaryFile(/tmp/multipartBody7173465379007098459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293644500,"filename":"image_12072025_05_49_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e1f8ece702b6dcd9b9c9c3486bd1f36.jpg","text":"TemporaryFile(/tmp/multipartBody1253984421439807669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293644500,"filename":"image_12072025_05_49_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799886","file1":"1371799883","file0":"1371799880","file4":"1371799889","file5":"1371799890","file3":"1371799888"},"map_files_photo_id_array":[{"photo_id":"1371799890","filename":"file5"},{"photo_id":"1371799886","filename":"file2"},{"photo_id":"1371799889","filename":"file4"},{"photo_id":"1371799883","filename":"file1"},{"photo_id":"1371799880","filename":"file0"},{"photo_id":"1371799888","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799889":["hashtag1","hashtag2"]},{"1371799880":["hashtag1","hashtag2"]},{"1371799888":["hashtag1","hashtag2"]},{"1371799890":["hashtag1","hashtag2"]},{"1371799883":["hashtag1","hashtag2"]},{"1371799886":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799889, 1371799880, 1371799888, 1371799890, 1371799883, 1371799886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.345250844955444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:13:47.627837
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_33_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_24_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_13_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/06/12/image_12072025_06_13_03_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_54_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_33_9607.jpg', '/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_24_10616.jpg', '/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_13_9621.jpg', '/home/nano/Desktop/images/12072025/06/12/image_12072025_06_13_03_9608.jpg', '/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_54_10618.jpg', '/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_33_9607.jpg
/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_24_10616.jpg
/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_13_9621.jpg
/home/nano/Desktop/images/12072025/06/12/image_12072025_06_13_03_9608.jpg
/home/nano/Desktop/images/12072025/06/12/image_12072025_06_12_54_10618.jpg
/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799916","1371799927","1371799923","1371799932","1371799911","1371799920"],"photo_ids_order":["1371799911","1371799916","1371799920","1371799923","1371799927","1371799932"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92aff231014a59c1ec84285dfcb8ede8.jpg","text":"TemporaryFile(/tmp/multipartBody8467530378643544120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293688698,"filename":"image_12072025_06_13_24_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89d8b734954b76e6e23b316e67b40ae5.jpg","text":"TemporaryFile(/tmp/multipartBody520866679717397838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293688698,"filename":"image_12072025_06_12_54_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cee6bd2943a5231f27892fe2d3550997.jpg","text":"TemporaryFile(/tmp/multipartBody8112449584101728472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293688698,"filename":"image_12072025_06_13_03_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6779457829fccb1f142c9c6b1f68c121.jpg","text":"TemporaryFile(/tmp/multipartBody7303612852770529783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293688698,"filename":"image_12072025_05_48_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ced62927ff39205a1304a1ceb3476860.jpg","text":"TemporaryFile(/tmp/multipartBody6304852302204366675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293688698,"filename":"image_12072025_06_13_33_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0cb9d77892a2c1c84d30ba453984c971.jpg","text":"TemporaryFile(/tmp/multipartBody7233460842417976080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293688698,"filename":"image_12072025_06_13_13_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799920","file1":"1371799916","file0":"1371799911","file4":"1371799927","file5":"1371799932","file3":"1371799923"},"map_files_photo_id_array":[{"photo_id":"1371799932","filename":"file5"},{"photo_id":"1371799920","filename":"file2"},{"photo_id":"1371799927","filename":"file4"},{"photo_id":"1371799916","filename":"file1"},{"photo_id":"1371799911","filename":"file0"},{"photo_id":"1371799923","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799916":["hashtag1","hashtag2"]},{"1371799927":["hashtag1","hashtag2"]},{"1371799923":["hashtag1","hashtag2"]},{"1371799932":["hashtag1","hashtag2"]},{"1371799911":["hashtag1","hashtag2"]},{"1371799920":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799916, 1371799927, 1371799923, 1371799932, 1371799911, 1371799920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60298538208008 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:14:32.674032
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_23_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/06/13/image_12072025_06_14_03_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_54_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_43_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_34_10620.jpg', '/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_23_9604.jpg', '/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_14_10639.jpg', '/home/nano/Desktop/images/12072025/06/13/image_12072025_06_14_03_9611.jpg', '/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_54_9604.jpg', '/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_43_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_34_10620.jpg
/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_23_9604.jpg
/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_14_10639.jpg
/home/nano/Desktop/images/12072025/06/13/image_12072025_06_14_03_9611.jpg
/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_54_9604.jpg
/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_43_9637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3068585395812988 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:14:47.699677
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_23_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/06/13/image_12072025_06_14_03_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_54_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_43_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_34_10620.jpg', '/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_23_9604.jpg', '/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_14_10639.jpg', '/home/nano/Desktop/images/12072025/06/13/image_12072025_06_14_03_9611.jpg', '/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_54_9604.jpg', '/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_43_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_34_10620.jpg
/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_23_9604.jpg
/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_14_10639.jpg
/home/nano/Desktop/images/12072025/06/13/image_12072025_06_14_03_9611.jpg
/home/nano/Desktop/images/12072025/06/13/image_12072025_06_13_54_9604.jpg
/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_43_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799969","1371799960","1371799972","1371799965","1371799974","1371799977"],"photo_ids_order":["1371799960","1371799965","1371799969","1371799972","1371799974","1371799977"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9247da50c5fd2c4b52c562f48bb056f.jpg","text":"TemporaryFile(/tmp/multipartBody2975273670977180941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293748830,"filename":"image_12072025_06_14_14_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82cec837e52eecbbc394c3ead056e556.jpg","text":"TemporaryFile(/tmp/multipartBody234523041629983542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293748830,"filename":"image_12072025_06_14_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2318eaf95ca77d361e6c359a2cdeaab.jpg","text":"TemporaryFile(/tmp/multipartBody1732147205714208228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293748830,"filename":"image_12072025_06_14_03_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1873902de976d5a1095aa15509a7b9f8.jpg","text":"TemporaryFile(/tmp/multipartBody6180178240789257167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293748830,"filename":"image_12072025_06_14_23_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f9be596823d0a44e6c54f3912a89aad.jpg","text":"TemporaryFile(/tmp/multipartBody7746883459105589281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293748830,"filename":"image_12072025_06_13_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7dd55d48e79e3b7e4e082d103a21eb2c.jpg","text":"TemporaryFile(/tmp/multipartBody6289256258729421784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293748830,"filename":"image_12072025_05_48_43_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799969","file1":"1371799965","file0":"1371799960","file4":"1371799974","file5":"1371799977","file3":"1371799972"},"map_files_photo_id_array":[{"photo_id":"1371799977","filename":"file5"},{"photo_id":"1371799969","filename":"file2"},{"photo_id":"1371799974","filename":"file4"},{"photo_id":"1371799965","filename":"file1"},{"photo_id":"1371799960","filename":"file0"},{"photo_id":"1371799972","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799969":["hashtag1","hashtag2"]},{"1371799960":["hashtag1","hashtag2"]},{"1371799972":["hashtag1","hashtag2"]},{"1371799965":["hashtag1","hashtag2"]},{"1371799974":["hashtag1","hashtag2"]},{"1371799977":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799969, 1371799960, 1371799972, 1371799965, 1371799974, 1371799977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56181502342224 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:15:31.833961
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/15/image_12072025_06_15_43_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/06/15/image_12072025_06_15_23_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/06/15/image_12072025_06_15_14_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/06/14/image_12072025_06_15_04_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_53_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_34_10662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/15/image_12072025_06_15_43_9610.jpg', '/home/nano/Desktop/images/12072025/06/15/image_12072025_06_15_23_9612.jpg', '/home/nano/Desktop/images/12072025/06/15/image_12072025_06_15_14_9621.jpg', '/home/nano/Desktop/images/12072025/06/14/image_12072025_06_15_04_10634.jpg', '/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_53_9627.jpg', '/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_34_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/15/image_12072025_06_15_43_9610.jpg
/home/nano/Desktop/images/12072025/06/15/image_12072025_06_15_23_9612.jpg
/home/nano/Desktop/images/12072025/06/15/image_12072025_06_15_14_9621.jpg
/home/nano/Desktop/images/12072025/06/14/image_12072025_06_15_04_10634.jpg
/home/nano/Desktop/images/12072025/06/14/image_12072025_06_14_53_9627.jpg
/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_34_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371799988","1371799999","1371799996","1371799992","1371800004","1371799994"],"photo_ids_order":["1371799988","1371799992","1371799994","1371799996","1371799999","1371800004"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a535729f87eedab17358a37a0ea1bfd.jpg","text":"TemporaryFile(/tmp/multipartBody5728182645302262260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293793273,"filename":"image_12072025_06_15_43_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22361bc2f59d792450a2e816c150680f.jpg","text":"TemporaryFile(/tmp/multipartBody5771423667410046483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293793273,"filename":"image_12072025_06_14_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f85c3a57e607c14f243b373e48b16ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5434451937422490869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293793273,"filename":"image_12072025_06_15_04_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b95265a5eaee37fe9b655ce60323c0d0.jpg","text":"TemporaryFile(/tmp/multipartBody9108816747077439501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293793273,"filename":"image_12072025_06_15_23_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d57129f0286985d1e1281c330749293.jpg","text":"TemporaryFile(/tmp/multipartBody3521105491868315751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293793273,"filename":"image_12072025_05_48_34_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f20b8efffddcc19ca9f94bdddee6827.jpg","text":"TemporaryFile(/tmp/multipartBody6121254063260559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293793273,"filename":"image_12072025_06_15_14_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371799994","file1":"1371799992","file0":"1371799988","file4":"1371799999","file5":"1371800004","file3":"1371799996"},"map_files_photo_id_array":[{"photo_id":"1371800004","filename":"file5"},{"photo_id":"1371799994","filename":"file2"},{"photo_id":"1371799999","filename":"file4"},{"photo_id":"1371799992","filename":"file1"},{"photo_id":"1371799988","filename":"file0"},{"photo_id":"1371799996","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371799988":["hashtag1","hashtag2"]},{"1371799999":["hashtag1","hashtag2"]},{"1371799996":["hashtag1","hashtag2"]},{"1371799992":["hashtag1","hashtag2"]},{"1371800004":["hashtag1","hashtag2"]},{"1371799994":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371799988, 1371799999, 1371799996, 1371799992, 1371800004, 1371799994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.525123834609985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:16:16.922415
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_43_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_33_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_24_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_13_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/06/15/image_12072025_06_16_04_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/06/15/image_12072025_06_15_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_43_9603.jpg', '/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_33_9604.jpg', '/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_24_10615.jpg', '/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_13_9629.jpg', '/home/nano/Desktop/images/12072025/06/15/image_12072025_06_16_04_9633.jpg', '/home/nano/Desktop/images/12072025/06/15/image_12072025_06_15_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_43_9603.jpg
/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_33_9604.jpg
/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_24_10615.jpg
/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_13_9629.jpg
/home/nano/Desktop/images/12072025/06/15/image_12072025_06_16_04_9633.jpg
/home/nano/Desktop/images/12072025/06/15/image_12072025_06_15_54_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800020","1371800022","1371800025","1371800030","1371800018","1371800027"],"photo_ids_order":["1371800018","1371800020","1371800022","1371800025","1371800027","1371800030"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c604d977d52f8213df54f913cd9791c.jpg","text":"TemporaryFile(/tmp/multipartBody5643918622733487627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293838109,"filename":"image_12072025_06_16_33_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54f48a02ae89be3db4bf33ec9ef4ba0d.jpg","text":"TemporaryFile(/tmp/multipartBody922938743656490572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293838109,"filename":"image_12072025_06_16_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9109dfbab202fa69e05f318bf4963040.jpg","text":"TemporaryFile(/tmp/multipartBody5667436123346570623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293838109,"filename":"image_12072025_06_16_13_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ccf9a7b5ac387bfac0ca19a4341aec3.jpg","text":"TemporaryFile(/tmp/multipartBody7732750609102932874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293838109,"filename":"image_12072025_06_15_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3286f10ee1169f32a726630789c49b2f.jpg","text":"TemporaryFile(/tmp/multipartBody2304321798911159555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293838109,"filename":"image_12072025_06_16_43_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5fc5885d4a3285007084816a661ebae.jpg","text":"TemporaryFile(/tmp/multipartBody3572388614648163380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293838109,"filename":"image_12072025_06_16_04_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800022","file1":"1371800020","file0":"1371800018","file4":"1371800027","file5":"1371800030","file3":"1371800025"},"map_files_photo_id_array":[{"photo_id":"1371800030","filename":"file5"},{"photo_id":"1371800022","filename":"file2"},{"photo_id":"1371800027","filename":"file4"},{"photo_id":"1371800020","filename":"file1"},{"photo_id":"1371800018","filename":"file0"},{"photo_id":"1371800025","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800020":["hashtag1","hashtag2"]},{"1371800022":["hashtag1","hashtag2"]},{"1371800025":["hashtag1","hashtag2"]},{"1371800030":["hashtag1","hashtag2"]},{"1371800018":["hashtag1","hashtag2"]},{"1371800027":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800020, 1371800022, 1371800025, 1371800030, 1371800018, 1371800027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28437256813049 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:17:02.612762
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_23_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/05/47/image_12072025_05_48_04_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_53_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_34_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_23_9656.jpg', '/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_13_9656.jpg', '/home/nano/Desktop/images/12072025/05/47/image_12072025_05_48_04_10668.jpg', '/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_53_9638.jpg', '/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_43_9638.jpg', '/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_34_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_23_9656.jpg
/home/nano/Desktop/images/12072025/05/48/image_12072025_05_48_13_9656.jpg
/home/nano/Desktop/images/12072025/05/47/image_12072025_05_48_04_10668.jpg
/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_53_9638.jpg
/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_43_9638.jpg
/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_34_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800056","1371800050","1371800058","1371800054","1371800045","1371800048"],"photo_ids_order":["1371800045","1371800048","1371800050","1371800054","1371800056","1371800058"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ac8ce661f1f4f40e1307af16cc3398e.jpg","text":"TemporaryFile(/tmp/multipartBody3107169875201048492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293883757,"filename":"image_12072025_05_47_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6bed0e6707a2cf8a70bad8963df21700.jpg","text":"TemporaryFile(/tmp/multipartBody3511115199844485112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293883757,"filename":"image_12072025_05_48_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0ed2a6de9032c30d2a2339c8e40080c.jpg","text":"TemporaryFile(/tmp/multipartBody5517547855689450361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293883757,"filename":"image_12072025_05_47_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/318a833516f67c96747e0d368319f69b.jpg","text":"TemporaryFile(/tmp/multipartBody876248434625563793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293883757,"filename":"image_12072025_05_47_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/920426ae3e5f20e9448b202ccbf5381c.jpg","text":"TemporaryFile(/tmp/multipartBody5958952747971132235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293883757,"filename":"image_12072025_05_48_23_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d340d63c5cee11f19118fd2a8c4fb8d.jpg","text":"TemporaryFile(/tmp/multipartBody8116430065869179835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293883757,"filename":"image_12072025_05_48_13_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800050","file1":"1371800048","file0":"1371800045","file4":"1371800056","file5":"1371800058","file3":"1371800054"},"map_files_photo_id_array":[{"photo_id":"1371800058","filename":"file5"},{"photo_id":"1371800050","filename":"file2"},{"photo_id":"1371800056","filename":"file4"},{"photo_id":"1371800048","filename":"file1"},{"photo_id":"1371800045","filename":"file0"},{"photo_id":"1371800054","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800056":["hashtag1","hashtag2"]},{"1371800050":["hashtag1","hashtag2"]},{"1371800058":["hashtag1","hashtag2"]},{"1371800054":["hashtag1","hashtag2"]},{"1371800045":["hashtag1","hashtag2"]},{"1371800048":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800056, 1371800050, 1371800058, 1371800054, 1371800045, 1371800048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35822939872742 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:17:47.050729
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_33_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_24_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_14_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/06/16/image_12072025_06_17_03_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_54_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_44_10621.jpg', '/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_33_9605.jpg', '/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_24_9613.jpg', '/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_14_10635.jpg', '/home/nano/Desktop/images/12072025/06/16/image_12072025_06_17_03_9607.jpg', '/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_54_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_44_10621.jpg
/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_33_9605.jpg
/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_24_9613.jpg
/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_14_10635.jpg
/home/nano/Desktop/images/12072025/06/16/image_12072025_06_17_03_9607.jpg
/home/nano/Desktop/images/12072025/06/16/image_12072025_06_16_54_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800086","1371800080","1371800068","1371800077","1371800082","1371800072"],"photo_ids_order":["1371800068","1371800072","1371800077","1371800080","1371800082","1371800086"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19514b22797d9b479a9fb8789300e8d9.jpg","text":"TemporaryFile(/tmp/multipartBody8666370580312520291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293928352,"filename":"image_12072025_06_16_54_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da384428372a14a0ded53628ffdfa239.jpg","text":"TemporaryFile(/tmp/multipartBody2737069450384118433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293928352,"filename":"image_12072025_06_17_14_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2320f3cd26e72bfd4c34c4a1061dd087.jpg","text":"TemporaryFile(/tmp/multipartBody5423514989206786197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293928352,"filename":"image_12072025_06_17_44_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7df48d788787cd8c144bca6c43c13dde.jpg","text":"TemporaryFile(/tmp/multipartBody83344710282056712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293928352,"filename":"image_12072025_06_17_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec7c3cc8547ee54509d691189388cc90.jpg","text":"TemporaryFile(/tmp/multipartBody5798726401928913158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293928352,"filename":"image_12072025_06_17_03_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/734ad4e8bd2852cb29e881afe1c3005b.jpg","text":"TemporaryFile(/tmp/multipartBody7350271705945172308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293928352,"filename":"image_12072025_06_17_33_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800077","file1":"1371800072","file0":"1371800068","file4":"1371800082","file5":"1371800086","file3":"1371800080"},"map_files_photo_id_array":[{"photo_id":"1371800086","filename":"file5"},{"photo_id":"1371800077","filename":"file2"},{"photo_id":"1371800082","filename":"file4"},{"photo_id":"1371800072","filename":"file1"},{"photo_id":"1371800068","filename":"file0"},{"photo_id":"1371800080","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800086":["hashtag1","hashtag2"]},{"1371800080":["hashtag1","hashtag2"]},{"1371800068":["hashtag1","hashtag2"]},{"1371800077":["hashtag1","hashtag2"]},{"1371800082":["hashtag1","hashtag2"]},{"1371800072":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800086, 1371800080, 1371800068, 1371800077, 1371800082, 1371800072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53793740272522 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:18:32.161677
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/18/image_12072025_06_18_34_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/06/18/image_12072025_06_18_23_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/06/18/image_12072025_06_18_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/06/17/image_12072025_06_18_04_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_53_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_23_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/18/image_12072025_06_18_34_10624.jpg', '/home/nano/Desktop/images/12072025/06/18/image_12072025_06_18_23_9612.jpg', '/home/nano/Desktop/images/12072025/06/18/image_12072025_06_18_14_9631.jpg', '/home/nano/Desktop/images/12072025/06/17/image_12072025_06_18_04_10637.jpg', '/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_53_9605.jpg', '/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_23_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/18/image_12072025_06_18_34_10624.jpg
/home/nano/Desktop/images/12072025/06/18/image_12072025_06_18_23_9612.jpg
/home/nano/Desktop/images/12072025/06/18/image_12072025_06_18_14_9631.jpg
/home/nano/Desktop/images/12072025/06/17/image_12072025_06_18_04_10637.jpg
/home/nano/Desktop/images/12072025/06/17/image_12072025_06_17_53_9605.jpg
/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_23_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800107","1371800112","1371800115","1371800100","1371800103","1371800098"],"photo_ids_order":["1371800098","1371800100","1371800103","1371800107","1371800112","1371800115"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c6a32477c3665db36b3cc02980128b9.jpg","text":"TemporaryFile(/tmp/multipartBody5763791766742734014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293973339,"filename":"image_12072025_06_18_04_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c71d6d03e3126f006db891704d0ff9a0.jpg","text":"TemporaryFile(/tmp/multipartBody3472358474331543936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293973339,"filename":"image_12072025_06_17_53_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4182d7d39ea4ca1f816d585950687ca.jpg","text":"TemporaryFile(/tmp/multipartBody6897571343246853450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293973339,"filename":"image_12072025_05_47_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fbc09e1d4be4683a6115cc58a0670e6f.jpg","text":"TemporaryFile(/tmp/multipartBody8951695059505559698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293973339,"filename":"image_12072025_06_18_23_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/780f70db8220af61846bd102d0892913.jpg","text":"TemporaryFile(/tmp/multipartBody6551381714776004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293973339,"filename":"image_12072025_06_18_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13dec0f94928e892249dab90d5c10208.jpg","text":"TemporaryFile(/tmp/multipartBody8209746553952311979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752293973339,"filename":"image_12072025_06_18_34_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800103","file1":"1371800100","file0":"1371800098","file4":"1371800112","file5":"1371800115","file3":"1371800107"},"map_files_photo_id_array":[{"photo_id":"1371800115","filename":"file5"},{"photo_id":"1371800103","filename":"file2"},{"photo_id":"1371800112","filename":"file4"},{"photo_id":"1371800100","filename":"file1"},{"photo_id":"1371800098","filename":"file0"},{"photo_id":"1371800107","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800107":["hashtag1","hashtag2"]},{"1371800112":["hashtag1","hashtag2"]},{"1371800115":["hashtag1","hashtag2"]},{"1371800100":["hashtag1","hashtag2"]},{"1371800103":["hashtag1","hashtag2"]},{"1371800098":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800107, 1371800112, 1371800115, 1371800100, 1371800103, 1371800098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.957072496414185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:19:17.239696
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_34_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_24_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_13_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/06/18/image_12072025_06_19_04_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/06/18/image_12072025_06_18_44_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_43_9645.jpg', '/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_34_9628.jpg', '/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_24_10651.jpg', '/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_13_9618.jpg', '/home/nano/Desktop/images/12072025/06/18/image_12072025_06_19_04_10625.jpg', '/home/nano/Desktop/images/12072025/06/18/image_12072025_06_18_44_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_43_9645.jpg
/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_34_9628.jpg
/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_24_10651.jpg
/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_13_9618.jpg
/home/nano/Desktop/images/12072025/06/18/image_12072025_06_19_04_10625.jpg
/home/nano/Desktop/images/12072025/06/18/image_12072025_06_18_44_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800137","1371800122","1371800130","1371800133","1371800127","1371800123"],"photo_ids_order":["1371800122","1371800123","1371800127","1371800130","1371800133","1371800137"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e5d71eef615c783517e0326c8193186.jpg","text":"TemporaryFile(/tmp/multipartBody7129291430177695807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294018376,"filename":"image_12072025_06_18_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b1cff5f08c6a96d1aaf841359639279.jpg","text":"TemporaryFile(/tmp/multipartBody4321762541488934661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294018376,"filename":"image_12072025_06_19_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a149a1e7e6d0ef9a4e9f04cd18116833.jpg","text":"TemporaryFile(/tmp/multipartBody7622570789607941814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294018376,"filename":"image_12072025_06_19_13_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9bef963a9ab051a7c71413819762ae4.jpg","text":"TemporaryFile(/tmp/multipartBody2668807484147372534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294018376,"filename":"image_12072025_06_19_04_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74bf7ca9abcdaaf578e174e3763f679a.jpg","text":"TemporaryFile(/tmp/multipartBody1816930285023181080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294018376,"filename":"image_12072025_06_19_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bfaac2cd05d0b701de23c453446fe23.jpg","text":"TemporaryFile(/tmp/multipartBody9057424843430292991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294018376,"filename":"image_12072025_06_19_34_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800127","file1":"1371800123","file0":"1371800122","file4":"1371800133","file5":"1371800137","file3":"1371800130"},"map_files_photo_id_array":[{"photo_id":"1371800137","filename":"file5"},{"photo_id":"1371800127","filename":"file2"},{"photo_id":"1371800133","filename":"file4"},{"photo_id":"1371800123","filename":"file1"},{"photo_id":"1371800122","filename":"file0"},{"photo_id":"1371800130","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800137":["hashtag1","hashtag2"]},{"1371800122":["hashtag1","hashtag2"]},{"1371800130":["hashtag1","hashtag2"]},{"1371800133":["hashtag1","hashtag2"]},{"1371800127":["hashtag1","hashtag2"]},{"1371800123":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800137, 1371800122, 1371800130, 1371800133, 1371800127, 1371800123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44675159454346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:20:02.648639
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/05/46/image_12072025_05_47_04_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_53_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_44_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_23_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_14_9658.jpg', '/home/nano/Desktop/images/12072025/05/46/image_12072025_05_47_04_10651.jpg', '/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_53_9644.jpg', '/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_44_9645.jpg', '/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_34_10649.jpg', '/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_23_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/47/image_12072025_05_47_14_9658.jpg
/home/nano/Desktop/images/12072025/05/46/image_12072025_05_47_04_10651.jpg
/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_53_9644.jpg
/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_44_9645.jpg
/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_34_10649.jpg
/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_23_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800194","1371800188","1371800181","1371800190","1371800192","1371800186"],"photo_ids_order":["1371800181","1371800186","1371800188","1371800190","1371800192","1371800194"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce289cf59c3da0201139ed86e4bf087f.jpg","text":"TemporaryFile(/tmp/multipartBody2236367855724595123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294064058,"filename":"image_12072025_05_46_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d45b4e57050d7509476155768cdffca7.jpg","text":"TemporaryFile(/tmp/multipartBody350910944204293095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294064058,"filename":"image_12072025_05_46_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f50fd816fc92c4622b496b9ab576e55.jpg","text":"TemporaryFile(/tmp/multipartBody461740920272533645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294064058,"filename":"image_12072025_05_47_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef134d99395bb3ce367cd525eac61b43.jpg","text":"TemporaryFile(/tmp/multipartBody7917438778119387325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294064058,"filename":"image_12072025_05_46_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e9dbbbb3a58debe16237ade467c26af.jpg","text":"TemporaryFile(/tmp/multipartBody1054265965309971092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294064058,"filename":"image_12072025_05_46_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac6c146cd64a139a1070e031e7b91cc4.jpg","text":"TemporaryFile(/tmp/multipartBody1997570940431664187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294064058,"filename":"image_12072025_05_47_04_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800188","file1":"1371800186","file0":"1371800181","file4":"1371800192","file5":"1371800194","file3":"1371800190"},"map_files_photo_id_array":[{"photo_id":"1371800194","filename":"file5"},{"photo_id":"1371800188","filename":"file2"},{"photo_id":"1371800192","filename":"file4"},{"photo_id":"1371800186","filename":"file1"},{"photo_id":"1371800181","filename":"file0"},{"photo_id":"1371800190","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800194":["hashtag1","hashtag2"]},{"1371800188":["hashtag1","hashtag2"]},{"1371800181":["hashtag1","hashtag2"]},{"1371800190":["hashtag1","hashtag2"]},{"1371800192":["hashtag1","hashtag2"]},{"1371800186":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800194, 1371800188, 1371800181, 1371800190, 1371800192, 1371800186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70179486274719 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:20:47.313549
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/20/image_12072025_06_20_43_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/06/20/image_12072025_06_20_33_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/06/20/image_12072025_06_20_13_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/06/19/image_12072025_06_20_04_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_54_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_14_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/20/image_12072025_06_20_43_9628.jpg', '/home/nano/Desktop/images/12072025/06/20/image_12072025_06_20_33_9634.jpg', '/home/nano/Desktop/images/12072025/06/20/image_12072025_06_20_13_9647.jpg', '/home/nano/Desktop/images/12072025/06/19/image_12072025_06_20_04_9628.jpg', '/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_54_10636.jpg', '/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_14_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/20/image_12072025_06_20_43_9628.jpg
/home/nano/Desktop/images/12072025/06/20/image_12072025_06_20_33_9634.jpg
/home/nano/Desktop/images/12072025/06/20/image_12072025_06_20_13_9647.jpg
/home/nano/Desktop/images/12072025/06/19/image_12072025_06_20_04_9628.jpg
/home/nano/Desktop/images/12072025/06/19/image_12072025_06_19_54_10636.jpg
/home/nano/Desktop/images/12072025/05/46/image_12072025_05_46_14_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800224","1371800226","1371800211","1371800205","1371800222","1371800216"],"photo_ids_order":["1371800205","1371800211","1371800216","1371800222","1371800224","1371800226"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5f2edb3884e62586421a7c0258e6b3f.jpg","text":"TemporaryFile(/tmp/multipartBody4196330917468823166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294108683,"filename":"image_12072025_06_19_54_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6cf1491dca2fee5bb71143cd92505ba.jpg","text":"TemporaryFile(/tmp/multipartBody1084069162034394710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294108683,"filename":"image_12072025_05_46_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c1ee13d2df6466e28d9799971c8a1bc.jpg","text":"TemporaryFile(/tmp/multipartBody2101911856539745586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294108683,"filename":"image_12072025_06_20_33_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/797bc83bf5f45a142cd35f16a5330a33.jpg","text":"TemporaryFile(/tmp/multipartBody1646134260398242294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294108683,"filename":"image_12072025_06_20_43_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59851d9c110328673fc47b1007267fe9.jpg","text":"TemporaryFile(/tmp/multipartBody78931544490303442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294108683,"filename":"image_12072025_06_20_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81c60463b08bf4999094ba59d7cb8cf6.jpg","text":"TemporaryFile(/tmp/multipartBody4743326255536893262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294108683,"filename":"image_12072025_06_20_13_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800216","file1":"1371800211","file0":"1371800205","file4":"1371800224","file5":"1371800226","file3":"1371800222"},"map_files_photo_id_array":[{"photo_id":"1371800226","filename":"file5"},{"photo_id":"1371800216","filename":"file2"},{"photo_id":"1371800224","filename":"file4"},{"photo_id":"1371800211","filename":"file1"},{"photo_id":"1371800205","filename":"file0"},{"photo_id":"1371800222","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800224":["hashtag1","hashtag2"]},{"1371800226":["hashtag1","hashtag2"]},{"1371800211":["hashtag1","hashtag2"]},{"1371800205":["hashtag1","hashtag2"]},{"1371800222":["hashtag1","hashtag2"]},{"1371800216":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800224, 1371800226, 1371800211, 1371800205, 1371800222, 1371800216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23795032501221 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:21:32.438821
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_44_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_33_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_24_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_13_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/06/20/image_12072025_06_21_03_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/06/20/image_12072025_06_20_54_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_44_10661.jpg', '/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_33_9635.jpg', '/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_24_10646.jpg', '/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_13_9666.jpg', '/home/nano/Desktop/images/12072025/06/20/image_12072025_06_21_03_9634.jpg', '/home/nano/Desktop/images/12072025/06/20/image_12072025_06_20_54_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_44_10661.jpg
/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_33_9635.jpg
/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_24_10646.jpg
/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_13_9666.jpg
/home/nano/Desktop/images/12072025/06/20/image_12072025_06_21_03_9634.jpg
/home/nano/Desktop/images/12072025/06/20/image_12072025_06_20_54_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800233","1371800244","1371800247","1371800241","1371800235","1371800237"],"photo_ids_order":["1371800233","1371800235","1371800237","1371800241","1371800244","1371800247"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d0f737b0371698f546885bc6bf7d1fa.jpg","text":"TemporaryFile(/tmp/multipartBody4521030281469649201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294153746,"filename":"image_12072025_06_21_44_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/acc8d3cde76de2417fd96ba637cf3009.jpg","text":"TemporaryFile(/tmp/multipartBody1397838376153682330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294153746,"filename":"image_12072025_06_21_03_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c50e71900f26bc5aee9c95e85fec4aa.jpg","text":"TemporaryFile(/tmp/multipartBody4648397994130020913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294153746,"filename":"image_12072025_06_20_54_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/662d28287b82549e76d9ca92e739e0bf.jpg","text":"TemporaryFile(/tmp/multipartBody428273624416585944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294153746,"filename":"image_12072025_06_21_13_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f54634fa1202ec3e6093b77711767fc.jpg","text":"TemporaryFile(/tmp/multipartBody1612115225483842144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294153746,"filename":"image_12072025_06_21_33_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ca713c6dbe38e074384ec719a4917d7.jpg","text":"TemporaryFile(/tmp/multipartBody6671813826336427166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294153746,"filename":"image_12072025_06_21_24_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800237","file1":"1371800235","file0":"1371800233","file4":"1371800244","file5":"1371800247","file3":"1371800241"},"map_files_photo_id_array":[{"photo_id":"1371800247","filename":"file5"},{"photo_id":"1371800237","filename":"file2"},{"photo_id":"1371800244","filename":"file4"},{"photo_id":"1371800235","filename":"file1"},{"photo_id":"1371800233","filename":"file0"},{"photo_id":"1371800241","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800233":["hashtag1","hashtag2"]},{"1371800244":["hashtag1","hashtag2"]},{"1371800247":["hashtag1","hashtag2"]},{"1371800241":["hashtag1","hashtag2"]},{"1371800235":["hashtag1","hashtag2"]},{"1371800237":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800233, 1371800244, 1371800247, 1371800241, 1371800235, 1371800237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15966606140137 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:22:17.538496
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_33_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_24_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_14_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/06/21/image_12072025_06_22_03_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_54_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_44_10621.jpg', '/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_33_9610.jpg', '/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_24_9605.jpg', '/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_14_10650.jpg', '/home/nano/Desktop/images/12072025/06/21/image_12072025_06_22_03_9639.jpg', '/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_44_10621.jpg
/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_33_9610.jpg
/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_24_9605.jpg
/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_14_10650.jpg
/home/nano/Desktop/images/12072025/06/21/image_12072025_06_22_03_9639.jpg
/home/nano/Desktop/images/12072025/06/21/image_12072025_06_21_54_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800275","1371800279","1371800270","1371800273","1371800267","1371800276"],"photo_ids_order":["1371800267","1371800270","1371800273","1371800275","1371800276","1371800279"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61dad595d6506c285efc6d926cfc0956.jpg","text":"TemporaryFile(/tmp/multipartBody4132859921124852927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294198956,"filename":"image_12072025_06_22_14_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f807f5f6dbe6d9692e96d80b75d4f37.jpg","text":"TemporaryFile(/tmp/multipartBody7728582955387604875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294198956,"filename":"image_12072025_06_21_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad9c6044bea43d7b7af435965330e1ce.jpg","text":"TemporaryFile(/tmp/multipartBody2683664614805855436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294198956,"filename":"image_12072025_06_22_33_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed4d6c1aa7d6983e415bd53c3b1edcd2.jpg","text":"TemporaryFile(/tmp/multipartBody7782664175228055535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294198956,"filename":"image_12072025_06_22_24_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3879823cce3fdae0464eede3fddecdc0.jpg","text":"TemporaryFile(/tmp/multipartBody7270444037971103341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294198956,"filename":"image_12072025_06_22_44_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca91362aa99f08b9aa0348b490a479e5.jpg","text":"TemporaryFile(/tmp/multipartBody9075508325367671116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294198956,"filename":"image_12072025_06_22_03_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800273","file1":"1371800270","file0":"1371800267","file4":"1371800276","file5":"1371800279","file3":"1371800275"},"map_files_photo_id_array":[{"photo_id":"1371800279","filename":"file5"},{"photo_id":"1371800273","filename":"file2"},{"photo_id":"1371800276","filename":"file4"},{"photo_id":"1371800270","filename":"file1"},{"photo_id":"1371800267","filename":"file0"},{"photo_id":"1371800275","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800275":["hashtag1","hashtag2"]},{"1371800279":["hashtag1","hashtag2"]},{"1371800270":["hashtag1","hashtag2"]},{"1371800273":["hashtag1","hashtag2"]},{"1371800267":["hashtag1","hashtag2"]},{"1371800276":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800275, 1371800279, 1371800270, 1371800273, 1371800267, 1371800276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.297642946243286 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:23:03.164117
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/45/image_12072025_05_46_04_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_53_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_44_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_14_9682.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/45/image_12072025_05_46_04_10665.jpg', '/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_53_9638.jpg', '/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_44_9638.jpg', '/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_34_10649.jpg', '/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_23_9640.jpg', '/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_14_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/45/image_12072025_05_46_04_10665.jpg
/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_53_9638.jpg
/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_44_9638.jpg
/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_34_10649.jpg
/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_23_9640.jpg
/home/nano/Desktop/images/12072025/05/45/image_12072025_05_45_14_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800300","1371800305","1371800295","1371800307","1371800303","1371800296"],"photo_ids_order":["1371800295","1371800296","1371800300","1371800303","1371800305","1371800307"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85999799370e23247567e0b877e98b72.jpg","text":"TemporaryFile(/tmp/multipartBody2698631948016628996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294244355,"filename":"image_12072025_05_45_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0be37b9b41fc64752eb155fa6b1e2a99.jpg","text":"TemporaryFile(/tmp/multipartBody5376117089156217674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294244355,"filename":"image_12072025_05_45_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6048fb144a2f1300254df39122d126c.jpg","text":"TemporaryFile(/tmp/multipartBody3781394293619232738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294244355,"filename":"image_12072025_05_46_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a6ed4864cfd8ba55f41238ad8bbccc4.jpg","text":"TemporaryFile(/tmp/multipartBody1288073280647065042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294244355,"filename":"image_12072025_05_45_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b963ae59f9f2d67535d33446b12d265.jpg","text":"TemporaryFile(/tmp/multipartBody4539611885239228904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294244355,"filename":"image_12072025_05_45_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c6de4bf0560c0e8e33523f518464ece.jpg","text":"TemporaryFile(/tmp/multipartBody7831214256609542398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294244355,"filename":"image_12072025_05_45_53_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800300","file1":"1371800296","file0":"1371800295","file4":"1371800305","file5":"1371800307","file3":"1371800303"},"map_files_photo_id_array":[{"photo_id":"1371800307","filename":"file5"},{"photo_id":"1371800300","filename":"file2"},{"photo_id":"1371800305","filename":"file4"},{"photo_id":"1371800296","filename":"file1"},{"photo_id":"1371800295","filename":"file0"},{"photo_id":"1371800303","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800300":["hashtag1","hashtag2"]},{"1371800305":["hashtag1","hashtag2"]},{"1371800295":["hashtag1","hashtag2"]},{"1371800307":["hashtag1","hashtag2"]},{"1371800303":["hashtag1","hashtag2"]},{"1371800296":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800300, 1371800305, 1371800295, 1371800307, 1371800303, 1371800296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.330068826675415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:23:47.647420
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/23/image_12072025_06_23_43_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/23/image_12072025_06_23_34_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/06/23/image_12072025_06_23_14_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/06/22/image_12072025_06_23_04_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_53_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/05/44/image_12072025_05_45_04_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/23/image_12072025_06_23_43_9601.jpg', '/home/nano/Desktop/images/12072025/06/23/image_12072025_06_23_34_10615.jpg', '/home/nano/Desktop/images/12072025/06/23/image_12072025_06_23_14_9619.jpg', '/home/nano/Desktop/images/12072025/06/22/image_12072025_06_23_04_10615.jpg', '/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_53_9604.jpg', '/home/nano/Desktop/images/12072025/05/44/image_12072025_05_45_04_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/23/image_12072025_06_23_43_9601.jpg
/home/nano/Desktop/images/12072025/06/23/image_12072025_06_23_34_10615.jpg
/home/nano/Desktop/images/12072025/06/23/image_12072025_06_23_14_9619.jpg
/home/nano/Desktop/images/12072025/06/22/image_12072025_06_23_04_10615.jpg
/home/nano/Desktop/images/12072025/06/22/image_12072025_06_22_53_9604.jpg
/home/nano/Desktop/images/12072025/05/44/image_12072025_05_45_04_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800329","1371800320","1371800323","1371800317","1371800325","1371800315"],"photo_ids_order":["1371800315","1371800317","1371800320","1371800323","1371800325","1371800329"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fed3247b21b0be9321c8aa467a406bf.jpg","text":"TemporaryFile(/tmp/multipartBody4487765564104047921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294288680,"filename":"image_12072025_05_45_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c834ed33ed77ab92191c60ba2b60b11.jpg","text":"TemporaryFile(/tmp/multipartBody4194768152093637189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294288680,"filename":"image_12072025_06_23_14_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a43db6b3c38ebe166ff5a82acbf83d0d.jpg","text":"TemporaryFile(/tmp/multipartBody5633362177423468767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294288680,"filename":"image_12072025_06_23_04_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbead8aa915f987b6b46baa4a679c2bf.jpg","text":"TemporaryFile(/tmp/multipartBody6124549363728180995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294288680,"filename":"image_12072025_06_23_34_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ceba05451a6074700839da4261eb9505.jpg","text":"TemporaryFile(/tmp/multipartBody6533358009092826323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294288680,"filename":"image_12072025_06_22_53_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63dee256604d596703558f9cb087a5ab.jpg","text":"TemporaryFile(/tmp/multipartBody7703059528261866639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294288680,"filename":"image_12072025_06_23_43_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800320","file1":"1371800317","file0":"1371800315","file4":"1371800325","file5":"1371800329","file3":"1371800323"},"map_files_photo_id_array":[{"photo_id":"1371800329","filename":"file5"},{"photo_id":"1371800320","filename":"file2"},{"photo_id":"1371800325","filename":"file4"},{"photo_id":"1371800317","filename":"file1"},{"photo_id":"1371800315","filename":"file0"},{"photo_id":"1371800323","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800329":["hashtag1","hashtag2"]},{"1371800320":["hashtag1","hashtag2"]},{"1371800323":["hashtag1","hashtag2"]},{"1371800317":["hashtag1","hashtag2"]},{"1371800325":["hashtag1","hashtag2"]},{"1371800315":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800329, 1371800320, 1371800323, 1371800317, 1371800325, 1371800315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.834670782089233 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:24:32.729435
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/24/image_12072025_06_24_33_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/06/24/image_12072025_06_24_13_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/06/23/image_12072025_06_24_04_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/06/23/image_12072025_06_23_54_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_53_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_44_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/24/image_12072025_06_24_33_9604.jpg', '/home/nano/Desktop/images/12072025/06/24/image_12072025_06_24_13_9617.jpg', '/home/nano/Desktop/images/12072025/06/23/image_12072025_06_24_04_9612.jpg', '/home/nano/Desktop/images/12072025/06/23/image_12072025_06_23_54_10613.jpg', '/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_53_9637.jpg', '/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_44_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/24/image_12072025_06_24_33_9604.jpg
/home/nano/Desktop/images/12072025/06/24/image_12072025_06_24_13_9617.jpg
/home/nano/Desktop/images/12072025/06/23/image_12072025_06_24_04_9612.jpg
/home/nano/Desktop/images/12072025/06/23/image_12072025_06_23_54_10613.jpg
/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_53_9637.jpg
/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_44_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800356","1371800350","1371800340","1371800343","1371800354","1371800345"],"photo_ids_order":["1371800340","1371800343","1371800345","1371800350","1371800354","1371800356"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40f286951f22899c389c9a3ec78a18a2.jpg","text":"TemporaryFile(/tmp/multipartBody1488307486003648714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294334101,"filename":"image_12072025_05_44_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55515f6493fb33369f5d9b6b98c76245.jpg","text":"TemporaryFile(/tmp/multipartBody7531614114548331758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294334101,"filename":"image_12072025_06_23_54_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47c3501d67ba84d144520e48c600d1a5.jpg","text":"TemporaryFile(/tmp/multipartBody5640868998388420527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294334101,"filename":"image_12072025_06_24_33_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b43e52f71050e8f927317edfe3e0602.jpg","text":"TemporaryFile(/tmp/multipartBody2661668060745190815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294334101,"filename":"image_12072025_06_24_13_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff17ec267fcc185d5ceabab707b9bca6.jpg","text":"TemporaryFile(/tmp/multipartBody4313637215749481074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294334101,"filename":"image_12072025_05_44_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b90ab014b64fa580225c554a18ccf45.jpg","text":"TemporaryFile(/tmp/multipartBody2298695368012317123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294334101,"filename":"image_12072025_06_24_04_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800345","file1":"1371800343","file0":"1371800340","file4":"1371800354","file5":"1371800356","file3":"1371800350"},"map_files_photo_id_array":[{"photo_id":"1371800356","filename":"file5"},{"photo_id":"1371800345","filename":"file2"},{"photo_id":"1371800354","filename":"file4"},{"photo_id":"1371800343","filename":"file1"},{"photo_id":"1371800340","filename":"file0"},{"photo_id":"1371800350","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800356":["hashtag1","hashtag2"]},{"1371800350":["hashtag1","hashtag2"]},{"1371800340":["hashtag1","hashtag2"]},{"1371800343":["hashtag1","hashtag2"]},{"1371800354":["hashtag1","hashtag2"]},{"1371800345":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800356, 1371800350, 1371800340, 1371800343, 1371800354, 1371800345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88067865371704 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:25:16.863172
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/25/image_12072025_06_25_44_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/06/25/image_12072025_06_25_33_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/06/25/image_12072025_06_25_24_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/24/image_12072025_06_25_03_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/06/24/image_12072025_06_24_54_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_33_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/25/image_12072025_06_25_44_10616.jpg', '/home/nano/Desktop/images/12072025/06/25/image_12072025_06_25_33_9603.jpg', '/home/nano/Desktop/images/12072025/06/25/image_12072025_06_25_24_9601.jpg', '/home/nano/Desktop/images/12072025/06/24/image_12072025_06_25_03_9626.jpg', '/home/nano/Desktop/images/12072025/06/24/image_12072025_06_24_54_10612.jpg', '/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_33_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/25/image_12072025_06_25_44_10616.jpg
/home/nano/Desktop/images/12072025/06/25/image_12072025_06_25_33_9603.jpg
/home/nano/Desktop/images/12072025/06/25/image_12072025_06_25_24_9601.jpg
/home/nano/Desktop/images/12072025/06/24/image_12072025_06_25_03_9626.jpg
/home/nano/Desktop/images/12072025/06/24/image_12072025_06_24_54_10612.jpg
/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_33_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800368","1371800373","1371800376","1371800379","1371800381","1371800369"],"photo_ids_order":["1371800368","1371800369","1371800373","1371800376","1371800379","1371800381"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54453adc0878043164803e795455b33c.jpg","text":"TemporaryFile(/tmp/multipartBody1133361346370465260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294378022,"filename":"image_12072025_06_25_44_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e90f2fa7e0e73130b1508b587337544.jpg","text":"TemporaryFile(/tmp/multipartBody1075680426552961912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294378022,"filename":"image_12072025_06_25_24_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77eb9732a839f8c85ef2f4196b90257a.jpg","text":"TemporaryFile(/tmp/multipartBody4092674405467000429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294378022,"filename":"image_12072025_06_25_03_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef71499aab4d8da2b0c122eee4a9295f.jpg","text":"TemporaryFile(/tmp/multipartBody92912795440167241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294378022,"filename":"image_12072025_06_24_54_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8761109fcfceffee1bbf6f9c05ecdd4.jpg","text":"TemporaryFile(/tmp/multipartBody4311847382792934627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294378022,"filename":"image_12072025_05_44_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/514342e68382f9e9fc6442fd13f3b0b6.jpg","text":"TemporaryFile(/tmp/multipartBody8152692770372494356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294378022,"filename":"image_12072025_06_25_33_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800373","file1":"1371800369","file0":"1371800368","file4":"1371800379","file5":"1371800381","file3":"1371800376"},"map_files_photo_id_array":[{"photo_id":"1371800381","filename":"file5"},{"photo_id":"1371800373","filename":"file2"},{"photo_id":"1371800379","filename":"file4"},{"photo_id":"1371800369","filename":"file1"},{"photo_id":"1371800368","filename":"file0"},{"photo_id":"1371800376","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800368":["hashtag1","hashtag2"]},{"1371800373":["hashtag1","hashtag2"]},{"1371800376":["hashtag1","hashtag2"]},{"1371800379":["hashtag1","hashtag2"]},{"1371800381":["hashtag1","hashtag2"]},{"1371800369":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800368, 1371800373, 1371800376, 1371800379, 1371800381, 1371800369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89391851425171 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:26:02.264424
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_23_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_14_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/05/43/image_12072025_05_44_03_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_54_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_33_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_23_9635.jpg', '/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_14_10666.jpg', '/home/nano/Desktop/images/12072025/05/43/image_12072025_05_44_03_9649.jpg', '/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_54_9637.jpg', '/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_44_10648.jpg', '/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_33_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_23_9635.jpg
/home/nano/Desktop/images/12072025/05/44/image_12072025_05_44_14_10666.jpg
/home/nano/Desktop/images/12072025/05/43/image_12072025_05_44_03_9649.jpg
/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_54_9637.jpg
/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_44_10648.jpg
/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_33_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800408","1371800413","1371800404","1371800394","1371800399","1371800411"],"photo_ids_order":["1371800394","1371800399","1371800404","1371800408","1371800411","1371800413"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf6a6dca2b8f55ef8669620d02906584.jpg","text":"TemporaryFile(/tmp/multipartBody4351576681755012845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294423584,"filename":"image_12072025_05_43_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3535d76ddefa312a3e53647eaa4ec5c.jpg","text":"TemporaryFile(/tmp/multipartBody8923841733064640071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294423584,"filename":"image_12072025_05_43_33_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a79e08a1c7df5b629610f008ae7617fa.jpg","text":"TemporaryFile(/tmp/multipartBody1277877818001362380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294423584,"filename":"image_12072025_05_44_03_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb432c74054e2c0abbd9bd86c7b31ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7125023990395930704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294423584,"filename":"image_12072025_05_44_23_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85ece0ac8ade2a40200c2271c2a5d2e1.jpg","text":"TemporaryFile(/tmp/multipartBody1770082110527564751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294423584,"filename":"image_12072025_05_44_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d050f2d463182335065a316d6c5ad97a.jpg","text":"TemporaryFile(/tmp/multipartBody6699402965249043017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294423584,"filename":"image_12072025_05_43_44_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800404","file1":"1371800399","file0":"1371800394","file4":"1371800411","file5":"1371800413","file3":"1371800408"},"map_files_photo_id_array":[{"photo_id":"1371800413","filename":"file5"},{"photo_id":"1371800404","filename":"file2"},{"photo_id":"1371800411","filename":"file4"},{"photo_id":"1371800399","filename":"file1"},{"photo_id":"1371800394","filename":"file0"},{"photo_id":"1371800408","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800408":["hashtag1","hashtag2"]},{"1371800413":["hashtag1","hashtag2"]},{"1371800404":["hashtag1","hashtag2"]},{"1371800394":["hashtag1","hashtag2"]},{"1371800399":["hashtag1","hashtag2"]},{"1371800411":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800408, 1371800413, 1371800404, 1371800394, 1371800399, 1371800411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.059842348098755 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:26:46.961219
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_43_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_34_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_23_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_14_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/06/25/image_12072025_06_26_04_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/06/25/image_12072025_06_25_53_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_43_9601.jpg', '/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_34_10612.jpg', '/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_23_9621.jpg', '/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_14_9635.jpg', '/home/nano/Desktop/images/12072025/06/25/image_12072025_06_26_04_10618.jpg', '/home/nano/Desktop/images/12072025/06/25/image_12072025_06_25_53_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_43_9601.jpg
/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_34_10612.jpg
/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_23_9621.jpg
/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_14_9635.jpg
/home/nano/Desktop/images/12072025/06/25/image_12072025_06_26_04_10618.jpg
/home/nano/Desktop/images/12072025/06/25/image_12072025_06_25_53_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800425","1371800434","1371800436","1371800432","1371800441","1371800429"],"photo_ids_order":["1371800425","1371800429","1371800432","1371800434","1371800436","1371800441"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f50c3325710c8c88031fff49f5e5736f.jpg","text":"TemporaryFile(/tmp/multipartBody8575239586989891850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294468040,"filename":"image_12072025_06_26_43_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7a79517fc1cee078ef5b674b6416cda.jpg","text":"TemporaryFile(/tmp/multipartBody3487085729225591969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294468040,"filename":"image_12072025_06_26_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/456e514d4aa8b1939d81a9a392a8e06f.jpg","text":"TemporaryFile(/tmp/multipartBody2197430854422110784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294468040,"filename":"image_12072025_06_26_04_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/686f1852ad424d9431061b64be46ade1.jpg","text":"TemporaryFile(/tmp/multipartBody7014750056191073836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294468040,"filename":"image_12072025_06_26_23_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bf0e90d6d1e2adaf383fb77817089f6.jpg","text":"TemporaryFile(/tmp/multipartBody6957869889919563736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294468040,"filename":"image_12072025_06_25_53_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ca5e01be883e3188dac2223421d7450.jpg","text":"TemporaryFile(/tmp/multipartBody1619425009514744859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294468040,"filename":"image_12072025_06_26_34_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800432","file1":"1371800429","file0":"1371800425","file4":"1371800436","file5":"1371800441","file3":"1371800434"},"map_files_photo_id_array":[{"photo_id":"1371800441","filename":"file5"},{"photo_id":"1371800432","filename":"file2"},{"photo_id":"1371800436","filename":"file4"},{"photo_id":"1371800429","filename":"file1"},{"photo_id":"1371800425","filename":"file0"},{"photo_id":"1371800434","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800425":["hashtag1","hashtag2"]},{"1371800434":["hashtag1","hashtag2"]},{"1371800436":["hashtag1","hashtag2"]},{"1371800432":["hashtag1","hashtag2"]},{"1371800441":["hashtag1","hashtag2"]},{"1371800429":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800425, 1371800434, 1371800436, 1371800432, 1371800441, 1371800429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32469630241394 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:27:32.073706
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/27/image_12072025_06_27_43_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/06/27/image_12072025_06_27_34_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/06/27/image_12072025_06_27_13_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/06/26/image_12072025_06_27_04_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_53_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_24_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/27/image_12072025_06_27_43_9604.jpg', '/home/nano/Desktop/images/12072025/06/27/image_12072025_06_27_34_9602.jpg', '/home/nano/Desktop/images/12072025/06/27/image_12072025_06_27_13_9625.jpg', '/home/nano/Desktop/images/12072025/06/26/image_12072025_06_27_04_10619.jpg', '/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_53_9602.jpg', '/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_24_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/27/image_12072025_06_27_43_9604.jpg
/home/nano/Desktop/images/12072025/06/27/image_12072025_06_27_34_9602.jpg
/home/nano/Desktop/images/12072025/06/27/image_12072025_06_27_13_9625.jpg
/home/nano/Desktop/images/12072025/06/26/image_12072025_06_27_04_10619.jpg
/home/nano/Desktop/images/12072025/06/26/image_12072025_06_26_53_9602.jpg
/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_24_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800461","1371800464","1371800458","1371800460","1371800471","1371800468"],"photo_ids_order":["1371800458","1371800460","1371800461","1371800464","1371800468","1371800471"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f5f8961c4e6dd1a47cc7769d250bda9.jpg","text":"TemporaryFile(/tmp/multipartBody5084633858574902056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294513254,"filename":"image_12072025_06_27_13_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d5160e9c8aa6855047ced86601e1f7c.jpg","text":"TemporaryFile(/tmp/multipartBody3941550343844703559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294513254,"filename":"image_12072025_06_27_04_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3078420575f40f935a9f5ce8776617af.jpg","text":"TemporaryFile(/tmp/multipartBody3326866151331764704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294513254,"filename":"image_12072025_06_27_43_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32f19bf09659b52e80b4de9835ae9e86.jpg","text":"TemporaryFile(/tmp/multipartBody586532968445893571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294513254,"filename":"image_12072025_06_27_34_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f39076bdea3cc70f82dbbb2baa7d282.jpg","text":"TemporaryFile(/tmp/multipartBody1589136426352094894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294513254,"filename":"image_12072025_05_43_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9fd846c6c9ef2502b18d341c3a7a5482.jpg","text":"TemporaryFile(/tmp/multipartBody434244524235558351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294513254,"filename":"image_12072025_06_26_53_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800461","file1":"1371800460","file0":"1371800458","file4":"1371800468","file5":"1371800471","file3":"1371800464"},"map_files_photo_id_array":[{"photo_id":"1371800471","filename":"file5"},{"photo_id":"1371800461","filename":"file2"},{"photo_id":"1371800468","filename":"file4"},{"photo_id":"1371800460","filename":"file1"},{"photo_id":"1371800458","filename":"file0"},{"photo_id":"1371800464","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800461":["hashtag1","hashtag2"]},{"1371800464":["hashtag1","hashtag2"]},{"1371800458":["hashtag1","hashtag2"]},{"1371800460":["hashtag1","hashtag2"]},{"1371800471":["hashtag1","hashtag2"]},{"1371800468":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800461, 1371800464, 1371800458, 1371800460, 1371800471, 1371800468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21708273887634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:28:17.151301
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_44_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_33_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_24_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_14_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/06/27/image_12072025_06_28_03_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/27/image_12072025_06_27_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_44_10611.jpg', '/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_33_9603.jpg', '/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_24_9603.jpg', '/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_14_10627.jpg', '/home/nano/Desktop/images/12072025/06/27/image_12072025_06_28_03_9601.jpg', '/home/nano/Desktop/images/12072025/06/27/image_12072025_06_27_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_44_10611.jpg
/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_33_9603.jpg
/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_24_9603.jpg
/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_14_10627.jpg
/home/nano/Desktop/images/12072025/06/27/image_12072025_06_28_03_9601.jpg
/home/nano/Desktop/images/12072025/06/27/image_12072025_06_27_54_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800482","1371800485","1371800487","1371800489","1371800491","1371800494"],"photo_ids_order":["1371800482","1371800485","1371800487","1371800489","1371800491","1371800494"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b67ad3b89baa0ad9ad07bd830ab104ea.jpg","text":"TemporaryFile(/tmp/multipartBody1775980689034822952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294558238,"filename":"image_12072025_06_28_44_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d18773dedeb8f20aa8a971faa1fb6c1b.jpg","text":"TemporaryFile(/tmp/multipartBody4641131449315218716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294558238,"filename":"image_12072025_06_28_33_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dee3693bfc3cb51f8b50e84192689ef3.jpg","text":"TemporaryFile(/tmp/multipartBody6565962803887984663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294558238,"filename":"image_12072025_06_28_24_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ead5216f5683c828f992641b939eebd3.jpg","text":"TemporaryFile(/tmp/multipartBody7543385145544076217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294558238,"filename":"image_12072025_06_28_14_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8441eb627050a29ea24c793b9d2462c8.jpg","text":"TemporaryFile(/tmp/multipartBody8017873167110721356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294558238,"filename":"image_12072025_06_28_03_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6283357cf957466f028e79d4f0ee45e.jpg","text":"TemporaryFile(/tmp/multipartBody2414936366732768743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294558238,"filename":"image_12072025_06_27_54_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800487","file1":"1371800485","file0":"1371800482","file4":"1371800491","file5":"1371800494","file3":"1371800489"},"map_files_photo_id_array":[{"photo_id":"1371800494","filename":"file5"},{"photo_id":"1371800487","filename":"file2"},{"photo_id":"1371800491","filename":"file4"},{"photo_id":"1371800485","filename":"file1"},{"photo_id":"1371800482","filename":"file0"},{"photo_id":"1371800489","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800482":["hashtag1","hashtag2"]},{"1371800485":["hashtag1","hashtag2"]},{"1371800487":["hashtag1","hashtag2"]},{"1371800489":["hashtag1","hashtag2"]},{"1371800491":["hashtag1","hashtag2"]},{"1371800494":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800482, 1371800485, 1371800487, 1371800489, 1371800491, 1371800494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.817147731781006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:29:03.301713
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_14_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/05/42/image_12072025_05_43_03_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/05/42/image_12072025_05_42_44_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/05/42/image_12072025_05_42_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/05/42/image_12072025_05_42_24_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/05/42/image_12072025_05_42_14_10683.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_14_10666.jpg', '/home/nano/Desktop/images/12072025/05/42/image_12072025_05_43_03_9652.jpg', '/home/nano/Desktop/images/12072025/05/42/image_12072025_05_42_44_10660.jpg', '/home/nano/Desktop/images/12072025/05/42/image_12072025_05_42_33_9640.jpg', '/home/nano/Desktop/images/12072025/05/42/image_12072025_05_42_24_9636.jpg', '/home/nano/Desktop/images/12072025/05/42/image_12072025_05_42_14_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/43/image_12072025_05_43_14_10666.jpg
/home/nano/Desktop/images/12072025/05/42/image_12072025_05_43_03_9652.jpg
/home/nano/Desktop/images/12072025/05/42/image_12072025_05_42_44_10660.jpg
/home/nano/Desktop/images/12072025/05/42/image_12072025_05_42_33_9640.jpg
/home/nano/Desktop/images/12072025/05/42/image_12072025_05_42_24_9636.jpg
/home/nano/Desktop/images/12072025/05/42/image_12072025_05_42_14_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800512","1371800523","1371800526","1371800528","1371800516","1371800519"],"photo_ids_order":["1371800512","1371800516","1371800519","1371800523","1371800526","1371800528"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1415ba3a46737489b2fcfa41ec84ec9.jpg","text":"TemporaryFile(/tmp/multipartBody556367390366281803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294604869,"filename":"image_12072025_05_43_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73f85540538eeb8e8d90fb940428ee91.jpg","text":"TemporaryFile(/tmp/multipartBody6821330795836934771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294604869,"filename":"image_12072025_05_42_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76a483c795d575257cd3ffb05b925d28.jpg","text":"TemporaryFile(/tmp/multipartBody2598554402138991767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294604869,"filename":"image_12072025_05_42_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0391d2d926b42e025664929e73c11ca3.jpg","text":"TemporaryFile(/tmp/multipartBody4121243181997971381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294604869,"filename":"image_12072025_05_42_14_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afdbb74969d30a7f9e7652e1e8fdb7ab.jpg","text":"TemporaryFile(/tmp/multipartBody7508945906681362868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294604869,"filename":"image_12072025_05_43_03_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/086f6b7d7ee8011b94def3173ad3d2f7.jpg","text":"TemporaryFile(/tmp/multipartBody5240278067062107091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294604869,"filename":"image_12072025_05_42_44_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800519","file1":"1371800516","file0":"1371800512","file4":"1371800526","file5":"1371800528","file3":"1371800523"},"map_files_photo_id_array":[{"photo_id":"1371800528","filename":"file5"},{"photo_id":"1371800519","filename":"file2"},{"photo_id":"1371800526","filename":"file4"},{"photo_id":"1371800516","filename":"file1"},{"photo_id":"1371800512","filename":"file0"},{"photo_id":"1371800523","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800512":["hashtag1","hashtag2"]},{"1371800523":["hashtag1","hashtag2"]},{"1371800526":["hashtag1","hashtag2"]},{"1371800528":["hashtag1","hashtag2"]},{"1371800516":["hashtag1","hashtag2"]},{"1371800519":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800512, 1371800523, 1371800526, 1371800528, 1371800516, 1371800519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25781583786011 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:29:47.245166
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/29/image_12072025_06_29_44_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/29/image_12072025_06_29_34_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/06/29/image_12072025_06_29_23_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_53_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_54_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_44_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/29/image_12072025_06_29_44_9601.jpg', '/home/nano/Desktop/images/12072025/06/29/image_12072025_06_29_34_10627.jpg', '/home/nano/Desktop/images/12072025/06/29/image_12072025_06_29_23_9621.jpg', '/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_53_9602.jpg', '/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_54_9643.jpg', '/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_44_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/29/image_12072025_06_29_44_9601.jpg
/home/nano/Desktop/images/12072025/06/29/image_12072025_06_29_34_10627.jpg
/home/nano/Desktop/images/12072025/06/29/image_12072025_06_29_23_9621.jpg
/home/nano/Desktop/images/12072025/06/28/image_12072025_06_28_53_9602.jpg
/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_54_9643.jpg
/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_44_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800569","1371800568","1371800577","1371800562","1371800573","1371800555"],"photo_ids_order":["1371800555","1371800562","1371800568","1371800569","1371800573","1371800577"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24d8fdb234229f2d73f375967b68c9d7.jpg","text":"TemporaryFile(/tmp/multipartBody3446046465346468288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294648541,"filename":"image_12072025_06_28_53_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29d02f02bb57aab3292472bf28494b14.jpg","text":"TemporaryFile(/tmp/multipartBody8225589275031178645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294648541,"filename":"image_12072025_06_29_23_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06e58f447b7a4f41a310876f49063a6c.jpg","text":"TemporaryFile(/tmp/multipartBody4267205708280962133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294648541,"filename":"image_12072025_05_41_44_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b725109bc8688c6b2149f92eeadbdd1.jpg","text":"TemporaryFile(/tmp/multipartBody4723091207612246712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294648541,"filename":"image_12072025_06_29_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a8cb48eac88858a956d595ca5db9bfe.jpg","text":"TemporaryFile(/tmp/multipartBody4492250698628838475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294648541,"filename":"image_12072025_05_41_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a423c49664d7b7d8b73922489f9a4e41.jpg","text":"TemporaryFile(/tmp/multipartBody6413279210781237074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294648541,"filename":"image_12072025_06_29_44_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800568","file1":"1371800562","file0":"1371800555","file4":"1371800573","file5":"1371800577","file3":"1371800569"},"map_files_photo_id_array":[{"photo_id":"1371800577","filename":"file5"},{"photo_id":"1371800568","filename":"file2"},{"photo_id":"1371800573","filename":"file4"},{"photo_id":"1371800562","filename":"file1"},{"photo_id":"1371800555","filename":"file0"},{"photo_id":"1371800569","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800569":["hashtag1","hashtag2"]},{"1371800568":["hashtag1","hashtag2"]},{"1371800577":["hashtag1","hashtag2"]},{"1371800562":["hashtag1","hashtag2"]},{"1371800573":["hashtag1","hashtag2"]},{"1371800555":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800569, 1371800568, 1371800577, 1371800562, 1371800573, 1371800555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.28215456008911 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:30:32.409720
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/30/image_12072025_06_30_43_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/06/30/image_12072025_06_30_24_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/06/30/image_12072025_06_30_13_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/06/29/image_12072025_06_29_53_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_33_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_24_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/30/image_12072025_06_30_43_9600.jpg', '/home/nano/Desktop/images/12072025/06/30/image_12072025_06_30_24_10611.jpg', '/home/nano/Desktop/images/12072025/06/30/image_12072025_06_30_13_9663.jpg', '/home/nano/Desktop/images/12072025/06/29/image_12072025_06_29_53_9602.jpg', '/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_33_9646.jpg', '/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_24_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/30/image_12072025_06_30_43_9600.jpg
/home/nano/Desktop/images/12072025/06/30/image_12072025_06_30_24_10611.jpg
/home/nano/Desktop/images/12072025/06/30/image_12072025_06_30_13_9663.jpg
/home/nano/Desktop/images/12072025/06/29/image_12072025_06_29_53_9602.jpg
/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_33_9646.jpg
/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_24_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800595","1371800589","1371800601","1371800588","1371800590","1371800603"],"photo_ids_order":["1371800588","1371800589","1371800590","1371800595","1371800601","1371800603"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8300bfbf3e871ce73b767f3f2c8dec48.jpg","text":"TemporaryFile(/tmp/multipartBody8889341597603986604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294693729,"filename":"image_12072025_06_29_53_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8dbea048990ee3332d4a1ae584259f1d.jpg","text":"TemporaryFile(/tmp/multipartBody2093500748848864406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294693729,"filename":"image_12072025_06_30_24_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c73db71553a59fac1abe5533d16838b.jpg","text":"TemporaryFile(/tmp/multipartBody4303539220943358718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294693729,"filename":"image_12072025_05_41_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab21184298724b05ada492aa7e19d6fc.jpg","text":"TemporaryFile(/tmp/multipartBody809439164786148354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294693729,"filename":"image_12072025_06_30_43_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35462c7b1bb969acce35eeb48e296ea2.jpg","text":"TemporaryFile(/tmp/multipartBody2474390930648371001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294693729,"filename":"image_12072025_06_30_13_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a46a079843b561f16c09b7b14af6be06.jpg","text":"TemporaryFile(/tmp/multipartBody3562951083681022601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294693729,"filename":"image_12072025_05_41_24_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800590","file1":"1371800589","file0":"1371800588","file4":"1371800601","file5":"1371800603","file3":"1371800595"},"map_files_photo_id_array":[{"photo_id":"1371800603","filename":"file5"},{"photo_id":"1371800590","filename":"file2"},{"photo_id":"1371800601","filename":"file4"},{"photo_id":"1371800589","filename":"file1"},{"photo_id":"1371800588","filename":"file0"},{"photo_id":"1371800595","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800595":["hashtag1","hashtag2"]},{"1371800589":["hashtag1","hashtag2"]},{"1371800601":["hashtag1","hashtag2"]},{"1371800588":["hashtag1","hashtag2"]},{"1371800590":["hashtag1","hashtag2"]},{"1371800603":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800595, 1371800589, 1371800601, 1371800588, 1371800590, 1371800603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30174493789673 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:31:17.441770
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_33_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_24_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_13_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/06/30/image_12072025_06_31_03_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/06/30/image_12072025_06_30_54_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_13_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_33_9602.jpg', '/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_24_10613.jpg', '/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_13_9619.jpg', '/home/nano/Desktop/images/12072025/06/30/image_12072025_06_31_03_9614.jpg', '/home/nano/Desktop/images/12072025/06/30/image_12072025_06_30_54_10612.jpg', '/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_13_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_33_9602.jpg
/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_24_10613.jpg
/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_13_9619.jpg
/home/nano/Desktop/images/12072025/06/30/image_12072025_06_31_03_9614.jpg
/home/nano/Desktop/images/12072025/06/30/image_12072025_06_30_54_10612.jpg
/home/nano/Desktop/images/12072025/05/41/image_12072025_05_41_13_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800617","1371800626","1371800620","1371800628","1371800622","1371800625"],"photo_ids_order":["1371800617","1371800620","1371800622","1371800625","1371800626","1371800628"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/051bd2c53f2d80538cc44ca2b55a730b.jpg","text":"TemporaryFile(/tmp/multipartBody9045085839815919926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294738661,"filename":"image_12072025_06_31_33_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba25f0eb1e28e2ef5210ec130e603ac4.jpg","text":"TemporaryFile(/tmp/multipartBody4324571853016895063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294738661,"filename":"image_12072025_06_30_54_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5e1f97214e70150fcec8d3fb2d81821.jpg","text":"TemporaryFile(/tmp/multipartBody2531649327825177976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294738661,"filename":"image_12072025_06_31_24_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad6af52f90e863cc581504812a2d2891.jpg","text":"TemporaryFile(/tmp/multipartBody3635268456918173462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294738661,"filename":"image_12072025_05_41_13_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4420ee75a664076d9e096f2a86afe583.jpg","text":"TemporaryFile(/tmp/multipartBody2235187435861450506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294738661,"filename":"image_12072025_06_31_13_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97e74535e6ec2125684612c18f299a5e.jpg","text":"TemporaryFile(/tmp/multipartBody151151349092843278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294738661,"filename":"image_12072025_06_31_03_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800622","file1":"1371800620","file0":"1371800617","file4":"1371800626","file5":"1371800628","file3":"1371800625"},"map_files_photo_id_array":[{"photo_id":"1371800628","filename":"file5"},{"photo_id":"1371800622","filename":"file2"},{"photo_id":"1371800626","filename":"file4"},{"photo_id":"1371800620","filename":"file1"},{"photo_id":"1371800617","filename":"file0"},{"photo_id":"1371800625","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800617":["hashtag1","hashtag2"]},{"1371800626":["hashtag1","hashtag2"]},{"1371800620":["hashtag1","hashtag2"]},{"1371800628":["hashtag1","hashtag2"]},{"1371800622":["hashtag1","hashtag2"]},{"1371800625":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800617, 1371800626, 1371800620, 1371800628, 1371800622, 1371800625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.099536180496216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:32:03.049896
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/05/40/image_12072025_05_41_03_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_54_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/05/40/image_12072025_05_41_03_9651.jpg', '/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_54_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/05/40/image_12072025_05_41_03_9651.jpg
/home/nano/Desktop/images/12072025/05/40/image_12072025_05_40_54_10657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800650","1371800646"],"photo_ids_order":["1371800646","1371800650"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b51ad2825311f82996e3552104e063a0.jpg","text":"TemporaryFile(/tmp/multipartBody536701286381953861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294783718,"filename":"image_12072025_05_40_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f8cb974433eb831adab9c54b05d829f.jpg","text":"TemporaryFile(/tmp/multipartBody8620511808250285870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294783718,"filename":"image_12072025_05_41_03_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371800650","file0":"1371800646"},"map_files_photo_id_array":[{"photo_id":"1371800650","filename":"file1"},{"photo_id":"1371800646","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800650":["hashtag1","hashtag2"]},{"1371800646":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800650, 1371800646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.504813432693481 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:32:32.644246
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_34_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_23_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/06/31/image_12072025_06_32_03_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_34_10612.jpg', '/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_23_9602.jpg', '/home/nano/Desktop/images/12072025/06/31/image_12072025_06_32_03_9609.jpg', '/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_34_10612.jpg
/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_23_9602.jpg
/home/nano/Desktop/images/12072025/06/31/image_12072025_06_32_03_9609.jpg
/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_54_9607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1066350936889648 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:32:47.569445
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_34_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_23_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/06/31/image_12072025_06_32_03_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_34_10612.jpg', '/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_23_9602.jpg', '/home/nano/Desktop/images/12072025/06/31/image_12072025_06_32_03_9609.jpg', '/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_34_10612.jpg
/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_23_9602.jpg
/home/nano/Desktop/images/12072025/06/31/image_12072025_06_32_03_9609.jpg
/home/nano/Desktop/images/12072025/06/31/image_12072025_06_31_54_9607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800675","1371800669","1371800678","1371800672"],"photo_ids_order":["1371800669","1371800672","1371800675","1371800678"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/610a16ac72e3e000e3a4d3268b35d6bc.jpg","text":"TemporaryFile(/tmp/multipartBody599532197861979159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294828623,"filename":"image_12072025_06_32_03_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1d900b8d84a8dae33c9389649e8d908.jpg","text":"TemporaryFile(/tmp/multipartBody8560151307009308821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294828623,"filename":"image_12072025_06_32_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de6c44cd338627849de1c5ff11fe12de.jpg","text":"TemporaryFile(/tmp/multipartBody7501782559342176837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294828623,"filename":"image_12072025_06_31_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/760badfa1c919e9c04f511fde66ceb9f.jpg","text":"TemporaryFile(/tmp/multipartBody4167154050009713344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294828623,"filename":"image_12072025_06_32_23_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800675","file1":"1371800672","file0":"1371800669","file3":"1371800678"},"map_files_photo_id_array":[{"photo_id":"1371800675","filename":"file2"},{"photo_id":"1371800672","filename":"file1"},{"photo_id":"1371800669","filename":"file0"},{"photo_id":"1371800678","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800675":["hashtag1","hashtag2"]},{"1371800669":["hashtag1","hashtag2"]},{"1371800678":["hashtag1","hashtag2"]},{"1371800672":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800675, 1371800669, 1371800678, 1371800672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.02879309654236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:33:17.662954
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/33/image_12072025_06_33_34_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/06/33/image_12072025_06_33_24_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/06/33/image_12072025_06_33_13_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/06/32/image_12072025_06_33_04_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_53_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/33/image_12072025_06_33_34_9607.jpg', '/home/nano/Desktop/images/12072025/06/33/image_12072025_06_33_24_10614.jpg', '/home/nano/Desktop/images/12072025/06/33/image_12072025_06_33_13_9618.jpg', '/home/nano/Desktop/images/12072025/06/32/image_12072025_06_33_04_10617.jpg', '/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_53_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/33/image_12072025_06_33_34_9607.jpg
/home/nano/Desktop/images/12072025/06/33/image_12072025_06_33_24_10614.jpg
/home/nano/Desktop/images/12072025/06/33/image_12072025_06_33_13_9618.jpg
/home/nano/Desktop/images/12072025/06/32/image_12072025_06_33_04_10617.jpg
/home/nano/Desktop/images/12072025/06/32/image_12072025_06_32_53_9603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800697","1371800694","1371800696","1371800690","1371800692"],"photo_ids_order":["1371800690","1371800692","1371800694","1371800696","1371800697"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40a71a44e612a2b9edd59c2cf1b53b8b.jpg","text":"TemporaryFile(/tmp/multipartBody6352268160256984412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294858623,"filename":"image_12072025_06_32_53_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/867836f5167ce14f8f4e8012323480fd.jpg","text":"TemporaryFile(/tmp/multipartBody2873300822213079370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294858623,"filename":"image_12072025_06_33_13_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75067ca71f5fa655f7586a65e512a9e3.jpg","text":"TemporaryFile(/tmp/multipartBody1115616571663207953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294858623,"filename":"image_12072025_06_33_04_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da605d27002e830177573ebd868b6e0f.jpg","text":"TemporaryFile(/tmp/multipartBody2569249694675846141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294858623,"filename":"image_12072025_06_33_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ebe57d6a2c2f29e2f518ceeda0bfb88.jpg","text":"TemporaryFile(/tmp/multipartBody828989118710257747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294858623,"filename":"image_12072025_06_33_24_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800694","file1":"1371800692","file0":"1371800690","file4":"1371800697","file3":"1371800696"},"map_files_photo_id_array":[{"photo_id":"1371800694","filename":"file2"},{"photo_id":"1371800697","filename":"file4"},{"photo_id":"1371800692","filename":"file1"},{"photo_id":"1371800690","filename":"file0"},{"photo_id":"1371800696","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800697":["hashtag1","hashtag2"]},{"1371800694":["hashtag1","hashtag2"]},{"1371800696":["hashtag1","hashtag2"]},{"1371800690":["hashtag1","hashtag2"]},{"1371800692":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800697, 1371800694, 1371800696, 1371800690, 1371800692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.53450345993042 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:33:47.659781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_54_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_43_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_34_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_24_10670.jpg', 2), ('/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_13_9673.jpg', 2), ('/home/nano/Desktop/images/10072025/21/01/image_10072025_21_02_04_9663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_54_10656.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_43_9655.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_34_9649.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_24_10670.jpg', '/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_13_9673.jpg', '/home/nano/Desktop/images/10072025/21/01/image_10072025_21_02_04_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_54_10656.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_43_9655.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_34_9649.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_24_10670.jpg
/home/nano/Desktop/images/10072025/21/02/image_10072025_21_02_13_9673.jpg
/home/nano/Desktop/images/10072025/21/01/image_10072025_21_02_04_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800716","1371800704","1371800707","1371800712","1371800723","1371800720"],"photo_ids_order":["1371800704","1371800707","1371800712","1371800716","1371800720","1371800723"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2238340ae277d0e3e162b773df0b20b6.jpg","text":"TemporaryFile(/tmp/multipartBody8768363676740156040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294890262,"filename":"image_10072025_21_02_24_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4af4a4ac31cf7a7279e0adc19d784de.jpg","text":"TemporaryFile(/tmp/multipartBody4446600546365356338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294890262,"filename":"image_10072025_21_02_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76a371907424ad3871b6a88c562e97ca.jpg","text":"TemporaryFile(/tmp/multipartBody2767828626768074841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294890262,"filename":"image_10072025_21_02_43_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af96268b72ff90e02f5a16470972c7eb.jpg","text":"TemporaryFile(/tmp/multipartBody6129927076785618420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294890262,"filename":"image_10072025_21_02_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad1ab82cb1c14291142bb1463e6311c7.jpg","text":"TemporaryFile(/tmp/multipartBody1684638427795058855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294890262,"filename":"image_10072025_21_02_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f77b6970228efe4be1c204805ad86345.jpg","text":"TemporaryFile(/tmp/multipartBody4186167125948580168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294890262,"filename":"image_10072025_21_02_13_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800712","file1":"1371800707","file0":"1371800704","file4":"1371800720","file5":"1371800723","file3":"1371800716"},"map_files_photo_id_array":[{"photo_id":"1371800723","filename":"file5"},{"photo_id":"1371800712","filename":"file2"},{"photo_id":"1371800720","filename":"file4"},{"photo_id":"1371800707","filename":"file1"},{"photo_id":"1371800704","filename":"file0"},{"photo_id":"1371800716","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371800716":["hashtag1","hashtag2"]},{"1371800704":["hashtag1","hashtag2"]},{"1371800707":["hashtag1","hashtag2"]},{"1371800712":["hashtag1","hashtag2"]},{"1371800723":["hashtag1","hashtag2"]},{"1371800720":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371800716, 1371800704, 1371800707, 1371800712, 1371800723, 1371800720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06608247756958 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:34:31.821157
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/34/image_12072025_06_34_44_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/06/34/image_12072025_06_34_33_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/06/34/image_12072025_06_34_24_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/06/33/image_12072025_06_33_43_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/34/image_12072025_06_34_44_10629.jpg', '/home/nano/Desktop/images/12072025/06/34/image_12072025_06_34_33_9603.jpg', '/home/nano/Desktop/images/12072025/06/34/image_12072025_06_34_24_10611.jpg', '/home/nano/Desktop/images/12072025/06/33/image_12072025_06_33_43_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/34/image_12072025_06_34_44_10629.jpg
/home/nano/Desktop/images/12072025/06/34/image_12072025_06_34_33_9603.jpg
/home/nano/Desktop/images/12072025/06/34/image_12072025_06_34_24_10611.jpg
/home/nano/Desktop/images/12072025/06/33/image_12072025_06_33_43_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800740","1371800737","1371800741","1371800744"],"photo_ids_order":["1371800737","1371800740","1371800741","1371800744"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ded755aee77b6f0e05851b0aa57b234.jpg","text":"TemporaryFile(/tmp/multipartBody7555595002543320724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294932997,"filename":"image_12072025_06_34_33_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cefd4aaf4bd0055fe60e7b8e0487a1b.jpg","text":"TemporaryFile(/tmp/multipartBody3675529784068611517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294932997,"filename":"image_12072025_06_34_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee52c8adc51d0d5656510eb92672b24b.jpg","text":"TemporaryFile(/tmp/multipartBody7754721150833739988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294932997,"filename":"image_12072025_06_34_24_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4c9aa0c619032b45dbfe116a526c47a.jpg","text":"TemporaryFile(/tmp/multipartBody6069538501244487191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294932997,"filename":"image_12072025_06_33_43_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800741","file1":"1371800740","file0":"1371800737","file3":"1371800744"},"map_files_photo_id_array":[{"photo_id":"1371800741","filename":"file2"},{"photo_id":"1371800740","filename":"file1"},{"photo_id":"1371800737","filename":"file0"},{"photo_id":"1371800744","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800740":["hashtag1","hashtag2"]},{"1371800737":["hashtag1","hashtag2"]},{"1371800741":["hashtag1","hashtag2"]},{"1371800744":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800740, 1371800737, 1371800741, 1371800744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.420902252197266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:35:02.597828
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_54_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_43_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_34_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_13_9687.jpg', 2), ('/home/nano/Desktop/images/10072025/21/00/image_10072025_21_01_04_10689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_54_10656.jpg', '/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_43_9644.jpg', '/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_34_10657.jpg', '/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_23_9645.jpg', '/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_13_9687.jpg', '/home/nano/Desktop/images/10072025/21/00/image_10072025_21_01_04_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_54_10656.jpg
/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_43_9644.jpg
/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_34_10657.jpg
/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_23_9645.jpg
/home/nano/Desktop/images/10072025/21/01/image_10072025_21_01_13_9687.jpg
/home/nano/Desktop/images/10072025/21/00/image_10072025_21_01_04_10689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800764","1371800778","1371800780","1371800774","1371800777","1371800770"],"photo_ids_order":["1371800764","1371800770","1371800774","1371800777","1371800778","1371800780"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f657cb955cc528426a6f185628c95d6.jpg","text":"TemporaryFile(/tmp/multipartBody2957527368517432911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294965454,"filename":"image_10072025_21_01_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/620d36fa6721fbbd79d941f58d60b855.jpg","text":"TemporaryFile(/tmp/multipartBody6444441394423902805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294965454,"filename":"image_10072025_21_01_13_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42e24b57350fbda31edcf6f4506eb1ba.jpg","text":"TemporaryFile(/tmp/multipartBody4864202972824627048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294965454,"filename":"image_10072025_21_01_04_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9dbf14b9bf5ff86815e7ce11e9529ea.jpg","text":"TemporaryFile(/tmp/multipartBody2790408759760668367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294965454,"filename":"image_10072025_21_01_34_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bbabb75c311c690bddebf0d43180368a.jpg","text":"TemporaryFile(/tmp/multipartBody355019045457726958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294965454,"filename":"image_10072025_21_01_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b83669c236f523a400dd9e70013dfa2f.jpg","text":"TemporaryFile(/tmp/multipartBody847796519297399061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752294965454,"filename":"image_10072025_21_01_43_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800774","file1":"1371800770","file0":"1371800764","file4":"1371800778","file5":"1371800780","file3":"1371800777"},"map_files_photo_id_array":[{"photo_id":"1371800780","filename":"file5"},{"photo_id":"1371800774","filename":"file2"},{"photo_id":"1371800778","filename":"file4"},{"photo_id":"1371800770","filename":"file1"},{"photo_id":"1371800764","filename":"file0"},{"photo_id":"1371800777","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371800764":["hashtag1","hashtag2"]},{"1371800778":["hashtag1","hashtag2"]},{"1371800780":["hashtag1","hashtag2"]},{"1371800774":["hashtag1","hashtag2"]},{"1371800777":["hashtag1","hashtag2"]},{"1371800770":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371800764, 1371800778, 1371800780, 1371800774, 1371800777, 1371800770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.623167991638184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:35:46.895669
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/35/image_12072025_06_35_44_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/35/image_12072025_06_35_23_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/35/image_12072025_06_35_14_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/06/34/image_12072025_06_34_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/35/image_12072025_06_35_44_9601.jpg', '/home/nano/Desktop/images/12072025/06/35/image_12072025_06_35_23_9601.jpg', '/home/nano/Desktop/images/12072025/06/35/image_12072025_06_35_14_10632.jpg', '/home/nano/Desktop/images/12072025/06/34/image_12072025_06_34_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/35/image_12072025_06_35_44_9601.jpg
/home/nano/Desktop/images/12072025/06/35/image_12072025_06_35_23_9601.jpg
/home/nano/Desktop/images/12072025/06/35/image_12072025_06_35_14_10632.jpg
/home/nano/Desktop/images/12072025/06/34/image_12072025_06_34_54_9607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800794","1371800792","1371800789","1371800798"],"photo_ids_order":["1371800789","1371800792","1371800794","1371800798"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f17853ce8c53150103a9ab3f0cc3167d.jpg","text":"TemporaryFile(/tmp/multipartBody4583192610650858185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295008055,"filename":"image_12072025_06_35_14_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcc775f7090d53c711386fd5d416cdb8.jpg","text":"TemporaryFile(/tmp/multipartBody8853579703088461282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295008055,"filename":"image_12072025_06_35_23_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8aa6ec9698a13e1587a682537b919854.jpg","text":"TemporaryFile(/tmp/multipartBody4836819369234103528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295008055,"filename":"image_12072025_06_35_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9beba12aca80cbf6b77e139be883eab.jpg","text":"TemporaryFile(/tmp/multipartBody6767155056796121165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295008055,"filename":"image_12072025_06_34_54_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800794","file1":"1371800792","file0":"1371800789","file3":"1371800798"},"map_files_photo_id_array":[{"photo_id":"1371800794","filename":"file2"},{"photo_id":"1371800792","filename":"file1"},{"photo_id":"1371800789","filename":"file0"},{"photo_id":"1371800798","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800794":["hashtag1","hashtag2"]},{"1371800792":["hashtag1","hashtag2"]},{"1371800789":["hashtag1","hashtag2"]},{"1371800798":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800794, 1371800792, 1371800789, 1371800798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.453826904296875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:36:16.987965
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_43_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_34_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_23_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_14_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/06/35/image_12072025_06_36_04_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/06/35/image_12072025_06_35_53_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_43_9602.jpg', '/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_34_10613.jpg', '/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_23_9605.jpg', '/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_14_9623.jpg', '/home/nano/Desktop/images/12072025/06/35/image_12072025_06_36_04_10633.jpg', '/home/nano/Desktop/images/12072025/06/35/image_12072025_06_35_53_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_43_9602.jpg
/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_34_10613.jpg
/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_23_9605.jpg
/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_14_9623.jpg
/home/nano/Desktop/images/12072025/06/35/image_12072025_06_36_04_10633.jpg
/home/nano/Desktop/images/12072025/06/35/image_12072025_06_35_53_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800815","1371800824","1371800818","1371800812","1371800820","1371800817"],"photo_ids_order":["1371800812","1371800815","1371800817","1371800818","1371800820","1371800824"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef2d5a6819eef65e2ba3ab6047989626.jpg","text":"TemporaryFile(/tmp/multipartBody288890636408635844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295037971,"filename":"image_12072025_06_36_34_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab3cb9beadc83d2d3d1ba6044f1dcfc2.jpg","text":"TemporaryFile(/tmp/multipartBody7171486703042875723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295037971,"filename":"image_12072025_06_35_53_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c358872ed43cde67b29471f85b4b8ca.jpg","text":"TemporaryFile(/tmp/multipartBody2715809727960626222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295037971,"filename":"image_12072025_06_36_14_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fd07e2d55fc2fc4d9e462dfa905428e.jpg","text":"TemporaryFile(/tmp/multipartBody9214969628917989399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295037971,"filename":"image_12072025_06_36_43_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f5a5cc4a1010a47d55dd7811e261cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1216801235514191619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295037971,"filename":"image_12072025_06_36_04_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e92fda68e4874778ac4269f3622de39.jpg","text":"TemporaryFile(/tmp/multipartBody7933855032359089512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295037971,"filename":"image_12072025_06_36_23_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800817","file1":"1371800815","file0":"1371800812","file4":"1371800820","file5":"1371800824","file3":"1371800818"},"map_files_photo_id_array":[{"photo_id":"1371800824","filename":"file5"},{"photo_id":"1371800817","filename":"file2"},{"photo_id":"1371800820","filename":"file4"},{"photo_id":"1371800815","filename":"file1"},{"photo_id":"1371800812","filename":"file0"},{"photo_id":"1371800818","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800815":["hashtag1","hashtag2"]},{"1371800824":["hashtag1","hashtag2"]},{"1371800818":["hashtag1","hashtag2"]},{"1371800812":["hashtag1","hashtag2"]},{"1371800820":["hashtag1","hashtag2"]},{"1371800817":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800815, 1371800824, 1371800818, 1371800812, 1371800820, 1371800817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.27061629295349 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:37:02.878103
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_53_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_43_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_34_10659.jpg', 2), ('/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_23_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_13_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/20/59/image_10072025_21_00_04_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_53_9661.jpg', '/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_43_9661.jpg', '/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_34_10659.jpg', '/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_23_9644.jpg', '/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_13_9665.jpg', '/home/nano/Desktop/images/10072025/20/59/image_10072025_21_00_04_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_53_9661.jpg
/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_43_9661.jpg
/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_34_10659.jpg
/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_23_9644.jpg
/home/nano/Desktop/images/10072025/21/00/image_10072025_21_00_13_9665.jpg
/home/nano/Desktop/images/10072025/20/59/image_10072025_21_00_04_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800848","1371800842","1371800859","1371800844","1371800853","1371800855"],"photo_ids_order":["1371800842","1371800844","1371800848","1371800853","1371800855","1371800859"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a00117b3427fb59b7079f09d282e2a0b.jpg","text":"TemporaryFile(/tmp/multipartBody1594101299254282576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295085777,"filename":"image_10072025_21_00_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2253d01b83140beb81fa53d9e26a66b2.jpg","text":"TemporaryFile(/tmp/multipartBody8481846144687531028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295085777,"filename":"image_10072025_21_00_53_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8bb2f863fa5330aff3dd44a902bd2ccc.jpg","text":"TemporaryFile(/tmp/multipartBody1578327472517712181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295085777,"filename":"image_10072025_21_00_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e3f83c4d20cb54c84a01228993bb75b.jpg","text":"TemporaryFile(/tmp/multipartBody795874964757697858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295085777,"filename":"image_10072025_21_00_43_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f04d7dcb01d512896dab0cb1e173f07.jpg","text":"TemporaryFile(/tmp/multipartBody3561950191797575750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295085777,"filename":"image_10072025_21_00_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74545847230ff0ea2215c3676c3c0564.jpg","text":"TemporaryFile(/tmp/multipartBody6183014334523175044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295085777,"filename":"image_10072025_21_00_13_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800848","file1":"1371800844","file0":"1371800842","file4":"1371800855","file5":"1371800859","file3":"1371800853"},"map_files_photo_id_array":[{"photo_id":"1371800859","filename":"file5"},{"photo_id":"1371800848","filename":"file2"},{"photo_id":"1371800855","filename":"file4"},{"photo_id":"1371800844","filename":"file1"},{"photo_id":"1371800842","filename":"file0"},{"photo_id":"1371800853","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371800848":["hashtag1","hashtag2"]},{"1371800842":["hashtag1","hashtag2"]},{"1371800859":["hashtag1","hashtag2"]},{"1371800844":["hashtag1","hashtag2"]},{"1371800853":["hashtag1","hashtag2"]},{"1371800855":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371800848, 1371800842, 1371800859, 1371800844, 1371800853, 1371800855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.039655685424805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:37:47.151654
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_44_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_33_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_24_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_13_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/06/36/image_12072025_06_37_04_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_54_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_44_10611.jpg', '/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_33_9620.jpg', '/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_24_10611.jpg', '/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_13_9640.jpg', '/home/nano/Desktop/images/12072025/06/36/image_12072025_06_37_04_9610.jpg', '/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_54_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_44_10611.jpg
/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_33_9620.jpg
/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_24_10611.jpg
/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_13_9640.jpg
/home/nano/Desktop/images/12072025/06/36/image_12072025_06_37_04_9610.jpg
/home/nano/Desktop/images/12072025/06/36/image_12072025_06_36_54_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800869","1371800886","1371800873","1371800882","1371800876","1371800879"],"photo_ids_order":["1371800869","1371800873","1371800876","1371800879","1371800882","1371800886"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d8a3714626e70850b3bb732dc0efa3a.jpg","text":"TemporaryFile(/tmp/multipartBody9064369504644616770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295128284,"filename":"image_12072025_06_37_44_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/131448df4fd8f7e8e5c12d3669d661bf.jpg","text":"TemporaryFile(/tmp/multipartBody3196928551721927280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295128284,"filename":"image_12072025_06_36_54_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b5ec30f9a90a7f48310bad295c87b4f.jpg","text":"TemporaryFile(/tmp/multipartBody3455621745966315100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295128284,"filename":"image_12072025_06_37_33_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7266de0245f1d2d255f158c154706692.jpg","text":"TemporaryFile(/tmp/multipartBody3472083042350333907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295128284,"filename":"image_12072025_06_37_04_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/050469e514e8bbd492251fde878fd520.jpg","text":"TemporaryFile(/tmp/multipartBody4673076136730685193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295128284,"filename":"image_12072025_06_37_24_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a238ad1f49cff0e67f9e61b5f0933e61.jpg","text":"TemporaryFile(/tmp/multipartBody6955077661876876380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295128284,"filename":"image_12072025_06_37_13_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800876","file1":"1371800873","file0":"1371800869","file4":"1371800882","file5":"1371800886","file3":"1371800879"},"map_files_photo_id_array":[{"photo_id":"1371800886","filename":"file5"},{"photo_id":"1371800876","filename":"file2"},{"photo_id":"1371800882","filename":"file4"},{"photo_id":"1371800873","filename":"file1"},{"photo_id":"1371800869","filename":"file0"},{"photo_id":"1371800879","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800869":["hashtag1","hashtag2"]},{"1371800886":["hashtag1","hashtag2"]},{"1371800873":["hashtag1","hashtag2"]},{"1371800882":["hashtag1","hashtag2"]},{"1371800876":["hashtag1","hashtag2"]},{"1371800879":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800869, 1371800886, 1371800873, 1371800882, 1371800876, 1371800879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37978768348694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:38:32.251860
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/38/image_12072025_06_38_33_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/06/38/image_12072025_06_38_23_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/06/37/image_12072025_06_38_03_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_54_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/38/image_12072025_06_38_33_9609.jpg', '/home/nano/Desktop/images/12072025/06/38/image_12072025_06_38_23_9603.jpg', '/home/nano/Desktop/images/12072025/06/37/image_12072025_06_38_03_9602.jpg', '/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_54_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/38/image_12072025_06_38_33_9609.jpg
/home/nano/Desktop/images/12072025/06/38/image_12072025_06_38_23_9603.jpg
/home/nano/Desktop/images/12072025/06/37/image_12072025_06_38_03_9602.jpg
/home/nano/Desktop/images/12072025/06/37/image_12072025_06_37_54_9600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800902","1371800905","1371800898","1371800910"],"photo_ids_order":["1371800898","1371800902","1371800905","1371800910"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f65f26cd3ccb4fd889355124e273ca2.jpg","text":"TemporaryFile(/tmp/multipartBody6898178545192758194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295173320,"filename":"image_12072025_06_38_23_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33eb6376f80c8a7abc20a17ba7cd6d48.jpg","text":"TemporaryFile(/tmp/multipartBody1380272597886037606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295173320,"filename":"image_12072025_06_38_03_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d858aaa4cd49f0877da1fb72fe76625.jpg","text":"TemporaryFile(/tmp/multipartBody4948172324274084644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295173320,"filename":"image_12072025_06_38_33_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/432f9548253c8782ac0fd2dd0729dff3.jpg","text":"TemporaryFile(/tmp/multipartBody1242057708479304347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295173320,"filename":"image_12072025_06_37_54_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800905","file1":"1371800902","file0":"1371800898","file3":"1371800910"},"map_files_photo_id_array":[{"photo_id":"1371800905","filename":"file2"},{"photo_id":"1371800902","filename":"file1"},{"photo_id":"1371800898","filename":"file0"},{"photo_id":"1371800910","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800902":["hashtag1","hashtag2"]},{"1371800905":["hashtag1","hashtag2"]},{"1371800898":["hashtag1","hashtag2"]},{"1371800910":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800902, 1371800905, 1371800898, 1371800910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.95326519012451 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:39:03.330896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_53_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_43_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_34_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_23_9669.jpg', 2), ('/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_13_9676.jpg', 2), ('/home/nano/Desktop/images/10072025/20/58/image_10072025_20_59_04_10671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_53_9647.jpg', '/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_43_9651.jpg', '/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_34_10655.jpg', '/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_23_9669.jpg', '/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_13_9676.jpg', '/home/nano/Desktop/images/10072025/20/58/image_10072025_20_59_04_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_53_9647.jpg
/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_43_9651.jpg
/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_34_10655.jpg
/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_23_9669.jpg
/home/nano/Desktop/images/10072025/20/59/image_10072025_20_59_13_9676.jpg
/home/nano/Desktop/images/10072025/20/58/image_10072025_20_59_04_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800917","1371800925","1371800928","1371800921","1371800930","1371800933"],"photo_ids_order":["1371800917","1371800921","1371800925","1371800928","1371800930","1371800933"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba5fae7d31f64dc8bc8dfe006e141267.jpg","text":"TemporaryFile(/tmp/multipartBody7670988241185798441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295206342,"filename":"image_10072025_20_59_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea4f040a39895d60163800635691ef3c.jpg","text":"TemporaryFile(/tmp/multipartBody6367977399443109796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295206342,"filename":"image_10072025_20_59_34_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ed74e186f2c7eb07de9a078f1242988.jpg","text":"TemporaryFile(/tmp/multipartBody1956494008325509686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295206342,"filename":"image_10072025_20_59_23_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/726ffc77d94187d873918ae2f56c40c0.jpg","text":"TemporaryFile(/tmp/multipartBody3931299909312686305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295206342,"filename":"image_10072025_20_59_43_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38404bef7487aef4d064b616b58ee7b3.jpg","text":"TemporaryFile(/tmp/multipartBody359211466600954944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295206342,"filename":"image_10072025_20_59_13_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f0895309ae64d6b0b4b4e3dc4ac4419.jpg","text":"TemporaryFile(/tmp/multipartBody5992285049302581369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295206342,"filename":"image_10072025_20_59_04_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800925","file1":"1371800921","file0":"1371800917","file4":"1371800930","file5":"1371800933","file3":"1371800928"},"map_files_photo_id_array":[{"photo_id":"1371800933","filename":"file5"},{"photo_id":"1371800925","filename":"file2"},{"photo_id":"1371800930","filename":"file4"},{"photo_id":"1371800921","filename":"file1"},{"photo_id":"1371800917","filename":"file0"},{"photo_id":"1371800928","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371800917":["hashtag1","hashtag2"]},{"1371800925":["hashtag1","hashtag2"]},{"1371800928":["hashtag1","hashtag2"]},{"1371800921":["hashtag1","hashtag2"]},{"1371800930":["hashtag1","hashtag2"]},{"1371800933":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371800917, 1371800925, 1371800928, 1371800921, 1371800930, 1371800933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.209617137908936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:39:47.349241
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_43_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_34_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_23_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_14_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/06/38/image_12072025_06_38_53_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_43_9601.jpg', '/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_34_10612.jpg', '/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_23_9601.jpg', '/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_14_9642.jpg', '/home/nano/Desktop/images/12072025/06/38/image_12072025_06_38_53_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_43_9601.jpg
/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_34_10612.jpg
/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_23_9601.jpg
/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_14_9642.jpg
/home/nano/Desktop/images/12072025/06/38/image_12072025_06_38_53_9604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800965","1371800968","1371800961","1371800958","1371800954"],"photo_ids_order":["1371800954","1371800958","1371800961","1371800965","1371800968"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6949aa41ffa5f334ccff7781c6c666d9.jpg","text":"TemporaryFile(/tmp/multipartBody822225099573514017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295248560,"filename":"image_12072025_06_39_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/867c63f5a47219cc1fa338f9fb57f8fe.jpg","text":"TemporaryFile(/tmp/multipartBody6500635212868598449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295248560,"filename":"image_12072025_06_38_53_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5178ae975e2d36ecc4a1bc6f2db30e9.jpg","text":"TemporaryFile(/tmp/multipartBody8749558437080187544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295248560,"filename":"image_12072025_06_39_23_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a35782dd4bb6feb4a520702a0f7cee97.jpg","text":"TemporaryFile(/tmp/multipartBody6338593552558183582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295248560,"filename":"image_12072025_06_39_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4dc2b50048a8edd930a35c20a1ac83a.jpg","text":"TemporaryFile(/tmp/multipartBody8478380373709022320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295248560,"filename":"image_12072025_06_39_43_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800961","file1":"1371800958","file0":"1371800954","file4":"1371800968","file3":"1371800965"},"map_files_photo_id_array":[{"photo_id":"1371800961","filename":"file2"},{"photo_id":"1371800968","filename":"file4"},{"photo_id":"1371800958","filename":"file1"},{"photo_id":"1371800954","filename":"file0"},{"photo_id":"1371800965","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800965":["hashtag1","hashtag2"]},{"1371800968":["hashtag1","hashtag2"]},{"1371800961":["hashtag1","hashtag2"]},{"1371800958":["hashtag1","hashtag2"]},{"1371800954":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800965, 1371800968, 1371800961, 1371800958, 1371800954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.571157217025757 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:40:17.439157
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_43_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_33_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_24_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_13_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/06/39/image_12072025_06_40_04_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_54_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_43_9629.jpg', '/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_33_9605.jpg', '/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_24_10610.jpg', '/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_13_9635.jpg', '/home/nano/Desktop/images/12072025/06/39/image_12072025_06_40_04_9612.jpg', '/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_54_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_43_9629.jpg
/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_33_9605.jpg
/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_24_10610.jpg
/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_13_9635.jpg
/home/nano/Desktop/images/12072025/06/39/image_12072025_06_40_04_9612.jpg
/home/nano/Desktop/images/12072025/06/39/image_12072025_06_39_54_10610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371800991","1371800994","1371800985","1371800987","1371800981","1371800995"],"photo_ids_order":["1371800981","1371800985","1371800987","1371800991","1371800994","1371800995"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c0d1056ab4afca5dba2dda4145ea5bc.jpg","text":"TemporaryFile(/tmp/multipartBody8460240193474051358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295278493,"filename":"image_12072025_06_40_13_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/153f1676a8ceaee841c0bc59dda9cd2b.jpg","text":"TemporaryFile(/tmp/multipartBody64535685456312080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295278493,"filename":"image_12072025_06_40_04_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af18e7f2638033b2c77ede9d3aea13ab.jpg","text":"TemporaryFile(/tmp/multipartBody5237523804524396306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295278493,"filename":"image_12072025_06_40_33_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48ff216f4c6592b4039fc6d39c7c6d3b.jpg","text":"TemporaryFile(/tmp/multipartBody6875807677592066874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295278493,"filename":"image_12072025_06_40_24_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ec78a7c6814f089ebbb7adfed60ef46.jpg","text":"TemporaryFile(/tmp/multipartBody6954460296872843205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295278493,"filename":"image_12072025_06_40_43_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a08daf40e36650705017e76bd4485995.jpg","text":"TemporaryFile(/tmp/multipartBody1986744001919233038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295278493,"filename":"image_12072025_06_39_54_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371800987","file1":"1371800985","file0":"1371800981","file4":"1371800994","file5":"1371800995","file3":"1371800991"},"map_files_photo_id_array":[{"photo_id":"1371800995","filename":"file5"},{"photo_id":"1371800987","filename":"file2"},{"photo_id":"1371800994","filename":"file4"},{"photo_id":"1371800985","filename":"file1"},{"photo_id":"1371800981","filename":"file0"},{"photo_id":"1371800991","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371800991":["hashtag1","hashtag2"]},{"1371800994":["hashtag1","hashtag2"]},{"1371800985":["hashtag1","hashtag2"]},{"1371800987":["hashtag1","hashtag2"]},{"1371800981":["hashtag1","hashtag2"]},{"1371800995":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371800991, 1371800994, 1371800985, 1371800987, 1371800981, 1371800995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12915229797363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:41:03.360712
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_53_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_34_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_23_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_14_9671.jpg', 2), ('/home/nano/Desktop/images/10072025/20/57/image_10072025_20_58_04_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_53_9655.jpg', '/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_43_9646.jpg', '/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_34_10657.jpg', '/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_23_9648.jpg', '/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_14_9671.jpg', '/home/nano/Desktop/images/10072025/20/57/image_10072025_20_58_04_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_53_9655.jpg
/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_43_9646.jpg
/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_34_10657.jpg
/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_23_9648.jpg
/home/nano/Desktop/images/10072025/20/58/image_10072025_20_58_14_9671.jpg
/home/nano/Desktop/images/10072025/20/57/image_10072025_20_58_04_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801028","1371801013","1371801025","1371801030","1371801020","1371801032"],"photo_ids_order":["1371801013","1371801020","1371801025","1371801028","1371801030","1371801032"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f622cf729ae1ba87a29a346368022d5.jpg","text":"TemporaryFile(/tmp/multipartBody4215007192322521284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295326125,"filename":"image_10072025_20_58_23_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce877aaa41f9ac44017bd8a1eb794e69.jpg","text":"TemporaryFile(/tmp/multipartBody2042731824039278710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295326125,"filename":"image_10072025_20_58_53_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a8c3d931bcf879d6d7748d52d679a9d.jpg","text":"TemporaryFile(/tmp/multipartBody8388968720339488315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295326125,"filename":"image_10072025_20_58_34_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/624ed4f8966c63a125b2b373c31aaec2.jpg","text":"TemporaryFile(/tmp/multipartBody1651713772249801221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295326125,"filename":"image_10072025_20_58_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48bc3c2e4760e5d1a80c704f37e7ed81.jpg","text":"TemporaryFile(/tmp/multipartBody2510775145903787625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295326125,"filename":"image_10072025_20_58_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b309065b4e8fb145f22651b136ee372.jpg","text":"TemporaryFile(/tmp/multipartBody7145756335031490051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295326125,"filename":"image_10072025_20_58_04_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801025","file1":"1371801020","file0":"1371801013","file4":"1371801030","file5":"1371801032","file3":"1371801028"},"map_files_photo_id_array":[{"photo_id":"1371801032","filename":"file5"},{"photo_id":"1371801025","filename":"file2"},{"photo_id":"1371801030","filename":"file4"},{"photo_id":"1371801020","filename":"file1"},{"photo_id":"1371801013","filename":"file0"},{"photo_id":"1371801028","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371801028":["hashtag1","hashtag2"]},{"1371801013":["hashtag1","hashtag2"]},{"1371801025":["hashtag1","hashtag2"]},{"1371801030":["hashtag1","hashtag2"]},{"1371801020":["hashtag1","hashtag2"]},{"1371801032":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371801028, 1371801013, 1371801025, 1371801030, 1371801020, 1371801032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20011830329895 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:41:47.546608
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/41/image_12072025_06_41_44_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/06/41/image_12072025_06_41_14_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/06/40/image_12072025_06_41_03_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_54_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/41/image_12072025_06_41_44_10613.jpg', '/home/nano/Desktop/images/12072025/06/41/image_12072025_06_41_14_10634.jpg', '/home/nano/Desktop/images/12072025/06/40/image_12072025_06_41_03_9615.jpg', '/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_54_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/41/image_12072025_06_41_44_10613.jpg
/home/nano/Desktop/images/12072025/06/41/image_12072025_06_41_14_10634.jpg
/home/nano/Desktop/images/12072025/06/40/image_12072025_06_41_03_9615.jpg
/home/nano/Desktop/images/12072025/06/40/image_12072025_06_40_54_10612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801055","1371801047","1371801050","1371801052"],"photo_ids_order":["1371801047","1371801050","1371801052","1371801055"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/576a828c2ebc0b5d07e5c85a3ac87eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2339528602534738235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295369678,"filename":"image_12072025_06_40_54_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c9ccd25a9295ef557cc6b46623e32f0.jpg","text":"TemporaryFile(/tmp/multipartBody2574470203322242472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295369678,"filename":"image_12072025_06_41_44_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f3c39cc69156028c57f1e3e0f0d6db8.jpg","text":"TemporaryFile(/tmp/multipartBody702194967141135035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295369678,"filename":"image_12072025_06_41_14_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4d57e1bbcd14699cb4c5e0dd50cfce7.jpg","text":"TemporaryFile(/tmp/multipartBody3708958633888862161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295369678,"filename":"image_12072025_06_41_03_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801052","file1":"1371801050","file0":"1371801047","file3":"1371801055"},"map_files_photo_id_array":[{"photo_id":"1371801052","filename":"file2"},{"photo_id":"1371801050","filename":"file1"},{"photo_id":"1371801047","filename":"file0"},{"photo_id":"1371801055","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801055":["hashtag1","hashtag2"]},{"1371801047":["hashtag1","hashtag2"]},{"1371801050":["hashtag1","hashtag2"]},{"1371801052":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801055, 1371801047, 1371801050, 1371801052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.573882341384888 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:42:17.680508
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_43_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_34_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_23_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_14_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/06/41/image_12072025_06_42_04_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/06/41/image_12072025_06_41_53_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_43_9602.jpg', '/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_34_10612.jpg', '/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_23_9604.jpg', '/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_14_9634.jpg', '/home/nano/Desktop/images/12072025/06/41/image_12072025_06_42_04_10622.jpg', '/home/nano/Desktop/images/12072025/06/41/image_12072025_06_41_53_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_43_9602.jpg
/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_34_10612.jpg
/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_23_9604.jpg
/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_14_9634.jpg
/home/nano/Desktop/images/12072025/06/41/image_12072025_06_42_04_10622.jpg
/home/nano/Desktop/images/12072025/06/41/image_12072025_06_41_53_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801087","1371801072","1371801084","1371801080","1371801076","1371801067"],"photo_ids_order":["1371801067","1371801072","1371801076","1371801080","1371801084","1371801087"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2193f9803b78b64e868063aa3b6ff5d9.jpg","text":"TemporaryFile(/tmp/multipartBody8830205244820849649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295398732,"filename":"image_12072025_06_41_53_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df5dc5eb2f9b1dfa849f0a27575b2daa.jpg","text":"TemporaryFile(/tmp/multipartBody7657321464472249945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295398732,"filename":"image_12072025_06_42_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93b72cd3d2c427a5facd3d000f6e8217.jpg","text":"TemporaryFile(/tmp/multipartBody3123002749734851332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295398732,"filename":"image_12072025_06_42_04_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2310b8e943fcc780dc33542fd158e090.jpg","text":"TemporaryFile(/tmp/multipartBody1469267130908188378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295398732,"filename":"image_12072025_06_42_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9be6eb26238b5eda507f7109e270c9aa.jpg","text":"TemporaryFile(/tmp/multipartBody3121840608511767390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295398732,"filename":"image_12072025_06_42_23_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e431e9b8e3eb8abe3bb829d6c4314ada.jpg","text":"TemporaryFile(/tmp/multipartBody3612024286324092221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295398732,"filename":"image_12072025_06_42_43_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801076","file1":"1371801072","file0":"1371801067","file4":"1371801084","file5":"1371801087","file3":"1371801080"},"map_files_photo_id_array":[{"photo_id":"1371801087","filename":"file5"},{"photo_id":"1371801076","filename":"file2"},{"photo_id":"1371801084","filename":"file4"},{"photo_id":"1371801072","filename":"file1"},{"photo_id":"1371801067","filename":"file0"},{"photo_id":"1371801080","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801087":["hashtag1","hashtag2"]},{"1371801072":["hashtag1","hashtag2"]},{"1371801084":["hashtag1","hashtag2"]},{"1371801080":["hashtag1","hashtag2"]},{"1371801076":["hashtag1","hashtag2"]},{"1371801067":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801087, 1371801072, 1371801084, 1371801080, 1371801076, 1371801067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.863224029541016 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:43:02.502261
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_44_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_34_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_23_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_14_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/20/56/image_10072025_20_57_04_10671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_53_9646.jpg', '/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_44_9647.jpg', '/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_34_10660.jpg', '/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_23_9647.jpg', '/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_14_9666.jpg', '/home/nano/Desktop/images/10072025/20/56/image_10072025_20_57_04_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_53_9646.jpg
/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_44_9647.jpg
/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_34_10660.jpg
/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_23_9647.jpg
/home/nano/Desktop/images/10072025/20/57/image_10072025_20_57_14_9666.jpg
/home/nano/Desktop/images/10072025/20/56/image_10072025_20_57_04_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801106","1371801115","1371801109","1371801111","1371801108","1371801104"],"photo_ids_order":["1371801104","1371801106","1371801108","1371801109","1371801111","1371801115"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/647adce882f81d5476e83478bc711538.jpg","text":"TemporaryFile(/tmp/multipartBody2663759621023421362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295445228,"filename":"image_10072025_20_57_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b249f5ee73aab11ee6482825ae97632e.jpg","text":"TemporaryFile(/tmp/multipartBody1386386845649553379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295445228,"filename":"image_10072025_20_57_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/856b7e6b4f99c4aafdca58058db51070.jpg","text":"TemporaryFile(/tmp/multipartBody4924775307681922143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295445228,"filename":"image_10072025_20_57_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a867ced82210154cfa293d9d5d1bc251.jpg","text":"TemporaryFile(/tmp/multipartBody4378407603962540366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295445228,"filename":"image_10072025_20_57_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/674744e8254fd7acae5c24881586fe03.jpg","text":"TemporaryFile(/tmp/multipartBody2369317427409189964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295445228,"filename":"image_10072025_20_57_34_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ec13e363f0c722f9192b8ead2ba6a8e.jpg","text":"TemporaryFile(/tmp/multipartBody1337825212094150256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295445228,"filename":"image_10072025_20_57_53_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801108","file1":"1371801106","file0":"1371801104","file4":"1371801111","file5":"1371801115","file3":"1371801109"},"map_files_photo_id_array":[{"photo_id":"1371801115","filename":"file5"},{"photo_id":"1371801108","filename":"file2"},{"photo_id":"1371801111","filename":"file4"},{"photo_id":"1371801106","filename":"file1"},{"photo_id":"1371801104","filename":"file0"},{"photo_id":"1371801109","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371801106":["hashtag1","hashtag2"]},{"1371801115":["hashtag1","hashtag2"]},{"1371801109":["hashtag1","hashtag2"]},{"1371801111":["hashtag1","hashtag2"]},{"1371801108":["hashtag1","hashtag2"]},{"1371801104":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371801106, 1371801115, 1371801109, 1371801111, 1371801108, 1371801104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96557354927063 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:43:46.809491
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/43/image_12072025_06_43_43_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/06/43/image_12072025_06_43_34_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/43/image_12072025_06_43_13_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/06/42/image_12072025_06_43_04_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_53_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/43/image_12072025_06_43_43_9619.jpg', '/home/nano/Desktop/images/12072025/06/43/image_12072025_06_43_34_9601.jpg', '/home/nano/Desktop/images/12072025/06/43/image_12072025_06_43_13_9630.jpg', '/home/nano/Desktop/images/12072025/06/42/image_12072025_06_43_04_10616.jpg', '/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_53_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/43/image_12072025_06_43_43_9619.jpg
/home/nano/Desktop/images/12072025/06/43/image_12072025_06_43_34_9601.jpg
/home/nano/Desktop/images/12072025/06/43/image_12072025_06_43_13_9630.jpg
/home/nano/Desktop/images/12072025/06/42/image_12072025_06_43_04_10616.jpg
/home/nano/Desktop/images/12072025/06/42/image_12072025_06_42_53_9625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801133","1371801127","1371801137","1371801125","1371801130"],"photo_ids_order":["1371801125","1371801127","1371801130","1371801133","1371801137"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b1fdaf7a90ae29592ef0495230c1101.jpg","text":"TemporaryFile(/tmp/multipartBody9104987271671745022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295487833,"filename":"image_12072025_06_43_04_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9355978fa07a9292457ff8404c3c93a.jpg","text":"TemporaryFile(/tmp/multipartBody3945172739252122156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295487833,"filename":"image_12072025_06_43_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54c492fffbbe12e6baffe54b6e0e5297.jpg","text":"TemporaryFile(/tmp/multipartBody6312606056385874432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295487833,"filename":"image_12072025_06_42_53_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e3c1af3220ed62e77915507e0afd025.jpg","text":"TemporaryFile(/tmp/multipartBody363947552311475439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295487833,"filename":"image_12072025_06_43_43_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/298f7dd554fc7b277747b1ddd2230f15.jpg","text":"TemporaryFile(/tmp/multipartBody4134306072387360858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295487833,"filename":"image_12072025_06_43_13_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801130","file1":"1371801127","file0":"1371801125","file4":"1371801137","file3":"1371801133"},"map_files_photo_id_array":[{"photo_id":"1371801130","filename":"file2"},{"photo_id":"1371801137","filename":"file4"},{"photo_id":"1371801127","filename":"file1"},{"photo_id":"1371801125","filename":"file0"},{"photo_id":"1371801133","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801133":["hashtag1","hashtag2"]},{"1371801127":["hashtag1","hashtag2"]},{"1371801137":["hashtag1","hashtag2"]},{"1371801125":["hashtag1","hashtag2"]},{"1371801130":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801133, 1371801127, 1371801137, 1371801125, 1371801130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.49513077735901 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:44:16.921088
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_44_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_33_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_24_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_13_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/06/43/image_12072025_06_44_03_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/06/43/image_12072025_06_43_54_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_44_10629.jpg', '/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_33_9603.jpg', '/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_24_10631.jpg', '/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_13_9628.jpg', '/home/nano/Desktop/images/12072025/06/43/image_12072025_06_44_03_9619.jpg', '/home/nano/Desktop/images/12072025/06/43/image_12072025_06_43_54_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_44_10629.jpg
/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_33_9603.jpg
/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_24_10631.jpg
/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_13_9628.jpg
/home/nano/Desktop/images/12072025/06/43/image_12072025_06_44_03_9619.jpg
/home/nano/Desktop/images/12072025/06/43/image_12072025_06_43_54_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801154","1371801148","1371801162","1371801150","1371801146","1371801158"],"photo_ids_order":["1371801146","1371801148","1371801150","1371801154","1371801158","1371801162"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/49a092ce48e284c11e6ed1fe3d4e0b81.jpg","text":"TemporaryFile(/tmp/multipartBody6954648474466128274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295518027,"filename":"image_12072025_06_44_13_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a26139d07777b48bc434a907ba161af6.jpg","text":"TemporaryFile(/tmp/multipartBody1637426754623065939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295518027,"filename":"image_12072025_06_44_33_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/959df71668fa0b3e9afed23d03c1d417.jpg","text":"TemporaryFile(/tmp/multipartBody1325479997078569300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295518027,"filename":"image_12072025_06_43_54_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7641c8b6bbd354d17259331add202ef.jpg","text":"TemporaryFile(/tmp/multipartBody3463366940636513823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295518027,"filename":"image_12072025_06_44_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b569f0a1aa532c0aeb15c415875dc85f.jpg","text":"TemporaryFile(/tmp/multipartBody7197235774498329510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295518027,"filename":"image_12072025_06_44_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1aa5d600a6c08d6165d14b01ca8a9ce8.jpg","text":"TemporaryFile(/tmp/multipartBody1799257379484605376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295518027,"filename":"image_12072025_06_44_03_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801150","file1":"1371801148","file0":"1371801146","file4":"1371801158","file5":"1371801162","file3":"1371801154"},"map_files_photo_id_array":[{"photo_id":"1371801162","filename":"file5"},{"photo_id":"1371801150","filename":"file2"},{"photo_id":"1371801158","filename":"file4"},{"photo_id":"1371801148","filename":"file1"},{"photo_id":"1371801146","filename":"file0"},{"photo_id":"1371801154","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801154":["hashtag1","hashtag2"]},{"1371801148":["hashtag1","hashtag2"]},{"1371801162":["hashtag1","hashtag2"]},{"1371801150":["hashtag1","hashtag2"]},{"1371801146":["hashtag1","hashtag2"]},{"1371801158":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801154, 1371801148, 1371801162, 1371801150, 1371801146, 1371801158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27638602256775 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:45:02.699068
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_53_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_44_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_34_10665.jpg', 2), ('/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_23_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_14_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/20/55/image_10072025_20_56_04_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_53_9647.jpg', '/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_44_9648.jpg', '/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_34_10665.jpg', '/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_23_9666.jpg', '/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_14_9663.jpg', '/home/nano/Desktop/images/10072025/20/55/image_10072025_20_56_04_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_53_9647.jpg
/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_44_9648.jpg
/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_34_10665.jpg
/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_23_9666.jpg
/home/nano/Desktop/images/10072025/20/56/image_10072025_20_56_14_9663.jpg
/home/nano/Desktop/images/10072025/20/55/image_10072025_20_56_04_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801186","1371801182","1371801191","1371801179","1371801176","1371801184"],"photo_ids_order":["1371801176","1371801179","1371801182","1371801184","1371801186","1371801191"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31d57fb17de06eaa98dd4f4794f3340b.jpg","text":"TemporaryFile(/tmp/multipartBody7853058788712630659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295565401,"filename":"image_10072025_20_56_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20714f59d23bad9c645350389c938736.jpg","text":"TemporaryFile(/tmp/multipartBody4749285998745561357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295565401,"filename":"image_10072025_20_56_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8af5657552ae7a0c5f27d7288b491358.jpg","text":"TemporaryFile(/tmp/multipartBody3718056107790748092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295565401,"filename":"image_10072025_20_56_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2e08d58dd8a8b1c6480fc5a6ff812b2.jpg","text":"TemporaryFile(/tmp/multipartBody9102176384926866687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295565401,"filename":"image_10072025_20_56_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/139b42362189fdf2dc210f4228209d82.jpg","text":"TemporaryFile(/tmp/multipartBody30540406435501626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295565401,"filename":"image_10072025_20_56_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c9e6e1ff67dc36537dbca18abffb1f5.jpg","text":"TemporaryFile(/tmp/multipartBody3939499107211158375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295565401,"filename":"image_10072025_20_56_23_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801182","file1":"1371801179","file0":"1371801176","file4":"1371801186","file5":"1371801191","file3":"1371801184"},"map_files_photo_id_array":[{"photo_id":"1371801191","filename":"file5"},{"photo_id":"1371801182","filename":"file2"},{"photo_id":"1371801186","filename":"file4"},{"photo_id":"1371801179","filename":"file1"},{"photo_id":"1371801176","filename":"file0"},{"photo_id":"1371801184","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371801186":["hashtag1","hashtag2"]},{"1371801182":["hashtag1","hashtag2"]},{"1371801191":["hashtag1","hashtag2"]},{"1371801179":["hashtag1","hashtag2"]},{"1371801176":["hashtag1","hashtag2"]},{"1371801184":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371801186, 1371801182, 1371801191, 1371801179, 1371801176, 1371801184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8785605430603 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:45:47.073785
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_44_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_34_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_23_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_14_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/06/44/image_12072025_06_45_03_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_44_9602.jpg', '/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_34_10613.jpg', '/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_23_9621.jpg', '/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_14_10629.jpg', '/home/nano/Desktop/images/12072025/06/44/image_12072025_06_45_03_9611.jpg', '/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_44_9602.jpg
/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_34_10613.jpg
/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_23_9621.jpg
/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_14_10629.jpg
/home/nano/Desktop/images/12072025/06/44/image_12072025_06_45_03_9611.jpg
/home/nano/Desktop/images/12072025/06/44/image_12072025_06_44_54_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801205","1371801217","1371801219","1371801213","1371801215","1371801209"],"photo_ids_order":["1371801205","1371801209","1371801213","1371801215","1371801217","1371801219"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/281ba05ba3fa5e673e662112244e257c.jpg","text":"TemporaryFile(/tmp/multipartBody47574628100824519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295608132,"filename":"image_12072025_06_45_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8397afb01c28ef039312c4d0edf5b223.jpg","text":"TemporaryFile(/tmp/multipartBody6847331433287936002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295608132,"filename":"image_12072025_06_45_03_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5deb9d4e0797b094ce0856541de69a7.jpg","text":"TemporaryFile(/tmp/multipartBody4700731273275371925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295608132,"filename":"image_12072025_06_44_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efad8e4ccbb12ac31263a03d91a12970.jpg","text":"TemporaryFile(/tmp/multipartBody1355238727781538584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295608132,"filename":"image_12072025_06_45_23_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f7d8667e4627537a94a8537b8a6fddf.jpg","text":"TemporaryFile(/tmp/multipartBody3575281726434568483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295608132,"filename":"image_12072025_06_45_14_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7bac5eca1f9f4ba7a01ac91cb7533f98.jpg","text":"TemporaryFile(/tmp/multipartBody1596809992765698413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295608132,"filename":"image_12072025_06_45_34_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801213","file1":"1371801209","file0":"1371801205","file4":"1371801217","file5":"1371801219","file3":"1371801215"},"map_files_photo_id_array":[{"photo_id":"1371801219","filename":"file5"},{"photo_id":"1371801213","filename":"file2"},{"photo_id":"1371801217","filename":"file4"},{"photo_id":"1371801209","filename":"file1"},{"photo_id":"1371801205","filename":"file0"},{"photo_id":"1371801215","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801205":["hashtag1","hashtag2"]},{"1371801217":["hashtag1","hashtag2"]},{"1371801219":["hashtag1","hashtag2"]},{"1371801213":["hashtag1","hashtag2"]},{"1371801215":["hashtag1","hashtag2"]},{"1371801209":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801205, 1371801217, 1371801219, 1371801213, 1371801215, 1371801209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39663553237915 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:46:32.158840
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_43_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_34_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/06/45/image_12072025_06_46_04_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_53_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_43_9601.jpg', '/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_34_10610.jpg', '/home/nano/Desktop/images/12072025/06/45/image_12072025_06_46_04_10630.jpg', '/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_53_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_43_9601.jpg
/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_34_10610.jpg
/home/nano/Desktop/images/12072025/06/45/image_12072025_06_46_04_10630.jpg
/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_53_9602.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8305222988128662 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:46:47.167094
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_43_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_34_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/06/45/image_12072025_06_46_04_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_53_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_43_9601.jpg', '/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_34_10610.jpg', '/home/nano/Desktop/images/12072025/06/45/image_12072025_06_46_04_10630.jpg', '/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_53_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_43_9601.jpg
/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_34_10610.jpg
/home/nano/Desktop/images/12072025/06/45/image_12072025_06_46_04_10630.jpg
/home/nano/Desktop/images/12072025/06/45/image_12072025_06_45_53_9602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801247","1371801250","1371801244","1371801238"],"photo_ids_order":["1371801238","1371801244","1371801247","1371801250"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ef4ca9266c8abd1228d135e615dd079.jpg","text":"TemporaryFile(/tmp/multipartBody4050855338973543525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295668261,"filename":"image_12072025_06_46_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26e3b4d3504f13aee031d7e1eac39a77.jpg","text":"TemporaryFile(/tmp/multipartBody1588806496902194286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295668261,"filename":"image_12072025_06_45_53_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79a85ccb0601d985e069c116d86f7c90.jpg","text":"TemporaryFile(/tmp/multipartBody8790696291784268256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295668261,"filename":"image_12072025_06_46_34_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0565dc6d69cac492a29f9eb93f83f3e6.jpg","text":"TemporaryFile(/tmp/multipartBody4882248997941275407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295668261,"filename":"image_12072025_06_46_43_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801247","file1":"1371801244","file0":"1371801238","file3":"1371801250"},"map_files_photo_id_array":[{"photo_id":"1371801247","filename":"file2"},{"photo_id":"1371801244","filename":"file1"},{"photo_id":"1371801238","filename":"file0"},{"photo_id":"1371801250","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801247":["hashtag1","hashtag2"]},{"1371801250":["hashtag1","hashtag2"]},{"1371801244":["hashtag1","hashtag2"]},{"1371801238":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801247, 1371801250, 1371801244, 1371801238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.18497610092163 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:47:17.361804
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_44_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_33_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_24_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_13_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_54_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_44_10618.jpg', '/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_33_9609.jpg', '/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_24_10610.jpg', '/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_13_9622.jpg', '/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_54_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_44_10618.jpg
/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_33_9609.jpg
/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_24_10610.jpg
/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_13_9622.jpg
/home/nano/Desktop/images/12072025/06/46/image_12072025_06_46_54_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801272","1371801274","1371801268","1371801262","1371801265"],"photo_ids_order":["1371801262","1371801265","1371801268","1371801272","1371801274"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0d44356033ef506d4e066ed292c561d.jpg","text":"TemporaryFile(/tmp/multipartBody5381824679175232411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295699679,"filename":"image_12072025_06_47_13_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d6111f0163877aa4cf8a8597e1bd5ea.jpg","text":"TemporaryFile(/tmp/multipartBody3192507642827018375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295699679,"filename":"image_12072025_06_46_54_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e1b6e7fc5cf5fdda8fe1f7b69244a29.jpg","text":"TemporaryFile(/tmp/multipartBody3171902114862797561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295699679,"filename":"image_12072025_06_47_24_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd372772c9a66015099dcbec38fba643.jpg","text":"TemporaryFile(/tmp/multipartBody4866822482902157099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295699679,"filename":"image_12072025_06_47_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3c9bf489119b429749ed1218c7d9c9e.jpg","text":"TemporaryFile(/tmp/multipartBody5256276567532995952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295699679,"filename":"image_12072025_06_47_33_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801268","file1":"1371801265","file0":"1371801262","file4":"1371801274","file3":"1371801272"},"map_files_photo_id_array":[{"photo_id":"1371801268","filename":"file2"},{"photo_id":"1371801274","filename":"file4"},{"photo_id":"1371801265","filename":"file1"},{"photo_id":"1371801262","filename":"file0"},{"photo_id":"1371801272","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801272":["hashtag1","hashtag2"]},{"1371801274":["hashtag1","hashtag2"]},{"1371801268":["hashtag1","hashtag2"]},{"1371801262":["hashtag1","hashtag2"]},{"1371801265":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801272, 1371801274, 1371801268, 1371801262, 1371801265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.395509004592896 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:48:02.916558
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_44_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_34_10659.jpg', 2), ('/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_14_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/20/54/image_10072025_20_55_04_10690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_53_9646.jpg', '/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_44_9663.jpg', '/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_34_10659.jpg', '/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_23_9646.jpg', '/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_14_9665.jpg', '/home/nano/Desktop/images/10072025/20/54/image_10072025_20_55_04_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_53_9646.jpg
/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_44_9663.jpg
/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_34_10659.jpg
/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_23_9646.jpg
/home/nano/Desktop/images/10072025/20/55/image_10072025_20_55_14_9665.jpg
/home/nano/Desktop/images/10072025/20/54/image_10072025_20_55_04_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801297","1371801294","1371801306","1371801308","1371801302","1371801311"],"photo_ids_order":["1371801294","1371801297","1371801302","1371801306","1371801308","1371801311"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/555d97820d0f171b51e5ad715f4dcece.jpg","text":"TemporaryFile(/tmp/multipartBody5015494269422514249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295745772,"filename":"image_10072025_20_55_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/405d57344457c0a291b92ccb9845d735.jpg","text":"TemporaryFile(/tmp/multipartBody6481407671928637955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295745772,"filename":"image_10072025_20_55_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eceb0dee65c87da14458149effd07955.jpg","text":"TemporaryFile(/tmp/multipartBody4092526311989695350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295745772,"filename":"image_10072025_20_55_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6fa31e30f8d966b73f607a1978d2db6.jpg","text":"TemporaryFile(/tmp/multipartBody7819391102087964925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295745772,"filename":"image_10072025_20_55_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4521b81b2f562b556ee58b25aab28a1.jpg","text":"TemporaryFile(/tmp/multipartBody7395656103619057423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295745772,"filename":"image_10072025_20_55_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e889198d06e9c14ea0b69d5bf9cc6d3a.jpg","text":"TemporaryFile(/tmp/multipartBody6307943305838785170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295745772,"filename":"image_10072025_20_55_04_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801302","file1":"1371801297","file0":"1371801294","file4":"1371801308","file5":"1371801311","file3":"1371801306"},"map_files_photo_id_array":[{"photo_id":"1371801311","filename":"file5"},{"photo_id":"1371801302","filename":"file2"},{"photo_id":"1371801308","filename":"file4"},{"photo_id":"1371801297","filename":"file1"},{"photo_id":"1371801294","filename":"file0"},{"photo_id":"1371801306","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371801297":["hashtag1","hashtag2"]},{"1371801294":["hashtag1","hashtag2"]},{"1371801306":["hashtag1","hashtag2"]},{"1371801308":["hashtag1","hashtag2"]},{"1371801302":["hashtag1","hashtag2"]},{"1371801311":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371801297, 1371801294, 1371801306, 1371801308, 1371801302, 1371801311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09544563293457 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:48:47.392894
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/48/image_12072025_06_48_44_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/06/48/image_12072025_06_48_33_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/48/image_12072025_06_48_14_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_54_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/48/image_12072025_06_48_44_10618.jpg', '/home/nano/Desktop/images/12072025/06/48/image_12072025_06_48_33_9601.jpg', '/home/nano/Desktop/images/12072025/06/48/image_12072025_06_48_14_10640.jpg', '/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_54_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/48/image_12072025_06_48_44_10618.jpg
/home/nano/Desktop/images/12072025/06/48/image_12072025_06_48_33_9601.jpg
/home/nano/Desktop/images/12072025/06/48/image_12072025_06_48_14_10640.jpg
/home/nano/Desktop/images/12072025/06/47/image_12072025_06_47_54_9604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801331","1371801330","1371801326","1371801322"],"photo_ids_order":["1371801322","1371801326","1371801330","1371801331"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cb674600faac816d9474f2d69042012.jpg","text":"TemporaryFile(/tmp/multipartBody5486759876020208406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295788498,"filename":"image_12072025_06_47_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11bcbd1a5055ba101d00e217462ae7a4.jpg","text":"TemporaryFile(/tmp/multipartBody3752652434149329221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295788498,"filename":"image_12072025_06_48_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d26a0182abddd4e48e97eb9b6842776.jpg","text":"TemporaryFile(/tmp/multipartBody3327505553198493173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295788498,"filename":"image_12072025_06_48_33_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79717bf2ea8186f36109b3c21778cdc3.jpg","text":"TemporaryFile(/tmp/multipartBody8179122594769287243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295788498,"filename":"image_12072025_06_48_44_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801330","file1":"1371801326","file0":"1371801322","file3":"1371801331"},"map_files_photo_id_array":[{"photo_id":"1371801330","filename":"file2"},{"photo_id":"1371801326","filename":"file1"},{"photo_id":"1371801322","filename":"file0"},{"photo_id":"1371801331","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801331":["hashtag1","hashtag2"]},{"1371801330":["hashtag1","hashtag2"]},{"1371801326":["hashtag1","hashtag2"]},{"1371801322":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801331, 1371801330, 1371801326, 1371801322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.302985429763794 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:49:17.504189
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_43_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_34_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_23_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/06/48/image_12072025_06_49_04_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/06/48/image_12072025_06_48_53_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_43_9631.jpg', '/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_34_10610.jpg', '/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_23_9601.jpg', '/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_14_9626.jpg', '/home/nano/Desktop/images/12072025/06/48/image_12072025_06_49_04_10626.jpg', '/home/nano/Desktop/images/12072025/06/48/image_12072025_06_48_53_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_43_9631.jpg
/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_34_10610.jpg
/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_23_9601.jpg
/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_14_9626.jpg
/home/nano/Desktop/images/12072025/06/48/image_12072025_06_49_04_10626.jpg
/home/nano/Desktop/images/12072025/06/48/image_12072025_06_48_53_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801352","1371801342","1371801344","1371801347","1371801349","1371801340"],"photo_ids_order":["1371801340","1371801342","1371801344","1371801347","1371801349","1371801352"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0092e643f79b329393d55e9e690230c.jpg","text":"TemporaryFile(/tmp/multipartBody8134754473366213646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295818796,"filename":"image_12072025_06_48_53_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb41815fc05a845bef966ff7a95916c3.jpg","text":"TemporaryFile(/tmp/multipartBody3947422233654900934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295818796,"filename":"image_12072025_06_49_34_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4468d155afab7227626b28cb7565ba47.jpg","text":"TemporaryFile(/tmp/multipartBody6499378350020579884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295818796,"filename":"image_12072025_06_49_23_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4c858c72d9545c03c382844e59525b6.jpg","text":"TemporaryFile(/tmp/multipartBody8077515255661209043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295818796,"filename":"image_12072025_06_49_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba80777d57c3735654db902bf5f8dae0.jpg","text":"TemporaryFile(/tmp/multipartBody5926045445859650120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295818796,"filename":"image_12072025_06_49_04_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd926bc52cfe252bf29303d597f4127d.jpg","text":"TemporaryFile(/tmp/multipartBody6908170961982957702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295818796,"filename":"image_12072025_06_49_43_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801344","file1":"1371801342","file0":"1371801340","file4":"1371801349","file5":"1371801352","file3":"1371801347"},"map_files_photo_id_array":[{"photo_id":"1371801352","filename":"file5"},{"photo_id":"1371801344","filename":"file2"},{"photo_id":"1371801349","filename":"file4"},{"photo_id":"1371801342","filename":"file1"},{"photo_id":"1371801340","filename":"file0"},{"photo_id":"1371801347","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801352":["hashtag1","hashtag2"]},{"1371801342":["hashtag1","hashtag2"]},{"1371801344":["hashtag1","hashtag2"]},{"1371801347":["hashtag1","hashtag2"]},{"1371801349":["hashtag1","hashtag2"]},{"1371801340":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801352, 1371801342, 1371801344, 1371801347, 1371801349, 1371801340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51742339134216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:50:03.112905
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_44_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_34_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_14_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_53_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_44_10671.jpg', 2), ('/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_23_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_44_9646.jpg', '/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_34_10655.jpg', '/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_14_9662.jpg', '/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_53_9651.jpg', '/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_44_10671.jpg', '/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_23_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_44_9646.jpg
/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_34_10655.jpg
/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_14_9662.jpg
/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_53_9651.jpg
/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_44_10671.jpg
/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_23_9650.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8202269077301025 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:50:17.578713
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/50/image_12072025_06_50_43_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/06/50/image_12072025_06_50_13_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/06/49/image_12072025_06_50_04_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_54_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/50/image_12072025_06_50_43_9607.jpg', '/home/nano/Desktop/images/12072025/06/50/image_12072025_06_50_13_9619.jpg', '/home/nano/Desktop/images/12072025/06/49/image_12072025_06_50_04_9624.jpg', '/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_54_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/50/image_12072025_06_50_43_9607.jpg
/home/nano/Desktop/images/12072025/06/50/image_12072025_06_50_13_9619.jpg
/home/nano/Desktop/images/12072025/06/49/image_12072025_06_50_04_9624.jpg
/home/nano/Desktop/images/12072025/06/49/image_12072025_06_49_54_10629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801410","1371801407","1371801401","1371801404"],"photo_ids_order":["1371801401","1371801404","1371801407","1371801410"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5dcb3064fbab8ff0e8e18ee7100dd4ea.jpg","text":"TemporaryFile(/tmp/multipartBody7540838018066908136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295878705,"filename":"image_12072025_06_49_54_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0475c349e419e10087406cccbe942ad5.jpg","text":"TemporaryFile(/tmp/multipartBody5867824545177451161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295878705,"filename":"image_12072025_06_50_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4b47e493d06fe9ce960aed213cb9722.jpg","text":"TemporaryFile(/tmp/multipartBody1945387228758101231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295878705,"filename":"image_12072025_06_50_43_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/843299e904b6c4be7224f26aa4198d9c.jpg","text":"TemporaryFile(/tmp/multipartBody5268912192978450292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295878705,"filename":"image_12072025_06_50_13_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801407","file1":"1371801404","file0":"1371801401","file3":"1371801410"},"map_files_photo_id_array":[{"photo_id":"1371801407","filename":"file2"},{"photo_id":"1371801404","filename":"file1"},{"photo_id":"1371801401","filename":"file0"},{"photo_id":"1371801410","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801410":["hashtag1","hashtag2"]},{"1371801407":["hashtag1","hashtag2"]},{"1371801401":["hashtag1","hashtag2"]},{"1371801404":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801410, 1371801407, 1371801401, 1371801404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.531486749649048 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:50:47.556276
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_44_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_34_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_14_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_53_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_44_10671.jpg', 2), ('/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_23_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_44_9646.jpg', '/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_34_10655.jpg', '/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_14_9662.jpg', '/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_53_9651.jpg', '/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_44_10671.jpg', '/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_23_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_44_9646.jpg
/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_34_10655.jpg
/home/nano/Desktop/images/10072025/20/54/image_10072025_20_54_14_9662.jpg
/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_53_9651.jpg
/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_44_10671.jpg
/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_23_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801435","1371801423","1371801431","1371801425","1371801428","1371801421"],"photo_ids_order":["1371801421","1371801423","1371801425","1371801428","1371801431","1371801435"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ebc7a776adfdd9780e80bb5a8fd2edd.jpg","text":"TemporaryFile(/tmp/multipartBody8062734216819675356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295910205,"filename":"image_10072025_20_53_23_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54866ec644ebfc176a38b7b7cad24355.jpg","text":"TemporaryFile(/tmp/multipartBody4342992276201265203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295910205,"filename":"image_10072025_20_54_34_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ddb31f4f47d01b90e49a4e39fbb7bd28.jpg","text":"TemporaryFile(/tmp/multipartBody858568423980273473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295910205,"filename":"image_10072025_20_53_44_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1d6d6a68c1bfedabc702bfb70c1eafa.jpg","text":"TemporaryFile(/tmp/multipartBody6239207088537541421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295910205,"filename":"image_10072025_20_54_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ea4eb118e97237a70ca8d836126eb9f.jpg","text":"TemporaryFile(/tmp/multipartBody5652089192301141569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295910205,"filename":"image_10072025_20_53_53_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db97520ba317581751554c48a14c4751.jpg","text":"TemporaryFile(/tmp/multipartBody3520400320068841764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295910205,"filename":"image_10072025_20_54_44_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801425","file1":"1371801423","file0":"1371801421","file4":"1371801431","file5":"1371801435","file3":"1371801428"},"map_files_photo_id_array":[{"photo_id":"1371801435","filename":"file5"},{"photo_id":"1371801425","filename":"file2"},{"photo_id":"1371801431","filename":"file4"},{"photo_id":"1371801423","filename":"file1"},{"photo_id":"1371801421","filename":"file0"},{"photo_id":"1371801428","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371801435":["hashtag1","hashtag2"]},{"1371801423":["hashtag1","hashtag2"]},{"1371801431":["hashtag1","hashtag2"]},{"1371801425":["hashtag1","hashtag2"]},{"1371801428":["hashtag1","hashtag2"]},{"1371801421":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371801435, 1371801423, 1371801431, 1371801425, 1371801428, 1371801421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60617232322693 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:51:32.677994
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_44_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_33_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_24_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_14_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/06/50/image_12072025_06_51_03_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/06/50/image_12072025_06_50_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_44_10632.jpg', '/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_33_9601.jpg', '/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_24_9612.jpg', '/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_14_10645.jpg', '/home/nano/Desktop/images/12072025/06/50/image_12072025_06_51_03_9612.jpg', '/home/nano/Desktop/images/12072025/06/50/image_12072025_06_50_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_44_10632.jpg
/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_33_9601.jpg
/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_24_9612.jpg
/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_14_10645.jpg
/home/nano/Desktop/images/12072025/06/50/image_12072025_06_51_03_9612.jpg
/home/nano/Desktop/images/12072025/06/50/image_12072025_06_50_54_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801459","1371801450","1371801446","1371801454","1371801448","1371801457"],"photo_ids_order":["1371801446","1371801448","1371801450","1371801454","1371801457","1371801459"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5de0cae10aa818139b7e1b48574f07d5.jpg","text":"TemporaryFile(/tmp/multipartBody7256697078807017892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295953746,"filename":"image_12072025_06_50_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ab9767dcc5c8a72327ee6ede24513f2.jpg","text":"TemporaryFile(/tmp/multipartBody6075694324469517114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295953746,"filename":"image_12072025_06_51_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2702aca8f3ab0d820bfad822790bc1f.jpg","text":"TemporaryFile(/tmp/multipartBody114654822210804442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295953746,"filename":"image_12072025_06_51_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0233411ff0e724711b38de9e7a8da96b.jpg","text":"TemporaryFile(/tmp/multipartBody7325880914575287577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295953746,"filename":"image_12072025_06_51_14_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec58f32cae7a1317a3ab294d12d39297.jpg","text":"TemporaryFile(/tmp/multipartBody7617665125665371108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295953746,"filename":"image_12072025_06_51_33_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a54338f550e32538377504e3bfe8d9b1.jpg","text":"TemporaryFile(/tmp/multipartBody2086076956166319783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295953746,"filename":"image_12072025_06_51_03_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801450","file1":"1371801448","file0":"1371801446","file4":"1371801457","file5":"1371801459","file3":"1371801454"},"map_files_photo_id_array":[{"photo_id":"1371801459","filename":"file5"},{"photo_id":"1371801450","filename":"file2"},{"photo_id":"1371801457","filename":"file4"},{"photo_id":"1371801448","filename":"file1"},{"photo_id":"1371801446","filename":"file0"},{"photo_id":"1371801454","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801459":["hashtag1","hashtag2"]},{"1371801450":["hashtag1","hashtag2"]},{"1371801446":["hashtag1","hashtag2"]},{"1371801454":["hashtag1","hashtag2"]},{"1371801448":["hashtag1","hashtag2"]},{"1371801457":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801459, 1371801450, 1371801446, 1371801454, 1371801448, 1371801457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.048531532287598 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:52:16.767381
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_44_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_34_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_23_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_14_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/06/51/image_12072025_06_52_04_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_53_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_44_9623.jpg', '/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_34_10636.jpg', '/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_23_9623.jpg', '/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_14_9642.jpg', '/home/nano/Desktop/images/12072025/06/51/image_12072025_06_52_04_10629.jpg', '/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_53_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_44_9623.jpg
/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_34_10636.jpg
/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_23_9623.jpg
/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_14_9642.jpg
/home/nano/Desktop/images/12072025/06/51/image_12072025_06_52_04_10629.jpg
/home/nano/Desktop/images/12072025/06/51/image_12072025_06_51_53_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801492","1371801494","1371801488","1371801476","1371801484","1371801481"],"photo_ids_order":["1371801476","1371801481","1371801484","1371801488","1371801492","1371801494"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f5e786589656af6f4ef290aa38d6b8e.jpg","text":"TemporaryFile(/tmp/multipartBody4169413489198205481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295998118,"filename":"image_12072025_06_52_04_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/781c5749f95c04f5cdc18e63aae8da92.jpg","text":"TemporaryFile(/tmp/multipartBody4317173356896788250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295998118,"filename":"image_12072025_06_51_53_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1948ac40cef4ff6907f58b3287c7537a.jpg","text":"TemporaryFile(/tmp/multipartBody2678756955217748208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295998118,"filename":"image_12072025_06_52_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5b0b4f81a56525e06ed03662d79161b.jpg","text":"TemporaryFile(/tmp/multipartBody3332250743130284530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295998118,"filename":"image_12072025_06_52_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6cddd3dda0b44bc86fa65cdccc384519.jpg","text":"TemporaryFile(/tmp/multipartBody29720457516737048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295998118,"filename":"image_12072025_06_52_23_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56385730d3d64c1c67e96c20cf6e3336.jpg","text":"TemporaryFile(/tmp/multipartBody6713413615849134545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752295998118,"filename":"image_12072025_06_52_34_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801484","file1":"1371801481","file0":"1371801476","file4":"1371801492","file5":"1371801494","file3":"1371801488"},"map_files_photo_id_array":[{"photo_id":"1371801494","filename":"file5"},{"photo_id":"1371801484","filename":"file2"},{"photo_id":"1371801492","filename":"file4"},{"photo_id":"1371801481","filename":"file1"},{"photo_id":"1371801476","filename":"file0"},{"photo_id":"1371801488","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801492":["hashtag1","hashtag2"]},{"1371801494":["hashtag1","hashtag2"]},{"1371801488":["hashtag1","hashtag2"]},{"1371801476":["hashtag1","hashtag2"]},{"1371801484":["hashtag1","hashtag2"]},{"1371801481":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801492, 1371801494, 1371801488, 1371801476, 1371801484, 1371801481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07594418525696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:53:02.567771
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_14_10694.jpg', 2), ('/home/nano/Desktop/images/10072025/20/52/image_10072025_20_53_03_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/20/52/image_10072025_20_52_53_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/20/52/image_10072025_20_52_44_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/20/52/image_10072025_20_52_33_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/20/52/image_10072025_20_52_14_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_14_10694.jpg', '/home/nano/Desktop/images/10072025/20/52/image_10072025_20_53_03_9662.jpg', '/home/nano/Desktop/images/10072025/20/52/image_10072025_20_52_53_9651.jpg', '/home/nano/Desktop/images/10072025/20/52/image_10072025_20_52_44_10672.jpg', '/home/nano/Desktop/images/10072025/20/52/image_10072025_20_52_33_9653.jpg', '/home/nano/Desktop/images/10072025/20/52/image_10072025_20_52_14_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/53/image_10072025_20_53_14_10694.jpg
/home/nano/Desktop/images/10072025/20/52/image_10072025_20_53_03_9662.jpg
/home/nano/Desktop/images/10072025/20/52/image_10072025_20_52_53_9651.jpg
/home/nano/Desktop/images/10072025/20/52/image_10072025_20_52_44_10672.jpg
/home/nano/Desktop/images/10072025/20/52/image_10072025_20_52_33_9653.jpg
/home/nano/Desktop/images/10072025/20/52/image_10072025_20_52_14_10672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801508","1371801525","1371801528","1371801513","1371801518","1371801521"],"photo_ids_order":["1371801508","1371801513","1371801518","1371801521","1371801525","1371801528"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e79ffd916b10606a8f9c851b5cb0d1b4.jpg","text":"TemporaryFile(/tmp/multipartBody5844598494859932241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296045369,"filename":"image_10072025_20_53_14_10694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df21954b796baeac30c2cb89f21cb129.jpg","text":"TemporaryFile(/tmp/multipartBody3262432945266137689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296045369,"filename":"image_10072025_20_52_33_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a571dad6663a6a00cbf1fbf7b4aad20a.jpg","text":"TemporaryFile(/tmp/multipartBody5596160737799804082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296045369,"filename":"image_10072025_20_52_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ac4e7ae22f817d4788e6e20ab5515ba.jpg","text":"TemporaryFile(/tmp/multipartBody2422965090113865704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296045369,"filename":"image_10072025_20_53_03_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f643bd9511efe8d0c1f0ee932e8f5fc.jpg","text":"TemporaryFile(/tmp/multipartBody8255579317414995954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296045369,"filename":"image_10072025_20_52_53_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d9a771c688888d47e0725eef683dfd7.jpg","text":"TemporaryFile(/tmp/multipartBody8269923763554803101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296045369,"filename":"image_10072025_20_52_44_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801518","file1":"1371801513","file0":"1371801508","file4":"1371801525","file5":"1371801528","file3":"1371801521"},"map_files_photo_id_array":[{"photo_id":"1371801528","filename":"file5"},{"photo_id":"1371801518","filename":"file2"},{"photo_id":"1371801525","filename":"file4"},{"photo_id":"1371801513","filename":"file1"},{"photo_id":"1371801508","filename":"file0"},{"photo_id":"1371801521","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371801508":["hashtag1","hashtag2"]},{"1371801525":["hashtag1","hashtag2"]},{"1371801528":["hashtag1","hashtag2"]},{"1371801513":["hashtag1","hashtag2"]},{"1371801518":["hashtag1","hashtag2"]},{"1371801521":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371801508, 1371801525, 1371801528, 1371801513, 1371801518, 1371801521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20778250694275 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:53:46.937835
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_43_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_34_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_23_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_13_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/06/52/image_12072025_06_53_04_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_53_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_43_9608.jpg', '/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_34_10630.jpg', '/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_23_9614.jpg', '/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_13_9649.jpg', '/home/nano/Desktop/images/12072025/06/52/image_12072025_06_53_04_10644.jpg', '/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_53_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_43_9608.jpg
/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_34_10630.jpg
/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_23_9614.jpg
/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_13_9649.jpg
/home/nano/Desktop/images/12072025/06/52/image_12072025_06_53_04_10644.jpg
/home/nano/Desktop/images/12072025/06/52/image_12072025_06_52_53_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801544","1371801540","1371801542","1371801545","1371801548","1371801553"],"photo_ids_order":["1371801540","1371801542","1371801544","1371801545","1371801548","1371801553"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16640818ec5f049f785641aa3780fc63.jpg","text":"TemporaryFile(/tmp/multipartBody3237241031574834793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296088172,"filename":"image_12072025_06_53_23_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6b5b54d71594a7d9f175ec4a5d9ab8d.jpg","text":"TemporaryFile(/tmp/multipartBody5212971492059350175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296088172,"filename":"image_12072025_06_53_43_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc226f7f6de2d095338e221f13643a00.jpg","text":"TemporaryFile(/tmp/multipartBody4487756574495136257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296088172,"filename":"image_12072025_06_53_34_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95777860e6e83e7d3a3901fd12183845.jpg","text":"TemporaryFile(/tmp/multipartBody7574727241357126938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296088172,"filename":"image_12072025_06_53_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f084562de7782aa3fc0bd27041bf580.jpg","text":"TemporaryFile(/tmp/multipartBody1196144860617719299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296088172,"filename":"image_12072025_06_53_04_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc40cdf0ab819b147907769c69480352.jpg","text":"TemporaryFile(/tmp/multipartBody8205919792615809909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296088172,"filename":"image_12072025_06_52_53_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801544","file1":"1371801542","file0":"1371801540","file4":"1371801548","file5":"1371801553","file3":"1371801545"},"map_files_photo_id_array":[{"photo_id":"1371801553","filename":"file5"},{"photo_id":"1371801544","filename":"file2"},{"photo_id":"1371801548","filename":"file4"},{"photo_id":"1371801542","filename":"file1"},{"photo_id":"1371801540","filename":"file0"},{"photo_id":"1371801545","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801544":["hashtag1","hashtag2"]},{"1371801540":["hashtag1","hashtag2"]},{"1371801542":["hashtag1","hashtag2"]},{"1371801545":["hashtag1","hashtag2"]},{"1371801548":["hashtag1","hashtag2"]},{"1371801553":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801544, 1371801540, 1371801542, 1371801545, 1371801548, 1371801553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51799774169922 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:54:32.053169
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_43_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_33_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_24_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_13_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/06/53/image_12072025_06_54_04_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_54_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_43_9620.jpg', '/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_33_9622.jpg', '/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_24_10616.jpg', '/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_13_9649.jpg', '/home/nano/Desktop/images/12072025/06/53/image_12072025_06_54_04_9630.jpg', '/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_54_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_43_9620.jpg
/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_33_9622.jpg
/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_24_10616.jpg
/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_13_9649.jpg
/home/nano/Desktop/images/12072025/06/53/image_12072025_06_54_04_9630.jpg
/home/nano/Desktop/images/12072025/06/53/image_12072025_06_53_54_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801567","1371801572","1371801581","1371801577","1371801565","1371801568"],"photo_ids_order":["1371801565","1371801567","1371801568","1371801572","1371801577","1371801581"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/423661d48269ab357ceb525b248fc51c.jpg","text":"TemporaryFile(/tmp/multipartBody8494945625838557611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296133133,"filename":"image_12072025_06_54_33_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9447165ae1d75def470dba70e70c784a.jpg","text":"TemporaryFile(/tmp/multipartBody468633033258053045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296133133,"filename":"image_12072025_06_54_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/58a1eff81f97ab59e919960113d100d0.jpg","text":"TemporaryFile(/tmp/multipartBody5821084816514602300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296133133,"filename":"image_12072025_06_53_54_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec4d29509e36b5851ee07a6169189d57.jpg","text":"TemporaryFile(/tmp/multipartBody7155279072311070232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296133133,"filename":"image_12072025_06_54_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3de875866fa1c30fc82a2a6dc5d6a51c.jpg","text":"TemporaryFile(/tmp/multipartBody7951628861708937237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296133133,"filename":"image_12072025_06_54_43_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2467d6bd3cd53cf089b24109130e635.jpg","text":"TemporaryFile(/tmp/multipartBody9029583380236398856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296133133,"filename":"image_12072025_06_54_24_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801568","file1":"1371801567","file0":"1371801565","file4":"1371801577","file5":"1371801581","file3":"1371801572"},"map_files_photo_id_array":[{"photo_id":"1371801581","filename":"file5"},{"photo_id":"1371801568","filename":"file2"},{"photo_id":"1371801577","filename":"file4"},{"photo_id":"1371801567","filename":"file1"},{"photo_id":"1371801565","filename":"file0"},{"photo_id":"1371801572","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801567":["hashtag1","hashtag2"]},{"1371801572":["hashtag1","hashtag2"]},{"1371801581":["hashtag1","hashtag2"]},{"1371801577":["hashtag1","hashtag2"]},{"1371801565":["hashtag1","hashtag2"]},{"1371801568":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801567, 1371801572, 1371801581, 1371801577, 1371801565, 1371801568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.032949924468994 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:55:17.280099
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_44_10688.jpg', 2), ('/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_33_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_24_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/06/54/image_12072025_06_55_03_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_54_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_44_10688.jpg', '/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_33_9631.jpg', '/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_24_9611.jpg', '/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_14_10639.jpg', '/home/nano/Desktop/images/12072025/06/54/image_12072025_06_55_03_9629.jpg', '/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_54_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_44_10688.jpg
/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_33_9631.jpg
/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_24_9611.jpg
/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_14_10639.jpg
/home/nano/Desktop/images/12072025/06/54/image_12072025_06_55_03_9629.jpg
/home/nano/Desktop/images/12072025/06/54/image_12072025_06_54_54_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801597","1371801600","1371801603","1371801605","1371801595","1371801608"],"photo_ids_order":["1371801595","1371801597","1371801600","1371801603","1371801605","1371801608"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3468f3703a0dc3be2f86a714a7f30247.jpg","text":"TemporaryFile(/tmp/multipartBody2192659158983015056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296178757,"filename":"image_12072025_06_55_33_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b35642dabf9f9aad8069fdcfd06c824.jpg","text":"TemporaryFile(/tmp/multipartBody5266317157447757794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296178757,"filename":"image_12072025_06_55_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6b71d1bc2d45fae6ee16b389adde8dc.jpg","text":"TemporaryFile(/tmp/multipartBody6867105422468691865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296178757,"filename":"image_12072025_06_55_14_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8daac3864b37b601817d124748bc1e50.jpg","text":"TemporaryFile(/tmp/multipartBody8037295411932639690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296178757,"filename":"image_12072025_06_55_03_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7ca743414cdcff48881362591378fd7.jpg","text":"TemporaryFile(/tmp/multipartBody4117894333867565024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296178757,"filename":"image_12072025_06_55_44_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bde48d59445f3aa11b501120abfce46.jpg","text":"TemporaryFile(/tmp/multipartBody5139028777436220787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296178757,"filename":"image_12072025_06_54_54_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801600","file1":"1371801597","file0":"1371801595","file4":"1371801605","file5":"1371801608","file3":"1371801603"},"map_files_photo_id_array":[{"photo_id":"1371801608","filename":"file5"},{"photo_id":"1371801600","filename":"file2"},{"photo_id":"1371801605","filename":"file4"},{"photo_id":"1371801597","filename":"file1"},{"photo_id":"1371801595","filename":"file0"},{"photo_id":"1371801603","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801597":["hashtag1","hashtag2"]},{"1371801600":["hashtag1","hashtag2"]},{"1371801603":["hashtag1","hashtag2"]},{"1371801605":["hashtag1","hashtag2"]},{"1371801595":["hashtag1","hashtag2"]},{"1371801608":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801597, 1371801600, 1371801603, 1371801605, 1371801595, 1371801608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43253755569458 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:56:02.975225
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/51/image_10072025_20_51_53_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/20/51/image_10072025_20_51_44_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/20/51/image_10072025_20_51_33_9672.jpg', 2), ('/home/nano/Desktop/images/10072025/20/51/image_10072025_20_51_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/50/image_10072025_20_50_53_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/20/50/image_10072025_20_50_44_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/51/image_10072025_20_51_53_9644.jpg', '/home/nano/Desktop/images/10072025/20/51/image_10072025_20_51_44_10654.jpg', '/home/nano/Desktop/images/10072025/20/51/image_10072025_20_51_33_9672.jpg', '/home/nano/Desktop/images/10072025/20/51/image_10072025_20_51_23_9646.jpg', '/home/nano/Desktop/images/10072025/20/50/image_10072025_20_50_53_9663.jpg', '/home/nano/Desktop/images/10072025/20/50/image_10072025_20_50_44_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/51/image_10072025_20_51_53_9644.jpg
/home/nano/Desktop/images/10072025/20/51/image_10072025_20_51_44_10654.jpg
/home/nano/Desktop/images/10072025/20/51/image_10072025_20_51_33_9672.jpg
/home/nano/Desktop/images/10072025/20/51/image_10072025_20_51_23_9646.jpg
/home/nano/Desktop/images/10072025/20/50/image_10072025_20_50_53_9663.jpg
/home/nano/Desktop/images/10072025/20/50/image_10072025_20_50_44_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801637","1371801622","1371801639","1371801618","1371801629","1371801634"],"photo_ids_order":["1371801618","1371801622","1371801629","1371801634","1371801637","1371801639"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/634d83d190d96106407b9cd744e1ed66.jpg","text":"TemporaryFile(/tmp/multipartBody8964876650154555938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296225826,"filename":"image_10072025_20_50_53_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/715b9e4ee2fe909a11e051782a4e2ac7.jpg","text":"TemporaryFile(/tmp/multipartBody3004228500803026435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296225826,"filename":"image_10072025_20_51_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc23205a7692b8f3a52d057c5808e489.jpg","text":"TemporaryFile(/tmp/multipartBody7420532771515203378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296225826,"filename":"image_10072025_20_50_44_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2deaf1ec18efc55dcacc521293b9c079.jpg","text":"TemporaryFile(/tmp/multipartBody2456464328170827408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296225826,"filename":"image_10072025_20_51_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa73181c5ff70a01c5af5c11076968ef.jpg","text":"TemporaryFile(/tmp/multipartBody37792602783757217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296225826,"filename":"image_10072025_20_51_33_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9c62c2afd79c3e11192a4757bb089c4.jpg","text":"TemporaryFile(/tmp/multipartBody6458752362311501419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296225826,"filename":"image_10072025_20_51_23_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801629","file1":"1371801622","file0":"1371801618","file4":"1371801637","file5":"1371801639","file3":"1371801634"},"map_files_photo_id_array":[{"photo_id":"1371801639","filename":"file5"},{"photo_id":"1371801629","filename":"file2"},{"photo_id":"1371801637","filename":"file4"},{"photo_id":"1371801622","filename":"file1"},{"photo_id":"1371801618","filename":"file0"},{"photo_id":"1371801634","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371801637":["hashtag1","hashtag2"]},{"1371801622":["hashtag1","hashtag2"]},{"1371801639":["hashtag1","hashtag2"]},{"1371801618":["hashtag1","hashtag2"]},{"1371801629":["hashtag1","hashtag2"]},{"1371801634":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371801637, 1371801622, 1371801639, 1371801618, 1371801629, 1371801634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.716310024261475 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:56:47.399596
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_44_10775.jpg', 2), ('/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_33_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_24_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_14_10689.jpg', 2), ('/home/nano/Desktop/images/12072025/06/55/image_12072025_06_56_03_9676.jpg', 2), ('/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_54_9690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_44_10775.jpg', '/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_33_9641.jpg', '/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_24_9597.jpg', '/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_14_10689.jpg', '/home/nano/Desktop/images/12072025/06/55/image_12072025_06_56_03_9676.jpg', '/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_54_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_44_10775.jpg
/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_33_9641.jpg
/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_24_9597.jpg
/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_14_10689.jpg
/home/nano/Desktop/images/12072025/06/55/image_12072025_06_56_03_9676.jpg
/home/nano/Desktop/images/12072025/06/55/image_12072025_06_55_54_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371801805","1371801858","1371801779","1371801755","1371801830","1371801730"],"photo_ids_order":["1371801730","1371801755","1371801779","1371801805","1371801830","1371801858"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7b5ff4cb70cda6a5ba4d3bd1e9de776.jpg","text":"TemporaryFile(/tmp/multipartBody6778978056862408887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296268918,"filename":"image_12072025_06_56_14_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d33dbca63704e7631f2f4fb418995090.jpg","text":"TemporaryFile(/tmp/multipartBody1775850723765413995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296268918,"filename":"image_12072025_06_55_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f99c0f67c3e9dc4de000d13154953dc.jpg","text":"TemporaryFile(/tmp/multipartBody1919200139461166352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296268918,"filename":"image_12072025_06_56_24_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/667fbda96d06f7ec8bfadf39d314abd5.jpg","text":"TemporaryFile(/tmp/multipartBody6845183853192227274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296268918,"filename":"image_12072025_06_56_33_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6aa52053d7d5f3127452dc4562271002.jpg","text":"TemporaryFile(/tmp/multipartBody8404132797407846627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296268918,"filename":"image_12072025_06_56_03_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43be6a358bb34a2eb12e0daaa5d80770.jpg","text":"TemporaryFile(/tmp/multipartBody8575229058046133180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296268918,"filename":"image_12072025_06_56_44_10775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371801779","file1":"1371801755","file0":"1371801730","file4":"1371801830","file5":"1371801858","file3":"1371801805"},"map_files_photo_id_array":[{"photo_id":"1371801858","filename":"file5"},{"photo_id":"1371801779","filename":"file2"},{"photo_id":"1371801830","filename":"file4"},{"photo_id":"1371801755","filename":"file1"},{"photo_id":"1371801730","filename":"file0"},{"photo_id":"1371801805","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371801805":["hashtag1","hashtag2"]},{"1371801858":["hashtag1","hashtag2"]},{"1371801779":["hashtag1","hashtag2"]},{"1371801755":["hashtag1","hashtag2"]},{"1371801830":["hashtag1","hashtag2"]},{"1371801730":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371801805, 1371801858, 1371801779, 1371801755, 1371801830, 1371801730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.56274390220642 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:57:32.494134
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_43_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_34_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_24_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_13_9806.jpg', 2), ('/home/nano/Desktop/images/12072025/06/56/image_12072025_06_57_04_9702.jpg', 2), ('/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_54_9819.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_43_9603.jpg', '/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_34_9655.jpg', '/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_24_10666.jpg', '/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_13_9806.jpg', '/home/nano/Desktop/images/12072025/06/56/image_12072025_06_57_04_9702.jpg', '/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_54_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_43_9603.jpg
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_34_9655.jpg
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_24_10666.jpg
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_13_9806.jpg
/home/nano/Desktop/images/12072025/06/56/image_12072025_06_57_04_9702.jpg
/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_54_9819.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:58:03.259683
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_54_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_43_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_34_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_24_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_13_9806.jpg', 2), ('/home/nano/Desktop/images/12072025/06/56/image_12072025_06_57_04_9702.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_54_10635.jpg', '/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_43_9603.jpg', '/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_34_9655.jpg', '/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_24_10666.jpg', '/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_13_9806.jpg', '/home/nano/Desktop/images/12072025/06/56/image_12072025_06_57_04_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_54_10635.jpg
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_43_9603.jpg
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_34_9655.jpg
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_24_10666.jpg
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_13_9806.jpg
/home/nano/Desktop/images/12072025/06/56/image_12072025_06_57_04_9702.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3788299560546875 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:58:32.629756
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_54_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_33_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_24_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_13_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_58_04_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_54_10609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_54_10635.jpg', '/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_33_9658.jpg', '/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_24_10668.jpg', '/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_13_9630.jpg', '/home/nano/Desktop/images/12072025/06/57/image_12072025_06_58_04_9620.jpg', '/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_54_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_54_10635.jpg
/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_33_9658.jpg
/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_24_10668.jpg
/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_13_9630.jpg
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_58_04_9620.jpg
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_54_10609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371802647","1371802608","1371802568","1371802703","1371802675","1371802723"],"photo_ids_order":["1371802568","1371802608","1371802647","1371802675","1371802703","1371802723"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/863c3a1b044bc4cb831697fde6efb714.jpg","text":"TemporaryFile(/tmp/multipartBody7880684844913171785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296373815,"filename":"image_12072025_06_58_24_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c54e2349bd9ced61326b4909abac246e.jpg","text":"TemporaryFile(/tmp/multipartBody8902070503873556590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296373815,"filename":"image_12072025_06_58_33_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91437c85ed1e210d36bbd0c0914a0354.jpg","text":"TemporaryFile(/tmp/multipartBody1374362341142805091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296373815,"filename":"image_12072025_06_58_54_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/279bc3eb8f46e8dfac17a0cb00178f21.jpg","text":"TemporaryFile(/tmp/multipartBody6414785817803680639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296373815,"filename":"image_12072025_06_58_04_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c6c71e1ed8a5c92450ba4a1810381f9.jpg","text":"TemporaryFile(/tmp/multipartBody9126385492576493955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296373815,"filename":"image_12072025_06_58_13_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95bb60eec068584f91d24af616f5058c.jpg","text":"TemporaryFile(/tmp/multipartBody805490958667257817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296373815,"filename":"image_12072025_06_57_54_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371802647","file1":"1371802608","file0":"1371802568","file4":"1371802703","file5":"1371802723","file3":"1371802675"},"map_files_photo_id_array":[{"photo_id":"1371802723","filename":"file5"},{"photo_id":"1371802647","filename":"file2"},{"photo_id":"1371802703","filename":"file4"},{"photo_id":"1371802608","filename":"file1"},{"photo_id":"1371802568","filename":"file0"},{"photo_id":"1371802675","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371802647":["hashtag1","hashtag2"]},{"1371802608":["hashtag1","hashtag2"]},{"1371802568":["hashtag1","hashtag2"]},{"1371802703":["hashtag1","hashtag2"]},{"1371802675":["hashtag1","hashtag2"]},{"1371802723":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371802647, 1371802608, 1371802568, 1371802703, 1371802675, 1371802723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.619160652160645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 06:59:17.744563
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_33_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_24_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_14_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/06/58/image_12072025_06_59_03_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_43_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_44_10647.jpg', '/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_33_9614.jpg', '/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_24_9619.jpg', '/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_14_10638.jpg', '/home/nano/Desktop/images/12072025/06/58/image_12072025_06_59_03_9635.jpg', '/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_43_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_44_10647.jpg
/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_33_9614.jpg
/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_24_9619.jpg
/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_14_10638.jpg
/home/nano/Desktop/images/12072025/06/58/image_12072025_06_59_03_9635.jpg
/home/nano/Desktop/images/12072025/06/58/image_12072025_06_58_43_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371802992","1371802866","1371803016","1371802917","1371802961","1371803064"],"photo_ids_order":["1371802866","1371802917","1371802961","1371802992","1371803016","1371803064"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4cc4e88eb76532f5334b61dcdfb2319.jpg","text":"TemporaryFile(/tmp/multipartBody7764785191196793746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296420323,"filename":"image_12072025_06_59_14_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a4a4ac697ae04643447c98658316933.jpg","text":"TemporaryFile(/tmp/multipartBody6986525765680560766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296420323,"filename":"image_12072025_06_59_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ec7e3ba7fc219eb91a3fc93e0bb495b.jpg","text":"TemporaryFile(/tmp/multipartBody4560674916630204943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296420323,"filename":"image_12072025_06_59_03_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eeb95b0cad938511d32773ad7e32d49d.jpg","text":"TemporaryFile(/tmp/multipartBody5975006303860562895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296420323,"filename":"image_12072025_06_59_33_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6fcefd7fb6910b93d5196fe9b8a6419c.jpg","text":"TemporaryFile(/tmp/multipartBody8231556529958864260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296420323,"filename":"image_12072025_06_59_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/571972243a464aa1f59c3d7aa17d3b51.jpg","text":"TemporaryFile(/tmp/multipartBody1595804739674683616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296420323,"filename":"image_12072025_06_58_43_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371802961","file1":"1371802917","file0":"1371802866","file4":"1371803016","file5":"1371803064","file3":"1371802992"},"map_files_photo_id_array":[{"photo_id":"1371803064","filename":"file5"},{"photo_id":"1371802961","filename":"file2"},{"photo_id":"1371803016","filename":"file4"},{"photo_id":"1371802917","filename":"file1"},{"photo_id":"1371802866","filename":"file0"},{"photo_id":"1371802992","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371802992":["hashtag1","hashtag2"]},{"1371802866":["hashtag1","hashtag2"]},{"1371803016":["hashtag1","hashtag2"]},{"1371802917":["hashtag1","hashtag2"]},{"1371802961":["hashtag1","hashtag2"]},{"1371803064":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371802992, 1371802866, 1371803016, 1371802917, 1371802961, 1371803064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.705981731414795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:00:02.371177
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_43_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_34_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_24_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_13_9806.jpg', 2), ('/home/nano/Desktop/images/12072025/06/56/image_12072025_06_57_04_9702.jpg', 2), ('/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_54_9819.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_43_9603.jpg', '/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_34_9655.jpg', '/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_24_10666.jpg', '/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_13_9806.jpg', '/home/nano/Desktop/images/12072025/06/56/image_12072025_06_57_04_9702.jpg', '/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_54_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_43_9603.jpg
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_34_9655.jpg
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_24_10666.jpg
/home/nano/Desktop/images/12072025/06/57/image_12072025_06_57_13_9806.jpg
/home/nano/Desktop/images/12072025/06/56/image_12072025_06_57_04_9702.jpg
/home/nano/Desktop/images/12072025/06/56/image_12072025_06_56_54_9819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371803297","1371803378","1371803270","1371803323","1371803404","1371803349"],"photo_ids_order":["1371803270","1371803297","1371803323","1371803349","1371803378","1371803404"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ebb7d59c0b3e3ea6165d5a3012d6eeb.jpg","text":"TemporaryFile(/tmp/multipartBody9196803028328986778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296463894,"filename":"image_12072025_06_57_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d135d52d7cf6d0a2d150945a402d7e31.jpg","text":"TemporaryFile(/tmp/multipartBody92194192406558803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296463894,"filename":"image_12072025_06_57_04_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0855e45a5ac490c5dabe311b6202293.jpg","text":"TemporaryFile(/tmp/multipartBody6018336777479303141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296463894,"filename":"image_12072025_06_57_43_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/433ea1078d2338699d61653c7acab42d.jpg","text":"TemporaryFile(/tmp/multipartBody4390389680799051054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296463894,"filename":"image_12072025_06_57_24_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e30dcf86af8b3085242402f17e8c351a.jpg","text":"TemporaryFile(/tmp/multipartBody879517089185534562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296463894,"filename":"image_12072025_06_56_54_9819.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1f1c90ead441f1181bae3ec28a767ba.jpg","text":"TemporaryFile(/tmp/multipartBody4148082421781883191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296463894,"filename":"image_12072025_06_57_13_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371803323","file1":"1371803297","file0":"1371803270","file4":"1371803378","file5":"1371803404","file3":"1371803349"},"map_files_photo_id_array":[{"photo_id":"1371803404","filename":"file5"},{"photo_id":"1371803323","filename":"file2"},{"photo_id":"1371803378","filename":"file4"},{"photo_id":"1371803297","filename":"file1"},{"photo_id":"1371803270","filename":"file0"},{"photo_id":"1371803349","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371803297":["hashtag1","hashtag2"]},{"1371803378":["hashtag1","hashtag2"]},{"1371803270":["hashtag1","hashtag2"]},{"1371803323":["hashtag1","hashtag2"]},{"1371803404":["hashtag1","hashtag2"]},{"1371803349":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371803297, 1371803378, 1371803270, 1371803323, 1371803404, 1371803349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.092369556427 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:00:46.913911
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_44_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_33_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_24_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_14_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/06/59/image_12072025_07_00_03_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_54_9683.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_44_10617.jpg', '/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_33_9641.jpg', '/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_24_9663.jpg', '/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_14_10648.jpg', '/home/nano/Desktop/images/12072025/06/59/image_12072025_07_00_03_9664.jpg', '/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_54_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_44_10617.jpg
/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_33_9641.jpg
/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_24_9663.jpg
/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_14_10648.jpg
/home/nano/Desktop/images/12072025/06/59/image_12072025_07_00_03_9664.jpg
/home/nano/Desktop/images/12072025/06/59/image_12072025_06_59_54_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371803601","1371803627","1371803677","1371803550","1371803652","1371803574"],"photo_ids_order":["1371803550","1371803574","1371803601","1371803627","1371803652","1371803677"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ea91e7ecac0e0a08df239961af590cc.jpg","text":"TemporaryFile(/tmp/multipartBody4898714850105961613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296508319,"filename":"image_12072025_07_00_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6ed5277b9228d48a4a3bc749769532d.jpg","text":"TemporaryFile(/tmp/multipartBody1468897111294768675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296508319,"filename":"image_12072025_07_00_14_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e28cd7f0d3453481a82ad50fb0dd8d67.jpg","text":"TemporaryFile(/tmp/multipartBody7555078849942518737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296508319,"filename":"image_12072025_06_59_54_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9462c5b0e0e3837f38314dab63258b72.jpg","text":"TemporaryFile(/tmp/multipartBody2662258445946150894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296508319,"filename":"image_12072025_07_00_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/568387dd622725076c472b50c6a298f7.jpg","text":"TemporaryFile(/tmp/multipartBody8200536155561867805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296508319,"filename":"image_12072025_07_00_03_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd2c9a5743723a24c13116378ab788b3.jpg","text":"TemporaryFile(/tmp/multipartBody3633260907720360050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296508319,"filename":"image_12072025_07_00_33_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371803601","file1":"1371803574","file0":"1371803550","file4":"1371803652","file5":"1371803677","file3":"1371803627"},"map_files_photo_id_array":[{"photo_id":"1371803677","filename":"file5"},{"photo_id":"1371803601","filename":"file2"},{"photo_id":"1371803652","filename":"file4"},{"photo_id":"1371803574","filename":"file1"},{"photo_id":"1371803550","filename":"file0"},{"photo_id":"1371803627","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371803601":["hashtag1","hashtag2"]},{"1371803627":["hashtag1","hashtag2"]},{"1371803677":["hashtag1","hashtag2"]},{"1371803550":["hashtag1","hashtag2"]},{"1371803652":["hashtag1","hashtag2"]},{"1371803574":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371803601, 1371803627, 1371803677, 1371803550, 1371803652, 1371803574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.3407723903656 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:01:32.059416
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_44_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_34_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_23_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_14_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/07/00/image_12072025_07_01_03_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_53_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_44_9647.jpg', '/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_34_10641.jpg', '/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_23_9596.jpg', '/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_14_10649.jpg', '/home/nano/Desktop/images/12072025/07/00/image_12072025_07_01_03_9670.jpg', '/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_53_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_44_9647.jpg
/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_34_10641.jpg
/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_23_9596.jpg
/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_14_10649.jpg
/home/nano/Desktop/images/12072025/07/00/image_12072025_07_01_03_9670.jpg
/home/nano/Desktop/images/12072025/07/00/image_12072025_07_00_53_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371803786","1371803782","1371803779","1371803788","1371803781","1371803790"],"photo_ids_order":["1371803779","1371803781","1371803782","1371803786","1371803788","1371803790"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6e04e7ec8c751e782ed2e71a892db51.jpg","text":"TemporaryFile(/tmp/multipartBody8741940702873268311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296553437,"filename":"image_12072025_07_01_14_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f19ad9e5b7be23c36c3d0229c86f7530.jpg","text":"TemporaryFile(/tmp/multipartBody8516665690428924961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296553437,"filename":"image_12072025_07_01_23_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a59537067471fa91e956b067736899f.jpg","text":"TemporaryFile(/tmp/multipartBody6963040752150166733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296553437,"filename":"image_12072025_07_01_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a0ac7ca9cc0124511fa5b7afa98e033.jpg","text":"TemporaryFile(/tmp/multipartBody4175672708440240996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296553437,"filename":"image_12072025_07_01_03_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42011e393364cd3fb991c907c6683795.jpg","text":"TemporaryFile(/tmp/multipartBody3111077495735233440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296553437,"filename":"image_12072025_07_01_34_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/272d074317026bedf9350ebdc7dbfeff.jpg","text":"TemporaryFile(/tmp/multipartBody2808183050358972231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296553437,"filename":"image_12072025_07_00_53_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371803782","file1":"1371803781","file0":"1371803779","file4":"1371803788","file5":"1371803790","file3":"1371803786"},"map_files_photo_id_array":[{"photo_id":"1371803790","filename":"file5"},{"photo_id":"1371803782","filename":"file2"},{"photo_id":"1371803788","filename":"file4"},{"photo_id":"1371803781","filename":"file1"},{"photo_id":"1371803779","filename":"file0"},{"photo_id":"1371803786","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371803786":["hashtag1","hashtag2"]},{"1371803782":["hashtag1","hashtag2"]},{"1371803779":["hashtag1","hashtag2"]},{"1371803788":["hashtag1","hashtag2"]},{"1371803781":["hashtag1","hashtag2"]},{"1371803790":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371803786, 1371803782, 1371803779, 1371803788, 1371803781, 1371803790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2634174823761 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:02:17.146021
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_44_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_34_10684.jpg', 2), ('/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_23_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_13_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/07/01/image_12072025_07_02_04_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_53_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_44_9651.jpg', '/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_34_10684.jpg', '/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_23_9671.jpg', '/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_13_9641.jpg', '/home/nano/Desktop/images/12072025/07/01/image_12072025_07_02_04_10610.jpg', '/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_53_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_44_9651.jpg
/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_34_10684.jpg
/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_23_9671.jpg
/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_13_9641.jpg
/home/nano/Desktop/images/12072025/07/01/image_12072025_07_02_04_10610.jpg
/home/nano/Desktop/images/12072025/07/01/image_12072025_07_01_53_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371803951","1371803904","1371803963","1371803927","1371803962","1371803964"],"photo_ids_order":["1371803904","1371803927","1371803951","1371803962","1371803963","1371803964"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84edc97b31385eb53cb6496c1ff5faaf.jpg","text":"TemporaryFile(/tmp/multipartBody8794430329398057125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296598748,"filename":"image_12072025_07_02_23_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc3f01d0e3e1891f49f0d3257622bc83.jpg","text":"TemporaryFile(/tmp/multipartBody8684444091135804373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296598748,"filename":"image_12072025_07_02_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7d11d76b01ec1532dcf58387f97cef7.jpg","text":"TemporaryFile(/tmp/multipartBody9204910734046315232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296598748,"filename":"image_12072025_07_02_04_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfc37065031d5bad48be16d6610e5d2b.jpg","text":"TemporaryFile(/tmp/multipartBody4961949869021084475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296598748,"filename":"image_12072025_07_02_34_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d7e0effb2073335c1b26153bcb96dac.jpg","text":"TemporaryFile(/tmp/multipartBody212595960733306272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296598748,"filename":"image_12072025_07_02_13_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/425acee6114e18202a51dbfc406f25dc.jpg","text":"TemporaryFile(/tmp/multipartBody5932584469089835449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296598748,"filename":"image_12072025_07_01_53_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371803951","file1":"1371803927","file0":"1371803904","file4":"1371803963","file5":"1371803964","file3":"1371803962"},"map_files_photo_id_array":[{"photo_id":"1371803964","filename":"file5"},{"photo_id":"1371803951","filename":"file2"},{"photo_id":"1371803963","filename":"file4"},{"photo_id":"1371803927","filename":"file1"},{"photo_id":"1371803904","filename":"file0"},{"photo_id":"1371803962","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371803951":["hashtag1","hashtag2"]},{"1371803904":["hashtag1","hashtag2"]},{"1371803963":["hashtag1","hashtag2"]},{"1371803927":["hashtag1","hashtag2"]},{"1371803962":["hashtag1","hashtag2"]},{"1371803964":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371803951, 1371803904, 1371803963, 1371803927, 1371803962, 1371803964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.455249071121216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:03:03.017124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/50/image_10072025_20_50_33_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/20/49/image_10072025_20_50_03_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_54_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_44_10679.jpg', 2), ('/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_33_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_24_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/50/image_10072025_20_50_33_9647.jpg', '/home/nano/Desktop/images/10072025/20/49/image_10072025_20_50_03_9649.jpg', '/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_54_9646.jpg', '/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_44_10679.jpg', '/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_33_9649.jpg', '/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_24_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/50/image_10072025_20_50_33_9647.jpg
/home/nano/Desktop/images/10072025/20/49/image_10072025_20_50_03_9649.jpg
/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_54_9646.jpg
/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_44_10679.jpg
/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_33_9649.jpg
/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_24_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371804082","1371804076","1371804085","1371804079","1371804073","1371804067"],"photo_ids_order":["1371804067","1371804073","1371804076","1371804079","1371804082","1371804085"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e14efb5dd93009da6eab4095b164d91e.jpg","text":"TemporaryFile(/tmp/multipartBody8895299410266673777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296645984,"filename":"image_10072025_20_49_33_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9176dc53cd97075ac816cc7562c2b1e.jpg","text":"TemporaryFile(/tmp/multipartBody2069787585148727343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296645984,"filename":"image_10072025_20_49_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb492c027be1b65a734c28de91588093.jpg","text":"TemporaryFile(/tmp/multipartBody7035790746750247412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296645984,"filename":"image_10072025_20_49_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aca43c08e09a00fb6a6240335fc3fd7d.jpg","text":"TemporaryFile(/tmp/multipartBody8495438758054525343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296645984,"filename":"image_10072025_20_49_44_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e465da86060f4d23dc693306eb7f355e.jpg","text":"TemporaryFile(/tmp/multipartBody4101596015336003346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296645984,"filename":"image_10072025_20_50_03_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cced550b9a75327a95b3a2ac5c833474.jpg","text":"TemporaryFile(/tmp/multipartBody7325721500966481182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296645984,"filename":"image_10072025_20_50_33_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371804076","file1":"1371804073","file0":"1371804067","file4":"1371804082","file5":"1371804085","file3":"1371804079"},"map_files_photo_id_array":[{"photo_id":"1371804085","filename":"file5"},{"photo_id":"1371804076","filename":"file2"},{"photo_id":"1371804082","filename":"file4"},{"photo_id":"1371804073","filename":"file1"},{"photo_id":"1371804067","filename":"file0"},{"photo_id":"1371804079","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371804082":["hashtag1","hashtag2"]},{"1371804076":["hashtag1","hashtag2"]},{"1371804085":["hashtag1","hashtag2"]},{"1371804079":["hashtag1","hashtag2"]},{"1371804073":["hashtag1","hashtag2"]},{"1371804067":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371804082, 1371804076, 1371804085, 1371804079, 1371804073, 1371804067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.785884857177734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:03:47.248400
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_43_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_34_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_23_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_13_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/07/02/image_12072025_07_03_04_10679.jpg', 2), ('/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_53_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_43_9609.jpg', '/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_34_10622.jpg', '/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_23_9610.jpg', '/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_13_9670.jpg', '/home/nano/Desktop/images/12072025/07/02/image_12072025_07_03_04_10679.jpg', '/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_53_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_43_9609.jpg
/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_34_10622.jpg
/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_23_9610.jpg
/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_13_9670.jpg
/home/nano/Desktop/images/12072025/07/02/image_12072025_07_03_04_10679.jpg
/home/nano/Desktop/images/12072025/07/02/image_12072025_07_02_53_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371804110","1371804104","1371804107","1371804091","1371804100","1371804096"],"photo_ids_order":["1371804091","1371804096","1371804100","1371804104","1371804107","1371804110"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa6f34a98d3d5ecac3ce7bfc91c1d580.jpg","text":"TemporaryFile(/tmp/multipartBody972124513160505249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296688655,"filename":"image_12072025_07_02_53_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f643527a6493bb2aeb3dcc139301f27b.jpg","text":"TemporaryFile(/tmp/multipartBody4528938085740717185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296688655,"filename":"image_12072025_07_03_13_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5d1901fe513cd3fb912b62a641e1cbe.jpg","text":"TemporaryFile(/tmp/multipartBody1544508550110521394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296688655,"filename":"image_12072025_07_03_04_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f227489caba904a94ed6bb37ef8e44ab.jpg","text":"TemporaryFile(/tmp/multipartBody4878685126497206190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296688655,"filename":"image_12072025_07_03_43_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d005e6cec038b244948429aa1399204.jpg","text":"TemporaryFile(/tmp/multipartBody5504607375270104826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296688655,"filename":"image_12072025_07_03_23_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a68a9ddeeef3cb3d825a10a1f66b98b2.jpg","text":"TemporaryFile(/tmp/multipartBody3819925988365641912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296688655,"filename":"image_12072025_07_03_34_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371804100","file1":"1371804096","file0":"1371804091","file4":"1371804107","file5":"1371804110","file3":"1371804104"},"map_files_photo_id_array":[{"photo_id":"1371804110","filename":"file5"},{"photo_id":"1371804100","filename":"file2"},{"photo_id":"1371804107","filename":"file4"},{"photo_id":"1371804096","filename":"file1"},{"photo_id":"1371804091","filename":"file0"},{"photo_id":"1371804104","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371804110":["hashtag1","hashtag2"]},{"1371804104":["hashtag1","hashtag2"]},{"1371804107":["hashtag1","hashtag2"]},{"1371804091":["hashtag1","hashtag2"]},{"1371804100":["hashtag1","hashtag2"]},{"1371804096":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371804110, 1371804104, 1371804107, 1371804091, 1371804100, 1371804096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22300863265991 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:04:32.394012
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_43_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_34_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_24_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_13_9674.jpg', 2), ('/home/nano/Desktop/images/12072025/07/03/image_12072025_07_04_04_9682.jpg', 2), ('/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_43_9613.jpg', '/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_34_9613.jpg', '/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_24_10667.jpg', '/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_13_9674.jpg', '/home/nano/Desktop/images/12072025/07/03/image_12072025_07_04_04_9682.jpg', '/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_43_9613.jpg
/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_34_9613.jpg
/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_24_10667.jpg
/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_13_9674.jpg
/home/nano/Desktop/images/12072025/07/03/image_12072025_07_04_04_9682.jpg
/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_54_10622.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3329720497131348 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:04:47.334370
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_43_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_34_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_24_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_13_9674.jpg', 2), ('/home/nano/Desktop/images/12072025/07/03/image_12072025_07_04_04_9682.jpg', 2), ('/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_43_9613.jpg', '/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_34_9613.jpg', '/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_24_10667.jpg', '/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_13_9674.jpg', '/home/nano/Desktop/images/12072025/07/03/image_12072025_07_04_04_9682.jpg', '/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_43_9613.jpg
/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_34_9613.jpg
/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_24_10667.jpg
/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_13_9674.jpg
/home/nano/Desktop/images/12072025/07/03/image_12072025_07_04_04_9682.jpg
/home/nano/Desktop/images/12072025/07/03/image_12072025_07_03_54_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371804146","1371804143","1371804139","1371804136","1371804141","1371804138"],"photo_ids_order":["1371804136","1371804138","1371804139","1371804141","1371804143","1371804146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d8fedf83056dddc392854ee734097b9.jpg","text":"TemporaryFile(/tmp/multipartBody7879139177499051048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296748485,"filename":"image_12072025_07_03_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee2dd75a58ef10b37fffea84af059f5d.jpg","text":"TemporaryFile(/tmp/multipartBody3156656254781303776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296748485,"filename":"image_12072025_07_04_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08bcd84b4532ee71dc117a56c0968c73.jpg","text":"TemporaryFile(/tmp/multipartBody3932445673641001108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296748485,"filename":"image_12072025_07_04_24_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09a99262f8fe241d8337b217919e3e19.jpg","text":"TemporaryFile(/tmp/multipartBody2608704329065382221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296748485,"filename":"image_12072025_07_04_43_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fe4dd4c762ff52ab646086be8167c9b.jpg","text":"TemporaryFile(/tmp/multipartBody7237205040696369679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296748485,"filename":"image_12072025_07_04_13_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/591b691f335185a80d111a3fec5f56d7.jpg","text":"TemporaryFile(/tmp/multipartBody8542234265763564778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296748485,"filename":"image_12072025_07_04_34_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371804139","file1":"1371804138","file0":"1371804136","file4":"1371804143","file5":"1371804146","file3":"1371804141"},"map_files_photo_id_array":[{"photo_id":"1371804146","filename":"file5"},{"photo_id":"1371804139","filename":"file2"},{"photo_id":"1371804143","filename":"file4"},{"photo_id":"1371804138","filename":"file1"},{"photo_id":"1371804136","filename":"file0"},{"photo_id":"1371804141","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371804146":["hashtag1","hashtag2"]},{"1371804143":["hashtag1","hashtag2"]},{"1371804139":["hashtag1","hashtag2"]},{"1371804136":["hashtag1","hashtag2"]},{"1371804141":["hashtag1","hashtag2"]},{"1371804138":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371804146, 1371804143, 1371804139, 1371804136, 1371804141, 1371804138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.909274101257324 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:05:32.462622
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_44_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_33_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_24_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_13_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/07/04/image_12072025_07_05_03_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_54_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_44_10626.jpg', '/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_33_9666.jpg', '/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_24_10664.jpg', '/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_13_9630.jpg', '/home/nano/Desktop/images/12072025/07/04/image_12072025_07_05_03_9618.jpg', '/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_54_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_44_10626.jpg
/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_33_9666.jpg
/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_24_10664.jpg
/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_13_9630.jpg
/home/nano/Desktop/images/12072025/07/04/image_12072025_07_05_03_9618.jpg
/home/nano/Desktop/images/12072025/07/04/image_12072025_07_04_54_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371804181","1371804175","1371804166","1371804171","1371804168","1371804207"],"photo_ids_order":["1371804166","1371804168","1371804171","1371804175","1371804181","1371804207"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/807548683717375159c68b689bb14951.jpg","text":"TemporaryFile(/tmp/multipartBody876060717169535752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296793749,"filename":"image_12072025_07_05_03_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/493e6dbaf44e07a67257b1a6f0a1fe3c.jpg","text":"TemporaryFile(/tmp/multipartBody1819513110350204626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296793749,"filename":"image_12072025_07_05_13_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c2f2f9286bef23ced36115cc66d84ba.jpg","text":"TemporaryFile(/tmp/multipartBody3385498338075114046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296793749,"filename":"image_12072025_07_05_44_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20297e6317052227441da32e5e2edcdd.jpg","text":"TemporaryFile(/tmp/multipartBody3319319489789600211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296793749,"filename":"image_12072025_07_05_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9334708b737b9dff0cc780edb6f61b44.jpg","text":"TemporaryFile(/tmp/multipartBody2300437386446010132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296793749,"filename":"image_12072025_07_05_33_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83383ea969fab70530d7bcaea17ab594.jpg","text":"TemporaryFile(/tmp/multipartBody1840122742811019301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296793749,"filename":"image_12072025_07_04_54_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371804171","file1":"1371804168","file0":"1371804166","file4":"1371804181","file5":"1371804207","file3":"1371804175"},"map_files_photo_id_array":[{"photo_id":"1371804207","filename":"file5"},{"photo_id":"1371804171","filename":"file2"},{"photo_id":"1371804181","filename":"file4"},{"photo_id":"1371804168","filename":"file1"},{"photo_id":"1371804166","filename":"file0"},{"photo_id":"1371804175","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371804181":["hashtag1","hashtag2"]},{"1371804175":["hashtag1","hashtag2"]},{"1371804166":["hashtag1","hashtag2"]},{"1371804171":["hashtag1","hashtag2"]},{"1371804168":["hashtag1","hashtag2"]},{"1371804207":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371804181, 1371804175, 1371804166, 1371804171, 1371804168, 1371804207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34318494796753 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:06:17.562477
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_44_10602.jpg', 2), ('/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_33_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_24_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_14_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/07/05/image_12072025_07_06_03_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_44_10602.jpg', '/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_33_9593.jpg', '/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_24_9592.jpg', '/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_14_10674.jpg', '/home/nano/Desktop/images/12072025/07/05/image_12072025_07_06_03_9656.jpg', '/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_44_10602.jpg
/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_33_9593.jpg
/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_24_9592.jpg
/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_14_10674.jpg
/home/nano/Desktop/images/12072025/07/05/image_12072025_07_06_03_9656.jpg
/home/nano/Desktop/images/12072025/07/05/image_12072025_07_05_54_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371804278","1371804269","1371804283","1371804273","1371804281","1371804275"],"photo_ids_order":["1371804269","1371804273","1371804275","1371804278","1371804281","1371804283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4057f6bf4f26d7d36d6eec5b6c044f18.jpg","text":"TemporaryFile(/tmp/multipartBody3897321931452596936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296838868,"filename":"image_12072025_07_06_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3d41a7e1bd7aec6ba9a2cde5d8437d4.jpg","text":"TemporaryFile(/tmp/multipartBody7831039249468156947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296838868,"filename":"image_12072025_07_06_44_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32a22a1edaa457fb841829e3dc64f61a.jpg","text":"TemporaryFile(/tmp/multipartBody2861379740928594174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296838868,"filename":"image_12072025_07_05_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6531c7399a696fbb834282e1123bf60b.jpg","text":"TemporaryFile(/tmp/multipartBody2422665658265524140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296838868,"filename":"image_12072025_07_06_33_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25c9a1ac9b247f205ae1a2ee41a3bfc1.jpg","text":"TemporaryFile(/tmp/multipartBody8615182337848554777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296838868,"filename":"image_12072025_07_06_03_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b7eb382345ade4b82de2f720ac67cad.jpg","text":"TemporaryFile(/tmp/multipartBody1326880003720399868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296838868,"filename":"image_12072025_07_06_24_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371804275","file1":"1371804273","file0":"1371804269","file4":"1371804281","file5":"1371804283","file3":"1371804278"},"map_files_photo_id_array":[{"photo_id":"1371804283","filename":"file5"},{"photo_id":"1371804275","filename":"file2"},{"photo_id":"1371804281","filename":"file4"},{"photo_id":"1371804273","filename":"file1"},{"photo_id":"1371804269","filename":"file0"},{"photo_id":"1371804278","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371804278":["hashtag1","hashtag2"]},{"1371804269":["hashtag1","hashtag2"]},{"1371804283":["hashtag1","hashtag2"]},{"1371804273":["hashtag1","hashtag2"]},{"1371804281":["hashtag1","hashtag2"]},{"1371804275":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371804278, 1371804269, 1371804283, 1371804273, 1371804281, 1371804275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26596784591675 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:07:03.464521
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_14_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/20/48/image_10072025_20_49_03_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_54_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_44_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_33_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_24_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_14_10672.jpg', '/home/nano/Desktop/images/10072025/20/48/image_10072025_20_49_03_9657.jpg', '/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_54_9645.jpg', '/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_44_10657.jpg', '/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_33_9664.jpg', '/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_24_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/49/image_10072025_20_49_14_10672.jpg
/home/nano/Desktop/images/10072025/20/48/image_10072025_20_49_03_9657.jpg
/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_54_9645.jpg
/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_44_10657.jpg
/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_33_9664.jpg
/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_24_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371804391","1371804385","1371804388","1371804390","1371804366","1371804380"],"photo_ids_order":["1371804366","1371804380","1371804385","1371804388","1371804390","1371804391"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/478b5dbc98cdefc31480310ee1011813.jpg","text":"TemporaryFile(/tmp/multipartBody3505192459847804352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296886238,"filename":"image_10072025_20_48_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26fd3eeaa86bcce39829299cd4d1987b.jpg","text":"TemporaryFile(/tmp/multipartBody4201045171387960582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296886238,"filename":"image_10072025_20_48_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0df42bd6e8113c651c6880f8c4eafecd.jpg","text":"TemporaryFile(/tmp/multipartBody4117561202086977273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296886238,"filename":"image_10072025_20_48_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1bc111758ca46ae1e9728a7215f364d6.jpg","text":"TemporaryFile(/tmp/multipartBody6540433588144772627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296886238,"filename":"image_10072025_20_48_33_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/501ff23b14845ecf12c27589332397ff.jpg","text":"TemporaryFile(/tmp/multipartBody7677952706142318610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296886238,"filename":"image_10072025_20_49_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3ebabfe4081ea674351c387102680fb.jpg","text":"TemporaryFile(/tmp/multipartBody5028126325981723688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296886238,"filename":"image_10072025_20_49_03_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371804385","file1":"1371804380","file0":"1371804366","file4":"1371804390","file5":"1371804391","file3":"1371804388"},"map_files_photo_id_array":[{"photo_id":"1371804391","filename":"file5"},{"photo_id":"1371804385","filename":"file2"},{"photo_id":"1371804390","filename":"file4"},{"photo_id":"1371804380","filename":"file1"},{"photo_id":"1371804366","filename":"file0"},{"photo_id":"1371804388","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371804391":["hashtag1","hashtag2"]},{"1371804385":["hashtag1","hashtag2"]},{"1371804388":["hashtag1","hashtag2"]},{"1371804390":["hashtag1","hashtag2"]},{"1371804366":["hashtag1","hashtag2"]},{"1371804380":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371804391, 1371804385, 1371804388, 1371804390, 1371804366, 1371804380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2499725818634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:07:47.728893
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_43_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_34_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_23_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_14_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/07/06/image_12072025_07_07_04_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_53_9592.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_43_9608.jpg', '/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_34_10615.jpg', '/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_23_9603.jpg', '/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_14_9609.jpg', '/home/nano/Desktop/images/12072025/07/06/image_12072025_07_07_04_10612.jpg', '/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_53_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_43_9608.jpg
/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_34_10615.jpg
/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_23_9603.jpg
/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_14_9609.jpg
/home/nano/Desktop/images/12072025/07/06/image_12072025_07_07_04_10612.jpg
/home/nano/Desktop/images/12072025/07/06/image_12072025_07_06_53_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371804479","1371804475","1371804462","1371804471","1371804474","1371804468"],"photo_ids_order":["1371804462","1371804468","1371804471","1371804474","1371804475","1371804479"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7c0736c5d68ef1394e1fef35f19cd9e.jpg","text":"TemporaryFile(/tmp/multipartBody1218254722741336318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296928901,"filename":"image_12072025_07_06_53_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d97502826751e44b05c931e89e5a0989.jpg","text":"TemporaryFile(/tmp/multipartBody799198971722707275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296928901,"filename":"image_12072025_07_07_04_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2b8d153d4b915fac4072ff8467336ae.jpg","text":"TemporaryFile(/tmp/multipartBody3987883860370576913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296928901,"filename":"image_12072025_07_07_43_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/337a4362febb6b79f55a16076144eb41.jpg","text":"TemporaryFile(/tmp/multipartBody5796064210208460156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296928901,"filename":"image_12072025_07_07_23_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b63201744770f4391a71a11c0459d9b.jpg","text":"TemporaryFile(/tmp/multipartBody5231324474893044313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296928901,"filename":"image_12072025_07_07_14_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2040f5ade8992917c5a1cd9519a95bb.jpg","text":"TemporaryFile(/tmp/multipartBody8783837972927283990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296928901,"filename":"image_12072025_07_07_34_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371804471","file1":"1371804468","file0":"1371804462","file4":"1371804475","file5":"1371804479","file3":"1371804474"},"map_files_photo_id_array":[{"photo_id":"1371804479","filename":"file5"},{"photo_id":"1371804471","filename":"file2"},{"photo_id":"1371804475","filename":"file4"},{"photo_id":"1371804468","filename":"file1"},{"photo_id":"1371804462","filename":"file0"},{"photo_id":"1371804474","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371804479":["hashtag1","hashtag2"]},{"1371804475":["hashtag1","hashtag2"]},{"1371804462":["hashtag1","hashtag2"]},{"1371804471":["hashtag1","hashtag2"]},{"1371804474":["hashtag1","hashtag2"]},{"1371804468":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371804479, 1371804475, 1371804462, 1371804471, 1371804474, 1371804468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.558155059814453 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:08:31.898351
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_43_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_34_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_24_10606.jpg', 2), ('/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_13_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/07/07/image_12072025_07_08_04_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_54_10606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_43_9598.jpg', '/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_34_9600.jpg', '/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_24_10606.jpg', '/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_13_9644.jpg', '/home/nano/Desktop/images/12072025/07/07/image_12072025_07_08_04_9624.jpg', '/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_54_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_43_9598.jpg
/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_34_9600.jpg
/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_24_10606.jpg
/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_13_9644.jpg
/home/nano/Desktop/images/12072025/07/07/image_12072025_07_08_04_9624.jpg
/home/nano/Desktop/images/12072025/07/07/image_12072025_07_07_54_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371804575","1371804548","1371804577","1371804597","1371804558","1371804606"],"photo_ids_order":["1371804548","1371804558","1371804575","1371804577","1371804597","1371804606"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/528abe1d2fec2306a32c38e89e11575f.jpg","text":"TemporaryFile(/tmp/multipartBody2460721629148307309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296972906,"filename":"image_12072025_07_08_24_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d07ef9054a6a978b70c65e8ff462ccdf.jpg","text":"TemporaryFile(/tmp/multipartBody4908067188676794933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296972906,"filename":"image_12072025_07_08_43_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fb8ddb0a82a1cfb5780b114b84c193c.jpg","text":"TemporaryFile(/tmp/multipartBody348371148922455277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296972906,"filename":"image_12072025_07_08_13_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb107dfb648120e3ff79567f5e249693.jpg","text":"TemporaryFile(/tmp/multipartBody5490547941178065035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296972906,"filename":"image_12072025_07_08_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fe98a36f92ad374e6d17e136b8f29d5.jpg","text":"TemporaryFile(/tmp/multipartBody2863177907046469433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296972906,"filename":"image_12072025_07_08_34_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32a5175c3e8fc0ac53438e2f22c138ae.jpg","text":"TemporaryFile(/tmp/multipartBody2217100025948260501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752296972906,"filename":"image_12072025_07_07_54_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371804575","file1":"1371804558","file0":"1371804548","file4":"1371804597","file5":"1371804606","file3":"1371804577"},"map_files_photo_id_array":[{"photo_id":"1371804606","filename":"file5"},{"photo_id":"1371804575","filename":"file2"},{"photo_id":"1371804597","filename":"file4"},{"photo_id":"1371804558","filename":"file1"},{"photo_id":"1371804548","filename":"file0"},{"photo_id":"1371804577","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371804575":["hashtag1","hashtag2"]},{"1371804548":["hashtag1","hashtag2"]},{"1371804577":["hashtag1","hashtag2"]},{"1371804597":["hashtag1","hashtag2"]},{"1371804558":["hashtag1","hashtag2"]},{"1371804606":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371804575, 1371804548, 1371804577, 1371804597, 1371804558, 1371804606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.842973709106445 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:09:16.958942
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_44_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_33_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_24_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_14_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/07/08/image_12072025_07_09_03_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_54_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_44_10607.jpg', '/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_33_9596.jpg', '/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_24_9598.jpg', '/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_14_10623.jpg', '/home/nano/Desktop/images/12072025/07/08/image_12072025_07_09_03_9605.jpg', '/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_54_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_44_10607.jpg
/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_33_9596.jpg
/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_24_9598.jpg
/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_14_10623.jpg
/home/nano/Desktop/images/12072025/07/08/image_12072025_07_09_03_9605.jpg
/home/nano/Desktop/images/12072025/07/08/image_12072025_07_08_54_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371804758","1371804737","1371804727","1371804753","1371804741","1371804708"],"photo_ids_order":["1371804708","1371804727","1371804737","1371804741","1371804753","1371804758"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/844559387197d9c77b4db9a6c0deef9b.jpg","text":"TemporaryFile(/tmp/multipartBody7371230782040785071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297018020,"filename":"image_12072025_07_08_54_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e38f32b701a8d3ca21604a42e688398.jpg","text":"TemporaryFile(/tmp/multipartBody9073262171841248093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297018020,"filename":"image_12072025_07_09_24_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/514695a56d404d59a0425f39e7b12d9a.jpg","text":"TemporaryFile(/tmp/multipartBody6091549059108650576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297018020,"filename":"image_12072025_07_09_33_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b3c0cbc89b53acd808cc6c710407a75.jpg","text":"TemporaryFile(/tmp/multipartBody8260433169723871967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297018020,"filename":"image_12072025_07_09_03_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb71ef7f8ed025a53888eb611f5e8323.jpg","text":"TemporaryFile(/tmp/multipartBody5644552480908472581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297018020,"filename":"image_12072025_07_09_14_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8af6e72e92b5679863dc183b453b7695.jpg","text":"TemporaryFile(/tmp/multipartBody2544007673165794067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297018020,"filename":"image_12072025_07_09_44_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371804737","file1":"1371804727","file0":"1371804708","file4":"1371804753","file5":"1371804758","file3":"1371804741"},"map_files_photo_id_array":[{"photo_id":"1371804758","filename":"file5"},{"photo_id":"1371804737","filename":"file2"},{"photo_id":"1371804753","filename":"file4"},{"photo_id":"1371804727","filename":"file1"},{"photo_id":"1371804708","filename":"file0"},{"photo_id":"1371804741","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371804758":["hashtag1","hashtag2"]},{"1371804737":["hashtag1","hashtag2"]},{"1371804727":["hashtag1","hashtag2"]},{"1371804753":["hashtag1","hashtag2"]},{"1371804741":["hashtag1","hashtag2"]},{"1371804708":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371804758, 1371804737, 1371804727, 1371804753, 1371804741, 1371804708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.315436601638794 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:10:02.607989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_14_10695.jpg', 2), ('/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_54_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_44_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_33_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_24_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_14_10701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_14_10695.jpg', '/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_54_9648.jpg', '/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_44_10675.jpg', '/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_33_9649.jpg', '/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_24_9663.jpg', '/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_14_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_14_10695.jpg
/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_54_9648.jpg
/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_44_10675.jpg
/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_33_9649.jpg
/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_24_9663.jpg
/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_14_10701.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8278777599334717 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:10:17.022831
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_43_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_34_10599.jpg', 2), ('/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_23_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_14_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/07/09/image_12072025_07_10_04_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_53_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_43_9592.jpg', '/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_34_10599.jpg', '/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_23_9607.jpg', '/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_14_9616.jpg', '/home/nano/Desktop/images/12072025/07/09/image_12072025_07_10_04_10611.jpg', '/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_53_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_43_9592.jpg
/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_34_10599.jpg
/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_23_9607.jpg
/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_14_9616.jpg
/home/nano/Desktop/images/12072025/07/09/image_12072025_07_10_04_10611.jpg
/home/nano/Desktop/images/12072025/07/09/image_12072025_07_09_53_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371804866","1371805016","1371804985","1371804942","1371804998","1371804863"],"photo_ids_order":["1371804863","1371804866","1371804942","1371804985","1371804998","1371805016"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff14374f5a8b337bc3a1547a5e94fa1e.jpg","text":"TemporaryFile(/tmp/multipartBody7334587556466284913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297077947,"filename":"image_12072025_07_10_34_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9336f6dbe1dbaf32fcc47399930ff2e9.jpg","text":"TemporaryFile(/tmp/multipartBody7921574030574734633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297077947,"filename":"image_12072025_07_09_53_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c899be872a9f58941b7d82d8a0cd8e49.jpg","text":"TemporaryFile(/tmp/multipartBody1357275933992912745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297077947,"filename":"image_12072025_07_10_14_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7eb16cdb1322e8a25402104fdc4e1778.jpg","text":"TemporaryFile(/tmp/multipartBody2955222874082990340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297077947,"filename":"image_12072025_07_10_23_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f2cc136eb7026c841afee1b27f2b1a8.jpg","text":"TemporaryFile(/tmp/multipartBody1501584992492897013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297077947,"filename":"image_12072025_07_10_04_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95c5ca7c64688cc090ffc83f807357b3.jpg","text":"TemporaryFile(/tmp/multipartBody3555077614976850892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297077947,"filename":"image_12072025_07_10_43_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371804942","file1":"1371804866","file0":"1371804863","file4":"1371804998","file5":"1371805016","file3":"1371804985"},"map_files_photo_id_array":[{"photo_id":"1371805016","filename":"file5"},{"photo_id":"1371804942","filename":"file2"},{"photo_id":"1371804998","filename":"file4"},{"photo_id":"1371804866","filename":"file1"},{"photo_id":"1371804863","filename":"file0"},{"photo_id":"1371804985","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371804866":["hashtag1","hashtag2"]},{"1371805016":["hashtag1","hashtag2"]},{"1371804985":["hashtag1","hashtag2"]},{"1371804942":["hashtag1","hashtag2"]},{"1371804998":["hashtag1","hashtag2"]},{"1371804863":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371804866, 1371805016, 1371804985, 1371804942, 1371804998, 1371804863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.88092637062073 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:11:02.802878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_14_10695.jpg', 2), ('/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_54_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_44_10675.jpg', 2), ('/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_33_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_24_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_14_10701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_14_10695.jpg', '/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_54_9648.jpg', '/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_44_10675.jpg', '/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_33_9649.jpg', '/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_24_9663.jpg', '/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_14_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/48/image_10072025_20_48_14_10695.jpg
/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_54_9648.jpg
/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_44_10675.jpg
/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_33_9649.jpg
/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_24_9663.jpg
/home/nano/Desktop/images/10072025/20/47/image_10072025_20_47_14_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371805083","1371805077","1371805071","1371805073","1371805055","1371805085"],"photo_ids_order":["1371805055","1371805071","1371805073","1371805077","1371805083","1371805085"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/028c62cccd8d2cde2f340f455e2e0b84.jpg","text":"TemporaryFile(/tmp/multipartBody6377823664044918227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297125713,"filename":"image_10072025_20_47_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/308e2acd1f42b2eeb219c5ff8a5c490b.jpg","text":"TemporaryFile(/tmp/multipartBody4258340331159197833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297125713,"filename":"image_10072025_20_47_33_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c57bee245a4b117b7b75fc0cbe867e87.jpg","text":"TemporaryFile(/tmp/multipartBody395563461661298754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297125713,"filename":"image_10072025_20_47_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a53164c4b1bfedfec51a623812d67452.jpg","text":"TemporaryFile(/tmp/multipartBody1236380674659864012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297125713,"filename":"image_10072025_20_47_44_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c339372f8993b4437f2081fba22e668f.jpg","text":"TemporaryFile(/tmp/multipartBody4905467151963860546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297125713,"filename":"image_10072025_20_48_14_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d93b3156d72431def1812f756d430c27.jpg","text":"TemporaryFile(/tmp/multipartBody4929825480962140436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297125713,"filename":"image_10072025_20_47_14_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371805073","file1":"1371805071","file0":"1371805055","file4":"1371805083","file5":"1371805085","file3":"1371805077"},"map_files_photo_id_array":[{"photo_id":"1371805085","filename":"file5"},{"photo_id":"1371805073","filename":"file2"},{"photo_id":"1371805083","filename":"file4"},{"photo_id":"1371805071","filename":"file1"},{"photo_id":"1371805055","filename":"file0"},{"photo_id":"1371805077","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371805083":["hashtag1","hashtag2"]},{"1371805077":["hashtag1","hashtag2"]},{"1371805071":["hashtag1","hashtag2"]},{"1371805073":["hashtag1","hashtag2"]},{"1371805055":["hashtag1","hashtag2"]},{"1371805085":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371805083, 1371805077, 1371805071, 1371805073, 1371805055, 1371805085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.024635314941406 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:11:47.125143
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_44_10608.jpg', 2), ('/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_33_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_24_10605.jpg', 2), ('/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_13_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/07/10/image_12072025_07_11_04_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_54_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_44_10608.jpg', '/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_33_9612.jpg', '/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_24_10605.jpg', '/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_13_9621.jpg', '/home/nano/Desktop/images/12072025/07/10/image_12072025_07_11_04_9608.jpg', '/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_54_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_44_10608.jpg
/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_33_9612.jpg
/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_24_10605.jpg
/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_13_9621.jpg
/home/nano/Desktop/images/12072025/07/10/image_12072025_07_11_04_9608.jpg
/home/nano/Desktop/images/12072025/07/10/image_12072025_07_10_54_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371805186","1371805147","1371805194","1371805095","1371805176","1371805122"],"photo_ids_order":["1371805095","1371805122","1371805147","1371805176","1371805186","1371805194"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4aa2b9a869c3ec581c60933842842290.jpg","text":"TemporaryFile(/tmp/multipartBody2962765045837126504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297168272,"filename":"image_12072025_07_11_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68820184160e287526e921c917600725.jpg","text":"TemporaryFile(/tmp/multipartBody5837284969566358295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297168272,"filename":"image_12072025_07_11_24_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee26eb8d2eba982c3da1712e76623d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2704743943588306618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297168272,"filename":"image_12072025_07_10_54_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ba17bef90f17330d3dca2c4bc772da3.jpg","text":"TemporaryFile(/tmp/multipartBody8370751135443967690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297168272,"filename":"image_12072025_07_11_44_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8bdbda931ea459f46f1f762da845bbba.jpg","text":"TemporaryFile(/tmp/multipartBody3018706561381855370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297168272,"filename":"image_12072025_07_11_13_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb7998abb4be5f257e956b6f5ce94962.jpg","text":"TemporaryFile(/tmp/multipartBody5547453812749705991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297168272,"filename":"image_12072025_07_11_33_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371805147","file1":"1371805122","file0":"1371805095","file4":"1371805186","file5":"1371805194","file3":"1371805176"},"map_files_photo_id_array":[{"photo_id":"1371805194","filename":"file5"},{"photo_id":"1371805147","filename":"file2"},{"photo_id":"1371805186","filename":"file4"},{"photo_id":"1371805122","filename":"file1"},{"photo_id":"1371805095","filename":"file0"},{"photo_id":"1371805176","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371805186":["hashtag1","hashtag2"]},{"1371805147":["hashtag1","hashtag2"]},{"1371805194":["hashtag1","hashtag2"]},{"1371805095":["hashtag1","hashtag2"]},{"1371805176":["hashtag1","hashtag2"]},{"1371805122":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371805186, 1371805147, 1371805194, 1371805095, 1371805176, 1371805122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78121614456177 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:12:32.224244
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_44_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_33_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_24_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_14_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/07/11/image_12072025_07_12_03_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_54_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_44_10611.jpg', '/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_33_9601.jpg', '/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_24_9596.jpg', '/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_14_10649.jpg', '/home/nano/Desktop/images/12072025/07/11/image_12072025_07_12_03_9627.jpg', '/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_54_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_44_10611.jpg
/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_33_9601.jpg
/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_24_9596.jpg
/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_14_10649.jpg
/home/nano/Desktop/images/12072025/07/11/image_12072025_07_12_03_9627.jpg
/home/nano/Desktop/images/12072025/07/11/image_12072025_07_11_54_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371805273","1371805306","1371805281","1371805269","1371805277","1371805265"],"photo_ids_order":["1371805265","1371805269","1371805273","1371805277","1371805281","1371805306"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93cdf90055e6df8babbac7bd406e439d.jpg","text":"TemporaryFile(/tmp/multipartBody4022319525910848143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297213508,"filename":"image_12072025_07_12_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2493ee7ac38ddc71cff0e34e43331edb.jpg","text":"TemporaryFile(/tmp/multipartBody9101183272413527934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297213508,"filename":"image_12072025_07_11_54_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb548d18fc9c71d0e12734fff3409878.jpg","text":"TemporaryFile(/tmp/multipartBody846793057485934245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297213508,"filename":"image_12072025_07_12_03_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/959917677c6612753e46d60922c6622b.jpg","text":"TemporaryFile(/tmp/multipartBody2909097528108152275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297213508,"filename":"image_12072025_07_12_33_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4643ea5c6d08164f1b96328e0d02b246.jpg","text":"TemporaryFile(/tmp/multipartBody4786457558288050142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297213508,"filename":"image_12072025_07_12_14_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dcabeed68b2dc7a9357b1d800423b2e1.jpg","text":"TemporaryFile(/tmp/multipartBody2865510650604468790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297213508,"filename":"image_12072025_07_12_44_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371805273","file1":"1371805269","file0":"1371805265","file4":"1371805281","file5":"1371805306","file3":"1371805277"},"map_files_photo_id_array":[{"photo_id":"1371805306","filename":"file5"},{"photo_id":"1371805273","filename":"file2"},{"photo_id":"1371805281","filename":"file4"},{"photo_id":"1371805269","filename":"file1"},{"photo_id":"1371805265","filename":"file0"},{"photo_id":"1371805277","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371805273":["hashtag1","hashtag2"]},{"1371805306":["hashtag1","hashtag2"]},{"1371805281":["hashtag1","hashtag2"]},{"1371805269":["hashtag1","hashtag2"]},{"1371805277":["hashtag1","hashtag2"]},{"1371805265":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371805273, 1371805306, 1371805281, 1371805269, 1371805277, 1371805265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90776228904724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:13:17.331195
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_43_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_34_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_23_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_14_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/07/12/image_12072025_07_13_04_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_53_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_43_9609.jpg', '/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_34_10625.jpg', '/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_23_9613.jpg', '/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_14_9615.jpg', '/home/nano/Desktop/images/12072025/07/12/image_12072025_07_13_04_10620.jpg', '/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_53_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_43_9609.jpg
/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_34_10625.jpg
/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_23_9613.jpg
/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_14_9615.jpg
/home/nano/Desktop/images/12072025/07/12/image_12072025_07_13_04_10620.jpg
/home/nano/Desktop/images/12072025/07/12/image_12072025_07_12_53_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371805430","1371805458","1371805443","1371805437","1371805452","1371805407"],"photo_ids_order":["1371805407","1371805430","1371805437","1371805443","1371805452","1371805458"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1af4dbdfb9c7f5119df433f274fe8595.jpg","text":"TemporaryFile(/tmp/multipartBody7033080325689887117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297258287,"filename":"image_12072025_07_13_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ebe923c30ff3c0ead287803ffbcc3a4.jpg","text":"TemporaryFile(/tmp/multipartBody4925853052494439765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297258287,"filename":"image_12072025_07_12_53_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c176376edb244aaccce1eeee8ab12c9c.jpg","text":"TemporaryFile(/tmp/multipartBody6894300552373340786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297258287,"filename":"image_12072025_07_13_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5a88ba3fbd11425eb7a7ead0ac2f35c.jpg","text":"TemporaryFile(/tmp/multipartBody3492707317514361111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297258287,"filename":"image_12072025_07_13_23_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe9057607c9183c7a3b4bc6af0e82836.jpg","text":"TemporaryFile(/tmp/multipartBody7064078241070396523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297258287,"filename":"image_12072025_07_13_04_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf5fd0ce5d8ba9887e45c67eae9c015f.jpg","text":"TemporaryFile(/tmp/multipartBody4455304214643410900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297258287,"filename":"image_12072025_07_13_43_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371805437","file1":"1371805430","file0":"1371805407","file4":"1371805452","file5":"1371805458","file3":"1371805443"},"map_files_photo_id_array":[{"photo_id":"1371805458","filename":"file5"},{"photo_id":"1371805437","filename":"file2"},{"photo_id":"1371805452","filename":"file4"},{"photo_id":"1371805430","filename":"file1"},{"photo_id":"1371805407","filename":"file0"},{"photo_id":"1371805443","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371805430":["hashtag1","hashtag2"]},{"1371805458":["hashtag1","hashtag2"]},{"1371805443":["hashtag1","hashtag2"]},{"1371805437":["hashtag1","hashtag2"]},{"1371805452":["hashtag1","hashtag2"]},{"1371805407":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371805430, 1371805458, 1371805443, 1371805437, 1371805452, 1371805407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.740280866622925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:14:03.373757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/46/image_10072025_20_47_03_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/20/46/image_10072025_20_46_54_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/20/46/image_10072025_20_46_44_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/20/46/image_10072025_20_46_33_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/46/image_10072025_20_46_24_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/20/45/image_10072025_20_46_03_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/46/image_10072025_20_47_03_9655.jpg', '/home/nano/Desktop/images/10072025/20/46/image_10072025_20_46_54_9654.jpg', '/home/nano/Desktop/images/10072025/20/46/image_10072025_20_46_44_10662.jpg', '/home/nano/Desktop/images/10072025/20/46/image_10072025_20_46_33_9646.jpg', '/home/nano/Desktop/images/10072025/20/46/image_10072025_20_46_24_9665.jpg', '/home/nano/Desktop/images/10072025/20/45/image_10072025_20_46_03_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/46/image_10072025_20_47_03_9655.jpg
/home/nano/Desktop/images/10072025/20/46/image_10072025_20_46_54_9654.jpg
/home/nano/Desktop/images/10072025/20/46/image_10072025_20_46_44_10662.jpg
/home/nano/Desktop/images/10072025/20/46/image_10072025_20_46_33_9646.jpg
/home/nano/Desktop/images/10072025/20/46/image_10072025_20_46_24_9665.jpg
/home/nano/Desktop/images/10072025/20/45/image_10072025_20_46_03_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371805528","1371805510","1371805530","1371805524","1371805547","1371805532"],"photo_ids_order":["1371805510","1371805524","1371805528","1371805530","1371805532","1371805547"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ac825dc9c2b78e0ddac8a17b6e89207.jpg","text":"TemporaryFile(/tmp/multipartBody4366324375484181198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297306226,"filename":"image_10072025_20_46_44_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c31a3b74dce3cce3fb88d8e2e99f27dd.jpg","text":"TemporaryFile(/tmp/multipartBody4178372804121312803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297306226,"filename":"image_10072025_20_47_03_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3ae5c11cfe6efee20fc29f5bd818b39.jpg","text":"TemporaryFile(/tmp/multipartBody5232581852901573622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297306226,"filename":"image_10072025_20_46_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa252131180822b2b0dff8d2ab71aa60.jpg","text":"TemporaryFile(/tmp/multipartBody1891029576729340312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297306226,"filename":"image_10072025_20_46_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ee7f9b753fed4b12da3683e3fbdf60e.jpg","text":"TemporaryFile(/tmp/multipartBody8908518161164931592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297306226,"filename":"image_10072025_20_46_03_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/69cf59d78268644b950d9e1f2bf87ab4.jpg","text":"TemporaryFile(/tmp/multipartBody4354708644704873799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297306226,"filename":"image_10072025_20_46_24_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371805528","file1":"1371805524","file0":"1371805510","file4":"1371805532","file5":"1371805547","file3":"1371805530"},"map_files_photo_id_array":[{"photo_id":"1371805547","filename":"file5"},{"photo_id":"1371805528","filename":"file2"},{"photo_id":"1371805532","filename":"file4"},{"photo_id":"1371805524","filename":"file1"},{"photo_id":"1371805510","filename":"file0"},{"photo_id":"1371805530","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371805528":["hashtag1","hashtag2"]},{"1371805510":["hashtag1","hashtag2"]},{"1371805530":["hashtag1","hashtag2"]},{"1371805524":["hashtag1","hashtag2"]},{"1371805547":["hashtag1","hashtag2"]},{"1371805532":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371805528, 1371805510, 1371805530, 1371805524, 1371805547, 1371805532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.976043701171875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:14:47.570736
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_43_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_34_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_24_10604.jpg', 2), ('/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_13_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/07/13/image_12072025_07_14_04_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_53_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_43_9611.jpg', '/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_34_9596.jpg', '/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_24_10604.jpg', '/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_13_9637.jpg', '/home/nano/Desktop/images/12072025/07/13/image_12072025_07_14_04_10623.jpg', '/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_53_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_43_9611.jpg
/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_34_9596.jpg
/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_24_10604.jpg
/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_13_9637.jpg
/home/nano/Desktop/images/12072025/07/13/image_12072025_07_14_04_10623.jpg
/home/nano/Desktop/images/12072025/07/13/image_12072025_07_13_53_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371805594","1371805600","1371805599","1371805596","1371805602","1371805592"],"photo_ids_order":["1371805592","1371805594","1371805596","1371805599","1371805600","1371805602"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9782ebf1dcd180fe9024f98dd6cf6487.jpg","text":"TemporaryFile(/tmp/multipartBody7637639973956005122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297348802,"filename":"image_12072025_07_14_34_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6340c8a6594ecfc45b040898c26ebe9c.jpg","text":"TemporaryFile(/tmp/multipartBody5362444883995508194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297348802,"filename":"image_12072025_07_14_04_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d277fe2c46b9618d3234f2db003dea18.jpg","text":"TemporaryFile(/tmp/multipartBody5274469243844967246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297348802,"filename":"image_12072025_07_14_13_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c2baaf122696cc623d3811421516a01.jpg","text":"TemporaryFile(/tmp/multipartBody6719995681669883435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297348802,"filename":"image_12072025_07_14_24_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c3b5d8c451e841fe2d6e4ffb43887bb.jpg","text":"TemporaryFile(/tmp/multipartBody3546274431657296184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297348802,"filename":"image_12072025_07_13_53_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18b993b4237197ae39ea26f0beb875e1.jpg","text":"TemporaryFile(/tmp/multipartBody3040487780622206741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297348802,"filename":"image_12072025_07_14_43_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371805596","file1":"1371805594","file0":"1371805592","file4":"1371805600","file5":"1371805602","file3":"1371805599"},"map_files_photo_id_array":[{"photo_id":"1371805602","filename":"file5"},{"photo_id":"1371805596","filename":"file2"},{"photo_id":"1371805600","filename":"file4"},{"photo_id":"1371805594","filename":"file1"},{"photo_id":"1371805592","filename":"file0"},{"photo_id":"1371805599","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371805594":["hashtag1","hashtag2"]},{"1371805600":["hashtag1","hashtag2"]},{"1371805599":["hashtag1","hashtag2"]},{"1371805596":["hashtag1","hashtag2"]},{"1371805602":["hashtag1","hashtag2"]},{"1371805592":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371805594, 1371805600, 1371805599, 1371805596, 1371805602, 1371805592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.329944372177124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:15:32.679744
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_44_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_33_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_24_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_14_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/07/14/image_12072025_07_15_03_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_44_10607.jpg', '/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_33_9601.jpg', '/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_24_9600.jpg', '/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_14_10649.jpg', '/home/nano/Desktop/images/12072025/07/14/image_12072025_07_15_03_9624.jpg', '/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_44_10607.jpg
/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_33_9601.jpg
/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_24_9600.jpg
/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_14_10649.jpg
/home/nano/Desktop/images/12072025/07/14/image_12072025_07_15_03_9624.jpg
/home/nano/Desktop/images/12072025/07/14/image_12072025_07_14_54_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371805807","1371805680","1371805650","1371805775","1371805713","1371805745"],"photo_ids_order":["1371805650","1371805680","1371805713","1371805745","1371805775","1371805807"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15ff321860bf6d6ff4b990234921bc0a.jpg","text":"TemporaryFile(/tmp/multipartBody7324606959869558600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297393913,"filename":"image_12072025_07_14_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f34421a65cbf4b4f4a482834e727189.jpg","text":"TemporaryFile(/tmp/multipartBody5045970954581612527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297393913,"filename":"image_12072025_07_15_33_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab4dd32eb309d7c4c5a302c637a344b4.jpg","text":"TemporaryFile(/tmp/multipartBody4656007012147620092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297393913,"filename":"image_12072025_07_15_44_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/134750d6127abee7fc4175926d201fc1.jpg","text":"TemporaryFile(/tmp/multipartBody8694114041859934316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297393913,"filename":"image_12072025_07_15_03_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc823701aa646a8bc564cc1a28a5e6c8.jpg","text":"TemporaryFile(/tmp/multipartBody322813600904131816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297393913,"filename":"image_12072025_07_15_24_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9751035cc4300c951418c4955512fff3.jpg","text":"TemporaryFile(/tmp/multipartBody6397976954212915128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297393913,"filename":"image_12072025_07_15_14_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371805713","file1":"1371805680","file0":"1371805650","file4":"1371805775","file5":"1371805807","file3":"1371805745"},"map_files_photo_id_array":[{"photo_id":"1371805807","filename":"file5"},{"photo_id":"1371805713","filename":"file2"},{"photo_id":"1371805775","filename":"file4"},{"photo_id":"1371805680","filename":"file1"},{"photo_id":"1371805650","filename":"file0"},{"photo_id":"1371805745","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371805807":["hashtag1","hashtag2"]},{"1371805680":["hashtag1","hashtag2"]},{"1371805650":["hashtag1","hashtag2"]},{"1371805775":["hashtag1","hashtag2"]},{"1371805713":["hashtag1","hashtag2"]},{"1371805745":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371805807, 1371805680, 1371805650, 1371805775, 1371805713, 1371805745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14071536064148 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:16:16.805778
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_43_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_34_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_23_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_14_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/07/15/image_12072025_07_16_04_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_53_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_43_9597.jpg', '/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_34_10616.jpg', '/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_23_9598.jpg', '/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_14_9613.jpg', '/home/nano/Desktop/images/12072025/07/15/image_12072025_07_16_04_10620.jpg', '/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_53_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_43_9597.jpg
/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_34_10616.jpg
/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_23_9598.jpg
/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_14_9613.jpg
/home/nano/Desktop/images/12072025/07/15/image_12072025_07_16_04_10620.jpg
/home/nano/Desktop/images/12072025/07/15/image_12072025_07_15_53_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371805928","1371805936","1371805935","1371805914","1371805943","1371805910"],"photo_ids_order":["1371805910","1371805914","1371805928","1371805935","1371805936","1371805943"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15f073d5206d9d020def9737dde71d59.jpg","text":"TemporaryFile(/tmp/multipartBody8875606593420585279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297438033,"filename":"image_12072025_07_16_23_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/caf798a3d551b3d62e43e4a2d36d13b2.jpg","text":"TemporaryFile(/tmp/multipartBody1132480273851626893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297438033,"filename":"image_12072025_07_16_04_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e0238c54dcf4f945395ede564ccd3c2.jpg","text":"TemporaryFile(/tmp/multipartBody2827416229326993707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297438033,"filename":"image_12072025_07_16_14_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e23e5682274c4caa409ee92ae7a9709.jpg","text":"TemporaryFile(/tmp/multipartBody9083474300912210861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297438033,"filename":"image_12072025_07_16_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24f2d9aff3fc841f1fc5dc9bb29df0c8.jpg","text":"TemporaryFile(/tmp/multipartBody6724859743303587915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297438033,"filename":"image_12072025_07_15_53_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcbac9827347a8e94c926b454f573586.jpg","text":"TemporaryFile(/tmp/multipartBody5601188361877567573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297438033,"filename":"image_12072025_07_16_43_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371805928","file1":"1371805914","file0":"1371805910","file4":"1371805936","file5":"1371805943","file3":"1371805935"},"map_files_photo_id_array":[{"photo_id":"1371805943","filename":"file5"},{"photo_id":"1371805928","filename":"file2"},{"photo_id":"1371805936","filename":"file4"},{"photo_id":"1371805914","filename":"file1"},{"photo_id":"1371805910","filename":"file0"},{"photo_id":"1371805935","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371805928":["hashtag1","hashtag2"]},{"1371805936":["hashtag1","hashtag2"]},{"1371805935":["hashtag1","hashtag2"]},{"1371805914":["hashtag1","hashtag2"]},{"1371805943":["hashtag1","hashtag2"]},{"1371805910":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371805928, 1371805936, 1371805935, 1371805914, 1371805943, 1371805910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06096816062927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:17:02.451951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_54_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_44_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_33_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_24_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_14_10698.jpg', 2), ('/home/nano/Desktop/images/10072025/20/44/image_10072025_20_44_44_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_54_9647.jpg', '/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_44_10654.jpg', '/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_33_9649.jpg', '/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_24_9662.jpg', '/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_14_10698.jpg', '/home/nano/Desktop/images/10072025/20/44/image_10072025_20_44_44_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_54_9647.jpg
/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_44_10654.jpg
/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_33_9649.jpg
/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_24_9662.jpg
/home/nano/Desktop/images/10072025/20/45/image_10072025_20_45_14_10698.jpg
/home/nano/Desktop/images/10072025/20/44/image_10072025_20_44_44_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371805984","1371806005","1371805994","1371806003","1371805997","1371806000"],"photo_ids_order":["1371805984","1371805994","1371805997","1371806000","1371806003","1371806005"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac1f329e4bc4324ece84efc30d683d11.jpg","text":"TemporaryFile(/tmp/multipartBody1784144557155488393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297485139,"filename":"image_10072025_20_45_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b6f8be2bffd35c550c03cab78195f2d.jpg","text":"TemporaryFile(/tmp/multipartBody4272739506931160200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297485139,"filename":"image_10072025_20_44_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f7d822d41d0ba021c324b92c941de17.jpg","text":"TemporaryFile(/tmp/multipartBody84734220698149464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297485139,"filename":"image_10072025_20_45_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/365598ed50486517933fd10266eaaaf6.jpg","text":"TemporaryFile(/tmp/multipartBody8970181083712478282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297485139,"filename":"image_10072025_20_45_14_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/baa9976ca66481707634129c6a488b0a.jpg","text":"TemporaryFile(/tmp/multipartBody2171176083796862886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297485139,"filename":"image_10072025_20_45_33_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46b1ad662dd183240485ac2e346719dc.jpg","text":"TemporaryFile(/tmp/multipartBody2047624709300776928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297485139,"filename":"image_10072025_20_45_24_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371805997","file1":"1371805994","file0":"1371805984","file4":"1371806003","file5":"1371806005","file3":"1371806000"},"map_files_photo_id_array":[{"photo_id":"1371806005","filename":"file5"},{"photo_id":"1371805997","filename":"file2"},{"photo_id":"1371806003","filename":"file4"},{"photo_id":"1371805994","filename":"file1"},{"photo_id":"1371805984","filename":"file0"},{"photo_id":"1371806000","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371805984":["hashtag1","hashtag2"]},{"1371806005":["hashtag1","hashtag2"]},{"1371805994":["hashtag1","hashtag2"]},{"1371806003":["hashtag1","hashtag2"]},{"1371805997":["hashtag1","hashtag2"]},{"1371806000":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371805984, 1371806005, 1371805994, 1371806003, 1371805997, 1371806000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49459981918335 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:17:46.856677
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_43_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_34_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_24_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_13_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/07/16/image_12072025_07_17_04_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_53_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_43_9615.jpg', '/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_34_9599.jpg', '/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_24_10614.jpg', '/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_13_9613.jpg', '/home/nano/Desktop/images/12072025/07/16/image_12072025_07_17_04_10628.jpg', '/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_53_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_43_9615.jpg
/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_34_9599.jpg
/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_24_10614.jpg
/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_13_9613.jpg
/home/nano/Desktop/images/12072025/07/16/image_12072025_07_17_04_10628.jpg
/home/nano/Desktop/images/12072025/07/16/image_12072025_07_16_53_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371806134","1371806055","1371806136","1371806045","1371806039","1371806105"],"photo_ids_order":["1371806039","1371806045","1371806055","1371806105","1371806134","1371806136"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39a41b43b78dd80b20f6c18396cddfce.jpg","text":"TemporaryFile(/tmp/multipartBody3106726527954148583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297527960,"filename":"image_12072025_07_17_04_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/437517d9dabe3c6f47de007f94085284.jpg","text":"TemporaryFile(/tmp/multipartBody5594738569406391043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297527960,"filename":"image_12072025_07_17_24_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e53d52b4c1c4c6774ace7e4481ce207.jpg","text":"TemporaryFile(/tmp/multipartBody6196751718167490168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297527960,"filename":"image_12072025_07_16_53_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e4267a4fd99e9573db6eb59463d4acf.jpg","text":"TemporaryFile(/tmp/multipartBody1031651650421808750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297527960,"filename":"image_12072025_07_17_34_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b33a1c8f66cafa47d41d4ec542212d0d.jpg","text":"TemporaryFile(/tmp/multipartBody3686479791307203747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297527960,"filename":"image_12072025_07_17_43_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22eaac8479ede646c90c84840bb1ea07.jpg","text":"TemporaryFile(/tmp/multipartBody9072272152167809412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297527960,"filename":"image_12072025_07_17_13_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371806055","file1":"1371806045","file0":"1371806039","file4":"1371806134","file5":"1371806136","file3":"1371806105"},"map_files_photo_id_array":[{"photo_id":"1371806136","filename":"file5"},{"photo_id":"1371806055","filename":"file2"},{"photo_id":"1371806134","filename":"file4"},{"photo_id":"1371806045","filename":"file1"},{"photo_id":"1371806039","filename":"file0"},{"photo_id":"1371806105","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371806134":["hashtag1","hashtag2"]},{"1371806055":["hashtag1","hashtag2"]},{"1371806136":["hashtag1","hashtag2"]},{"1371806045":["hashtag1","hashtag2"]},{"1371806039":["hashtag1","hashtag2"]},{"1371806105":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371806134, 1371806055, 1371806136, 1371806045, 1371806039, 1371806105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.299240589141846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:18:31.959953
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/18/image_12072025_07_18_44_10606.jpg', 2), ('/home/nano/Desktop/images/12072025/07/18/image_12072025_07_18_33_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/07/18/image_12072025_07_18_14_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/07/17/image_12072025_07_18_03_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_54_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/18/image_12072025_07_18_44_10606.jpg', '/home/nano/Desktop/images/12072025/07/18/image_12072025_07_18_33_9600.jpg', '/home/nano/Desktop/images/12072025/07/18/image_12072025_07_18_14_10674.jpg', '/home/nano/Desktop/images/12072025/07/17/image_12072025_07_18_03_9608.jpg', '/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_54_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/18/image_12072025_07_18_44_10606.jpg
/home/nano/Desktop/images/12072025/07/18/image_12072025_07_18_33_9600.jpg
/home/nano/Desktop/images/12072025/07/18/image_12072025_07_18_14_10674.jpg
/home/nano/Desktop/images/12072025/07/17/image_12072025_07_18_03_9608.jpg
/home/nano/Desktop/images/12072025/07/17/image_12072025_07_17_54_10605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371806185","1371806226","1371806228","1371806201","1371806204"],"photo_ids_order":["1371806185","1371806201","1371806204","1371806226","1371806228"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d61a19bd27006a10146fe56f7ccd8592.jpg","text":"TemporaryFile(/tmp/multipartBody296892979452865326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297572941,"filename":"image_12072025_07_18_44_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a099ea4c60ee67c81158362aa881702.jpg","text":"TemporaryFile(/tmp/multipartBody37303301050779497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297572941,"filename":"image_12072025_07_18_03_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3dccc97c3189aa54b1e2201f3a77cce7.jpg","text":"TemporaryFile(/tmp/multipartBody6663445237165266842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297572941,"filename":"image_12072025_07_17_54_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff924692fc614a3f89f04299bc94333f.jpg","text":"TemporaryFile(/tmp/multipartBody7657779296304252349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297572941,"filename":"image_12072025_07_18_33_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57e2e291fdfc28132b92168ebb732ba9.jpg","text":"TemporaryFile(/tmp/multipartBody1503752849809776549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297572941,"filename":"image_12072025_07_18_14_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371806204","file1":"1371806201","file0":"1371806185","file4":"1371806228","file3":"1371806226"},"map_files_photo_id_array":[{"photo_id":"1371806204","filename":"file2"},{"photo_id":"1371806228","filename":"file4"},{"photo_id":"1371806201","filename":"file1"},{"photo_id":"1371806185","filename":"file0"},{"photo_id":"1371806226","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371806185":["hashtag1","hashtag2"]},{"1371806226":["hashtag1","hashtag2"]},{"1371806228":["hashtag1","hashtag2"]},{"1371806201":["hashtag1","hashtag2"]},{"1371806204":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371806185, 1371806226, 1371806228, 1371806201, 1371806204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.092029571533203 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:19:03.016154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/44/image_10072025_20_44_33_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/20/44/image_10072025_20_44_24_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/20/44/image_10072025_20_44_14_10674.jpg', 2), ('/home/nano/Desktop/images/10072025/20/43/image_10072025_20_44_03_9673.jpg', 2), ('/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_54_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_44_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/44/image_10072025_20_44_33_9664.jpg', '/home/nano/Desktop/images/10072025/20/44/image_10072025_20_44_24_9644.jpg', '/home/nano/Desktop/images/10072025/20/44/image_10072025_20_44_14_10674.jpg', '/home/nano/Desktop/images/10072025/20/43/image_10072025_20_44_03_9673.jpg', '/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_54_9650.jpg', '/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_44_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/44/image_10072025_20_44_33_9664.jpg
/home/nano/Desktop/images/10072025/20/44/image_10072025_20_44_24_9644.jpg
/home/nano/Desktop/images/10072025/20/44/image_10072025_20_44_14_10674.jpg
/home/nano/Desktop/images/10072025/20/43/image_10072025_20_44_03_9673.jpg
/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_54_9650.jpg
/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_44_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371806286","1371806289","1371806277","1371806294","1371806291","1371806281"],"photo_ids_order":["1371806277","1371806281","1371806286","1371806289","1371806291","1371806294"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a14cc9dd7f4b8cf42d4f1aa7e04e6e03.jpg","text":"TemporaryFile(/tmp/multipartBody1518130596931177611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297605873,"filename":"image_10072025_20_44_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e840174afe45762ad2dd438e847ddb0.jpg","text":"TemporaryFile(/tmp/multipartBody8554420380893367351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297605873,"filename":"image_10072025_20_44_03_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67060deb1ab0228f9add6c5821f3fee8.jpg","text":"TemporaryFile(/tmp/multipartBody3339567820413528919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297605873,"filename":"image_10072025_20_44_33_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e041a256845444428949c5ae810f567.jpg","text":"TemporaryFile(/tmp/multipartBody1752955865623819542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297605873,"filename":"image_10072025_20_43_44_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa559b23df04a8a34215cad5ee6c38f2.jpg","text":"TemporaryFile(/tmp/multipartBody8433771301203629184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297605873,"filename":"image_10072025_20_43_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a73ab5ae2c2437ffef4274295ba6f443.jpg","text":"TemporaryFile(/tmp/multipartBody2603402338068386146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297605873,"filename":"image_10072025_20_44_24_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371806286","file1":"1371806281","file0":"1371806277","file4":"1371806291","file5":"1371806294","file3":"1371806289"},"map_files_photo_id_array":[{"photo_id":"1371806294","filename":"file5"},{"photo_id":"1371806286","filename":"file2"},{"photo_id":"1371806291","filename":"file4"},{"photo_id":"1371806281","filename":"file1"},{"photo_id":"1371806277","filename":"file0"},{"photo_id":"1371806289","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371806286":["hashtag1","hashtag2"]},{"1371806289":["hashtag1","hashtag2"]},{"1371806277":["hashtag1","hashtag2"]},{"1371806294":["hashtag1","hashtag2"]},{"1371806291":["hashtag1","hashtag2"]},{"1371806281":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371806286, 1371806289, 1371806277, 1371806294, 1371806291, 1371806281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45928335189819 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:19:47.067197
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_44_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_34_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_23_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_14_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/07/18/image_12072025_07_19_04_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/07/18/image_12072025_07_18_53_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_44_9611.jpg', '/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_34_10610.jpg', '/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_23_9602.jpg', '/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_14_9617.jpg', '/home/nano/Desktop/images/12072025/07/18/image_12072025_07_19_04_10612.jpg', '/home/nano/Desktop/images/12072025/07/18/image_12072025_07_18_53_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_44_9611.jpg
/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_34_10610.jpg
/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_23_9602.jpg
/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_14_9617.jpg
/home/nano/Desktop/images/12072025/07/18/image_12072025_07_19_04_10612.jpg
/home/nano/Desktop/images/12072025/07/18/image_12072025_07_18_53_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371806370","1371806367","1371806352","1371806375","1371806363","1371806342"],"photo_ids_order":["1371806342","1371806352","1371806363","1371806367","1371806370","1371806375"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7900f90d1588d9017e6dadc57a76f967.jpg","text":"TemporaryFile(/tmp/multipartBody107276891580766963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297648273,"filename":"image_12072025_07_19_04_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8a48b771a2b36b0957f39c3d8de93e3.jpg","text":"TemporaryFile(/tmp/multipartBody4448587874833538206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297648273,"filename":"image_12072025_07_19_14_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ba300120abef741ef157e77f20533ae.jpg","text":"TemporaryFile(/tmp/multipartBody8945462740705732204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297648273,"filename":"image_12072025_07_19_34_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33eb59fedebfb26414e9e696c63fd32b.jpg","text":"TemporaryFile(/tmp/multipartBody3392222717278993504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297648273,"filename":"image_12072025_07_18_53_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74d8f913b04868b5b3986eb740af3889.jpg","text":"TemporaryFile(/tmp/multipartBody1671538809192219703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297648273,"filename":"image_12072025_07_19_23_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d1ac5baf0ff76b5016d2d5bf4564456.jpg","text":"TemporaryFile(/tmp/multipartBody3594011080434026027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297648273,"filename":"image_12072025_07_19_44_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371806363","file1":"1371806352","file0":"1371806342","file4":"1371806370","file5":"1371806375","file3":"1371806367"},"map_files_photo_id_array":[{"photo_id":"1371806375","filename":"file5"},{"photo_id":"1371806363","filename":"file2"},{"photo_id":"1371806370","filename":"file4"},{"photo_id":"1371806352","filename":"file1"},{"photo_id":"1371806342","filename":"file0"},{"photo_id":"1371806367","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371806370":["hashtag1","hashtag2"]},{"1371806367":["hashtag1","hashtag2"]},{"1371806352":["hashtag1","hashtag2"]},{"1371806375":["hashtag1","hashtag2"]},{"1371806363":["hashtag1","hashtag2"]},{"1371806342":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371806370, 1371806367, 1371806352, 1371806375, 1371806363, 1371806342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06874632835388 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:20:32.201985
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_43_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_34_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_24_10604.jpg', 2), ('/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_13_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/07/19/image_12072025_07_20_04_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_53_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_43_9592.jpg', '/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_34_9593.jpg', '/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_24_10604.jpg', '/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_13_9630.jpg', '/home/nano/Desktop/images/12072025/07/19/image_12072025_07_20_04_10626.jpg', '/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_53_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_43_9592.jpg
/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_34_9593.jpg
/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_24_10604.jpg
/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_13_9630.jpg
/home/nano/Desktop/images/12072025/07/19/image_12072025_07_20_04_10626.jpg
/home/nano/Desktop/images/12072025/07/19/image_12072025_07_19_53_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371806482","1371806506","1371806532","1371806535","1371806529","1371806538"],"photo_ids_order":["1371806482","1371806506","1371806529","1371806532","1371806535","1371806538"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0a4bea5464bfc7c5ee4ea25d3fd8bac.jpg","text":"TemporaryFile(/tmp/multipartBody6633831379235405934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297693462,"filename":"image_12072025_07_20_43_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a08448a723809e6a14cddf3a2e481823.jpg","text":"TemporaryFile(/tmp/multipartBody5482935572824789378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297693462,"filename":"image_12072025_07_20_34_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/318456065847c78010bde47014001b36.jpg","text":"TemporaryFile(/tmp/multipartBody1091584251514656989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297693462,"filename":"image_12072025_07_20_13_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6bbf267851b22f1e928341555f693f6e.jpg","text":"TemporaryFile(/tmp/multipartBody1527396662551804146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297693462,"filename":"image_12072025_07_20_04_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28db2c21c02860136546dc59256cac39.jpg","text":"TemporaryFile(/tmp/multipartBody8625973044415049595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297693462,"filename":"image_12072025_07_20_24_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a48818d68bd8a3fd3adf47b5faf55e8.jpg","text":"TemporaryFile(/tmp/multipartBody8626334083625197476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297693462,"filename":"image_12072025_07_19_53_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371806529","file1":"1371806506","file0":"1371806482","file4":"1371806535","file5":"1371806538","file3":"1371806532"},"map_files_photo_id_array":[{"photo_id":"1371806538","filename":"file5"},{"photo_id":"1371806529","filename":"file2"},{"photo_id":"1371806535","filename":"file4"},{"photo_id":"1371806506","filename":"file1"},{"photo_id":"1371806482","filename":"file0"},{"photo_id":"1371806532","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371806482":["hashtag1","hashtag2"]},{"1371806506":["hashtag1","hashtag2"]},{"1371806532":["hashtag1","hashtag2"]},{"1371806535":["hashtag1","hashtag2"]},{"1371806529":["hashtag1","hashtag2"]},{"1371806538":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371806482, 1371806506, 1371806532, 1371806535, 1371806529, 1371806538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52775239944458 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:21:17.313522
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_44_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_33_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_24_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_14_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/07/20/image_12072025_07_21_03_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_54_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_44_10629.jpg', '/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_33_9604.jpg', '/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_24_9600.jpg', '/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_14_10619.jpg', '/home/nano/Desktop/images/12072025/07/20/image_12072025_07_21_03_9602.jpg', '/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_54_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_44_10629.jpg
/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_33_9604.jpg
/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_24_9600.jpg
/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_14_10619.jpg
/home/nano/Desktop/images/12072025/07/20/image_12072025_07_21_03_9602.jpg
/home/nano/Desktop/images/12072025/07/20/image_12072025_07_20_54_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371806662","1371806713","1371806685","1371806739","1371806795","1371806765"],"photo_ids_order":["1371806662","1371806685","1371806713","1371806739","1371806765","1371806795"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0589f43cd59418219786c7a4d55f3a98.jpg","text":"TemporaryFile(/tmp/multipartBody7819366601990706677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297738292,"filename":"image_12072025_07_21_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7348e914f905276bb4b70195f72e2b41.jpg","text":"TemporaryFile(/tmp/multipartBody4874954652079882088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297738292,"filename":"image_12072025_07_21_24_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95adc1a47aa7c504f986ac18dabccb3e.jpg","text":"TemporaryFile(/tmp/multipartBody469122462668037800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297738292,"filename":"image_12072025_07_21_33_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6114bc60cd560c8dc19f7623223a78db.jpg","text":"TemporaryFile(/tmp/multipartBody4891705677837730629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297738292,"filename":"image_12072025_07_21_14_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e93dbaf86f42dbd63d5b49d6a9dadc7.jpg","text":"TemporaryFile(/tmp/multipartBody4800750245241659127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297738292,"filename":"image_12072025_07_20_54_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/226db73933d06d87f434c9201045da68.jpg","text":"TemporaryFile(/tmp/multipartBody2671485873291478933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297738292,"filename":"image_12072025_07_21_03_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371806713","file1":"1371806685","file0":"1371806662","file4":"1371806765","file5":"1371806795","file3":"1371806739"},"map_files_photo_id_array":[{"photo_id":"1371806795","filename":"file5"},{"photo_id":"1371806713","filename":"file2"},{"photo_id":"1371806765","filename":"file4"},{"photo_id":"1371806685","filename":"file1"},{"photo_id":"1371806662","filename":"file0"},{"photo_id":"1371806739","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371806662":["hashtag1","hashtag2"]},{"1371806713":["hashtag1","hashtag2"]},{"1371806685":["hashtag1","hashtag2"]},{"1371806739":["hashtag1","hashtag2"]},{"1371806795":["hashtag1","hashtag2"]},{"1371806765":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371806662, 1371806713, 1371806685, 1371806739, 1371806795, 1371806765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71408033370972 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:22:02.998040
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_33_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_24_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_13_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/20/42/image_10072025_20_43_03_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/20/42/image_10072025_20_42_43_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/20/42/image_10072025_20_42_33_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_33_9649.jpg', '/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_24_10655.jpg', '/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_13_9663.jpg', '/home/nano/Desktop/images/10072025/20/42/image_10072025_20_43_03_9652.jpg', '/home/nano/Desktop/images/10072025/20/42/image_10072025_20_42_43_9643.jpg', '/home/nano/Desktop/images/10072025/20/42/image_10072025_20_42_33_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_33_9649.jpg
/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_24_10655.jpg
/home/nano/Desktop/images/10072025/20/43/image_10072025_20_43_13_9663.jpg
/home/nano/Desktop/images/10072025/20/42/image_10072025_20_43_03_9652.jpg
/home/nano/Desktop/images/10072025/20/42/image_10072025_20_42_43_9643.jpg
/home/nano/Desktop/images/10072025/20/42/image_10072025_20_42_33_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371806908","1371806919","1371806921","1371806893","1371806896","1371806890"],"photo_ids_order":["1371806890","1371806893","1371806896","1371806908","1371806919","1371806921"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c76b862dbf5239962b147fafe2f8d46.jpg","text":"TemporaryFile(/tmp/multipartBody5123318186940696192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297785940,"filename":"image_10072025_20_43_03_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/babc62a7526c6551b18bc4eb12756d28.jpg","text":"TemporaryFile(/tmp/multipartBody8337110286049971472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297785940,"filename":"image_10072025_20_42_43_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/494ee73aa50ac3ec380c39b318cdbaac.jpg","text":"TemporaryFile(/tmp/multipartBody5183050718390198292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297785940,"filename":"image_10072025_20_42_33_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a5fd3d9b6eac816a54a1b8db800186c.jpg","text":"TemporaryFile(/tmp/multipartBody9032708149217637808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297785940,"filename":"image_10072025_20_43_24_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2b5c981aedeabce321d14f2653a5187.jpg","text":"TemporaryFile(/tmp/multipartBody7740179181371388079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297785940,"filename":"image_10072025_20_43_13_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de4673720b7f4f526dac2c312ce35664.jpg","text":"TemporaryFile(/tmp/multipartBody5451151009568730705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297785940,"filename":"image_10072025_20_43_33_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371806896","file1":"1371806893","file0":"1371806890","file4":"1371806919","file5":"1371806921","file3":"1371806908"},"map_files_photo_id_array":[{"photo_id":"1371806921","filename":"file5"},{"photo_id":"1371806896","filename":"file2"},{"photo_id":"1371806919","filename":"file4"},{"photo_id":"1371806893","filename":"file1"},{"photo_id":"1371806890","filename":"file0"},{"photo_id":"1371806908","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371806908":["hashtag1","hashtag2"]},{"1371806919":["hashtag1","hashtag2"]},{"1371806921":["hashtag1","hashtag2"]},{"1371806893":["hashtag1","hashtag2"]},{"1371806896":["hashtag1","hashtag2"]},{"1371806890":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371806908, 1371806919, 1371806921, 1371806893, 1371806896, 1371806890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8447687625885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:22:47.427464
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_43_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_34_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_23_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_14_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/07/21/image_12072025_07_22_04_10609.jpg', 2), ('/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_53_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_43_9605.jpg', '/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_34_10607.jpg', '/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_23_9596.jpg', '/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_14_9646.jpg', '/home/nano/Desktop/images/12072025/07/21/image_12072025_07_22_04_10609.jpg', '/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_53_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_43_9605.jpg
/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_34_10607.jpg
/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_23_9596.jpg
/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_14_9646.jpg
/home/nano/Desktop/images/12072025/07/21/image_12072025_07_22_04_10609.jpg
/home/nano/Desktop/images/12072025/07/21/image_12072025_07_21_53_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371806949","1371806940","1371806952","1371806945","1371806957","1371806942"],"photo_ids_order":["1371806940","1371806942","1371806945","1371806949","1371806952","1371806957"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b56fe89974a4c1a94f4429bbf001b50.jpg","text":"TemporaryFile(/tmp/multipartBody4742258043369301740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297828695,"filename":"image_12072025_07_22_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fcf82329213d63c0507f3ff79b71eb1.jpg","text":"TemporaryFile(/tmp/multipartBody5178539874168142697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297828695,"filename":"image_12072025_07_22_43_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ecadd3c82f95fdde35d63d64067b7bc.jpg","text":"TemporaryFile(/tmp/multipartBody8000165979516603153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297828695,"filename":"image_12072025_07_22_04_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4c5ed64794915b694023907dc8df07a.jpg","text":"TemporaryFile(/tmp/multipartBody6216231530896945213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297828695,"filename":"image_12072025_07_22_23_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66b288abf7ff0469412ce70af24df030.jpg","text":"TemporaryFile(/tmp/multipartBody1990164193955717762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297828695,"filename":"image_12072025_07_21_53_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88cd0edd050c20eabaf0ea3ab1f5a88d.jpg","text":"TemporaryFile(/tmp/multipartBody6794005604148185742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297828695,"filename":"image_12072025_07_22_34_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371806945","file1":"1371806942","file0":"1371806940","file4":"1371806952","file5":"1371806957","file3":"1371806949"},"map_files_photo_id_array":[{"photo_id":"1371806957","filename":"file5"},{"photo_id":"1371806945","filename":"file2"},{"photo_id":"1371806952","filename":"file4"},{"photo_id":"1371806942","filename":"file1"},{"photo_id":"1371806940","filename":"file0"},{"photo_id":"1371806949","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371806949":["hashtag1","hashtag2"]},{"1371806940":["hashtag1","hashtag2"]},{"1371806952":["hashtag1","hashtag2"]},{"1371806945":["hashtag1","hashtag2"]},{"1371806957":["hashtag1","hashtag2"]},{"1371806942":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371806949, 1371806940, 1371806952, 1371806945, 1371806957, 1371806942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.433491945266724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:23:32.627600
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_43_9594.jpg', 2), ('/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_34_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_24_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_13_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/07/22/image_12072025_07_23_04_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_53_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_43_9594.jpg', '/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_34_9593.jpg', '/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_24_10612.jpg', '/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_13_9623.jpg', '/home/nano/Desktop/images/12072025/07/22/image_12072025_07_23_04_10618.jpg', '/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_53_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_43_9594.jpg
/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_34_9593.jpg
/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_24_10612.jpg
/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_13_9623.jpg
/home/nano/Desktop/images/12072025/07/22/image_12072025_07_23_04_10618.jpg
/home/nano/Desktop/images/12072025/07/22/image_12072025_07_22_53_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371807063","1371807117","1371807143","1371807038","1371807088","1371807166"],"photo_ids_order":["1371807038","1371807063","1371807088","1371807117","1371807143","1371807166"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28903fd4fb543ca0019c8c7a8d4c33b1.jpg","text":"TemporaryFile(/tmp/multipartBody5750997944486211473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297873915,"filename":"image_12072025_07_23_34_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40ab05f3d7d1501b77228dc72c030249.jpg","text":"TemporaryFile(/tmp/multipartBody2648273689338971630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297873915,"filename":"image_12072025_07_23_13_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9fa3e310c97ab20875f445e18b17bc04.jpg","text":"TemporaryFile(/tmp/multipartBody1211161782169564049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297873915,"filename":"image_12072025_07_23_04_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7cb3145d846faed894a575a478f4c7f7.jpg","text":"TemporaryFile(/tmp/multipartBody1001157299743007295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297873915,"filename":"image_12072025_07_23_43_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f97bcd41e2030e03263af2a7fe981b32.jpg","text":"TemporaryFile(/tmp/multipartBody5434321061068633711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297873915,"filename":"image_12072025_07_23_24_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7af393f624ec79ba4a71eb707e07f15b.jpg","text":"TemporaryFile(/tmp/multipartBody8742883340693500345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297873915,"filename":"image_12072025_07_22_53_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371807088","file1":"1371807063","file0":"1371807038","file4":"1371807143","file5":"1371807166","file3":"1371807117"},"map_files_photo_id_array":[{"photo_id":"1371807166","filename":"file5"},{"photo_id":"1371807088","filename":"file2"},{"photo_id":"1371807143","filename":"file4"},{"photo_id":"1371807063","filename":"file1"},{"photo_id":"1371807038","filename":"file0"},{"photo_id":"1371807117","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371807063":["hashtag1","hashtag2"]},{"1371807117":["hashtag1","hashtag2"]},{"1371807143":["hashtag1","hashtag2"]},{"1371807038":["hashtag1","hashtag2"]},{"1371807088":["hashtag1","hashtag2"]},{"1371807166":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371807063, 1371807117, 1371807143, 1371807038, 1371807088, 1371807166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.689982652664185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:24:17.643403
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_44_10608.jpg', 2), ('/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_33_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_24_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_14_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/07/23/image_12072025_07_24_03_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_44_10608.jpg', '/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_33_9603.jpg', '/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_24_9592.jpg', '/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_14_10621.jpg', '/home/nano/Desktop/images/12072025/07/23/image_12072025_07_24_03_9612.jpg', '/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_44_10608.jpg
/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_33_9603.jpg
/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_24_9592.jpg
/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_14_10621.jpg
/home/nano/Desktop/images/12072025/07/23/image_12072025_07_24_03_9612.jpg
/home/nano/Desktop/images/12072025/07/23/image_12072025_07_23_54_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371807301","1371807312","1371807321","1371807315","1371807299","1371807320"],"photo_ids_order":["1371807299","1371807301","1371807312","1371807315","1371807320","1371807321"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8cad14305e48f776dc171dc4ae62145.jpg","text":"TemporaryFile(/tmp/multipartBody7403474519437704979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297918620,"filename":"image_12072025_07_24_33_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e8e87f6128c44ca4d950a2cba9cf93a.jpg","text":"TemporaryFile(/tmp/multipartBody8637120383514269498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297918620,"filename":"image_12072025_07_24_24_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3cd4006e7999750f33ff8b0331d34fc.jpg","text":"TemporaryFile(/tmp/multipartBody2308190469456358973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297918620,"filename":"image_12072025_07_23_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74d34c97f35b9f95b2609dc3e3fbeb14.jpg","text":"TemporaryFile(/tmp/multipartBody3930208087112238850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297918620,"filename":"image_12072025_07_24_14_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fed32fe08977d5f75cfa10fd45159c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1719814415235636259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297918620,"filename":"image_12072025_07_24_44_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6fe1afab5fe158c9409a665fcd7bed9a.jpg","text":"TemporaryFile(/tmp/multipartBody4344977066401450862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297918620,"filename":"image_12072025_07_24_03_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371807312","file1":"1371807301","file0":"1371807299","file4":"1371807320","file5":"1371807321","file3":"1371807315"},"map_files_photo_id_array":[{"photo_id":"1371807321","filename":"file5"},{"photo_id":"1371807312","filename":"file2"},{"photo_id":"1371807320","filename":"file4"},{"photo_id":"1371807301","filename":"file1"},{"photo_id":"1371807299","filename":"file0"},{"photo_id":"1371807315","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371807301":["hashtag1","hashtag2"]},{"1371807312":["hashtag1","hashtag2"]},{"1371807321":["hashtag1","hashtag2"]},{"1371807315":["hashtag1","hashtag2"]},{"1371807299":["hashtag1","hashtag2"]},{"1371807320":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371807301, 1371807312, 1371807321, 1371807315, 1371807299, 1371807320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.299240112304688 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:25:03.470521
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/42/image_10072025_20_42_24_10676.jpg', 2), ('/home/nano/Desktop/images/10072025/20/41/image_10072025_20_42_03_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_54_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_33_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_24_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/42/image_10072025_20_42_24_10676.jpg', '/home/nano/Desktop/images/10072025/20/41/image_10072025_20_42_03_9657.jpg', '/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_54_10662.jpg', '/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_43_9646.jpg', '/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_33_9654.jpg', '/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_24_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/42/image_10072025_20_42_24_10676.jpg
/home/nano/Desktop/images/10072025/20/41/image_10072025_20_42_03_9657.jpg
/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_54_10662.jpg
/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_43_9646.jpg
/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_33_9654.jpg
/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_24_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371807381","1371807447","1371807473","1371807395","1371807383","1371807421"],"photo_ids_order":["1371807381","1371807383","1371807395","1371807421","1371807447","1371807473"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d934a80a72e26c66211e9577d0863ed.jpg","text":"TemporaryFile(/tmp/multipartBody7228667644219888639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297966548,"filename":"image_10072025_20_42_24_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1250e80ba5f8a5368d40a5c061b6fe5.jpg","text":"TemporaryFile(/tmp/multipartBody8226406313324207788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297966548,"filename":"image_10072025_20_41_33_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42a276adb4b1ef0cb1d6f8c1f97f888d.jpg","text":"TemporaryFile(/tmp/multipartBody2585585816236711287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297966548,"filename":"image_10072025_20_41_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/553202ae07ce96f6d991546918c9fa0c.jpg","text":"TemporaryFile(/tmp/multipartBody6497441191465802874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297966548,"filename":"image_10072025_20_41_54_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5322701757926d8a22dc854f7cc96c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2380594242974647993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297966548,"filename":"image_10072025_20_42_03_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aff9c932437bde338a287630d682a6a8.jpg","text":"TemporaryFile(/tmp/multipartBody8361014817125631860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752297966548,"filename":"image_10072025_20_41_43_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371807395","file1":"1371807383","file0":"1371807381","file4":"1371807447","file5":"1371807473","file3":"1371807421"},"map_files_photo_id_array":[{"photo_id":"1371807473","filename":"file5"},{"photo_id":"1371807395","filename":"file2"},{"photo_id":"1371807447","filename":"file4"},{"photo_id":"1371807383","filename":"file1"},{"photo_id":"1371807381","filename":"file0"},{"photo_id":"1371807421","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371807381":["hashtag1","hashtag2"]},{"1371807447":["hashtag1","hashtag2"]},{"1371807473":["hashtag1","hashtag2"]},{"1371807395":["hashtag1","hashtag2"]},{"1371807383":["hashtag1","hashtag2"]},{"1371807421":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371807381, 1371807447, 1371807473, 1371807395, 1371807383, 1371807421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74379754066467 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:25:47.759556
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_43_9595.jpg', 2), ('/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_34_10603.jpg', 2), ('/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_23_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_14_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/07/24/image_12072025_07_25_04_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_53_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_43_9595.jpg', '/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_34_10603.jpg', '/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_23_9593.jpg', '/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_14_9614.jpg', '/home/nano/Desktop/images/12072025/07/24/image_12072025_07_25_04_10611.jpg', '/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_53_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_43_9595.jpg
/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_34_10603.jpg
/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_23_9593.jpg
/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_14_9614.jpg
/home/nano/Desktop/images/12072025/07/24/image_12072025_07_25_04_10611.jpg
/home/nano/Desktop/images/12072025/07/24/image_12072025_07_24_53_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371807690","1371807669","1371807695","1371807702","1371807614","1371807640"],"photo_ids_order":["1371807614","1371807640","1371807669","1371807690","1371807695","1371807702"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d566778d8e6f70c2ff95b39a329d6f7.jpg","text":"TemporaryFile(/tmp/multipartBody9107335869910539644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298009058,"filename":"image_12072025_07_25_14_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cdee2ac80eaf4457c85cf8a128598647.jpg","text":"TemporaryFile(/tmp/multipartBody5919353671364150382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298009058,"filename":"image_12072025_07_25_23_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/741377af0a408b3efcb326a9e93e4a02.jpg","text":"TemporaryFile(/tmp/multipartBody8004012934591584939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298009058,"filename":"image_12072025_07_25_04_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b968eb5861fc2bd447639dc8f8762c3a.jpg","text":"TemporaryFile(/tmp/multipartBody3000629868223554648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298009058,"filename":"image_12072025_07_24_53_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42b9949c38482348f7d608b30f14c5f8.jpg","text":"TemporaryFile(/tmp/multipartBody5235361305530210723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298009058,"filename":"image_12072025_07_25_43_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9056503f86da6792892a1d0fc3536eee.jpg","text":"TemporaryFile(/tmp/multipartBody2295656158396407843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298009058,"filename":"image_12072025_07_25_34_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371807669","file1":"1371807640","file0":"1371807614","file4":"1371807695","file5":"1371807702","file3":"1371807690"},"map_files_photo_id_array":[{"photo_id":"1371807702","filename":"file5"},{"photo_id":"1371807669","filename":"file2"},{"photo_id":"1371807695","filename":"file4"},{"photo_id":"1371807640","filename":"file1"},{"photo_id":"1371807614","filename":"file0"},{"photo_id":"1371807690","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371807690":["hashtag1","hashtag2"]},{"1371807669":["hashtag1","hashtag2"]},{"1371807695":["hashtag1","hashtag2"]},{"1371807702":["hashtag1","hashtag2"]},{"1371807614":["hashtag1","hashtag2"]},{"1371807640":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371807690, 1371807669, 1371807695, 1371807702, 1371807614, 1371807640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43943500518799 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:26:31.854174
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_43_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_33_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_24_10604.jpg', 2), ('/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_13_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/07/25/image_12072025_07_26_04_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_54_10604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_43_9600.jpg', '/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_33_9601.jpg', '/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_24_10604.jpg', '/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_13_9623.jpg', '/home/nano/Desktop/images/12072025/07/25/image_12072025_07_26_04_9611.jpg', '/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_54_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_43_9600.jpg
/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_33_9601.jpg
/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_24_10604.jpg
/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_13_9623.jpg
/home/nano/Desktop/images/12072025/07/25/image_12072025_07_26_04_9611.jpg
/home/nano/Desktop/images/12072025/07/25/image_12072025_07_25_54_10604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371807765","1371807762","1371807756","1371807759","1371807766","1371807745"],"photo_ids_order":["1371807745","1371807756","1371807759","1371807762","1371807765","1371807766"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee35a15c7a8f84c5824c8a55f131eec0.jpg","text":"TemporaryFile(/tmp/multipartBody8444830122877025756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298052966,"filename":"image_12072025_07_26_04_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e911e7a05f535e1917f240b47fc90747.jpg","text":"TemporaryFile(/tmp/multipartBody7934170610467125171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298052966,"filename":"image_12072025_07_26_13_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01d60225859f508704a292c04e93d331.jpg","text":"TemporaryFile(/tmp/multipartBody1525308255089260383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298052966,"filename":"image_12072025_07_26_33_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e22a2de663b1bddb7f2383f9928b3772.jpg","text":"TemporaryFile(/tmp/multipartBody8028793116234941802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298052966,"filename":"image_12072025_07_26_24_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef9660a3cee1a053f2af5e336a7f5eeb.jpg","text":"TemporaryFile(/tmp/multipartBody5409909291534557193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298052966,"filename":"image_12072025_07_25_54_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6324116fef09d2f402e40c6f73923bac.jpg","text":"TemporaryFile(/tmp/multipartBody2802344581880125577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298052966,"filename":"image_12072025_07_26_43_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371807759","file1":"1371807756","file0":"1371807745","file4":"1371807765","file5":"1371807766","file3":"1371807762"},"map_files_photo_id_array":[{"photo_id":"1371807766","filename":"file5"},{"photo_id":"1371807759","filename":"file2"},{"photo_id":"1371807765","filename":"file4"},{"photo_id":"1371807756","filename":"file1"},{"photo_id":"1371807745","filename":"file0"},{"photo_id":"1371807762","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371807765":["hashtag1","hashtag2"]},{"1371807762":["hashtag1","hashtag2"]},{"1371807756":["hashtag1","hashtag2"]},{"1371807759":["hashtag1","hashtag2"]},{"1371807766":["hashtag1","hashtag2"]},{"1371807745":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371807765, 1371807762, 1371807756, 1371807759, 1371807766, 1371807745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.140095949172974 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:27:16.942354
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_44_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_33_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_23_9595.jpg', 2), ('/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_14_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/07/26/image_12072025_07_27_03_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_54_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_44_10607.jpg', '/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_33_9598.jpg', '/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_23_9595.jpg', '/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_14_10625.jpg', '/home/nano/Desktop/images/12072025/07/26/image_12072025_07_27_03_9597.jpg', '/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_54_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_44_10607.jpg
/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_33_9598.jpg
/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_23_9595.jpg
/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_14_10625.jpg
/home/nano/Desktop/images/12072025/07/26/image_12072025_07_27_03_9597.jpg
/home/nano/Desktop/images/12072025/07/26/image_12072025_07_26_54_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371807783","1371807786","1371807794","1371807785","1371807781","1371807778"],"photo_ids_order":["1371807778","1371807781","1371807783","1371807785","1371807786","1371807794"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b4bb10592e5ba95fe2a740a169ff1ff.jpg","text":"TemporaryFile(/tmp/multipartBody6282273155373669480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298098047,"filename":"image_12072025_07_27_23_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a255c3be9be0fb33c17f325d19cae1d0.jpg","text":"TemporaryFile(/tmp/multipartBody77516099457783622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298098047,"filename":"image_12072025_07_27_03_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77ad9454fb5580ec24ccaae54ad50fe6.jpg","text":"TemporaryFile(/tmp/multipartBody168149486558390834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298098047,"filename":"image_12072025_07_26_54_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c64f6d91749d5d1ccfb4c82ea8955610.jpg","text":"TemporaryFile(/tmp/multipartBody7472778659623243504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298098047,"filename":"image_12072025_07_27_14_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1bf46ee92776a3345c514e8d65854fba.jpg","text":"TemporaryFile(/tmp/multipartBody6031791990606161740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298098047,"filename":"image_12072025_07_27_33_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07f1b9e1e743f1e39d648a835d8213b1.jpg","text":"TemporaryFile(/tmp/multipartBody5272168332910652929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298098047,"filename":"image_12072025_07_27_44_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371807783","file1":"1371807781","file0":"1371807778","file4":"1371807786","file5":"1371807794","file3":"1371807785"},"map_files_photo_id_array":[{"photo_id":"1371807794","filename":"file5"},{"photo_id":"1371807783","filename":"file2"},{"photo_id":"1371807786","filename":"file4"},{"photo_id":"1371807781","filename":"file1"},{"photo_id":"1371807778","filename":"file0"},{"photo_id":"1371807785","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371807783":["hashtag1","hashtag2"]},{"1371807786":["hashtag1","hashtag2"]},{"1371807794":["hashtag1","hashtag2"]},{"1371807785":["hashtag1","hashtag2"]},{"1371807781":["hashtag1","hashtag2"]},{"1371807778":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371807783, 1371807786, 1371807794, 1371807785, 1371807781, 1371807778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46449589729309 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:28:02.616200
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_13_9671.jpg', 2), ('/home/nano/Desktop/images/10072025/20/40/image_10072025_20_41_03_9678.jpg', 2), ('/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_54_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_34_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_24_10662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_13_9671.jpg', '/home/nano/Desktop/images/10072025/20/40/image_10072025_20_41_03_9678.jpg', '/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_54_10658.jpg', '/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_43_9646.jpg', '/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_34_9655.jpg', '/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_24_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/41/image_10072025_20_41_13_9671.jpg
/home/nano/Desktop/images/10072025/20/40/image_10072025_20_41_03_9678.jpg
/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_54_10658.jpg
/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_43_9646.jpg
/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_34_9655.jpg
/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_24_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371807840","1371807848","1371807842","1371807836","1371807844","1371807838"],"photo_ids_order":["1371807836","1371807838","1371807840","1371807842","1371807844","1371807848"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54eadb5f48361fe6ad5e97cb59ee079a.jpg","text":"TemporaryFile(/tmp/multipartBody7382364315450288650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298145378,"filename":"image_10072025_20_40_54_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8005b683e429063cf13e17065776a576.jpg","text":"TemporaryFile(/tmp/multipartBody524051549647962828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298145378,"filename":"image_10072025_20_40_24_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efe695e2afa76a5857155dfc1d15b8fc.jpg","text":"TemporaryFile(/tmp/multipartBody7487123159886264913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298145378,"filename":"image_10072025_20_40_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48383ff676ffd4113637fcbaf9f91fcb.jpg","text":"TemporaryFile(/tmp/multipartBody1069542484254631032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298145378,"filename":"image_10072025_20_41_13_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a0cd36b62422c6dfb8c25c4374c30c5.jpg","text":"TemporaryFile(/tmp/multipartBody8136452941923125543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298145378,"filename":"image_10072025_20_40_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca7919a043378bcb574fb480c7fb708f.jpg","text":"TemporaryFile(/tmp/multipartBody2010329620086411053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298145378,"filename":"image_10072025_20_41_03_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371807840","file1":"1371807838","file0":"1371807836","file4":"1371807844","file5":"1371807848","file3":"1371807842"},"map_files_photo_id_array":[{"photo_id":"1371807848","filename":"file5"},{"photo_id":"1371807840","filename":"file2"},{"photo_id":"1371807844","filename":"file4"},{"photo_id":"1371807838","filename":"file1"},{"photo_id":"1371807836","filename":"file0"},{"photo_id":"1371807842","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371807840":["hashtag1","hashtag2"]},{"1371807848":["hashtag1","hashtag2"]},{"1371807842":["hashtag1","hashtag2"]},{"1371807836":["hashtag1","hashtag2"]},{"1371807844":["hashtag1","hashtag2"]},{"1371807838":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371807840, 1371807848, 1371807842, 1371807836, 1371807844, 1371807838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.048033714294434 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:28:47.053669
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_44_9674.jpg', 2), ('/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_34_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_23_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_14_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/07/27/image_12072025_07_28_04_10713.jpg', 2), ('/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_53_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_44_9674.jpg', '/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_34_10616.jpg', '/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_23_9642.jpg', '/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_14_9683.jpg', '/home/nano/Desktop/images/12072025/07/27/image_12072025_07_28_04_10713.jpg', '/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_53_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_44_9674.jpg
/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_34_10616.jpg
/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_23_9642.jpg
/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_14_9683.jpg
/home/nano/Desktop/images/12072025/07/27/image_12072025_07_28_04_10713.jpg
/home/nano/Desktop/images/12072025/07/27/image_12072025_07_27_53_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371807870","1371807867","1371807863","1371807860","1371807862","1371807865"],"photo_ids_order":["1371807860","1371807862","1371807863","1371807865","1371807867","1371807870"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fbd78fb3142751978ece957aa6fbac7a.jpg","text":"TemporaryFile(/tmp/multipartBody5441454154568915136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298188263,"filename":"image_12072025_07_27_53_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b525fc818e014e738e4725e5474018dd.jpg","text":"TemporaryFile(/tmp/multipartBody7774327521603275800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298188263,"filename":"image_12072025_07_28_04_10713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d380ae63d0d4763720a7772b00cebcc.jpg","text":"TemporaryFile(/tmp/multipartBody8395400864779498136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298188263,"filename":"image_12072025_07_28_23_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0f6773c13e9ed3d825282f2f941e75b.jpg","text":"TemporaryFile(/tmp/multipartBody3650106931235960076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298188263,"filename":"image_12072025_07_28_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94df6c7420b30aca5d8e13e02ae97954.jpg","text":"TemporaryFile(/tmp/multipartBody6620798004162570080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298188263,"filename":"image_12072025_07_28_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e8d59c70d0bc992a27d39b9848aea3d.jpg","text":"TemporaryFile(/tmp/multipartBody2647687873460250997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298188263,"filename":"image_12072025_07_28_14_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371807863","file1":"1371807862","file0":"1371807860","file4":"1371807867","file5":"1371807870","file3":"1371807865"},"map_files_photo_id_array":[{"photo_id":"1371807870","filename":"file5"},{"photo_id":"1371807863","filename":"file2"},{"photo_id":"1371807867","filename":"file4"},{"photo_id":"1371807862","filename":"file1"},{"photo_id":"1371807860","filename":"file0"},{"photo_id":"1371807865","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371807870":["hashtag1","hashtag2"]},{"1371807867":["hashtag1","hashtag2"]},{"1371807863":["hashtag1","hashtag2"]},{"1371807860":["hashtag1","hashtag2"]},{"1371807862":["hashtag1","hashtag2"]},{"1371807865":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371807870, 1371807867, 1371807863, 1371807860, 1371807862, 1371807865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.194467544555664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:29:32.172032
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_43_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_34_10685.jpg', 2), ('/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_23_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_13_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/07/28/image_12072025_07_29_04_10602.jpg', 2), ('/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_53_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_43_9634.jpg', '/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_34_10685.jpg', '/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_23_9662.jpg', '/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_13_9614.jpg', '/home/nano/Desktop/images/12072025/07/28/image_12072025_07_29_04_10602.jpg', '/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_53_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_43_9634.jpg
/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_34_10685.jpg
/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_23_9662.jpg
/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_13_9614.jpg
/home/nano/Desktop/images/12072025/07/28/image_12072025_07_29_04_10602.jpg
/home/nano/Desktop/images/12072025/07/28/image_12072025_07_28_53_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371807963","1371807891","1371808002","1371807998","1371807967","1371807982"],"photo_ids_order":["1371807891","1371807963","1371807967","1371807982","1371807998","1371808002"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4dfe248c55f8c8e61fdbd1c416d0fd7.jpg","text":"TemporaryFile(/tmp/multipartBody4831640386515433255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298233449,"filename":"image_12072025_07_29_34_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/057d74e4efa8ef97eef298cf8151dca3.jpg","text":"TemporaryFile(/tmp/multipartBody3656684845023558207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298233449,"filename":"image_12072025_07_29_43_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5f669d5e2e75f1cc530daccc40ecb03.jpg","text":"TemporaryFile(/tmp/multipartBody4009039412070204393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298233449,"filename":"image_12072025_07_28_53_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50c22bfd791531a98f20aa9a6af81b48.jpg","text":"TemporaryFile(/tmp/multipartBody7506553852253916708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298233449,"filename":"image_12072025_07_29_04_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6050e30097136deec876199b8efd45f.jpg","text":"TemporaryFile(/tmp/multipartBody2480676153129155030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298233449,"filename":"image_12072025_07_29_23_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84e6bbcea3c59d6655cf320e79f24833.jpg","text":"TemporaryFile(/tmp/multipartBody7441567663662829427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298233449,"filename":"image_12072025_07_29_13_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371807967","file1":"1371807963","file0":"1371807891","file4":"1371807998","file5":"1371808002","file3":"1371807982"},"map_files_photo_id_array":[{"photo_id":"1371808002","filename":"file5"},{"photo_id":"1371807967","filename":"file2"},{"photo_id":"1371807998","filename":"file4"},{"photo_id":"1371807963","filename":"file1"},{"photo_id":"1371807891","filename":"file0"},{"photo_id":"1371807982","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371807963":["hashtag1","hashtag2"]},{"1371807891":["hashtag1","hashtag2"]},{"1371808002":["hashtag1","hashtag2"]},{"1371807998":["hashtag1","hashtag2"]},{"1371807967":["hashtag1","hashtag2"]},{"1371807982":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371807963, 1371807891, 1371808002, 1371807998, 1371807967, 1371807982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.661553621292114 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:30:17.283530
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_43_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_34_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_24_10592.jpg', 2), ('/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/07/29/image_12072025_07_30_04_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_53_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_43_9618.jpg', '/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_34_9659.jpg', '/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_24_10592.jpg', '/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_13_9657.jpg', '/home/nano/Desktop/images/12072025/07/29/image_12072025_07_30_04_10630.jpg', '/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_53_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_43_9618.jpg
/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_34_9659.jpg
/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_24_10592.jpg
/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_13_9657.jpg
/home/nano/Desktop/images/12072025/07/29/image_12072025_07_30_04_10630.jpg
/home/nano/Desktop/images/12072025/07/29/image_12072025_07_29_53_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808086","1371808091","1371808082","1371808010","1371808089","1371808077"],"photo_ids_order":["1371808010","1371808077","1371808082","1371808086","1371808089","1371808091"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a88596ebdaf5e2ad247ecd52da427a26.jpg","text":"TemporaryFile(/tmp/multipartBody4213010928119935742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298279569,"filename":"image_12072025_07_30_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be139d7088d54e35e0013a810185e0f6.jpg","text":"TemporaryFile(/tmp/multipartBody1799576938099431641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298279569,"filename":"image_12072025_07_29_53_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8cad489fb2f69fbab518b1c3d0079d3.jpg","text":"TemporaryFile(/tmp/multipartBody1051938947175474541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298279569,"filename":"image_12072025_07_30_24_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/413929796a8459accb458c78b4699dda.jpg","text":"TemporaryFile(/tmp/multipartBody8681342690412988491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298279569,"filename":"image_12072025_07_30_43_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5307ac18aceb588bac10f8c690763edc.jpg","text":"TemporaryFile(/tmp/multipartBody5487006399082330534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298279569,"filename":"image_12072025_07_30_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1e2e74abe38ed3474fbedf1dd134f57.jpg","text":"TemporaryFile(/tmp/multipartBody441370198999515997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298279569,"filename":"image_12072025_07_30_34_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808082","file1":"1371808077","file0":"1371808010","file4":"1371808089","file5":"1371808091","file3":"1371808086"},"map_files_photo_id_array":[{"photo_id":"1371808091","filename":"file5"},{"photo_id":"1371808082","filename":"file2"},{"photo_id":"1371808089","filename":"file4"},{"photo_id":"1371808077","filename":"file1"},{"photo_id":"1371808010","filename":"file0"},{"photo_id":"1371808086","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808086":["hashtag1","hashtag2"]},{"1371808091":["hashtag1","hashtag2"]},{"1371808082":["hashtag1","hashtag2"]},{"1371808010":["hashtag1","hashtag2"]},{"1371808089":["hashtag1","hashtag2"]},{"1371808077":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808086, 1371808091, 1371808082, 1371808010, 1371808089, 1371808077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81167221069336 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:31:03.188653
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_13_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/20/39/image_10072025_20_39_54_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/20/39/image_10072025_20_39_43_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/20/39/image_10072025_20_39_34_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/20/39/image_10072025_20_39_24_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/20/38/image_10072025_20_39_04_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_13_9663.jpg', '/home/nano/Desktop/images/10072025/20/39/image_10072025_20_39_54_10657.jpg', '/home/nano/Desktop/images/10072025/20/39/image_10072025_20_39_43_9652.jpg', '/home/nano/Desktop/images/10072025/20/39/image_10072025_20_39_34_9652.jpg', '/home/nano/Desktop/images/10072025/20/39/image_10072025_20_39_24_10664.jpg', '/home/nano/Desktop/images/10072025/20/38/image_10072025_20_39_04_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/40/image_10072025_20_40_13_9663.jpg
/home/nano/Desktop/images/10072025/20/39/image_10072025_20_39_54_10657.jpg
/home/nano/Desktop/images/10072025/20/39/image_10072025_20_39_43_9652.jpg
/home/nano/Desktop/images/10072025/20/39/image_10072025_20_39_34_9652.jpg
/home/nano/Desktop/images/10072025/20/39/image_10072025_20_39_24_10664.jpg
/home/nano/Desktop/images/10072025/20/38/image_10072025_20_39_04_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808143","1371808140","1371808142","1371808136","1371808145","1371808138"],"photo_ids_order":["1371808136","1371808138","1371808140","1371808142","1371808143","1371808145"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2ba111a86e851b5d490c1d20cfef73e.jpg","text":"TemporaryFile(/tmp/multipartBody4244358284933425800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298326104,"filename":"image_10072025_20_39_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0440a71a05273f65bfadace07fb19752.jpg","text":"TemporaryFile(/tmp/multipartBody8864308537072107242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298326104,"filename":"image_10072025_20_39_43_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a3f25858537ba7d09e4af0987ff2ee1.jpg","text":"TemporaryFile(/tmp/multipartBody752985278749659009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298326104,"filename":"image_10072025_20_39_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d62f3136f094b0812b90cd88d71672d.jpg","text":"TemporaryFile(/tmp/multipartBody9199468558286494249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298326104,"filename":"image_10072025_20_40_13_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1bf6638002afc81b9b0a4df53d79d40.jpg","text":"TemporaryFile(/tmp/multipartBody5474390259427072416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298326104,"filename":"image_10072025_20_39_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02240503b601d59ca7de5df126199104.jpg","text":"TemporaryFile(/tmp/multipartBody87263088770025936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298326104,"filename":"image_10072025_20_39_54_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808140","file1":"1371808138","file0":"1371808136","file4":"1371808143","file5":"1371808145","file3":"1371808142"},"map_files_photo_id_array":[{"photo_id":"1371808145","filename":"file5"},{"photo_id":"1371808140","filename":"file2"},{"photo_id":"1371808143","filename":"file4"},{"photo_id":"1371808138","filename":"file1"},{"photo_id":"1371808136","filename":"file0"},{"photo_id":"1371808142","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371808143":["hashtag1","hashtag2"]},{"1371808140":["hashtag1","hashtag2"]},{"1371808142":["hashtag1","hashtag2"]},{"1371808136":["hashtag1","hashtag2"]},{"1371808145":["hashtag1","hashtag2"]},{"1371808138":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371808143, 1371808140, 1371808142, 1371808136, 1371808145, 1371808138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34657835960388 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:31:47.397255
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_44_10602.jpg', 2), ('/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_33_9589.jpg', 2), ('/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_24_9583.jpg', 2), ('/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_14_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/07/30/image_12072025_07_31_03_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_54_10601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_44_10602.jpg', '/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_33_9589.jpg', '/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_24_9583.jpg', '/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_14_10607.jpg', '/home/nano/Desktop/images/12072025/07/30/image_12072025_07_31_03_9598.jpg', '/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_54_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_44_10602.jpg
/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_33_9589.jpg
/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_24_9583.jpg
/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_14_10607.jpg
/home/nano/Desktop/images/12072025/07/30/image_12072025_07_31_03_9598.jpg
/home/nano/Desktop/images/12072025/07/30/image_12072025_07_30_54_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808164","1371808158","1371808160","1371808162","1371808156","1371808161"],"photo_ids_order":["1371808156","1371808158","1371808160","1371808161","1371808162","1371808164"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fec0aef64819feff0dcfb38dfb322384.jpg","text":"TemporaryFile(/tmp/multipartBody4648285147062613120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298368616,"filename":"image_12072025_07_30_54_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/534b68e434ee5918efdce818dc1e5e16.jpg","text":"TemporaryFile(/tmp/multipartBody4354060760321783978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298368616,"filename":"image_12072025_07_31_33_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dba52ccd2cec99bd0c13b3de5480e227.jpg","text":"TemporaryFile(/tmp/multipartBody8538461390741356728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298368616,"filename":"image_12072025_07_31_24_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7883c5b50daf3912170d30d7187b6a24.jpg","text":"TemporaryFile(/tmp/multipartBody2576271634746183101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298368616,"filename":"image_12072025_07_31_03_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b5334f7f59a4f9198d9f954ff755a92.jpg","text":"TemporaryFile(/tmp/multipartBody3473658457753748248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298368616,"filename":"image_12072025_07_31_44_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3949ea4460776194222a3f241c032de2.jpg","text":"TemporaryFile(/tmp/multipartBody1955182005201030452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298368616,"filename":"image_12072025_07_31_14_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808160","file1":"1371808158","file0":"1371808156","file4":"1371808162","file5":"1371808164","file3":"1371808161"},"map_files_photo_id_array":[{"photo_id":"1371808164","filename":"file5"},{"photo_id":"1371808160","filename":"file2"},{"photo_id":"1371808162","filename":"file4"},{"photo_id":"1371808158","filename":"file1"},{"photo_id":"1371808156","filename":"file0"},{"photo_id":"1371808161","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808164":["hashtag1","hashtag2"]},{"1371808158":["hashtag1","hashtag2"]},{"1371808160":["hashtag1","hashtag2"]},{"1371808162":["hashtag1","hashtag2"]},{"1371808156":["hashtag1","hashtag2"]},{"1371808161":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808164, 1371808158, 1371808160, 1371808162, 1371808156, 1371808161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.868731260299683 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:32:32.481497
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_43_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_34_10594.jpg', 2), ('/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_23_9585.jpg', 2), ('/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_14_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/07/31/image_12072025_07_32_04_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_53_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_43_9618.jpg', '/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_34_10594.jpg', '/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_23_9585.jpg', '/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_14_9610.jpg', '/home/nano/Desktop/images/12072025/07/31/image_12072025_07_32_04_10614.jpg', '/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_53_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_43_9618.jpg
/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_34_10594.jpg
/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_23_9585.jpg
/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_14_9610.jpg
/home/nano/Desktop/images/12072025/07/31/image_12072025_07_32_04_10614.jpg
/home/nano/Desktop/images/12072025/07/31/image_12072025_07_31_53_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808199","1371808193","1371808196","1371808184","1371808183","1371808188"],"photo_ids_order":["1371808183","1371808184","1371808188","1371808193","1371808196","1371808199"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1cea1f17e57ccce1b94304c1fddbbc4.jpg","text":"TemporaryFile(/tmp/multipartBody4276000687075333348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298413637,"filename":"image_12072025_07_31_53_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/204d7e1bab84878103f7aafa6a764cff.jpg","text":"TemporaryFile(/tmp/multipartBody59973331984142280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298413637,"filename":"image_12072025_07_32_14_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d318cabd887f5f7942eb24abf4c84161.jpg","text":"TemporaryFile(/tmp/multipartBody8048556224375857302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298413637,"filename":"image_12072025_07_32_04_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eecdce8b05fda0d4286f39fad8e609c5.jpg","text":"TemporaryFile(/tmp/multipartBody5605210475993452966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298413637,"filename":"image_12072025_07_32_34_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45a77311be7f335d00c7c922ed3c21b2.jpg","text":"TemporaryFile(/tmp/multipartBody57705287530192247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298413637,"filename":"image_12072025_07_32_43_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4ecdd9e1212bcc8a58e7ab821df7158.jpg","text":"TemporaryFile(/tmp/multipartBody5543588252888165499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298413637,"filename":"image_12072025_07_32_23_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808188","file1":"1371808184","file0":"1371808183","file4":"1371808196","file5":"1371808199","file3":"1371808193"},"map_files_photo_id_array":[{"photo_id":"1371808199","filename":"file5"},{"photo_id":"1371808188","filename":"file2"},{"photo_id":"1371808196","filename":"file4"},{"photo_id":"1371808184","filename":"file1"},{"photo_id":"1371808183","filename":"file0"},{"photo_id":"1371808193","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808199":["hashtag1","hashtag2"]},{"1371808193":["hashtag1","hashtag2"]},{"1371808196":["hashtag1","hashtag2"]},{"1371808184":["hashtag1","hashtag2"]},{"1371808183":["hashtag1","hashtag2"]},{"1371808188":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808199, 1371808193, 1371808196, 1371808184, 1371808183, 1371808188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01733589172363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:33:17.589906
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/33/image_12072025_07_33_43_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/07/33/image_12072025_07_33_34_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/07/33/image_12072025_07_33_13_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_53_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/33/image_12072025_07_33_43_9629.jpg', '/home/nano/Desktop/images/12072025/07/33/image_12072025_07_33_34_9624.jpg', '/home/nano/Desktop/images/12072025/07/33/image_12072025_07_33_13_9640.jpg', '/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_53_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/33/image_12072025_07_33_43_9629.jpg
/home/nano/Desktop/images/12072025/07/33/image_12072025_07_33_34_9624.jpg
/home/nano/Desktop/images/12072025/07/33/image_12072025_07_33_13_9640.jpg
/home/nano/Desktop/images/12072025/07/32/image_12072025_07_32_53_9627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808212","1371808215","1371808205","1371808207"],"photo_ids_order":["1371808205","1371808207","1371808212","1371808215"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b52de902d2a48315ef63be7bf3f191d.jpg","text":"TemporaryFile(/tmp/multipartBody2656940487328489540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298458662,"filename":"image_12072025_07_33_13_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/137b5999708e52a75553b420baac89a1.jpg","text":"TemporaryFile(/tmp/multipartBody2944466545127358229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298458662,"filename":"image_12072025_07_32_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a818d97c366712084f95b311fb21bde.jpg","text":"TemporaryFile(/tmp/multipartBody8613333754772427312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298458662,"filename":"image_12072025_07_33_43_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3aae2edfc1aaf54feff629dfd3f3e74d.jpg","text":"TemporaryFile(/tmp/multipartBody5661936769445772707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298458662,"filename":"image_12072025_07_33_34_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808212","file1":"1371808207","file0":"1371808205","file3":"1371808215"},"map_files_photo_id_array":[{"photo_id":"1371808212","filename":"file2"},{"photo_id":"1371808207","filename":"file1"},{"photo_id":"1371808205","filename":"file0"},{"photo_id":"1371808215","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808212":["hashtag1","hashtag2"]},{"1371808215":["hashtag1","hashtag2"]},{"1371808205":["hashtag1","hashtag2"]},{"1371808207":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808212, 1371808215, 1371808205, 1371808207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.066251754760742 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:33:47.597811
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_54_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_34_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_24_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_13_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/20/37/image_10072025_20_38_04_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_54_10662.jpg', '/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_43_9646.jpg', '/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_34_9646.jpg', '/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_24_10658.jpg', '/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_13_9665.jpg', '/home/nano/Desktop/images/10072025/20/37/image_10072025_20_38_04_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_54_10662.jpg
/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_43_9646.jpg
/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_34_9646.jpg
/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_24_10658.jpg
/home/nano/Desktop/images/10072025/20/38/image_10072025_20_38_13_9665.jpg
/home/nano/Desktop/images/10072025/20/37/image_10072025_20_38_04_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808248","1371808236","1371808268","1371808264","1371808252","1371808281"],"photo_ids_order":["1371808236","1371808248","1371808252","1371808264","1371808268","1371808281"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99a284e481b909eb5ce9e00ab2df1606.jpg","text":"TemporaryFile(/tmp/multipartBody5874644798821837717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298490561,"filename":"image_10072025_20_38_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f5902acb86367e9d5e341eb27ffa639.jpg","text":"TemporaryFile(/tmp/multipartBody3670299501618444577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298490561,"filename":"image_10072025_20_38_54_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b58300563a5eafc920bb1e89739c04ec.jpg","text":"TemporaryFile(/tmp/multipartBody6586516987794177124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298490561,"filename":"image_10072025_20_38_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f76ea17f076225e2fdaa9bcc03193ce1.jpg","text":"TemporaryFile(/tmp/multipartBody3235535462284136432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298490561,"filename":"image_10072025_20_38_24_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e34cbe9cb4db822090b902408e7f9e4.jpg","text":"TemporaryFile(/tmp/multipartBody1111888620697856649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298490561,"filename":"image_10072025_20_38_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/201ad2074c17daf7fe73ce813f47a611.jpg","text":"TemporaryFile(/tmp/multipartBody1705810570909091988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298490561,"filename":"image_10072025_20_38_04_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808252","file1":"1371808248","file0":"1371808236","file4":"1371808268","file5":"1371808281","file3":"1371808264"},"map_files_photo_id_array":[{"photo_id":"1371808281","filename":"file5"},{"photo_id":"1371808252","filename":"file2"},{"photo_id":"1371808268","filename":"file4"},{"photo_id":"1371808248","filename":"file1"},{"photo_id":"1371808236","filename":"file0"},{"photo_id":"1371808264","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371808248":["hashtag1","hashtag2"]},{"1371808236":["hashtag1","hashtag2"]},{"1371808268":["hashtag1","hashtag2"]},{"1371808264":["hashtag1","hashtag2"]},{"1371808252":["hashtag1","hashtag2"]},{"1371808281":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371808248, 1371808236, 1371808268, 1371808264, 1371808252, 1371808281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.650718688964844 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:34:32.708699
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_43_9719.jpg', 2), ('/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_33_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_24_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_13_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/07/33/image_12072025_07_34_04_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/07/33/image_12072025_07_33_54_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_43_9719.jpg', '/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_33_9626.jpg', '/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_24_10636.jpg', '/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_13_9649.jpg', '/home/nano/Desktop/images/12072025/07/33/image_12072025_07_34_04_9654.jpg', '/home/nano/Desktop/images/12072025/07/33/image_12072025_07_33_54_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_43_9719.jpg
/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_33_9626.jpg
/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_24_10636.jpg
/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_13_9649.jpg
/home/nano/Desktop/images/12072025/07/33/image_12072025_07_34_04_9654.jpg
/home/nano/Desktop/images/12072025/07/33/image_12072025_07_33_54_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808292","1371808295","1371808289","1371808285","1371808287","1371808296"],"photo_ids_order":["1371808285","1371808287","1371808289","1371808292","1371808295","1371808296"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3c5b299aa4322b3e1d21791a3541837.jpg","text":"TemporaryFile(/tmp/multipartBody8313018282559801548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298533927,"filename":"image_12072025_07_34_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c1179b98c91e56fe80d9d21ec9ebcd8.jpg","text":"TemporaryFile(/tmp/multipartBody7254448207342774388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298533927,"filename":"image_12072025_07_34_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e127be2628f892569785ae15d2b74cbf.jpg","text":"TemporaryFile(/tmp/multipartBody6634459475079608473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298533927,"filename":"image_12072025_07_34_24_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/558b6f84b535c13f511cb2ecd8ab2f93.jpg","text":"TemporaryFile(/tmp/multipartBody7288207621615764984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298533927,"filename":"image_12072025_07_34_43_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6167020a7dc18688f6bb53ff361a12a.jpg","text":"TemporaryFile(/tmp/multipartBody7679826321196894353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298533927,"filename":"image_12072025_07_34_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7358c596b91142549647c640d96a1f8b.jpg","text":"TemporaryFile(/tmp/multipartBody6377449537595637519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298533927,"filename":"image_12072025_07_33_54_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808289","file1":"1371808287","file0":"1371808285","file4":"1371808295","file5":"1371808296","file3":"1371808292"},"map_files_photo_id_array":[{"photo_id":"1371808296","filename":"file5"},{"photo_id":"1371808289","filename":"file2"},{"photo_id":"1371808295","filename":"file4"},{"photo_id":"1371808287","filename":"file1"},{"photo_id":"1371808285","filename":"file0"},{"photo_id":"1371808292","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808292":["hashtag1","hashtag2"]},{"1371808295":["hashtag1","hashtag2"]},{"1371808289":["hashtag1","hashtag2"]},{"1371808285":["hashtag1","hashtag2"]},{"1371808287":["hashtag1","hashtag2"]},{"1371808296":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808292, 1371808295, 1371808289, 1371808285, 1371808287, 1371808296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07606554031372 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:35:16.796342
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_43_9721.jpg', 2), ('/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_34_9691.jpg', 2), ('/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_24_10752.jpg', 2), ('/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_13_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/07/34/image_12072025_07_35_04_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_54_10734.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_43_9721.jpg', '/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_34_9691.jpg', '/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_24_10752.jpg', '/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_13_9647.jpg', '/home/nano/Desktop/images/12072025/07/34/image_12072025_07_35_04_9637.jpg', '/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_54_10734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_43_9721.jpg
/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_34_9691.jpg
/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_24_10752.jpg
/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_13_9647.jpg
/home/nano/Desktop/images/12072025/07/34/image_12072025_07_35_04_9637.jpg
/home/nano/Desktop/images/12072025/07/34/image_12072025_07_34_54_10734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808312","1371808321","1371808315","1371808309","1371808318","1371808306"],"photo_ids_order":["1371808306","1371808309","1371808312","1371808315","1371808318","1371808321"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ca37d64c898d91bff3de8de60006c7a.jpg","text":"TemporaryFile(/tmp/multipartBody4201027045300685362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298578328,"filename":"image_12072025_07_35_24_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fba86c357e35925135763922cc0532de.jpg","text":"TemporaryFile(/tmp/multipartBody7927747950788087692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298578328,"filename":"image_12072025_07_34_54_10734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5be8603fe881e92fa85e9480a5a83d3e.jpg","text":"TemporaryFile(/tmp/multipartBody7097239249180999330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298578328,"filename":"image_12072025_07_35_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6ad41fe821073b122ddab1500b19085.jpg","text":"TemporaryFile(/tmp/multipartBody5358488222319554720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298578328,"filename":"image_12072025_07_35_34_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eaf73df947a5151e7b0aa9eec1ca713c.jpg","text":"TemporaryFile(/tmp/multipartBody6999761708098441522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298578328,"filename":"image_12072025_07_35_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f59410c2431884a166ee8acbb805d7d2.jpg","text":"TemporaryFile(/tmp/multipartBody1980820693406857609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298578328,"filename":"image_12072025_07_35_43_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808312","file1":"1371808309","file0":"1371808306","file4":"1371808318","file5":"1371808321","file3":"1371808315"},"map_files_photo_id_array":[{"photo_id":"1371808321","filename":"file5"},{"photo_id":"1371808312","filename":"file2"},{"photo_id":"1371808318","filename":"file4"},{"photo_id":"1371808309","filename":"file1"},{"photo_id":"1371808306","filename":"file0"},{"photo_id":"1371808315","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808312":["hashtag1","hashtag2"]},{"1371808321":["hashtag1","hashtag2"]},{"1371808315":["hashtag1","hashtag2"]},{"1371808309":["hashtag1","hashtag2"]},{"1371808318":["hashtag1","hashtag2"]},{"1371808306":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808312, 1371808321, 1371808315, 1371808309, 1371808318, 1371808306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.532315731048584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:36:02.443460
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_54_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_43_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_34_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_24_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_13_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/20/36/image_10072025_20_37_04_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_54_10662.jpg', '/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_43_9652.jpg', '/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_34_9651.jpg', '/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_24_10654.jpg', '/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_13_9664.jpg', '/home/nano/Desktop/images/10072025/20/36/image_10072025_20_37_04_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_54_10662.jpg
/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_43_9652.jpg
/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_34_9651.jpg
/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_24_10654.jpg
/home/nano/Desktop/images/10072025/20/37/image_10072025_20_37_13_9664.jpg
/home/nano/Desktop/images/10072025/20/36/image_10072025_20_37_04_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808329","1371808328","1371808331","1371808339","1371808330","1371808336"],"photo_ids_order":["1371808328","1371808329","1371808330","1371808331","1371808336","1371808339"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13eef57bfec8a8af135dd793378a1dbc.jpg","text":"TemporaryFile(/tmp/multipartBody4286974353979702752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298625285,"filename":"image_10072025_20_37_43_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61cc345e0e2299550bab5eade0bff37c.jpg","text":"TemporaryFile(/tmp/multipartBody2741309063910587285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298625285,"filename":"image_10072025_20_37_54_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2041d757dfdad73dc9fbdc24a4d0966.jpg","text":"TemporaryFile(/tmp/multipartBody5363373524072546919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298625285,"filename":"image_10072025_20_37_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d73a237a01baeda14ebf916d32612539.jpg","text":"TemporaryFile(/tmp/multipartBody8215711175546693329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298625285,"filename":"image_10072025_20_37_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e0cd867aceb1a208967390afafb4529.jpg","text":"TemporaryFile(/tmp/multipartBody8603553327991949771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298625285,"filename":"image_10072025_20_37_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcc3caa2bdc96a6fc307d955fdfeaad3.jpg","text":"TemporaryFile(/tmp/multipartBody2581761857376079611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298625285,"filename":"image_10072025_20_37_13_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808330","file1":"1371808329","file0":"1371808328","file4":"1371808336","file5":"1371808339","file3":"1371808331"},"map_files_photo_id_array":[{"photo_id":"1371808339","filename":"file5"},{"photo_id":"1371808330","filename":"file2"},{"photo_id":"1371808336","filename":"file4"},{"photo_id":"1371808329","filename":"file1"},{"photo_id":"1371808328","filename":"file0"},{"photo_id":"1371808331","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371808329":["hashtag1","hashtag2"]},{"1371808328":["hashtag1","hashtag2"]},{"1371808331":["hashtag1","hashtag2"]},{"1371808339":["hashtag1","hashtag2"]},{"1371808330":["hashtag1","hashtag2"]},{"1371808336":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371808329, 1371808328, 1371808331, 1371808339, 1371808330, 1371808336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.887048959732056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:36:46.949286
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_44_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_34_10697.jpg', 2), ('/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_23_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_13_9769.jpg', 2), ('/home/nano/Desktop/images/12072025/07/35/image_12072025_07_36_04_9728.jpg', 2), ('/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_54_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_44_9650.jpg', '/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_34_10697.jpg', '/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_23_9675.jpg', '/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_13_9769.jpg', '/home/nano/Desktop/images/12072025/07/35/image_12072025_07_36_04_9728.jpg', '/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_54_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_44_9650.jpg
/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_34_10697.jpg
/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_23_9675.jpg
/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_13_9769.jpg
/home/nano/Desktop/images/12072025/07/35/image_12072025_07_36_04_9728.jpg
/home/nano/Desktop/images/12072025/07/35/image_12072025_07_35_54_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808353","1371808346","1371808357","1371808351","1371808360","1371808348"],"photo_ids_order":["1371808346","1371808348","1371808351","1371808353","1371808357","1371808360"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18c59d8ebb8049011ef7cb76764f3c72.jpg","text":"TemporaryFile(/tmp/multipartBody5303228149648495752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298668399,"filename":"image_12072025_07_36_13_9769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae5d2c158ce496596eebf6537561ca68.jpg","text":"TemporaryFile(/tmp/multipartBody676700003041451080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298668399,"filename":"image_12072025_07_36_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9de639814ef81f4bb7bf13ba0a800ab3.jpg","text":"TemporaryFile(/tmp/multipartBody7915359637289856365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298668399,"filename":"image_12072025_07_36_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd181130fb37a12a4203dbd0576fc869.jpg","text":"TemporaryFile(/tmp/multipartBody7379568583821994697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298668399,"filename":"image_12072025_07_36_23_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8780c5fce40791a5bbea5e3f303211b.jpg","text":"TemporaryFile(/tmp/multipartBody6023569811008221045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298668399,"filename":"image_12072025_07_35_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b12bf9aa4e471273a174a82b94251ce.jpg","text":"TemporaryFile(/tmp/multipartBody7809521658522417636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298668399,"filename":"image_12072025_07_36_34_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808351","file1":"1371808348","file0":"1371808346","file4":"1371808357","file5":"1371808360","file3":"1371808353"},"map_files_photo_id_array":[{"photo_id":"1371808360","filename":"file5"},{"photo_id":"1371808351","filename":"file2"},{"photo_id":"1371808357","filename":"file4"},{"photo_id":"1371808348","filename":"file1"},{"photo_id":"1371808346","filename":"file0"},{"photo_id":"1371808353","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808353":["hashtag1","hashtag2"]},{"1371808346":["hashtag1","hashtag2"]},{"1371808357":["hashtag1","hashtag2"]},{"1371808351":["hashtag1","hashtag2"]},{"1371808360":["hashtag1","hashtag2"]},{"1371808348":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808353, 1371808346, 1371808357, 1371808351, 1371808360, 1371808348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99461913108826 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:37:32.069147
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_44_9707.jpg', 2), ('/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_34_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_23_9772.jpg', 2), ('/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_14_9832.jpg', 2), ('/home/nano/Desktop/images/12072025/07/36/image_12072025_07_37_04_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_53_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_44_9707.jpg', '/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_34_10629.jpg', '/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_23_9772.jpg', '/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_14_9832.jpg', '/home/nano/Desktop/images/12072025/07/36/image_12072025_07_37_04_10607.jpg', '/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_53_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_44_9707.jpg
/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_34_10629.jpg
/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_23_9772.jpg
/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_14_9832.jpg
/home/nano/Desktop/images/12072025/07/36/image_12072025_07_37_04_10607.jpg
/home/nano/Desktop/images/12072025/07/36/image_12072025_07_36_53_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808382","1371808370","1371808373","1371808375","1371808378","1371808380"],"photo_ids_order":["1371808370","1371808373","1371808375","1371808378","1371808380","1371808382"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18cf59d4fe6ae9bdd5b713e6fafe88de.jpg","text":"TemporaryFile(/tmp/multipartBody8674924413545180002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298713778,"filename":"image_12072025_07_36_53_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1704598844f25330094b4c26487350e.jpg","text":"TemporaryFile(/tmp/multipartBody8305920033130054464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298713778,"filename":"image_12072025_07_37_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5961889cd302b4f4fa7e5aab55cc661a.jpg","text":"TemporaryFile(/tmp/multipartBody887711219636081390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298713778,"filename":"image_12072025_07_37_34_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/441af70c03963f807dab20138631c9c7.jpg","text":"TemporaryFile(/tmp/multipartBody7152657903365119831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298713778,"filename":"image_12072025_07_37_23_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff02173a92256c7796ffcf6836b88a10.jpg","text":"TemporaryFile(/tmp/multipartBody8002151168029925261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298713778,"filename":"image_12072025_07_37_14_9832.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62dab2f5649748602f35ed80c3f43e16.jpg","text":"TemporaryFile(/tmp/multipartBody8228357034436570039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298713778,"filename":"image_12072025_07_37_04_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808375","file1":"1371808373","file0":"1371808370","file4":"1371808380","file5":"1371808382","file3":"1371808378"},"map_files_photo_id_array":[{"photo_id":"1371808382","filename":"file5"},{"photo_id":"1371808375","filename":"file2"},{"photo_id":"1371808380","filename":"file4"},{"photo_id":"1371808373","filename":"file1"},{"photo_id":"1371808370","filename":"file0"},{"photo_id":"1371808378","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808382":["hashtag1","hashtag2"]},{"1371808370":["hashtag1","hashtag2"]},{"1371808373":["hashtag1","hashtag2"]},{"1371808375":["hashtag1","hashtag2"]},{"1371808378":["hashtag1","hashtag2"]},{"1371808380":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808382, 1371808370, 1371808373, 1371808375, 1371808378, 1371808380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.269922494888306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:38:17.140175
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_44_10710.jpg', 2), ('/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_33_9698.jpg', 2), ('/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_23_9710.jpg', 2), ('/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_14_9766.jpg', 2), ('/home/nano/Desktop/images/12072025/07/37/image_12072025_07_38_04_10700.jpg', 2), ('/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_44_10710.jpg', '/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_33_9698.jpg', '/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_23_9710.jpg', '/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_14_9766.jpg', '/home/nano/Desktop/images/12072025/07/37/image_12072025_07_38_04_10700.jpg', '/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_44_10710.jpg
/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_33_9698.jpg
/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_23_9710.jpg
/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_14_9766.jpg
/home/nano/Desktop/images/12072025/07/37/image_12072025_07_38_04_10700.jpg
/home/nano/Desktop/images/12072025/07/37/image_12072025_07_37_53_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808419","1371808410","1371808404","1371808407","1371808409","1371808402"],"photo_ids_order":["1371808402","1371808404","1371808407","1371808409","1371808410","1371808419"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28d6d35c457e447de9405523b5b69353.jpg","text":"TemporaryFile(/tmp/multipartBody4566719785090590260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298758536,"filename":"image_12072025_07_37_53_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/242c7137b59c953f4ffc2e2defa2c2da.jpg","text":"TemporaryFile(/tmp/multipartBody563944800382169823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298758536,"filename":"image_12072025_07_38_04_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ecf08afb7391ddbca24efce14c88583.jpg","text":"TemporaryFile(/tmp/multipartBody2617894244144439092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298758536,"filename":"image_12072025_07_38_33_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb69333ebe1ffa40af2bf0d205e53fd7.jpg","text":"TemporaryFile(/tmp/multipartBody1945783370937345927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298758536,"filename":"image_12072025_07_38_23_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a08537b3e849c43b8aa2e0a244d954d1.jpg","text":"TemporaryFile(/tmp/multipartBody4944487381882416357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298758536,"filename":"image_12072025_07_38_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab548124444e6630b9e39f0c74a016a3.jpg","text":"TemporaryFile(/tmp/multipartBody2858598028020355131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298758536,"filename":"image_12072025_07_38_44_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808407","file1":"1371808404","file0":"1371808402","file4":"1371808410","file5":"1371808419","file3":"1371808409"},"map_files_photo_id_array":[{"photo_id":"1371808419","filename":"file5"},{"photo_id":"1371808407","filename":"file2"},{"photo_id":"1371808410","filename":"file4"},{"photo_id":"1371808404","filename":"file1"},{"photo_id":"1371808402","filename":"file0"},{"photo_id":"1371808409","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808419":["hashtag1","hashtag2"]},{"1371808410":["hashtag1","hashtag2"]},{"1371808404":["hashtag1","hashtag2"]},{"1371808407":["hashtag1","hashtag2"]},{"1371808409":["hashtag1","hashtag2"]},{"1371808402":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808419, 1371808410, 1371808404, 1371808407, 1371808409, 1371808402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.018842935562134 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:39:03.171875
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/36/image_10072025_20_36_54_10653.jpg', 2), ('/home/nano/Desktop/images/10072025/20/36/image_10072025_20_36_43_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/36/image_10072025_20_36_34_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/20/36/image_10072025_20_36_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/20/35/image_10072025_20_36_04_10693.jpg', 2), ('/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/36/image_10072025_20_36_54_10653.jpg', '/home/nano/Desktop/images/10072025/20/36/image_10072025_20_36_43_9646.jpg', '/home/nano/Desktop/images/10072025/20/36/image_10072025_20_36_34_10654.jpg', '/home/nano/Desktop/images/10072025/20/36/image_10072025_20_36_23_9645.jpg', '/home/nano/Desktop/images/10072025/20/35/image_10072025_20_36_04_10693.jpg', '/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/36/image_10072025_20_36_54_10653.jpg
/home/nano/Desktop/images/10072025/20/36/image_10072025_20_36_43_9646.jpg
/home/nano/Desktop/images/10072025/20/36/image_10072025_20_36_34_10654.jpg
/home/nano/Desktop/images/10072025/20/36/image_10072025_20_36_23_9645.jpg
/home/nano/Desktop/images/10072025/20/35/image_10072025_20_36_04_10693.jpg
/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808482","1371808440","1371808443","1371808439","1371808477","1371808479"],"photo_ids_order":["1371808439","1371808440","1371808443","1371808477","1371808479","1371808482"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c10367e8c6fb3c3a77ea05ed7cb3754d.jpg","text":"TemporaryFile(/tmp/multipartBody9033278549453861944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298806143,"filename":"image_10072025_20_35_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8628e2f2c09d911fa5a7500159eb5a8.jpg","text":"TemporaryFile(/tmp/multipartBody6316653550004262435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298806143,"filename":"image_10072025_20_36_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0cc547e57cd956b9ce549ee437b69ff.jpg","text":"TemporaryFile(/tmp/multipartBody8438150449056998366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298806143,"filename":"image_10072025_20_36_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35f588f3b26f2e1464cf24f158f55216.jpg","text":"TemporaryFile(/tmp/multipartBody4512119800751689233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298806143,"filename":"image_10072025_20_36_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2798a0d4cd2a3868cf40a407960c7c66.jpg","text":"TemporaryFile(/tmp/multipartBody743111568143863166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298806143,"filename":"image_10072025_20_36_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f770a76b539ea000d79771e583a0391b.jpg","text":"TemporaryFile(/tmp/multipartBody4792322282912992867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298806143,"filename":"image_10072025_20_36_04_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808443","file1":"1371808440","file0":"1371808439","file4":"1371808479","file5":"1371808482","file3":"1371808477"},"map_files_photo_id_array":[{"photo_id":"1371808482","filename":"file5"},{"photo_id":"1371808443","filename":"file2"},{"photo_id":"1371808479","filename":"file4"},{"photo_id":"1371808440","filename":"file1"},{"photo_id":"1371808439","filename":"file0"},{"photo_id":"1371808477","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371808482":["hashtag1","hashtag2"]},{"1371808440":["hashtag1","hashtag2"]},{"1371808443":["hashtag1","hashtag2"]},{"1371808439":["hashtag1","hashtag2"]},{"1371808477":["hashtag1","hashtag2"]},{"1371808479":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371808482, 1371808440, 1371808443, 1371808439, 1371808477, 1371808479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.996766567230225 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:39:47.229059
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_44_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_33_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_24_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_14_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/07/38/image_12072025_07_39_03_9703.jpg', 2), ('/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_44_10619.jpg', '/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_33_9611.jpg', '/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_24_9631.jpg', '/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_14_10656.jpg', '/home/nano/Desktop/images/12072025/07/38/image_12072025_07_39_03_9703.jpg', '/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_44_10619.jpg
/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_33_9611.jpg
/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_24_9631.jpg
/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_14_10656.jpg
/home/nano/Desktop/images/12072025/07/38/image_12072025_07_39_03_9703.jpg
/home/nano/Desktop/images/12072025/07/38/image_12072025_07_38_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808503","1371808512","1371808499","1371808520","1371808507","1371808516"],"photo_ids_order":["1371808499","1371808503","1371808507","1371808512","1371808516","1371808520"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb3bff3c6a5f6018b2ad8164c6b25d6e.jpg","text":"TemporaryFile(/tmp/multipartBody2886331391583988538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298848639,"filename":"image_12072025_07_39_33_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a10aa1a933e67e3031e79e5f96edcc36.jpg","text":"TemporaryFile(/tmp/multipartBody4993817866559529729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298848639,"filename":"image_12072025_07_39_14_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10ec9435f745faf2cd56b5512e495a3e.jpg","text":"TemporaryFile(/tmp/multipartBody1834438275844672013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298848639,"filename":"image_12072025_07_39_44_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8580ceb6186f0beddc716018af2301d9.jpg","text":"TemporaryFile(/tmp/multipartBody7036610257169521544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298848639,"filename":"image_12072025_07_38_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4785ae698e84df03c3d39a4e9afb6172.jpg","text":"TemporaryFile(/tmp/multipartBody5136368680766717705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298848639,"filename":"image_12072025_07_39_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1dd99e354a13dba1571bd144c715024c.jpg","text":"TemporaryFile(/tmp/multipartBody1081357684812131258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298848639,"filename":"image_12072025_07_39_03_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808507","file1":"1371808503","file0":"1371808499","file4":"1371808516","file5":"1371808520","file3":"1371808512"},"map_files_photo_id_array":[{"photo_id":"1371808520","filename":"file5"},{"photo_id":"1371808507","filename":"file2"},{"photo_id":"1371808516","filename":"file4"},{"photo_id":"1371808503","filename":"file1"},{"photo_id":"1371808499","filename":"file0"},{"photo_id":"1371808512","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808503":["hashtag1","hashtag2"]},{"1371808512":["hashtag1","hashtag2"]},{"1371808499":["hashtag1","hashtag2"]},{"1371808520":["hashtag1","hashtag2"]},{"1371808507":["hashtag1","hashtag2"]},{"1371808516":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808503, 1371808512, 1371808499, 1371808520, 1371808507, 1371808516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85993242263794 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:40:32.358182
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_43_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_34_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_23_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_14_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/07/39/image_12072025_07_40_04_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_43_9631.jpg', '/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_34_10637.jpg', '/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_23_9606.jpg', '/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_14_9644.jpg', '/home/nano/Desktop/images/12072025/07/39/image_12072025_07_40_04_10613.jpg', '/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_43_9631.jpg
/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_34_10637.jpg
/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_23_9606.jpg
/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_14_9644.jpg
/home/nano/Desktop/images/12072025/07/39/image_12072025_07_40_04_10613.jpg
/home/nano/Desktop/images/12072025/07/39/image_12072025_07_39_53_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808595","1371808586","1371808550","1371808588","1371808599","1371808593"],"photo_ids_order":["1371808550","1371808586","1371808588","1371808593","1371808595","1371808599"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/190acdf4b0b9a1344a9e33b2f99c0a63.jpg","text":"TemporaryFile(/tmp/multipartBody2787942615174673206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298893544,"filename":"image_12072025_07_40_04_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a6936f32ac074ca59d56dc3aae944c3.jpg","text":"TemporaryFile(/tmp/multipartBody3445648865320097956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298893544,"filename":"image_12072025_07_40_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8aaa9f78252130dcb1e014b9a6dbe65.jpg","text":"TemporaryFile(/tmp/multipartBody1269578766989751688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298893544,"filename":"image_12072025_07_40_43_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9091207968a9180d13eff2dda212a25.jpg","text":"TemporaryFile(/tmp/multipartBody369599617270119726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298893544,"filename":"image_12072025_07_40_23_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a9e1d3a807d9b9bee2f7d4520531aa8.jpg","text":"TemporaryFile(/tmp/multipartBody3014849247049017489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298893544,"filename":"image_12072025_07_39_53_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/140ca8683b3c94c8653159f2b245880e.jpg","text":"TemporaryFile(/tmp/multipartBody1177141973597352785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298893544,"filename":"image_12072025_07_40_14_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808588","file1":"1371808586","file0":"1371808550","file4":"1371808595","file5":"1371808599","file3":"1371808593"},"map_files_photo_id_array":[{"photo_id":"1371808599","filename":"file5"},{"photo_id":"1371808588","filename":"file2"},{"photo_id":"1371808595","filename":"file4"},{"photo_id":"1371808586","filename":"file1"},{"photo_id":"1371808550","filename":"file0"},{"photo_id":"1371808593","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808595":["hashtag1","hashtag2"]},{"1371808586":["hashtag1","hashtag2"]},{"1371808550":["hashtag1","hashtag2"]},{"1371808588":["hashtag1","hashtag2"]},{"1371808599":["hashtag1","hashtag2"]},{"1371808593":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808595, 1371808586, 1371808550, 1371808588, 1371808599, 1371808593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.082151651382446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:41:17.426749
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_34_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_23_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/07/40/image_12072025_07_41_04_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_53_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_43_9645.jpg', '/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_34_10646.jpg', '/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_23_9631.jpg', '/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_13_9658.jpg', '/home/nano/Desktop/images/12072025/07/40/image_12072025_07_41_04_10652.jpg', '/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_53_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_43_9645.jpg
/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_34_10646.jpg
/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_23_9631.jpg
/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_13_9658.jpg
/home/nano/Desktop/images/12072025/07/40/image_12072025_07_41_04_10652.jpg
/home/nano/Desktop/images/12072025/07/40/image_12072025_07_40_53_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808614","1371808617","1371808611","1371808619","1371808621","1371808609"],"photo_ids_order":["1371808609","1371808611","1371808614","1371808617","1371808619","1371808621"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b116ce9db7be58f38858ee9f94325555.jpg","text":"TemporaryFile(/tmp/multipartBody8139613403872280166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298938751,"filename":"image_12072025_07_41_23_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7448f0279a20e2e006d9c7a93606686b.jpg","text":"TemporaryFile(/tmp/multipartBody9112684270112172439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298938751,"filename":"image_12072025_07_41_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d4350f3c2256b01c8e7b1819b75ceae.jpg","text":"TemporaryFile(/tmp/multipartBody3747029377186604353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298938751,"filename":"image_12072025_07_41_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2bdbe04bc16133ece374315cc26f0946.jpg","text":"TemporaryFile(/tmp/multipartBody7179220849723061148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298938751,"filename":"image_12072025_07_41_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/007f6f0751cbb5afb457b28e3e7b0768.jpg","text":"TemporaryFile(/tmp/multipartBody5891882910382855857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298938751,"filename":"image_12072025_07_40_53_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/656693c4a6396c8b54e2fe331afc47d0.jpg","text":"TemporaryFile(/tmp/multipartBody6558848308920970522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298938751,"filename":"image_12072025_07_41_43_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808614","file1":"1371808611","file0":"1371808609","file4":"1371808619","file5":"1371808621","file3":"1371808617"},"map_files_photo_id_array":[{"photo_id":"1371808621","filename":"file5"},{"photo_id":"1371808614","filename":"file2"},{"photo_id":"1371808619","filename":"file4"},{"photo_id":"1371808611","filename":"file1"},{"photo_id":"1371808609","filename":"file0"},{"photo_id":"1371808617","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808614":["hashtag1","hashtag2"]},{"1371808617":["hashtag1","hashtag2"]},{"1371808611":["hashtag1","hashtag2"]},{"1371808619":["hashtag1","hashtag2"]},{"1371808621":["hashtag1","hashtag2"]},{"1371808609":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808614, 1371808617, 1371808611, 1371808619, 1371808621, 1371808609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58573269844055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:42:03.088583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_43_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_34_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_13_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/20/34/image_10072025_20_35_04_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_43_9645.jpg', '/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_34_10654.jpg', '/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_23_9645.jpg', '/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_13_9664.jpg', '/home/nano/Desktop/images/10072025/20/34/image_10072025_20_35_04_10664.jpg', '/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_43_9645.jpg
/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_34_10654.jpg
/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_23_9645.jpg
/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_13_9664.jpg
/home/nano/Desktop/images/10072025/20/34/image_10072025_20_35_04_10664.jpg
/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_53_9645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.7375926971435547 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:42:17.514070
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_43_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_34_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_24_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_13_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/07/41/image_12072025_07_42_04_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_54_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_43_9661.jpg', '/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_34_9637.jpg', '/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_24_10671.jpg', '/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_13_9654.jpg', '/home/nano/Desktop/images/12072025/07/41/image_12072025_07_42_04_9640.jpg', '/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_54_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_43_9661.jpg
/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_34_9637.jpg
/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_24_10671.jpg
/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_13_9654.jpg
/home/nano/Desktop/images/12072025/07/41/image_12072025_07_42_04_9640.jpg
/home/nano/Desktop/images/12072025/07/41/image_12072025_07_41_54_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808646","1371808637","1371808648","1371808642","1371808651","1371808639"],"photo_ids_order":["1371808637","1371808639","1371808642","1371808646","1371808648","1371808651"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f05d3044793552b8fcc8e89054d7bb04.jpg","text":"TemporaryFile(/tmp/multipartBody1718122860270914858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298999013,"filename":"image_12072025_07_42_13_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/473402a4250a162471b521cb8c5a4a31.jpg","text":"TemporaryFile(/tmp/multipartBody1601518758585143310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298999013,"filename":"image_12072025_07_42_43_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66afd5c1460d1120e3fdca661efab7ab.jpg","text":"TemporaryFile(/tmp/multipartBody354206946155127249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298999013,"filename":"image_12072025_07_42_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/624d4bed2b57257211f60fa65a6be1f3.jpg","text":"TemporaryFile(/tmp/multipartBody6708217560537767643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298999013,"filename":"image_12072025_07_42_24_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72756b43004420f7b9c25c4a0f115c6e.jpg","text":"TemporaryFile(/tmp/multipartBody7240626670979791911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298999013,"filename":"image_12072025_07_41_54_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d383fdbfc60f0fbd8382bd807aca5f39.jpg","text":"TemporaryFile(/tmp/multipartBody3696021697950104069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752298999013,"filename":"image_12072025_07_42_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808642","file1":"1371808639","file0":"1371808637","file4":"1371808648","file5":"1371808651","file3":"1371808646"},"map_files_photo_id_array":[{"photo_id":"1371808651","filename":"file5"},{"photo_id":"1371808642","filename":"file2"},{"photo_id":"1371808648","filename":"file4"},{"photo_id":"1371808639","filename":"file1"},{"photo_id":"1371808637","filename":"file0"},{"photo_id":"1371808646","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808646":["hashtag1","hashtag2"]},{"1371808637":["hashtag1","hashtag2"]},{"1371808648":["hashtag1","hashtag2"]},{"1371808642":["hashtag1","hashtag2"]},{"1371808651":["hashtag1","hashtag2"]},{"1371808639":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808646, 1371808637, 1371808648, 1371808642, 1371808651, 1371808639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52936887741089 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:43:03.413951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_43_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_34_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_13_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/20/34/image_10072025_20_35_04_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_43_9645.jpg', '/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_34_10654.jpg', '/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_23_9645.jpg', '/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_13_9664.jpg', '/home/nano/Desktop/images/10072025/20/34/image_10072025_20_35_04_10664.jpg', '/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_43_9645.jpg
/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_34_10654.jpg
/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_23_9645.jpg
/home/nano/Desktop/images/10072025/20/35/image_10072025_20_35_13_9664.jpg
/home/nano/Desktop/images/10072025/20/34/image_10072025_20_35_04_10664.jpg
/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808668","1371808661","1371808664","1371808669","1371808671","1371808659"],"photo_ids_order":["1371808659","1371808661","1371808664","1371808668","1371808669","1371808671"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d69508c54fef50ac4c52d788ec202b8c.jpg","text":"TemporaryFile(/tmp/multipartBody8949420385238252468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299046164,"filename":"image_10072025_20_35_13_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08d70deec1c8fb195729e246296d1867.jpg","text":"TemporaryFile(/tmp/multipartBody4837481758025772734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299046164,"filename":"image_10072025_20_35_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5a077033ad4c2b750ec6e7245bd254a.jpg","text":"TemporaryFile(/tmp/multipartBody1931510586276307569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299046164,"filename":"image_10072025_20_35_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ebda12459a18c31fa699cb56e03668da.jpg","text":"TemporaryFile(/tmp/multipartBody278839762097746926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299046164,"filename":"image_10072025_20_35_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5da28f32b0ff53422fe214ec9d73caa.jpg","text":"TemporaryFile(/tmp/multipartBody2304868721464250508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299046164,"filename":"image_10072025_20_34_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d86ecea259443df46441b9d3c11ff388.jpg","text":"TemporaryFile(/tmp/multipartBody2362846285939979451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299046164,"filename":"image_10072025_20_35_43_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808664","file1":"1371808661","file0":"1371808659","file4":"1371808669","file5":"1371808671","file3":"1371808668"},"map_files_photo_id_array":[{"photo_id":"1371808671","filename":"file5"},{"photo_id":"1371808664","filename":"file2"},{"photo_id":"1371808669","filename":"file4"},{"photo_id":"1371808661","filename":"file1"},{"photo_id":"1371808659","filename":"file0"},{"photo_id":"1371808668","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371808668":["hashtag1","hashtag2"]},{"1371808661":["hashtag1","hashtag2"]},{"1371808664":["hashtag1","hashtag2"]},{"1371808669":["hashtag1","hashtag2"]},{"1371808671":["hashtag1","hashtag2"]},{"1371808659":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371808668, 1371808661, 1371808664, 1371808669, 1371808671, 1371808659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11398935317993 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:43:47.626255
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_43_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_34_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_24_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_13_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/07/42/image_12072025_07_43_04_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_54_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_43_9631.jpg', '/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_34_9659.jpg', '/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_24_10640.jpg', '/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_13_9668.jpg', '/home/nano/Desktop/images/12072025/07/42/image_12072025_07_43_04_9653.jpg', '/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_54_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_43_9631.jpg
/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_34_9659.jpg
/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_24_10640.jpg
/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_13_9668.jpg
/home/nano/Desktop/images/12072025/07/42/image_12072025_07_43_04_9653.jpg
/home/nano/Desktop/images/12072025/07/42/image_12072025_07_42_54_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808694","1371808688","1371808685","1371808693","1371808696","1371808692"],"photo_ids_order":["1371808685","1371808688","1371808692","1371808693","1371808694","1371808696"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89f5befecb0dafe037102e559de86074.jpg","text":"TemporaryFile(/tmp/multipartBody5418519128236320373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299089049,"filename":"image_12072025_07_43_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa49c04c01c9edac0f6067144b732d77.jpg","text":"TemporaryFile(/tmp/multipartBody9025864690169458458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299089049,"filename":"image_12072025_07_43_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68e6a73db7eb560b2ec95e411f5c8324.jpg","text":"TemporaryFile(/tmp/multipartBody140040633157730778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299089049,"filename":"image_12072025_07_43_43_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5e004618397be89fc46e6334cd4a4b5.jpg","text":"TemporaryFile(/tmp/multipartBody6590368443085219295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299089049,"filename":"image_12072025_07_43_13_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fa8ec7c1bf557a09ec6d3fe47cd2b7d.jpg","text":"TemporaryFile(/tmp/multipartBody5320757978263648966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299089049,"filename":"image_12072025_07_42_54_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7aa31a29e0a8b138581be91d591b86b.jpg","text":"TemporaryFile(/tmp/multipartBody6983881175131460039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299089049,"filename":"image_12072025_07_43_24_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808692","file1":"1371808688","file0":"1371808685","file4":"1371808694","file5":"1371808696","file3":"1371808693"},"map_files_photo_id_array":[{"photo_id":"1371808696","filename":"file5"},{"photo_id":"1371808692","filename":"file2"},{"photo_id":"1371808694","filename":"file4"},{"photo_id":"1371808688","filename":"file1"},{"photo_id":"1371808685","filename":"file0"},{"photo_id":"1371808693","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808694":["hashtag1","hashtag2"]},{"1371808688":["hashtag1","hashtag2"]},{"1371808685":["hashtag1","hashtag2"]},{"1371808693":["hashtag1","hashtag2"]},{"1371808696":["hashtag1","hashtag2"]},{"1371808692":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808694, 1371808688, 1371808685, 1371808693, 1371808696, 1371808692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46583604812622 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:44:32.724552
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_43_9681.jpg', 2), ('/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_33_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_24_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_13_9672.jpg', 2), ('/home/nano/Desktop/images/12072025/07/43/image_12072025_07_44_03_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_54_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_43_9681.jpg', '/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_33_9644.jpg', '/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_24_10635.jpg', '/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_13_9672.jpg', '/home/nano/Desktop/images/12072025/07/43/image_12072025_07_44_03_9640.jpg', '/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_54_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_43_9681.jpg
/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_33_9644.jpg
/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_24_10635.jpg
/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_13_9672.jpg
/home/nano/Desktop/images/12072025/07/43/image_12072025_07_44_03_9640.jpg
/home/nano/Desktop/images/12072025/07/43/image_12072025_07_43_54_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808713","1371808722","1371808725","1371808719","1371808729","1371808726"],"photo_ids_order":["1371808713","1371808719","1371808722","1371808725","1371808726","1371808729"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44cae39d65c3eb5c3fb326be66e358b7.jpg","text":"TemporaryFile(/tmp/multipartBody5991395338249409725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299134310,"filename":"image_12072025_07_44_43_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/802e816536de932fa6028feb3f520c5b.jpg","text":"TemporaryFile(/tmp/multipartBody2061664852813803851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299134310,"filename":"image_12072025_07_44_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c7678f5125ad39cdc0fa8f00f4569bd.jpg","text":"TemporaryFile(/tmp/multipartBody8125160379033742864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299134310,"filename":"image_12072025_07_44_13_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61ad2446405f72cbb7a12b0fb5b3f311.jpg","text":"TemporaryFile(/tmp/multipartBody6979516173163126647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299134310,"filename":"image_12072025_07_44_33_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/412c979c8e382d078eae67c91cc6dbbe.jpg","text":"TemporaryFile(/tmp/multipartBody6166835023711991452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299134310,"filename":"image_12072025_07_43_54_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b119bede46cf4cf8322a58bb5fc5907.jpg","text":"TemporaryFile(/tmp/multipartBody3195035703800247859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299134310,"filename":"image_12072025_07_44_03_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808722","file1":"1371808719","file0":"1371808713","file4":"1371808726","file5":"1371808729","file3":"1371808725"},"map_files_photo_id_array":[{"photo_id":"1371808729","filename":"file5"},{"photo_id":"1371808722","filename":"file2"},{"photo_id":"1371808726","filename":"file4"},{"photo_id":"1371808719","filename":"file1"},{"photo_id":"1371808713","filename":"file0"},{"photo_id":"1371808725","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808713":["hashtag1","hashtag2"]},{"1371808722":["hashtag1","hashtag2"]},{"1371808725":["hashtag1","hashtag2"]},{"1371808719":["hashtag1","hashtag2"]},{"1371808729":["hashtag1","hashtag2"]},{"1371808726":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808713, 1371808722, 1371808725, 1371808719, 1371808729, 1371808726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72467803955078 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:45:16.843732
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_44_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_33_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_24_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_14_10688.jpg', 2), ('/home/nano/Desktop/images/12072025/07/44/image_12072025_07_45_03_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_54_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_44_10668.jpg', '/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_33_9643.jpg', '/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_24_9646.jpg', '/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_14_10688.jpg', '/home/nano/Desktop/images/12072025/07/44/image_12072025_07_45_03_9617.jpg', '/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_54_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_44_10668.jpg
/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_33_9643.jpg
/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_24_9646.jpg
/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_14_10688.jpg
/home/nano/Desktop/images/12072025/07/44/image_12072025_07_45_03_9617.jpg
/home/nano/Desktop/images/12072025/07/44/image_12072025_07_44_54_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808740","1371808737","1371808742","1371808745","1371808736","1371808735"],"photo_ids_order":["1371808735","1371808736","1371808737","1371808740","1371808742","1371808745"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5ad8d1d16f97173279a0e347b8a4513.jpg","text":"TemporaryFile(/tmp/multipartBody2400558625291394856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299178274,"filename":"image_12072025_07_45_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/883d98d4e6889f83b56c740ea63a8382.jpg","text":"TemporaryFile(/tmp/multipartBody6122226028363082942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299178274,"filename":"image_12072025_07_45_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3394e1a251d32ee77273eabb1753f95f.jpg","text":"TemporaryFile(/tmp/multipartBody908803798668087107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299178274,"filename":"image_12072025_07_45_03_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0446e2665887862a29d21d7921105d2.jpg","text":"TemporaryFile(/tmp/multipartBody7871956879744802270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299178274,"filename":"image_12072025_07_44_54_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/944c35b2bf381739122e26247bad784a.jpg","text":"TemporaryFile(/tmp/multipartBody8374473031659513632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299178274,"filename":"image_12072025_07_45_33_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02c70d98a1d15c742ffadb2a843c3b82.jpg","text":"TemporaryFile(/tmp/multipartBody2967018206188569005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299178274,"filename":"image_12072025_07_45_44_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808737","file1":"1371808736","file0":"1371808735","file4":"1371808742","file5":"1371808745","file3":"1371808740"},"map_files_photo_id_array":[{"photo_id":"1371808745","filename":"file5"},{"photo_id":"1371808737","filename":"file2"},{"photo_id":"1371808742","filename":"file4"},{"photo_id":"1371808736","filename":"file1"},{"photo_id":"1371808735","filename":"file0"},{"photo_id":"1371808740","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808740":["hashtag1","hashtag2"]},{"1371808737":["hashtag1","hashtag2"]},{"1371808742":["hashtag1","hashtag2"]},{"1371808745":["hashtag1","hashtag2"]},{"1371808736":["hashtag1","hashtag2"]},{"1371808735":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808740, 1371808737, 1371808742, 1371808745, 1371808736, 1371808735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07948565483093 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:46:02.532268
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_34_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_14_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/20/33/image_10072025_20_34_04_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_53_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_44_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_34_10656.jpg', '/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_23_9646.jpg', '/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_14_9661.jpg', '/home/nano/Desktop/images/10072025/20/33/image_10072025_20_34_04_10657.jpg', '/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_53_9651.jpg', '/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_44_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_34_10656.jpg
/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_23_9646.jpg
/home/nano/Desktop/images/10072025/20/34/image_10072025_20_34_14_9661.jpg
/home/nano/Desktop/images/10072025/20/33/image_10072025_20_34_04_10657.jpg
/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_53_9651.jpg
/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_44_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808761","1371808766","1371808768","1371808770","1371808764","1371808758"],"photo_ids_order":["1371808758","1371808761","1371808764","1371808766","1371808768","1371808770"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d1622b653a62f144b7d66a2c7729b64.jpg","text":"TemporaryFile(/tmp/multipartBody3490191360905684809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299225212,"filename":"image_10072025_20_34_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2136cb65eb8261a58d26abc09ed3f29c.jpg","text":"TemporaryFile(/tmp/multipartBody4708245210873433461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299225212,"filename":"image_10072025_20_34_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/026bd7ab6e808bdcc0295890451f81ab.jpg","text":"TemporaryFile(/tmp/multipartBody8147789060598311998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299225212,"filename":"image_10072025_20_33_53_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b672c010a571175b2560a99112fea154.jpg","text":"TemporaryFile(/tmp/multipartBody4721829440834140221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299225212,"filename":"image_10072025_20_33_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ac132fa68eca7d7f31dc610ace7352f.jpg","text":"TemporaryFile(/tmp/multipartBody7688687025349178606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299225212,"filename":"image_10072025_20_34_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d9098db6f8c729393789f3f43bafd8d.jpg","text":"TemporaryFile(/tmp/multipartBody7848392932985031094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299225212,"filename":"image_10072025_20_34_34_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808764","file1":"1371808761","file0":"1371808758","file4":"1371808768","file5":"1371808770","file3":"1371808766"},"map_files_photo_id_array":[{"photo_id":"1371808770","filename":"file5"},{"photo_id":"1371808764","filename":"file2"},{"photo_id":"1371808768","filename":"file4"},{"photo_id":"1371808761","filename":"file1"},{"photo_id":"1371808758","filename":"file0"},{"photo_id":"1371808766","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371808761":["hashtag1","hashtag2"]},{"1371808766":["hashtag1","hashtag2"]},{"1371808768":["hashtag1","hashtag2"]},{"1371808770":["hashtag1","hashtag2"]},{"1371808764":["hashtag1","hashtag2"]},{"1371808758":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371808761, 1371808766, 1371808768, 1371808770, 1371808764, 1371808758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.876014947891235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:46:46.970550
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_44_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_33_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_24_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_14_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/07/45/image_12072025_07_46_03_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_44_10665.jpg', '/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_33_9624.jpg', '/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_24_9630.jpg', '/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_14_10671.jpg', '/home/nano/Desktop/images/12072025/07/45/image_12072025_07_46_03_9624.jpg', '/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_54_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_44_10665.jpg
/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_33_9624.jpg
/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_24_9630.jpg
/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_14_10671.jpg
/home/nano/Desktop/images/12072025/07/45/image_12072025_07_46_03_9624.jpg
/home/nano/Desktop/images/12072025/07/45/image_12072025_07_45_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808787","1371808775","1371808783","1371808780","1371808777","1371808779"],"photo_ids_order":["1371808775","1371808777","1371808779","1371808780","1371808783","1371808787"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e62532a0e961aa99e3d4a74a76a6f17.jpg","text":"TemporaryFile(/tmp/multipartBody7495897187899779603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299268384,"filename":"image_12072025_07_45_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5e7ec115aae320f7e9f23be3d0e9344.jpg","text":"TemporaryFile(/tmp/multipartBody6684362044967985688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299268384,"filename":"image_12072025_07_46_44_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b192a69cc0a25b97bc737e42d96199a.jpg","text":"TemporaryFile(/tmp/multipartBody3860516382734299016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299268384,"filename":"image_12072025_07_46_03_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e6b61aa5877cf71b945dd56484cc33f.jpg","text":"TemporaryFile(/tmp/multipartBody3563542823135882522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299268384,"filename":"image_12072025_07_46_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7c807a2d600ae24211bf5b85553fe80.jpg","text":"TemporaryFile(/tmp/multipartBody5965620919610547253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299268384,"filename":"image_12072025_07_46_33_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e319dd0871c99908abd8d44499c4421c.jpg","text":"TemporaryFile(/tmp/multipartBody8174024025985117148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299268384,"filename":"image_12072025_07_46_24_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808779","file1":"1371808777","file0":"1371808775","file4":"1371808783","file5":"1371808787","file3":"1371808780"},"map_files_photo_id_array":[{"photo_id":"1371808787","filename":"file5"},{"photo_id":"1371808779","filename":"file2"},{"photo_id":"1371808783","filename":"file4"},{"photo_id":"1371808777","filename":"file1"},{"photo_id":"1371808775","filename":"file0"},{"photo_id":"1371808780","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808787":["hashtag1","hashtag2"]},{"1371808775":["hashtag1","hashtag2"]},{"1371808783":["hashtag1","hashtag2"]},{"1371808780":["hashtag1","hashtag2"]},{"1371808777":["hashtag1","hashtag2"]},{"1371808779":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808787, 1371808775, 1371808783, 1371808780, 1371808777, 1371808779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.600693941116333 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:47:32.137990
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_44_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_34_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_23_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_14_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/07/46/image_12072025_07_47_04_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_44_9646.jpg', '/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_34_10616.jpg', '/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_23_9624.jpg', '/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_14_9635.jpg', '/home/nano/Desktop/images/12072025/07/46/image_12072025_07_47_04_10631.jpg', '/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_44_9646.jpg
/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_34_10616.jpg
/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_23_9624.jpg
/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_14_9635.jpg
/home/nano/Desktop/images/12072025/07/46/image_12072025_07_47_04_10631.jpg
/home/nano/Desktop/images/12072025/07/46/image_12072025_07_46_53_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808854","1371808821","1371808824","1371808817","1371808852","1371808819"],"photo_ids_order":["1371808817","1371808819","1371808821","1371808824","1371808852","1371808854"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ddaf3710586eef666da3356e8df0da64.jpg","text":"TemporaryFile(/tmp/multipartBody6648626337260712271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299313303,"filename":"image_12072025_07_46_53_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3cf91343da4d7133c62a941e824a461a.jpg","text":"TemporaryFile(/tmp/multipartBody361993316561951406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299313303,"filename":"image_12072025_07_47_23_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3471aa3e6cc6c418471d01180b9561bb.jpg","text":"TemporaryFile(/tmp/multipartBody1636404880052432726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299313303,"filename":"image_12072025_07_47_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6feea190d5d7799af297619f4cf8002d.jpg","text":"TemporaryFile(/tmp/multipartBody4288501193914041617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299313303,"filename":"image_12072025_07_47_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ccd718baa256d256c9f2d9090bb157be.jpg","text":"TemporaryFile(/tmp/multipartBody3263941648688404581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299313303,"filename":"image_12072025_07_47_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e4fb585f534255d97744284df2acc8b.jpg","text":"TemporaryFile(/tmp/multipartBody4540693255828522124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299313303,"filename":"image_12072025_07_47_34_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808821","file1":"1371808819","file0":"1371808817","file4":"1371808852","file5":"1371808854","file3":"1371808824"},"map_files_photo_id_array":[{"photo_id":"1371808854","filename":"file5"},{"photo_id":"1371808821","filename":"file2"},{"photo_id":"1371808852","filename":"file4"},{"photo_id":"1371808819","filename":"file1"},{"photo_id":"1371808817","filename":"file0"},{"photo_id":"1371808824","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808854":["hashtag1","hashtag2"]},{"1371808821":["hashtag1","hashtag2"]},{"1371808824":["hashtag1","hashtag2"]},{"1371808817":["hashtag1","hashtag2"]},{"1371808852":["hashtag1","hashtag2"]},{"1371808819":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808854, 1371808821, 1371808824, 1371808817, 1371808852, 1371808819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.79332447052002 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:48:17.190856
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_43_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_34_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_24_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_13_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/07/47/image_12072025_07_48_04_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_43_9592.jpg', '/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_34_9593.jpg', '/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_24_10614.jpg', '/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_13_9619.jpg', '/home/nano/Desktop/images/12072025/07/47/image_12072025_07_48_04_10627.jpg', '/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_43_9592.jpg
/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_34_9593.jpg
/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_24_10614.jpg
/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_13_9619.jpg
/home/nano/Desktop/images/12072025/07/47/image_12072025_07_48_04_10627.jpg
/home/nano/Desktop/images/12072025/07/47/image_12072025_07_47_53_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808872","1371808871","1371808874","1371808873","1371808867","1371808869"],"photo_ids_order":["1371808867","1371808869","1371808871","1371808872","1371808873","1371808874"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c617b6f1103261f772bd62cac7ad14d1.jpg","text":"TemporaryFile(/tmp/multipartBody5295681531826414901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299358487,"filename":"image_12072025_07_48_13_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/594d13fbc0eabad5dc162c67cc33b1f6.jpg","text":"TemporaryFile(/tmp/multipartBody492284846150650271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299358487,"filename":"image_12072025_07_48_24_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0da49f4a0873f15a277b31f5bd7a2b07.jpg","text":"TemporaryFile(/tmp/multipartBody2363863162755088915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299358487,"filename":"image_12072025_07_47_53_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a98e18fe114a72a71074436a6ee37ae7.jpg","text":"TemporaryFile(/tmp/multipartBody6707842974977947637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299358487,"filename":"image_12072025_07_48_04_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15fa76c9e77e67ef50a6330bb1d467bc.jpg","text":"TemporaryFile(/tmp/multipartBody1798843995999579028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299358487,"filename":"image_12072025_07_48_43_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c95a4e605680767d344aab1fbec7d31b.jpg","text":"TemporaryFile(/tmp/multipartBody7551118386080925169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299358487,"filename":"image_12072025_07_48_34_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808871","file1":"1371808869","file0":"1371808867","file4":"1371808873","file5":"1371808874","file3":"1371808872"},"map_files_photo_id_array":[{"photo_id":"1371808874","filename":"file5"},{"photo_id":"1371808871","filename":"file2"},{"photo_id":"1371808873","filename":"file4"},{"photo_id":"1371808869","filename":"file1"},{"photo_id":"1371808867","filename":"file0"},{"photo_id":"1371808872","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808872":["hashtag1","hashtag2"]},{"1371808871":["hashtag1","hashtag2"]},{"1371808874":["hashtag1","hashtag2"]},{"1371808873":["hashtag1","hashtag2"]},{"1371808867":["hashtag1","hashtag2"]},{"1371808869":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808872, 1371808871, 1371808874, 1371808873, 1371808867, 1371808869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.865999937057495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:49:03.219648
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_34_10653.jpg', 2), ('/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_14_9680.jpg', 2), ('/home/nano/Desktop/images/10072025/20/32/image_10072025_20_33_04_10678.jpg', 2), ('/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_53_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_44_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_34_10653.jpg', '/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_23_9646.jpg', '/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_14_9680.jpg', '/home/nano/Desktop/images/10072025/20/32/image_10072025_20_33_04_10678.jpg', '/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_53_9650.jpg', '/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_44_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_34_10653.jpg
/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_23_9646.jpg
/home/nano/Desktop/images/10072025/20/33/image_10072025_20_33_14_9680.jpg
/home/nano/Desktop/images/10072025/20/32/image_10072025_20_33_04_10678.jpg
/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_53_9650.jpg
/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_44_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808892","1371808886","1371808889","1371808883","1371808894","1371808896"],"photo_ids_order":["1371808883","1371808886","1371808889","1371808892","1371808894","1371808896"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01f54f60957bb62057bae106dea5a936.jpg","text":"TemporaryFile(/tmp/multipartBody1886323033998157889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299406129,"filename":"image_10072025_20_33_04_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/354a7c9d2179631994def96ca3180774.jpg","text":"TemporaryFile(/tmp/multipartBody4874902966059238153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299406129,"filename":"image_10072025_20_33_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd833c9ccb2a30aec2df74ed8de9893f.jpg","text":"TemporaryFile(/tmp/multipartBody4695285370629174682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299406129,"filename":"image_10072025_20_33_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afc1924c78ecdd26f214681482ad5be9.jpg","text":"TemporaryFile(/tmp/multipartBody3043232941405498542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299406129,"filename":"image_10072025_20_33_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5e271b7902a53ac9951fc54e07a1067.jpg","text":"TemporaryFile(/tmp/multipartBody8111786554051221550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299406129,"filename":"image_10072025_20_32_53_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/920eb8874f9479fa3270123378f61982.jpg","text":"TemporaryFile(/tmp/multipartBody2570916349111064253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299406129,"filename":"image_10072025_20_32_44_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808889","file1":"1371808886","file0":"1371808883","file4":"1371808894","file5":"1371808896","file3":"1371808892"},"map_files_photo_id_array":[{"photo_id":"1371808896","filename":"file5"},{"photo_id":"1371808889","filename":"file2"},{"photo_id":"1371808894","filename":"file4"},{"photo_id":"1371808886","filename":"file1"},{"photo_id":"1371808883","filename":"file0"},{"photo_id":"1371808892","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371808892":["hashtag1","hashtag2"]},{"1371808886":["hashtag1","hashtag2"]},{"1371808889":["hashtag1","hashtag2"]},{"1371808883":["hashtag1","hashtag2"]},{"1371808894":["hashtag1","hashtag2"]},{"1371808896":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371808892, 1371808886, 1371808889, 1371808883, 1371808894, 1371808896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87862300872803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:49:47.343014
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_44_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_33_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_24_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_13_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/07/48/image_12072025_07_49_03_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_54_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_44_10620.jpg', '/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_33_9604.jpg', '/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_24_10610.jpg', '/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_13_9615.jpg', '/home/nano/Desktop/images/12072025/07/48/image_12072025_07_49_03_9600.jpg', '/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_54_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_44_10620.jpg
/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_33_9604.jpg
/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_24_10610.jpg
/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_13_9615.jpg
/home/nano/Desktop/images/12072025/07/48/image_12072025_07_49_03_9600.jpg
/home/nano/Desktop/images/12072025/07/48/image_12072025_07_48_54_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808944","1371808938","1371808947","1371808926","1371808940","1371808903"],"photo_ids_order":["1371808903","1371808926","1371808938","1371808940","1371808944","1371808947"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea735b23b21b36202ec695c4ea173ed1.jpg","text":"TemporaryFile(/tmp/multipartBody6850480038628509516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299448507,"filename":"image_12072025_07_49_03_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b07a7169a1ec083c676d5c397d8b9531.jpg","text":"TemporaryFile(/tmp/multipartBody6750245507903419671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299448507,"filename":"image_12072025_07_49_24_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bd5fb66cf15291b068e455279f538f6.jpg","text":"TemporaryFile(/tmp/multipartBody8738410050422112027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299448507,"filename":"image_12072025_07_48_54_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ed34128bec5121bada551c9a53895c9.jpg","text":"TemporaryFile(/tmp/multipartBody8586917206495749360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299448507,"filename":"image_12072025_07_49_33_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8878727e31d78501a4e7cc83eed3b387.jpg","text":"TemporaryFile(/tmp/multipartBody7510405384765610129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299448507,"filename":"image_12072025_07_49_13_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6f79b214985a24011994d6b55418071.jpg","text":"TemporaryFile(/tmp/multipartBody6076892373041014509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299448507,"filename":"image_12072025_07_49_44_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808938","file1":"1371808926","file0":"1371808903","file4":"1371808944","file5":"1371808947","file3":"1371808940"},"map_files_photo_id_array":[{"photo_id":"1371808947","filename":"file5"},{"photo_id":"1371808938","filename":"file2"},{"photo_id":"1371808944","filename":"file4"},{"photo_id":"1371808926","filename":"file1"},{"photo_id":"1371808903","filename":"file0"},{"photo_id":"1371808940","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808944":["hashtag1","hashtag2"]},{"1371808938":["hashtag1","hashtag2"]},{"1371808947":["hashtag1","hashtag2"]},{"1371808926":["hashtag1","hashtag2"]},{"1371808940":["hashtag1","hashtag2"]},{"1371808903":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808944, 1371808938, 1371808947, 1371808926, 1371808940, 1371808903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.469234943389893 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:50:32.443834
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_44_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_34_10603.jpg', 2), ('/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_23_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_14_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/07/49/image_12072025_07_50_03_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_54_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_44_9592.jpg', '/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_34_10603.jpg', '/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_23_9592.jpg', '/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_14_10664.jpg', '/home/nano/Desktop/images/12072025/07/49/image_12072025_07_50_03_9624.jpg', '/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_54_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_44_9592.jpg
/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_34_10603.jpg
/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_23_9592.jpg
/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_14_10664.jpg
/home/nano/Desktop/images/12072025/07/49/image_12072025_07_50_03_9624.jpg
/home/nano/Desktop/images/12072025/07/49/image_12072025_07_49_54_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808959","1371808967","1371808963","1371808960","1371808957","1371808968"],"photo_ids_order":["1371808957","1371808959","1371808960","1371808963","1371808967","1371808968"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9db18400f769e8192a3cee8d0bd2031.jpg","text":"TemporaryFile(/tmp/multipartBody2902986340698180501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299493690,"filename":"image_12072025_07_50_34_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f05b79196f2ee22829eb4ecbfed8729f.jpg","text":"TemporaryFile(/tmp/multipartBody3670814391263269565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299493690,"filename":"image_12072025_07_50_03_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d2f84f0c951e20a0b4ac0be83102e3a.jpg","text":"TemporaryFile(/tmp/multipartBody1409594686287249607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299493690,"filename":"image_12072025_07_50_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a63e789d3f2fdcd584466bb9abafdfe.jpg","text":"TemporaryFile(/tmp/multipartBody1117064109634573285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299493690,"filename":"image_12072025_07_50_23_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eba13ee3608a4f09112d704573ecfee3.jpg","text":"TemporaryFile(/tmp/multipartBody3179104978183413599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299493690,"filename":"image_12072025_07_50_44_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6450858a9027dd9ddb7bee91f1d74d3f.jpg","text":"TemporaryFile(/tmp/multipartBody607391289610666456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299493690,"filename":"image_12072025_07_49_54_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808960","file1":"1371808959","file0":"1371808957","file4":"1371808967","file5":"1371808968","file3":"1371808963"},"map_files_photo_id_array":[{"photo_id":"1371808968","filename":"file5"},{"photo_id":"1371808960","filename":"file2"},{"photo_id":"1371808967","filename":"file4"},{"photo_id":"1371808959","filename":"file1"},{"photo_id":"1371808957","filename":"file0"},{"photo_id":"1371808963","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808959":["hashtag1","hashtag2"]},{"1371808967":["hashtag1","hashtag2"]},{"1371808963":["hashtag1","hashtag2"]},{"1371808960":["hashtag1","hashtag2"]},{"1371808957":["hashtag1","hashtag2"]},{"1371808968":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808959, 1371808967, 1371808963, 1371808960, 1371808957, 1371808968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.722665548324585 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:51:17.558938
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_43_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_34_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_24_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_13_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/07/50/image_12072025_07_51_04_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_53_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_43_9604.jpg', '/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_34_9593.jpg', '/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_24_10613.jpg', '/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_13_9626.jpg', '/home/nano/Desktop/images/12072025/07/50/image_12072025_07_51_04_10610.jpg', '/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_53_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_43_9604.jpg
/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_34_9593.jpg
/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_24_10613.jpg
/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_13_9626.jpg
/home/nano/Desktop/images/12072025/07/50/image_12072025_07_51_04_10610.jpg
/home/nano/Desktop/images/12072025/07/50/image_12072025_07_50_53_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371808985","1371808988","1371808982","1371808984","1371808987","1371808986"],"photo_ids_order":["1371808982","1371808984","1371808985","1371808986","1371808987","1371808988"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc5f1b55fb92696753f5b5e845c23d4a.jpg","text":"TemporaryFile(/tmp/multipartBody302756214329334468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299538822,"filename":"image_12072025_07_51_24_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/669ddaadefd164ffa63a53c4e5b8d6db.jpg","text":"TemporaryFile(/tmp/multipartBody2132117548688533798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299538822,"filename":"image_12072025_07_50_53_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10c033964b9d374d74cd4001ca098a1a.jpg","text":"TemporaryFile(/tmp/multipartBody1230440366888416497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299538822,"filename":"image_12072025_07_51_43_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5134c098a20af159424c5c31fe247f1.jpg","text":"TemporaryFile(/tmp/multipartBody2780070283643270678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299538822,"filename":"image_12072025_07_51_34_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2777c3c97c458c15b83ff1079e51db16.jpg","text":"TemporaryFile(/tmp/multipartBody5816596466111809695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299538822,"filename":"image_12072025_07_51_04_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/add7714e327a0f08b229aa5068ca2aa5.jpg","text":"TemporaryFile(/tmp/multipartBody8808813793246286101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299538822,"filename":"image_12072025_07_51_13_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808985","file1":"1371808984","file0":"1371808982","file4":"1371808987","file5":"1371808988","file3":"1371808986"},"map_files_photo_id_array":[{"photo_id":"1371808988","filename":"file5"},{"photo_id":"1371808985","filename":"file2"},{"photo_id":"1371808987","filename":"file4"},{"photo_id":"1371808984","filename":"file1"},{"photo_id":"1371808982","filename":"file0"},{"photo_id":"1371808986","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371808985":["hashtag1","hashtag2"]},{"1371808988":["hashtag1","hashtag2"]},{"1371808982":["hashtag1","hashtag2"]},{"1371808984":["hashtag1","hashtag2"]},{"1371808987":["hashtag1","hashtag2"]},{"1371808986":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371808985, 1371808988, 1371808982, 1371808984, 1371808987, 1371808986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.471238136291504 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:52:03.257207
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_34_10652.jpg', 2), ('/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_14_9691.jpg', 2), ('/home/nano/Desktop/images/10072025/20/31/image_10072025_20_32_04_10668.jpg', 2), ('/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_53_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_44_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_34_10652.jpg', '/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_23_9645.jpg', '/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_14_9691.jpg', '/home/nano/Desktop/images/10072025/20/31/image_10072025_20_32_04_10668.jpg', '/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_53_9653.jpg', '/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_44_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_34_10652.jpg
/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_23_9645.jpg
/home/nano/Desktop/images/10072025/20/32/image_10072025_20_32_14_9691.jpg
/home/nano/Desktop/images/10072025/20/31/image_10072025_20_32_04_10668.jpg
/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_53_9653.jpg
/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_44_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371809001","1371809000","1371808996","1371808999","1371809002","1371808995"],"photo_ids_order":["1371808995","1371808996","1371808999","1371809000","1371809001","1371809002"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8485d68441593c09cd1b2e5bb419cdca.jpg","text":"TemporaryFile(/tmp/multipartBody3332906719615256664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299586329,"filename":"image_10072025_20_31_53_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ff76a92ccb8eed18511fc8e3acbcc56.jpg","text":"TemporaryFile(/tmp/multipartBody6615682138582831871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299586329,"filename":"image_10072025_20_32_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6384fd2539e2f91b410d67a1f0064953.jpg","text":"TemporaryFile(/tmp/multipartBody7558145326755563252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299586329,"filename":"image_10072025_20_32_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e2706eebf42a9dba9c6a17ae55b9cd6.jpg","text":"TemporaryFile(/tmp/multipartBody1025066878132692173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299586329,"filename":"image_10072025_20_32_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/003352fab8a2d5ec89ec9439d8aac086.jpg","text":"TemporaryFile(/tmp/multipartBody1847422473676860686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299586329,"filename":"image_10072025_20_31_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c3160925a7af6aea73d8866a28b6bdd.jpg","text":"TemporaryFile(/tmp/multipartBody39287297702133684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299586329,"filename":"image_10072025_20_32_34_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371808999","file1":"1371808996","file0":"1371808995","file4":"1371809001","file5":"1371809002","file3":"1371809000"},"map_files_photo_id_array":[{"photo_id":"1371809002","filename":"file5"},{"photo_id":"1371808999","filename":"file2"},{"photo_id":"1371809001","filename":"file4"},{"photo_id":"1371808996","filename":"file1"},{"photo_id":"1371808995","filename":"file0"},{"photo_id":"1371809000","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371809001":["hashtag1","hashtag2"]},{"1371809000":["hashtag1","hashtag2"]},{"1371808996":["hashtag1","hashtag2"]},{"1371808999":["hashtag1","hashtag2"]},{"1371809002":["hashtag1","hashtag2"]},{"1371808995":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371809001, 1371809000, 1371808996, 1371808999, 1371809002, 1371808995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4479444026947 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:52:47.723477
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_44_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_33_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_24_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_14_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/07/51/image_12072025_07_52_03_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_54_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_44_10624.jpg', '/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_33_9600.jpg', '/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_24_9602.jpg', '/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_14_10626.jpg', '/home/nano/Desktop/images/12072025/07/51/image_12072025_07_52_03_9592.jpg', '/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_54_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_44_10624.jpg
/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_33_9600.jpg
/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_24_9602.jpg
/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_14_10626.jpg
/home/nano/Desktop/images/12072025/07/51/image_12072025_07_52_03_9592.jpg
/home/nano/Desktop/images/12072025/07/51/image_12072025_07_51_54_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371809015","1371809006","1371809009","1371809014","1371809017","1371809011"],"photo_ids_order":["1371809006","1371809009","1371809011","1371809014","1371809015","1371809017"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e14db677915aa0e79e10b1605efd2b44.jpg","text":"TemporaryFile(/tmp/multipartBody2550726736133481538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299628826,"filename":"image_12072025_07_52_03_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d9a0e556a27e091ae44d4faa44fabe4.jpg","text":"TemporaryFile(/tmp/multipartBody5059232687461608762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299628826,"filename":"image_12072025_07_52_44_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/69e447801b738ff28cb1ac2931fef9cb.jpg","text":"TemporaryFile(/tmp/multipartBody7004318417284085707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299628826,"filename":"image_12072025_07_52_33_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bae0e0e36d7e3984e3ea7b5f3e5e0b27.jpg","text":"TemporaryFile(/tmp/multipartBody8627612398942248675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299628826,"filename":"image_12072025_07_52_14_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b697f837146553b46e67d6f5c25ecc2c.jpg","text":"TemporaryFile(/tmp/multipartBody1960005826807352911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299628826,"filename":"image_12072025_07_51_54_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82c83db7243f30fe6a67e1f4f9f07e48.jpg","text":"TemporaryFile(/tmp/multipartBody5521074292728575455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299628826,"filename":"image_12072025_07_52_24_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371809011","file1":"1371809009","file0":"1371809006","file4":"1371809015","file5":"1371809017","file3":"1371809014"},"map_files_photo_id_array":[{"photo_id":"1371809017","filename":"file5"},{"photo_id":"1371809011","filename":"file2"},{"photo_id":"1371809015","filename":"file4"},{"photo_id":"1371809009","filename":"file1"},{"photo_id":"1371809006","filename":"file0"},{"photo_id":"1371809014","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371809015":["hashtag1","hashtag2"]},{"1371809006":["hashtag1","hashtag2"]},{"1371809009":["hashtag1","hashtag2"]},{"1371809014":["hashtag1","hashtag2"]},{"1371809017":["hashtag1","hashtag2"]},{"1371809011":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371809015, 1371809006, 1371809009, 1371809014, 1371809017, 1371809011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82090926170349 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:53:31.861760
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_44_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_34_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_23_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_14_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/07/52/image_12072025_07_53_03_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_54_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_44_9618.jpg', '/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_34_10612.jpg', '/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_23_9610.jpg', '/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_14_10668.jpg', '/home/nano/Desktop/images/12072025/07/52/image_12072025_07_53_03_9607.jpg', '/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_54_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_44_9618.jpg
/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_34_10612.jpg
/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_23_9610.jpg
/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_14_10668.jpg
/home/nano/Desktop/images/12072025/07/52/image_12072025_07_53_03_9607.jpg
/home/nano/Desktop/images/12072025/07/52/image_12072025_07_52_54_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371809021","1371809024","1371809027","1371809029","1371809023","1371809025"],"photo_ids_order":["1371809021","1371809023","1371809024","1371809025","1371809027","1371809029"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45fd85acd64fa96404d26fe8851d2906.jpg","text":"TemporaryFile(/tmp/multipartBody5030708134329938373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299673264,"filename":"image_12072025_07_53_44_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/729f227d9a20d49b4227a4531acab6fb.jpg","text":"TemporaryFile(/tmp/multipartBody5171145487048103764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299673264,"filename":"image_12072025_07_53_23_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca8512b793718fd40267fa3c67f4497e.jpg","text":"TemporaryFile(/tmp/multipartBody7948483978882544959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299673264,"filename":"image_12072025_07_53_03_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fafdf0107dbbff374bc59d689cba84c.jpg","text":"TemporaryFile(/tmp/multipartBody1782398185521373486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299673264,"filename":"image_12072025_07_52_54_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e87cefc49a412b4f8a02ed7c048b26b.jpg","text":"TemporaryFile(/tmp/multipartBody6488484538377743179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299673264,"filename":"image_12072025_07_53_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/976d568cf6606a31454a4e0906dcbd52.jpg","text":"TemporaryFile(/tmp/multipartBody7877025670982076575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299673264,"filename":"image_12072025_07_53_14_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371809024","file1":"1371809023","file0":"1371809021","file4":"1371809027","file5":"1371809029","file3":"1371809025"},"map_files_photo_id_array":[{"photo_id":"1371809029","filename":"file5"},{"photo_id":"1371809024","filename":"file2"},{"photo_id":"1371809027","filename":"file4"},{"photo_id":"1371809023","filename":"file1"},{"photo_id":"1371809021","filename":"file0"},{"photo_id":"1371809025","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371809021":["hashtag1","hashtag2"]},{"1371809024":["hashtag1","hashtag2"]},{"1371809027":["hashtag1","hashtag2"]},{"1371809029":["hashtag1","hashtag2"]},{"1371809023":["hashtag1","hashtag2"]},{"1371809025":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371809021, 1371809024, 1371809027, 1371809029, 1371809023, 1371809025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.29279851913452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:54:16.968050
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_43_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_34_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_23_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_14_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/07/53/image_12072025_07_54_04_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_53_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_43_9625.jpg', '/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_34_10621.jpg', '/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_23_9630.jpg', '/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_14_9651.jpg', '/home/nano/Desktop/images/12072025/07/53/image_12072025_07_54_04_10624.jpg', '/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_53_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_43_9625.jpg
/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_34_10621.jpg
/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_23_9630.jpg
/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_14_9651.jpg
/home/nano/Desktop/images/12072025/07/53/image_12072025_07_54_04_10624.jpg
/home/nano/Desktop/images/12072025/07/53/image_12072025_07_53_53_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371809040","1371809036","1371809039","1371809041","1371809038","1371809037"],"photo_ids_order":["1371809036","1371809037","1371809038","1371809039","1371809040","1371809041"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/577ebbe883922cd875f75abf77652533.jpg","text":"TemporaryFile(/tmp/multipartBody7285720823650174062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299718364,"filename":"image_12072025_07_54_04_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5f51b68e8fef5e821ca74053baa0a55.jpg","text":"TemporaryFile(/tmp/multipartBody610096743299681577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299718364,"filename":"image_12072025_07_54_43_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4c7f76b731230e947b1a8236fc742c9.jpg","text":"TemporaryFile(/tmp/multipartBody3426195713372883400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299718364,"filename":"image_12072025_07_54_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f51fbf2b0c67c5904f63f1c5e62de55a.jpg","text":"TemporaryFile(/tmp/multipartBody1299689593661984627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299718364,"filename":"image_12072025_07_53_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/021fe0d3ab571690306bc7052ef8670e.jpg","text":"TemporaryFile(/tmp/multipartBody5217468591846095354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299718364,"filename":"image_12072025_07_54_23_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1cda06ffd8bf8ac39b18cd105f8e35bf.jpg","text":"TemporaryFile(/tmp/multipartBody6121634959433362437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299718364,"filename":"image_12072025_07_54_34_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371809038","file1":"1371809037","file0":"1371809036","file4":"1371809040","file5":"1371809041","file3":"1371809039"},"map_files_photo_id_array":[{"photo_id":"1371809041","filename":"file5"},{"photo_id":"1371809038","filename":"file2"},{"photo_id":"1371809040","filename":"file4"},{"photo_id":"1371809037","filename":"file1"},{"photo_id":"1371809036","filename":"file0"},{"photo_id":"1371809039","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371809040":["hashtag1","hashtag2"]},{"1371809036":["hashtag1","hashtag2"]},{"1371809039":["hashtag1","hashtag2"]},{"1371809041":["hashtag1","hashtag2"]},{"1371809038":["hashtag1","hashtag2"]},{"1371809037":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371809040, 1371809036, 1371809039, 1371809041, 1371809038, 1371809037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.510217905044556 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:55:02.654747
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_34_10648.jpg', 2), ('/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_23_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_14_9673.jpg', 2), ('/home/nano/Desktop/images/10072025/20/30/image_10072025_20_31_04_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/20/30/image_10072025_20_30_53_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/20/30/image_10072025_20_30_34_10662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_34_10648.jpg', '/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_23_9646.jpg', '/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_14_9673.jpg', '/home/nano/Desktop/images/10072025/20/30/image_10072025_20_31_04_10661.jpg', '/home/nano/Desktop/images/10072025/20/30/image_10072025_20_30_53_9663.jpg', '/home/nano/Desktop/images/10072025/20/30/image_10072025_20_30_34_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_34_10648.jpg
/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_23_9646.jpg
/home/nano/Desktop/images/10072025/20/31/image_10072025_20_31_14_9673.jpg
/home/nano/Desktop/images/10072025/20/30/image_10072025_20_31_04_10661.jpg
/home/nano/Desktop/images/10072025/20/30/image_10072025_20_30_53_9663.jpg
/home/nano/Desktop/images/10072025/20/30/image_10072025_20_30_34_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371809051","1371809054","1371809048","1371809057","1371809059","1371809056"],"photo_ids_order":["1371809048","1371809051","1371809054","1371809056","1371809057","1371809059"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2498404deec1e7f6eb0b48294e176c00.jpg","text":"TemporaryFile(/tmp/multipartBody1640894571769321537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299765456,"filename":"image_10072025_20_31_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af06018aacc94c3f1d6a0eaabeb0f108.jpg","text":"TemporaryFile(/tmp/multipartBody3174487959192896124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299765456,"filename":"image_10072025_20_31_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d3fa6a15a3c74728e0b13f6592a7cb6.jpg","text":"TemporaryFile(/tmp/multipartBody402065718493659248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299765456,"filename":"image_10072025_20_31_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9b3812860ab9466eaade57e955175d5.jpg","text":"TemporaryFile(/tmp/multipartBody74237662196667048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299765456,"filename":"image_10072025_20_30_53_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ff3e7cb9e4df6866bd8902213877e56.jpg","text":"TemporaryFile(/tmp/multipartBody8603797566287150070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299765456,"filename":"image_10072025_20_30_34_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b088dac1f93a6620be061715add231f3.jpg","text":"TemporaryFile(/tmp/multipartBody2274208946671787069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299765456,"filename":"image_10072025_20_31_04_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371809054","file1":"1371809051","file0":"1371809048","file4":"1371809057","file5":"1371809059","file3":"1371809056"},"map_files_photo_id_array":[{"photo_id":"1371809059","filename":"file5"},{"photo_id":"1371809054","filename":"file2"},{"photo_id":"1371809057","filename":"file4"},{"photo_id":"1371809051","filename":"file1"},{"photo_id":"1371809048","filename":"file0"},{"photo_id":"1371809056","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371809051":["hashtag1","hashtag2"]},{"1371809054":["hashtag1","hashtag2"]},{"1371809048":["hashtag1","hashtag2"]},{"1371809057":["hashtag1","hashtag2"]},{"1371809059":["hashtag1","hashtag2"]},{"1371809056":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371809051, 1371809054, 1371809048, 1371809057, 1371809059, 1371809056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.553945779800415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:55:47.078525
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_43_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_24_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_13_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/07/54/image_12072025_07_55_04_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_54_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_43_9612.jpg', '/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_34_9610.jpg', '/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_24_10631.jpg', '/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_13_9628.jpg', '/home/nano/Desktop/images/12072025/07/54/image_12072025_07_55_04_9608.jpg', '/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_54_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_43_9612.jpg
/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_34_9610.jpg
/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_24_10631.jpg
/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_13_9628.jpg
/home/nano/Desktop/images/12072025/07/54/image_12072025_07_55_04_9608.jpg
/home/nano/Desktop/images/12072025/07/54/image_12072025_07_54_54_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371809069","1371809063","1371809071","1371809065","1371809073","1371809067"],"photo_ids_order":["1371809063","1371809065","1371809067","1371809069","1371809071","1371809073"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6912fa6a4bfc163e10296d04deb4364c.jpg","text":"TemporaryFile(/tmp/multipartBody5356971815266172545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299808289,"filename":"image_12072025_07_55_13_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e51ff32696844b69ce7bb1aee1f099a.jpg","text":"TemporaryFile(/tmp/multipartBody3576906218779127037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299808289,"filename":"image_12072025_07_55_43_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5cb2b97324d468b85a9e9c54ed038a75.jpg","text":"TemporaryFile(/tmp/multipartBody4356917386081704656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299808289,"filename":"image_12072025_07_55_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3ab02cd98d77ba5fc3bc747cac2aad3.jpg","text":"TemporaryFile(/tmp/multipartBody4653048786650385518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299808289,"filename":"image_12072025_07_55_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c63fcdfe3439017851121e842b7a799.jpg","text":"TemporaryFile(/tmp/multipartBody2414829640504786221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299808289,"filename":"image_12072025_07_54_54_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89940cb9318a05cc43cb2d070bbd68b8.jpg","text":"TemporaryFile(/tmp/multipartBody1979303111698899426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299808289,"filename":"image_12072025_07_55_24_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371809067","file1":"1371809065","file0":"1371809063","file4":"1371809071","file5":"1371809073","file3":"1371809069"},"map_files_photo_id_array":[{"photo_id":"1371809073","filename":"file5"},{"photo_id":"1371809067","filename":"file2"},{"photo_id":"1371809071","filename":"file4"},{"photo_id":"1371809065","filename":"file1"},{"photo_id":"1371809063","filename":"file0"},{"photo_id":"1371809069","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371809069":["hashtag1","hashtag2"]},{"1371809063":["hashtag1","hashtag2"]},{"1371809071":["hashtag1","hashtag2"]},{"1371809065":["hashtag1","hashtag2"]},{"1371809073":["hashtag1","hashtag2"]},{"1371809067":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371809069, 1371809063, 1371809071, 1371809065, 1371809073, 1371809067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.697494983673096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:56:32.237009
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_44_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_33_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_24_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_14_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/07/55/image_12072025_07_56_03_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_44_10615.jpg', '/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_33_9604.jpg', '/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_24_9604.jpg', '/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_14_10647.jpg', '/home/nano/Desktop/images/12072025/07/55/image_12072025_07_56_03_9605.jpg', '/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_44_10615.jpg
/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_33_9604.jpg
/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_24_9604.jpg
/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_14_10647.jpg
/home/nano/Desktop/images/12072025/07/55/image_12072025_07_56_03_9605.jpg
/home/nano/Desktop/images/12072025/07/55/image_12072025_07_55_54_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371809084","1371809080","1371809077","1371809086","1371809088","1371809079"],"photo_ids_order":["1371809077","1371809079","1371809080","1371809084","1371809086","1371809088"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d591c56bdc6fbba4c6801f6c2b50eb84.jpg","text":"TemporaryFile(/tmp/multipartBody2485986167608348723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299853500,"filename":"image_12072025_07_56_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/716a54573ef33383c74348b08e1bca33.jpg","text":"TemporaryFile(/tmp/multipartBody6309890459770156894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299853500,"filename":"image_12072025_07_56_24_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7cccf1182a45fc202376cc1745eb0eda.jpg","text":"TemporaryFile(/tmp/multipartBody6578979949134336428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299853500,"filename":"image_12072025_07_56_44_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1aa00c90c9be141f977f466ed93805c8.jpg","text":"TemporaryFile(/tmp/multipartBody5055976546386510258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299853500,"filename":"image_12072025_07_56_03_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd2c320dcc7ee502dc5efeb8531aef2b.jpg","text":"TemporaryFile(/tmp/multipartBody861542870901639538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299853500,"filename":"image_12072025_07_55_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11289604be3fc19c1aa76bc6734c56f5.jpg","text":"TemporaryFile(/tmp/multipartBody5360552691040786541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299853500,"filename":"image_12072025_07_56_33_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371809080","file1":"1371809079","file0":"1371809077","file4":"1371809086","file5":"1371809088","file3":"1371809084"},"map_files_photo_id_array":[{"photo_id":"1371809088","filename":"file5"},{"photo_id":"1371809080","filename":"file2"},{"photo_id":"1371809086","filename":"file4"},{"photo_id":"1371809079","filename":"file1"},{"photo_id":"1371809077","filename":"file0"},{"photo_id":"1371809084","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371809084":["hashtag1","hashtag2"]},{"1371809080":["hashtag1","hashtag2"]},{"1371809077":["hashtag1","hashtag2"]},{"1371809086":["hashtag1","hashtag2"]},{"1371809088":["hashtag1","hashtag2"]},{"1371809079":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371809084, 1371809080, 1371809077, 1371809086, 1371809088, 1371809079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.937756061553955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:57:17.273244
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_44_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_34_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_23_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_14_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/07/56/image_12072025_07_57_04_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_53_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_44_9600.jpg', '/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_34_10613.jpg', '/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_23_9607.jpg', '/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_14_9617.jpg', '/home/nano/Desktop/images/12072025/07/56/image_12072025_07_57_04_10623.jpg', '/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_53_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_44_9600.jpg
/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_34_10613.jpg
/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_23_9607.jpg
/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_14_9617.jpg
/home/nano/Desktop/images/12072025/07/56/image_12072025_07_57_04_10623.jpg
/home/nano/Desktop/images/12072025/07/56/image_12072025_07_56_53_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371809100","1371809103","1371809102","1371809098","1371809101","1371809097"],"photo_ids_order":["1371809097","1371809098","1371809100","1371809101","1371809102","1371809103"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/202af29bc39dc98ad199d9650eb98795.jpg","text":"TemporaryFile(/tmp/multipartBody8435454740556949878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299898444,"filename":"image_12072025_07_57_23_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f49f9350f74274940cf497b35b580d59.jpg","text":"TemporaryFile(/tmp/multipartBody6645711531192335904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299898444,"filename":"image_12072025_07_56_53_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/657a756b0a70bb41456a77d986261767.jpg","text":"TemporaryFile(/tmp/multipartBody4426695610156143807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299898444,"filename":"image_12072025_07_57_04_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe36ad1f2196d62109184350a830a1ad.jpg","text":"TemporaryFile(/tmp/multipartBody2446773554520594059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299898444,"filename":"image_12072025_07_57_34_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ab2797e8e955c6a8aada56f73516cc0.jpg","text":"TemporaryFile(/tmp/multipartBody1596974573472205140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299898444,"filename":"image_12072025_07_57_14_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b4616be3994ef24579d8736ebceafe6.jpg","text":"TemporaryFile(/tmp/multipartBody5163465104891789330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299898444,"filename":"image_12072025_07_57_44_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371809100","file1":"1371809098","file0":"1371809097","file4":"1371809102","file5":"1371809103","file3":"1371809101"},"map_files_photo_id_array":[{"photo_id":"1371809103","filename":"file5"},{"photo_id":"1371809100","filename":"file2"},{"photo_id":"1371809102","filename":"file4"},{"photo_id":"1371809098","filename":"file1"},{"photo_id":"1371809097","filename":"file0"},{"photo_id":"1371809101","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371809100":["hashtag1","hashtag2"]},{"1371809103":["hashtag1","hashtag2"]},{"1371809102":["hashtag1","hashtag2"]},{"1371809098":["hashtag1","hashtag2"]},{"1371809101":["hashtag1","hashtag2"]},{"1371809097":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371809100, 1371809103, 1371809102, 1371809098, 1371809101, 1371809097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.812921285629272 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:58:02.583421
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/30/image_10072025_20_30_14_9691.jpg', 2), ('/home/nano/Desktop/images/10072025/20/29/image_10072025_20_30_04_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/20/29/image_10072025_20_29_53_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/20/29/image_10072025_20_29_33_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/20/29/image_10072025_20_29_14_10673.jpg', 2), ('/home/nano/Desktop/images/10072025/20/28/image_10072025_20_29_03_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/30/image_10072025_20_30_14_9691.jpg', '/home/nano/Desktop/images/10072025/20/29/image_10072025_20_30_04_10661.jpg', '/home/nano/Desktop/images/10072025/20/29/image_10072025_20_29_53_9665.jpg', '/home/nano/Desktop/images/10072025/20/29/image_10072025_20_29_33_9643.jpg', '/home/nano/Desktop/images/10072025/20/29/image_10072025_20_29_14_10673.jpg', '/home/nano/Desktop/images/10072025/20/28/image_10072025_20_29_03_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/30/image_10072025_20_30_14_9691.jpg
/home/nano/Desktop/images/10072025/20/29/image_10072025_20_30_04_10661.jpg
/home/nano/Desktop/images/10072025/20/29/image_10072025_20_29_53_9665.jpg
/home/nano/Desktop/images/10072025/20/29/image_10072025_20_29_33_9643.jpg
/home/nano/Desktop/images/10072025/20/29/image_10072025_20_29_14_10673.jpg
/home/nano/Desktop/images/10072025/20/28/image_10072025_20_29_03_9646.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371809252","1371809278","1371809227","1371809200","1371809302","1371809175"],"photo_ids_order":["1371809175","1371809200","1371809227","1371809252","1371809278","1371809302"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a3f7729c3a9b4f23ad080aa13096f8c.jpg","text":"TemporaryFile(/tmp/multipartBody5383593184859174813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299945409,"filename":"image_10072025_20_29_33_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1459639850a27bbb1f7cdc77b0a3bd26.jpg","text":"TemporaryFile(/tmp/multipartBody7599674317566585139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299945409,"filename":"image_10072025_20_29_14_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3506249417a9868a896332d7cb37286.jpg","text":"TemporaryFile(/tmp/multipartBody1738005975866702902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299945409,"filename":"image_10072025_20_29_53_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e60a86407d0a1d9ae76d848acb7d71f.jpg","text":"TemporaryFile(/tmp/multipartBody4667270496234292148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299945409,"filename":"image_10072025_20_30_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25e06a5b9a6e54ca4de928c55b1b4800.jpg","text":"TemporaryFile(/tmp/multipartBody3282235604545726630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299945409,"filename":"image_10072025_20_29_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/136d3284ca0a5fb86c5c7f0869f97e49.jpg","text":"TemporaryFile(/tmp/multipartBody1260489727636434809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752299945409,"filename":"image_10072025_20_30_14_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371809227","file1":"1371809200","file0":"1371809175","file4":"1371809278","file5":"1371809302","file3":"1371809252"},"map_files_photo_id_array":[{"photo_id":"1371809302","filename":"file5"},{"photo_id":"1371809227","filename":"file2"},{"photo_id":"1371809278","filename":"file4"},{"photo_id":"1371809200","filename":"file1"},{"photo_id":"1371809175","filename":"file0"},{"photo_id":"1371809252","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371809252":["hashtag1","hashtag2"]},{"1371809278":["hashtag1","hashtag2"]},{"1371809227":["hashtag1","hashtag2"]},{"1371809200":["hashtag1","hashtag2"]},{"1371809302":["hashtag1","hashtag2"]},{"1371809175":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371809252, 1371809278, 1371809227, 1371809200, 1371809302, 1371809175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.863309144973755 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:59:03.915630
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 291, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 07:59:17.710050
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_44_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_33_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_24_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_14_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/07/58/image_12072025_07_59_03_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_54_10602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_44_10614.jpg', '/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_33_9599.jpg', '/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_24_9613.jpg', '/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_14_10640.jpg', '/home/nano/Desktop/images/12072025/07/58/image_12072025_07_59_03_9614.jpg', '/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_54_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_44_10614.jpg
/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_33_9599.jpg
/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_24_9613.jpg
/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_14_10640.jpg
/home/nano/Desktop/images/12072025/07/58/image_12072025_07_59_03_9614.jpg
/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_54_10602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371809898","1371809818","1371809868","1371809844","1371809993","1371809946"],"photo_ids_order":["1371809818","1371809844","1371809868","1371809898","1371809946","1371809993"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72b466ce6aba14041b4dcc76de68d065.jpg","text":"TemporaryFile(/tmp/multipartBody6517602760641100387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300018793,"filename":"image_12072025_07_59_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6803a30a6cc0213d9e77af928f83759.jpg","text":"TemporaryFile(/tmp/multipartBody438374365490439526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300018793,"filename":"image_12072025_07_59_44_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d007b23f80b7b1b0c52561d05e38c1ed.jpg","text":"TemporaryFile(/tmp/multipartBody6613148573019990988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300018793,"filename":"image_12072025_07_59_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5fa45d514ac60e833987e8f54b7ee69.jpg","text":"TemporaryFile(/tmp/multipartBody836732415640195115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300018793,"filename":"image_12072025_07_59_33_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed406fd50917c62532c44914b7525f28.jpg","text":"TemporaryFile(/tmp/multipartBody4777917413920989500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300018793,"filename":"image_12072025_07_58_54_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ba0acbde5c67ae72396ad1f9f2ec93b.jpg","text":"TemporaryFile(/tmp/multipartBody4604013996061121661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300018793,"filename":"image_12072025_07_59_03_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371809868","file1":"1371809844","file0":"1371809818","file4":"1371809946","file5":"1371809993","file3":"1371809898"},"map_files_photo_id_array":[{"photo_id":"1371809993","filename":"file5"},{"photo_id":"1371809868","filename":"file2"},{"photo_id":"1371809946","filename":"file4"},{"photo_id":"1371809844","filename":"file1"},{"photo_id":"1371809818","filename":"file0"},{"photo_id":"1371809898","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371809898":["hashtag1","hashtag2"]},{"1371809818":["hashtag1","hashtag2"]},{"1371809868":["hashtag1","hashtag2"]},{"1371809844":["hashtag1","hashtag2"]},{"1371809993":["hashtag1","hashtag2"]},{"1371809946":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371809898, 1371809818, 1371809868, 1371809844, 1371809993, 1371809946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36234903335571 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:00:02.472043
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_43_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_34_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_24_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_13_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/07/57/image_12072025_07_58_04_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_53_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_43_9618.jpg', '/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_34_9598.jpg', '/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_24_10615.jpg', '/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_13_9628.jpg', '/home/nano/Desktop/images/12072025/07/57/image_12072025_07_58_04_10620.jpg', '/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_53_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_43_9618.jpg
/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_34_9598.jpg
/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_24_10615.jpg
/home/nano/Desktop/images/12072025/07/58/image_12072025_07_58_13_9628.jpg
/home/nano/Desktop/images/12072025/07/57/image_12072025_07_58_04_10620.jpg
/home/nano/Desktop/images/12072025/07/57/image_12072025_07_57_53_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371810336","1371810222","1371810473","1371810405","1371810302","1371810270"],"photo_ids_order":["1371810222","1371810270","1371810302","1371810336","1371810405","1371810473"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f577b17dc5362bb29996a664f50f33d5.jpg","text":"TemporaryFile(/tmp/multipartBody5691198620199076521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300063696,"filename":"image_12072025_07_58_13_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c34948a4c16a26c91c3e8a098a6c5ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8896580891737274939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300063696,"filename":"image_12072025_07_58_43_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09d7f06d5e86f361463a69e55a337747.jpg","text":"TemporaryFile(/tmp/multipartBody2328857693485169637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300063696,"filename":"image_12072025_07_57_53_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b14f0fe40877c145fa2188b7b6a9261.jpg","text":"TemporaryFile(/tmp/multipartBody6795068618781986782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300063696,"filename":"image_12072025_07_58_04_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bad2f3d26662c0f1847b1cdba96195cf.jpg","text":"TemporaryFile(/tmp/multipartBody4419010416364178987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300063696,"filename":"image_12072025_07_58_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8993edbfea306326959ced533d462225.jpg","text":"TemporaryFile(/tmp/multipartBody1194892943342148820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300063696,"filename":"image_12072025_07_58_34_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371810302","file1":"1371810270","file0":"1371810222","file4":"1371810405","file5":"1371810473","file3":"1371810336"},"map_files_photo_id_array":[{"photo_id":"1371810473","filename":"file5"},{"photo_id":"1371810302","filename":"file2"},{"photo_id":"1371810405","filename":"file4"},{"photo_id":"1371810270","filename":"file1"},{"photo_id":"1371810222","filename":"file0"},{"photo_id":"1371810336","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371810336":["hashtag1","hashtag2"]},{"1371810222":["hashtag1","hashtag2"]},{"1371810473":["hashtag1","hashtag2"]},{"1371810405":["hashtag1","hashtag2"]},{"1371810302":["hashtag1","hashtag2"]},{"1371810270":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371810336, 1371810222, 1371810473, 1371810405, 1371810302, 1371810270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60356259346008 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:00:46.816294
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_44_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_34_10605.jpg', 2), ('/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_23_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_14_10739.jpg', 2), ('/home/nano/Desktop/images/12072025/07/59/image_12072025_08_00_03_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_53_9589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_44_9603.jpg', '/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_34_10605.jpg', '/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_23_9601.jpg', '/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_14_10739.jpg', '/home/nano/Desktop/images/12072025/07/59/image_12072025_08_00_03_9610.jpg', '/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_53_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_44_9603.jpg
/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_34_10605.jpg
/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_23_9601.jpg
/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_14_10739.jpg
/home/nano/Desktop/images/12072025/07/59/image_12072025_08_00_03_9610.jpg
/home/nano/Desktop/images/12072025/07/59/image_12072025_07_59_53_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371810822","1371810746","1371810772","1371810847","1371810721","1371810795"],"photo_ids_order":["1371810721","1371810746","1371810772","1371810795","1371810822","1371810847"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/caf1eda963c5abf9a5fa5a8ac96a87dd.jpg","text":"TemporaryFile(/tmp/multipartBody1799911022064108383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300108082,"filename":"image_12072025_08_00_03_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33718db2b9663d582bdb1bf1e74257ae.jpg","text":"TemporaryFile(/tmp/multipartBody3060453189328187587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300108082,"filename":"image_12072025_08_00_34_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9098b1543b4834cd4db7804881ed8d61.jpg","text":"TemporaryFile(/tmp/multipartBody1163715188452560633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300108082,"filename":"image_12072025_08_00_23_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf8c76c6315d4789395d6ae7b4f429e8.jpg","text":"TemporaryFile(/tmp/multipartBody9154778314258450188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300108082,"filename":"image_12072025_07_59_53_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4701134b287de8a82fab5f17f8d43a9f.jpg","text":"TemporaryFile(/tmp/multipartBody798621727887516326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300108082,"filename":"image_12072025_08_00_44_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e2701b786cf1390064e8fb25a0c7e2e.jpg","text":"TemporaryFile(/tmp/multipartBody8677893029425737376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300108082,"filename":"image_12072025_08_00_14_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371810772","file1":"1371810746","file0":"1371810721","file4":"1371810822","file5":"1371810847","file3":"1371810795"},"map_files_photo_id_array":[{"photo_id":"1371810847","filename":"file5"},{"photo_id":"1371810772","filename":"file2"},{"photo_id":"1371810822","filename":"file4"},{"photo_id":"1371810746","filename":"file1"},{"photo_id":"1371810721","filename":"file0"},{"photo_id":"1371810795","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371810822":["hashtag1","hashtag2"]},{"1371810746":["hashtag1","hashtag2"]},{"1371810772":["hashtag1","hashtag2"]},{"1371810847":["hashtag1","hashtag2"]},{"1371810721":["hashtag1","hashtag2"]},{"1371810795":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371810822, 1371810746, 1371810772, 1371810847, 1371810721, 1371810795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79104828834534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:01:31.932288
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_43_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_34_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_23_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_14_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/08/00/image_12072025_08_01_04_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_53_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_43_9603.jpg', '/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_34_10613.jpg', '/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_23_9599.jpg', '/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_14_9633.jpg', '/home/nano/Desktop/images/12072025/08/00/image_12072025_08_01_04_10629.jpg', '/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_53_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_43_9603.jpg
/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_34_10613.jpg
/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_23_9599.jpg
/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_14_9633.jpg
/home/nano/Desktop/images/12072025/08/00/image_12072025_08_01_04_10629.jpg
/home/nano/Desktop/images/12072025/08/00/image_12072025_08_00_53_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371811413","1371811478","1371811247","1371811315","1371811368","1371811176"],"photo_ids_order":["1371811176","1371811247","1371811315","1371811368","1371811413","1371811478"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20a71d7b010baa1935ebec29277fa3c8.jpg","text":"TemporaryFile(/tmp/multipartBody4613510542565192746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300153142,"filename":"image_12072025_08_01_04_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b68a329cb99d96b33405c9acdc2d95d7.jpg","text":"TemporaryFile(/tmp/multipartBody8103370116412195799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300153142,"filename":"image_12072025_08_00_53_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c11b0cf59faff65bf25c0e0d7b11b549.jpg","text":"TemporaryFile(/tmp/multipartBody2667001657480942467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300153142,"filename":"image_12072025_08_01_34_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/996ec6de3a3cdb2f116c30558963aebe.jpg","text":"TemporaryFile(/tmp/multipartBody1886936546314060568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300153142,"filename":"image_12072025_08_01_23_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf80a4ae1aada2484c235a8e31945255.jpg","text":"TemporaryFile(/tmp/multipartBody839804841997431207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300153142,"filename":"image_12072025_08_01_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f23979f9467c4b2ef57df01c3a06a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8736052618441747309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300153142,"filename":"image_12072025_08_01_43_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371811315","file1":"1371811247","file0":"1371811176","file4":"1371811413","file5":"1371811478","file3":"1371811368"},"map_files_photo_id_array":[{"photo_id":"1371811478","filename":"file5"},{"photo_id":"1371811315","filename":"file2"},{"photo_id":"1371811413","filename":"file4"},{"photo_id":"1371811247","filename":"file1"},{"photo_id":"1371811176","filename":"file0"},{"photo_id":"1371811368","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371811413":["hashtag1","hashtag2"]},{"1371811478":["hashtag1","hashtag2"]},{"1371811247":["hashtag1","hashtag2"]},{"1371811315":["hashtag1","hashtag2"]},{"1371811368":["hashtag1","hashtag2"]},{"1371811176":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371811413, 1371811478, 1371811247, 1371811315, 1371811368, 1371811176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40243411064148 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:02:17.020796
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_44_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_33_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_24_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_13_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/08/01/image_12072025_08_02_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_54_10604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_44_10627.jpg', '/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_33_9620.jpg', '/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_24_10615.jpg', '/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_13_9626.jpg', '/home/nano/Desktop/images/12072025/08/01/image_12072025_08_02_04_9626.jpg', '/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_54_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_44_10627.jpg
/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_33_9620.jpg
/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_24_10615.jpg
/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_13_9626.jpg
/home/nano/Desktop/images/12072025/08/01/image_12072025_08_02_04_9626.jpg
/home/nano/Desktop/images/12072025/08/01/image_12072025_08_01_54_10604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812077","1371811946","1371811807","1371812031","1371811878","1371812103"],"photo_ids_order":["1371811807","1371811878","1371811946","1371812031","1371812077","1371812103"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/539282c583cdd7fe2bbaaa790ac2b831.jpg","text":"TemporaryFile(/tmp/multipartBody6041263460753477784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300198462,"filename":"image_12072025_08_02_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/339568a8f01c409bc8c562140e782b06.jpg","text":"TemporaryFile(/tmp/multipartBody3843695469405590359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300198462,"filename":"image_12072025_08_02_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eab8288ca164364e5bbec0de8e363e21.jpg","text":"TemporaryFile(/tmp/multipartBody2956776505855004989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300198462,"filename":"image_12072025_08_02_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/354df80d56fcd769d2a130e580834c1e.jpg","text":"TemporaryFile(/tmp/multipartBody4293526777886052513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300198462,"filename":"image_12072025_08_02_13_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d47feda52ac8a8853e4cddd3ae1100f2.jpg","text":"TemporaryFile(/tmp/multipartBody7021882207841875726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300198462,"filename":"image_12072025_08_02_33_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38785c8da20650773e38b4056a591eb9.jpg","text":"TemporaryFile(/tmp/multipartBody5547056180901633264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300198462,"filename":"image_12072025_08_01_54_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371811946","file1":"1371811878","file0":"1371811807","file4":"1371812077","file5":"1371812103","file3":"1371812031"},"map_files_photo_id_array":[{"photo_id":"1371812103","filename":"file5"},{"photo_id":"1371811946","filename":"file2"},{"photo_id":"1371812077","filename":"file4"},{"photo_id":"1371811878","filename":"file1"},{"photo_id":"1371811807","filename":"file0"},{"photo_id":"1371812031","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812077":["hashtag1","hashtag2"]},{"1371811946":["hashtag1","hashtag2"]},{"1371811807":["hashtag1","hashtag2"]},{"1371812031":["hashtag1","hashtag2"]},{"1371811878":["hashtag1","hashtag2"]},{"1371812103":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812077, 1371811946, 1371811807, 1371812031, 1371811878, 1371812103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.863840103149414 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:03:02.882165
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/28/image_10072025_20_28_44_10687.jpg', 2), ('/home/nano/Desktop/images/10072025/20/28/image_10072025_20_28_33_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/20/28/image_10072025_20_28_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/20/28/image_10072025_20_28_14_10692.jpg', 2), ('/home/nano/Desktop/images/10072025/20/27/image_10072025_20_28_03_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/20/27/image_10072025_20_27_53_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/28/image_10072025_20_28_44_10687.jpg', '/home/nano/Desktop/images/10072025/20/28/image_10072025_20_28_33_9648.jpg', '/home/nano/Desktop/images/10072025/20/28/image_10072025_20_28_23_9645.jpg', '/home/nano/Desktop/images/10072025/20/28/image_10072025_20_28_14_10692.jpg', '/home/nano/Desktop/images/10072025/20/27/image_10072025_20_28_03_9647.jpg', '/home/nano/Desktop/images/10072025/20/27/image_10072025_20_27_53_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/28/image_10072025_20_28_44_10687.jpg
/home/nano/Desktop/images/10072025/20/28/image_10072025_20_28_33_9648.jpg
/home/nano/Desktop/images/10072025/20/28/image_10072025_20_28_23_9645.jpg
/home/nano/Desktop/images/10072025/20/28/image_10072025_20_28_14_10692.jpg
/home/nano/Desktop/images/10072025/20/27/image_10072025_20_28_03_9647.jpg
/home/nano/Desktop/images/10072025/20/27/image_10072025_20_27_53_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812366","1371812280","1371812337","1371812412","1371812313","1371812285"],"photo_ids_order":["1371812280","1371812285","1371812313","1371812337","1371812366","1371812412"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce9ecffce7a84ec6e62156baf4b432f9.jpg","text":"TemporaryFile(/tmp/multipartBody3579076838293925437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300245912,"filename":"image_10072025_20_28_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c0b1dea48c3bc8b5326e8a837fe6ed7.jpg","text":"TemporaryFile(/tmp/multipartBody5881893060073801892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300245912,"filename":"image_10072025_20_28_44_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50c3d0ec9e1c48a65bcf036c0c1ceeee.jpg","text":"TemporaryFile(/tmp/multipartBody6299992068397382330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300245912,"filename":"image_10072025_20_28_14_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5103f66ca76ac357091978090d770395.jpg","text":"TemporaryFile(/tmp/multipartBody4844537603566444404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300245912,"filename":"image_10072025_20_27_53_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6326f2efc5d3c9dfde5d48553df0f20a.jpg","text":"TemporaryFile(/tmp/multipartBody2566422190398874109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300245912,"filename":"image_10072025_20_28_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a61f71129b1bbb9f11afcacdb18547b.jpg","text":"TemporaryFile(/tmp/multipartBody8456180493170568487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300245912,"filename":"image_10072025_20_28_33_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812313","file1":"1371812285","file0":"1371812280","file4":"1371812366","file5":"1371812412","file3":"1371812337"},"map_files_photo_id_array":[{"photo_id":"1371812412","filename":"file5"},{"photo_id":"1371812313","filename":"file2"},{"photo_id":"1371812366","filename":"file4"},{"photo_id":"1371812285","filename":"file1"},{"photo_id":"1371812280","filename":"file0"},{"photo_id":"1371812337","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371812366":["hashtag1","hashtag2"]},{"1371812280":["hashtag1","hashtag2"]},{"1371812337":["hashtag1","hashtag2"]},{"1371812412":["hashtag1","hashtag2"]},{"1371812313":["hashtag1","hashtag2"]},{"1371812285":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371812366, 1371812280, 1371812337, 1371812412, 1371812313, 1371812285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2916145324707 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:03:47.135891
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_44_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_33_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_24_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_14_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/08/02/image_12072025_08_03_03_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_54_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_44_10612.jpg', '/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_33_9609.jpg', '/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_24_9621.jpg', '/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_14_10651.jpg', '/home/nano/Desktop/images/12072025/08/02/image_12072025_08_03_03_9604.jpg', '/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_54_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_44_10612.jpg
/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_33_9609.jpg
/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_24_9621.jpg
/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_14_10651.jpg
/home/nano/Desktop/images/12072025/08/02/image_12072025_08_03_03_9604.jpg
/home/nano/Desktop/images/12072025/08/02/image_12072025_08_02_54_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812552","1371812665","1371812676","1371812583","1371812634","1371812666"],"photo_ids_order":["1371812552","1371812583","1371812634","1371812665","1371812666","1371812676"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc4c9cd40af579f73ea3c405fd2b31d7.jpg","text":"TemporaryFile(/tmp/multipartBody8314383379303241585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300288936,"filename":"image_12072025_08_03_44_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5697e87f7eb0c4c4a36a95f45fbec8cf.jpg","text":"TemporaryFile(/tmp/multipartBody2067739745733750705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300288936,"filename":"image_12072025_08_03_14_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87b55835d7b42df19bfc0ed5be7836af.jpg","text":"TemporaryFile(/tmp/multipartBody1760524565337832441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300288936,"filename":"image_12072025_08_02_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/05908bb7e9547a455d08983b0de4c528.jpg","text":"TemporaryFile(/tmp/multipartBody1266957412709846694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300288936,"filename":"image_12072025_08_03_33_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ee90ccfbe809ce6a84d37ab8e0b1d4b.jpg","text":"TemporaryFile(/tmp/multipartBody8428332026956687183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300288936,"filename":"image_12072025_08_03_24_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66a5040ae06de3e6c5299edd1212adb3.jpg","text":"TemporaryFile(/tmp/multipartBody4952844198925633758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300288936,"filename":"image_12072025_08_03_03_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812634","file1":"1371812583","file0":"1371812552","file4":"1371812666","file5":"1371812676","file3":"1371812665"},"map_files_photo_id_array":[{"photo_id":"1371812676","filename":"file5"},{"photo_id":"1371812634","filename":"file2"},{"photo_id":"1371812666","filename":"file4"},{"photo_id":"1371812583","filename":"file1"},{"photo_id":"1371812552","filename":"file0"},{"photo_id":"1371812665","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812552":["hashtag1","hashtag2"]},{"1371812665":["hashtag1","hashtag2"]},{"1371812676":["hashtag1","hashtag2"]},{"1371812583":["hashtag1","hashtag2"]},{"1371812634":["hashtag1","hashtag2"]},{"1371812666":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812552, 1371812665, 1371812676, 1371812583, 1371812634, 1371812666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.644309759140015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:04:32.257462
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_44_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_34_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_23_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_14_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/08/03/image_12072025_08_04_04_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_53_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_44_9629.jpg', '/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_34_10615.jpg', '/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_23_9632.jpg', '/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_14_9641.jpg', '/home/nano/Desktop/images/12072025/08/03/image_12072025_08_04_04_10631.jpg', '/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_53_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_44_9629.jpg
/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_34_10615.jpg
/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_23_9632.jpg
/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_14_9641.jpg
/home/nano/Desktop/images/12072025/08/03/image_12072025_08_04_04_10631.jpg
/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_53_9622.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2756927013397217 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:04:47.290948
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_44_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_34_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_23_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_14_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/08/03/image_12072025_08_04_04_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_53_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_44_9629.jpg', '/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_34_10615.jpg', '/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_23_9632.jpg', '/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_14_9641.jpg', '/home/nano/Desktop/images/12072025/08/03/image_12072025_08_04_04_10631.jpg', '/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_53_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_44_9629.jpg
/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_34_10615.jpg
/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_23_9632.jpg
/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_14_9641.jpg
/home/nano/Desktop/images/12072025/08/03/image_12072025_08_04_04_10631.jpg
/home/nano/Desktop/images/12072025/08/03/image_12072025_08_03_53_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812801","1371812804","1371812799","1371812806","1371812796","1371812802"],"photo_ids_order":["1371812796","1371812799","1371812801","1371812802","1371812804","1371812806"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/539ad26e2309aaad88f8128e9589a6b1.jpg","text":"TemporaryFile(/tmp/multipartBody26378667772436289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300348426,"filename":"image_12072025_08_04_23_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6737ed16463164c722a8f6465455162d.jpg","text":"TemporaryFile(/tmp/multipartBody5861481210168489292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300348426,"filename":"image_12072025_08_04_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed6f8e8983dbe8dde517162cce8b42c5.jpg","text":"TemporaryFile(/tmp/multipartBody7768452031761174426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300348426,"filename":"image_12072025_08_04_34_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/682f68396b80f6e8dcdc9b5daffbfb07.jpg","text":"TemporaryFile(/tmp/multipartBody4963532732165182681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300348426,"filename":"image_12072025_08_03_53_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76f61e6bb0ad70b61f6fb99ca87bb97c.jpg","text":"TemporaryFile(/tmp/multipartBody4751226343430769392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300348426,"filename":"image_12072025_08_04_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8b3f2de9145fa302b8c24646311ef49.jpg","text":"TemporaryFile(/tmp/multipartBody6770199067284298928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300348426,"filename":"image_12072025_08_04_14_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812801","file1":"1371812799","file0":"1371812796","file4":"1371812804","file5":"1371812806","file3":"1371812802"},"map_files_photo_id_array":[{"photo_id":"1371812806","filename":"file5"},{"photo_id":"1371812801","filename":"file2"},{"photo_id":"1371812804","filename":"file4"},{"photo_id":"1371812799","filename":"file1"},{"photo_id":"1371812796","filename":"file0"},{"photo_id":"1371812802","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812801":["hashtag1","hashtag2"]},{"1371812804":["hashtag1","hashtag2"]},{"1371812799":["hashtag1","hashtag2"]},{"1371812806":["hashtag1","hashtag2"]},{"1371812796":["hashtag1","hashtag2"]},{"1371812802":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812801, 1371812804, 1371812799, 1371812806, 1371812796, 1371812802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39613723754883 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:05:32.376525
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_43_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_34_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_24_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_13_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/08/04/image_12072025_08_05_04_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_53_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_43_9618.jpg', '/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_34_9626.jpg', '/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_24_10629.jpg', '/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_13_9621.jpg', '/home/nano/Desktop/images/12072025/08/04/image_12072025_08_05_04_10642.jpg', '/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_53_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_43_9618.jpg
/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_34_9626.jpg
/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_24_10629.jpg
/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_13_9621.jpg
/home/nano/Desktop/images/12072025/08/04/image_12072025_08_05_04_10642.jpg
/home/nano/Desktop/images/12072025/08/04/image_12072025_08_04_53_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812819","1371812813","1371812821","1371812815","1371812817","1371812811"],"photo_ids_order":["1371812811","1371812813","1371812815","1371812817","1371812819","1371812821"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9039e6d6c2a8666a80ba8ae8d9426c09.jpg","text":"TemporaryFile(/tmp/multipartBody8998904168723785421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300393555,"filename":"image_12072025_08_05_04_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e0ae8c36f999901d523b1d88c830a89.jpg","text":"TemporaryFile(/tmp/multipartBody9030151758258129975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300393555,"filename":"image_12072025_08_05_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b59ed729e345199e89881dcf40920992.jpg","text":"TemporaryFile(/tmp/multipartBody4401883475955095644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300393555,"filename":"image_12072025_08_04_53_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e54d07cbbcc5c6c066963b74ede9ec7d.jpg","text":"TemporaryFile(/tmp/multipartBody7956304076545448048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300393555,"filename":"image_12072025_08_05_24_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9639eca1837310683091430e6268d204.jpg","text":"TemporaryFile(/tmp/multipartBody3362552072967688168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300393555,"filename":"image_12072025_08_05_13_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29ca6fd380734e0a21c08c9eb0a8c717.jpg","text":"TemporaryFile(/tmp/multipartBody1827943587175010317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300393555,"filename":"image_12072025_08_05_43_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812815","file1":"1371812813","file0":"1371812811","file4":"1371812819","file5":"1371812821","file3":"1371812817"},"map_files_photo_id_array":[{"photo_id":"1371812821","filename":"file5"},{"photo_id":"1371812815","filename":"file2"},{"photo_id":"1371812819","filename":"file4"},{"photo_id":"1371812813","filename":"file1"},{"photo_id":"1371812811","filename":"file0"},{"photo_id":"1371812817","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812819":["hashtag1","hashtag2"]},{"1371812813":["hashtag1","hashtag2"]},{"1371812821":["hashtag1","hashtag2"]},{"1371812815":["hashtag1","hashtag2"]},{"1371812817":["hashtag1","hashtag2"]},{"1371812811":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812819, 1371812813, 1371812821, 1371812815, 1371812817, 1371812811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51199460029602 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:06:17.500839
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_44_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_33_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_24_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_13_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/08/05/image_12072025_08_06_03_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_54_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_44_10620.jpg', '/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_33_9617.jpg', '/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_24_10623.jpg', '/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_13_9650.jpg', '/home/nano/Desktop/images/12072025/08/05/image_12072025_08_06_03_9616.jpg', '/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_54_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_44_10620.jpg
/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_33_9617.jpg
/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_24_10623.jpg
/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_13_9650.jpg
/home/nano/Desktop/images/12072025/08/05/image_12072025_08_06_03_9616.jpg
/home/nano/Desktop/images/12072025/08/05/image_12072025_08_05_54_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812828","1371812831","1371812830","1371812827","1371812826","1371812829"],"photo_ids_order":["1371812826","1371812827","1371812828","1371812829","1371812830","1371812831"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f74dd00f002c13388bb9cccc85b8675.jpg","text":"TemporaryFile(/tmp/multipartBody1163196879997279450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300438803,"filename":"image_12072025_08_06_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0735a56d33fb1000927b4d46c1ef3eb.jpg","text":"TemporaryFile(/tmp/multipartBody6690137805949217225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300438803,"filename":"image_12072025_08_05_54_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b70229ddc6f557c8692860a5844a503d.jpg","text":"TemporaryFile(/tmp/multipartBody6284498186721948523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300438803,"filename":"image_12072025_08_06_03_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16c8dfe008344320ff647e1562de10d7.jpg","text":"TemporaryFile(/tmp/multipartBody8432860577035557291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300438803,"filename":"image_12072025_08_06_33_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0691c7cf13315ee95c83667408174c95.jpg","text":"TemporaryFile(/tmp/multipartBody3784222919481281501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300438803,"filename":"image_12072025_08_06_44_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f3baabcebefcc4a1819dbb0a6f3de17.jpg","text":"TemporaryFile(/tmp/multipartBody1525870803608054264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300438803,"filename":"image_12072025_08_06_13_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812828","file1":"1371812827","file0":"1371812826","file4":"1371812830","file5":"1371812831","file3":"1371812829"},"map_files_photo_id_array":[{"photo_id":"1371812831","filename":"file5"},{"photo_id":"1371812828","filename":"file2"},{"photo_id":"1371812830","filename":"file4"},{"photo_id":"1371812827","filename":"file1"},{"photo_id":"1371812826","filename":"file0"},{"photo_id":"1371812829","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812828":["hashtag1","hashtag2"]},{"1371812831":["hashtag1","hashtag2"]},{"1371812830":["hashtag1","hashtag2"]},{"1371812827":["hashtag1","hashtag2"]},{"1371812826":["hashtag1","hashtag2"]},{"1371812829":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812828, 1371812831, 1371812830, 1371812827, 1371812826, 1371812829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92896914482117 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:07:03.324497
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/27/image_10072025_20_27_44_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/20/27/image_10072025_20_27_24_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/20/26/image_10072025_20_27_03_9663.jpg', 2), ('/home/nano/Desktop/images/10072025/20/26/image_10072025_20_26_24_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/20/26/image_10072025_20_26_14_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_54_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/27/image_10072025_20_27_44_10672.jpg', '/home/nano/Desktop/images/10072025/20/27/image_10072025_20_27_24_9647.jpg', '/home/nano/Desktop/images/10072025/20/26/image_10072025_20_27_03_9663.jpg', '/home/nano/Desktop/images/10072025/20/26/image_10072025_20_26_24_9644.jpg', '/home/nano/Desktop/images/10072025/20/26/image_10072025_20_26_14_10672.jpg', '/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_54_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/27/image_10072025_20_27_44_10672.jpg
/home/nano/Desktop/images/10072025/20/27/image_10072025_20_27_24_9647.jpg
/home/nano/Desktop/images/10072025/20/26/image_10072025_20_27_03_9663.jpg
/home/nano/Desktop/images/10072025/20/26/image_10072025_20_26_24_9644.jpg
/home/nano/Desktop/images/10072025/20/26/image_10072025_20_26_14_10672.jpg
/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_54_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812843","1371812837","1371812839","1371812841","1371812844","1371812846"],"photo_ids_order":["1371812837","1371812839","1371812841","1371812843","1371812844","1371812846"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68d8d91f7483d7d2cb88a126149c5cab.jpg","text":"TemporaryFile(/tmp/multipartBody2393939018565118963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300486291,"filename":"image_10072025_20_26_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3825bdc901204fcf8f862ed9f88fa3f2.jpg","text":"TemporaryFile(/tmp/multipartBody3416039593289249222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300486291,"filename":"image_10072025_20_27_44_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d81b2888d821c5392c58f88d8f328e8d.jpg","text":"TemporaryFile(/tmp/multipartBody1619661456414545351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300486291,"filename":"image_10072025_20_27_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d22e73a9ae354781af4f22bf84ad1de0.jpg","text":"TemporaryFile(/tmp/multipartBody8512869600014564601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300486291,"filename":"image_10072025_20_27_03_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e4e20674fd76ec38c8c93fc4d09afe9.jpg","text":"TemporaryFile(/tmp/multipartBody3117859212634803413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300486291,"filename":"image_10072025_20_26_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e76e033bffbc4b0f2c464e63dd19b8db.jpg","text":"TemporaryFile(/tmp/multipartBody408453497316799970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300486291,"filename":"image_10072025_20_25_54_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812841","file1":"1371812839","file0":"1371812837","file4":"1371812844","file5":"1371812846","file3":"1371812843"},"map_files_photo_id_array":[{"photo_id":"1371812846","filename":"file5"},{"photo_id":"1371812841","filename":"file2"},{"photo_id":"1371812844","filename":"file4"},{"photo_id":"1371812839","filename":"file1"},{"photo_id":"1371812837","filename":"file0"},{"photo_id":"1371812843","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371812843":["hashtag1","hashtag2"]},{"1371812837":["hashtag1","hashtag2"]},{"1371812839":["hashtag1","hashtag2"]},{"1371812841":["hashtag1","hashtag2"]},{"1371812844":["hashtag1","hashtag2"]},{"1371812846":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371812843, 1371812837, 1371812839, 1371812841, 1371812844, 1371812846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.45735144615173 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:07:47.596834
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_33_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_23_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_14_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/08/06/image_12072025_08_07_03_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_44_10621.jpg', '/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_33_9596.jpg', '/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_23_9601.jpg', '/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_14_10619.jpg', '/home/nano/Desktop/images/12072025/08/06/image_12072025_08_07_03_9624.jpg', '/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_44_10621.jpg
/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_33_9596.jpg
/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_23_9601.jpg
/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_14_10619.jpg
/home/nano/Desktop/images/12072025/08/06/image_12072025_08_07_03_9624.jpg
/home/nano/Desktop/images/12072025/08/06/image_12072025_08_06_54_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812861","1371812858","1371812854","1371812862","1371812856","1371812852"],"photo_ids_order":["1371812852","1371812854","1371812856","1371812858","1371812861","1371812862"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4678aaae809c00aedc4d1c6a313c1bc2.jpg","text":"TemporaryFile(/tmp/multipartBody2369518393732821894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300528803,"filename":"image_12072025_08_07_03_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be0b63e797fb116c16963a1a52a660b3.jpg","text":"TemporaryFile(/tmp/multipartBody6774830432946480960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300528803,"filename":"image_12072025_08_07_14_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82c3fc9148e5c44a87690a58af2a657f.jpg","text":"TemporaryFile(/tmp/multipartBody3098953027379503769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300528803,"filename":"image_12072025_08_07_33_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7f7ee26509b8c43aef8acadc862ee37.jpg","text":"TemporaryFile(/tmp/multipartBody1312752974225422253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300528803,"filename":"image_12072025_08_06_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/654194acb484fd7a429e3cb36aaed7c3.jpg","text":"TemporaryFile(/tmp/multipartBody4523425951798021459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300528803,"filename":"image_12072025_08_07_23_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad09346a43f09d55cc37195e347f3520.jpg","text":"TemporaryFile(/tmp/multipartBody4312128645845537313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300528803,"filename":"image_12072025_08_07_44_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812856","file1":"1371812854","file0":"1371812852","file4":"1371812861","file5":"1371812862","file3":"1371812858"},"map_files_photo_id_array":[{"photo_id":"1371812862","filename":"file5"},{"photo_id":"1371812856","filename":"file2"},{"photo_id":"1371812861","filename":"file4"},{"photo_id":"1371812854","filename":"file1"},{"photo_id":"1371812852","filename":"file0"},{"photo_id":"1371812858","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812861":["hashtag1","hashtag2"]},{"1371812858":["hashtag1","hashtag2"]},{"1371812854":["hashtag1","hashtag2"]},{"1371812862":["hashtag1","hashtag2"]},{"1371812856":["hashtag1","hashtag2"]},{"1371812852":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812861, 1371812858, 1371812854, 1371812862, 1371812856, 1371812852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.726775884628296 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:08:32.682998
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_43_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_34_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_23_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/08/07/image_12072025_08_08_04_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_53_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_43_9605.jpg', '/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_34_10622.jpg', '/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_23_9604.jpg', '/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_14_9631.jpg', '/home/nano/Desktop/images/12072025/08/07/image_12072025_08_08_04_10630.jpg', '/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_53_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_43_9605.jpg
/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_34_10622.jpg
/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_23_9604.jpg
/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_14_9631.jpg
/home/nano/Desktop/images/12072025/08/07/image_12072025_08_08_04_10630.jpg
/home/nano/Desktop/images/12072025/08/07/image_12072025_08_07_53_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812866","1371812871","1371812868","1371812865","1371812870","1371812864"],"photo_ids_order":["1371812864","1371812865","1371812866","1371812868","1371812870","1371812871"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3dc0e5f6e1ba74cc29afdce80f380adb.jpg","text":"TemporaryFile(/tmp/multipartBody8132746104195423689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300573824,"filename":"image_12072025_08_08_23_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ee74fb1cd5d31b8e091024bfe53f5b7.jpg","text":"TemporaryFile(/tmp/multipartBody1706443582732932055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300573824,"filename":"image_12072025_08_07_53_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01a548deef55915dccd3e3379d03462c.jpg","text":"TemporaryFile(/tmp/multipartBody4218615686274739770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300573824,"filename":"image_12072025_08_08_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe12be38701853695bea9cb60a9a9a1c.jpg","text":"TemporaryFile(/tmp/multipartBody5633081740181629533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300573824,"filename":"image_12072025_08_08_34_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9c57130796a2c979076cf394db65519.jpg","text":"TemporaryFile(/tmp/multipartBody6330028026115266128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300573824,"filename":"image_12072025_08_08_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11eca69603b0f7ce167b7b151ba246d8.jpg","text":"TemporaryFile(/tmp/multipartBody970395388875156726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300573824,"filename":"image_12072025_08_08_43_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812866","file1":"1371812865","file0":"1371812864","file4":"1371812870","file5":"1371812871","file3":"1371812868"},"map_files_photo_id_array":[{"photo_id":"1371812871","filename":"file5"},{"photo_id":"1371812866","filename":"file2"},{"photo_id":"1371812870","filename":"file4"},{"photo_id":"1371812865","filename":"file1"},{"photo_id":"1371812864","filename":"file0"},{"photo_id":"1371812868","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812866":["hashtag1","hashtag2"]},{"1371812871":["hashtag1","hashtag2"]},{"1371812868":["hashtag1","hashtag2"]},{"1371812865":["hashtag1","hashtag2"]},{"1371812870":["hashtag1","hashtag2"]},{"1371812864":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812866, 1371812871, 1371812868, 1371812865, 1371812870, 1371812864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99486804008484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:09:16.874230
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_43_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_24_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_13_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/08/08/image_12072025_08_09_04_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_54_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_43_9608.jpg', '/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_33_9615.jpg', '/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_24_10612.jpg', '/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_13_9626.jpg', '/home/nano/Desktop/images/12072025/08/08/image_12072025_08_09_04_9623.jpg', '/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_54_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_43_9608.jpg
/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_33_9615.jpg
/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_24_10612.jpg
/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_13_9626.jpg
/home/nano/Desktop/images/12072025/08/08/image_12072025_08_09_04_9623.jpg
/home/nano/Desktop/images/12072025/08/08/image_12072025_08_08_54_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812878","1371812886","1371812883","1371812882","1371812885","1371812879"],"photo_ids_order":["1371812878","1371812879","1371812882","1371812883","1371812885","1371812886"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f661fbdd3a5db95a881ec41371f494dc.jpg","text":"TemporaryFile(/tmp/multipartBody6533364586196191588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300618337,"filename":"image_12072025_08_09_43_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b971dbadecfafbce6c7ca394cadcec91.jpg","text":"TemporaryFile(/tmp/multipartBody3237274558325892898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300618337,"filename":"image_12072025_08_08_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/436c497837b03ecd24918a96e5ec0fec.jpg","text":"TemporaryFile(/tmp/multipartBody5260254143205456325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300618337,"filename":"image_12072025_08_09_13_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7bc562d1d8644f4128434e9fb28e96a8.jpg","text":"TemporaryFile(/tmp/multipartBody3698185710223065393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300618337,"filename":"image_12072025_08_09_24_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/574cbe0af5327446f56756414125edd4.jpg","text":"TemporaryFile(/tmp/multipartBody3679074890856223208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300618337,"filename":"image_12072025_08_09_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a21703b6652223eb1a4143259f0035e.jpg","text":"TemporaryFile(/tmp/multipartBody4989655505774284244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300618337,"filename":"image_12072025_08_09_33_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812882","file1":"1371812879","file0":"1371812878","file4":"1371812885","file5":"1371812886","file3":"1371812883"},"map_files_photo_id_array":[{"photo_id":"1371812886","filename":"file5"},{"photo_id":"1371812882","filename":"file2"},{"photo_id":"1371812885","filename":"file4"},{"photo_id":"1371812879","filename":"file1"},{"photo_id":"1371812878","filename":"file0"},{"photo_id":"1371812883","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812878":["hashtag1","hashtag2"]},{"1371812886":["hashtag1","hashtag2"]},{"1371812883":["hashtag1","hashtag2"]},{"1371812882":["hashtag1","hashtag2"]},{"1371812885":["hashtag1","hashtag2"]},{"1371812879":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812878, 1371812886, 1371812883, 1371812882, 1371812885, 1371812879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.321990728378296 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:10:02.352830
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_44_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_33_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_24_9640.jpg', 2), ('/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_14_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/20/24/image_10072025_20_25_03_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_44_10656.jpg', '/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_33_9643.jpg', '/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_24_9640.jpg', '/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_14_10647.jpg', '/home/nano/Desktop/images/10072025/20/24/image_10072025_20_25_03_9629.jpg', '/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_44_10656.jpg
/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_33_9643.jpg
/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_24_9640.jpg
/home/nano/Desktop/images/10072025/20/25/image_10072025_20_25_14_10647.jpg
/home/nano/Desktop/images/10072025/20/24/image_10072025_20_25_03_9629.jpg
/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_54_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812909","1371812912","1371812906","1371812911","1371812908","1371812913"],"photo_ids_order":["1371812906","1371812908","1371812909","1371812911","1371812912","1371812913"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f68a1b30fec426733cc2b8efb0ce51a.jpg","text":"TemporaryFile(/tmp/multipartBody2879611257655623788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300665098,"filename":"image_10072025_20_25_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/013d518c113ffa4b15b71bb294957c75.jpg","text":"TemporaryFile(/tmp/multipartBody231964776644381084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300665098,"filename":"image_10072025_20_25_03_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/929d72fb6b0dc9105d8d26a9c0f270d2.jpg","text":"TemporaryFile(/tmp/multipartBody152198585371941981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300665098,"filename":"image_10072025_20_25_44_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2b23bfd6b018cb6c2cad0ed7dc07d6d.jpg","text":"TemporaryFile(/tmp/multipartBody6727948831195203714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300665098,"filename":"image_10072025_20_25_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47ca9c8694dcd4c15e9fb73731c68607.jpg","text":"TemporaryFile(/tmp/multipartBody3376639055675487254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300665098,"filename":"image_10072025_20_25_33_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e98e88052da9fe409a511c170b35f6d.jpg","text":"TemporaryFile(/tmp/multipartBody4313334423001395254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300665098,"filename":"image_10072025_20_24_54_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812909","file1":"1371812908","file0":"1371812906","file4":"1371812912","file5":"1371812913","file3":"1371812911"},"map_files_photo_id_array":[{"photo_id":"1371812913","filename":"file5"},{"photo_id":"1371812909","filename":"file2"},{"photo_id":"1371812912","filename":"file4"},{"photo_id":"1371812908","filename":"file1"},{"photo_id":"1371812906","filename":"file0"},{"photo_id":"1371812911","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371812909":["hashtag1","hashtag2"]},{"1371812912":["hashtag1","hashtag2"]},{"1371812906":["hashtag1","hashtag2"]},{"1371812911":["hashtag1","hashtag2"]},{"1371812908":["hashtag1","hashtag2"]},{"1371812913":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371812909, 1371812912, 1371812906, 1371812911, 1371812908, 1371812913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.375449657440186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:10:46.861572
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_44_10606.jpg', 2), ('/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_33_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_24_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_14_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/08/09/image_12072025_08_10_03_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_44_10606.jpg', '/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_33_9602.jpg', '/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_24_9610.jpg', '/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_14_10630.jpg', '/home/nano/Desktop/images/12072025/08/09/image_12072025_08_10_03_9658.jpg', '/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_44_10606.jpg
/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_33_9602.jpg
/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_24_9610.jpg
/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_14_10630.jpg
/home/nano/Desktop/images/12072025/08/09/image_12072025_08_10_03_9658.jpg
/home/nano/Desktop/images/12072025/08/09/image_12072025_08_09_54_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812921","1371812918","1371812923","1371812917","1371812922","1371812919"],"photo_ids_order":["1371812917","1371812918","1371812919","1371812921","1371812922","1371812923"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f308514e9cda6a5d34cd3546e2838e14.jpg","text":"TemporaryFile(/tmp/multipartBody4430469675761999694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300707999,"filename":"image_12072025_08_10_14_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4af0df6a2cc8c0bfb30520019c703f55.jpg","text":"TemporaryFile(/tmp/multipartBody3998184063297315312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300707999,"filename":"image_12072025_08_10_33_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b38f7834058f304ecb5733b029640041.jpg","text":"TemporaryFile(/tmp/multipartBody1168592382540159225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300707999,"filename":"image_12072025_08_09_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0aae1dd43a6ff2889c04d87f0a5e266.jpg","text":"TemporaryFile(/tmp/multipartBody7966102886296931322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300707999,"filename":"image_12072025_08_10_44_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ebad4aa449898bdb512b693ca5ae808.jpg","text":"TemporaryFile(/tmp/multipartBody4000536162960803795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300707999,"filename":"image_12072025_08_10_03_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/569f3d14bdb376bc38c17a3149a72723.jpg","text":"TemporaryFile(/tmp/multipartBody876130947674800693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300707999,"filename":"image_12072025_08_10_24_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812919","file1":"1371812918","file0":"1371812917","file4":"1371812922","file5":"1371812923","file3":"1371812921"},"map_files_photo_id_array":[{"photo_id":"1371812923","filename":"file5"},{"photo_id":"1371812919","filename":"file2"},{"photo_id":"1371812922","filename":"file4"},{"photo_id":"1371812918","filename":"file1"},{"photo_id":"1371812917","filename":"file0"},{"photo_id":"1371812921","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812921":["hashtag1","hashtag2"]},{"1371812918":["hashtag1","hashtag2"]},{"1371812923":["hashtag1","hashtag2"]},{"1371812917":["hashtag1","hashtag2"]},{"1371812922":["hashtag1","hashtag2"]},{"1371812919":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812921, 1371812918, 1371812923, 1371812917, 1371812922, 1371812919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.84895372390747 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:11:31.972657
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_44_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_34_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_23_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_14_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/08/10/image_12072025_08_11_03_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_53_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_44_9624.jpg', '/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_34_10643.jpg', '/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_23_9633.jpg', '/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_14_10660.jpg', '/home/nano/Desktop/images/12072025/08/10/image_12072025_08_11_03_9634.jpg', '/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_53_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_44_9624.jpg
/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_34_10643.jpg
/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_23_9633.jpg
/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_14_10660.jpg
/home/nano/Desktop/images/12072025/08/10/image_12072025_08_11_03_9634.jpg
/home/nano/Desktop/images/12072025/08/10/image_12072025_08_10_53_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812933","1371812926","1371812935","1371812929","1371812931","1371812928"],"photo_ids_order":["1371812926","1371812928","1371812929","1371812931","1371812933","1371812935"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b368884cb83a32b0074ff5bf8d1e794d.jpg","text":"TemporaryFile(/tmp/multipartBody8323548074032681179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300753372,"filename":"image_12072025_08_11_03_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38f4d6c490cfc81b07e835fed06b0575.jpg","text":"TemporaryFile(/tmp/multipartBody8160894362021467141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300753372,"filename":"image_12072025_08_11_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38b8dea8d9df4f875e7ed69934e65fac.jpg","text":"TemporaryFile(/tmp/multipartBody7540935271866718399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300753372,"filename":"image_12072025_08_10_53_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3eb006eaa294bb4d8311f016126bfa7c.jpg","text":"TemporaryFile(/tmp/multipartBody3538723473248838861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300753372,"filename":"image_12072025_08_11_23_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20e60645f03f317bb0deb237be7f3762.jpg","text":"TemporaryFile(/tmp/multipartBody796158167145385060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300753372,"filename":"image_12072025_08_11_14_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18a2c4296f66812504c49059ff6ebd6d.jpg","text":"TemporaryFile(/tmp/multipartBody6817205196708302734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300753372,"filename":"image_12072025_08_11_34_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812929","file1":"1371812928","file0":"1371812926","file4":"1371812933","file5":"1371812935","file3":"1371812931"},"map_files_photo_id_array":[{"photo_id":"1371812935","filename":"file5"},{"photo_id":"1371812929","filename":"file2"},{"photo_id":"1371812933","filename":"file4"},{"photo_id":"1371812928","filename":"file1"},{"photo_id":"1371812926","filename":"file0"},{"photo_id":"1371812931","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812933":["hashtag1","hashtag2"]},{"1371812926":["hashtag1","hashtag2"]},{"1371812935":["hashtag1","hashtag2"]},{"1371812929":["hashtag1","hashtag2"]},{"1371812931":["hashtag1","hashtag2"]},{"1371812928":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812933, 1371812926, 1371812935, 1371812929, 1371812931, 1371812928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79744863510132 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:12:17.088791
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_43_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_34_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_14_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/08/11/image_12072025_08_12_04_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_53_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_43_9630.jpg', '/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_34_10625.jpg', '/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_23_9636.jpg', '/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_14_9657.jpg', '/home/nano/Desktop/images/12072025/08/11/image_12072025_08_12_04_10633.jpg', '/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_53_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_43_9630.jpg
/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_34_10625.jpg
/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_23_9636.jpg
/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_14_9657.jpg
/home/nano/Desktop/images/12072025/08/11/image_12072025_08_12_04_10633.jpg
/home/nano/Desktop/images/12072025/08/11/image_12072025_08_11_53_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812938","1371812941","1371812940","1371812943","1371812937","1371812945"],"photo_ids_order":["1371812937","1371812938","1371812940","1371812941","1371812943","1371812945"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04bad9447ea8b6e71816308bc1d2a700.jpg","text":"TemporaryFile(/tmp/multipartBody1680641509555913401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300798302,"filename":"image_12072025_08_12_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1de2934492be4eb34cdc8664f0900f2c.jpg","text":"TemporaryFile(/tmp/multipartBody6751607232458214594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300798302,"filename":"image_12072025_08_12_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c958e493e1e389cdb0a66a01ab8f6d3.jpg","text":"TemporaryFile(/tmp/multipartBody3160602058323319160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300798302,"filename":"image_12072025_08_12_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b6044606a8fdd8a2f66547e09ca710b.jpg","text":"TemporaryFile(/tmp/multipartBody33403608241956486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300798302,"filename":"image_12072025_08_12_04_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/730e33d871c029f1b60cec7f149e32df.jpg","text":"TemporaryFile(/tmp/multipartBody2009895656557116898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300798302,"filename":"image_12072025_08_12_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/578aa1bc911d9e83fdc9316d5e10370a.jpg","text":"TemporaryFile(/tmp/multipartBody5246545034945546949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300798302,"filename":"image_12072025_08_11_53_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812940","file1":"1371812938","file0":"1371812937","file4":"1371812943","file5":"1371812945","file3":"1371812941"},"map_files_photo_id_array":[{"photo_id":"1371812945","filename":"file5"},{"photo_id":"1371812940","filename":"file2"},{"photo_id":"1371812943","filename":"file4"},{"photo_id":"1371812938","filename":"file1"},{"photo_id":"1371812937","filename":"file0"},{"photo_id":"1371812941","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812938":["hashtag1","hashtag2"]},{"1371812941":["hashtag1","hashtag2"]},{"1371812940":["hashtag1","hashtag2"]},{"1371812943":["hashtag1","hashtag2"]},{"1371812937":["hashtag1","hashtag2"]},{"1371812945":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812938, 1371812941, 1371812940, 1371812943, 1371812937, 1371812945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.112876176834106 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:13:02.883815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_43_9604.jpg', 2), ('/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_33_9611.jpg', 2), ('/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_24_10626.jpg', 2), ('/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_13_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_54_10611.jpg', 2), ('/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_43_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_43_9604.jpg', '/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_33_9611.jpg', '/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_24_10626.jpg', '/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_13_9644.jpg', '/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_54_10611.jpg', '/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_43_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_43_9604.jpg
/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_33_9611.jpg
/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_24_10626.jpg
/home/nano/Desktop/images/10072025/20/24/image_10072025_20_24_13_9644.jpg
/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_54_10611.jpg
/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_43_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812960","1371812954","1371812957","1371812956","1371812953","1371812955"],"photo_ids_order":["1371812953","1371812954","1371812955","1371812956","1371812957","1371812960"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c07c31b50486c3395060f711dc06800.jpg","text":"TemporaryFile(/tmp/multipartBody4728856988968026672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300845407,"filename":"image_10072025_20_23_43_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/432e36d1dd23291dcba76cdea46f0582.jpg","text":"TemporaryFile(/tmp/multipartBody8171909811863368935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300845407,"filename":"image_10072025_20_24_33_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c3315309b575d04b12c24fd16ba885d.jpg","text":"TemporaryFile(/tmp/multipartBody6908151591086592498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300845407,"filename":"image_10072025_20_23_54_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2232a66a6c00b7336265c889442c849a.jpg","text":"TemporaryFile(/tmp/multipartBody6176201565411370935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300845407,"filename":"image_10072025_20_24_13_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7096723a13f968fd6c4eba45e4ea257.jpg","text":"TemporaryFile(/tmp/multipartBody2932871639075597257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300845407,"filename":"image_10072025_20_24_43_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0c35616585599748586a61ea6ef9f38.jpg","text":"TemporaryFile(/tmp/multipartBody3165221788305810169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300845407,"filename":"image_10072025_20_24_24_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812955","file1":"1371812954","file0":"1371812953","file4":"1371812957","file5":"1371812960","file3":"1371812956"},"map_files_photo_id_array":[{"photo_id":"1371812960","filename":"file5"},{"photo_id":"1371812955","filename":"file2"},{"photo_id":"1371812957","filename":"file4"},{"photo_id":"1371812954","filename":"file1"},{"photo_id":"1371812953","filename":"file0"},{"photo_id":"1371812956","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371812960":["hashtag1","hashtag2"]},{"1371812954":["hashtag1","hashtag2"]},{"1371812957":["hashtag1","hashtag2"]},{"1371812956":["hashtag1","hashtag2"]},{"1371812953":["hashtag1","hashtag2"]},{"1371812955":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371812960, 1371812954, 1371812957, 1371812956, 1371812953, 1371812955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80112433433533 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:13:47.174718
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_43_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_24_10602.jpg', 2), ('/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_13_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/08/12/image_12072025_08_13_04_10728.jpg', 2), ('/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_43_9605.jpg', '/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_34_9611.jpg', '/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_24_10602.jpg', '/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_13_9636.jpg', '/home/nano/Desktop/images/12072025/08/12/image_12072025_08_13_04_10728.jpg', '/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_43_9605.jpg
/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_34_9611.jpg
/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_24_10602.jpg
/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_13_9636.jpg
/home/nano/Desktop/images/12072025/08/12/image_12072025_08_13_04_10728.jpg
/home/nano/Desktop/images/12072025/08/12/image_12072025_08_12_53_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812975","1371812968","1371812970","1371812973","1371812972","1371812966"],"photo_ids_order":["1371812966","1371812968","1371812970","1371812972","1371812973","1371812975"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8af781270d94a091657a7972c74e298f.jpg","text":"TemporaryFile(/tmp/multipartBody6190747451515005798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300888665,"filename":"image_12072025_08_12_53_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf9857cc8abe01b8a5c7589b18b10db3.jpg","text":"TemporaryFile(/tmp/multipartBody2547870563669205480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300888665,"filename":"image_12072025_08_13_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2041beeffbeacd21f9003c38be35dd0c.jpg","text":"TemporaryFile(/tmp/multipartBody3499023425339851322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300888665,"filename":"image_12072025_08_13_24_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d27a780b185402d51e9c30222998a4f7.jpg","text":"TemporaryFile(/tmp/multipartBody2786588662532201259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300888665,"filename":"image_12072025_08_13_04_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f51d4dbd1ac574da0939c9857d884c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7388012945279970045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300888665,"filename":"image_12072025_08_13_13_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef47f56e72e24a8c8e63ba006863bfe9.jpg","text":"TemporaryFile(/tmp/multipartBody5502901239148944774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300888665,"filename":"image_12072025_08_13_43_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812970","file1":"1371812968","file0":"1371812966","file4":"1371812973","file5":"1371812975","file3":"1371812972"},"map_files_photo_id_array":[{"photo_id":"1371812975","filename":"file5"},{"photo_id":"1371812970","filename":"file2"},{"photo_id":"1371812973","filename":"file4"},{"photo_id":"1371812968","filename":"file1"},{"photo_id":"1371812966","filename":"file0"},{"photo_id":"1371812972","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812975":["hashtag1","hashtag2"]},{"1371812968":["hashtag1","hashtag2"]},{"1371812970":["hashtag1","hashtag2"]},{"1371812973":["hashtag1","hashtag2"]},{"1371812972":["hashtag1","hashtag2"]},{"1371812966":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812975, 1371812968, 1371812970, 1371812973, 1371812972, 1371812966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94752860069275 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:14:32.303672
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_44_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_33_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_24_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_13_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/08/13/image_12072025_08_14_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_54_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_44_10632.jpg', '/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_33_9655.jpg', '/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_24_10616.jpg', '/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_13_9627.jpg', '/home/nano/Desktop/images/12072025/08/13/image_12072025_08_14_04_9626.jpg', '/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_54_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_44_10632.jpg
/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_33_9655.jpg
/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_24_10616.jpg
/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_13_9627.jpg
/home/nano/Desktop/images/12072025/08/13/image_12072025_08_14_04_9626.jpg
/home/nano/Desktop/images/12072025/08/13/image_12072025_08_13_54_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371812986","1371812989","1371812983","1371812991","1371812988","1371812993"],"photo_ids_order":["1371812983","1371812986","1371812988","1371812989","1371812991","1371812993"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60601d7803af11c3b11b3f522bcd010e.jpg","text":"TemporaryFile(/tmp/multipartBody1642213820510426237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300933725,"filename":"image_12072025_08_14_33_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e8c573365ec0fd042a6970a7bd360a8.jpg","text":"TemporaryFile(/tmp/multipartBody5457086281412195420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300933725,"filename":"image_12072025_08_14_13_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10960b0b558f91ee58aa0d00ecee045c.jpg","text":"TemporaryFile(/tmp/multipartBody5882789167055932667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300933725,"filename":"image_12072025_08_14_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c784f656aff0d7eb08444aa0aeaffb9.jpg","text":"TemporaryFile(/tmp/multipartBody3060671247062136792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300933725,"filename":"image_12072025_08_14_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3de092a65174aad3e5da161744d01a0.jpg","text":"TemporaryFile(/tmp/multipartBody5953246568934304366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300933725,"filename":"image_12072025_08_14_24_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a1f0e2f5a08f7268ec84f6449a79c15.jpg","text":"TemporaryFile(/tmp/multipartBody6854834131741544857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300933725,"filename":"image_12072025_08_13_54_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812988","file1":"1371812986","file0":"1371812983","file4":"1371812991","file5":"1371812993","file3":"1371812989"},"map_files_photo_id_array":[{"photo_id":"1371812993","filename":"file5"},{"photo_id":"1371812988","filename":"file2"},{"photo_id":"1371812991","filename":"file4"},{"photo_id":"1371812986","filename":"file1"},{"photo_id":"1371812983","filename":"file0"},{"photo_id":"1371812989","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371812986":["hashtag1","hashtag2"]},{"1371812989":["hashtag1","hashtag2"]},{"1371812983":["hashtag1","hashtag2"]},{"1371812991":["hashtag1","hashtag2"]},{"1371812988":["hashtag1","hashtag2"]},{"1371812993":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371812986, 1371812989, 1371812983, 1371812991, 1371812988, 1371812993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46410536766052 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:15:17.385516
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_44_10608.jpg', 2), ('/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_24_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_14_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/08/14/image_12072025_08_15_03_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_44_10608.jpg', '/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_33_9615.jpg', '/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_24_9604.jpg', '/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_14_10633.jpg', '/home/nano/Desktop/images/12072025/08/14/image_12072025_08_15_03_9627.jpg', '/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_44_10608.jpg
/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_33_9615.jpg
/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_24_9604.jpg
/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_14_10633.jpg
/home/nano/Desktop/images/12072025/08/14/image_12072025_08_15_03_9627.jpg
/home/nano/Desktop/images/12072025/08/14/image_12072025_08_14_54_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813002","1371813005","1371812998","1371813003","1371812996","1371812999"],"photo_ids_order":["1371812996","1371812998","1371812999","1371813002","1371813003","1371813005"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/edd6185b36346f669a52becdf254ad5d.jpg","text":"TemporaryFile(/tmp/multipartBody3441801666837651389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300978640,"filename":"image_12072025_08_15_14_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16a494bf1d8d24af5908811cf54abfc0.jpg","text":"TemporaryFile(/tmp/multipartBody4027576953991804498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300978640,"filename":"image_12072025_08_14_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da04ebcccaef71f6d8f7962e7f244ac9.jpg","text":"TemporaryFile(/tmp/multipartBody2884686272509247377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300978640,"filename":"image_12072025_08_15_33_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea2f5bc5cfe0959f6ad59e71c0053066.jpg","text":"TemporaryFile(/tmp/multipartBody4589906399821037441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300978640,"filename":"image_12072025_08_15_03_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20173dffd9c08dfb9cabd9e612a9f6a9.jpg","text":"TemporaryFile(/tmp/multipartBody6016569411102548383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300978640,"filename":"image_12072025_08_15_44_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/751b76f39b635adffe438fd109e62da0.jpg","text":"TemporaryFile(/tmp/multipartBody2122191123296693328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752300978640,"filename":"image_12072025_08_15_24_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371812999","file1":"1371812998","file0":"1371812996","file4":"1371813003","file5":"1371813005","file3":"1371813002"},"map_files_photo_id_array":[{"photo_id":"1371813005","filename":"file5"},{"photo_id":"1371812999","filename":"file2"},{"photo_id":"1371813003","filename":"file4"},{"photo_id":"1371812998","filename":"file1"},{"photo_id":"1371812996","filename":"file0"},{"photo_id":"1371813002","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813002":["hashtag1","hashtag2"]},{"1371813005":["hashtag1","hashtag2"]},{"1371812998":["hashtag1","hashtag2"]},{"1371813003":["hashtag1","hashtag2"]},{"1371812996":["hashtag1","hashtag2"]},{"1371812999":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813002, 1371813005, 1371812998, 1371813003, 1371812996, 1371812999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36034274101257 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:16:02.982844
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_34_10626.jpg', 2), ('/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_23_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_14_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/20/22/image_10072025_20_23_04_10616.jpg', 2), ('/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_53_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_44_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_34_10626.jpg', '/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_23_9615.jpg', '/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_14_9626.jpg', '/home/nano/Desktop/images/10072025/20/22/image_10072025_20_23_04_10616.jpg', '/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_53_9629.jpg', '/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_44_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_34_10626.jpg
/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_23_9615.jpg
/home/nano/Desktop/images/10072025/20/23/image_10072025_20_23_14_9626.jpg
/home/nano/Desktop/images/10072025/20/22/image_10072025_20_23_04_10616.jpg
/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_53_9629.jpg
/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_44_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813023","1371813017","1371813025","1371813022","1371813027","1371813020"],"photo_ids_order":["1371813017","1371813020","1371813022","1371813023","1371813025","1371813027"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c513ed7e03b49e55aa5cf0d570d230c1.jpg","text":"TemporaryFile(/tmp/multipartBody2532621355648612852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301025504,"filename":"image_10072025_20_23_04_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73759067da9fcbcb257c2dcc37229970.jpg","text":"TemporaryFile(/tmp/multipartBody4483811310320387169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301025504,"filename":"image_10072025_20_23_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b73aa1fe6d09197c5f4bd5274573225.jpg","text":"TemporaryFile(/tmp/multipartBody8782351975806660167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301025504,"filename":"image_10072025_20_22_53_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d6ac1d9d67347201437671ada8b111b.jpg","text":"TemporaryFile(/tmp/multipartBody7166168306944121335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301025504,"filename":"image_10072025_20_23_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83fa00f64abacce8a21293550fdd2579.jpg","text":"TemporaryFile(/tmp/multipartBody2412949936056221671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301025504,"filename":"image_10072025_20_22_44_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5571c38051cf67a4016bc316d585975a.jpg","text":"TemporaryFile(/tmp/multipartBody394928167798164908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301025504,"filename":"image_10072025_20_23_23_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813022","file1":"1371813020","file0":"1371813017","file4":"1371813025","file5":"1371813027","file3":"1371813023"},"map_files_photo_id_array":[{"photo_id":"1371813027","filename":"file5"},{"photo_id":"1371813022","filename":"file2"},{"photo_id":"1371813025","filename":"file4"},{"photo_id":"1371813020","filename":"file1"},{"photo_id":"1371813017","filename":"file0"},{"photo_id":"1371813023","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371813023":["hashtag1","hashtag2"]},{"1371813017":["hashtag1","hashtag2"]},{"1371813025":["hashtag1","hashtag2"]},{"1371813022":["hashtag1","hashtag2"]},{"1371813027":["hashtag1","hashtag2"]},{"1371813020":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371813023, 1371813017, 1371813025, 1371813022, 1371813027, 1371813020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20766615867615 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:16:47.494090
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_43_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_34_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_14_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/08/15/image_12072025_08_16_04_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_53_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_43_9623.jpg', '/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_34_10627.jpg', '/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_23_9639.jpg', '/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_14_9644.jpg', '/home/nano/Desktop/images/12072025/08/15/image_12072025_08_16_04_10610.jpg', '/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_53_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_43_9623.jpg
/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_34_10627.jpg
/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_23_9639.jpg
/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_14_9644.jpg
/home/nano/Desktop/images/12072025/08/15/image_12072025_08_16_04_10610.jpg
/home/nano/Desktop/images/12072025/08/15/image_12072025_08_15_53_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813038","1371813040","1371813044","1371813032","1371813035","1371813029"],"photo_ids_order":["1371813029","1371813032","1371813035","1371813038","1371813040","1371813044"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0428d2f4632cc42a5b77f325b8de44c.jpg","text":"TemporaryFile(/tmp/multipartBody4202749557351409260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301068727,"filename":"image_12072025_08_16_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77ff634d3b8ce90ef31e6a7e2bf0d65d.jpg","text":"TemporaryFile(/tmp/multipartBody496283505137468818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301068727,"filename":"image_12072025_08_16_04_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94952146397e133c5d8ae5db29609ed8.jpg","text":"TemporaryFile(/tmp/multipartBody879220386418744667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301068727,"filename":"image_12072025_08_15_53_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/456777be6e72a51b46ca40621409da68.jpg","text":"TemporaryFile(/tmp/multipartBody1837594118859508729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301068727,"filename":"image_12072025_08_16_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a23b5f21978e6fc50888696274e66ae.jpg","text":"TemporaryFile(/tmp/multipartBody1298675769179165792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301068727,"filename":"image_12072025_08_16_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc4ee6e2041e97f8886fa72a76929ff0.jpg","text":"TemporaryFile(/tmp/multipartBody8748201624901029024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301068727,"filename":"image_12072025_08_16_43_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813035","file1":"1371813032","file0":"1371813029","file4":"1371813040","file5":"1371813044","file3":"1371813038"},"map_files_photo_id_array":[{"photo_id":"1371813044","filename":"file5"},{"photo_id":"1371813035","filename":"file2"},{"photo_id":"1371813040","filename":"file4"},{"photo_id":"1371813032","filename":"file1"},{"photo_id":"1371813029","filename":"file0"},{"photo_id":"1371813038","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813038":["hashtag1","hashtag2"]},{"1371813040":["hashtag1","hashtag2"]},{"1371813044":["hashtag1","hashtag2"]},{"1371813032":["hashtag1","hashtag2"]},{"1371813035":["hashtag1","hashtag2"]},{"1371813029":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813038, 1371813040, 1371813044, 1371813032, 1371813035, 1371813029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10484504699707 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:17:32.576071
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_43_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_34_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_24_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_13_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/08/16/image_12072025_08_17_04_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_53_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_43_9617.jpg', '/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_34_9661.jpg', '/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_24_10644.jpg', '/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_13_9649.jpg', '/home/nano/Desktop/images/12072025/08/16/image_12072025_08_17_04_10630.jpg', '/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_53_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_43_9617.jpg
/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_34_9661.jpg
/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_24_10644.jpg
/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_13_9649.jpg
/home/nano/Desktop/images/12072025/08/16/image_12072025_08_17_04_10630.jpg
/home/nano/Desktop/images/12072025/08/16/image_12072025_08_16_53_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813061","1371813052","1371813054","1371813057","1371813059","1371813053"],"photo_ids_order":["1371813052","1371813053","1371813054","1371813057","1371813059","1371813061"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90ea6118d5b5ca9d934823fc24a7cb98.jpg","text":"TemporaryFile(/tmp/multipartBody2354808697819560515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301114063,"filename":"image_12072025_08_16_53_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/253629945b28a56c0ca43838cdfec869.jpg","text":"TemporaryFile(/tmp/multipartBody143199805356368332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301114063,"filename":"image_12072025_08_17_43_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b3f166d2e44164a815ff02b886bb6d5.jpg","text":"TemporaryFile(/tmp/multipartBody787929574114393435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301114063,"filename":"image_12072025_08_17_24_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1dfc94487ff1b70602152e5dc889db6.jpg","text":"TemporaryFile(/tmp/multipartBody7056414334183389096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301114063,"filename":"image_12072025_08_17_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53c3e62368ef4fa900238ddfd620fa5b.jpg","text":"TemporaryFile(/tmp/multipartBody7373195577680959226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301114063,"filename":"image_12072025_08_17_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb0a79d5f211b06c4503c55b1bd5fadc.jpg","text":"TemporaryFile(/tmp/multipartBody8771519771500685114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301114063,"filename":"image_12072025_08_17_34_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813054","file1":"1371813053","file0":"1371813052","file4":"1371813059","file5":"1371813061","file3":"1371813057"},"map_files_photo_id_array":[{"photo_id":"1371813061","filename":"file5"},{"photo_id":"1371813054","filename":"file2"},{"photo_id":"1371813059","filename":"file4"},{"photo_id":"1371813053","filename":"file1"},{"photo_id":"1371813052","filename":"file0"},{"photo_id":"1371813057","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813061":["hashtag1","hashtag2"]},{"1371813052":["hashtag1","hashtag2"]},{"1371813054":["hashtag1","hashtag2"]},{"1371813057":["hashtag1","hashtag2"]},{"1371813059":["hashtag1","hashtag2"]},{"1371813053":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813061, 1371813052, 1371813054, 1371813057, 1371813059, 1371813053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.68521237373352 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:18:17.713774
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_43_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_33_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_24_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/08/17/image_12072025_08_18_04_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_54_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_43_9619.jpg', '/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_33_9610.jpg', '/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_24_10619.jpg', '/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_13_9657.jpg', '/home/nano/Desktop/images/12072025/08/17/image_12072025_08_18_04_9642.jpg', '/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_54_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_43_9619.jpg
/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_33_9610.jpg
/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_24_10619.jpg
/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_13_9657.jpg
/home/nano/Desktop/images/12072025/08/17/image_12072025_08_18_04_9642.jpg
/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_54_10639.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4179296493530273 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:18:32.694474
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_43_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_33_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_24_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/08/17/image_12072025_08_18_04_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_54_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_43_9619.jpg', '/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_33_9610.jpg', '/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_24_10619.jpg', '/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_13_9657.jpg', '/home/nano/Desktop/images/12072025/08/17/image_12072025_08_18_04_9642.jpg', '/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_54_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_43_9619.jpg
/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_33_9610.jpg
/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_24_10619.jpg
/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_13_9657.jpg
/home/nano/Desktop/images/12072025/08/17/image_12072025_08_18_04_9642.jpg
/home/nano/Desktop/images/12072025/08/17/image_12072025_08_17_54_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813073","1371813076","1371813079","1371813084","1371813081","1371813075"],"photo_ids_order":["1371813073","1371813075","1371813076","1371813079","1371813081","1371813084"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b5c6105b3403e2963fe6f7c20810a9a.jpg","text":"TemporaryFile(/tmp/multipartBody633100052373818644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301173998,"filename":"image_12072025_08_18_43_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/562567386ba3f3dbd3293d0e5340d677.jpg","text":"TemporaryFile(/tmp/multipartBody6284812625425243459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301173998,"filename":"image_12072025_08_18_24_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/764a957f38620e8e8c411717dc32a4fc.jpg","text":"TemporaryFile(/tmp/multipartBody3881034477232598493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301173998,"filename":"image_12072025_08_18_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56d93907d1746cad3b2b748a7141ce76.jpg","text":"TemporaryFile(/tmp/multipartBody6542293225040593173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301173998,"filename":"image_12072025_08_17_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c95bef583220a4ffe1f9738eb8eda6fd.jpg","text":"TemporaryFile(/tmp/multipartBody2921100091681241531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301173998,"filename":"image_12072025_08_18_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a9f6f5b940bf8887471750fce627da9.jpg","text":"TemporaryFile(/tmp/multipartBody6233507456199114393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301173998,"filename":"image_12072025_08_18_33_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813076","file1":"1371813075","file0":"1371813073","file4":"1371813081","file5":"1371813084","file3":"1371813079"},"map_files_photo_id_array":[{"photo_id":"1371813084","filename":"file5"},{"photo_id":"1371813076","filename":"file2"},{"photo_id":"1371813081","filename":"file4"},{"photo_id":"1371813075","filename":"file1"},{"photo_id":"1371813073","filename":"file0"},{"photo_id":"1371813079","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813073":["hashtag1","hashtag2"]},{"1371813076":["hashtag1","hashtag2"]},{"1371813079":["hashtag1","hashtag2"]},{"1371813084":["hashtag1","hashtag2"]},{"1371813081":["hashtag1","hashtag2"]},{"1371813075":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813073, 1371813076, 1371813079, 1371813084, 1371813081, 1371813075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63060998916626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:19:16.794892
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_44_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_33_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_24_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_14_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/08/18/image_12072025_08_19_03_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_54_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_44_10614.jpg', '/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_33_9604.jpg', '/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_24_9615.jpg', '/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_14_10637.jpg', '/home/nano/Desktop/images/12072025/08/18/image_12072025_08_19_03_9644.jpg', '/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_54_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_44_10614.jpg
/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_33_9604.jpg
/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_24_9615.jpg
/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_14_10637.jpg
/home/nano/Desktop/images/12072025/08/18/image_12072025_08_19_03_9644.jpg
/home/nano/Desktop/images/12072025/08/18/image_12072025_08_18_54_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813091","1371813094","1371813097","1371813096","1371813099","1371813092"],"photo_ids_order":["1371813091","1371813092","1371813094","1371813096","1371813097","1371813099"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7143376ba4c59c9e1151ca28927ac3d.jpg","text":"TemporaryFile(/tmp/multipartBody5479195162875079243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301217983,"filename":"image_12072025_08_19_44_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/264a8a01a536ec999c7f545e51e0514d.jpg","text":"TemporaryFile(/tmp/multipartBody7828839141397284601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301217983,"filename":"image_12072025_08_19_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b977d4f3a747228f82adddbd7b3303fc.jpg","text":"TemporaryFile(/tmp/multipartBody4795101892772045157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301217983,"filename":"image_12072025_08_19_03_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13b4926a8e97bcfecaccb3292459d3ae.jpg","text":"TemporaryFile(/tmp/multipartBody1824626760836420397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301217983,"filename":"image_12072025_08_19_14_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b612e7589b4bb453159b2a3e320a5a2.jpg","text":"TemporaryFile(/tmp/multipartBody2940271671246135027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301217983,"filename":"image_12072025_08_18_54_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/405fd1e4dbabd71df9ad2dcb38a3ac27.jpg","text":"TemporaryFile(/tmp/multipartBody4528035079817301462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301217983,"filename":"image_12072025_08_19_33_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813094","file1":"1371813092","file0":"1371813091","file4":"1371813097","file5":"1371813099","file3":"1371813096"},"map_files_photo_id_array":[{"photo_id":"1371813099","filename":"file5"},{"photo_id":"1371813094","filename":"file2"},{"photo_id":"1371813097","filename":"file4"},{"photo_id":"1371813092","filename":"file1"},{"photo_id":"1371813091","filename":"file0"},{"photo_id":"1371813096","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813091":["hashtag1","hashtag2"]},{"1371813094":["hashtag1","hashtag2"]},{"1371813097":["hashtag1","hashtag2"]},{"1371813096":["hashtag1","hashtag2"]},{"1371813099":["hashtag1","hashtag2"]},{"1371813092":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813091, 1371813094, 1371813097, 1371813096, 1371813099, 1371813092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.52802324295044 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:20:02.248900
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_34_10626.jpg', 2), ('/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_23_9621.jpg', 2), ('/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_14_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/20/21/image_10072025_20_22_03_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_54_9603.jpg', 2), ('/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_44_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_34_10626.jpg', '/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_23_9621.jpg', '/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_14_10637.jpg', '/home/nano/Desktop/images/10072025/20/21/image_10072025_20_22_03_9623.jpg', '/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_54_9603.jpg', '/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_44_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_34_10626.jpg
/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_23_9621.jpg
/home/nano/Desktop/images/10072025/20/22/image_10072025_20_22_14_10637.jpg
/home/nano/Desktop/images/10072025/20/21/image_10072025_20_22_03_9623.jpg
/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_54_9603.jpg
/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_44_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813122","1371813119","1371813121","1371813115","1371813120","1371813117"],"photo_ids_order":["1371813115","1371813117","1371813119","1371813120","1371813121","1371813122"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/488d7185dcb3faaef9c84e128a498e93.jpg","text":"TemporaryFile(/tmp/multipartBody9212937469651073854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301264833,"filename":"image_10072025_20_21_44_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5858ccbfc5789b6e94bf0506ba80562e.jpg","text":"TemporaryFile(/tmp/multipartBody8578113961513839545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301264833,"filename":"image_10072025_20_22_14_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1330f48fa5e26da65f864c16ce53c692.jpg","text":"TemporaryFile(/tmp/multipartBody2868886259986697446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301264833,"filename":"image_10072025_20_21_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f0aa50bbdb382a4bbca20c8dd163b7b.jpg","text":"TemporaryFile(/tmp/multipartBody6127205877558461969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301264833,"filename":"image_10072025_20_22_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e97eb365c242c0054b2f5afe0ecca492.jpg","text":"TemporaryFile(/tmp/multipartBody9115776420599013566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301264833,"filename":"image_10072025_20_22_03_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15ac9f3b1e898137f9edf189903a8805.jpg","text":"TemporaryFile(/tmp/multipartBody6938122340016338837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301264833,"filename":"image_10072025_20_22_23_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813119","file1":"1371813117","file0":"1371813115","file4":"1371813121","file5":"1371813122","file3":"1371813120"},"map_files_photo_id_array":[{"photo_id":"1371813122","filename":"file5"},{"photo_id":"1371813119","filename":"file2"},{"photo_id":"1371813121","filename":"file4"},{"photo_id":"1371813117","filename":"file1"},{"photo_id":"1371813115","filename":"file0"},{"photo_id":"1371813120","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371813122":["hashtag1","hashtag2"]},{"1371813119":["hashtag1","hashtag2"]},{"1371813121":["hashtag1","hashtag2"]},{"1371813115":["hashtag1","hashtag2"]},{"1371813120":["hashtag1","hashtag2"]},{"1371813117":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371813122, 1371813119, 1371813121, 1371813115, 1371813120, 1371813117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89635920524597 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:20:46.908507
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_44_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_23_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_14_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/08/19/image_12072025_08_20_03_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_44_9609.jpg', '/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_34_10623.jpg', '/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_23_9611.jpg', '/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_14_10635.jpg', '/home/nano/Desktop/images/12072025/08/19/image_12072025_08_20_03_9626.jpg', '/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_44_9609.jpg
/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_34_10623.jpg
/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_23_9611.jpg
/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_14_10635.jpg
/home/nano/Desktop/images/12072025/08/19/image_12072025_08_20_03_9626.jpg
/home/nano/Desktop/images/12072025/08/19/image_12072025_08_19_53_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813124","1371813133","1371813129","1371813126","1371813131","1371813128"],"photo_ids_order":["1371813124","1371813126","1371813128","1371813129","1371813131","1371813133"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc8392865ed67e58c963e64f398540fa.jpg","text":"TemporaryFile(/tmp/multipartBody3668243973342765562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301308379,"filename":"image_12072025_08_20_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b394e5932657dff905b72a6ff9fe1466.jpg","text":"TemporaryFile(/tmp/multipartBody7110773931648644447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301308379,"filename":"image_12072025_08_19_53_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb73d7defec8557caf33064e9fcde239.jpg","text":"TemporaryFile(/tmp/multipartBody5024683629276705099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301308379,"filename":"image_12072025_08_20_14_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d98b1444f4094d2717dc454f50c226c.jpg","text":"TemporaryFile(/tmp/multipartBody1120544052677327512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301308379,"filename":"image_12072025_08_20_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c346dd559ddc4065c5fd4ce819203a37.jpg","text":"TemporaryFile(/tmp/multipartBody6272035544155675132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301308379,"filename":"image_12072025_08_20_03_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/511ed3b3743ca2a1114c06db0d2337ad.jpg","text":"TemporaryFile(/tmp/multipartBody6426419265770461010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301308379,"filename":"image_12072025_08_20_23_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813128","file1":"1371813126","file0":"1371813124","file4":"1371813131","file5":"1371813133","file3":"1371813129"},"map_files_photo_id_array":[{"photo_id":"1371813133","filename":"file5"},{"photo_id":"1371813128","filename":"file2"},{"photo_id":"1371813131","filename":"file4"},{"photo_id":"1371813126","filename":"file1"},{"photo_id":"1371813124","filename":"file0"},{"photo_id":"1371813129","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813124":["hashtag1","hashtag2"]},{"1371813133":["hashtag1","hashtag2"]},{"1371813129":["hashtag1","hashtag2"]},{"1371813126":["hashtag1","hashtag2"]},{"1371813131":["hashtag1","hashtag2"]},{"1371813128":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813124, 1371813133, 1371813129, 1371813126, 1371813131, 1371813128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.751872301101685 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:21:32.101659
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_43_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_34_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_23_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_13_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/08/20/image_12072025_08_21_04_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_53_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_43_9620.jpg', '/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_34_10632.jpg', '/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_23_9606.jpg', '/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_13_9630.jpg', '/home/nano/Desktop/images/12072025/08/20/image_12072025_08_21_04_10644.jpg', '/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_53_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_43_9620.jpg
/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_34_10632.jpg
/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_23_9606.jpg
/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_13_9630.jpg
/home/nano/Desktop/images/12072025/08/20/image_12072025_08_21_04_10644.jpg
/home/nano/Desktop/images/12072025/08/20/image_12072025_08_20_53_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813137","1371813136","1371813141","1371813138","1371813143","1371813146"],"photo_ids_order":["1371813136","1371813137","1371813138","1371813141","1371813143","1371813146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df2765654859c6568ca1b64d6fdb8bd1.jpg","text":"TemporaryFile(/tmp/multipartBody1446966850543341627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301353357,"filename":"image_12072025_08_21_34_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/396399e32ef8516ba553ac15056047a9.jpg","text":"TemporaryFile(/tmp/multipartBody8398694996826553768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301353357,"filename":"image_12072025_08_21_43_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17684ca5af8bb76807ecdc280bf3ba8e.jpg","text":"TemporaryFile(/tmp/multipartBody2114517236390116564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301353357,"filename":"image_12072025_08_21_13_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42ce2e21bb85859389eacff9c0cd1b48.jpg","text":"TemporaryFile(/tmp/multipartBody8556294114825461370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301353357,"filename":"image_12072025_08_21_23_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92d057ebf645cc6bda4911d76ee7307d.jpg","text":"TemporaryFile(/tmp/multipartBody4982300890679095732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301353357,"filename":"image_12072025_08_21_04_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27b617f14576bc3308803829c8fef5f7.jpg","text":"TemporaryFile(/tmp/multipartBody2280537405345278417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301353357,"filename":"image_12072025_08_20_53_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813138","file1":"1371813137","file0":"1371813136","file4":"1371813143","file5":"1371813146","file3":"1371813141"},"map_files_photo_id_array":[{"photo_id":"1371813146","filename":"file5"},{"photo_id":"1371813138","filename":"file2"},{"photo_id":"1371813143","filename":"file4"},{"photo_id":"1371813137","filename":"file1"},{"photo_id":"1371813136","filename":"file0"},{"photo_id":"1371813141","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813137":["hashtag1","hashtag2"]},{"1371813136":["hashtag1","hashtag2"]},{"1371813141":["hashtag1","hashtag2"]},{"1371813138":["hashtag1","hashtag2"]},{"1371813143":["hashtag1","hashtag2"]},{"1371813146":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813137, 1371813136, 1371813141, 1371813138, 1371813143, 1371813146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42582392692566 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:22:17.134076
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_43_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_34_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_24_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_13_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/08/21/image_12072025_08_22_04_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_54_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_43_9629.jpg', '/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_34_9647.jpg', '/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_24_10651.jpg', '/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_13_9671.jpg', '/home/nano/Desktop/images/12072025/08/21/image_12072025_08_22_04_9616.jpg', '/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_54_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_43_9629.jpg
/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_34_9647.jpg
/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_24_10651.jpg
/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_13_9671.jpg
/home/nano/Desktop/images/12072025/08/21/image_12072025_08_22_04_9616.jpg
/home/nano/Desktop/images/12072025/08/21/image_12072025_08_21_54_10610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813157","1371813151","1371813153","1371813156","1371813152","1371813155"],"photo_ids_order":["1371813151","1371813152","1371813153","1371813155","1371813156","1371813157"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9741f92863c7a8dd77881523ef25271.jpg","text":"TemporaryFile(/tmp/multipartBody459638553877819787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301398523,"filename":"image_12072025_08_21_54_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ae92440ae7902d834687cb9f4c0df9f.jpg","text":"TemporaryFile(/tmp/multipartBody7730199489288332097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301398523,"filename":"image_12072025_08_22_43_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0ee35b76d02f5eff20d9a377fc201f3.jpg","text":"TemporaryFile(/tmp/multipartBody6297561235284266718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301398523,"filename":"image_12072025_08_22_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17704ffa858237260fdd5ec900c6d133.jpg","text":"TemporaryFile(/tmp/multipartBody3490997211801516373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301398523,"filename":"image_12072025_08_22_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33c14f34b4549bf591f04f299d22e2e2.jpg","text":"TemporaryFile(/tmp/multipartBody5204984979060134978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301398523,"filename":"image_12072025_08_22_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d6bb8a19b58c0b5fd81b92914069ecd.jpg","text":"TemporaryFile(/tmp/multipartBody2617226380447475933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301398523,"filename":"image_12072025_08_22_13_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813153","file1":"1371813152","file0":"1371813151","file4":"1371813156","file5":"1371813157","file3":"1371813155"},"map_files_photo_id_array":[{"photo_id":"1371813157","filename":"file5"},{"photo_id":"1371813153","filename":"file2"},{"photo_id":"1371813156","filename":"file4"},{"photo_id":"1371813152","filename":"file1"},{"photo_id":"1371813151","filename":"file0"},{"photo_id":"1371813155","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813157":["hashtag1","hashtag2"]},{"1371813151":["hashtag1","hashtag2"]},{"1371813153":["hashtag1","hashtag2"]},{"1371813156":["hashtag1","hashtag2"]},{"1371813152":["hashtag1","hashtag2"]},{"1371813155":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813157, 1371813151, 1371813153, 1371813156, 1371813152, 1371813155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.001386404037476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:23:02.726770
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_33_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_24_10617.jpg', 2), ('/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_13_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/20/20/image_10072025_20_21_03_9617.jpg', 2), ('/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_54_10618.jpg', 2), ('/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_43_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_33_9613.jpg', '/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_24_10617.jpg', '/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_13_9625.jpg', '/home/nano/Desktop/images/10072025/20/20/image_10072025_20_21_03_9617.jpg', '/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_54_10618.jpg', '/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_43_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_33_9613.jpg
/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_24_10617.jpg
/home/nano/Desktop/images/10072025/20/21/image_10072025_20_21_13_9625.jpg
/home/nano/Desktop/images/10072025/20/20/image_10072025_20_21_03_9617.jpg
/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_54_10618.jpg
/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_43_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813165","1371813174","1371813176","1371813170","1371813173","1371813167"],"photo_ids_order":["1371813165","1371813167","1371813170","1371813173","1371813174","1371813176"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ddb3bbe23f4fdec26912c4137c03b11.jpg","text":"TemporaryFile(/tmp/multipartBody311998450036829081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301445213,"filename":"image_10072025_20_21_33_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e250fd2af5eadc457fbb096f0eeaecb2.jpg","text":"TemporaryFile(/tmp/multipartBody6312161161073019252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301445213,"filename":"image_10072025_20_20_54_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d572066741a2879288b917d3964ee095.jpg","text":"TemporaryFile(/tmp/multipartBody7784222725056853619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301445213,"filename":"image_10072025_20_20_43_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37819eeee6bcb7831b2c0b4d68cfd8fe.jpg","text":"TemporaryFile(/tmp/multipartBody3370262164520817402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301445213,"filename":"image_10072025_20_21_13_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/053ecbeceae57eec16c2e93f89d69b83.jpg","text":"TemporaryFile(/tmp/multipartBody7520008202948932499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301445213,"filename":"image_10072025_20_21_03_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8595ae1362d13d687c9cf59881b4f67c.jpg","text":"TemporaryFile(/tmp/multipartBody5972249894319504862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301445213,"filename":"image_10072025_20_21_24_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813170","file1":"1371813167","file0":"1371813165","file4":"1371813174","file5":"1371813176","file3":"1371813173"},"map_files_photo_id_array":[{"photo_id":"1371813176","filename":"file5"},{"photo_id":"1371813170","filename":"file2"},{"photo_id":"1371813174","filename":"file4"},{"photo_id":"1371813167","filename":"file1"},{"photo_id":"1371813165","filename":"file0"},{"photo_id":"1371813173","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371813165":["hashtag1","hashtag2"]},{"1371813174":["hashtag1","hashtag2"]},{"1371813176":["hashtag1","hashtag2"]},{"1371813170":["hashtag1","hashtag2"]},{"1371813173":["hashtag1","hashtag2"]},{"1371813167":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371813165, 1371813174, 1371813176, 1371813170, 1371813173, 1371813167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32672047615051 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:23:47.241487
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_44_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_33_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_24_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_14_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/08/22/image_12072025_08_23_03_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_54_10609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_44_10617.jpg', '/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_33_9605.jpg', '/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_24_9609.jpg', '/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_14_10628.jpg', '/home/nano/Desktop/images/12072025/08/22/image_12072025_08_23_03_9633.jpg', '/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_54_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_44_10617.jpg
/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_33_9605.jpg
/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_24_9609.jpg
/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_14_10628.jpg
/home/nano/Desktop/images/12072025/08/22/image_12072025_08_23_03_9633.jpg
/home/nano/Desktop/images/12072025/08/22/image_12072025_08_22_54_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813187","1371813183","1371813189","1371813180","1371813182","1371813185"],"photo_ids_order":["1371813180","1371813182","1371813183","1371813185","1371813187","1371813189"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ae297385d83553afe69a70d512c2dee.jpg","text":"TemporaryFile(/tmp/multipartBody1979381762211000146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301488587,"filename":"image_12072025_08_23_03_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fbeda3dadef8e2723dc05925a5736bf.jpg","text":"TemporaryFile(/tmp/multipartBody6441640546187447576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301488587,"filename":"image_12072025_08_23_24_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ecb055f27a0a4c275cc4bf1e750b83c3.jpg","text":"TemporaryFile(/tmp/multipartBody4873813631089403044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301488587,"filename":"image_12072025_08_22_54_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcf63be144019066d7791bc35d2c0ed3.jpg","text":"TemporaryFile(/tmp/multipartBody6385350470795443764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301488587,"filename":"image_12072025_08_23_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2db8abc346e9ce13471b76a692af17f6.jpg","text":"TemporaryFile(/tmp/multipartBody7475295345910135086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301488587,"filename":"image_12072025_08_23_33_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6dfa1dddb291554261ac0b302086972d.jpg","text":"TemporaryFile(/tmp/multipartBody3193698556488783375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301488587,"filename":"image_12072025_08_23_14_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813183","file1":"1371813182","file0":"1371813180","file4":"1371813187","file5":"1371813189","file3":"1371813185"},"map_files_photo_id_array":[{"photo_id":"1371813189","filename":"file5"},{"photo_id":"1371813183","filename":"file2"},{"photo_id":"1371813187","filename":"file4"},{"photo_id":"1371813182","filename":"file1"},{"photo_id":"1371813180","filename":"file0"},{"photo_id":"1371813185","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813187":["hashtag1","hashtag2"]},{"1371813183":["hashtag1","hashtag2"]},{"1371813189":["hashtag1","hashtag2"]},{"1371813180":["hashtag1","hashtag2"]},{"1371813182":["hashtag1","hashtag2"]},{"1371813185":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813187, 1371813183, 1371813189, 1371813180, 1371813182, 1371813185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.236024141311646 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:24:32.316794
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_44_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_14_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/08/23/image_12072025_08_24_03_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_53_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_44_9607.jpg', '/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_34_10620.jpg', '/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_23_9616.jpg', '/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_14_10653.jpg', '/home/nano/Desktop/images/12072025/08/23/image_12072025_08_24_03_9613.jpg', '/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_53_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_44_9607.jpg
/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_34_10620.jpg
/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_23_9616.jpg
/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_14_10653.jpg
/home/nano/Desktop/images/12072025/08/23/image_12072025_08_24_03_9613.jpg
/home/nano/Desktop/images/12072025/08/23/image_12072025_08_23_53_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813199","1371813193","1371813196","1371813192","1371813201","1371813194"],"photo_ids_order":["1371813192","1371813193","1371813194","1371813196","1371813199","1371813201"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ecb0ccc0c693f229dca8d8c96d3aecc9.jpg","text":"TemporaryFile(/tmp/multipartBody4284904273819964121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301533770,"filename":"image_12072025_08_24_03_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/877f315d7bdbd87a8d179d87f67cb064.jpg","text":"TemporaryFile(/tmp/multipartBody583531408093605102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301533770,"filename":"image_12072025_08_24_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f29dc11b0cf469eab8469f08412a3315.jpg","text":"TemporaryFile(/tmp/multipartBody4090724309366555149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301533770,"filename":"image_12072025_08_24_14_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d72ebb9f571be39e075a673d5d7b1c36.jpg","text":"TemporaryFile(/tmp/multipartBody5102376891471709445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301533770,"filename":"image_12072025_08_24_44_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ead3eaa97e9cbfd2d44420f2f0e14e3.jpg","text":"TemporaryFile(/tmp/multipartBody6731102402002740510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301533770,"filename":"image_12072025_08_23_53_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ef2653b811e102205d4d91b573fa603.jpg","text":"TemporaryFile(/tmp/multipartBody631657116176221182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301533770,"filename":"image_12072025_08_24_23_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813194","file1":"1371813193","file0":"1371813192","file4":"1371813199","file5":"1371813201","file3":"1371813196"},"map_files_photo_id_array":[{"photo_id":"1371813201","filename":"file5"},{"photo_id":"1371813194","filename":"file2"},{"photo_id":"1371813199","filename":"file4"},{"photo_id":"1371813193","filename":"file1"},{"photo_id":"1371813192","filename":"file0"},{"photo_id":"1371813196","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813199":["hashtag1","hashtag2"]},{"1371813193":["hashtag1","hashtag2"]},{"1371813196":["hashtag1","hashtag2"]},{"1371813192":["hashtag1","hashtag2"]},{"1371813201":["hashtag1","hashtag2"]},{"1371813194":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813199, 1371813193, 1371813196, 1371813192, 1371813201, 1371813194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61818861961365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:25:17.538963
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_43_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_34_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_23_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_13_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/08/24/image_12072025_08_25_04_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_53_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_43_9610.jpg', '/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_34_10631.jpg', '/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_23_9611.jpg', '/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_13_9622.jpg', '/home/nano/Desktop/images/12072025/08/24/image_12072025_08_25_04_10650.jpg', '/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_53_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_43_9610.jpg
/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_34_10631.jpg
/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_23_9611.jpg
/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_13_9622.jpg
/home/nano/Desktop/images/12072025/08/24/image_12072025_08_25_04_10650.jpg
/home/nano/Desktop/images/12072025/08/24/image_12072025_08_24_53_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813209","1371813205","1371813208","1371813210","1371813207","1371813206"],"photo_ids_order":["1371813205","1371813206","1371813207","1371813208","1371813209","1371813210"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ebd95cce973308686560764dd7f9fd3.jpg","text":"TemporaryFile(/tmp/multipartBody2669782645536646619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301578896,"filename":"image_12072025_08_25_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f964afb78e1e6240899bcf96f0751fd.jpg","text":"TemporaryFile(/tmp/multipartBody8359810353646855130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301578896,"filename":"image_12072025_08_25_43_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4284838b7d97030b766a7dc774db893.jpg","text":"TemporaryFile(/tmp/multipartBody3339440244861976390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301578896,"filename":"image_12072025_08_25_13_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0a56cb91c1da183f96223f5b5085f90.jpg","text":"TemporaryFile(/tmp/multipartBody7212751348194729399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301578896,"filename":"image_12072025_08_24_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3f5e30bc1e1348a7d8d71225746859b.jpg","text":"TemporaryFile(/tmp/multipartBody3978439206745053915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301578896,"filename":"image_12072025_08_25_23_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34f035c87b70e309145747be82f4c526.jpg","text":"TemporaryFile(/tmp/multipartBody8927219082376697002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301578896,"filename":"image_12072025_08_25_34_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813207","file1":"1371813206","file0":"1371813205","file4":"1371813209","file5":"1371813210","file3":"1371813208"},"map_files_photo_id_array":[{"photo_id":"1371813210","filename":"file5"},{"photo_id":"1371813207","filename":"file2"},{"photo_id":"1371813209","filename":"file4"},{"photo_id":"1371813206","filename":"file1"},{"photo_id":"1371813205","filename":"file0"},{"photo_id":"1371813208","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813209":["hashtag1","hashtag2"]},{"1371813205":["hashtag1","hashtag2"]},{"1371813208":["hashtag1","hashtag2"]},{"1371813210":["hashtag1","hashtag2"]},{"1371813207":["hashtag1","hashtag2"]},{"1371813206":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813209, 1371813205, 1371813208, 1371813210, 1371813207, 1371813206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37750744819641 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:26:03.155180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_34_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_24_10619.jpg', 2), ('/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_13_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/20/19/image_10072025_20_20_04_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_53_9606.jpg', 2), ('/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_44_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_34_9625.jpg', '/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_24_10619.jpg', '/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_13_9627.jpg', '/home/nano/Desktop/images/10072025/20/19/image_10072025_20_20_04_10627.jpg', '/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_53_9606.jpg', '/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_44_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_34_9625.jpg
/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_24_10619.jpg
/home/nano/Desktop/images/10072025/20/20/image_10072025_20_20_13_9627.jpg
/home/nano/Desktop/images/10072025/20/19/image_10072025_20_20_04_10627.jpg
/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_53_9606.jpg
/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_44_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813221","1371813229","1371813226","1371813228","1371813219","1371813224"],"photo_ids_order":["1371813219","1371813221","1371813224","1371813226","1371813228","1371813229"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/287ea04dada46bf40d57a5de25822a0b.jpg","text":"TemporaryFile(/tmp/multipartBody3429983906603509622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301625617,"filename":"image_10072025_20_20_24_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88963229b82fd02cf5f12c001aed6861.jpg","text":"TemporaryFile(/tmp/multipartBody4499707622604431950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301625617,"filename":"image_10072025_20_19_44_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4d051afc83826bea9ab7d296dcced3d.jpg","text":"TemporaryFile(/tmp/multipartBody6754773664877111093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301625617,"filename":"image_10072025_20_20_04_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09d6f07808f5edeb82992afbf0ed1b3b.jpg","text":"TemporaryFile(/tmp/multipartBody8087380212874204953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301625617,"filename":"image_10072025_20_19_53_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f4e2fa6c043cceb7c72df93143dbde7.jpg","text":"TemporaryFile(/tmp/multipartBody4727529495535059231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301625617,"filename":"image_10072025_20_20_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9588eeddce6040080326bad8f4702301.jpg","text":"TemporaryFile(/tmp/multipartBody6334183497791263223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301625617,"filename":"image_10072025_20_20_13_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813224","file1":"1371813221","file0":"1371813219","file4":"1371813228","file5":"1371813229","file3":"1371813226"},"map_files_photo_id_array":[{"photo_id":"1371813229","filename":"file5"},{"photo_id":"1371813224","filename":"file2"},{"photo_id":"1371813228","filename":"file4"},{"photo_id":"1371813221","filename":"file1"},{"photo_id":"1371813219","filename":"file0"},{"photo_id":"1371813226","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371813221":["hashtag1","hashtag2"]},{"1371813229":["hashtag1","hashtag2"]},{"1371813226":["hashtag1","hashtag2"]},{"1371813228":["hashtag1","hashtag2"]},{"1371813219":["hashtag1","hashtag2"]},{"1371813224":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371813221, 1371813229, 1371813226, 1371813228, 1371813219, 1371813224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77404046058655 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:26:47.603178
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_44_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_33_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_24_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_13_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/08/25/image_12072025_08_26_04_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_54_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_44_10619.jpg', '/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_33_9604.jpg', '/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_24_10610.jpg', '/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_13_9611.jpg', '/home/nano/Desktop/images/12072025/08/25/image_12072025_08_26_04_9620.jpg', '/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_54_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_44_10619.jpg
/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_33_9604.jpg
/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_24_10610.jpg
/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_13_9611.jpg
/home/nano/Desktop/images/12072025/08/25/image_12072025_08_26_04_9620.jpg
/home/nano/Desktop/images/12072025/08/25/image_12072025_08_25_54_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813241","1371813232","1371813234","1371813237","1371813236","1371813239"],"photo_ids_order":["1371813232","1371813234","1371813236","1371813237","1371813239","1371813241"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc87cd3dc94e32f8b9a90d53f056b7e2.jpg","text":"TemporaryFile(/tmp/multipartBody3284136912739973109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301668747,"filename":"image_12072025_08_25_54_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4273674bc1b27ce9c094a88b8dc4da3c.jpg","text":"TemporaryFile(/tmp/multipartBody6193662822831807786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301668747,"filename":"image_12072025_08_26_44_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ccee70e4e9e7692a48a5614f5453f72.jpg","text":"TemporaryFile(/tmp/multipartBody8934988918414124598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301668747,"filename":"image_12072025_08_26_33_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80d2923fbce2e010a6722289c2bfc412.jpg","text":"TemporaryFile(/tmp/multipartBody3021961844766484526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301668747,"filename":"image_12072025_08_26_13_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cccaddf0680a0000b3f4080b3f6c180e.jpg","text":"TemporaryFile(/tmp/multipartBody8128082592057889966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301668747,"filename":"image_12072025_08_26_24_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a1805d0fa321e07884e47227c0da924.jpg","text":"TemporaryFile(/tmp/multipartBody1133118692348660144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301668747,"filename":"image_12072025_08_26_04_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813236","file1":"1371813234","file0":"1371813232","file4":"1371813239","file5":"1371813241","file3":"1371813237"},"map_files_photo_id_array":[{"photo_id":"1371813241","filename":"file5"},{"photo_id":"1371813236","filename":"file2"},{"photo_id":"1371813239","filename":"file4"},{"photo_id":"1371813234","filename":"file1"},{"photo_id":"1371813232","filename":"file0"},{"photo_id":"1371813237","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813241":["hashtag1","hashtag2"]},{"1371813232":["hashtag1","hashtag2"]},{"1371813234":["hashtag1","hashtag2"]},{"1371813237":["hashtag1","hashtag2"]},{"1371813236":["hashtag1","hashtag2"]},{"1371813239":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813241, 1371813232, 1371813234, 1371813237, 1371813236, 1371813239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.341582775115967 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:27:32.682342
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_44_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_33_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_14_10685.jpg', 2), ('/home/nano/Desktop/images/12072025/08/26/image_12072025_08_27_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_54_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_44_10639.jpg', '/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_33_9625.jpg', '/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_24_9608.jpg', '/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_14_10685.jpg', '/home/nano/Desktop/images/12072025/08/26/image_12072025_08_27_03_9646.jpg', '/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_54_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_44_10639.jpg
/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_33_9625.jpg
/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_24_9608.jpg
/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_14_10685.jpg
/home/nano/Desktop/images/12072025/08/26/image_12072025_08_27_03_9646.jpg
/home/nano/Desktop/images/12072025/08/26/image_12072025_08_26_54_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813244","1371813246","1371813249","1371813251","1371813245","1371813248"],"photo_ids_order":["1371813244","1371813245","1371813246","1371813248","1371813249","1371813251"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd459928787913c594524435eebbf3f0.jpg","text":"TemporaryFile(/tmp/multipartBody4759528014158343724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301714138,"filename":"image_12072025_08_27_44_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b49d8d3de8ebfe319059bdb397869c02.jpg","text":"TemporaryFile(/tmp/multipartBody3142942543701224483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301714138,"filename":"image_12072025_08_27_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec750b39d5c43ace637469a845eb6215.jpg","text":"TemporaryFile(/tmp/multipartBody5495434170760955928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301714138,"filename":"image_12072025_08_27_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/591d8e0c56d29dad11f0a26a82b5d3cc.jpg","text":"TemporaryFile(/tmp/multipartBody2337958916160621267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301714138,"filename":"image_12072025_08_26_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad77209983ca826cf7947f426c47fd5b.jpg","text":"TemporaryFile(/tmp/multipartBody8015693817903307989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301714138,"filename":"image_12072025_08_27_33_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8910551c42e595a1cb49236c1a253575.jpg","text":"TemporaryFile(/tmp/multipartBody5929142096384458707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301714138,"filename":"image_12072025_08_27_14_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813246","file1":"1371813245","file0":"1371813244","file4":"1371813249","file5":"1371813251","file3":"1371813248"},"map_files_photo_id_array":[{"photo_id":"1371813251","filename":"file5"},{"photo_id":"1371813246","filename":"file2"},{"photo_id":"1371813249","filename":"file4"},{"photo_id":"1371813245","filename":"file1"},{"photo_id":"1371813244","filename":"file0"},{"photo_id":"1371813248","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813244":["hashtag1","hashtag2"]},{"1371813246":["hashtag1","hashtag2"]},{"1371813249":["hashtag1","hashtag2"]},{"1371813251":["hashtag1","hashtag2"]},{"1371813245":["hashtag1","hashtag2"]},{"1371813248":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813244, 1371813246, 1371813249, 1371813251, 1371813245, 1371813248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.559566974639893 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:28:16.800320
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_44_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_23_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_14_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/08/27/image_12072025_08_28_03_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_53_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_44_9613.jpg', '/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_34_10647.jpg', '/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_23_9601.jpg', '/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_14_10658.jpg', '/home/nano/Desktop/images/12072025/08/27/image_12072025_08_28_03_9614.jpg', '/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_53_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_44_9613.jpg
/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_34_10647.jpg
/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_23_9601.jpg
/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_14_10658.jpg
/home/nano/Desktop/images/12072025/08/27/image_12072025_08_28_03_9614.jpg
/home/nano/Desktop/images/12072025/08/27/image_12072025_08_27_53_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813262","1371813259","1371813258","1371813261","1371813260","1371813263"],"photo_ids_order":["1371813258","1371813259","1371813260","1371813261","1371813262","1371813263"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/273c61f768e42ae2ff3715f409b33032.jpg","text":"TemporaryFile(/tmp/multipartBody6151458603753018217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301757913,"filename":"image_12072025_08_28_03_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0da88cbf7359a8f1fd93a5599bd7928.jpg","text":"TemporaryFile(/tmp/multipartBody661765729765998977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301757913,"filename":"image_12072025_08_28_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f520f297217992b6fafd7219fcae67d.jpg","text":"TemporaryFile(/tmp/multipartBody4705129578977828909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301757913,"filename":"image_12072025_08_28_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b52ae7088009c16631fdf7eefc30cdf.jpg","text":"TemporaryFile(/tmp/multipartBody334108675588490520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301757913,"filename":"image_12072025_08_28_14_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87e8ad946b15dd8594252b9a1cd53f75.jpg","text":"TemporaryFile(/tmp/multipartBody2460897679270207166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301757913,"filename":"image_12072025_08_28_23_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33730d4b1a58c3b97167e287d7d3da8a.jpg","text":"TemporaryFile(/tmp/multipartBody4603180235177316235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301757913,"filename":"image_12072025_08_27_53_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813260","file1":"1371813259","file0":"1371813258","file4":"1371813262","file5":"1371813263","file3":"1371813261"},"map_files_photo_id_array":[{"photo_id":"1371813263","filename":"file5"},{"photo_id":"1371813260","filename":"file2"},{"photo_id":"1371813262","filename":"file4"},{"photo_id":"1371813259","filename":"file1"},{"photo_id":"1371813258","filename":"file0"},{"photo_id":"1371813261","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813262":["hashtag1","hashtag2"]},{"1371813259":["hashtag1","hashtag2"]},{"1371813258":["hashtag1","hashtag2"]},{"1371813261":["hashtag1","hashtag2"]},{"1371813260":["hashtag1","hashtag2"]},{"1371813263":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813262, 1371813259, 1371813258, 1371813261, 1371813260, 1371813263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06984567642212 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:29:02.863130
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_43_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_43_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_43_9624.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813264"],"photo_id":"1371813264","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab0a9bf9e454e12aa75714948103f536.jpg","text":"TemporaryFile(/tmp/multipartBody895470723190469857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301803501,"filename":"image_12072025_08_29_43_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371813264"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371813264"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.227615118026733 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:29:16.907271
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_34_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_23_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_13_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/08/28/image_12072025_08_29_04_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_53_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_34_10616.jpg', '/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_23_9629.jpg', '/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_13_9630.jpg', '/home/nano/Desktop/images/12072025/08/28/image_12072025_08_29_04_10633.jpg', '/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_53_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_34_10616.jpg
/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_23_9629.jpg
/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_13_9630.jpg
/home/nano/Desktop/images/12072025/08/28/image_12072025_08_29_04_10633.jpg
/home/nano/Desktop/images/12072025/08/28/image_12072025_08_28_53_9628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813271","1371813274","1371813267","1371813275","1371813266"],"photo_ids_order":["1371813266","1371813267","1371813271","1371813274","1371813275"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a108e92202a3d6553c27e2059983e21.jpg","text":"TemporaryFile(/tmp/multipartBody1761649127612327474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301817972,"filename":"image_12072025_08_29_13_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff96bf51d74d5d3a500d4dfd93d30089.jpg","text":"TemporaryFile(/tmp/multipartBody8922264228418597886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301817972,"filename":"image_12072025_08_29_04_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4030585a34ba49b617c590d8b35a4e8.jpg","text":"TemporaryFile(/tmp/multipartBody6962458081198311929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301817972,"filename":"image_12072025_08_29_23_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c946a96fb6e9228bc954ba901bcb0b61.jpg","text":"TemporaryFile(/tmp/multipartBody2952435510940643718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301817972,"filename":"image_12072025_08_28_53_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b247f5f8f2e479a5977bbe1dc1d8c39d.jpg","text":"TemporaryFile(/tmp/multipartBody417485043635681161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301817972,"filename":"image_12072025_08_29_34_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813271","file1":"1371813267","file0":"1371813266","file4":"1371813275","file3":"1371813274"},"map_files_photo_id_array":[{"photo_id":"1371813271","filename":"file2"},{"photo_id":"1371813275","filename":"file4"},{"photo_id":"1371813267","filename":"file1"},{"photo_id":"1371813266","filename":"file0"},{"photo_id":"1371813274","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813271":["hashtag1","hashtag2"]},{"1371813274":["hashtag1","hashtag2"]},{"1371813267":["hashtag1","hashtag2"]},{"1371813275":["hashtag1","hashtag2"]},{"1371813266":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813271, 1371813274, 1371813267, 1371813275, 1371813266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.587427616119385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:29:46.909163
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_34_10619.jpg', 2), ('/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_23_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_14_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/20/18/image_10072025_20_19_04_10624.jpg', 2), ('/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_53_9600.jpg', 2), ('/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_44_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_34_10619.jpg', '/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_23_9613.jpg', '/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_14_9627.jpg', '/home/nano/Desktop/images/10072025/20/18/image_10072025_20_19_04_10624.jpg', '/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_53_9600.jpg', '/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_44_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_34_10619.jpg
/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_23_9613.jpg
/home/nano/Desktop/images/10072025/20/19/image_10072025_20_19_14_9627.jpg
/home/nano/Desktop/images/10072025/20/18/image_10072025_20_19_04_10624.jpg
/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_53_9600.jpg
/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_44_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813292","1371813295","1371813297","1371813299","1371813290","1371813293"],"photo_ids_order":["1371813290","1371813292","1371813293","1371813295","1371813297","1371813299"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97855bb83b916d866015d5920d4d4984.jpg","text":"TemporaryFile(/tmp/multipartBody8461802375817255892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301849325,"filename":"image_10072025_20_19_23_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ec40e9a1bee8d3371eefc4ca56c5b60.jpg","text":"TemporaryFile(/tmp/multipartBody3865825418661628723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301849325,"filename":"image_10072025_20_19_04_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b9fdb326754dff473d04a0315d61980.jpg","text":"TemporaryFile(/tmp/multipartBody909807122841782861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301849325,"filename":"image_10072025_20_18_53_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c69846d54287792b14e5be7b19a8d97.jpg","text":"TemporaryFile(/tmp/multipartBody629829310323189791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301849325,"filename":"image_10072025_20_18_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7eb18e762a835b1d3e067111fd37d9e2.jpg","text":"TemporaryFile(/tmp/multipartBody9113634227969383914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301849325,"filename":"image_10072025_20_19_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/114585c0d13931741016c948aa29d312.jpg","text":"TemporaryFile(/tmp/multipartBody3924887374145171021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301849325,"filename":"image_10072025_20_19_14_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813293","file1":"1371813292","file0":"1371813290","file4":"1371813297","file5":"1371813299","file3":"1371813295"},"map_files_photo_id_array":[{"photo_id":"1371813299","filename":"file5"},{"photo_id":"1371813293","filename":"file2"},{"photo_id":"1371813297","filename":"file4"},{"photo_id":"1371813292","filename":"file1"},{"photo_id":"1371813290","filename":"file0"},{"photo_id":"1371813295","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371813292":["hashtag1","hashtag2"]},{"1371813295":["hashtag1","hashtag2"]},{"1371813297":["hashtag1","hashtag2"]},{"1371813299":["hashtag1","hashtag2"]},{"1371813290":["hashtag1","hashtag2"]},{"1371813293":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371813292, 1371813295, 1371813297, 1371813299, 1371813290, 1371813293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.465277433395386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:30:31.996325
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_43_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_34_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_24_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_13_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/08/29/image_12072025_08_30_04_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_54_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_43_9605.jpg', '/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_34_9628.jpg', '/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_24_10643.jpg', '/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_13_9644.jpg', '/home/nano/Desktop/images/12072025/08/29/image_12072025_08_30_04_9631.jpg', '/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_54_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_43_9605.jpg
/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_34_9628.jpg
/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_24_10643.jpg
/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_13_9644.jpg
/home/nano/Desktop/images/12072025/08/29/image_12072025_08_30_04_9631.jpg
/home/nano/Desktop/images/12072025/08/29/image_12072025_08_29_54_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813308","1371813310","1371813312","1371813303","1371813306","1371813305"],"photo_ids_order":["1371813303","1371813305","1371813306","1371813308","1371813310","1371813312"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01899573cbc109bcc22c9f0ae041b65b.jpg","text":"TemporaryFile(/tmp/multipartBody5472544175071618278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301893150,"filename":"image_12072025_08_30_13_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb9ddf163aab229863cb7d3f53539739.jpg","text":"TemporaryFile(/tmp/multipartBody5732450390863637639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301893150,"filename":"image_12072025_08_30_04_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3edfd217dc25649315d443291e83295.jpg","text":"TemporaryFile(/tmp/multipartBody7635694136042933681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301893150,"filename":"image_12072025_08_29_54_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d2cf40831472d6d39bd6b366c411bb7.jpg","text":"TemporaryFile(/tmp/multipartBody1477372585334613492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301893150,"filename":"image_12072025_08_30_43_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cff243b7d6450f4499e943c154b77823.jpg","text":"TemporaryFile(/tmp/multipartBody3708251180121099660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301893150,"filename":"image_12072025_08_30_24_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/555cba4bd7bfcc4990ab4f28e691fab7.jpg","text":"TemporaryFile(/tmp/multipartBody4948820978012596857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301893150,"filename":"image_12072025_08_30_34_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813306","file1":"1371813305","file0":"1371813303","file4":"1371813310","file5":"1371813312","file3":"1371813308"},"map_files_photo_id_array":[{"photo_id":"1371813312","filename":"file5"},{"photo_id":"1371813306","filename":"file2"},{"photo_id":"1371813310","filename":"file4"},{"photo_id":"1371813305","filename":"file1"},{"photo_id":"1371813303","filename":"file0"},{"photo_id":"1371813308","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813308":["hashtag1","hashtag2"]},{"1371813310":["hashtag1","hashtag2"]},{"1371813312":["hashtag1","hashtag2"]},{"1371813303":["hashtag1","hashtag2"]},{"1371813306":["hashtag1","hashtag2"]},{"1371813305":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813308, 1371813310, 1371813312, 1371813303, 1371813306, 1371813305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02858901023865 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:31:17.163447
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_44_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_33_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_24_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_14_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/08/30/image_12072025_08_31_03_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_54_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_44_10643.jpg', '/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_33_9613.jpg', '/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_24_9613.jpg', '/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_14_10637.jpg', '/home/nano/Desktop/images/12072025/08/30/image_12072025_08_31_03_9632.jpg', '/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_54_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_44_10643.jpg
/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_33_9613.jpg
/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_24_9613.jpg
/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_14_10637.jpg
/home/nano/Desktop/images/12072025/08/30/image_12072025_08_31_03_9632.jpg
/home/nano/Desktop/images/12072025/08/30/image_12072025_08_30_54_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813329","1371813320","1371813322","1371813316","1371813325","1371813317"],"photo_ids_order":["1371813316","1371813317","1371813320","1371813322","1371813325","1371813329"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/490e580cdda1253fdf32bd944100c523.jpg","text":"TemporaryFile(/tmp/multipartBody4475415858492642327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301938409,"filename":"image_12072025_08_30_54_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a632a2157327cc9864bc939be7f1c72.jpg","text":"TemporaryFile(/tmp/multipartBody6388289210571225218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301938409,"filename":"image_12072025_08_31_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4c1206fef091ded5b9d7a1a96158ca6.jpg","text":"TemporaryFile(/tmp/multipartBody6692006499157107592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301938409,"filename":"image_12072025_08_31_14_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/794c6bb05597cc4739fd3d23fbec54be.jpg","text":"TemporaryFile(/tmp/multipartBody6879679863848496394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301938409,"filename":"image_12072025_08_31_44_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc941a1558212eba6080afdbef7642f8.jpg","text":"TemporaryFile(/tmp/multipartBody6435224156021013348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301938409,"filename":"image_12072025_08_31_03_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd2a87e83bbbae0950fd594a7d55bc3c.jpg","text":"TemporaryFile(/tmp/multipartBody3067117307509568205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301938409,"filename":"image_12072025_08_31_33_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813320","file1":"1371813317","file0":"1371813316","file4":"1371813325","file5":"1371813329","file3":"1371813322"},"map_files_photo_id_array":[{"photo_id":"1371813329","filename":"file5"},{"photo_id":"1371813320","filename":"file2"},{"photo_id":"1371813325","filename":"file4"},{"photo_id":"1371813317","filename":"file1"},{"photo_id":"1371813316","filename":"file0"},{"photo_id":"1371813322","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813329":["hashtag1","hashtag2"]},{"1371813320":["hashtag1","hashtag2"]},{"1371813322":["hashtag1","hashtag2"]},{"1371813316":["hashtag1","hashtag2"]},{"1371813325":["hashtag1","hashtag2"]},{"1371813317":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813329, 1371813320, 1371813322, 1371813316, 1371813325, 1371813317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73119401931763 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:32:02.853543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_33_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_24_9611.jpg', 2), ('/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_14_10630.jpg', 2), ('/home/nano/Desktop/images/10072025/20/17/image_10072025_20_18_03_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_54_10620.jpg', 2), ('/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_43_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_33_9624.jpg', '/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_24_9611.jpg', '/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_14_10630.jpg', '/home/nano/Desktop/images/10072025/20/17/image_10072025_20_18_03_9615.jpg', '/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_54_10620.jpg', '/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_43_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_33_9624.jpg
/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_24_9611.jpg
/home/nano/Desktop/images/10072025/20/18/image_10072025_20_18_14_10630.jpg
/home/nano/Desktop/images/10072025/20/17/image_10072025_20_18_03_9615.jpg
/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_54_10620.jpg
/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_43_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813334","1371813333","1371813336","1371813335","1371813338","1371813332"],"photo_ids_order":["1371813332","1371813333","1371813334","1371813335","1371813336","1371813338"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c58c991df0f4d1a7685e57f3a633baea.jpg","text":"TemporaryFile(/tmp/multipartBody1357091385996207189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301985349,"filename":"image_10072025_20_18_14_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/121ba878e4bfe2237b1b7e78a2efc633.jpg","text":"TemporaryFile(/tmp/multipartBody4916762955675929007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301985349,"filename":"image_10072025_20_18_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f131147b1c70d63584b3927748f81ab.jpg","text":"TemporaryFile(/tmp/multipartBody7622600507966512954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301985349,"filename":"image_10072025_20_17_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6949c8b399525ce1128460ddaf27c731.jpg","text":"TemporaryFile(/tmp/multipartBody6996610706511203571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301985349,"filename":"image_10072025_20_18_03_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56eea28b703d0f22d621439c27eae19b.jpg","text":"TemporaryFile(/tmp/multipartBody1961023887531855700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301985349,"filename":"image_10072025_20_17_43_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e562fb05f33eb90f90506add5790f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6380327365344815495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752301985349,"filename":"image_10072025_20_18_33_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813334","file1":"1371813333","file0":"1371813332","file4":"1371813336","file5":"1371813338","file3":"1371813335"},"map_files_photo_id_array":[{"photo_id":"1371813338","filename":"file5"},{"photo_id":"1371813334","filename":"file2"},{"photo_id":"1371813336","filename":"file4"},{"photo_id":"1371813333","filename":"file1"},{"photo_id":"1371813332","filename":"file0"},{"photo_id":"1371813335","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371813334":["hashtag1","hashtag2"]},{"1371813333":["hashtag1","hashtag2"]},{"1371813336":["hashtag1","hashtag2"]},{"1371813335":["hashtag1","hashtag2"]},{"1371813338":["hashtag1","hashtag2"]},{"1371813332":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371813334, 1371813333, 1371813336, 1371813335, 1371813338, 1371813332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.922892808914185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:32:47.258832
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_44_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_34_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_23_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_14_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/08/31/image_12072025_08_32_03_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_44_9628.jpg', '/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_34_10627.jpg', '/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_23_9610.jpg', '/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_14_10649.jpg', '/home/nano/Desktop/images/12072025/08/31/image_12072025_08_32_03_9625.jpg', '/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_44_9628.jpg
/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_34_10627.jpg
/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_23_9610.jpg
/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_14_10649.jpg
/home/nano/Desktop/images/12072025/08/31/image_12072025_08_32_03_9625.jpg
/home/nano/Desktop/images/12072025/08/31/image_12072025_08_31_54_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813346","1371813349","1371813343","1371813345","1371813348","1371813347"],"photo_ids_order":["1371813343","1371813345","1371813346","1371813347","1371813348","1371813349"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32989d0cfe6cfd7c6561ada4ba7def0a.jpg","text":"TemporaryFile(/tmp/multipartBody2361843035459233399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302028522,"filename":"image_12072025_08_32_23_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a507110ff8fcf0643c8186547b616c8.jpg","text":"TemporaryFile(/tmp/multipartBody8733313525006258539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302028522,"filename":"image_12072025_08_31_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72863555ede24e8b4b09174612957750.jpg","text":"TemporaryFile(/tmp/multipartBody4569860133760653295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302028522,"filename":"image_12072025_08_32_44_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9db5f2e0127c77bb637e6cb0f2c0b4a6.jpg","text":"TemporaryFile(/tmp/multipartBody6446455156710978676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302028522,"filename":"image_12072025_08_32_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0fbefe61c0ce40313246ac5ca452d20d.jpg","text":"TemporaryFile(/tmp/multipartBody5363106000110561318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302028522,"filename":"image_12072025_08_32_03_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/648a0dd0ab0548654a1e77a66b384d9d.jpg","text":"TemporaryFile(/tmp/multipartBody2507163561508801639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302028522,"filename":"image_12072025_08_32_14_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813346","file1":"1371813345","file0":"1371813343","file4":"1371813348","file5":"1371813349","file3":"1371813347"},"map_files_photo_id_array":[{"photo_id":"1371813349","filename":"file5"},{"photo_id":"1371813346","filename":"file2"},{"photo_id":"1371813348","filename":"file4"},{"photo_id":"1371813345","filename":"file1"},{"photo_id":"1371813343","filename":"file0"},{"photo_id":"1371813347","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813346":["hashtag1","hashtag2"]},{"1371813349":["hashtag1","hashtag2"]},{"1371813343":["hashtag1","hashtag2"]},{"1371813345":["hashtag1","hashtag2"]},{"1371813348":["hashtag1","hashtag2"]},{"1371813347":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813346, 1371813349, 1371813343, 1371813345, 1371813348, 1371813347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8942551612854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:33:32.403714
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_43_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_34_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_23_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_14_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/08/32/image_12072025_08_33_04_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_53_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_43_9621.jpg', '/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_34_10626.jpg', '/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_23_9606.jpg', '/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_14_9632.jpg', '/home/nano/Desktop/images/12072025/08/32/image_12072025_08_33_04_10628.jpg', '/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_53_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_43_9621.jpg
/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_34_10626.jpg
/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_23_9606.jpg
/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_14_9632.jpg
/home/nano/Desktop/images/12072025/08/32/image_12072025_08_33_04_10628.jpg
/home/nano/Desktop/images/12072025/08/32/image_12072025_08_32_53_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813367","1371813355","1371813357","1371813362","1371813365","1371813359"],"photo_ids_order":["1371813355","1371813357","1371813359","1371813362","1371813365","1371813367"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32b5559708fdc5a559d85cf9be8a45c1.jpg","text":"TemporaryFile(/tmp/multipartBody4501884884128697447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302073863,"filename":"image_12072025_08_32_53_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b29076cc5b6fe9b17540ace29c07cae5.jpg","text":"TemporaryFile(/tmp/multipartBody5820424109007586796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302073863,"filename":"image_12072025_08_33_43_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/942af9423f5970722a4ae555ecc7b82d.jpg","text":"TemporaryFile(/tmp/multipartBody7280141597744799237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302073863,"filename":"image_12072025_08_33_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e97358df8323b0673936e95aafb92b0d.jpg","text":"TemporaryFile(/tmp/multipartBody8034225487077551692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302073863,"filename":"image_12072025_08_33_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34a55a823efe1ecf3a3fc6ae20567b47.jpg","text":"TemporaryFile(/tmp/multipartBody2806428279610657385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302073863,"filename":"image_12072025_08_33_04_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbe058e39e4626ed6b1845060c99557c.jpg","text":"TemporaryFile(/tmp/multipartBody7508210019043909622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302073863,"filename":"image_12072025_08_33_23_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813359","file1":"1371813357","file0":"1371813355","file4":"1371813365","file5":"1371813367","file3":"1371813362"},"map_files_photo_id_array":[{"photo_id":"1371813367","filename":"file5"},{"photo_id":"1371813359","filename":"file2"},{"photo_id":"1371813365","filename":"file4"},{"photo_id":"1371813357","filename":"file1"},{"photo_id":"1371813355","filename":"file0"},{"photo_id":"1371813362","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813367":["hashtag1","hashtag2"]},{"1371813355":["hashtag1","hashtag2"]},{"1371813357":["hashtag1","hashtag2"]},{"1371813362":["hashtag1","hashtag2"]},{"1371813365":["hashtag1","hashtag2"]},{"1371813359":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813367, 1371813355, 1371813357, 1371813362, 1371813365, 1371813359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80150127410889 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:34:17.501790
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_43_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_34_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_24_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_13_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/08/33/image_12072025_08_34_04_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_54_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_43_9608.jpg', '/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_34_9616.jpg', '/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_24_10640.jpg', '/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_13_9638.jpg', '/home/nano/Desktop/images/12072025/08/33/image_12072025_08_34_04_9612.jpg', '/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_54_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_43_9608.jpg
/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_34_9616.jpg
/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_24_10640.jpg
/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_13_9638.jpg
/home/nano/Desktop/images/12072025/08/33/image_12072025_08_34_04_9612.jpg
/home/nano/Desktop/images/12072025/08/33/image_12072025_08_33_54_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813373","1371813376","1371813375","1371813372","1371813374","1371813377"],"photo_ids_order":["1371813372","1371813373","1371813374","1371813375","1371813376","1371813377"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57b95921c201201263e2081518ea3530.jpg","text":"TemporaryFile(/tmp/multipartBody8918802003650072679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302119109,"filename":"image_12072025_08_34_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f47b0764fbba49af037e8b1fa1c6770.jpg","text":"TemporaryFile(/tmp/multipartBody2942644441223893471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302119109,"filename":"image_12072025_08_34_04_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fa1670af71ee1a14898db8c45349890.jpg","text":"TemporaryFile(/tmp/multipartBody114041887191770654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302119109,"filename":"image_12072025_08_34_13_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25177a74a479bd95aced1635e20ba4bd.jpg","text":"TemporaryFile(/tmp/multipartBody5032035430410544519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302119109,"filename":"image_12072025_08_34_43_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75cb9eab8b03697d812cd093e9900342.jpg","text":"TemporaryFile(/tmp/multipartBody7934666849788455649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302119109,"filename":"image_12072025_08_34_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36db57b782d7d70b828ccc1743fd9f8c.jpg","text":"TemporaryFile(/tmp/multipartBody3262607699051918854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302119109,"filename":"image_12072025_08_33_54_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813374","file1":"1371813373","file0":"1371813372","file4":"1371813376","file5":"1371813377","file3":"1371813375"},"map_files_photo_id_array":[{"photo_id":"1371813377","filename":"file5"},{"photo_id":"1371813374","filename":"file2"},{"photo_id":"1371813376","filename":"file4"},{"photo_id":"1371813373","filename":"file1"},{"photo_id":"1371813372","filename":"file0"},{"photo_id":"1371813375","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813373":["hashtag1","hashtag2"]},{"1371813376":["hashtag1","hashtag2"]},{"1371813375":["hashtag1","hashtag2"]},{"1371813372":["hashtag1","hashtag2"]},{"1371813374":["hashtag1","hashtag2"]},{"1371813377":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813373, 1371813376, 1371813375, 1371813372, 1371813374, 1371813377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.000951290130615 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:35:03.415337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_33_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_24_10612.jpg', 2), ('/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_13_9618.jpg', 2), ('/home/nano/Desktop/images/10072025/20/16/image_10072025_20_17_04_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_54_10613.jpg', 2), ('/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_43_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_33_9626.jpg', '/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_24_10612.jpg', '/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_13_9618.jpg', '/home/nano/Desktop/images/10072025/20/16/image_10072025_20_17_04_9619.jpg', '/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_54_10613.jpg', '/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_43_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_33_9626.jpg
/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_24_10612.jpg
/home/nano/Desktop/images/10072025/20/17/image_10072025_20_17_13_9618.jpg
/home/nano/Desktop/images/10072025/20/16/image_10072025_20_17_04_9619.jpg
/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_54_10613.jpg
/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_43_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813391","1371813385","1371813394","1371813387","1371813390","1371813392"],"photo_ids_order":["1371813385","1371813387","1371813390","1371813391","1371813392","1371813394"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/05d97c1e45402c36fd000f6d21b5e881.jpg","text":"TemporaryFile(/tmp/multipartBody2591997734996018648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302166075,"filename":"image_10072025_20_17_04_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6746e7ef4e024a1e3cef62e8961e1be.jpg","text":"TemporaryFile(/tmp/multipartBody1023651421619906702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302166075,"filename":"image_10072025_20_17_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a7642d750dd1307bb42d2d856677662.jpg","text":"TemporaryFile(/tmp/multipartBody6759362815153955156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302166075,"filename":"image_10072025_20_16_43_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf864631b7c01753d802201233ebf807.jpg","text":"TemporaryFile(/tmp/multipartBody3058568198649244192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302166075,"filename":"image_10072025_20_17_24_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f143ff6a1ca09cb78d6b3d9ba0a1627c.jpg","text":"TemporaryFile(/tmp/multipartBody2949790975405082918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302166075,"filename":"image_10072025_20_17_13_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e6879359caa40ca4d6b18fbb85b4b7c.jpg","text":"TemporaryFile(/tmp/multipartBody7673347621955724344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302166075,"filename":"image_10072025_20_16_54_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813390","file1":"1371813387","file0":"1371813385","file4":"1371813392","file5":"1371813394","file3":"1371813391"},"map_files_photo_id_array":[{"photo_id":"1371813394","filename":"file5"},{"photo_id":"1371813390","filename":"file2"},{"photo_id":"1371813392","filename":"file4"},{"photo_id":"1371813387","filename":"file1"},{"photo_id":"1371813385","filename":"file0"},{"photo_id":"1371813391","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371813391":["hashtag1","hashtag2"]},{"1371813385":["hashtag1","hashtag2"]},{"1371813394":["hashtag1","hashtag2"]},{"1371813387":["hashtag1","hashtag2"]},{"1371813390":["hashtag1","hashtag2"]},{"1371813392":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371813391, 1371813385, 1371813394, 1371813387, 1371813390, 1371813392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51993012428284 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:35:47.580577
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_44_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_24_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_14_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/08/34/image_12072025_08_35_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_54_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_44_10627.jpg', '/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_33_9615.jpg', '/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_24_9627.jpg', '/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_14_10644.jpg', '/home/nano/Desktop/images/12072025/08/34/image_12072025_08_35_03_9646.jpg', '/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_54_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_44_10627.jpg
/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_33_9615.jpg
/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_24_9627.jpg
/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_14_10644.jpg
/home/nano/Desktop/images/12072025/08/34/image_12072025_08_35_03_9646.jpg
/home/nano/Desktop/images/12072025/08/34/image_12072025_08_34_54_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813397","1371813400","1371813403","1371813399","1371813398","1371813402"],"photo_ids_order":["1371813397","1371813398","1371813399","1371813400","1371813402","1371813403"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28e456e2f48d1cba47dee0546be82ff8.jpg","text":"TemporaryFile(/tmp/multipartBody7736168668916440089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302208997,"filename":"image_12072025_08_35_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33889b23c347dd93555addbba59ada47.jpg","text":"TemporaryFile(/tmp/multipartBody6980642519673055523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302208997,"filename":"image_12072025_08_35_14_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4e71ff81cdd956022940170b3ac8bfe.jpg","text":"TemporaryFile(/tmp/multipartBody8108888819991041594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302208997,"filename":"image_12072025_08_34_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d194d061a5e7ced4b47883f14bf793d3.jpg","text":"TemporaryFile(/tmp/multipartBody1882379232954306304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302208997,"filename":"image_12072025_08_35_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/170b84d4aeef17b5a9a91a812448ed9f.jpg","text":"TemporaryFile(/tmp/multipartBody5785825981294750782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302208997,"filename":"image_12072025_08_35_33_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9ee918c5b49855d37d89dfc39fe54f7.jpg","text":"TemporaryFile(/tmp/multipartBody2247309568942663796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302208997,"filename":"image_12072025_08_35_03_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813399","file1":"1371813398","file0":"1371813397","file4":"1371813402","file5":"1371813403","file3":"1371813400"},"map_files_photo_id_array":[{"photo_id":"1371813403","filename":"file5"},{"photo_id":"1371813399","filename":"file2"},{"photo_id":"1371813402","filename":"file4"},{"photo_id":"1371813398","filename":"file1"},{"photo_id":"1371813397","filename":"file0"},{"photo_id":"1371813400","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813397":["hashtag1","hashtag2"]},{"1371813400":["hashtag1","hashtag2"]},{"1371813403":["hashtag1","hashtag2"]},{"1371813399":["hashtag1","hashtag2"]},{"1371813398":["hashtag1","hashtag2"]},{"1371813402":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813397, 1371813400, 1371813403, 1371813399, 1371813398, 1371813402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.971735954284668 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:36:32.707599
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_33_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_23_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_14_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/08/35/image_12072025_08_36_03_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_54_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_44_10649.jpg', '/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_33_9618.jpg', '/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_23_9608.jpg', '/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_14_10658.jpg', '/home/nano/Desktop/images/12072025/08/35/image_12072025_08_36_03_9629.jpg', '/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_54_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_44_10649.jpg
/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_33_9618.jpg
/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_23_9608.jpg
/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_14_10658.jpg
/home/nano/Desktop/images/12072025/08/35/image_12072025_08_36_03_9629.jpg
/home/nano/Desktop/images/12072025/08/35/image_12072025_08_35_54_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813413","1371813412","1371813408","1371813416","1371813419","1371813410"],"photo_ids_order":["1371813408","1371813410","1371813412","1371813413","1371813416","1371813419"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d12a859137308b2dbdd5fe5be76f2e2e.jpg","text":"TemporaryFile(/tmp/multipartBody812013932113739028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302254078,"filename":"image_12072025_08_36_14_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d37dafeadad95a5a0c9a4a5d721be5a2.jpg","text":"TemporaryFile(/tmp/multipartBody4945341183038559091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302254078,"filename":"image_12072025_08_36_23_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91abc96200d7cbdc5bfe9cdf9527eac7.jpg","text":"TemporaryFile(/tmp/multipartBody2746723756031425715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302254078,"filename":"image_12072025_08_36_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e429f8961e3e0fd06f566b3e28252f0a.jpg","text":"TemporaryFile(/tmp/multipartBody7255444325096744347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302254078,"filename":"image_12072025_08_36_03_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2494fa2723b772c2c371495fce9c236.jpg","text":"TemporaryFile(/tmp/multipartBody913316174841393800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302254078,"filename":"image_12072025_08_35_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eacd01b8a70d4c34fc49363ef82014c2.jpg","text":"TemporaryFile(/tmp/multipartBody8457749423765596735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302254078,"filename":"image_12072025_08_36_33_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813412","file1":"1371813410","file0":"1371813408","file4":"1371813416","file5":"1371813419","file3":"1371813413"},"map_files_photo_id_array":[{"photo_id":"1371813419","filename":"file5"},{"photo_id":"1371813412","filename":"file2"},{"photo_id":"1371813416","filename":"file4"},{"photo_id":"1371813410","filename":"file1"},{"photo_id":"1371813408","filename":"file0"},{"photo_id":"1371813413","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813413":["hashtag1","hashtag2"]},{"1371813412":["hashtag1","hashtag2"]},{"1371813408":["hashtag1","hashtag2"]},{"1371813416":["hashtag1","hashtag2"]},{"1371813419":["hashtag1","hashtag2"]},{"1371813410":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813413, 1371813412, 1371813408, 1371813416, 1371813419, 1371813410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.970265865325928 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:37:16.742952
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_43_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_34_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_23_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/08/36/image_12072025_08_37_04_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_53_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_43_9624.jpg', '/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_34_10637.jpg', '/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_23_9617.jpg', '/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_14_9631.jpg', '/home/nano/Desktop/images/12072025/08/36/image_12072025_08_37_04_10629.jpg', '/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_53_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_43_9624.jpg
/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_34_10637.jpg
/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_23_9617.jpg
/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_14_9631.jpg
/home/nano/Desktop/images/12072025/08/36/image_12072025_08_37_04_10629.jpg
/home/nano/Desktop/images/12072025/08/36/image_12072025_08_36_53_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813428","1371813421","1371813424","1371813426","1371813420","1371813423"],"photo_ids_order":["1371813420","1371813421","1371813423","1371813424","1371813426","1371813428"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cff5c1aba8adfc9722f11d2fb909a483.jpg","text":"TemporaryFile(/tmp/multipartBody4972440189909075836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302297838,"filename":"image_12072025_08_36_53_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50af8be173ae825ad5fb0e9566fab76e.jpg","text":"TemporaryFile(/tmp/multipartBody4128708766507493733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302297838,"filename":"image_12072025_08_37_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20df8231f7b889024f599c0c06691b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5579770028549723543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302297838,"filename":"image_12072025_08_37_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed3b2dbfdfb28b003c6310d807062503.jpg","text":"TemporaryFile(/tmp/multipartBody390155369529560970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302297838,"filename":"image_12072025_08_37_04_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2df216929c5bfb79018e0545ae3e5bd9.jpg","text":"TemporaryFile(/tmp/multipartBody2266580957098267006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302297838,"filename":"image_12072025_08_37_43_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6830f481b8862294b6c23c6e222c1a11.jpg","text":"TemporaryFile(/tmp/multipartBody8145315571927051862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302297838,"filename":"image_12072025_08_37_23_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813423","file1":"1371813421","file0":"1371813420","file4":"1371813426","file5":"1371813428","file3":"1371813424"},"map_files_photo_id_array":[{"photo_id":"1371813428","filename":"file5"},{"photo_id":"1371813423","filename":"file2"},{"photo_id":"1371813426","filename":"file4"},{"photo_id":"1371813421","filename":"file1"},{"photo_id":"1371813420","filename":"file0"},{"photo_id":"1371813424","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813428":["hashtag1","hashtag2"]},{"1371813421":["hashtag1","hashtag2"]},{"1371813424":["hashtag1","hashtag2"]},{"1371813426":["hashtag1","hashtag2"]},{"1371813420":["hashtag1","hashtag2"]},{"1371813423":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813428, 1371813421, 1371813424, 1371813426, 1371813420, 1371813423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.369759559631348 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:38:02.444134
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_54_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_54_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_54_10632.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813481"],"photo_id":"1371813481","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c204ca91d62094c936eb1bab6fecc8c.jpg","text":"TemporaryFile(/tmp/multipartBody7632457543386345108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302342907,"filename":"image_12072025_08_38_54_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371813481"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371813481"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.464443445205688 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:38:16.862846
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_34_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_24_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_13_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/08/37/image_12072025_08_38_04_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_53_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_34_9612.jpg', '/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_24_10632.jpg', '/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_13_9662.jpg', '/home/nano/Desktop/images/12072025/08/37/image_12072025_08_38_04_10640.jpg', '/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_53_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_34_9612.jpg
/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_24_10632.jpg
/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_13_9662.jpg
/home/nano/Desktop/images/12072025/08/37/image_12072025_08_38_04_10640.jpg
/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_53_9610.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8811686038970947 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:38:31.868133
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_34_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_24_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_13_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/08/37/image_12072025_08_38_04_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_53_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_34_9612.jpg', '/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_24_10632.jpg', '/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_13_9662.jpg', '/home/nano/Desktop/images/12072025/08/37/image_12072025_08_38_04_10640.jpg', '/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_53_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_34_9612.jpg
/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_24_10632.jpg
/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_13_9662.jpg
/home/nano/Desktop/images/12072025/08/37/image_12072025_08_38_04_10640.jpg
/home/nano/Desktop/images/12072025/08/37/image_12072025_08_37_53_9610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813725","1371813677","1371813779","1371813755","1371813701"],"photo_ids_order":["1371813677","1371813701","1371813725","1371813755","1371813779"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11809dc8f6793b33b92b0504597e8edd.jpg","text":"TemporaryFile(/tmp/multipartBody5592221154081748177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302373101,"filename":"image_12072025_08_38_13_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0dd91aa560739f6e91bfbab8badbce71.jpg","text":"TemporaryFile(/tmp/multipartBody4454540079682610081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302373101,"filename":"image_12072025_08_38_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0a1b54a83688b4b28e7fafb58f4a489.jpg","text":"TemporaryFile(/tmp/multipartBody8881755672375815509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302373101,"filename":"image_12072025_08_37_53_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4bff48a603fc17fcf5a4598bb7c72d4.jpg","text":"TemporaryFile(/tmp/multipartBody482224833616340519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302373101,"filename":"image_12072025_08_38_04_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70c685ee5982cb79a3e8dd105a1512b9.jpg","text":"TemporaryFile(/tmp/multipartBody6509043796895154774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302373101,"filename":"image_12072025_08_38_24_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813725","file1":"1371813701","file0":"1371813677","file4":"1371813779","file3":"1371813755"},"map_files_photo_id_array":[{"photo_id":"1371813725","filename":"file2"},{"photo_id":"1371813779","filename":"file4"},{"photo_id":"1371813701","filename":"file1"},{"photo_id":"1371813677","filename":"file0"},{"photo_id":"1371813755","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371813725":["hashtag1","hashtag2"]},{"1371813677":["hashtag1","hashtag2"]},{"1371813779":["hashtag1","hashtag2"]},{"1371813755":["hashtag1","hashtag2"]},{"1371813701":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371813725, 1371813677, 1371813779, 1371813755, 1371813701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.23324155807495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:39:02.863047
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_34_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_23_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_13_9676.jpg', 2), ('/home/nano/Desktop/images/10072025/20/15/image_10072025_20_16_04_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_53_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_43_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_34_10655.jpg', '/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_23_9641.jpg', '/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_13_9676.jpg', '/home/nano/Desktop/images/10072025/20/15/image_10072025_20_16_04_10657.jpg', '/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_53_9655.jpg', '/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_43_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_34_10655.jpg
/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_23_9641.jpg
/home/nano/Desktop/images/10072025/20/16/image_10072025_20_16_13_9676.jpg
/home/nano/Desktop/images/10072025/20/15/image_10072025_20_16_04_10657.jpg
/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_53_9655.jpg
/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_43_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371813902","1371813976","1371813928","1371813879","1371813951","1371814005"],"photo_ids_order":["1371813879","1371813902","1371813928","1371813951","1371813976","1371814005"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a513c02f5960e25bf8cf2a314bb6af22.jpg","text":"TemporaryFile(/tmp/multipartBody8107029831969566628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302405554,"filename":"image_10072025_20_16_23_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e82a6e19fa25719e805df3b062f502f3.jpg","text":"TemporaryFile(/tmp/multipartBody7573150191850419688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302405554,"filename":"image_10072025_20_15_53_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/020f8b0a94298c4f70ec6beecd33b7a2.jpg","text":"TemporaryFile(/tmp/multipartBody8081303694301672194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302405554,"filename":"image_10072025_20_16_13_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5d22e0c78e8d93db59615e9c1e80233.jpg","text":"TemporaryFile(/tmp/multipartBody1750411160421862113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302405554,"filename":"image_10072025_20_16_34_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4bfc0053949b708232a8b289eb0b03b.jpg","text":"TemporaryFile(/tmp/multipartBody2330658964871960499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302405554,"filename":"image_10072025_20_16_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53e3cabd2b1e2685568f2968690be3a8.jpg","text":"TemporaryFile(/tmp/multipartBody272879882281089191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302405554,"filename":"image_10072025_20_15_43_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371813928","file1":"1371813902","file0":"1371813879","file4":"1371813976","file5":"1371814005","file3":"1371813951"},"map_files_photo_id_array":[{"photo_id":"1371814005","filename":"file5"},{"photo_id":"1371813928","filename":"file2"},{"photo_id":"1371813976","filename":"file4"},{"photo_id":"1371813902","filename":"file1"},{"photo_id":"1371813879","filename":"file0"},{"photo_id":"1371813951","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371813902":["hashtag1","hashtag2"]},{"1371813976":["hashtag1","hashtag2"]},{"1371813928":["hashtag1","hashtag2"]},{"1371813879":["hashtag1","hashtag2"]},{"1371813951":["hashtag1","hashtag2"]},{"1371814005":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371813902, 1371813976, 1371813928, 1371813879, 1371813951, 1371814005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09552240371704 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:39:46.978318
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_44_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_33_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_24_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_13_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/08/38/image_12072025_08_39_03_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_43_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_44_10629.jpg', '/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_33_9620.jpg', '/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_24_10643.jpg', '/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_13_9635.jpg', '/home/nano/Desktop/images/12072025/08/38/image_12072025_08_39_03_9621.jpg', '/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_43_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_44_10629.jpg
/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_33_9620.jpg
/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_24_10643.jpg
/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_13_9635.jpg
/home/nano/Desktop/images/12072025/08/38/image_12072025_08_39_03_9621.jpg
/home/nano/Desktop/images/12072025/08/38/image_12072025_08_38_43_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371814168","1371814249","1371814303","1371814274","1371814196","1371814223"],"photo_ids_order":["1371814168","1371814196","1371814223","1371814249","1371814274","1371814303"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2afe4d02bfd5f2084dcdbc45f9b2e00c.jpg","text":"TemporaryFile(/tmp/multipartBody6659227154865911568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302448300,"filename":"image_12072025_08_39_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b431c5e805261140afd6f298d1b38f82.jpg","text":"TemporaryFile(/tmp/multipartBody7750146795967149725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302448300,"filename":"image_12072025_08_39_13_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76a2750a116a8339747f00e51bfcc367.jpg","text":"TemporaryFile(/tmp/multipartBody7848011816386472777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302448300,"filename":"image_12072025_08_38_43_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5209a313a19e0e44d5ae42d95643068.jpg","text":"TemporaryFile(/tmp/multipartBody8435801727476048643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302448300,"filename":"image_12072025_08_39_03_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b06775c4b298140573aa0a928a5afb8.jpg","text":"TemporaryFile(/tmp/multipartBody3552240304138032488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302448300,"filename":"image_12072025_08_39_33_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba80c12ec225bc32403a5c45a44c6c0b.jpg","text":"TemporaryFile(/tmp/multipartBody4388697756629922633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302448300,"filename":"image_12072025_08_39_24_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371814223","file1":"1371814196","file0":"1371814168","file4":"1371814274","file5":"1371814303","file3":"1371814249"},"map_files_photo_id_array":[{"photo_id":"1371814303","filename":"file5"},{"photo_id":"1371814223","filename":"file2"},{"photo_id":"1371814274","filename":"file4"},{"photo_id":"1371814196","filename":"file1"},{"photo_id":"1371814168","filename":"file0"},{"photo_id":"1371814249","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371814168":["hashtag1","hashtag2"]},{"1371814249":["hashtag1","hashtag2"]},{"1371814303":["hashtag1","hashtag2"]},{"1371814274":["hashtag1","hashtag2"]},{"1371814196":["hashtag1","hashtag2"]},{"1371814223":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371814168, 1371814249, 1371814303, 1371814274, 1371814196, 1371814223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.109853982925415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:40:32.168561
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_33_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_24_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_14_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/08/39/image_12072025_08_40_03_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_44_10648.jpg', '/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_33_9627.jpg', '/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_24_9632.jpg', '/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_14_10657.jpg', '/home/nano/Desktop/images/12072025/08/39/image_12072025_08_40_03_9630.jpg', '/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_44_10648.jpg
/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_33_9627.jpg
/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_24_9632.jpg
/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_14_10657.jpg
/home/nano/Desktop/images/12072025/08/39/image_12072025_08_40_03_9630.jpg
/home/nano/Desktop/images/12072025/08/39/image_12072025_08_39_54_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371814590","1371814566","1371814539","1371814457","1371814486","1371814511"],"photo_ids_order":["1371814457","1371814486","1371814511","1371814539","1371814566","1371814590"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1b1538721dd92c9ca783626fb237640.jpg","text":"TemporaryFile(/tmp/multipartBody5144837612585267243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302493676,"filename":"image_12072025_08_39_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e0e2ad3c56f16c04386171f7615f3b0.jpg","text":"TemporaryFile(/tmp/multipartBody7210810666815484366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302493676,"filename":"image_12072025_08_40_03_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2e3117edf2cdcc0bdc7f2abf1c47068.jpg","text":"TemporaryFile(/tmp/multipartBody4316422419818515765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302493676,"filename":"image_12072025_08_40_14_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f718b8b5ed850c5a85fc91974666ec33.jpg","text":"TemporaryFile(/tmp/multipartBody544915524481815704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302493676,"filename":"image_12072025_08_40_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0f44a03f6e502c8e31ea93ed2bec51b.jpg","text":"TemporaryFile(/tmp/multipartBody3938024419419487720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302493676,"filename":"image_12072025_08_40_33_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2818a754fffab9304a2c521126a83adf.jpg","text":"TemporaryFile(/tmp/multipartBody4376131314764069464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302493676,"filename":"image_12072025_08_40_24_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371814511","file1":"1371814486","file0":"1371814457","file4":"1371814566","file5":"1371814590","file3":"1371814539"},"map_files_photo_id_array":[{"photo_id":"1371814590","filename":"file5"},{"photo_id":"1371814511","filename":"file2"},{"photo_id":"1371814566","filename":"file4"},{"photo_id":"1371814486","filename":"file1"},{"photo_id":"1371814457","filename":"file0"},{"photo_id":"1371814539","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371814590":["hashtag1","hashtag2"]},{"1371814566":["hashtag1","hashtag2"]},{"1371814539":["hashtag1","hashtag2"]},{"1371814457":["hashtag1","hashtag2"]},{"1371814486":["hashtag1","hashtag2"]},{"1371814511":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371814590, 1371814566, 1371814539, 1371814457, 1371814486, 1371814511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.595324754714966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:41:17.193872
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_44_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_34_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_23_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_14_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/08/40/image_12072025_08_41_03_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_53_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_44_9611.jpg', '/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_34_10628.jpg', '/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_23_9611.jpg', '/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_14_10647.jpg', '/home/nano/Desktop/images/12072025/08/40/image_12072025_08_41_03_9619.jpg', '/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_53_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_44_9611.jpg
/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_34_10628.jpg
/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_23_9611.jpg
/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_14_10647.jpg
/home/nano/Desktop/images/12072025/08/40/image_12072025_08_41_03_9619.jpg
/home/nano/Desktop/images/12072025/08/40/image_12072025_08_40_53_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371814828","1371814992","1371814875","1371814776","1371815069","1371814751"],"photo_ids_order":["1371814751","1371814776","1371814828","1371814875","1371814992","1371815069"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/324f5cbdee536a504bd22dba8594cd8e.jpg","text":"TemporaryFile(/tmp/multipartBody4551628243941624484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302538493,"filename":"image_12072025_08_41_23_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e80936b84d4ad1a36028adad891938d.jpg","text":"TemporaryFile(/tmp/multipartBody316059309911770511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302538493,"filename":"image_12072025_08_41_03_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a98422866702144d9616e6cfe907f4a9.jpg","text":"TemporaryFile(/tmp/multipartBody2363194754089066107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302538493,"filename":"image_12072025_08_41_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5b439e8291960aa699eb85b5d94ffcb.jpg","text":"TemporaryFile(/tmp/multipartBody5187965970865805349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302538493,"filename":"image_12072025_08_41_34_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9054e7a56ae8dd952f12a9619e884957.jpg","text":"TemporaryFile(/tmp/multipartBody6817944745109318847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302538493,"filename":"image_12072025_08_40_53_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/69c2f07f31dbb87595fdc7e794ac356f.jpg","text":"TemporaryFile(/tmp/multipartBody1967434814919292093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302538493,"filename":"image_12072025_08_41_44_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371814828","file1":"1371814776","file0":"1371814751","file4":"1371814992","file5":"1371815069","file3":"1371814875"},"map_files_photo_id_array":[{"photo_id":"1371815069","filename":"file5"},{"photo_id":"1371814828","filename":"file2"},{"photo_id":"1371814992","filename":"file4"},{"photo_id":"1371814776","filename":"file1"},{"photo_id":"1371814751","filename":"file0"},{"photo_id":"1371814875","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371814828":["hashtag1","hashtag2"]},{"1371814992":["hashtag1","hashtag2"]},{"1371814875":["hashtag1","hashtag2"]},{"1371814776":["hashtag1","hashtag2"]},{"1371815069":["hashtag1","hashtag2"]},{"1371814751":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371814828, 1371814992, 1371814875, 1371814776, 1371815069, 1371814751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39249324798584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:42:02.898460
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_34_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_23_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_14_9690.jpg', 2), ('/home/nano/Desktop/images/10072025/20/14/image_10072025_20_15_04_10667.jpg', 2), ('/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_53_9618.jpg', 2), ('/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_44_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_34_10633.jpg', '/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_23_9637.jpg', '/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_14_9690.jpg', '/home/nano/Desktop/images/10072025/20/14/image_10072025_20_15_04_10667.jpg', '/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_53_9618.jpg', '/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_44_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_34_10633.jpg
/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_23_9637.jpg
/home/nano/Desktop/images/10072025/20/15/image_10072025_20_15_14_9690.jpg
/home/nano/Desktop/images/10072025/20/14/image_10072025_20_15_04_10667.jpg
/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_53_9618.jpg
/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_44_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371815558","1371815507","1371815392","1371815467","1371815443","1371815416"],"photo_ids_order":["1371815392","1371815416","1371815443","1371815467","1371815507","1371815558"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/308fb1a23019ad174acbee88a0c6891b.jpg","text":"TemporaryFile(/tmp/multipartBody7076769759861219926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302585568,"filename":"image_10072025_20_14_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a24ddb0ba982ec6821848fbc52b1bb3.jpg","text":"TemporaryFile(/tmp/multipartBody917566299905733113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302585568,"filename":"image_10072025_20_14_53_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d150c2a3d35077e81f7200b3de6c2f53.jpg","text":"TemporaryFile(/tmp/multipartBody4066299441678379354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302585568,"filename":"image_10072025_20_15_34_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4de4f2eb475bd1c472517539cd42ebe4.jpg","text":"TemporaryFile(/tmp/multipartBody1923465310537461337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302585568,"filename":"image_10072025_20_15_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a301a519e209ce49e7a49658209bb63.jpg","text":"TemporaryFile(/tmp/multipartBody96508527777661407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302585568,"filename":"image_10072025_20_15_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a4a7e8b1feeefd22facb072bbe81579.jpg","text":"TemporaryFile(/tmp/multipartBody2664268936711283166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302585568,"filename":"image_10072025_20_15_23_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371815443","file1":"1371815416","file0":"1371815392","file4":"1371815507","file5":"1371815558","file3":"1371815467"},"map_files_photo_id_array":[{"photo_id":"1371815558","filename":"file5"},{"photo_id":"1371815443","filename":"file2"},{"photo_id":"1371815507","filename":"file4"},{"photo_id":"1371815416","filename":"file1"},{"photo_id":"1371815392","filename":"file0"},{"photo_id":"1371815467","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371815558":["hashtag1","hashtag2"]},{"1371815507":["hashtag1","hashtag2"]},{"1371815392":["hashtag1","hashtag2"]},{"1371815467":["hashtag1","hashtag2"]},{"1371815443":["hashtag1","hashtag2"]},{"1371815416":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371815558, 1371815507, 1371815392, 1371815467, 1371815443, 1371815416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.227017879486084 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:42:47.303753
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_43_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_34_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_24_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_13_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/08/41/image_12072025_08_42_04_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_53_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_43_9609.jpg', '/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_34_9622.jpg', '/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_24_10612.jpg', '/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_13_9623.jpg', '/home/nano/Desktop/images/12072025/08/41/image_12072025_08_42_04_10618.jpg', '/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_53_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_43_9609.jpg
/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_34_9622.jpg
/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_24_10612.jpg
/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_13_9623.jpg
/home/nano/Desktop/images/12072025/08/41/image_12072025_08_42_04_10618.jpg
/home/nano/Desktop/images/12072025/08/41/image_12072025_08_41_53_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371815902","1371815853","1371815789","1371815816","1371815974","1371816045"],"photo_ids_order":["1371815789","1371815816","1371815853","1371815902","1371815974","1371816045"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c88de7f1703800ad9c3555fec81e4759.jpg","text":"TemporaryFile(/tmp/multipartBody5804341733082047394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302628663,"filename":"image_12072025_08_42_13_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73136552321458ece3f0a0e387be8575.jpg","text":"TemporaryFile(/tmp/multipartBody5432763174410068538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302628663,"filename":"image_12072025_08_42_24_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c83f7fd711ed1358fec44ea5a64f8f14.jpg","text":"TemporaryFile(/tmp/multipartBody6160295672479104485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302628663,"filename":"image_12072025_08_42_43_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85598e3bbeaa3ba8a753be74a344ce8f.jpg","text":"TemporaryFile(/tmp/multipartBody3365326679563511896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302628663,"filename":"image_12072025_08_42_34_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46c2e3cae4f6c983ad42e01fe74c75b5.jpg","text":"TemporaryFile(/tmp/multipartBody1245990021016359612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302628663,"filename":"image_12072025_08_42_04_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/407afb5acdd548c6c92136c858738c0d.jpg","text":"TemporaryFile(/tmp/multipartBody8343307710497779471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302628663,"filename":"image_12072025_08_41_53_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371815853","file1":"1371815816","file0":"1371815789","file4":"1371815974","file5":"1371816045","file3":"1371815902"},"map_files_photo_id_array":[{"photo_id":"1371816045","filename":"file5"},{"photo_id":"1371815853","filename":"file2"},{"photo_id":"1371815974","filename":"file4"},{"photo_id":"1371815816","filename":"file1"},{"photo_id":"1371815789","filename":"file0"},{"photo_id":"1371815902","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371815902":["hashtag1","hashtag2"]},{"1371815853":["hashtag1","hashtag2"]},{"1371815789":["hashtag1","hashtag2"]},{"1371815816":["hashtag1","hashtag2"]},{"1371815974":["hashtag1","hashtag2"]},{"1371816045":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371815902, 1371815853, 1371815789, 1371815816, 1371815974, 1371816045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.646352767944336 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:43:32.432883
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_44_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_33_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_24_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_13_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/08/42/image_12072025_08_43_04_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_54_10609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_44_10625.jpg', '/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_33_9613.jpg', '/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_24_10635.jpg', '/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_13_9643.jpg', '/home/nano/Desktop/images/12072025/08/42/image_12072025_08_43_04_9627.jpg', '/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_54_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_44_10625.jpg
/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_33_9613.jpg
/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_24_10635.jpg
/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_13_9643.jpg
/home/nano/Desktop/images/12072025/08/42/image_12072025_08_43_04_9627.jpg
/home/nano/Desktop/images/12072025/08/42/image_12072025_08_42_54_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371816785","1371816475","1371816835","1371816646","1371816721","1371816555"],"photo_ids_order":["1371816475","1371816555","1371816646","1371816721","1371816785","1371816835"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6d483fc8bbd65836674e15809a86b29.jpg","text":"TemporaryFile(/tmp/multipartBody1205058822063277912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302673954,"filename":"image_12072025_08_43_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45455a117be5dc56789c3f0d60bcec49.jpg","text":"TemporaryFile(/tmp/multipartBody3439219714825042723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302673954,"filename":"image_12072025_08_43_44_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba4f396ea3e0d302febbcbe9908050fc.jpg","text":"TemporaryFile(/tmp/multipartBody3590157713255443945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302673954,"filename":"image_12072025_08_42_54_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ead66a9888c894df71ff3ce1c6b203a.jpg","text":"TemporaryFile(/tmp/multipartBody8155858577135965211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302673954,"filename":"image_12072025_08_43_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c524df51df8835d5a8e6df596216b55.jpg","text":"TemporaryFile(/tmp/multipartBody3828228297163073542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302673954,"filename":"image_12072025_08_43_13_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9e50b4ed66ef35afbab5ecca18f3357.jpg","text":"TemporaryFile(/tmp/multipartBody8520858003441504811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302673954,"filename":"image_12072025_08_43_33_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371816646","file1":"1371816555","file0":"1371816475","file4":"1371816785","file5":"1371816835","file3":"1371816721"},"map_files_photo_id_array":[{"photo_id":"1371816835","filename":"file5"},{"photo_id":"1371816646","filename":"file2"},{"photo_id":"1371816785","filename":"file4"},{"photo_id":"1371816555","filename":"file1"},{"photo_id":"1371816475","filename":"file0"},{"photo_id":"1371816721","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371816785":["hashtag1","hashtag2"]},{"1371816475":["hashtag1","hashtag2"]},{"1371816835":["hashtag1","hashtag2"]},{"1371816646":["hashtag1","hashtag2"]},{"1371816721":["hashtag1","hashtag2"]},{"1371816555":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371816785, 1371816475, 1371816835, 1371816646, 1371816721, 1371816555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50540566444397 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:44:17.518616
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_44_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_33_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_24_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_14_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/08/43/image_12072025_08_44_03_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_54_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_44_10670.jpg', '/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_33_9624.jpg', '/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_24_9629.jpg', '/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_14_10653.jpg', '/home/nano/Desktop/images/12072025/08/43/image_12072025_08_44_03_9647.jpg', '/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_54_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_44_10670.jpg
/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_33_9624.jpg
/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_24_9629.jpg
/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_14_10653.jpg
/home/nano/Desktop/images/12072025/08/43/image_12072025_08_44_03_9647.jpg
/home/nano/Desktop/images/12072025/08/43/image_12072025_08_43_54_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371817221","1371817271","1371817451","1371817396","1371817476","1371817323"],"photo_ids_order":["1371817221","1371817271","1371817323","1371817396","1371817451","1371817476"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f44fb0d242f695764a7272e737e00c57.jpg","text":"TemporaryFile(/tmp/multipartBody7568047695534242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302719985,"filename":"image_12072025_08_44_44_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39102296cfaf2088bbb26e488ee28de7.jpg","text":"TemporaryFile(/tmp/multipartBody2566666866047512627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302719985,"filename":"image_12072025_08_44_33_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e15d914c40b11ebf88a0b4a75eeb0e37.jpg","text":"TemporaryFile(/tmp/multipartBody3395624731735866405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302719985,"filename":"image_12072025_08_44_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/917fbc95ea783d26122a304af270e421.jpg","text":"TemporaryFile(/tmp/multipartBody6352080887861393669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302719985,"filename":"image_12072025_08_44_14_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/366304db19071b727dfe7bb92b05c643.jpg","text":"TemporaryFile(/tmp/multipartBody2847827361931457215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302719985,"filename":"image_12072025_08_43_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a6c01f5066a94c22ce908c57773871f.jpg","text":"TemporaryFile(/tmp/multipartBody4021248422872830456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302719985,"filename":"image_12072025_08_44_24_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371817323","file1":"1371817271","file0":"1371817221","file4":"1371817451","file5":"1371817476","file3":"1371817396"},"map_files_photo_id_array":[{"photo_id":"1371817476","filename":"file5"},{"photo_id":"1371817323","filename":"file2"},{"photo_id":"1371817451","filename":"file4"},{"photo_id":"1371817271","filename":"file1"},{"photo_id":"1371817221","filename":"file0"},{"photo_id":"1371817396","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371817221":["hashtag1","hashtag2"]},{"1371817271":["hashtag1","hashtag2"]},{"1371817451":["hashtag1","hashtag2"]},{"1371817396":["hashtag1","hashtag2"]},{"1371817476":["hashtag1","hashtag2"]},{"1371817323":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371817221, 1371817271, 1371817451, 1371817396, 1371817476, 1371817323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.660964488983154 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:45:03.317647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_34_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_23_9720.jpg', 2), ('/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_14_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/20/13/image_10072025_20_14_04_10671.jpg', 2), ('/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_53_9660.jpg', 2), ('/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_44_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_34_10632.jpg', '/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_23_9720.jpg', '/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_14_9657.jpg', '/home/nano/Desktop/images/10072025/20/13/image_10072025_20_14_04_10671.jpg', '/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_53_9660.jpg', '/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_44_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_34_10632.jpg
/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_23_9720.jpg
/home/nano/Desktop/images/10072025/20/14/image_10072025_20_14_14_9657.jpg
/home/nano/Desktop/images/10072025/20/13/image_10072025_20_14_04_10671.jpg
/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_53_9660.jpg
/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_44_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371817710","1371817704","1371817694","1371817706","1371817669","1371817707"],"photo_ids_order":["1371817669","1371817694","1371817704","1371817706","1371817707","1371817710"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8305682a4ba62b28a4644478859a0a4.jpg","text":"TemporaryFile(/tmp/multipartBody3295219631307651521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302765995,"filename":"image_10072025_20_13_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f011a991060784a9ad6e5d1d175d2e30.jpg","text":"TemporaryFile(/tmp/multipartBody2038177933279726036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302765995,"filename":"image_10072025_20_14_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12d62500cde34e8b50d46582ab50cb05.jpg","text":"TemporaryFile(/tmp/multipartBody1113356798143158386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302765995,"filename":"image_10072025_20_14_23_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d77b11ca029e1a85283af09a993522f7.jpg","text":"TemporaryFile(/tmp/multipartBody794500564502144294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302765995,"filename":"image_10072025_20_14_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2986e88da0aa1f42799a1e8a091ed406.jpg","text":"TemporaryFile(/tmp/multipartBody4257327928170119780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302765995,"filename":"image_10072025_20_14_34_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a71d738e9df3222dce785efd92202525.jpg","text":"TemporaryFile(/tmp/multipartBody1700020763569576406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302765995,"filename":"image_10072025_20_13_53_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371817704","file1":"1371817694","file0":"1371817669","file4":"1371817707","file5":"1371817710","file3":"1371817706"},"map_files_photo_id_array":[{"photo_id":"1371817710","filename":"file5"},{"photo_id":"1371817704","filename":"file2"},{"photo_id":"1371817707","filename":"file4"},{"photo_id":"1371817694","filename":"file1"},{"photo_id":"1371817669","filename":"file0"},{"photo_id":"1371817706","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371817710":["hashtag1","hashtag2"]},{"1371817704":["hashtag1","hashtag2"]},{"1371817694":["hashtag1","hashtag2"]},{"1371817706":["hashtag1","hashtag2"]},{"1371817669":["hashtag1","hashtag2"]},{"1371817707":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371817710, 1371817704, 1371817694, 1371817706, 1371817669, 1371817707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.269665479660034 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:45:47.659419
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_44_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_34_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_23_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_14_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/08/44/image_12072025_08_45_03_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_53_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_44_9622.jpg', '/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_34_10625.jpg', '/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_23_9643.jpg', '/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_14_10656.jpg', '/home/nano/Desktop/images/12072025/08/44/image_12072025_08_45_03_9641.jpg', '/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_53_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_44_9622.jpg
/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_34_10625.jpg
/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_23_9643.jpg
/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_14_10656.jpg
/home/nano/Desktop/images/12072025/08/44/image_12072025_08_45_03_9641.jpg
/home/nano/Desktop/images/12072025/08/44/image_12072025_08_44_53_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371818048","1371817902","1371818194","1371818134","1371817980","1371818171"],"photo_ids_order":["1371817902","1371817980","1371818048","1371818134","1371818171","1371818194"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6a5a1088dfbf51503e7ff41913b9775.jpg","text":"TemporaryFile(/tmp/multipartBody4958457412090808812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302809187,"filename":"image_12072025_08_45_23_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ba3a9fd410f697c94e5d8cf2e9994ce.jpg","text":"TemporaryFile(/tmp/multipartBody8432241793616780023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302809187,"filename":"image_12072025_08_45_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ebd3ca17b052dba259c2f990c81e0e6d.jpg","text":"TemporaryFile(/tmp/multipartBody9180581815506620699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302809187,"filename":"image_12072025_08_44_53_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d770583bab91ee528575865c3be2d8fe.jpg","text":"TemporaryFile(/tmp/multipartBody8940752122825078984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302809187,"filename":"image_12072025_08_45_14_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b8aac31d9343d93694b7ed735eb1d08.jpg","text":"TemporaryFile(/tmp/multipartBody7834734725664784849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302809187,"filename":"image_12072025_08_45_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95c4e7cdf6d0bb6be943f8505c2aa75d.jpg","text":"TemporaryFile(/tmp/multipartBody3611968609906855240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302809187,"filename":"image_12072025_08_45_03_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371818048","file1":"1371817980","file0":"1371817902","file4":"1371818171","file5":"1371818194","file3":"1371818134"},"map_files_photo_id_array":[{"photo_id":"1371818194","filename":"file5"},{"photo_id":"1371818048","filename":"file2"},{"photo_id":"1371818171","filename":"file4"},{"photo_id":"1371817980","filename":"file1"},{"photo_id":"1371817902","filename":"file0"},{"photo_id":"1371818134","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371818048":["hashtag1","hashtag2"]},{"1371817902":["hashtag1","hashtag2"]},{"1371818194":["hashtag1","hashtag2"]},{"1371818134":["hashtag1","hashtag2"]},{"1371817980":["hashtag1","hashtag2"]},{"1371818171":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371818048, 1371817902, 1371818194, 1371818134, 1371817980, 1371818171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55415153503418 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:46:31.778739
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_44_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_34_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_23_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_14_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/08/45/image_12072025_08_46_04_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_53_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_44_9625.jpg', '/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_34_10644.jpg', '/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_23_9627.jpg', '/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_14_9652.jpg', '/home/nano/Desktop/images/12072025/08/45/image_12072025_08_46_04_10665.jpg', '/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_53_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_44_9625.jpg
/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_34_10644.jpg
/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_23_9627.jpg
/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_14_9652.jpg
/home/nano/Desktop/images/12072025/08/45/image_12072025_08_46_04_10665.jpg
/home/nano/Desktop/images/12072025/08/45/image_12072025_08_45_53_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371818618","1371818485","1371818593","1371818545","1371818646","1371818585"],"photo_ids_order":["1371818485","1371818545","1371818585","1371818593","1371818618","1371818646"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb5a12d025ddba69ff733be9994a481b.jpg","text":"TemporaryFile(/tmp/multipartBody3888812932130742341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302852894,"filename":"image_12072025_08_46_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1edc024b66bbf865abc470d640ef0c1.jpg","text":"TemporaryFile(/tmp/multipartBody1661654250860464264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302852894,"filename":"image_12072025_08_46_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74a8c887405c6ea02b706c8e94b407d1.jpg","text":"TemporaryFile(/tmp/multipartBody7868774291283350949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302852894,"filename":"image_12072025_08_46_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc948e436ee0661d0a8871be414775cf.jpg","text":"TemporaryFile(/tmp/multipartBody1302658530452170088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302852894,"filename":"image_12072025_08_46_34_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fff03a89239d1e9f02967af1de9a648c.jpg","text":"TemporaryFile(/tmp/multipartBody7137624801556489440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302852894,"filename":"image_12072025_08_45_53_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1eb39b09e6b9d080db4b9a01ae3f403.jpg","text":"TemporaryFile(/tmp/multipartBody3903125771784819290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302852894,"filename":"image_12072025_08_46_23_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371818585","file1":"1371818545","file0":"1371818485","file4":"1371818618","file5":"1371818646","file3":"1371818593"},"map_files_photo_id_array":[{"photo_id":"1371818646","filename":"file5"},{"photo_id":"1371818585","filename":"file2"},{"photo_id":"1371818618","filename":"file4"},{"photo_id":"1371818545","filename":"file1"},{"photo_id":"1371818485","filename":"file0"},{"photo_id":"1371818593","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371818618":["hashtag1","hashtag2"]},{"1371818485":["hashtag1","hashtag2"]},{"1371818593":["hashtag1","hashtag2"]},{"1371818545":["hashtag1","hashtag2"]},{"1371818646":["hashtag1","hashtag2"]},{"1371818585":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371818618, 1371818485, 1371818593, 1371818545, 1371818646, 1371818585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.614832639694214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:47:16.881267
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_43_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_34_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_24_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_13_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/08/46/image_12072025_08_47_04_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_53_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_43_9607.jpg', '/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_34_9615.jpg', '/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_24_10623.jpg', '/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_13_9637.jpg', '/home/nano/Desktop/images/12072025/08/46/image_12072025_08_47_04_10643.jpg', '/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_53_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_43_9607.jpg
/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_34_9615.jpg
/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_24_10623.jpg
/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_13_9637.jpg
/home/nano/Desktop/images/12072025/08/46/image_12072025_08_47_04_10643.jpg
/home/nano/Desktop/images/12072025/08/46/image_12072025_08_46_53_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371818918","1371819241","1371819165","1371818976","1371819048","1371819111"],"photo_ids_order":["1371818918","1371818976","1371819048","1371819111","1371819165","1371819241"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4630e730853dde4cb54e607877f587cd.jpg","text":"TemporaryFile(/tmp/multipartBody6746953724320209501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302898088,"filename":"image_12072025_08_47_43_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21cb81b832c1d28e9e9763d88a6f406a.jpg","text":"TemporaryFile(/tmp/multipartBody1992245630212737403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302898088,"filename":"image_12072025_08_46_53_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2d3dc4ba66050c7e741237fcfec4f76.jpg","text":"TemporaryFile(/tmp/multipartBody1412430624282969265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302898088,"filename":"image_12072025_08_47_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/376be3868698cc704465298616c0a4f6.jpg","text":"TemporaryFile(/tmp/multipartBody5861439345265949068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302898088,"filename":"image_12072025_08_47_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b67e6bae843dc56051a76474ccc2fcb.jpg","text":"TemporaryFile(/tmp/multipartBody5032603820670570151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302898088,"filename":"image_12072025_08_47_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5749672cd5a54a5a3e5729392fe5609.jpg","text":"TemporaryFile(/tmp/multipartBody5840116266638192128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302898088,"filename":"image_12072025_08_47_13_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371819048","file1":"1371818976","file0":"1371818918","file4":"1371819165","file5":"1371819241","file3":"1371819111"},"map_files_photo_id_array":[{"photo_id":"1371819241","filename":"file5"},{"photo_id":"1371819048","filename":"file2"},{"photo_id":"1371819165","filename":"file4"},{"photo_id":"1371818976","filename":"file1"},{"photo_id":"1371818918","filename":"file0"},{"photo_id":"1371819111","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371818918":["hashtag1","hashtag2"]},{"1371819241":["hashtag1","hashtag2"]},{"1371819165":["hashtag1","hashtag2"]},{"1371818976":["hashtag1","hashtag2"]},{"1371819048":["hashtag1","hashtag2"]},{"1371819111":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371818918, 1371819241, 1371819165, 1371818976, 1371819048, 1371819111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75382399559021 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:48:02.615680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_34_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_23_9691.jpg', 2), ('/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_14_9701.jpg', 2), ('/home/nano/Desktop/images/10072025/20/12/image_10072025_20_13_04_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_53_9686.jpg', 2), ('/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_34_10658.jpg', '/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_23_9691.jpg', '/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_14_9701.jpg', '/home/nano/Desktop/images/10072025/20/12/image_10072025_20_13_04_10663.jpg', '/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_53_9686.jpg', '/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_44_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_34_10658.jpg
/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_23_9691.jpg
/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_14_9701.jpg
/home/nano/Desktop/images/10072025/20/12/image_10072025_20_13_04_10663.jpg
/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_53_9686.jpg
/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_44_9658.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9476232528686523 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:48:16.951248
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_43_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_33_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_24_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_13_9674.jpg', 2), ('/home/nano/Desktop/images/12072025/08/47/image_12072025_08_48_04_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_54_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_43_9632.jpg', '/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_33_9630.jpg', '/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_24_10641.jpg', '/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_13_9674.jpg', '/home/nano/Desktop/images/12072025/08/47/image_12072025_08_48_04_9636.jpg', '/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_54_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_43_9632.jpg
/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_33_9630.jpg
/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_24_10641.jpg
/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_13_9674.jpg
/home/nano/Desktop/images/12072025/08/47/image_12072025_08_48_04_9636.jpg
/home/nano/Desktop/images/12072025/08/47/image_12072025_08_47_54_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371819792","1371820018","1371819846","1371819948","1371819992","1371819895"],"photo_ids_order":["1371819792","1371819846","1371819895","1371819948","1371819992","1371820018"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d80ab1fda1fc5f9ed4d12c697cc1945a.jpg","text":"TemporaryFile(/tmp/multipartBody1670404547497882483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302958050,"filename":"image_12072025_08_48_43_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/febe794fbf4c10d349b568d1fb2b1cff.jpg","text":"TemporaryFile(/tmp/multipartBody4865477468262029342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302958050,"filename":"image_12072025_08_47_54_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a06cda7c22639e274af4c95d13980f57.jpg","text":"TemporaryFile(/tmp/multipartBody2990983768981347534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302958050,"filename":"image_12072025_08_48_33_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b10c0eb1f93ba390a6b2440fee6eea07.jpg","text":"TemporaryFile(/tmp/multipartBody5252874514293707429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302958050,"filename":"image_12072025_08_48_13_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dfc6e1945efc5a58ddcedc1d8dda643a.jpg","text":"TemporaryFile(/tmp/multipartBody1540137510254630463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302958050,"filename":"image_12072025_08_48_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5e44ab8825ede0f64ac30a91a6e4790.jpg","text":"TemporaryFile(/tmp/multipartBody994851175341006568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752302958050,"filename":"image_12072025_08_48_24_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371819895","file1":"1371819846","file0":"1371819792","file4":"1371819992","file5":"1371820018","file3":"1371819948"},"map_files_photo_id_array":[{"photo_id":"1371820018","filename":"file5"},{"photo_id":"1371819895","filename":"file2"},{"photo_id":"1371819992","filename":"file4"},{"photo_id":"1371819846","filename":"file1"},{"photo_id":"1371819792","filename":"file0"},{"photo_id":"1371819948","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371819792":["hashtag1","hashtag2"]},{"1371820018":["hashtag1","hashtag2"]},{"1371819846":["hashtag1","hashtag2"]},{"1371819948":["hashtag1","hashtag2"]},{"1371819992":["hashtag1","hashtag2"]},{"1371819895":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371819792, 1371820018, 1371819846, 1371819948, 1371819992, 1371819895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76629853248596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:49:03.234391
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_34_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_23_9691.jpg', 2), ('/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_14_9701.jpg', 2), ('/home/nano/Desktop/images/10072025/20/12/image_10072025_20_13_04_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_53_9686.jpg', 2), ('/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_34_10658.jpg', '/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_23_9691.jpg', '/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_14_9701.jpg', '/home/nano/Desktop/images/10072025/20/12/image_10072025_20_13_04_10663.jpg', '/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_53_9686.jpg', '/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_44_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_34_10658.jpg
/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_23_9691.jpg
/home/nano/Desktop/images/10072025/20/13/image_10072025_20_13_14_9701.jpg
/home/nano/Desktop/images/10072025/20/12/image_10072025_20_13_04_10663.jpg
/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_53_9686.jpg
/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_44_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371820636","1371820449","1371820377","1371820512","1371820298","1371820586"],"photo_ids_order":["1371820298","1371820377","1371820449","1371820512","1371820586","1371820636"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7c4370141ef81737adb8e1378215477.jpg","text":"TemporaryFile(/tmp/multipartBody2014838380054095223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303006249,"filename":"image_10072025_20_12_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd2792c9dd0552ec964a827e99ddf6a0.jpg","text":"TemporaryFile(/tmp/multipartBody4169489369237180613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303006249,"filename":"image_10072025_20_13_14_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bca33775c8bc36362cab11d40552e8d0.jpg","text":"TemporaryFile(/tmp/multipartBody1855976177667921697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303006249,"filename":"image_10072025_20_13_23_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9d8ea4cf60c02064c2a19f6f525f61a.jpg","text":"TemporaryFile(/tmp/multipartBody3541291418677083480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303006249,"filename":"image_10072025_20_13_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71861a7c0c3fb3e44caf15d97c00e629.jpg","text":"TemporaryFile(/tmp/multipartBody2389620561944928850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303006249,"filename":"image_10072025_20_13_34_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f88cc09cf8ad663cff867d5f508e4a5.jpg","text":"TemporaryFile(/tmp/multipartBody4455453502855365862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303006249,"filename":"image_10072025_20_12_53_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371820449","file1":"1371820377","file0":"1371820298","file4":"1371820586","file5":"1371820636","file3":"1371820512"},"map_files_photo_id_array":[{"photo_id":"1371820636","filename":"file5"},{"photo_id":"1371820449","filename":"file2"},{"photo_id":"1371820586","filename":"file4"},{"photo_id":"1371820377","filename":"file1"},{"photo_id":"1371820298","filename":"file0"},{"photo_id":"1371820512","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371820636":["hashtag1","hashtag2"]},{"1371820449":["hashtag1","hashtag2"]},{"1371820377":["hashtag1","hashtag2"]},{"1371820512":["hashtag1","hashtag2"]},{"1371820298":["hashtag1","hashtag2"]},{"1371820586":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371820636, 1371820449, 1371820377, 1371820512, 1371820298, 1371820586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75166964530945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:49:47.103417
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_44_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_33_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_24_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_13_9686.jpg', 2), ('/home/nano/Desktop/images/12072025/08/48/image_12072025_08_49_03_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_54_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_44_10627.jpg', '/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_33_9632.jpg', '/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_24_10641.jpg', '/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_13_9686.jpg', '/home/nano/Desktop/images/12072025/08/48/image_12072025_08_49_03_9663.jpg', '/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_54_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_44_10627.jpg
/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_33_9632.jpg
/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_24_10641.jpg
/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_13_9686.jpg
/home/nano/Desktop/images/12072025/08/48/image_12072025_08_49_03_9663.jpg
/home/nano/Desktop/images/12072025/08/48/image_12072025_08_48_54_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371820943","1371821047","1371821081","1371820979","1371820988","1371821018"],"photo_ids_order":["1371820943","1371820979","1371820988","1371821018","1371821047","1371821081"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96ebb47c4b3b5a6d4075f9953cf2d9ca.jpg","text":"TemporaryFile(/tmp/multipartBody9121418877360355353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303048478,"filename":"image_12072025_08_49_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbe3fc64342ce2f5791c2e1d2614b84f.jpg","text":"TemporaryFile(/tmp/multipartBody9118146885452158901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303048478,"filename":"image_12072025_08_49_03_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/294399c9ad722056df0e7b0db24b895d.jpg","text":"TemporaryFile(/tmp/multipartBody6625704462681764043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303048478,"filename":"image_12072025_08_48_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5267453e7a121f4f3cedd6b4926b2c8.jpg","text":"TemporaryFile(/tmp/multipartBody5233235111823679155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303048478,"filename":"image_12072025_08_49_33_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/625ccdfab16e15c4f57b8ae3fef4198b.jpg","text":"TemporaryFile(/tmp/multipartBody1726343967570963331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303048478,"filename":"image_12072025_08_49_24_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88fed24884c6bd06a11fe97f0b020419.jpg","text":"TemporaryFile(/tmp/multipartBody6801343630449331529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303048478,"filename":"image_12072025_08_49_13_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371820988","file1":"1371820979","file0":"1371820943","file4":"1371821047","file5":"1371821081","file3":"1371821018"},"map_files_photo_id_array":[{"photo_id":"1371821081","filename":"file5"},{"photo_id":"1371820988","filename":"file2"},{"photo_id":"1371821047","filename":"file4"},{"photo_id":"1371820979","filename":"file1"},{"photo_id":"1371820943","filename":"file0"},{"photo_id":"1371821018","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371820943":["hashtag1","hashtag2"]},{"1371821047":["hashtag1","hashtag2"]},{"1371821081":["hashtag1","hashtag2"]},{"1371820979":["hashtag1","hashtag2"]},{"1371820988":["hashtag1","hashtag2"]},{"1371821018":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371820943, 1371821047, 1371821081, 1371820979, 1371820988, 1371821018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09680366516113 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:50:32.187131
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_44_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_33_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_24_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_14_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/08/49/image_12072025_08_50_03_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_54_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_44_10611.jpg', '/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_33_9616.jpg', '/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_24_9626.jpg', '/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_14_10654.jpg', '/home/nano/Desktop/images/12072025/08/49/image_12072025_08_50_03_9620.jpg', '/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_54_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_44_10611.jpg
/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_33_9616.jpg
/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_24_9626.jpg
/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_14_10654.jpg
/home/nano/Desktop/images/12072025/08/49/image_12072025_08_50_03_9620.jpg
/home/nano/Desktop/images/12072025/08/49/image_12072025_08_49_54_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371821635","1371821530","1371821820","1371821718","1371821925","1371822041"],"photo_ids_order":["1371821530","1371821635","1371821718","1371821820","1371821925","1371822041"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec5547bca8a05aceea738d6433fe3c86.jpg","text":"TemporaryFile(/tmp/multipartBody7490126840268326981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303093641,"filename":"image_12072025_08_50_33_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2a511a32edb82e973ffdc9f519b168c.jpg","text":"TemporaryFile(/tmp/multipartBody519751576584431340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303093641,"filename":"image_12072025_08_50_44_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7afc0ee493d052492416a4ad4d4b8822.jpg","text":"TemporaryFile(/tmp/multipartBody4699776273951682736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303093641,"filename":"image_12072025_08_50_14_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53fcb855abbf2a5e8fd0e3abdd54c3b3.jpg","text":"TemporaryFile(/tmp/multipartBody5654004969427955276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303093641,"filename":"image_12072025_08_50_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d00b4320299a98ceb5cc7f3cc91bb1e.jpg","text":"TemporaryFile(/tmp/multipartBody2950027523659290320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303093641,"filename":"image_12072025_08_50_03_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce05f92895a3bc6f33f103d339018a2c.jpg","text":"TemporaryFile(/tmp/multipartBody4859836093194405628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303093641,"filename":"image_12072025_08_49_54_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371821718","file1":"1371821635","file0":"1371821530","file4":"1371821925","file5":"1371822041","file3":"1371821820"},"map_files_photo_id_array":[{"photo_id":"1371822041","filename":"file5"},{"photo_id":"1371821718","filename":"file2"},{"photo_id":"1371821925","filename":"file4"},{"photo_id":"1371821635","filename":"file1"},{"photo_id":"1371821530","filename":"file0"},{"photo_id":"1371821820","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371821635":["hashtag1","hashtag2"]},{"1371821530":["hashtag1","hashtag2"]},{"1371821820":["hashtag1","hashtag2"]},{"1371821718":["hashtag1","hashtag2"]},{"1371821925":["hashtag1","hashtag2"]},{"1371822041":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371821635, 1371821530, 1371821820, 1371821718, 1371821925, 1371822041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.811439037323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:51:17.297808
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_44_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_34_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_23_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_14_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/08/50/image_12072025_08_51_04_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_53_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_44_9603.jpg', '/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_34_10656.jpg', '/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_23_9635.jpg', '/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_14_9643.jpg', '/home/nano/Desktop/images/12072025/08/50/image_12072025_08_51_04_10630.jpg', '/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_53_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_44_9603.jpg
/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_34_10656.jpg
/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_23_9635.jpg
/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_14_9643.jpg
/home/nano/Desktop/images/12072025/08/50/image_12072025_08_51_04_10630.jpg
/home/nano/Desktop/images/12072025/08/50/image_12072025_08_50_53_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371822588","1371822468","1371822540","1371822624","1371822467","1371822487"],"photo_ids_order":["1371822467","1371822468","1371822487","1371822540","1371822588","1371822624"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/483753a03d414b5e07d1a03277db4258.jpg","text":"TemporaryFile(/tmp/multipartBody5435351626872214118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303138599,"filename":"image_12072025_08_51_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/265f52b5ed196d4bd32fa0b2b2916306.jpg","text":"TemporaryFile(/tmp/multipartBody5195316240971239049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303138599,"filename":"image_12072025_08_51_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a480251f8756501b1f6eabc270473a5.jpg","text":"TemporaryFile(/tmp/multipartBody6194184198039528016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303138599,"filename":"image_12072025_08_51_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d28109c0091f92c904f9b3a5522f0de.jpg","text":"TemporaryFile(/tmp/multipartBody8509597371453964442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303138599,"filename":"image_12072025_08_50_53_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c281a0d4bac12ea822cfc7244c6aad7.jpg","text":"TemporaryFile(/tmp/multipartBody5514147845619598848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303138599,"filename":"image_12072025_08_51_44_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16969923226dfa1199be4c14a4a7094a.jpg","text":"TemporaryFile(/tmp/multipartBody8726229860683203372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303138599,"filename":"image_12072025_08_51_23_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371822487","file1":"1371822468","file0":"1371822467","file4":"1371822588","file5":"1371822624","file3":"1371822540"},"map_files_photo_id_array":[{"photo_id":"1371822624","filename":"file5"},{"photo_id":"1371822487","filename":"file2"},{"photo_id":"1371822588","filename":"file4"},{"photo_id":"1371822468","filename":"file1"},{"photo_id":"1371822467","filename":"file0"},{"photo_id":"1371822540","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371822588":["hashtag1","hashtag2"]},{"1371822468":["hashtag1","hashtag2"]},{"1371822540":["hashtag1","hashtag2"]},{"1371822624":["hashtag1","hashtag2"]},{"1371822467":["hashtag1","hashtag2"]},{"1371822487":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371822588, 1371822468, 1371822540, 1371822624, 1371822467, 1371822487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73881721496582 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:52:02.840209
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_34_10652.jpg', 2), ('/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_23_9659.jpg', 2), ('/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_14_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/20/11/image_10072025_20_12_04_10644.jpg', 2), ('/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_53_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_44_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_34_10652.jpg', '/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_23_9659.jpg', '/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_14_9645.jpg', '/home/nano/Desktop/images/10072025/20/11/image_10072025_20_12_04_10644.jpg', '/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_53_9655.jpg', '/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_44_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_34_10652.jpg
/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_23_9659.jpg
/home/nano/Desktop/images/10072025/20/12/image_10072025_20_12_14_9645.jpg
/home/nano/Desktop/images/10072025/20/11/image_10072025_20_12_04_10644.jpg
/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_53_9655.jpg
/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_44_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371823161","1371823047","1371823151","1371823088","1371822982","1371823141"],"photo_ids_order":["1371822982","1371823047","1371823088","1371823141","1371823151","1371823161"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0588d289d1731a11a01b7f36559eaff.jpg","text":"TemporaryFile(/tmp/multipartBody1141133793710334531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303185637,"filename":"image_10072025_20_11_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6bc737234bdff91170e7156a2ba9a36e.jpg","text":"TemporaryFile(/tmp/multipartBody3715614886159255464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303185637,"filename":"image_10072025_20_12_23_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b9fdbd384b77bcba8fe439269729745.jpg","text":"TemporaryFile(/tmp/multipartBody8451554234353339893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303185637,"filename":"image_10072025_20_11_53_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5413b9c22ffb4304f09beed60757cb66.jpg","text":"TemporaryFile(/tmp/multipartBody6446598062668599635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303185637,"filename":"image_10072025_20_12_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f2513d0604bd828e23e422a09b4c47f.jpg","text":"TemporaryFile(/tmp/multipartBody3483235901513665061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303185637,"filename":"image_10072025_20_12_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4488010b8d72fabd9cdc6144ddab09da.jpg","text":"TemporaryFile(/tmp/multipartBody171034249870169365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303185637,"filename":"image_10072025_20_12_04_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371823088","file1":"1371823047","file0":"1371822982","file4":"1371823151","file5":"1371823161","file3":"1371823141"},"map_files_photo_id_array":[{"photo_id":"1371823161","filename":"file5"},{"photo_id":"1371823088","filename":"file2"},{"photo_id":"1371823151","filename":"file4"},{"photo_id":"1371823047","filename":"file1"},{"photo_id":"1371822982","filename":"file0"},{"photo_id":"1371823141","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371823161":["hashtag1","hashtag2"]},{"1371823047":["hashtag1","hashtag2"]},{"1371823151":["hashtag1","hashtag2"]},{"1371823088":["hashtag1","hashtag2"]},{"1371822982":["hashtag1","hashtag2"]},{"1371823141":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371823161, 1371823047, 1371823151, 1371823088, 1371822982, 1371823141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.548492193222046 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:52:47.402828
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_43_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_34_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_24_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_13_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/08/51/image_12072025_08_52_04_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_53_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_43_9608.jpg', '/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_34_9617.jpg', '/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_24_10633.jpg', '/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_13_9623.jpg', '/home/nano/Desktop/images/12072025/08/51/image_12072025_08_52_04_10625.jpg', '/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_53_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_43_9608.jpg
/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_34_9617.jpg
/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_24_10633.jpg
/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_13_9623.jpg
/home/nano/Desktop/images/12072025/08/51/image_12072025_08_52_04_10625.jpg
/home/nano/Desktop/images/12072025/08/51/image_12072025_08_51_53_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371823272","1371823281","1371823283","1371823286","1371823276","1371823279"],"photo_ids_order":["1371823272","1371823276","1371823279","1371823281","1371823283","1371823286"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44caffbeb933c07205fec15da047a4a2.jpg","text":"TemporaryFile(/tmp/multipartBody389086733707403174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303228699,"filename":"image_12072025_08_52_43_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/495a38997e2729c706e651d5869ebd40.jpg","text":"TemporaryFile(/tmp/multipartBody3968937515025969882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303228699,"filename":"image_12072025_08_52_13_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef30b3a4f53b3d3ba86091d26fa1fc70.jpg","text":"TemporaryFile(/tmp/multipartBody1579891373878231564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303228699,"filename":"image_12072025_08_52_04_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a40cde7d2c1f4161118c8cae8ef604ec.jpg","text":"TemporaryFile(/tmp/multipartBody8876291961596780085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303228699,"filename":"image_12072025_08_51_53_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78f6369d9bbf096ce83817c102281def.jpg","text":"TemporaryFile(/tmp/multipartBody2420179975454691918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303228699,"filename":"image_12072025_08_52_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/881e423615dcef19e9217c873db9bf13.jpg","text":"TemporaryFile(/tmp/multipartBody2519824949314446952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303228699,"filename":"image_12072025_08_52_24_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371823279","file1":"1371823276","file0":"1371823272","file4":"1371823283","file5":"1371823286","file3":"1371823281"},"map_files_photo_id_array":[{"photo_id":"1371823286","filename":"file5"},{"photo_id":"1371823279","filename":"file2"},{"photo_id":"1371823283","filename":"file4"},{"photo_id":"1371823276","filename":"file1"},{"photo_id":"1371823272","filename":"file0"},{"photo_id":"1371823281","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371823272":["hashtag1","hashtag2"]},{"1371823281":["hashtag1","hashtag2"]},{"1371823283":["hashtag1","hashtag2"]},{"1371823286":["hashtag1","hashtag2"]},{"1371823276":["hashtag1","hashtag2"]},{"1371823279":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371823272, 1371823281, 1371823283, 1371823286, 1371823276, 1371823279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.891140699386597 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:53:32.521766
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_44_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_33_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_24_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_13_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/08/52/image_12072025_08_53_03_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_54_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_44_10628.jpg', '/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_33_9622.jpg', '/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_24_10638.jpg', '/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_13_9648.jpg', '/home/nano/Desktop/images/12072025/08/52/image_12072025_08_53_03_9622.jpg', '/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_54_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_44_10628.jpg
/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_33_9622.jpg
/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_24_10638.jpg
/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_13_9648.jpg
/home/nano/Desktop/images/12072025/08/52/image_12072025_08_53_03_9622.jpg
/home/nano/Desktop/images/12072025/08/52/image_12072025_08_52_54_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371823386","1371823303","1371823410","1371823358","1371823436","1371823333"],"photo_ids_order":["1371823303","1371823333","1371823358","1371823386","1371823410","1371823436"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8afc7430b6645feb192073b26de1e301.jpg","text":"TemporaryFile(/tmp/multipartBody2399596343076362336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303274112,"filename":"image_12072025_08_53_13_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c285fcdba939d763585564a5b9670062.jpg","text":"TemporaryFile(/tmp/multipartBody8364584304848558141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303274112,"filename":"image_12072025_08_53_44_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4de354175e14048f75a12b79af116e92.jpg","text":"TemporaryFile(/tmp/multipartBody7293618042620438467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303274112,"filename":"image_12072025_08_53_03_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/411f16cf35f30c3ebc0bd88ce638c336.jpg","text":"TemporaryFile(/tmp/multipartBody2348312066911525910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303274112,"filename":"image_12072025_08_53_24_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/807fb96dbffd91fe314401650a211afd.jpg","text":"TemporaryFile(/tmp/multipartBody7783737831885532434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303274112,"filename":"image_12072025_08_52_54_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/955fd9afb57d5ebdefaaf1fb94a44ba9.jpg","text":"TemporaryFile(/tmp/multipartBody4938446199353435883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303274112,"filename":"image_12072025_08_53_33_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371823358","file1":"1371823333","file0":"1371823303","file4":"1371823410","file5":"1371823436","file3":"1371823386"},"map_files_photo_id_array":[{"photo_id":"1371823436","filename":"file5"},{"photo_id":"1371823358","filename":"file2"},{"photo_id":"1371823410","filename":"file4"},{"photo_id":"1371823333","filename":"file1"},{"photo_id":"1371823303","filename":"file0"},{"photo_id":"1371823386","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371823386":["hashtag1","hashtag2"]},{"1371823303":["hashtag1","hashtag2"]},{"1371823410":["hashtag1","hashtag2"]},{"1371823358":["hashtag1","hashtag2"]},{"1371823436":["hashtag1","hashtag2"]},{"1371823333":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371823386, 1371823303, 1371823410, 1371823358, 1371823436, 1371823333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53611946105957 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:54:17.625580
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_44_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_33_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_23_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_14_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/08/53/image_12072025_08_54_03_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_44_10623.jpg', '/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_33_9636.jpg', '/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_23_9633.jpg', '/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_14_10631.jpg', '/home/nano/Desktop/images/12072025/08/53/image_12072025_08_54_03_9603.jpg', '/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_44_10623.jpg
/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_33_9636.jpg
/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_23_9633.jpg
/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_14_10631.jpg
/home/nano/Desktop/images/12072025/08/53/image_12072025_08_54_03_9603.jpg
/home/nano/Desktop/images/12072025/08/53/image_12072025_08_53_54_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371823685","1371823625","1371823687","1371823594","1371823660","1371823689"],"photo_ids_order":["1371823594","1371823625","1371823660","1371823685","1371823687","1371823689"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf97b5152aea471b12384cbe429cda77.jpg","text":"TemporaryFile(/tmp/multipartBody5462959304564094433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303319093,"filename":"image_12072025_08_54_14_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/815a9214c031371b8a111090845ac7c5.jpg","text":"TemporaryFile(/tmp/multipartBody914684351093838399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303319093,"filename":"image_12072025_08_54_33_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e3994a6968f5ca8986b794be0a7b26e.jpg","text":"TemporaryFile(/tmp/multipartBody6758320573696027281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303319093,"filename":"image_12072025_08_54_03_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9052159909fdbb74a66b07aff291a73b.jpg","text":"TemporaryFile(/tmp/multipartBody2226874807721095856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303319093,"filename":"image_12072025_08_54_44_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d3381056cf5cc3d0066a28af753c8cd.jpg","text":"TemporaryFile(/tmp/multipartBody1864139185237033664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303319093,"filename":"image_12072025_08_54_23_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf2270b049c4644cda035164ad29e766.jpg","text":"TemporaryFile(/tmp/multipartBody1118815447339450052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303319093,"filename":"image_12072025_08_53_54_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371823660","file1":"1371823625","file0":"1371823594","file4":"1371823687","file5":"1371823689","file3":"1371823685"},"map_files_photo_id_array":[{"photo_id":"1371823689","filename":"file5"},{"photo_id":"1371823660","filename":"file2"},{"photo_id":"1371823687","filename":"file4"},{"photo_id":"1371823625","filename":"file1"},{"photo_id":"1371823594","filename":"file0"},{"photo_id":"1371823685","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371823685":["hashtag1","hashtag2"]},{"1371823625":["hashtag1","hashtag2"]},{"1371823687":["hashtag1","hashtag2"]},{"1371823594":["hashtag1","hashtag2"]},{"1371823660":["hashtag1","hashtag2"]},{"1371823689":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371823685, 1371823625, 1371823687, 1371823594, 1371823660, 1371823689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89153265953064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:55:03.397365
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_34_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_23_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_14_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/20/10/image_10072025_20_11_04_10652.jpg', 2), ('/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_53_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_44_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_34_10656.jpg', '/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_23_9655.jpg', '/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_14_9655.jpg', '/home/nano/Desktop/images/10072025/20/10/image_10072025_20_11_04_10652.jpg', '/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_53_9615.jpg', '/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_44_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_34_10656.jpg
/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_23_9655.jpg
/home/nano/Desktop/images/10072025/20/11/image_10072025_20_11_14_9655.jpg
/home/nano/Desktop/images/10072025/20/10/image_10072025_20_11_04_10652.jpg
/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_53_9615.jpg
/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_44_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371823824","1371823929","1371823874","1371823957","1371823912","1371823936"],"photo_ids_order":["1371823824","1371823874","1371823912","1371823929","1371823936","1371823957"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9937d821c3a2edfabdc2274b1c9d93f9.jpg","text":"TemporaryFile(/tmp/multipartBody2203625562747822184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303366190,"filename":"image_10072025_20_11_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85ea9dad2452e0e28a0077f691fc5b95.jpg","text":"TemporaryFile(/tmp/multipartBody8801254788026546833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303366190,"filename":"image_10072025_20_11_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45df73574ed4f2513aba5199a59bd4ee.jpg","text":"TemporaryFile(/tmp/multipartBody5289844528040784450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303366190,"filename":"image_10072025_20_11_23_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3b76611b2efefceb8c47a887dec7016.jpg","text":"TemporaryFile(/tmp/multipartBody2028756817970120658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303366190,"filename":"image_10072025_20_10_44_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1295735f7847b41683282cc71760a6f6.jpg","text":"TemporaryFile(/tmp/multipartBody4090204074256609389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303366190,"filename":"image_10072025_20_11_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0fc4fad3926498d5676a04b4196211c5.jpg","text":"TemporaryFile(/tmp/multipartBody2627405372910987349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303366190,"filename":"image_10072025_20_10_53_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371823912","file1":"1371823874","file0":"1371823824","file4":"1371823936","file5":"1371823957","file3":"1371823929"},"map_files_photo_id_array":[{"photo_id":"1371823957","filename":"file5"},{"photo_id":"1371823912","filename":"file2"},{"photo_id":"1371823936","filename":"file4"},{"photo_id":"1371823874","filename":"file1"},{"photo_id":"1371823824","filename":"file0"},{"photo_id":"1371823929","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371823824":["hashtag1","hashtag2"]},{"1371823929":["hashtag1","hashtag2"]},{"1371823874":["hashtag1","hashtag2"]},{"1371823957":["hashtag1","hashtag2"]},{"1371823912":["hashtag1","hashtag2"]},{"1371823936":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371823824, 1371823929, 1371823874, 1371823957, 1371823912, 1371823936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.163334369659424 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:55:47.825124
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_44_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_23_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_14_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/08/54/image_12072025_08_55_04_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_44_9609.jpg', '/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_34_10620.jpg', '/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_23_9614.jpg', '/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_14_9654.jpg', '/home/nano/Desktop/images/12072025/08/54/image_12072025_08_55_04_10652.jpg', '/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_44_9609.jpg
/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_34_10620.jpg
/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_23_9614.jpg
/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_14_9654.jpg
/home/nano/Desktop/images/12072025/08/54/image_12072025_08_55_04_10652.jpg
/home/nano/Desktop/images/12072025/08/54/image_12072025_08_54_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371824157","1371824202","1371824210","1371824132","1371824173","1371824155"],"photo_ids_order":["1371824132","1371824155","1371824157","1371824173","1371824202","1371824210"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de9a0985a870f55df9c794ede84e715e.jpg","text":"TemporaryFile(/tmp/multipartBody7741849135655930253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303409206,"filename":"image_12072025_08_55_23_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/799d37664911c17b664cafd6e3efb632.jpg","text":"TemporaryFile(/tmp/multipartBody5678254285021534531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303409206,"filename":"image_12072025_08_55_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a91e8da1dd8c88a33ab7c72d6f00bbbe.jpg","text":"TemporaryFile(/tmp/multipartBody52832522251479885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303409206,"filename":"image_12072025_08_54_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2339b6d8138578112effa8bff3879df4.jpg","text":"TemporaryFile(/tmp/multipartBody4044213515265014099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303409206,"filename":"image_12072025_08_55_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c2ad12bf0af6d750e9ba6badbc20314.jpg","text":"TemporaryFile(/tmp/multipartBody8042145743100109821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303409206,"filename":"image_12072025_08_55_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3619b2a93f061aa4ff090d810a691dd4.jpg","text":"TemporaryFile(/tmp/multipartBody3535153161769798788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303409206,"filename":"image_12072025_08_55_34_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371824157","file1":"1371824155","file0":"1371824132","file4":"1371824202","file5":"1371824210","file3":"1371824173"},"map_files_photo_id_array":[{"photo_id":"1371824210","filename":"file5"},{"photo_id":"1371824157","filename":"file2"},{"photo_id":"1371824202","filename":"file4"},{"photo_id":"1371824155","filename":"file1"},{"photo_id":"1371824132","filename":"file0"},{"photo_id":"1371824173","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371824157":["hashtag1","hashtag2"]},{"1371824202":["hashtag1","hashtag2"]},{"1371824210":["hashtag1","hashtag2"]},{"1371824132":["hashtag1","hashtag2"]},{"1371824173":["hashtag1","hashtag2"]},{"1371824155":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371824157, 1371824202, 1371824210, 1371824132, 1371824173, 1371824155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64134073257446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:56:31.941547
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_43_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_34_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_13_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/08/55/image_12072025_08_56_04_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_53_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_43_9615.jpg', '/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_34_10640.jpg', '/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_23_9616.jpg', '/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_13_9648.jpg', '/home/nano/Desktop/images/12072025/08/55/image_12072025_08_56_04_10638.jpg', '/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_53_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_43_9615.jpg
/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_34_10640.jpg
/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_23_9616.jpg
/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_13_9648.jpg
/home/nano/Desktop/images/12072025/08/55/image_12072025_08_56_04_10638.jpg
/home/nano/Desktop/images/12072025/08/55/image_12072025_08_55_53_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371824546","1371824447","1371824470","1371824521","1371824419","1371824496"],"photo_ids_order":["1371824419","1371824447","1371824470","1371824496","1371824521","1371824546"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c970da6e0ee53f46414f11b8d346e2d2.jpg","text":"TemporaryFile(/tmp/multipartBody8616271044735278432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303453123,"filename":"image_12072025_08_55_53_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/808adc4c9fbfe8d48520f997587b4a9b.jpg","text":"TemporaryFile(/tmp/multipartBody6412951735438628879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303453123,"filename":"image_12072025_08_56_34_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7300a9b189d9c8094938a9fed240229.jpg","text":"TemporaryFile(/tmp/multipartBody676234283222665790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303453123,"filename":"image_12072025_08_56_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c26b5b2908f0eae455236e6737feb23f.jpg","text":"TemporaryFile(/tmp/multipartBody6783536739562731772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303453123,"filename":"image_12072025_08_56_04_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42636e66c4709ee158dc7d22cd49429c.jpg","text":"TemporaryFile(/tmp/multipartBody5701883787276338224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303453123,"filename":"image_12072025_08_56_43_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68bb286b37839198500cdf94b96f45ca.jpg","text":"TemporaryFile(/tmp/multipartBody4789501578687369382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303453123,"filename":"image_12072025_08_56_13_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371824470","file1":"1371824447","file0":"1371824419","file4":"1371824521","file5":"1371824546","file3":"1371824496"},"map_files_photo_id_array":[{"photo_id":"1371824546","filename":"file5"},{"photo_id":"1371824470","filename":"file2"},{"photo_id":"1371824521","filename":"file4"},{"photo_id":"1371824447","filename":"file1"},{"photo_id":"1371824419","filename":"file0"},{"photo_id":"1371824496","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371824546":["hashtag1","hashtag2"]},{"1371824447":["hashtag1","hashtag2"]},{"1371824470":["hashtag1","hashtag2"]},{"1371824521":["hashtag1","hashtag2"]},{"1371824419":["hashtag1","hashtag2"]},{"1371824496":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371824546, 1371824447, 1371824470, 1371824521, 1371824419, 1371824496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.022366523742676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:57:17.056975
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_43_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_33_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_24_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_13_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/08/56/image_12072025_08_57_04_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_54_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_43_9621.jpg', '/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_33_9610.jpg', '/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_24_10630.jpg', '/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_13_9653.jpg', '/home/nano/Desktop/images/12072025/08/56/image_12072025_08_57_04_9616.jpg', '/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_54_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_43_9621.jpg
/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_33_9610.jpg
/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_24_10630.jpg
/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_13_9653.jpg
/home/nano/Desktop/images/12072025/08/56/image_12072025_08_57_04_9616.jpg
/home/nano/Desktop/images/12072025/08/56/image_12072025_08_56_54_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371824795","1371824984","1371824936","1371824822","1371824749","1371824865"],"photo_ids_order":["1371824749","1371824795","1371824822","1371824865","1371824936","1371824984"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72a4c8fe6f860af38d5efb1721f2f927.jpg","text":"TemporaryFile(/tmp/multipartBody1050504874555465015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303498313,"filename":"image_12072025_08_57_33_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d800a29d3e5d09225a11995c696ef012.jpg","text":"TemporaryFile(/tmp/multipartBody942531256166101414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303498313,"filename":"image_12072025_08_56_54_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/741ef42abecf054ae6971fdcc96bd071.jpg","text":"TemporaryFile(/tmp/multipartBody17043662477365265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303498313,"filename":"image_12072025_08_57_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/558ffd8bd3d3a175980f9274daa3d66f.jpg","text":"TemporaryFile(/tmp/multipartBody3664685018103648708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303498313,"filename":"image_12072025_08_57_24_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09fd39104a73b4cd903da4beace5238c.jpg","text":"TemporaryFile(/tmp/multipartBody7024026087515250065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303498313,"filename":"image_12072025_08_57_43_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50199c22d9f403a2427aca0e92f0a224.jpg","text":"TemporaryFile(/tmp/multipartBody8669227906493280016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303498313,"filename":"image_12072025_08_57_13_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371824822","file1":"1371824795","file0":"1371824749","file4":"1371824936","file5":"1371824984","file3":"1371824865"},"map_files_photo_id_array":[{"photo_id":"1371824984","filename":"file5"},{"photo_id":"1371824822","filename":"file2"},{"photo_id":"1371824936","filename":"file4"},{"photo_id":"1371824795","filename":"file1"},{"photo_id":"1371824749","filename":"file0"},{"photo_id":"1371824865","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371824795":["hashtag1","hashtag2"]},{"1371824984":["hashtag1","hashtag2"]},{"1371824936":["hashtag1","hashtag2"]},{"1371824822":["hashtag1","hashtag2"]},{"1371824749":["hashtag1","hashtag2"]},{"1371824865":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371824795, 1371824984, 1371824936, 1371824822, 1371824749, 1371824865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.690028429031372 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:58:02.666575
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_33_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_24_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_14_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/20/09/image_10072025_20_10_03_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_54_9733.jpg', 2), ('/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_44_9864.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_33_9630.jpg', '/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_24_9632.jpg', '/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_14_10663.jpg', '/home/nano/Desktop/images/10072025/20/09/image_10072025_20_10_03_9647.jpg', '/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_54_9733.jpg', '/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_44_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_33_9630.jpg
/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_24_9632.jpg
/home/nano/Desktop/images/10072025/20/10/image_10072025_20_10_14_10663.jpg
/home/nano/Desktop/images/10072025/20/09/image_10072025_20_10_03_9647.jpg
/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_54_9733.jpg
/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_44_9864.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371825407","1371825655","1371825550","1371825454","1371825609","1371825504"],"photo_ids_order":["1371825407","1371825454","1371825504","1371825550","1371825609","1371825655"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f16a3395b1556f7756c6489b2b109e6f.jpg","text":"TemporaryFile(/tmp/multipartBody1236766700167583586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303545480,"filename":"image_10072025_20_10_33_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28369a9cc06d691bdf8d46a3e7340351.jpg","text":"TemporaryFile(/tmp/multipartBody2714228864004606851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303545480,"filename":"image_10072025_20_09_44_9864.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c253605cac429a9a16e08e44a2e0cc6.jpg","text":"TemporaryFile(/tmp/multipartBody5876344379131959686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303545480,"filename":"image_10072025_20_10_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41cf80267aaa7cc8d5436dc3602dc08e.jpg","text":"TemporaryFile(/tmp/multipartBody2445699881246187788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303545480,"filename":"image_10072025_20_10_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/294e76dd396eb1cf9e377a81fcc0822c.jpg","text":"TemporaryFile(/tmp/multipartBody4213039595948564179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303545480,"filename":"image_10072025_20_09_54_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a1cf72721c4fee995df106a6a529639.jpg","text":"TemporaryFile(/tmp/multipartBody8904034509168901162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303545480,"filename":"image_10072025_20_10_14_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371825504","file1":"1371825454","file0":"1371825407","file4":"1371825609","file5":"1371825655","file3":"1371825550"},"map_files_photo_id_array":[{"photo_id":"1371825655","filename":"file5"},{"photo_id":"1371825504","filename":"file2"},{"photo_id":"1371825609","filename":"file4"},{"photo_id":"1371825454","filename":"file1"},{"photo_id":"1371825407","filename":"file0"},{"photo_id":"1371825550","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371825407":["hashtag1","hashtag2"]},{"1371825655":["hashtag1","hashtag2"]},{"1371825550":["hashtag1","hashtag2"]},{"1371825454":["hashtag1","hashtag2"]},{"1371825609":["hashtag1","hashtag2"]},{"1371825504":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371825407, 1371825655, 1371825550, 1371825454, 1371825609, 1371825504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43784832954407 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:59:02.917066
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_44_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_33_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_24_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_14_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/08/57/image_12072025_08_58_03_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_54_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_44_10618.jpg', '/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_33_9616.jpg', '/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_24_9627.jpg', '/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_14_10661.jpg', '/home/nano/Desktop/images/12072025/08/57/image_12072025_08_58_03_9632.jpg', '/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_54_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_44_10618.jpg
/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_33_9616.jpg
/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_24_9627.jpg
/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_14_10661.jpg
/home/nano/Desktop/images/12072025/08/57/image_12072025_08_58_03_9632.jpg
/home/nano/Desktop/images/12072025/08/57/image_12072025_08_57_54_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371825818","1371825898","1371825846","1371825893","1371825887","1371825872"],"photo_ids_order":["1371825818","1371825846","1371825872","1371825887","1371825893","1371825898"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f16c08a1f3d68f06166a5d76d4aa6418.jpg","text":"TemporaryFile(/tmp/multipartBody8782836394468650725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303604163,"filename":"image_12072025_08_58_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7353cfd4310961c66ca1ebc6ed3621d2.jpg","text":"TemporaryFile(/tmp/multipartBody6479704259023041914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303604163,"filename":"image_12072025_08_57_54_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f48d7ee5157d0b69ce0190b8422f3be2.jpg","text":"TemporaryFile(/tmp/multipartBody3666330037573823333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303604163,"filename":"image_12072025_08_58_33_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28d9e0fe1c267ab9d1859b2a6144c946.jpg","text":"TemporaryFile(/tmp/multipartBody7539936187577649695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303604163,"filename":"image_12072025_08_58_03_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e94e9a0656dc6ba3647468b24b993cc1.jpg","text":"TemporaryFile(/tmp/multipartBody6180861667688691443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303604163,"filename":"image_12072025_08_58_14_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61264c79bf8052aa4b4c99d9f6310c7d.jpg","text":"TemporaryFile(/tmp/multipartBody6546299032341214837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303604163,"filename":"image_12072025_08_58_24_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371825872","file1":"1371825846","file0":"1371825818","file4":"1371825893","file5":"1371825898","file3":"1371825887"},"map_files_photo_id_array":[{"photo_id":"1371825898","filename":"file5"},{"photo_id":"1371825872","filename":"file2"},{"photo_id":"1371825893","filename":"file4"},{"photo_id":"1371825846","filename":"file1"},{"photo_id":"1371825818","filename":"file0"},{"photo_id":"1371825887","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371825818":["hashtag1","hashtag2"]},{"1371825898":["hashtag1","hashtag2"]},{"1371825846":["hashtag1","hashtag2"]},{"1371825893":["hashtag1","hashtag2"]},{"1371825887":["hashtag1","hashtag2"]},{"1371825872":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371825818, 1371825898, 1371825846, 1371825893, 1371825887, 1371825872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08682370185852 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 08:59:46.844272
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_44_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_34_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_23_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_14_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/08/58/image_12072025_08_59_03_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_44_9642.jpg', '/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_34_10635.jpg', '/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_23_9651.jpg', '/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_14_10670.jpg', '/home/nano/Desktop/images/12072025/08/58/image_12072025_08_59_03_9607.jpg', '/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_44_9642.jpg
/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_34_10635.jpg
/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_23_9651.jpg
/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_14_10670.jpg
/home/nano/Desktop/images/12072025/08/58/image_12072025_08_59_03_9607.jpg
/home/nano/Desktop/images/12072025/08/58/image_12072025_08_58_53_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371826433","1371826321","1371826272","1371826176","1371826224","1371826385"],"photo_ids_order":["1371826176","1371826224","1371826272","1371826321","1371826385","1371826433"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f52b67d52c7f915ff58ef660325869ca.jpg","text":"TemporaryFile(/tmp/multipartBody3557287045467311307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303648297,"filename":"image_12072025_08_58_53_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b5079f77ba120cc3db05cf1cfe30deb.jpg","text":"TemporaryFile(/tmp/multipartBody6513334592067634339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303648297,"filename":"image_12072025_08_59_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6140818ded2d8d9c7038dc92ee84db22.jpg","text":"TemporaryFile(/tmp/multipartBody4473978331818041530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303648297,"filename":"image_12072025_08_59_23_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/844c8cafdbcc23317c4315c39be92f10.jpg","text":"TemporaryFile(/tmp/multipartBody9137465175771624799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303648297,"filename":"image_12072025_08_59_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c480ca2be22e7f354d9b14346402e6e.jpg","text":"TemporaryFile(/tmp/multipartBody649402791272492809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303648297,"filename":"image_12072025_08_59_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9470b33c20efbd2f663e0fd2b0f4c66.jpg","text":"TemporaryFile(/tmp/multipartBody8948626517289582090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303648297,"filename":"image_12072025_08_59_03_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371826272","file1":"1371826224","file0":"1371826176","file4":"1371826385","file5":"1371826433","file3":"1371826321"},"map_files_photo_id_array":[{"photo_id":"1371826433","filename":"file5"},{"photo_id":"1371826272","filename":"file2"},{"photo_id":"1371826385","filename":"file4"},{"photo_id":"1371826224","filename":"file1"},{"photo_id":"1371826176","filename":"file0"},{"photo_id":"1371826321","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371826433":["hashtag1","hashtag2"]},{"1371826321":["hashtag1","hashtag2"]},{"1371826272":["hashtag1","hashtag2"]},{"1371826176":["hashtag1","hashtag2"]},{"1371826224":["hashtag1","hashtag2"]},{"1371826385":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371826433, 1371826321, 1371826272, 1371826176, 1371826224, 1371826385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59889054298401 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:00:31.969200
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_44_10717.jpg', 2), ('/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_33_9674.jpg', 2), ('/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_23_9694.jpg', 2), ('/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_14_9692.jpg', 2), ('/home/nano/Desktop/images/12072025/08/59/image_12072025_09_00_04_10703.jpg', 2), ('/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_53_9676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_44_10717.jpg', '/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_33_9674.jpg', '/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_23_9694.jpg', '/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_14_9692.jpg', '/home/nano/Desktop/images/12072025/08/59/image_12072025_09_00_04_10703.jpg', '/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_53_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_44_10717.jpg
/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_33_9674.jpg
/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_23_9694.jpg
/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_14_9692.jpg
/home/nano/Desktop/images/12072025/08/59/image_12072025_09_00_04_10703.jpg
/home/nano/Desktop/images/12072025/08/59/image_12072025_08_59_53_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371826700","1371826642","1371826785","1371826839","1371826725","1371826886"],"photo_ids_order":["1371826642","1371826700","1371826725","1371826785","1371826839","1371826886"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ebc302e2e99f535f1a3388bc1e60c326.jpg","text":"TemporaryFile(/tmp/multipartBody2548681670715113939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303693480,"filename":"image_12072025_09_00_33_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12004b3760cf2b1381f6d82ba13dbf99.jpg","text":"TemporaryFile(/tmp/multipartBody4682360946607898451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303693480,"filename":"image_12072025_09_00_44_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41fc7cf740da1166917d1c6483560013.jpg","text":"TemporaryFile(/tmp/multipartBody2342692783222906207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303693480,"filename":"image_12072025_09_00_14_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae6ad00605cb54f13e162b0a31483515.jpg","text":"TemporaryFile(/tmp/multipartBody1505291172954891820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303693480,"filename":"image_12072025_09_00_04_10703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/abb99bdf7fe6f31fd240c3d001121704.jpg","text":"TemporaryFile(/tmp/multipartBody4931370880751247222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303693480,"filename":"image_12072025_09_00_23_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d97d4b20e6ca604667d435f069adc7bc.jpg","text":"TemporaryFile(/tmp/multipartBody2769436553115033955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303693480,"filename":"image_12072025_08_59_53_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371826725","file1":"1371826700","file0":"1371826642","file4":"1371826839","file5":"1371826886","file3":"1371826785"},"map_files_photo_id_array":[{"photo_id":"1371826886","filename":"file5"},{"photo_id":"1371826725","filename":"file2"},{"photo_id":"1371826839","filename":"file4"},{"photo_id":"1371826700","filename":"file1"},{"photo_id":"1371826642","filename":"file0"},{"photo_id":"1371826785","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371826700":["hashtag1","hashtag2"]},{"1371826642":["hashtag1","hashtag2"]},{"1371826785":["hashtag1","hashtag2"]},{"1371826839":["hashtag1","hashtag2"]},{"1371826725":["hashtag1","hashtag2"]},{"1371826886":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371826700, 1371826642, 1371826785, 1371826839, 1371826725, 1371826886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.257840156555176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:01:17.024671
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_44_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_33_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_23_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_14_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/09/00/image_12072025_09_01_03_9709.jpg', 2), ('/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_53_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_44_10624.jpg', '/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_33_9612.jpg', '/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_23_9605.jpg', '/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_14_10645.jpg', '/home/nano/Desktop/images/12072025/09/00/image_12072025_09_01_03_9709.jpg', '/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_53_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_44_10624.jpg
/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_33_9612.jpg
/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_23_9605.jpg
/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_14_10645.jpg
/home/nano/Desktop/images/12072025/09/00/image_12072025_09_01_03_9709.jpg
/home/nano/Desktop/images/12072025/09/00/image_12072025_09_00_53_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371827632","1371827554","1371827292","1371827828","1371827723","1371827414"],"photo_ids_order":["1371827292","1371827414","1371827554","1371827632","1371827723","1371827828"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/591bda1747b59af2317e758ac298d4c7.jpg","text":"TemporaryFile(/tmp/multipartBody6802054081840693191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303738263,"filename":"image_12072025_09_01_14_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76a860d69ff4629cbc440dc9868ee3c6.jpg","text":"TemporaryFile(/tmp/multipartBody2428133693336819810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303738263,"filename":"image_12072025_09_01_23_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0efe8d87474ecdffb76ee9856f6db1af.jpg","text":"TemporaryFile(/tmp/multipartBody5988334759044303025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303738263,"filename":"image_12072025_09_01_44_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f90786a557f22b0c1251985494d218cf.jpg","text":"TemporaryFile(/tmp/multipartBody8049341975629305171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303738263,"filename":"image_12072025_09_00_53_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e484af1e20ff4f6e91e004f401b75d56.jpg","text":"TemporaryFile(/tmp/multipartBody7769090268111799995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303738263,"filename":"image_12072025_09_01_03_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d9f7eeb65c12dccb71973600f04e897.jpg","text":"TemporaryFile(/tmp/multipartBody5669380913191869386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303738263,"filename":"image_12072025_09_01_33_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371827554","file1":"1371827414","file0":"1371827292","file4":"1371827723","file5":"1371827828","file3":"1371827632"},"map_files_photo_id_array":[{"photo_id":"1371827828","filename":"file5"},{"photo_id":"1371827554","filename":"file2"},{"photo_id":"1371827723","filename":"file4"},{"photo_id":"1371827414","filename":"file1"},{"photo_id":"1371827292","filename":"file0"},{"photo_id":"1371827632","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371827632":["hashtag1","hashtag2"]},{"1371827554":["hashtag1","hashtag2"]},{"1371827292":["hashtag1","hashtag2"]},{"1371827828":["hashtag1","hashtag2"]},{"1371827723":["hashtag1","hashtag2"]},{"1371827414":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371827632, 1371827554, 1371827292, 1371827828, 1371827723, 1371827414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67993187904358 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:02:02.688802
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_34_10838.jpg', 2), ('/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_23_9839.jpg', 2), ('/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_13_9871.jpg', 2), ('/home/nano/Desktop/images/10072025/20/08/image_10072025_20_09_03_9706.jpg', 2), ('/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_54_9859.jpg', 2), ('/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_44_10702.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_34_10838.jpg', '/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_23_9839.jpg', '/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_13_9871.jpg', '/home/nano/Desktop/images/10072025/20/08/image_10072025_20_09_03_9706.jpg', '/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_54_9859.jpg', '/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_44_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_34_10838.jpg
/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_23_9839.jpg
/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_13_9871.jpg
/home/nano/Desktop/images/10072025/20/08/image_10072025_20_09_03_9706.jpg
/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_54_9859.jpg
/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_44_10702.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.360051393508911 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:02:17.132088
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_43_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_34_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_23_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_14_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/09/01/image_12072025_09_02_04_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_53_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_43_9600.jpg', '/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_34_10621.jpg', '/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_23_9647.jpg', '/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_14_9633.jpg', '/home/nano/Desktop/images/12072025/09/01/image_12072025_09_02_04_10641.jpg', '/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_53_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_43_9600.jpg
/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_34_10621.jpg
/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_23_9647.jpg
/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_14_9633.jpg
/home/nano/Desktop/images/12072025/09/01/image_12072025_09_02_04_10641.jpg
/home/nano/Desktop/images/12072025/09/01/image_12072025_09_01_53_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371828468","1371828846","1371828615","1371828543","1371828685","1371828754"],"photo_ids_order":["1371828468","1371828543","1371828615","1371828685","1371828754","1371828846"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a982a83d762976e41f7f4c18b1b99659.jpg","text":"TemporaryFile(/tmp/multipartBody7451310080250131639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303799120,"filename":"image_12072025_09_02_43_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c735fabf3d345ee63ba7081656e38859.jpg","text":"TemporaryFile(/tmp/multipartBody4960659249186009802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303799120,"filename":"image_12072025_09_01_53_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c14e947259da7e4443e4d14df8d03c3e.jpg","text":"TemporaryFile(/tmp/multipartBody8989224803551068582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303799120,"filename":"image_12072025_09_02_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9f745425be0387b41b11dd10330fde2.jpg","text":"TemporaryFile(/tmp/multipartBody1692007828903833873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303799120,"filename":"image_12072025_09_02_34_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/345286e17be48544b3dd2f2ccdde14f0.jpg","text":"TemporaryFile(/tmp/multipartBody9097450578255810029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303799120,"filename":"image_12072025_09_02_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1ae7341b0cfce36c98c955d85692f53.jpg","text":"TemporaryFile(/tmp/multipartBody5079084096856390149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303799120,"filename":"image_12072025_09_02_04_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371828615","file1":"1371828543","file0":"1371828468","file4":"1371828754","file5":"1371828846","file3":"1371828685"},"map_files_photo_id_array":[{"photo_id":"1371828846","filename":"file5"},{"photo_id":"1371828615","filename":"file2"},{"photo_id":"1371828754","filename":"file4"},{"photo_id":"1371828543","filename":"file1"},{"photo_id":"1371828468","filename":"file0"},{"photo_id":"1371828685","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371828468":["hashtag1","hashtag2"]},{"1371828846":["hashtag1","hashtag2"]},{"1371828615":["hashtag1","hashtag2"]},{"1371828543":["hashtag1","hashtag2"]},{"1371828685":["hashtag1","hashtag2"]},{"1371828754":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371828468, 1371828846, 1371828615, 1371828543, 1371828685, 1371828754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.681917190551758 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:03:02.965851
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_34_10838.jpg', 2), ('/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_23_9839.jpg', 2), ('/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_13_9871.jpg', 2), ('/home/nano/Desktop/images/10072025/20/08/image_10072025_20_09_03_9706.jpg', 2), ('/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_54_9859.jpg', 2), ('/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_44_10702.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_34_10838.jpg', '/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_23_9839.jpg', '/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_13_9871.jpg', '/home/nano/Desktop/images/10072025/20/08/image_10072025_20_09_03_9706.jpg', '/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_54_9859.jpg', '/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_44_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_34_10838.jpg
/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_23_9839.jpg
/home/nano/Desktop/images/10072025/20/09/image_10072025_20_09_13_9871.jpg
/home/nano/Desktop/images/10072025/20/08/image_10072025_20_09_03_9706.jpg
/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_54_9859.jpg
/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_44_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371829242","1371829196","1371829265","1371829220","1371829171","1371829306"],"photo_ids_order":["1371829171","1371829196","1371829220","1371829242","1371829265","1371829306"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68f2a922527f1776149429dace8708ae.jpg","text":"TemporaryFile(/tmp/multipartBody7357529886161541345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303846662,"filename":"image_10072025_20_09_03_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0bac51583d3d435ad8c421b9a22ede2.jpg","text":"TemporaryFile(/tmp/multipartBody2873108042927388923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303846662,"filename":"image_10072025_20_09_23_9839.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e7eaf670431f6f08cad7d267841653c.jpg","text":"TemporaryFile(/tmp/multipartBody4063017084208862545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303846662,"filename":"image_10072025_20_08_54_9859.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16d3a4a76e00dbf733f9cb9fdaf9bf00.jpg","text":"TemporaryFile(/tmp/multipartBody1272502165210058766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303846662,"filename":"image_10072025_20_09_13_9871.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52e255bd943150697a83e0c2a4a17ab7.jpg","text":"TemporaryFile(/tmp/multipartBody166546039139018826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303846662,"filename":"image_10072025_20_09_34_10838.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/030f23b81f0c7ec968cfd94a981f8fbf.jpg","text":"TemporaryFile(/tmp/multipartBody26798605240067223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303846662,"filename":"image_10072025_20_08_44_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371829220","file1":"1371829196","file0":"1371829171","file4":"1371829265","file5":"1371829306","file3":"1371829242"},"map_files_photo_id_array":[{"photo_id":"1371829306","filename":"file5"},{"photo_id":"1371829220","filename":"file2"},{"photo_id":"1371829265","filename":"file4"},{"photo_id":"1371829196","filename":"file1"},{"photo_id":"1371829171","filename":"file0"},{"photo_id":"1371829242","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371829242":["hashtag1","hashtag2"]},{"1371829196":["hashtag1","hashtag2"]},{"1371829265":["hashtag1","hashtag2"]},{"1371829220":["hashtag1","hashtag2"]},{"1371829171":["hashtag1","hashtag2"]},{"1371829306":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371829242, 1371829196, 1371829265, 1371829220, 1371829171, 1371829306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81225943565369 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:03:47.224161
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_43_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_24_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_13_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/09/02/image_12072025_09_03_04_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_54_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_43_9621.jpg', '/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_34_9610.jpg', '/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_24_10640.jpg', '/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_13_9621.jpg', '/home/nano/Desktop/images/12072025/09/02/image_12072025_09_03_04_9624.jpg', '/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_54_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_43_9621.jpg
/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_34_9610.jpg
/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_24_10640.jpg
/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_13_9621.jpg
/home/nano/Desktop/images/12072025/09/02/image_12072025_09_03_04_9624.jpg
/home/nano/Desktop/images/12072025/09/02/image_12072025_09_02_54_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371829425","1371829515","1371829433","1371829570","1371829474","1371829441"],"photo_ids_order":["1371829425","1371829433","1371829441","1371829474","1371829515","1371829570"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4900260a1857d5b47cc0f314fdcaba85.jpg","text":"TemporaryFile(/tmp/multipartBody4516872474560278080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303888504,"filename":"image_12072025_09_03_43_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7928b8157409281448a39f5fe8a60146.jpg","text":"TemporaryFile(/tmp/multipartBody1401048425857642190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303888504,"filename":"image_12072025_09_03_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5eccea2c0e391df1c4600bcf52c4d8d5.jpg","text":"TemporaryFile(/tmp/multipartBody6061529355175963046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303888504,"filename":"image_12072025_09_03_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/280f5e4884d9fc0c1fe6743762f631e3.jpg","text":"TemporaryFile(/tmp/multipartBody864552908795024239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303888504,"filename":"image_12072025_09_02_54_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9eaaf5f361797996b0baf740ff08546.jpg","text":"TemporaryFile(/tmp/multipartBody7601997645829054028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303888504,"filename":"image_12072025_09_03_13_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01c35d0826078c9d37bde30c172729d2.jpg","text":"TemporaryFile(/tmp/multipartBody4822389741024595190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303888504,"filename":"image_12072025_09_03_24_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371829441","file1":"1371829433","file0":"1371829425","file4":"1371829515","file5":"1371829570","file3":"1371829474"},"map_files_photo_id_array":[{"photo_id":"1371829570","filename":"file5"},{"photo_id":"1371829441","filename":"file2"},{"photo_id":"1371829515","filename":"file4"},{"photo_id":"1371829433","filename":"file1"},{"photo_id":"1371829425","filename":"file0"},{"photo_id":"1371829474","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371829425":["hashtag1","hashtag2"]},{"1371829515":["hashtag1","hashtag2"]},{"1371829433":["hashtag1","hashtag2"]},{"1371829570":["hashtag1","hashtag2"]},{"1371829474":["hashtag1","hashtag2"]},{"1371829441":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371829425, 1371829515, 1371829433, 1371829570, 1371829474, 1371829441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82923436164856 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:04:32.351806
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_44_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_33_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_24_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_13_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/09/03/image_12072025_09_04_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_54_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_44_10627.jpg', '/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_33_9605.jpg', '/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_24_10630.jpg', '/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_13_9649.jpg', '/home/nano/Desktop/images/12072025/09/03/image_12072025_09_04_03_9654.jpg', '/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_44_10627.jpg
/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_33_9605.jpg
/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_24_10630.jpg
/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_13_9649.jpg
/home/nano/Desktop/images/12072025/09/03/image_12072025_09_04_03_9654.jpg
/home/nano/Desktop/images/12072025/09/03/image_12072025_09_03_54_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371829749","1371829758","1371829762","1371829756","1371829849","1371829801"],"photo_ids_order":["1371829749","1371829756","1371829758","1371829762","1371829801","1371829849"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/860b1d10c024074a0bd21ff352d6a692.jpg","text":"TemporaryFile(/tmp/multipartBody2129717833950989907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303933836,"filename":"image_12072025_09_04_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/366902279d82287411470e41935c294e.jpg","text":"TemporaryFile(/tmp/multipartBody6732090477610774890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303933836,"filename":"image_12072025_09_04_24_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b74b3e55b40cfa82b609030756add5b.jpg","text":"TemporaryFile(/tmp/multipartBody7974478343223321866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303933836,"filename":"image_12072025_09_04_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad175b1d884c55c64cec41546e29a05e.jpg","text":"TemporaryFile(/tmp/multipartBody2732467850164278909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303933836,"filename":"image_12072025_09_04_33_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de954cb9f6e863f4873ab04b6ffebdb6.jpg","text":"TemporaryFile(/tmp/multipartBody2921786752761069406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303933836,"filename":"image_12072025_09_03_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c2a59097ce956f803faed5dbabb30e9.jpg","text":"TemporaryFile(/tmp/multipartBody4419520580071898621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303933836,"filename":"image_12072025_09_04_03_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371829758","file1":"1371829756","file0":"1371829749","file4":"1371829801","file5":"1371829849","file3":"1371829762"},"map_files_photo_id_array":[{"photo_id":"1371829849","filename":"file5"},{"photo_id":"1371829758","filename":"file2"},{"photo_id":"1371829801","filename":"file4"},{"photo_id":"1371829756","filename":"file1"},{"photo_id":"1371829749","filename":"file0"},{"photo_id":"1371829762","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371829749":["hashtag1","hashtag2"]},{"1371829758":["hashtag1","hashtag2"]},{"1371829762":["hashtag1","hashtag2"]},{"1371829756":["hashtag1","hashtag2"]},{"1371829849":["hashtag1","hashtag2"]},{"1371829801":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371829749, 1371829758, 1371829762, 1371829756, 1371829849, 1371829801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66252017021179 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:05:17.493552
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_44_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_23_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_14_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/09/04/image_12072025_09_05_03_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_44_10627.jpg', '/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_33_9615.jpg', '/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_23_9625.jpg', '/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_14_10642.jpg', '/home/nano/Desktop/images/12072025/09/04/image_12072025_09_05_03_9649.jpg', '/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_44_10627.jpg
/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_33_9615.jpg
/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_23_9625.jpg
/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_14_10642.jpg
/home/nano/Desktop/images/12072025/09/04/image_12072025_09_05_03_9649.jpg
/home/nano/Desktop/images/12072025/09/04/image_12072025_09_04_54_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371830425","1371830193","1371830424","1371830346","1371830399","1371830267"],"photo_ids_order":["1371830193","1371830267","1371830346","1371830399","1371830424","1371830425"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc57e5f741af883f3d09c3b3fae503e7.jpg","text":"TemporaryFile(/tmp/multipartBody8036023066128258614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303978980,"filename":"image_12072025_09_04_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1383b9bf468cc796df387cbb5a0fba6a.jpg","text":"TemporaryFile(/tmp/multipartBody3927238190161733406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303978980,"filename":"image_12072025_09_05_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fffb2bd8a281e3a4a3e731769683647a.jpg","text":"TemporaryFile(/tmp/multipartBody1298837700325613349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303978980,"filename":"image_12072025_09_05_03_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f260c21574cd6d1bc052073f7dd0ee6d.jpg","text":"TemporaryFile(/tmp/multipartBody6151850426933762649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303978980,"filename":"image_12072025_09_05_23_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc3174fe5de50ee7fb4cf5d54d99084c.jpg","text":"TemporaryFile(/tmp/multipartBody1485233996611734800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303978980,"filename":"image_12072025_09_05_14_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4b1314a53a3507d14885fe4bbb05cde.jpg","text":"TemporaryFile(/tmp/multipartBody8222947836878439463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752303978980,"filename":"image_12072025_09_05_33_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371830346","file1":"1371830267","file0":"1371830193","file4":"1371830424","file5":"1371830425","file3":"1371830399"},"map_files_photo_id_array":[{"photo_id":"1371830425","filename":"file5"},{"photo_id":"1371830346","filename":"file2"},{"photo_id":"1371830424","filename":"file4"},{"photo_id":"1371830267","filename":"file1"},{"photo_id":"1371830193","filename":"file0"},{"photo_id":"1371830399","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371830425":["hashtag1","hashtag2"]},{"1371830193":["hashtag1","hashtag2"]},{"1371830424":["hashtag1","hashtag2"]},{"1371830346":["hashtag1","hashtag2"]},{"1371830399":["hashtag1","hashtag2"]},{"1371830267":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371830425, 1371830193, 1371830424, 1371830346, 1371830399, 1371830267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53265142440796 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:06:03.045001
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_33_9823.jpg', 2), ('/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_23_9806.jpg', 2), ('/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_14_9748.jpg', 2), ('/home/nano/Desktop/images/10072025/20/07/image_10072025_20_08_04_9800.jpg', 2), ('/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_54_10816.jpg', 2), ('/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_43_9806.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_33_9823.jpg', '/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_23_9806.jpg', '/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_14_9748.jpg', '/home/nano/Desktop/images/10072025/20/07/image_10072025_20_08_04_9800.jpg', '/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_54_10816.jpg', '/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_43_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_33_9823.jpg
/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_23_9806.jpg
/home/nano/Desktop/images/10072025/20/08/image_10072025_20_08_14_9748.jpg
/home/nano/Desktop/images/10072025/20/07/image_10072025_20_08_04_9800.jpg
/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_54_10816.jpg
/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_43_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371830697","1371830670","1371830619","1371830675","1371830566","1371830653"],"photo_ids_order":["1371830566","1371830619","1371830653","1371830670","1371830675","1371830697"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/311d5dfb96f5515d2b18b7d5a5551636.jpg","text":"TemporaryFile(/tmp/multipartBody4603198401310044402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304026881,"filename":"image_10072025_20_07_43_9806.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c18d15554b42ee48a5429f8d13ed534.jpg","text":"TemporaryFile(/tmp/multipartBody8621786190986219921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304026881,"filename":"image_10072025_20_08_04_9800.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2b5038e33a7122dbb650223889892d3.jpg","text":"TemporaryFile(/tmp/multipartBody4144733758756082556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304026881,"filename":"image_10072025_20_08_23_9806.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a9cf79d54e0f7adb14970c38c0a9e08.jpg","text":"TemporaryFile(/tmp/multipartBody7656903527819441444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304026881,"filename":"image_10072025_20_07_54_10816.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/512386918c4fccffb0fe85f0db3109a4.jpg","text":"TemporaryFile(/tmp/multipartBody3421572066967149285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304026881,"filename":"image_10072025_20_08_33_9823.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/554f3f91a63fe9adcda664b3a7cb1368.jpg","text":"TemporaryFile(/tmp/multipartBody191606109348136102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304026881,"filename":"image_10072025_20_08_14_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371830653","file1":"1371830619","file0":"1371830566","file4":"1371830675","file5":"1371830697","file3":"1371830670"},"map_files_photo_id_array":[{"photo_id":"1371830697","filename":"file5"},{"photo_id":"1371830653","filename":"file2"},{"photo_id":"1371830675","filename":"file4"},{"photo_id":"1371830619","filename":"file1"},{"photo_id":"1371830566","filename":"file0"},{"photo_id":"1371830670","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371830697":["hashtag1","hashtag2"]},{"1371830670":["hashtag1","hashtag2"]},{"1371830619":["hashtag1","hashtag2"]},{"1371830675":["hashtag1","hashtag2"]},{"1371830566":["hashtag1","hashtag2"]},{"1371830653":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371830697, 1371830670, 1371830619, 1371830675, 1371830566, 1371830653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65578532218933 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:06:47.561253
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_43_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_34_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_23_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_14_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/09/05/image_12072025_09_06_04_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_53_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_43_9622.jpg', '/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_34_10655.jpg', '/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_23_9610.jpg', '/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_14_9629.jpg', '/home/nano/Desktop/images/12072025/09/05/image_12072025_09_06_04_10623.jpg', '/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_53_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_43_9622.jpg
/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_34_10655.jpg
/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_23_9610.jpg
/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_14_9629.jpg
/home/nano/Desktop/images/12072025/09/05/image_12072025_09_06_04_10623.jpg
/home/nano/Desktop/images/12072025/09/05/image_12072025_09_05_53_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371831033","1371830985","1371831334","1371831115","1371831217","1371831010"],"photo_ids_order":["1371830985","1371831010","1371831033","1371831115","1371831217","1371831334"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90b0952f85d1d767d4ca9fb562d569ef.jpg","text":"TemporaryFile(/tmp/multipartBody3575637157300267005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304069014,"filename":"image_12072025_09_06_23_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ce3c96e8ed4528625d35a8111f06d77.jpg","text":"TemporaryFile(/tmp/multipartBody4691761857564684013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304069014,"filename":"image_12072025_09_06_43_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51c2d3389e20e7a884ccb9ccc7f87e6b.jpg","text":"TemporaryFile(/tmp/multipartBody6706654974807360159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304069014,"filename":"image_12072025_09_05_53_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5988367efcea0f80da6a40e24e8199eb.jpg","text":"TemporaryFile(/tmp/multipartBody5850526278413731007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304069014,"filename":"image_12072025_09_06_14_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08c4c28e29973dfd89ca67776f25a139.jpg","text":"TemporaryFile(/tmp/multipartBody8340978826210684861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304069014,"filename":"image_12072025_09_06_04_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85b7a0cde88454b7100ac7f1d1932dc5.jpg","text":"TemporaryFile(/tmp/multipartBody3360583831883401590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304069014,"filename":"image_12072025_09_06_34_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371831033","file1":"1371831010","file0":"1371830985","file4":"1371831217","file5":"1371831334","file3":"1371831115"},"map_files_photo_id_array":[{"photo_id":"1371831334","filename":"file5"},{"photo_id":"1371831033","filename":"file2"},{"photo_id":"1371831217","filename":"file4"},{"photo_id":"1371831010","filename":"file1"},{"photo_id":"1371830985","filename":"file0"},{"photo_id":"1371831115","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371831033":["hashtag1","hashtag2"]},{"1371830985":["hashtag1","hashtag2"]},{"1371831334":["hashtag1","hashtag2"]},{"1371831115":["hashtag1","hashtag2"]},{"1371831217":["hashtag1","hashtag2"]},{"1371831010":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371831033, 1371830985, 1371831334, 1371831115, 1371831217, 1371831010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14733839035034 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:07:32.678936
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_44_10810.jpg', 2), ('/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_33_9790.jpg', 2), ('/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_23_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_14_9833.jpg', 2), ('/home/nano/Desktop/images/12072025/09/06/image_12072025_09_07_04_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_53_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_44_10810.jpg', '/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_33_9790.jpg', '/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_23_9671.jpg', '/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_14_9833.jpg', '/home/nano/Desktop/images/12072025/09/06/image_12072025_09_07_04_10667.jpg', '/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_53_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_44_10810.jpg
/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_33_9790.jpg
/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_23_9671.jpg
/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_14_9833.jpg
/home/nano/Desktop/images/12072025/09/06/image_12072025_09_07_04_10667.jpg
/home/nano/Desktop/images/12072025/09/06/image_12072025_09_06_53_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371831828","1371832001","1371831953","1371831880","1371832086","1371832035"],"photo_ids_order":["1371831828","1371831880","1371831953","1371832001","1371832035","1371832086"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a70ab3b303c29e9847a15562b18e8fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5131003175030938769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304114551,"filename":"image_12072025_09_07_44_10810.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b18064f70f45fb1de6bf3b710126558d.jpg","text":"TemporaryFile(/tmp/multipartBody6852500197501699405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304114551,"filename":"image_12072025_09_07_14_9833.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70d669e6f991c26ce88213af2271992b.jpg","text":"TemporaryFile(/tmp/multipartBody3874398745391594369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304114551,"filename":"image_12072025_09_07_23_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7aca67ad653fc25b5492d26fe8adedc2.jpg","text":"TemporaryFile(/tmp/multipartBody6813807599636326816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304114551,"filename":"image_12072025_09_07_33_9790.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8a1c7210a2fab717b3e56068c485af4.jpg","text":"TemporaryFile(/tmp/multipartBody351236903397932162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304114551,"filename":"image_12072025_09_06_53_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a88168bea8088e7932edab24cf1524f.jpg","text":"TemporaryFile(/tmp/multipartBody4435736973990428862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304114551,"filename":"image_12072025_09_07_04_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371831953","file1":"1371831880","file0":"1371831828","file4":"1371832035","file5":"1371832086","file3":"1371832001"},"map_files_photo_id_array":[{"photo_id":"1371832086","filename":"file5"},{"photo_id":"1371831953","filename":"file2"},{"photo_id":"1371832035","filename":"file4"},{"photo_id":"1371831880","filename":"file1"},{"photo_id":"1371831828","filename":"file0"},{"photo_id":"1371832001","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371831828":["hashtag1","hashtag2"]},{"1371832001":["hashtag1","hashtag2"]},{"1371831953":["hashtag1","hashtag2"]},{"1371831880":["hashtag1","hashtag2"]},{"1371832086":["hashtag1","hashtag2"]},{"1371832035":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371831828, 1371832001, 1371831953, 1371831880, 1371832086, 1371832035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.612194299697876 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:08:16.846567
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_43_9879.jpg', 2), ('/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_34_9833.jpg', 2), ('/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_24_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_13_9701.jpg', 2), ('/home/nano/Desktop/images/12072025/09/07/image_12072025_09_08_03_9760.jpg', 2), ('/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_54_9711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_43_9879.jpg', '/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_34_9833.jpg', '/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_24_10646.jpg', '/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_13_9701.jpg', '/home/nano/Desktop/images/12072025/09/07/image_12072025_09_08_03_9760.jpg', '/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_54_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_43_9879.jpg
/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_34_9833.jpg
/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_24_10646.jpg
/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_13_9701.jpg
/home/nano/Desktop/images/12072025/09/07/image_12072025_09_08_03_9760.jpg
/home/nano/Desktop/images/12072025/09/07/image_12072025_09_07_54_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371832388","1371832469","1371832337","1371832441","1371832363","1371832413"],"photo_ids_order":["1371832337","1371832363","1371832388","1371832413","1371832441","1371832469"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d89fd182afbf331b9bff93638ad82637.jpg","text":"TemporaryFile(/tmp/multipartBody437122186255549480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304158878,"filename":"image_12072025_09_08_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2efc8ad7628f3207b43442705c299742.jpg","text":"TemporaryFile(/tmp/multipartBody7928140394906588857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304158878,"filename":"image_12072025_09_07_54_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3360ed095b7f4366cb1cbc6ff0d0a314.jpg","text":"TemporaryFile(/tmp/multipartBody2638125941311770288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304158878,"filename":"image_12072025_09_08_43_9879.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2add14b7f3ce487d85e7909fc73c894.jpg","text":"TemporaryFile(/tmp/multipartBody7975384283462890042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304158878,"filename":"image_12072025_09_08_03_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01067d71ab9e39095af0794a08cd5bfe.jpg","text":"TemporaryFile(/tmp/multipartBody5601788858482607501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304158878,"filename":"image_12072025_09_08_34_9833.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1269f3153e35544da8cad65e5ae74d52.jpg","text":"TemporaryFile(/tmp/multipartBody3050762163375770975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304158878,"filename":"image_12072025_09_08_13_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371832388","file1":"1371832363","file0":"1371832337","file4":"1371832441","file5":"1371832469","file3":"1371832413"},"map_files_photo_id_array":[{"photo_id":"1371832469","filename":"file5"},{"photo_id":"1371832388","filename":"file2"},{"photo_id":"1371832441","filename":"file4"},{"photo_id":"1371832363","filename":"file1"},{"photo_id":"1371832337","filename":"file0"},{"photo_id":"1371832413","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371832388":["hashtag1","hashtag2"]},{"1371832469":["hashtag1","hashtag2"]},{"1371832337":["hashtag1","hashtag2"]},{"1371832441":["hashtag1","hashtag2"]},{"1371832363":["hashtag1","hashtag2"]},{"1371832413":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371832388, 1371832469, 1371832337, 1371832441, 1371832363, 1371832413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65021777153015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:09:02.783354
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_33_9792.jpg', 2), ('/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_24_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_14_10649.jpg', 2), ('/home/nano/Desktop/images/10072025/20/06/image_10072025_20_07_03_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_54_9696.jpg', 2), ('/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_44_10609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_33_9792.jpg', '/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_24_9634.jpg', '/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_14_10649.jpg', '/home/nano/Desktop/images/10072025/20/06/image_10072025_20_07_03_9637.jpg', '/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_54_9696.jpg', '/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_44_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_33_9792.jpg
/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_24_9634.jpg
/home/nano/Desktop/images/10072025/20/07/image_10072025_20_07_14_10649.jpg
/home/nano/Desktop/images/10072025/20/06/image_10072025_20_07_03_9637.jpg
/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_54_9696.jpg
/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_44_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371832716","1371832691","1371832640","1371832741","1371832767","1371832665"],"photo_ids_order":["1371832640","1371832665","1371832691","1371832716","1371832741","1371832767"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc59c852bcac90681002ad40efb59d2c.jpg","text":"TemporaryFile(/tmp/multipartBody5019343568484756550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304205813,"filename":"image_10072025_20_07_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40078848f6e851a52b6b47b1adad14e3.jpg","text":"TemporaryFile(/tmp/multipartBody4261975398396611972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304205813,"filename":"image_10072025_20_07_14_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ada4057952beab05f986ed4e78bf839.jpg","text":"TemporaryFile(/tmp/multipartBody1015160905861847347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304205813,"filename":"image_10072025_20_07_33_9792.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fbd4c9cfbf4ddf59767ee0c276d247ca.jpg","text":"TemporaryFile(/tmp/multipartBody1933323713770736154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304205813,"filename":"image_10072025_20_06_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a69d31dd0bfb27775c2b8c7b56569402.jpg","text":"TemporaryFile(/tmp/multipartBody9186113062888295147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304205813,"filename":"image_10072025_20_06_44_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe0cd7f811a45bdfc213c58c452b27c2.jpg","text":"TemporaryFile(/tmp/multipartBody3231095466709041396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304205813,"filename":"image_10072025_20_07_24_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371832691","file1":"1371832665","file0":"1371832640","file4":"1371832741","file5":"1371832767","file3":"1371832716"},"map_files_photo_id_array":[{"photo_id":"1371832767","filename":"file5"},{"photo_id":"1371832691","filename":"file2"},{"photo_id":"1371832741","filename":"file4"},{"photo_id":"1371832665","filename":"file1"},{"photo_id":"1371832640","filename":"file0"},{"photo_id":"1371832716","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371832716":["hashtag1","hashtag2"]},{"1371832691":["hashtag1","hashtag2"]},{"1371832640":["hashtag1","hashtag2"]},{"1371832741":["hashtag1","hashtag2"]},{"1371832767":["hashtag1","hashtag2"]},{"1371832665":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371832716, 1371832691, 1371832640, 1371832741, 1371832767, 1371832665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79135322570801 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:09:46.968984
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_43_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_33_9708.jpg', 2), ('/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_24_9839.jpg', 2), ('/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_14_10759.jpg', 2), ('/home/nano/Desktop/images/12072025/09/08/image_12072025_09_09_03_9865.jpg', 2), ('/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_53_9882.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_43_9666.jpg', '/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_33_9708.jpg', '/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_24_9839.jpg', '/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_14_10759.jpg', '/home/nano/Desktop/images/12072025/09/08/image_12072025_09_09_03_9865.jpg', '/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_53_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_43_9666.jpg
/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_33_9708.jpg
/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_24_9839.jpg
/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_14_10759.jpg
/home/nano/Desktop/images/12072025/09/08/image_12072025_09_09_03_9865.jpg
/home/nano/Desktop/images/12072025/09/08/image_12072025_09_08_53_9882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371833561","1371833147","1371833665","1371833041","1371833434","1371833286"],"photo_ids_order":["1371833041","1371833147","1371833286","1371833434","1371833561","1371833665"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00a03714e780c09f04c9a52a58a047b8.jpg","text":"TemporaryFile(/tmp/multipartBody3415195939537149690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304249900,"filename":"image_12072025_09_09_03_9865.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/492857ef852980a6d969b8b5ada80a08.jpg","text":"TemporaryFile(/tmp/multipartBody3361322482938821063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304249900,"filename":"image_12072025_09_09_33_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57169c0a4903ac3b2653033dfff93105.jpg","text":"TemporaryFile(/tmp/multipartBody6553979454425563284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304249900,"filename":"image_12072025_09_08_53_9882.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b27167f9cdaaf86d8ac9eeb1d491ace4.jpg","text":"TemporaryFile(/tmp/multipartBody7033159544596864673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304249900,"filename":"image_12072025_09_09_43_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da45a665ff6ed7ec91536d894165825f.jpg","text":"TemporaryFile(/tmp/multipartBody6110202550903742436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304249900,"filename":"image_12072025_09_09_14_10759.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e46f81d2a0f87efe65b9b7548c38945.jpg","text":"TemporaryFile(/tmp/multipartBody5190772899640705339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304249900,"filename":"image_12072025_09_09_24_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371833286","file1":"1371833147","file0":"1371833041","file4":"1371833561","file5":"1371833665","file3":"1371833434"},"map_files_photo_id_array":[{"photo_id":"1371833665","filename":"file5"},{"photo_id":"1371833286","filename":"file2"},{"photo_id":"1371833561","filename":"file4"},{"photo_id":"1371833147","filename":"file1"},{"photo_id":"1371833041","filename":"file0"},{"photo_id":"1371833434","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371833561":["hashtag1","hashtag2"]},{"1371833147":["hashtag1","hashtag2"]},{"1371833665":["hashtag1","hashtag2"]},{"1371833041":["hashtag1","hashtag2"]},{"1371833434":["hashtag1","hashtag2"]},{"1371833286":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371833561, 1371833147, 1371833665, 1371833041, 1371833434, 1371833286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.367966175079346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:10:32.068416
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_44_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_33_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_24_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_13_9684.jpg', 2), ('/home/nano/Desktop/images/12072025/09/09/image_12072025_09_10_04_9695.jpg', 2), ('/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_54_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_44_10631.jpg', '/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_33_9597.jpg', '/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_24_10634.jpg', '/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_13_9684.jpg', '/home/nano/Desktop/images/12072025/09/09/image_12072025_09_10_04_9695.jpg', '/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_54_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_44_10631.jpg
/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_33_9597.jpg
/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_24_10634.jpg
/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_13_9684.jpg
/home/nano/Desktop/images/12072025/09/09/image_12072025_09_10_04_9695.jpg
/home/nano/Desktop/images/12072025/09/09/image_12072025_09_09_54_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371833816","1371833887","1371833863","1371833824","1371833818","1371833850"],"photo_ids_order":["1371833816","1371833818","1371833824","1371833850","1371833863","1371833887"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d33440839f5c8d0c7564bde02231d1f2.jpg","text":"TemporaryFile(/tmp/multipartBody8495906723606650132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304293401,"filename":"image_12072025_09_10_44_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b087bc4d19ddb018cd1f4530ae9cfe02.jpg","text":"TemporaryFile(/tmp/multipartBody3748873885484961412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304293401,"filename":"image_12072025_09_09_54_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/930243e29d5d38ae19c76fb2425a6782.jpg","text":"TemporaryFile(/tmp/multipartBody1263221876291479485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304293401,"filename":"image_12072025_09_10_04_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14cf70ed1844e52ad542b35f37a12ea5.jpg","text":"TemporaryFile(/tmp/multipartBody4398807274288763919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304293401,"filename":"image_12072025_09_10_24_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/334652fc8d43b847a1469768017af666.jpg","text":"TemporaryFile(/tmp/multipartBody3681029986481164943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304293401,"filename":"image_12072025_09_10_33_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0ab167b13bd829937c188970f3a6348.jpg","text":"TemporaryFile(/tmp/multipartBody1766029141122541046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304293401,"filename":"image_12072025_09_10_13_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371833824","file1":"1371833818","file0":"1371833816","file4":"1371833863","file5":"1371833887","file3":"1371833850"},"map_files_photo_id_array":[{"photo_id":"1371833887","filename":"file5"},{"photo_id":"1371833824","filename":"file2"},{"photo_id":"1371833863","filename":"file4"},{"photo_id":"1371833818","filename":"file1"},{"photo_id":"1371833816","filename":"file0"},{"photo_id":"1371833850","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371833816":["hashtag1","hashtag2"]},{"1371833887":["hashtag1","hashtag2"]},{"1371833863":["hashtag1","hashtag2"]},{"1371833824":["hashtag1","hashtag2"]},{"1371833818":["hashtag1","hashtag2"]},{"1371833850":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371833816, 1371833887, 1371833863, 1371833824, 1371833818, 1371833850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24467372894287 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:11:17.154839
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_44_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_33_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_23_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_14_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/09/10/image_12072025_09_11_03_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_44_10612.jpg', '/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_33_9603.jpg', '/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_23_9605.jpg', '/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_14_10627.jpg', '/home/nano/Desktop/images/12072025/09/10/image_12072025_09_11_03_9602.jpg', '/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_44_10612.jpg
/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_33_9603.jpg
/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_23_9605.jpg
/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_14_10627.jpg
/home/nano/Desktop/images/12072025/09/10/image_12072025_09_11_03_9602.jpg
/home/nano/Desktop/images/12072025/09/10/image_12072025_09_10_54_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371834317","1371834001","1371834051","1371834153","1371834380","1371834233"],"photo_ids_order":["1371834001","1371834051","1371834153","1371834233","1371834317","1371834380"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2752f5f473939e8a1bf310c5e76d9c46.jpg","text":"TemporaryFile(/tmp/multipartBody5151127349955463080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304338362,"filename":"image_12072025_09_11_03_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6c9d9e79885576cc5d6b099da88400b.jpg","text":"TemporaryFile(/tmp/multipartBody2961830140479308468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304338362,"filename":"image_12072025_09_11_44_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c67e6f526d24bb09b975848167af5a86.jpg","text":"TemporaryFile(/tmp/multipartBody274598111287031747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304338362,"filename":"image_12072025_09_11_33_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54d3ef8e4abe2de6f9e9297a08fd5db5.jpg","text":"TemporaryFile(/tmp/multipartBody8210168060326738282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304338362,"filename":"image_12072025_09_11_23_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98991f71a24b14644be6615aa8140ed9.jpg","text":"TemporaryFile(/tmp/multipartBody4072784379003764057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304338362,"filename":"image_12072025_09_10_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f4865b845b0bdff80c8bb3571004ef0.jpg","text":"TemporaryFile(/tmp/multipartBody1257733684622202967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304338362,"filename":"image_12072025_09_11_14_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371834153","file1":"1371834051","file0":"1371834001","file4":"1371834317","file5":"1371834380","file3":"1371834233"},"map_files_photo_id_array":[{"photo_id":"1371834380","filename":"file5"},{"photo_id":"1371834153","filename":"file2"},{"photo_id":"1371834317","filename":"file4"},{"photo_id":"1371834051","filename":"file1"},{"photo_id":"1371834001","filename":"file0"},{"photo_id":"1371834233","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371834317":["hashtag1","hashtag2"]},{"1371834001":["hashtag1","hashtag2"]},{"1371834051":["hashtag1","hashtag2"]},{"1371834153":["hashtag1","hashtag2"]},{"1371834380":["hashtag1","hashtag2"]},{"1371834233":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371834317, 1371834001, 1371834051, 1371834153, 1371834380, 1371834233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86945652961731 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:12:02.852471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_33_9603.jpg', 2), ('/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_24_10611.jpg', 2), ('/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_13_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/20/05/image_10072025_20_06_04_9601.jpg', 2), ('/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_54_10615.jpg', 2), ('/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_43_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_33_9603.jpg', '/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_24_10611.jpg', '/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_13_9616.jpg', '/home/nano/Desktop/images/10072025/20/05/image_10072025_20_06_04_9601.jpg', '/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_54_10615.jpg', '/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_43_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_33_9603.jpg
/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_24_10611.jpg
/home/nano/Desktop/images/10072025/20/06/image_10072025_20_06_13_9616.jpg
/home/nano/Desktop/images/10072025/20/05/image_10072025_20_06_04_9601.jpg
/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_54_10615.jpg
/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_43_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371834707","1371834843","1371834951","1371834596","1371835001","1371834902"],"photo_ids_order":["1371834596","1371834707","1371834843","1371834902","1371834951","1371835001"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ae59353895eaf5579a3e1d5f2e04bdd.jpg","text":"TemporaryFile(/tmp/multipartBody5009354819383579432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304385435,"filename":"image_10072025_20_06_24_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33159803dc4b39bb9f26c05ea60e7e78.jpg","text":"TemporaryFile(/tmp/multipartBody3142481889817959928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304385435,"filename":"image_10072025_20_06_13_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35e425e5e1dac10c2576f3c32690c33e.jpg","text":"TemporaryFile(/tmp/multipartBody720125701188371823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304385435,"filename":"image_10072025_20_05_54_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3ba8032ddeebc35d78e71ddc685dd0b.jpg","text":"TemporaryFile(/tmp/multipartBody8754213345927738321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304385435,"filename":"image_10072025_20_06_33_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/122271fadf6f283587c6339e38475f2c.jpg","text":"TemporaryFile(/tmp/multipartBody5766331877094222958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304385435,"filename":"image_10072025_20_05_43_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22b204eab8f16e84279bdcb43e40ff71.jpg","text":"TemporaryFile(/tmp/multipartBody3668599805663372647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304385435,"filename":"image_10072025_20_06_04_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371834843","file1":"1371834707","file0":"1371834596","file4":"1371834951","file5":"1371835001","file3":"1371834902"},"map_files_photo_id_array":[{"photo_id":"1371835001","filename":"file5"},{"photo_id":"1371834843","filename":"file2"},{"photo_id":"1371834951","filename":"file4"},{"photo_id":"1371834707","filename":"file1"},{"photo_id":"1371834596","filename":"file0"},{"photo_id":"1371834902","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371834707":["hashtag1","hashtag2"]},{"1371834843":["hashtag1","hashtag2"]},{"1371834951":["hashtag1","hashtag2"]},{"1371834596":["hashtag1","hashtag2"]},{"1371835001":["hashtag1","hashtag2"]},{"1371834902":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371834707, 1371834843, 1371834951, 1371834596, 1371835001, 1371834902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56838321685791 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:12:47.260746
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_43_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_34_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_23_9594.jpg', 2), ('/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_14_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/09/11/image_12072025_09_12_04_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_53_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_43_9599.jpg', '/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_34_10612.jpg', '/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_23_9594.jpg', '/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_14_9638.jpg', '/home/nano/Desktop/images/12072025/09/11/image_12072025_09_12_04_10615.jpg', '/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_53_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_43_9599.jpg
/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_34_10612.jpg
/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_23_9594.jpg
/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_14_9638.jpg
/home/nano/Desktop/images/12072025/09/11/image_12072025_09_12_04_10615.jpg
/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_53_9607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.173435926437378 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:13:03.012935
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_43_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_34_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_23_9594.jpg', 2), ('/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_14_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/09/11/image_12072025_09_12_04_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_53_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_43_9599.jpg', '/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_34_10612.jpg', '/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_23_9594.jpg', '/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_14_9638.jpg', '/home/nano/Desktop/images/12072025/09/11/image_12072025_09_12_04_10615.jpg', '/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_53_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_43_9599.jpg
/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_34_10612.jpg
/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_23_9594.jpg
/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_14_9638.jpg
/home/nano/Desktop/images/12072025/09/11/image_12072025_09_12_04_10615.jpg
/home/nano/Desktop/images/12072025/09/11/image_12072025_09_11_53_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371835825","1371835462","1371835929","1371835592","1371835868","1371835730"],"photo_ids_order":["1371835462","1371835592","1371835730","1371835825","1371835868","1371835929"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f395645d32a825d41eaf0f3fa635a60.jpg","text":"TemporaryFile(/tmp/multipartBody4282734882166322977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304444013,"filename":"image_12072025_09_12_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0784c61c2289f475d870ac11610fbf25.jpg","text":"TemporaryFile(/tmp/multipartBody3574208281490658879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304444013,"filename":"image_12072025_09_12_43_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7972242b71e796eca1ce9e068d501151.jpg","text":"TemporaryFile(/tmp/multipartBody5383203304252054895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304444013,"filename":"image_12072025_09_11_53_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35ef00609cb5133c46f12ea6009199eb.jpg","text":"TemporaryFile(/tmp/multipartBody8359559385771073697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304444013,"filename":"image_12072025_09_12_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a65fddaa52183881ffd4f1618b7e4e9.jpg","text":"TemporaryFile(/tmp/multipartBody7436294982679986507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304444013,"filename":"image_12072025_09_12_04_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c7ba683c3debdc5f3a57d00e2db4959.jpg","text":"TemporaryFile(/tmp/multipartBody6234678933271090212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304444013,"filename":"image_12072025_09_12_23_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371835730","file1":"1371835592","file0":"1371835462","file4":"1371835868","file5":"1371835929","file3":"1371835825"},"map_files_photo_id_array":[{"photo_id":"1371835929","filename":"file5"},{"photo_id":"1371835730","filename":"file2"},{"photo_id":"1371835868","filename":"file4"},{"photo_id":"1371835592","filename":"file1"},{"photo_id":"1371835462","filename":"file0"},{"photo_id":"1371835825","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371835825":["hashtag1","hashtag2"]},{"1371835462":["hashtag1","hashtag2"]},{"1371835929":["hashtag1","hashtag2"]},{"1371835592":["hashtag1","hashtag2"]},{"1371835868":["hashtag1","hashtag2"]},{"1371835730":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371835825, 1371835462, 1371835929, 1371835592, 1371835868, 1371835730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96998119354248 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:13:47.401588
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_43_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_33_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_24_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_13_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/09/12/image_12072025_09_13_04_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_54_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_43_9603.jpg', '/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_33_9600.jpg', '/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_24_10612.jpg', '/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_13_9626.jpg', '/home/nano/Desktop/images/12072025/09/12/image_12072025_09_13_04_9650.jpg', '/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_54_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_43_9603.jpg
/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_33_9600.jpg
/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_24_10612.jpg
/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_13_9626.jpg
/home/nano/Desktop/images/12072025/09/12/image_12072025_09_13_04_9650.jpg
/home/nano/Desktop/images/12072025/09/12/image_12072025_09_12_54_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371836230","1371836256","1371836250","1371836217","1371836219","1371836201"],"photo_ids_order":["1371836201","1371836217","1371836219","1371836230","1371836250","1371836256"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e12fa2d3e2514e65d179ce1a14b5862f.jpg","text":"TemporaryFile(/tmp/multipartBody1214683593777365534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304488618,"filename":"image_12072025_09_13_13_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de73119029871eaeb4f6655ec6430ea0.jpg","text":"TemporaryFile(/tmp/multipartBody5360688346969455773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304488618,"filename":"image_12072025_09_12_54_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f602eb9cf6e56593b0b15ef24fe25d47.jpg","text":"TemporaryFile(/tmp/multipartBody46937437842868877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304488618,"filename":"image_12072025_09_13_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d58b3901aeafdaaaf6e4190b99ec60be.jpg","text":"TemporaryFile(/tmp/multipartBody7864772477717881880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304488618,"filename":"image_12072025_09_13_33_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46d095947605c886ad8f4a3a0e1e15ac.jpg","text":"TemporaryFile(/tmp/multipartBody2077656201224491275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304488618,"filename":"image_12072025_09_13_24_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31484497d965050836b6acadc3637454.jpg","text":"TemporaryFile(/tmp/multipartBody8821933451454937353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304488618,"filename":"image_12072025_09_13_43_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371836219","file1":"1371836217","file0":"1371836201","file4":"1371836250","file5":"1371836256","file3":"1371836230"},"map_files_photo_id_array":[{"photo_id":"1371836256","filename":"file5"},{"photo_id":"1371836219","filename":"file2"},{"photo_id":"1371836250","filename":"file4"},{"photo_id":"1371836217","filename":"file1"},{"photo_id":"1371836201","filename":"file0"},{"photo_id":"1371836230","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371836230":["hashtag1","hashtag2"]},{"1371836256":["hashtag1","hashtag2"]},{"1371836250":["hashtag1","hashtag2"]},{"1371836217":["hashtag1","hashtag2"]},{"1371836219":["hashtag1","hashtag2"]},{"1371836201":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371836230, 1371836256, 1371836250, 1371836217, 1371836219, 1371836201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73654317855835 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:14:32.490579
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_33_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_24_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_14_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/09/13/image_12072025_09_14_03_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_54_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_44_10622.jpg', '/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_33_9626.jpg', '/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_24_9605.jpg', '/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_14_10643.jpg', '/home/nano/Desktop/images/12072025/09/13/image_12072025_09_14_03_9616.jpg', '/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_54_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_44_10622.jpg
/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_33_9626.jpg
/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_24_9605.jpg
/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_14_10643.jpg
/home/nano/Desktop/images/12072025/09/13/image_12072025_09_14_03_9616.jpg
/home/nano/Desktop/images/12072025/09/13/image_12072025_09_13_54_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371836608","1371836637","1371836582","1371836663","1371836558","1371836689"],"photo_ids_order":["1371836558","1371836582","1371836608","1371836637","1371836663","1371836689"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b63c5e994d14e82f36fe1f69ac2e9aa.jpg","text":"TemporaryFile(/tmp/multipartBody6762441108372867567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304533844,"filename":"image_12072025_09_14_24_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff4b2453b6c24a9f77a07a23d86af6cf.jpg","text":"TemporaryFile(/tmp/multipartBody1005834941139648909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304533844,"filename":"image_12072025_09_14_14_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3dd5d013f78047894507a2f7eeb6cd0c.jpg","text":"TemporaryFile(/tmp/multipartBody2841058257911982881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304533844,"filename":"image_12072025_09_14_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcb587be6b0118cc111183f468f12e26.jpg","text":"TemporaryFile(/tmp/multipartBody2147653090409528527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304533844,"filename":"image_12072025_09_14_03_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34bc815397d0f2ce7c0246a3cbd37c34.jpg","text":"TemporaryFile(/tmp/multipartBody7485847474895125294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304533844,"filename":"image_12072025_09_14_44_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f0ca0b94646f0d75ccb94f74005797c.jpg","text":"TemporaryFile(/tmp/multipartBody5531171257728821362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304533844,"filename":"image_12072025_09_13_54_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371836608","file1":"1371836582","file0":"1371836558","file4":"1371836663","file5":"1371836689","file3":"1371836637"},"map_files_photo_id_array":[{"photo_id":"1371836689","filename":"file5"},{"photo_id":"1371836608","filename":"file2"},{"photo_id":"1371836663","filename":"file4"},{"photo_id":"1371836582","filename":"file1"},{"photo_id":"1371836558","filename":"file0"},{"photo_id":"1371836637","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371836608":["hashtag1","hashtag2"]},{"1371836637":["hashtag1","hashtag2"]},{"1371836582":["hashtag1","hashtag2"]},{"1371836663":["hashtag1","hashtag2"]},{"1371836558":["hashtag1","hashtag2"]},{"1371836689":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371836608, 1371836637, 1371836582, 1371836663, 1371836558, 1371836689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.61204266548157 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:15:17.606621
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_43_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_34_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_23_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_14_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/09/14/image_12072025_09_15_04_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_53_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_43_9600.jpg', '/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_34_10613.jpg', '/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_23_9600.jpg', '/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_14_9623.jpg', '/home/nano/Desktop/images/12072025/09/14/image_12072025_09_15_04_10635.jpg', '/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_53_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_43_9600.jpg
/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_34_10613.jpg
/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_23_9600.jpg
/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_14_9623.jpg
/home/nano/Desktop/images/12072025/09/14/image_12072025_09_15_04_10635.jpg
/home/nano/Desktop/images/12072025/09/14/image_12072025_09_14_53_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371837513","1371837497","1371837419","1371837490","1371837316","1371837195"],"photo_ids_order":["1371837195","1371837316","1371837419","1371837490","1371837497","1371837513"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4da93dd611b352055b7e8bd0e5f9ebd2.jpg","text":"TemporaryFile(/tmp/multipartBody4741857642369747933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304578796,"filename":"image_12072025_09_14_53_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee0dd2187ac3499b9e58543a608aded8.jpg","text":"TemporaryFile(/tmp/multipartBody7620598198136911367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304578796,"filename":"image_12072025_09_15_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ceb67eb0dc0762607742f8f21d091ebb.jpg","text":"TemporaryFile(/tmp/multipartBody4596173590396738459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304578796,"filename":"image_12072025_09_15_23_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44f03a23b56410f08664ce3f4fe5ecc5.jpg","text":"TemporaryFile(/tmp/multipartBody641189795196173487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304578796,"filename":"image_12072025_09_15_14_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8085c5de7fa21ac208ef7caa7e481872.jpg","text":"TemporaryFile(/tmp/multipartBody549403989695310354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304578796,"filename":"image_12072025_09_15_34_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bfbf36ce22dd98018bf66d35bcc6aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4259353526543197009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304578796,"filename":"image_12072025_09_15_43_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371837419","file1":"1371837316","file0":"1371837195","file4":"1371837497","file5":"1371837513","file3":"1371837490"},"map_files_photo_id_array":[{"photo_id":"1371837513","filename":"file5"},{"photo_id":"1371837419","filename":"file2"},{"photo_id":"1371837497","filename":"file4"},{"photo_id":"1371837316","filename":"file1"},{"photo_id":"1371837195","filename":"file0"},{"photo_id":"1371837490","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371837513":["hashtag1","hashtag2"]},{"1371837497":["hashtag1","hashtag2"]},{"1371837419":["hashtag1","hashtag2"]},{"1371837490":["hashtag1","hashtag2"]},{"1371837316":["hashtag1","hashtag2"]},{"1371837195":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371837513, 1371837497, 1371837419, 1371837490, 1371837316, 1371837195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.80736541748047 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:16:03.192094
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_34_10619.jpg', 2), ('/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_23_9604.jpg', 2), ('/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_13_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/20/04/image_10072025_20_05_04_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_53_9603.jpg', 2), ('/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_44_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_34_10619.jpg', '/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_23_9604.jpg', '/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_13_9613.jpg', '/home/nano/Desktop/images/10072025/20/04/image_10072025_20_05_04_10627.jpg', '/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_53_9603.jpg', '/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_44_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_34_10619.jpg
/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_23_9604.jpg
/home/nano/Desktop/images/10072025/20/05/image_10072025_20_05_13_9613.jpg
/home/nano/Desktop/images/10072025/20/04/image_10072025_20_05_04_10627.jpg
/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_53_9603.jpg
/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_44_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371837957","1371837624","1371837801","1371837697","1371837598","1371837649"],"photo_ids_order":["1371837598","1371837624","1371837649","1371837697","1371837801","1371837957"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f65672bad645638516519e9e17c9321a.jpg","text":"TemporaryFile(/tmp/multipartBody6013090762412395004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304625783,"filename":"image_10072025_20_04_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f6195df97bb68c3cc9008414c850004.jpg","text":"TemporaryFile(/tmp/multipartBody2508452068585901580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304625783,"filename":"image_10072025_20_05_23_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afb0d30114e1806a883dd967e58b519a.jpg","text":"TemporaryFile(/tmp/multipartBody1889620335080272303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304625783,"filename":"image_10072025_20_04_53_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c29552ba43b0f2b7c5381fc58e3da473.jpg","text":"TemporaryFile(/tmp/multipartBody1158119805630632118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304625783,"filename":"image_10072025_20_05_04_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aaadf6c69c17df6449629decfba1c2ba.jpg","text":"TemporaryFile(/tmp/multipartBody4963496264149148515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304625783,"filename":"image_10072025_20_05_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6fac69be43f6006d0cfe89df3116af5.jpg","text":"TemporaryFile(/tmp/multipartBody6979952795880390027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304625783,"filename":"image_10072025_20_05_13_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371837649","file1":"1371837624","file0":"1371837598","file4":"1371837801","file5":"1371837957","file3":"1371837697"},"map_files_photo_id_array":[{"photo_id":"1371837957","filename":"file5"},{"photo_id":"1371837649","filename":"file2"},{"photo_id":"1371837801","filename":"file4"},{"photo_id":"1371837624","filename":"file1"},{"photo_id":"1371837598","filename":"file0"},{"photo_id":"1371837697","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371837957":["hashtag1","hashtag2"]},{"1371837624":["hashtag1","hashtag2"]},{"1371837801":["hashtag1","hashtag2"]},{"1371837697":["hashtag1","hashtag2"]},{"1371837598":["hashtag1","hashtag2"]},{"1371837649":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371837957, 1371837624, 1371837801, 1371837697, 1371837598, 1371837649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53318929672241 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:16:47.740406
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_43_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_34_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_24_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_13_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/09/15/image_12072025_09_16_04_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_53_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_43_9597.jpg', '/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_34_9597.jpg', '/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_24_10626.jpg', '/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_13_9624.jpg', '/home/nano/Desktop/images/12072025/09/15/image_12072025_09_16_04_10610.jpg', '/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_53_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_43_9597.jpg
/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_34_9597.jpg
/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_24_10626.jpg
/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_13_9624.jpg
/home/nano/Desktop/images/12072025/09/15/image_12072025_09_16_04_10610.jpg
/home/nano/Desktop/images/12072025/09/15/image_12072025_09_15_53_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371838655","1371838835","1371838756","1371838573","1371838932","1371838704"],"photo_ids_order":["1371838573","1371838655","1371838704","1371838756","1371838835","1371838932"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af67be6640cea38ff7e4ca63ed71707c.jpg","text":"TemporaryFile(/tmp/multipartBody227800610949387123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304669050,"filename":"image_12072025_09_16_34_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c73e0e569856f79d3c2e4dd0d4b6fc45.jpg","text":"TemporaryFile(/tmp/multipartBody6258635226861194505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304669050,"filename":"image_12072025_09_16_04_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17e444cc0e27f594fa88083704828b92.jpg","text":"TemporaryFile(/tmp/multipartBody7366228656721381769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304669050,"filename":"image_12072025_09_16_13_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2323d6865db88f77347d1cf0213439f4.jpg","text":"TemporaryFile(/tmp/multipartBody5352061856570443594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304669050,"filename":"image_12072025_09_16_43_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5283b770062e109ddb7132c63a563044.jpg","text":"TemporaryFile(/tmp/multipartBody1251317761881481042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304669050,"filename":"image_12072025_09_15_53_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ebf8a34882d1fbfe8e70091b4286ccb.jpg","text":"TemporaryFile(/tmp/multipartBody7334704968013783409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304669050,"filename":"image_12072025_09_16_24_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371838704","file1":"1371838655","file0":"1371838573","file4":"1371838835","file5":"1371838932","file3":"1371838756"},"map_files_photo_id_array":[{"photo_id":"1371838932","filename":"file5"},{"photo_id":"1371838704","filename":"file2"},{"photo_id":"1371838835","filename":"file4"},{"photo_id":"1371838655","filename":"file1"},{"photo_id":"1371838573","filename":"file0"},{"photo_id":"1371838756","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371838655":["hashtag1","hashtag2"]},{"1371838835":["hashtag1","hashtag2"]},{"1371838756":["hashtag1","hashtag2"]},{"1371838573":["hashtag1","hashtag2"]},{"1371838932":["hashtag1","hashtag2"]},{"1371838704":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371838655, 1371838835, 1371838756, 1371838573, 1371838932, 1371838704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.155404806137085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:17:31.872912
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_44_10606.jpg', 2), ('/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_33_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_24_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_14_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/09/16/image_12072025_09_17_03_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_54_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_44_10606.jpg', '/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_33_9597.jpg', '/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_24_9613.jpg', '/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_14_10643.jpg', '/home/nano/Desktop/images/12072025/09/16/image_12072025_09_17_03_9603.jpg', '/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_54_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_44_10606.jpg
/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_33_9597.jpg
/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_24_9613.jpg
/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_14_10643.jpg
/home/nano/Desktop/images/12072025/09/16/image_12072025_09_17_03_9603.jpg
/home/nano/Desktop/images/12072025/09/16/image_12072025_09_16_54_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371839552","1371839734","1371839758","1371839710","1371839626","1371839675"],"photo_ids_order":["1371839552","1371839626","1371839675","1371839710","1371839734","1371839758"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ae8650aaee9bcceb5ae18e7f9e798c4.jpg","text":"TemporaryFile(/tmp/multipartBody1552826634359809786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304713210,"filename":"image_12072025_09_17_44_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41ac040211d54e390913fcdbb4287369.jpg","text":"TemporaryFile(/tmp/multipartBody83680942089047715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304713210,"filename":"image_12072025_09_17_03_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6514d3eadaf700ca5af260c0632e76a7.jpg","text":"TemporaryFile(/tmp/multipartBody3580971070557948755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304713210,"filename":"image_12072025_09_16_54_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e92064d032e9f2ce549326a7bcabf664.jpg","text":"TemporaryFile(/tmp/multipartBody6794806571670266952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304713210,"filename":"image_12072025_09_17_14_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/859a6d9c3d4533a6ac144dfe08623a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2336189264594681904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304713210,"filename":"image_12072025_09_17_33_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46b09b6ac9fab9770b3cf9969b107723.jpg","text":"TemporaryFile(/tmp/multipartBody2052050908979206748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304713210,"filename":"image_12072025_09_17_24_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371839675","file1":"1371839626","file0":"1371839552","file4":"1371839734","file5":"1371839758","file3":"1371839710"},"map_files_photo_id_array":[{"photo_id":"1371839758","filename":"file5"},{"photo_id":"1371839675","filename":"file2"},{"photo_id":"1371839734","filename":"file4"},{"photo_id":"1371839626","filename":"file1"},{"photo_id":"1371839552","filename":"file0"},{"photo_id":"1371839710","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371839552":["hashtag1","hashtag2"]},{"1371839734":["hashtag1","hashtag2"]},{"1371839758":["hashtag1","hashtag2"]},{"1371839710":["hashtag1","hashtag2"]},{"1371839626":["hashtag1","hashtag2"]},{"1371839675":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371839552, 1371839734, 1371839758, 1371839710, 1371839626, 1371839675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.001689434051514 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:18:17.020098
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_43_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_34_10609.jpg', 2), ('/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_23_9586.jpg', 2), ('/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_14_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/09/17/image_12072025_09_18_04_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_53_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_43_9611.jpg', '/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_34_10609.jpg', '/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_23_9586.jpg', '/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_14_9619.jpg', '/home/nano/Desktop/images/12072025/09/17/image_12072025_09_18_04_10626.jpg', '/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_53_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_43_9611.jpg
/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_34_10609.jpg
/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_23_9586.jpg
/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_14_9619.jpg
/home/nano/Desktop/images/12072025/09/17/image_12072025_09_18_04_10626.jpg
/home/nano/Desktop/images/12072025/09/17/image_12072025_09_17_53_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371840309","1371840194","1371840320","1371840273","1371840321","1371840219"],"photo_ids_order":["1371840194","1371840219","1371840273","1371840309","1371840320","1371840321"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc7f017d3dfeac2ba2c48896689032e3.jpg","text":"TemporaryFile(/tmp/multipartBody6266358436232745561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304758189,"filename":"image_12072025_09_18_14_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ad42108feb2542dbbac54361f846594.jpg","text":"TemporaryFile(/tmp/multipartBody7226296666943157674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304758189,"filename":"image_12072025_09_18_43_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cc22884318ad722b98db4c702d417e6.jpg","text":"TemporaryFile(/tmp/multipartBody6398716310671301512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304758189,"filename":"image_12072025_09_18_04_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cca7501c537280f827cd137e9ecc418.jpg","text":"TemporaryFile(/tmp/multipartBody4177036141813410362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304758189,"filename":"image_12072025_09_18_23_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aec20df9434f60deaece45fc60f15c9c.jpg","text":"TemporaryFile(/tmp/multipartBody4933867449881578716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304758189,"filename":"image_12072025_09_17_53_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f9b8a3fa386357864b20cbe0185b3cb.jpg","text":"TemporaryFile(/tmp/multipartBody4654440102625759993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304758189,"filename":"image_12072025_09_18_34_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371840273","file1":"1371840219","file0":"1371840194","file4":"1371840320","file5":"1371840321","file3":"1371840309"},"map_files_photo_id_array":[{"photo_id":"1371840321","filename":"file5"},{"photo_id":"1371840273","filename":"file2"},{"photo_id":"1371840320","filename":"file4"},{"photo_id":"1371840219","filename":"file1"},{"photo_id":"1371840194","filename":"file0"},{"photo_id":"1371840309","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371840309":["hashtag1","hashtag2"]},{"1371840194":["hashtag1","hashtag2"]},{"1371840320":["hashtag1","hashtag2"]},{"1371840273":["hashtag1","hashtag2"]},{"1371840321":["hashtag1","hashtag2"]},{"1371840219":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371840309, 1371840194, 1371840320, 1371840273, 1371840321, 1371840219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.891026973724365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:19:02.861669
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_34_10629.jpg', 2), ('/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_23_9598.jpg', 2), ('/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_14_10642.jpg', 2), ('/home/nano/Desktop/images/10072025/20/03/image_10072025_20_04_03_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_54_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_44_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_34_10629.jpg', '/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_23_9598.jpg', '/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_14_10642.jpg', '/home/nano/Desktop/images/10072025/20/03/image_10072025_20_04_03_9626.jpg', '/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_54_9620.jpg', '/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_44_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_34_10629.jpg
/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_23_9598.jpg
/home/nano/Desktop/images/10072025/20/04/image_10072025_20_04_14_10642.jpg
/home/nano/Desktop/images/10072025/20/03/image_10072025_20_04_03_9626.jpg
/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_54_9620.jpg
/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_44_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371840479","1371840425","1371840512","1371840538","1371840451","1371840402"],"photo_ids_order":["1371840402","1371840425","1371840451","1371840479","1371840512","1371840538"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2814ac8592f7ac833a6c59e5ce01694c.jpg","text":"TemporaryFile(/tmp/multipartBody8604663109247046386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304805913,"filename":"image_10072025_20_04_03_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4231d4104a9a32a31100fd5b9aeafa4.jpg","text":"TemporaryFile(/tmp/multipartBody2683840469012842039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304805913,"filename":"image_10072025_20_04_23_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32f53afe7cabaa62c90b4493e75fb586.jpg","text":"TemporaryFile(/tmp/multipartBody2166429934980677787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304805913,"filename":"image_10072025_20_03_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d2a06be9e259df9296209eb148fe2cb.jpg","text":"TemporaryFile(/tmp/multipartBody3482574925747947192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304805913,"filename":"image_10072025_20_03_44_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1bb54be0dfc31204eb24ddeb521c606.jpg","text":"TemporaryFile(/tmp/multipartBody504336619750018071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304805913,"filename":"image_10072025_20_04_14_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39903f8231915d675adde242e19fe254.jpg","text":"TemporaryFile(/tmp/multipartBody7791612405277065565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304805913,"filename":"image_10072025_20_04_34_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371840451","file1":"1371840425","file0":"1371840402","file4":"1371840512","file5":"1371840538","file3":"1371840479"},"map_files_photo_id_array":[{"photo_id":"1371840538","filename":"file5"},{"photo_id":"1371840451","filename":"file2"},{"photo_id":"1371840512","filename":"file4"},{"photo_id":"1371840425","filename":"file1"},{"photo_id":"1371840402","filename":"file0"},{"photo_id":"1371840479","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371840479":["hashtag1","hashtag2"]},{"1371840425":["hashtag1","hashtag2"]},{"1371840512":["hashtag1","hashtag2"]},{"1371840538":["hashtag1","hashtag2"]},{"1371840451":["hashtag1","hashtag2"]},{"1371840402":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371840479, 1371840425, 1371840512, 1371840538, 1371840451, 1371840402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21281862258911 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:19:47.105656
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_43_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_34_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_24_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_13_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/09/18/image_12072025_09_19_04_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_53_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_43_9602.jpg', '/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_34_9604.jpg', '/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_24_10612.jpg', '/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_13_9612.jpg', '/home/nano/Desktop/images/12072025/09/18/image_12072025_09_19_04_10626.jpg', '/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_53_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_43_9602.jpg
/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_34_9604.jpg
/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_24_10612.jpg
/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_13_9612.jpg
/home/nano/Desktop/images/12072025/09/18/image_12072025_09_19_04_10626.jpg
/home/nano/Desktop/images/12072025/09/18/image_12072025_09_18_53_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371840974","1371840935","1371840836","1371841060","1371841029","1371840896"],"photo_ids_order":["1371840836","1371840896","1371840935","1371840974","1371841029","1371841060"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b29c45d37855d83748635ad39ac750d2.jpg","text":"TemporaryFile(/tmp/multipartBody6490106626403676140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304848275,"filename":"image_12072025_09_19_13_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd00d56f0e5e03b555e62b2155634076.jpg","text":"TemporaryFile(/tmp/multipartBody2095703348978800342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304848275,"filename":"image_12072025_09_19_24_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3210903c6ca3e591bfa9eaf4f8a464f.jpg","text":"TemporaryFile(/tmp/multipartBody6175965975160229043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304848275,"filename":"image_12072025_09_19_43_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd72229f27e00c1aab8ef5684b93046a.jpg","text":"TemporaryFile(/tmp/multipartBody8022186216695152900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304848275,"filename":"image_12072025_09_18_53_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9205155c55d0262aa7bd773c45279ce6.jpg","text":"TemporaryFile(/tmp/multipartBody1170023681807816689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304848275,"filename":"image_12072025_09_19_04_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9002c8c13205480e017fc333ddca1020.jpg","text":"TemporaryFile(/tmp/multipartBody3384171001122721793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304848275,"filename":"image_12072025_09_19_34_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371840935","file1":"1371840896","file0":"1371840836","file4":"1371841029","file5":"1371841060","file3":"1371840974"},"map_files_photo_id_array":[{"photo_id":"1371841060","filename":"file5"},{"photo_id":"1371840935","filename":"file2"},{"photo_id":"1371841029","filename":"file4"},{"photo_id":"1371840896","filename":"file1"},{"photo_id":"1371840836","filename":"file0"},{"photo_id":"1371840974","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371840974":["hashtag1","hashtag2"]},{"1371840935":["hashtag1","hashtag2"]},{"1371840836":["hashtag1","hashtag2"]},{"1371841060":["hashtag1","hashtag2"]},{"1371841029":["hashtag1","hashtag2"]},{"1371840896":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371840974, 1371840935, 1371840836, 1371841060, 1371841029, 1371840896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08987331390381 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:20:32.190280
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_44_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_33_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_24_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_13_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/09/19/image_12072025_09_20_03_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_44_10613.jpg', '/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_33_9597.jpg', '/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_24_10610.jpg', '/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_13_9641.jpg', '/home/nano/Desktop/images/12072025/09/19/image_12072025_09_20_03_9627.jpg', '/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_44_10613.jpg
/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_33_9597.jpg
/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_24_10610.jpg
/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_13_9641.jpg
/home/nano/Desktop/images/12072025/09/19/image_12072025_09_20_03_9627.jpg
/home/nano/Desktop/images/12072025/09/19/image_12072025_09_19_54_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371841325","1371841297","1371841316","1371841423","1371841188","1371841314"],"photo_ids_order":["1371841188","1371841297","1371841314","1371841316","1371841325","1371841423"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83c22d31dd0aac3bf676fa1e7564f64a.jpg","text":"TemporaryFile(/tmp/multipartBody3524244519862887780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304893685,"filename":"image_12072025_09_20_03_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0111e522fcd561127c5129e7e054e655.jpg","text":"TemporaryFile(/tmp/multipartBody6685683101958541765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304893685,"filename":"image_12072025_09_20_33_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73d31b10ba44268eadbf3214625fbecb.jpg","text":"TemporaryFile(/tmp/multipartBody2113995289205987046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304893685,"filename":"image_12072025_09_20_13_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/523d1fc722d89178db4ea61f750db872.jpg","text":"TemporaryFile(/tmp/multipartBody4059989591994170639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304893685,"filename":"image_12072025_09_19_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c3f7771721f249be3443009a284caf9.jpg","text":"TemporaryFile(/tmp/multipartBody6781451203046747734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304893685,"filename":"image_12072025_09_20_44_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f288824be34ee52c38edb91f63afde68.jpg","text":"TemporaryFile(/tmp/multipartBody8375689278592347627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304893685,"filename":"image_12072025_09_20_24_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371841314","file1":"1371841297","file0":"1371841188","file4":"1371841325","file5":"1371841423","file3":"1371841316"},"map_files_photo_id_array":[{"photo_id":"1371841423","filename":"file5"},{"photo_id":"1371841314","filename":"file2"},{"photo_id":"1371841325","filename":"file4"},{"photo_id":"1371841297","filename":"file1"},{"photo_id":"1371841188","filename":"file0"},{"photo_id":"1371841316","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371841325":["hashtag1","hashtag2"]},{"1371841297":["hashtag1","hashtag2"]},{"1371841316":["hashtag1","hashtag2"]},{"1371841423":["hashtag1","hashtag2"]},{"1371841188":["hashtag1","hashtag2"]},{"1371841314":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371841325, 1371841297, 1371841316, 1371841423, 1371841188, 1371841314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.711299657821655 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:21:17.278744
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_44_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_34_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_23_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_14_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/09/20/image_12072025_09_21_03_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_53_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_44_9613.jpg', '/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_34_10640.jpg', '/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_23_9601.jpg', '/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_14_10631.jpg', '/home/nano/Desktop/images/12072025/09/20/image_12072025_09_21_03_9634.jpg', '/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_53_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_44_9613.jpg
/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_34_10640.jpg
/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_23_9601.jpg
/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_14_10631.jpg
/home/nano/Desktop/images/12072025/09/20/image_12072025_09_21_03_9634.jpg
/home/nano/Desktop/images/12072025/09/20/image_12072025_09_20_53_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371841853","1371841829","1371841894","1371841791","1371841815","1371841880"],"photo_ids_order":["1371841791","1371841815","1371841829","1371841853","1371841880","1371841894"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf278208ea2c2de974d9681a67dc85dd.jpg","text":"TemporaryFile(/tmp/multipartBody1751889892347314612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304938668,"filename":"image_12072025_09_21_14_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff090efa78f10fef64c742ad8ea25191.jpg","text":"TemporaryFile(/tmp/multipartBody8260235684685379671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304938668,"filename":"image_12072025_09_21_23_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9df609626fb16d1b058b55972920b49b.jpg","text":"TemporaryFile(/tmp/multipartBody1244334410905510698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304938668,"filename":"image_12072025_09_20_53_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/728b9e9987f3e9de16f42733048113eb.jpg","text":"TemporaryFile(/tmp/multipartBody2685909569968249998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304938668,"filename":"image_12072025_09_21_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41a01ebdb529814e69ca2e7e27f8d4d9.jpg","text":"TemporaryFile(/tmp/multipartBody7963035868616526968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304938668,"filename":"image_12072025_09_21_34_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/540e5a2544dc9d0445b76ab165c0918b.jpg","text":"TemporaryFile(/tmp/multipartBody6045884141983311226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304938668,"filename":"image_12072025_09_21_03_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371841829","file1":"1371841815","file0":"1371841791","file4":"1371841880","file5":"1371841894","file3":"1371841853"},"map_files_photo_id_array":[{"photo_id":"1371841894","filename":"file5"},{"photo_id":"1371841829","filename":"file2"},{"photo_id":"1371841880","filename":"file4"},{"photo_id":"1371841815","filename":"file1"},{"photo_id":"1371841791","filename":"file0"},{"photo_id":"1371841853","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371841853":["hashtag1","hashtag2"]},{"1371841829":["hashtag1","hashtag2"]},{"1371841894":["hashtag1","hashtag2"]},{"1371841791":["hashtag1","hashtag2"]},{"1371841815":["hashtag1","hashtag2"]},{"1371841880":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371841853, 1371841829, 1371841894, 1371841791, 1371841815, 1371841880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07789921760559 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:22:02.971486
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_33_9603.jpg', 2), ('/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_24_10617.jpg', 2), ('/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_13_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/20/02/image_10072025_20_03_03_9609.jpg', 2), ('/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_54_10618.jpg', 2), ('/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_43_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_33_9603.jpg', '/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_24_10617.jpg', '/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_13_9629.jpg', '/home/nano/Desktop/images/10072025/20/02/image_10072025_20_03_03_9609.jpg', '/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_54_10618.jpg', '/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_43_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_33_9603.jpg
/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_24_10617.jpg
/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_13_9629.jpg
/home/nano/Desktop/images/10072025/20/02/image_10072025_20_03_03_9609.jpg
/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_54_10618.jpg
/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_43_9618.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.553595781326294 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:22:17.392036
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_43_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_24_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_13_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/09/21/image_12072025_09_22_04_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_53_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_43_9624.jpg', '/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_34_9610.jpg', '/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_24_10610.jpg', '/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_13_9617.jpg', '/home/nano/Desktop/images/12072025/09/21/image_12072025_09_22_04_10615.jpg', '/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_53_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_43_9624.jpg
/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_34_9610.jpg
/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_24_10610.jpg
/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_13_9617.jpg
/home/nano/Desktop/images/12072025/09/21/image_12072025_09_22_04_10615.jpg
/home/nano/Desktop/images/12072025/09/21/image_12072025_09_21_53_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371842239","1371842038","1371842302","1371842094","1371842196","1371842150"],"photo_ids_order":["1371842038","1371842094","1371842150","1371842196","1371842239","1371842302"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f6dd0cd35a1555f4ebbbd7c24253151.jpg","text":"TemporaryFile(/tmp/multipartBody4654652469383033417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304998649,"filename":"image_12072025_09_22_04_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1abf4e76fbe72203cf4bcd8414bf80e3.jpg","text":"TemporaryFile(/tmp/multipartBody7734835311282816073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304998649,"filename":"image_12072025_09_22_43_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2198b3e93a2008b7530bd6d69c2829d.jpg","text":"TemporaryFile(/tmp/multipartBody4201725820855261606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304998649,"filename":"image_12072025_09_21_53_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5341a1e359fda23fe5ad887d431a1b3.jpg","text":"TemporaryFile(/tmp/multipartBody1587450727199969970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304998649,"filename":"image_12072025_09_22_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74e2e49f6e304d0a9788dd28d3498e70.jpg","text":"TemporaryFile(/tmp/multipartBody1533194784715220621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304998649,"filename":"image_12072025_09_22_13_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d65eb2294b4d85db945c2ad418b39910.jpg","text":"TemporaryFile(/tmp/multipartBody9097689500197681635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752304998649,"filename":"image_12072025_09_22_24_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371842150","file1":"1371842094","file0":"1371842038","file4":"1371842239","file5":"1371842302","file3":"1371842196"},"map_files_photo_id_array":[{"photo_id":"1371842302","filename":"file5"},{"photo_id":"1371842150","filename":"file2"},{"photo_id":"1371842239","filename":"file4"},{"photo_id":"1371842094","filename":"file1"},{"photo_id":"1371842038","filename":"file0"},{"photo_id":"1371842196","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371842239":["hashtag1","hashtag2"]},{"1371842038":["hashtag1","hashtag2"]},{"1371842302":["hashtag1","hashtag2"]},{"1371842094":["hashtag1","hashtag2"]},{"1371842196":["hashtag1","hashtag2"]},{"1371842150":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371842239, 1371842038, 1371842302, 1371842094, 1371842196, 1371842150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.815343856811523 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:23:03.089406
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_33_9603.jpg', 2), ('/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_24_10617.jpg', 2), ('/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_13_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/20/02/image_10072025_20_03_03_9609.jpg', 2), ('/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_54_10618.jpg', 2), ('/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_43_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_33_9603.jpg', '/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_24_10617.jpg', '/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_13_9629.jpg', '/home/nano/Desktop/images/10072025/20/02/image_10072025_20_03_03_9609.jpg', '/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_54_10618.jpg', '/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_43_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_33_9603.jpg
/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_24_10617.jpg
/home/nano/Desktop/images/10072025/20/03/image_10072025_20_03_13_9629.jpg
/home/nano/Desktop/images/10072025/20/02/image_10072025_20_03_03_9609.jpg
/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_54_10618.jpg
/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_43_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371842764","1371842728","1371842766","1371842760","1371842715","1371842768"],"photo_ids_order":["1371842715","1371842728","1371842760","1371842764","1371842766","1371842768"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ef20117363e03214011e4fd6b83173a.jpg","text":"TemporaryFile(/tmp/multipartBody2523373634128799430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305045821,"filename":"image_10072025_20_03_03_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26866b6ea9967639bae04f64a56f19e3.jpg","text":"TemporaryFile(/tmp/multipartBody1111499945687803913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305045821,"filename":"image_10072025_20_03_24_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a8f5abb3a54664223eb1c775e3acbdf.jpg","text":"TemporaryFile(/tmp/multipartBody3501681847251436089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305045821,"filename":"image_10072025_20_02_54_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c03ac7934343a3782dc2d27e2bd322aa.jpg","text":"TemporaryFile(/tmp/multipartBody1254288183942834274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305045821,"filename":"image_10072025_20_03_13_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50e94b776c9cf9b7f8d6d509c75ffd6e.jpg","text":"TemporaryFile(/tmp/multipartBody1880214789906498678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305045821,"filename":"image_10072025_20_03_33_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2574debbe78fef13afd8d04bd2fdc36.jpg","text":"TemporaryFile(/tmp/multipartBody2872050082327226952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305045821,"filename":"image_10072025_20_02_43_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371842760","file1":"1371842728","file0":"1371842715","file4":"1371842766","file5":"1371842768","file3":"1371842764"},"map_files_photo_id_array":[{"photo_id":"1371842768","filename":"file5"},{"photo_id":"1371842760","filename":"file2"},{"photo_id":"1371842766","filename":"file4"},{"photo_id":"1371842728","filename":"file1"},{"photo_id":"1371842715","filename":"file0"},{"photo_id":"1371842764","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371842764":["hashtag1","hashtag2"]},{"1371842728":["hashtag1","hashtag2"]},{"1371842766":["hashtag1","hashtag2"]},{"1371842760":["hashtag1","hashtag2"]},{"1371842715":["hashtag1","hashtag2"]},{"1371842768":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371842764, 1371842728, 1371842766, 1371842760, 1371842715, 1371842768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07933807373047 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:23:47.491815
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_44_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_33_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_24_10608.jpg', 2), ('/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_13_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/09/22/image_12072025_09_23_04_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_54_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_44_10610.jpg', '/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_33_9612.jpg', '/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_24_10608.jpg', '/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_13_9651.jpg', '/home/nano/Desktop/images/12072025/09/22/image_12072025_09_23_04_9614.jpg', '/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_54_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_44_10610.jpg
/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_33_9612.jpg
/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_24_10608.jpg
/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_13_9651.jpg
/home/nano/Desktop/images/12072025/09/22/image_12072025_09_23_04_9614.jpg
/home/nano/Desktop/images/12072025/09/22/image_12072025_09_22_54_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371842884","1371842887","1371842932","1371842934","1371842904","1371842888"],"photo_ids_order":["1371842884","1371842887","1371842888","1371842904","1371842932","1371842934"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2939c1388a1aea3acd3de43c3f1c3a6.jpg","text":"TemporaryFile(/tmp/multipartBody8830534422233060443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305088769,"filename":"image_12072025_09_23_44_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c887d143bf50aa5548098b6745fe10a2.jpg","text":"TemporaryFile(/tmp/multipartBody6057530781679774160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305088769,"filename":"image_12072025_09_23_33_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ad2452a8e69db0e15e3cfb4bdb84a3a.jpg","text":"TemporaryFile(/tmp/multipartBody6551696488910616514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305088769,"filename":"image_12072025_09_23_04_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d880b8815ee9ad7248c2b1e2df598529.jpg","text":"TemporaryFile(/tmp/multipartBody7699442471329673869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305088769,"filename":"image_12072025_09_22_54_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5aee9120ae32daf89f264241f68318e6.jpg","text":"TemporaryFile(/tmp/multipartBody4641005780808006557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305088769,"filename":"image_12072025_09_23_13_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/267d1f034e38521907b067e777bf423b.jpg","text":"TemporaryFile(/tmp/multipartBody2470115140542159672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305088769,"filename":"image_12072025_09_23_24_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371842888","file1":"1371842887","file0":"1371842884","file4":"1371842932","file5":"1371842934","file3":"1371842904"},"map_files_photo_id_array":[{"photo_id":"1371842934","filename":"file5"},{"photo_id":"1371842888","filename":"file2"},{"photo_id":"1371842932","filename":"file4"},{"photo_id":"1371842887","filename":"file1"},{"photo_id":"1371842884","filename":"file0"},{"photo_id":"1371842904","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371842884":["hashtag1","hashtag2"]},{"1371842887":["hashtag1","hashtag2"]},{"1371842932":["hashtag1","hashtag2"]},{"1371842934":["hashtag1","hashtag2"]},{"1371842904":["hashtag1","hashtag2"]},{"1371842888":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371842884, 1371842887, 1371842932, 1371842934, 1371842904, 1371842888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.98100709915161 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:24:32.602592
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_44_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_33_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_23_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_14_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/09/23/image_12072025_09_24_03_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_44_10617.jpg', '/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_33_9629.jpg', '/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_23_9607.jpg', '/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_14_10647.jpg', '/home/nano/Desktop/images/12072025/09/23/image_12072025_09_24_03_9605.jpg', '/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_44_10617.jpg
/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_33_9629.jpg
/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_23_9607.jpg
/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_14_10647.jpg
/home/nano/Desktop/images/12072025/09/23/image_12072025_09_24_03_9605.jpg
/home/nano/Desktop/images/12072025/09/23/image_12072025_09_23_54_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371843046","1371843055","1371843049","1371843060","1371843051","1371843058"],"photo_ids_order":["1371843046","1371843049","1371843051","1371843055","1371843058","1371843060"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c6ce2fe1f40eefa94ee1d2800bf3a05.jpg","text":"TemporaryFile(/tmp/multipartBody487191608284833770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305134279,"filename":"image_12072025_09_24_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/caad6cc60366612cafae770cc0ddb8ea.jpg","text":"TemporaryFile(/tmp/multipartBody2852814100252226866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305134279,"filename":"image_12072025_09_24_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/218b64c71501017fad0e6d8dbb05c2dd.jpg","text":"TemporaryFile(/tmp/multipartBody6986010309670389886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305134279,"filename":"image_12072025_09_24_33_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6653f779bf4d5baf96ee28635eaa660.jpg","text":"TemporaryFile(/tmp/multipartBody6972443489447116439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305134279,"filename":"image_12072025_09_23_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73556d6a4d0e4ddcccbc5370f6cd5f0d.jpg","text":"TemporaryFile(/tmp/multipartBody2071983318697124506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305134279,"filename":"image_12072025_09_24_23_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87d2289899334949162a6f14478c42c8.jpg","text":"TemporaryFile(/tmp/multipartBody6518666237475544291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305134279,"filename":"image_12072025_09_24_03_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371843051","file1":"1371843049","file0":"1371843046","file4":"1371843058","file5":"1371843060","file3":"1371843055"},"map_files_photo_id_array":[{"photo_id":"1371843060","filename":"file5"},{"photo_id":"1371843051","filename":"file2"},{"photo_id":"1371843058","filename":"file4"},{"photo_id":"1371843049","filename":"file1"},{"photo_id":"1371843046","filename":"file0"},{"photo_id":"1371843055","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371843046":["hashtag1","hashtag2"]},{"1371843055":["hashtag1","hashtag2"]},{"1371843049":["hashtag1","hashtag2"]},{"1371843060":["hashtag1","hashtag2"]},{"1371843051":["hashtag1","hashtag2"]},{"1371843058":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371843046, 1371843055, 1371843049, 1371843060, 1371843051, 1371843058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15355634689331 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:25:17.762834
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_43_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_34_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_23_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_14_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/09/24/image_12072025_09_25_04_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_53_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_43_9616.jpg', '/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_34_10611.jpg', '/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_23_9618.jpg', '/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_14_9622.jpg', '/home/nano/Desktop/images/12072025/09/24/image_12072025_09_25_04_10617.jpg', '/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_53_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_43_9616.jpg
/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_34_10611.jpg
/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_23_9618.jpg
/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_14_9622.jpg
/home/nano/Desktop/images/12072025/09/24/image_12072025_09_25_04_10617.jpg
/home/nano/Desktop/images/12072025/09/24/image_12072025_09_24_53_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371843442","1371843223","1371843427","1371843328","1371843357","1371843402"],"photo_ids_order":["1371843223","1371843328","1371843357","1371843402","1371843427","1371843442"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f713c791e0fdf9b4adef026f479378e.jpg","text":"TemporaryFile(/tmp/multipartBody5154516264803613834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305179062,"filename":"image_12072025_09_24_53_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd82374471a7dd405c5ac718c0d82726.jpg","text":"TemporaryFile(/tmp/multipartBody6132442427296764381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305179062,"filename":"image_12072025_09_25_43_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c9baf4383d3bbf13cec24118926abe9.jpg","text":"TemporaryFile(/tmp/multipartBody6532726452709113348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305179062,"filename":"image_12072025_09_25_04_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2df371d021bffd9dde219270cef2924d.jpg","text":"TemporaryFile(/tmp/multipartBody8229477342213229401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305179062,"filename":"image_12072025_09_25_34_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a565619ee5fd18c5b155abc7acbc8c5f.jpg","text":"TemporaryFile(/tmp/multipartBody353209916615753703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305179062,"filename":"image_12072025_09_25_23_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32192c54897066437a7294fd00312f2c.jpg","text":"TemporaryFile(/tmp/multipartBody1894760408459920683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305179062,"filename":"image_12072025_09_25_14_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371843357","file1":"1371843328","file0":"1371843223","file4":"1371843427","file5":"1371843442","file3":"1371843402"},"map_files_photo_id_array":[{"photo_id":"1371843442","filename":"file5"},{"photo_id":"1371843357","filename":"file2"},{"photo_id":"1371843427","filename":"file4"},{"photo_id":"1371843328","filename":"file1"},{"photo_id":"1371843223","filename":"file0"},{"photo_id":"1371843402","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371843442":["hashtag1","hashtag2"]},{"1371843223":["hashtag1","hashtag2"]},{"1371843427":["hashtag1","hashtag2"]},{"1371843328":["hashtag1","hashtag2"]},{"1371843357":["hashtag1","hashtag2"]},{"1371843402":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371843442, 1371843223, 1371843427, 1371843328, 1371843357, 1371843402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.936303853988647 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:26:02.477945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_34_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_24_10628.jpg', 2), ('/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_13_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/20/01/image_10072025_20_02_04_10635.jpg', 2), ('/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_53_9605.jpg', 2), ('/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_44_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_34_9607.jpg', '/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_24_10628.jpg', '/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_13_9638.jpg', '/home/nano/Desktop/images/10072025/20/01/image_10072025_20_02_04_10635.jpg', '/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_53_9605.jpg', '/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_44_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_34_9607.jpg
/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_24_10628.jpg
/home/nano/Desktop/images/10072025/20/02/image_10072025_20_02_13_9638.jpg
/home/nano/Desktop/images/10072025/20/01/image_10072025_20_02_04_10635.jpg
/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_53_9605.jpg
/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_44_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371843736","1371843643","1371843753","1371843759","1371843752","1371843676"],"photo_ids_order":["1371843643","1371843676","1371843736","1371843752","1371843753","1371843759"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/581bd961a55763d0ffc20d604abad8dc.jpg","text":"TemporaryFile(/tmp/multipartBody7570916999932162146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305225221,"filename":"image_10072025_20_02_13_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cadf5f36dd105db46f925d738d5b7f50.jpg","text":"TemporaryFile(/tmp/multipartBody6424523149488514075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305225221,"filename":"image_10072025_20_02_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3661a0b44957720a8fd8f6b5840721cc.jpg","text":"TemporaryFile(/tmp/multipartBody3535401442844620889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305225221,"filename":"image_10072025_20_01_53_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04d28e4bbdac13f304dc953cfefbe68c.jpg","text":"TemporaryFile(/tmp/multipartBody1146063024069882928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305225221,"filename":"image_10072025_20_01_44_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/818c3bb7722769ed49a86c39a1b052c4.jpg","text":"TemporaryFile(/tmp/multipartBody3167162818997530842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305225221,"filename":"image_10072025_20_02_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb2d74e006c1e3ec679fe8d55fc6073b.jpg","text":"TemporaryFile(/tmp/multipartBody2445520396164450135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305225221,"filename":"image_10072025_20_02_24_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371843736","file1":"1371843676","file0":"1371843643","file4":"1371843753","file5":"1371843759","file3":"1371843752"},"map_files_photo_id_array":[{"photo_id":"1371843759","filename":"file5"},{"photo_id":"1371843736","filename":"file2"},{"photo_id":"1371843753","filename":"file4"},{"photo_id":"1371843676","filename":"file1"},{"photo_id":"1371843643","filename":"file0"},{"photo_id":"1371843752","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371843736":["hashtag1","hashtag2"]},{"1371843643":["hashtag1","hashtag2"]},{"1371843753":["hashtag1","hashtag2"]},{"1371843759":["hashtag1","hashtag2"]},{"1371843752":["hashtag1","hashtag2"]},{"1371843676":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371843736, 1371843643, 1371843753, 1371843759, 1371843752, 1371843676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25469517707825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:26:46.855502
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_44_9697.jpg', 2), ('/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_34_10699.jpg', 2), ('/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_23_9704.jpg', 2), ('/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_13_9739.jpg', 2), ('/home/nano/Desktop/images/12072025/09/25/image_12072025_09_26_04_9709.jpg', 2), ('/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_54_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_44_9697.jpg', '/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_34_10699.jpg', '/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_23_9704.jpg', '/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_13_9739.jpg', '/home/nano/Desktop/images/12072025/09/25/image_12072025_09_26_04_9709.jpg', '/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_54_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_44_9697.jpg
/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_34_10699.jpg
/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_23_9704.jpg
/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_13_9739.jpg
/home/nano/Desktop/images/12072025/09/25/image_12072025_09_26_04_9709.jpg
/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_54_10612.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.112598419189453 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:27:02.607774
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_44_9697.jpg', 2), ('/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_34_10699.jpg', 2), ('/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_23_9704.jpg', 2), ('/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_13_9739.jpg', 2), ('/home/nano/Desktop/images/12072025/09/25/image_12072025_09_26_04_9709.jpg', 2), ('/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_54_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_44_9697.jpg', '/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_34_10699.jpg', '/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_23_9704.jpg', '/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_13_9739.jpg', '/home/nano/Desktop/images/12072025/09/25/image_12072025_09_26_04_9709.jpg', '/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_54_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_44_9697.jpg
/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_34_10699.jpg
/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_23_9704.jpg
/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_13_9739.jpg
/home/nano/Desktop/images/12072025/09/25/image_12072025_09_26_04_9709.jpg
/home/nano/Desktop/images/12072025/09/25/image_12072025_09_25_54_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371843876","1371843884","1371843887","1371843886","1371843880","1371843883"],"photo_ids_order":["1371843876","1371843880","1371843883","1371843884","1371843886","1371843887"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89caddfb34f0e3dd0da1478fc4a8057d.jpg","text":"TemporaryFile(/tmp/multipartBody1335646996134569794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305284283,"filename":"image_12072025_09_26_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5abffa78834816234dc4554f0a813c2.jpg","text":"TemporaryFile(/tmp/multipartBody463354933271596832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305284283,"filename":"image_12072025_09_26_13_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f516de8c6db5d213725233f1dd72fc4a.jpg","text":"TemporaryFile(/tmp/multipartBody206323558495833526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305284283,"filename":"image_12072025_09_25_54_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ae080fa3b8af82d44ae80216728af74.jpg","text":"TemporaryFile(/tmp/multipartBody3161469938871180947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305284283,"filename":"image_12072025_09_26_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31a3a056c25141acab49bc7b778f1eb3.jpg","text":"TemporaryFile(/tmp/multipartBody823749465052368971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305284283,"filename":"image_12072025_09_26_34_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aad508241b8bd216372f8ea300bba655.jpg","text":"TemporaryFile(/tmp/multipartBody4092682391886210993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305284283,"filename":"image_12072025_09_26_23_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371843883","file1":"1371843880","file0":"1371843876","file4":"1371843886","file5":"1371843887","file3":"1371843884"},"map_files_photo_id_array":[{"photo_id":"1371843887","filename":"file5"},{"photo_id":"1371843883","filename":"file2"},{"photo_id":"1371843886","filename":"file4"},{"photo_id":"1371843880","filename":"file1"},{"photo_id":"1371843876","filename":"file0"},{"photo_id":"1371843884","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371843876":["hashtag1","hashtag2"]},{"1371843884":["hashtag1","hashtag2"]},{"1371843887":["hashtag1","hashtag2"]},{"1371843886":["hashtag1","hashtag2"]},{"1371843880":["hashtag1","hashtag2"]},{"1371843883":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371843876, 1371843884, 1371843887, 1371843886, 1371843880, 1371843883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.918076276779175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:27:46.985748
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_44_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_34_10691.jpg', 2), ('/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_23_9680.jpg', 2), ('/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_14_9695.jpg', 2), ('/home/nano/Desktop/images/12072025/09/26/image_12072025_09_27_04_10733.jpg', 2), ('/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_53_9679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_44_9611.jpg', '/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_34_10691.jpg', '/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_23_9680.jpg', '/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_14_9695.jpg', '/home/nano/Desktop/images/12072025/09/26/image_12072025_09_27_04_10733.jpg', '/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_53_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_44_9611.jpg
/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_34_10691.jpg
/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_23_9680.jpg
/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_14_9695.jpg
/home/nano/Desktop/images/12072025/09/26/image_12072025_09_27_04_10733.jpg
/home/nano/Desktop/images/12072025/09/26/image_12072025_09_26_53_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371843960","1371843918","1371843929","1371843911","1371843898","1371843937"],"photo_ids_order":["1371843898","1371843911","1371843918","1371843929","1371843937","1371843960"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2efecc64bb114d5138ac38d1ec3b81fb.jpg","text":"TemporaryFile(/tmp/multipartBody3333854684909326336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305328762,"filename":"image_12072025_09_26_53_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52dce95fa065fdd438d44544407cc336.jpg","text":"TemporaryFile(/tmp/multipartBody2423565358334838645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305328762,"filename":"image_12072025_09_27_23_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2cc53b7c73628c531e88b3e41da1bce6.jpg","text":"TemporaryFile(/tmp/multipartBody2284613201802432312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305328762,"filename":"image_12072025_09_27_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33a55d2300ff6d4df4d56303fb49f6b8.jpg","text":"TemporaryFile(/tmp/multipartBody6059454625931235597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305328762,"filename":"image_12072025_09_27_34_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4629d16ff747725e0d93a3a7f4b3a21.jpg","text":"TemporaryFile(/tmp/multipartBody1617907715093900253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305328762,"filename":"image_12072025_09_27_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbd524749fd3e0f92c687fe78e8adbe9.jpg","text":"TemporaryFile(/tmp/multipartBody8308552429800379699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305328762,"filename":"image_12072025_09_27_04_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371843918","file1":"1371843911","file0":"1371843898","file4":"1371843937","file5":"1371843960","file3":"1371843929"},"map_files_photo_id_array":[{"photo_id":"1371843960","filename":"file5"},{"photo_id":"1371843918","filename":"file2"},{"photo_id":"1371843937","filename":"file4"},{"photo_id":"1371843911","filename":"file1"},{"photo_id":"1371843898","filename":"file0"},{"photo_id":"1371843929","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371843960":["hashtag1","hashtag2"]},{"1371843918":["hashtag1","hashtag2"]},{"1371843929":["hashtag1","hashtag2"]},{"1371843911":["hashtag1","hashtag2"]},{"1371843898":["hashtag1","hashtag2"]},{"1371843937":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371843960, 1371843918, 1371843929, 1371843911, 1371843898, 1371843937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32996487617493 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:28:32.074962
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_43_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_23_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/09/27/image_12072025_09_28_04_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_53_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_43_9602.jpg', '/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_34_10618.jpg', '/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_23_9611.jpg', '/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_14_9626.jpg', '/home/nano/Desktop/images/12072025/09/27/image_12072025_09_28_04_10615.jpg', '/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_53_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_43_9602.jpg
/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_34_10618.jpg
/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_23_9611.jpg
/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_14_9626.jpg
/home/nano/Desktop/images/12072025/09/27/image_12072025_09_28_04_10615.jpg
/home/nano/Desktop/images/12072025/09/27/image_12072025_09_27_53_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371844092","1371844094","1371844058","1371844096","1371844075","1371844057"],"photo_ids_order":["1371844057","1371844058","1371844075","1371844092","1371844094","1371844096"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ae8f96e090a453989b961b1df3d5800.jpg","text":"TemporaryFile(/tmp/multipartBody274208110628326882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305373398,"filename":"image_12072025_09_28_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2249e6b84b498c9a9c6223ab5f2f855e.jpg","text":"TemporaryFile(/tmp/multipartBody3508954592084926816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305373398,"filename":"image_12072025_09_28_04_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75c55c28ca09f96288ff60f5d6a0092c.jpg","text":"TemporaryFile(/tmp/multipartBody8693959371387488121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305373398,"filename":"image_12072025_09_28_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6586ca19a25adbff2a65f6d777a10641.jpg","text":"TemporaryFile(/tmp/multipartBody6653107336173525761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305373398,"filename":"image_12072025_09_27_53_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b155d7fe59077d86e3bff02fbba6de93.jpg","text":"TemporaryFile(/tmp/multipartBody7820567806950979128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305373398,"filename":"image_12072025_09_28_23_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/accbc0063db014f407dd1a7fae2f18a5.jpg","text":"TemporaryFile(/tmp/multipartBody6741937023067767886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305373398,"filename":"image_12072025_09_28_43_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371844075","file1":"1371844058","file0":"1371844057","file4":"1371844094","file5":"1371844096","file3":"1371844092"},"map_files_photo_id_array":[{"photo_id":"1371844096","filename":"file5"},{"photo_id":"1371844075","filename":"file2"},{"photo_id":"1371844094","filename":"file4"},{"photo_id":"1371844058","filename":"file1"},{"photo_id":"1371844057","filename":"file0"},{"photo_id":"1371844092","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371844092":["hashtag1","hashtag2"]},{"1371844094":["hashtag1","hashtag2"]},{"1371844058":["hashtag1","hashtag2"]},{"1371844096":["hashtag1","hashtag2"]},{"1371844075":["hashtag1","hashtag2"]},{"1371844057":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371844092, 1371844094, 1371844058, 1371844096, 1371844075, 1371844057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.677528619766235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:29:17.187526
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_43_9696.jpg', 2), ('/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_34_9709.jpg', 2), ('/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_24_10700.jpg', 2), ('/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_13_9709.jpg', 2), ('/home/nano/Desktop/images/12072025/09/28/image_12072025_09_29_04_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_54_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_43_9696.jpg', '/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_34_9709.jpg', '/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_24_10700.jpg', '/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_13_9709.jpg', '/home/nano/Desktop/images/12072025/09/28/image_12072025_09_29_04_9606.jpg', '/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_54_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_43_9696.jpg
/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_34_9709.jpg
/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_24_10700.jpg
/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_13_9709.jpg
/home/nano/Desktop/images/12072025/09/28/image_12072025_09_29_04_9606.jpg
/home/nano/Desktop/images/12072025/09/28/image_12072025_09_28_54_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371844118","1371844115","1371844102","1371844126","1371844111","1371844105"],"photo_ids_order":["1371844102","1371844105","1371844111","1371844115","1371844118","1371844126"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f75f4e3c3f36f0f04ef5231f4758f18.jpg","text":"TemporaryFile(/tmp/multipartBody1750213351140150839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305418807,"filename":"image_12072025_09_29_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ee602c37124ab2e1d8b689e352dd0d2.jpg","text":"TemporaryFile(/tmp/multipartBody959518106589445322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305418807,"filename":"image_12072025_09_29_13_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e2fd602bbc6fd79de381ffaed298510.jpg","text":"TemporaryFile(/tmp/multipartBody659691613289264857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305418807,"filename":"image_12072025_09_29_43_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c95cfc28ba45de9291ef82e5368a72c.jpg","text":"TemporaryFile(/tmp/multipartBody9184755067505042858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305418807,"filename":"image_12072025_09_28_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d887562804a944093cfabf1bd36077b.jpg","text":"TemporaryFile(/tmp/multipartBody3057145816252999194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305418807,"filename":"image_12072025_09_29_24_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61e5fdf42cd1ef69f796426310635ef4.jpg","text":"TemporaryFile(/tmp/multipartBody8923262586817978193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305418807,"filename":"image_12072025_09_29_34_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371844111","file1":"1371844105","file0":"1371844102","file4":"1371844118","file5":"1371844126","file3":"1371844115"},"map_files_photo_id_array":[{"photo_id":"1371844126","filename":"file5"},{"photo_id":"1371844111","filename":"file2"},{"photo_id":"1371844118","filename":"file4"},{"photo_id":"1371844105","filename":"file1"},{"photo_id":"1371844102","filename":"file0"},{"photo_id":"1371844115","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371844118":["hashtag1","hashtag2"]},{"1371844115":["hashtag1","hashtag2"]},{"1371844102":["hashtag1","hashtag2"]},{"1371844126":["hashtag1","hashtag2"]},{"1371844111":["hashtag1","hashtag2"]},{"1371844105":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371844118, 1371844115, 1371844102, 1371844126, 1371844111, 1371844105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09427261352539 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:30:02.792818
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_34_10619.jpg', 2), ('/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_23_9605.jpg', 2), ('/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_14_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/20/00/image_10072025_20_01_04_10613.jpg', 2), ('/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_53_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_44_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_34_10619.jpg', '/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_23_9605.jpg', '/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_14_9623.jpg', '/home/nano/Desktop/images/10072025/20/00/image_10072025_20_01_04_10613.jpg', '/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_53_9614.jpg', '/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_44_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_34_10619.jpg
/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_23_9605.jpg
/home/nano/Desktop/images/10072025/20/01/image_10072025_20_01_14_9623.jpg
/home/nano/Desktop/images/10072025/20/00/image_10072025_20_01_04_10613.jpg
/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_53_9614.jpg
/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_44_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371844146","1371844149","1371844143","1371844145","1371844147","1371844141"],"photo_ids_order":["1371844141","1371844143","1371844145","1371844146","1371844147","1371844149"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eef76fea455c0b3d60c8135332556f5c.jpg","text":"TemporaryFile(/tmp/multipartBody4374060150940272123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305465406,"filename":"image_10072025_20_01_04_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25d0c60b35245abe751776713134cbcc.jpg","text":"TemporaryFile(/tmp/multipartBody7530193474381473169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305465406,"filename":"image_10072025_20_00_44_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce935ea28ddbff403af737822ebc7c27.jpg","text":"TemporaryFile(/tmp/multipartBody6754708137218144058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305465406,"filename":"image_10072025_20_01_23_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9010c5ce52f87c72f44c74c04c646eeb.jpg","text":"TemporaryFile(/tmp/multipartBody7277694513746229574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305465406,"filename":"image_10072025_20_01_14_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe451d66d5acd4f18a89d9ef196b3a45.jpg","text":"TemporaryFile(/tmp/multipartBody929501489053174686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305465406,"filename":"image_10072025_20_00_53_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eda373f88f51965c5e754b6858e42e7e.jpg","text":"TemporaryFile(/tmp/multipartBody5780643833299813615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305465406,"filename":"image_10072025_20_01_34_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371844145","file1":"1371844143","file0":"1371844141","file4":"1371844147","file5":"1371844149","file3":"1371844146"},"map_files_photo_id_array":[{"photo_id":"1371844149","filename":"file5"},{"photo_id":"1371844145","filename":"file2"},{"photo_id":"1371844147","filename":"file4"},{"photo_id":"1371844143","filename":"file1"},{"photo_id":"1371844141","filename":"file0"},{"photo_id":"1371844146","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371844146":["hashtag1","hashtag2"]},{"1371844149":["hashtag1","hashtag2"]},{"1371844143":["hashtag1","hashtag2"]},{"1371844145":["hashtag1","hashtag2"]},{"1371844147":["hashtag1","hashtag2"]},{"1371844141":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371844146, 1371844149, 1371844143, 1371844145, 1371844147, 1371844141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57465434074402 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:30:47.340209
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_43_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_34_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_24_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_13_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/09/29/image_12072025_09_30_04_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_54_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_43_9598.jpg', '/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_34_9600.jpg', '/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_24_10634.jpg', '/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_13_9621.jpg', '/home/nano/Desktop/images/12072025/09/29/image_12072025_09_30_04_9620.jpg', '/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_54_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_43_9598.jpg
/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_34_9600.jpg
/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_24_10634.jpg
/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_13_9621.jpg
/home/nano/Desktop/images/12072025/09/29/image_12072025_09_30_04_9620.jpg
/home/nano/Desktop/images/12072025/09/29/image_12072025_09_29_54_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371844175","1371844442","1371844238","1371844360","1371844354","1371844339"],"photo_ids_order":["1371844175","1371844238","1371844339","1371844354","1371844360","1371844442"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66c968aabf48804aa98835f3bc681d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7768555429868087332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305508831,"filename":"image_12072025_09_30_43_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/178dd01b67fce4730aa0a0832799da77.jpg","text":"TemporaryFile(/tmp/multipartBody314605859555305509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305508831,"filename":"image_12072025_09_29_54_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f8ee7db6212ced39878047f8c49c22f.jpg","text":"TemporaryFile(/tmp/multipartBody1420868957989393408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305508831,"filename":"image_12072025_09_30_34_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fa1c24573680eda5cdd9d573368697d.jpg","text":"TemporaryFile(/tmp/multipartBody3919179115170557872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305508831,"filename":"image_12072025_09_30_04_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef811697cf23cbb4d120a8a8f96fdaf9.jpg","text":"TemporaryFile(/tmp/multipartBody8643180087576877069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305508831,"filename":"image_12072025_09_30_13_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14ae350c5a8ff575acaee24229e185ff.jpg","text":"TemporaryFile(/tmp/multipartBody2498304288146127813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305508831,"filename":"image_12072025_09_30_24_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371844339","file1":"1371844238","file0":"1371844175","file4":"1371844360","file5":"1371844442","file3":"1371844354"},"map_files_photo_id_array":[{"photo_id":"1371844442","filename":"file5"},{"photo_id":"1371844339","filename":"file2"},{"photo_id":"1371844360","filename":"file4"},{"photo_id":"1371844238","filename":"file1"},{"photo_id":"1371844175","filename":"file0"},{"photo_id":"1371844354","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371844175":["hashtag1","hashtag2"]},{"1371844442":["hashtag1","hashtag2"]},{"1371844238":["hashtag1","hashtag2"]},{"1371844360":["hashtag1","hashtag2"]},{"1371844354":["hashtag1","hashtag2"]},{"1371844339":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371844175, 1371844442, 1371844238, 1371844360, 1371844354, 1371844339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43304920196533 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:31:32.443550
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_44_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_33_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_24_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_14_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/09/30/image_12072025_09_31_03_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_54_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_44_10616.jpg', '/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_33_9603.jpg', '/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_24_9596.jpg', '/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_14_10643.jpg', '/home/nano/Desktop/images/12072025/09/30/image_12072025_09_31_03_9623.jpg', '/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_54_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_44_10616.jpg
/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_33_9603.jpg
/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_24_9596.jpg
/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_14_10643.jpg
/home/nano/Desktop/images/12072025/09/30/image_12072025_09_31_03_9623.jpg
/home/nano/Desktop/images/12072025/09/30/image_12072025_09_30_54_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371844887","1371844848","1371844809","1371844777","1371844912","1371844875"],"photo_ids_order":["1371844777","1371844809","1371844848","1371844875","1371844887","1371844912"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0dcc3b8e0c3693867b54fbf22aa3e693.jpg","text":"TemporaryFile(/tmp/multipartBody780596095291472325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305553778,"filename":"image_12072025_09_31_03_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88814102a86502b0f7105313437a7c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3628124792434965285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305553778,"filename":"image_12072025_09_31_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ba773e6a14fa9a1fed2331227a20ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2702282964219554511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305553778,"filename":"image_12072025_09_31_33_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ebcb464e43ffe327d96e2653fe20f628.jpg","text":"TemporaryFile(/tmp/multipartBody5153078392481383173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305553778,"filename":"image_12072025_09_31_44_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af301b9328c77d6e41982cfd37ba6cab.jpg","text":"TemporaryFile(/tmp/multipartBody8853152330597224809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305553778,"filename":"image_12072025_09_30_54_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36e23fc243dbc87a5f2a0bcba549226b.jpg","text":"TemporaryFile(/tmp/multipartBody8343239005562438984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305553778,"filename":"image_12072025_09_31_14_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371844848","file1":"1371844809","file0":"1371844777","file4":"1371844887","file5":"1371844912","file3":"1371844875"},"map_files_photo_id_array":[{"photo_id":"1371844912","filename":"file5"},{"photo_id":"1371844848","filename":"file2"},{"photo_id":"1371844887","filename":"file4"},{"photo_id":"1371844809","filename":"file1"},{"photo_id":"1371844777","filename":"file0"},{"photo_id":"1371844875","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371844887":["hashtag1","hashtag2"]},{"1371844848":["hashtag1","hashtag2"]},{"1371844809":["hashtag1","hashtag2"]},{"1371844777":["hashtag1","hashtag2"]},{"1371844912":["hashtag1","hashtag2"]},{"1371844875":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371844887, 1371844848, 1371844809, 1371844777, 1371844912, 1371844875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.740154027938843 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:32:17.547067
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/32/image_12072025_09_32_44_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/09/32/image_12072025_09_32_34_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/09/32/image_12072025_09_32_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_53_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/32/image_12072025_09_32_44_9600.jpg', '/home/nano/Desktop/images/12072025/09/32/image_12072025_09_32_34_10607.jpg', '/home/nano/Desktop/images/12072025/09/32/image_12072025_09_32_23_9616.jpg', '/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_53_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/32/image_12072025_09_32_44_9600.jpg
/home/nano/Desktop/images/12072025/09/32/image_12072025_09_32_34_10607.jpg
/home/nano/Desktop/images/12072025/09/32/image_12072025_09_32_23_9616.jpg
/home/nano/Desktop/images/12072025/09/31/image_12072025_09_31_53_9616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371844983","1371845027","1371845009","1371845026"],"photo_ids_order":["1371844983","1371845009","1371845026","1371845027"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74c7dbbf47e78e9de5d217208d36d120.jpg","text":"TemporaryFile(/tmp/multipartBody1819083749562986182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305598923,"filename":"image_12072025_09_32_44_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/080c7b70236ce3c74cdf545421089841.jpg","text":"TemporaryFile(/tmp/multipartBody9107614589940839633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305598923,"filename":"image_12072025_09_31_53_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/281148745629b350f1075b3c9a381151.jpg","text":"TemporaryFile(/tmp/multipartBody6670197135103033177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305598923,"filename":"image_12072025_09_32_34_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aff934a5c4493c015161cdf633247241.jpg","text":"TemporaryFile(/tmp/multipartBody1613186012770229609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305598923,"filename":"image_12072025_09_32_23_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371845026","file1":"1371845009","file0":"1371844983","file3":"1371845027"},"map_files_photo_id_array":[{"photo_id":"1371845026","filename":"file2"},{"photo_id":"1371845009","filename":"file1"},{"photo_id":"1371844983","filename":"file0"},{"photo_id":"1371845027","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371844983":["hashtag1","hashtag2"]},{"1371845027":["hashtag1","hashtag2"]},{"1371845009":["hashtag1","hashtag2"]},{"1371845026":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371844983, 1371845027, 1371845009, 1371845026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.2617609500885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:32:47.569973
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_33_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_24_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_14_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/19/59/image_10072025_20_00_03_9604.jpg', 2), ('/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_54_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_43_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_33_9622.jpg', '/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_24_9622.jpg', '/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_14_10627.jpg', '/home/nano/Desktop/images/10072025/19/59/image_10072025_20_00_03_9604.jpg', '/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_54_10639.jpg', '/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_43_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_33_9622.jpg
/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_24_9622.jpg
/home/nano/Desktop/images/10072025/20/00/image_10072025_20_00_14_10627.jpg
/home/nano/Desktop/images/10072025/19/59/image_10072025_20_00_03_9604.jpg
/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_54_10639.jpg
/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_43_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371845100","1371845162","1371845098","1371845113","1371845137","1371845094"],"photo_ids_order":["1371845094","1371845098","1371845100","1371845113","1371845137","1371845162"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6a8f8ee5d5a22af1c33bb46ff30be6a.jpg","text":"TemporaryFile(/tmp/multipartBody6171416183556187718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305630464,"filename":"image_10072025_20_00_14_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1bbba9ed9db926196fbca976c8edd19.jpg","text":"TemporaryFile(/tmp/multipartBody5391702641496091339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305630464,"filename":"image_10072025_19_59_43_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9788eb1b920fbce4347858fd683c29f.jpg","text":"TemporaryFile(/tmp/multipartBody1815234217512841717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305630464,"filename":"image_10072025_20_00_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bcd3863a51ee9b6d87722c03096b640e.jpg","text":"TemporaryFile(/tmp/multipartBody6532524609904241571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305630464,"filename":"image_10072025_20_00_03_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc14ec4ed4fa987b30f64ee355a10d8f.jpg","text":"TemporaryFile(/tmp/multipartBody3253721358753097259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305630464,"filename":"image_10072025_19_59_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aebd82c9d69049f205bfe43cb848e663.jpg","text":"TemporaryFile(/tmp/multipartBody3736231285586915118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305630464,"filename":"image_10072025_20_00_33_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371845100","file1":"1371845098","file0":"1371845094","file4":"1371845137","file5":"1371845162","file3":"1371845113"},"map_files_photo_id_array":[{"photo_id":"1371845162","filename":"file5"},{"photo_id":"1371845100","filename":"file2"},{"photo_id":"1371845137","filename":"file4"},{"photo_id":"1371845098","filename":"file1"},{"photo_id":"1371845094","filename":"file0"},{"photo_id":"1371845113","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371845100":["hashtag1","hashtag2"]},{"1371845162":["hashtag1","hashtag2"]},{"1371845098":["hashtag1","hashtag2"]},{"1371845113":["hashtag1","hashtag2"]},{"1371845137":["hashtag1","hashtag2"]},{"1371845094":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371845100, 1371845162, 1371845098, 1371845113, 1371845137, 1371845094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2770299911499 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:33:32.742693
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_44_10682.jpg', 2), ('/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_33_9713.jpg', 2), ('/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_23_9724.jpg', 2), ('/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_14_9724.jpg', 2), ('/home/nano/Desktop/images/12072025/09/32/image_12072025_09_33_04_10741.jpg', 2), ('/home/nano/Desktop/images/12072025/09/32/image_12072025_09_32_53_9676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_44_10682.jpg', '/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_33_9713.jpg', '/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_23_9724.jpg', '/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_14_9724.jpg', '/home/nano/Desktop/images/12072025/09/32/image_12072025_09_33_04_10741.jpg', '/home/nano/Desktop/images/12072025/09/32/image_12072025_09_32_53_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_44_10682.jpg
/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_33_9713.jpg
/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_23_9724.jpg
/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_14_9724.jpg
/home/nano/Desktop/images/12072025/09/32/image_12072025_09_33_04_10741.jpg
/home/nano/Desktop/images/12072025/09/32/image_12072025_09_32_53_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371845343","1371845393","1371845444","1371845318","1371845368","1371845419"],"photo_ids_order":["1371845318","1371845343","1371845368","1371845393","1371845419","1371845444"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ef3326865d87abc18f7f5e062e7cfb5.jpg","text":"TemporaryFile(/tmp/multipartBody1765436903083602861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305674861,"filename":"image_12072025_09_33_33_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88c815527c661ca486a3e9fd3a623e72.jpg","text":"TemporaryFile(/tmp/multipartBody5863491027466045282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305674861,"filename":"image_12072025_09_33_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72f7e5332bbff000dfb086b4a9d4f4b7.jpg","text":"TemporaryFile(/tmp/multipartBody5692140069794029962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305674861,"filename":"image_12072025_09_32_53_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/508928866bbea68e31e66f99979f5896.jpg","text":"TemporaryFile(/tmp/multipartBody6081256527936419717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305674861,"filename":"image_12072025_09_33_44_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1c48dc86ef8a2afb3cf4d3af1c53476.jpg","text":"TemporaryFile(/tmp/multipartBody2901113584204810963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305674861,"filename":"image_12072025_09_33_23_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/720011753589be6d58662efe5ad0748e.jpg","text":"TemporaryFile(/tmp/multipartBody4158657658851479503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305674861,"filename":"image_12072025_09_33_04_10741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371845368","file1":"1371845343","file0":"1371845318","file4":"1371845419","file5":"1371845444","file3":"1371845393"},"map_files_photo_id_array":[{"photo_id":"1371845444","filename":"file5"},{"photo_id":"1371845368","filename":"file2"},{"photo_id":"1371845419","filename":"file4"},{"photo_id":"1371845343","filename":"file1"},{"photo_id":"1371845318","filename":"file0"},{"photo_id":"1371845393","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371845343":["hashtag1","hashtag2"]},{"1371845393":["hashtag1","hashtag2"]},{"1371845444":["hashtag1","hashtag2"]},{"1371845318":["hashtag1","hashtag2"]},{"1371845368":["hashtag1","hashtag2"]},{"1371845419":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371845343, 1371845393, 1371845444, 1371845318, 1371845368, 1371845419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8931348323822 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:34:16.802747
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_43_9754.jpg', 2), ('/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_33_9712.jpg', 2), ('/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_24_9771.jpg', 2), ('/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_14_10728.jpg', 2), ('/home/nano/Desktop/images/12072025/09/33/image_12072025_09_34_03_9690.jpg', 2), ('/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_54_9744.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_43_9754.jpg', '/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_33_9712.jpg', '/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_24_9771.jpg', '/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_14_10728.jpg', '/home/nano/Desktop/images/12072025/09/33/image_12072025_09_34_03_9690.jpg', '/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_54_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_43_9754.jpg
/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_33_9712.jpg
/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_24_9771.jpg
/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_14_10728.jpg
/home/nano/Desktop/images/12072025/09/33/image_12072025_09_34_03_9690.jpg
/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_54_9744.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.0702030658721924 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:34:31.765555
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_43_9754.jpg', 2), ('/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_33_9712.jpg', 2), ('/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_24_9771.jpg', 2), ('/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_14_10728.jpg', 2), ('/home/nano/Desktop/images/12072025/09/33/image_12072025_09_34_03_9690.jpg', 2), ('/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_54_9744.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_43_9754.jpg', '/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_33_9712.jpg', '/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_24_9771.jpg', '/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_14_10728.jpg', '/home/nano/Desktop/images/12072025/09/33/image_12072025_09_34_03_9690.jpg', '/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_54_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_43_9754.jpg
/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_33_9712.jpg
/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_24_9771.jpg
/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_14_10728.jpg
/home/nano/Desktop/images/12072025/09/33/image_12072025_09_34_03_9690.jpg
/home/nano/Desktop/images/12072025/09/33/image_12072025_09_33_54_9744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371846008","1371845975","1371845828","1371845935","1371845908","1371845874"],"photo_ids_order":["1371845828","1371845874","1371845908","1371845935","1371845975","1371846008"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b01065deee33e4a6c849466fbf339ff.jpg","text":"TemporaryFile(/tmp/multipartBody3017088631549901101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305733977,"filename":"image_12072025_09_33_54_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a10e7f3a61eae37b9c3d3888b209fc6.jpg","text":"TemporaryFile(/tmp/multipartBody2512275930915566933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305733977,"filename":"image_12072025_09_34_03_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/592c0c00e809400253c24d9f278b43f1.jpg","text":"TemporaryFile(/tmp/multipartBody876877162841078340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305733977,"filename":"image_12072025_09_34_43_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7f1283cdd531526130d169d09a10290.jpg","text":"TemporaryFile(/tmp/multipartBody4217883971302862590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305733977,"filename":"image_12072025_09_34_14_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f14112ecaf0da077f2e6d84aac147f5.jpg","text":"TemporaryFile(/tmp/multipartBody541246756036106822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305733977,"filename":"image_12072025_09_34_24_9771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd5355b4db328b85fb88e1b6eacef905.jpg","text":"TemporaryFile(/tmp/multipartBody1765411103479413272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305733977,"filename":"image_12072025_09_34_33_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371845908","file1":"1371845874","file0":"1371845828","file4":"1371845975","file5":"1371846008","file3":"1371845935"},"map_files_photo_id_array":[{"photo_id":"1371846008","filename":"file5"},{"photo_id":"1371845908","filename":"file2"},{"photo_id":"1371845975","filename":"file4"},{"photo_id":"1371845874","filename":"file1"},{"photo_id":"1371845828","filename":"file0"},{"photo_id":"1371845935","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371846008":["hashtag1","hashtag2"]},{"1371845975":["hashtag1","hashtag2"]},{"1371845828":["hashtag1","hashtag2"]},{"1371845935":["hashtag1","hashtag2"]},{"1371845908":["hashtag1","hashtag2"]},{"1371845874":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371846008, 1371845975, 1371845828, 1371845935, 1371845908, 1371845874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15268635749817 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:35:16.916149
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_44_9754.jpg', 2), ('/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_34_10747.jpg', 2), ('/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_23_9717.jpg', 2), ('/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_13_9730.jpg', 2), ('/home/nano/Desktop/images/12072025/09/34/image_12072025_09_35_04_9701.jpg', 2), ('/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_54_10733.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_44_9754.jpg', '/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_34_10747.jpg', '/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_23_9717.jpg', '/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_13_9730.jpg', '/home/nano/Desktop/images/12072025/09/34/image_12072025_09_35_04_9701.jpg', '/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_54_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_44_9754.jpg
/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_34_10747.jpg
/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_23_9717.jpg
/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_13_9730.jpg
/home/nano/Desktop/images/12072025/09/34/image_12072025_09_35_04_9701.jpg
/home/nano/Desktop/images/12072025/09/34/image_12072025_09_34_54_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371846461","1371846365","1371846272","1371846413","1371846507","1371846318"],"photo_ids_order":["1371846272","1371846318","1371846365","1371846413","1371846461","1371846507"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c96c48643a701bfddb61a19e5f272145.jpg","text":"TemporaryFile(/tmp/multipartBody5149649183234371519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305778767,"filename":"image_12072025_09_35_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afd41852cb5b61dff3f89c4112b60652.jpg","text":"TemporaryFile(/tmp/multipartBody4920492650749902286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305778767,"filename":"image_12072025_09_35_23_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ebb5d521702c8a0894f4b07f81f1d29.jpg","text":"TemporaryFile(/tmp/multipartBody8345985096642774962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305778767,"filename":"image_12072025_09_35_44_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f0e4bb56853cff87db08828f6d0ce14.jpg","text":"TemporaryFile(/tmp/multipartBody7746298736493997582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305778767,"filename":"image_12072025_09_35_13_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/547aab7cb568ecbf1ff0e058ad59d4a7.jpg","text":"TemporaryFile(/tmp/multipartBody6275510670500767400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305778767,"filename":"image_12072025_09_34_54_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16bf0455e03c66c5bcc0db7830a92332.jpg","text":"TemporaryFile(/tmp/multipartBody67200396355743908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305778767,"filename":"image_12072025_09_35_34_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371846365","file1":"1371846318","file0":"1371846272","file4":"1371846461","file5":"1371846507","file3":"1371846413"},"map_files_photo_id_array":[{"photo_id":"1371846507","filename":"file5"},{"photo_id":"1371846365","filename":"file2"},{"photo_id":"1371846461","filename":"file4"},{"photo_id":"1371846318","filename":"file1"},{"photo_id":"1371846272","filename":"file0"},{"photo_id":"1371846413","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371846461":["hashtag1","hashtag2"]},{"1371846365":["hashtag1","hashtag2"]},{"1371846272":["hashtag1","hashtag2"]},{"1371846413":["hashtag1","hashtag2"]},{"1371846507":["hashtag1","hashtag2"]},{"1371846318":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371846461, 1371846365, 1371846272, 1371846413, 1371846507, 1371846318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78193426132202 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:36:02.628876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_33_9602.jpg', 2), ('/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_24_10614.jpg', 2), ('/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_13_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/19/58/image_10072025_19_59_04_9605.jpg', 2), ('/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_54_10607.jpg', 2), ('/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_43_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_33_9602.jpg', '/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_24_10614.jpg', '/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_13_9641.jpg', '/home/nano/Desktop/images/10072025/19/58/image_10072025_19_59_04_9605.jpg', '/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_54_10607.jpg', '/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_43_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_33_9602.jpg
/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_24_10614.jpg
/home/nano/Desktop/images/10072025/19/59/image_10072025_19_59_13_9641.jpg
/home/nano/Desktop/images/10072025/19/58/image_10072025_19_59_04_9605.jpg
/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_54_10607.jpg
/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_43_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371847127","1371846821","1371847047","1371846894","1371847298","1371847209"],"photo_ids_order":["1371846821","1371846894","1371847047","1371847127","1371847209","1371847298"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53966dab573d7410a5f07fedd38ea866.jpg","text":"TemporaryFile(/tmp/multipartBody6077254761928122098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305825324,"filename":"image_10072025_19_59_04_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7e2d77eb35dcf418b90a4b68f3773e5.jpg","text":"TemporaryFile(/tmp/multipartBody5437900515999567553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305825324,"filename":"image_10072025_19_59_33_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b65b6dbfb0da2917bbd8f9a0da59c715.jpg","text":"TemporaryFile(/tmp/multipartBody7972223995334370631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305825324,"filename":"image_10072025_19_59_13_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d40ca58877a4790f03d2405703279b18.jpg","text":"TemporaryFile(/tmp/multipartBody1208934715665815659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305825324,"filename":"image_10072025_19_59_24_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da22dce8226f134ee2368aa54e020f63.jpg","text":"TemporaryFile(/tmp/multipartBody6419664942978269237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305825324,"filename":"image_10072025_19_58_43_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f2e55cf777ff29386190afdff58dd79.jpg","text":"TemporaryFile(/tmp/multipartBody4731113367558362464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305825324,"filename":"image_10072025_19_58_54_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371847047","file1":"1371846894","file0":"1371846821","file4":"1371847209","file5":"1371847298","file3":"1371847127"},"map_files_photo_id_array":[{"photo_id":"1371847298","filename":"file5"},{"photo_id":"1371847047","filename":"file2"},{"photo_id":"1371847209","filename":"file4"},{"photo_id":"1371846894","filename":"file1"},{"photo_id":"1371846821","filename":"file0"},{"photo_id":"1371847127","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371847127":["hashtag1","hashtag2"]},{"1371846821":["hashtag1","hashtag2"]},{"1371847047":["hashtag1","hashtag2"]},{"1371846894":["hashtag1","hashtag2"]},{"1371847298":["hashtag1","hashtag2"]},{"1371847209":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371847127, 1371846821, 1371847047, 1371846894, 1371847298, 1371847209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42193937301636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:36:47.068765
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_44_10710.jpg', 2), ('/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_33_9713.jpg', 2), ('/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_24_9731.jpg', 2), ('/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_14_10766.jpg', 2), ('/home/nano/Desktop/images/12072025/09/35/image_12072025_09_36_03_9703.jpg', 2), ('/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_53_9770.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_44_10710.jpg', '/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_33_9713.jpg', '/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_24_9731.jpg', '/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_14_10766.jpg', '/home/nano/Desktop/images/12072025/09/35/image_12072025_09_36_03_9703.jpg', '/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_53_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_44_10710.jpg
/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_33_9713.jpg
/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_24_9731.jpg
/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_14_10766.jpg
/home/nano/Desktop/images/12072025/09/35/image_12072025_09_36_03_9703.jpg
/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_53_9770.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1721065044403076 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:37:02.783426
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_44_10710.jpg', 2), ('/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_33_9713.jpg', 2), ('/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_24_9731.jpg', 2), ('/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_14_10766.jpg', 2), ('/home/nano/Desktop/images/12072025/09/35/image_12072025_09_36_03_9703.jpg', 2), ('/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_53_9770.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_44_10710.jpg', '/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_33_9713.jpg', '/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_24_9731.jpg', '/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_14_10766.jpg', '/home/nano/Desktop/images/12072025/09/35/image_12072025_09_36_03_9703.jpg', '/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_53_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_44_10710.jpg
/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_33_9713.jpg
/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_24_9731.jpg
/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_14_10766.jpg
/home/nano/Desktop/images/12072025/09/35/image_12072025_09_36_03_9703.jpg
/home/nano/Desktop/images/12072025/09/35/image_12072025_09_35_53_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371848149","1371848107","1371848041","1371847966","1371847863","1371847911"],"photo_ids_order":["1371847863","1371847911","1371847966","1371848041","1371848107","1371848149"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6743e926b07aff43ba25a92c947fdcec.jpg","text":"TemporaryFile(/tmp/multipartBody8012640237250404535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305884736,"filename":"image_12072025_09_35_53_9770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/593da530037ea1d019f24567efbd5c8d.jpg","text":"TemporaryFile(/tmp/multipartBody6646902536377124670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305884736,"filename":"image_12072025_09_36_03_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec3055d82ee77bce6cc02d9cc756123b.jpg","text":"TemporaryFile(/tmp/multipartBody7268967717307202985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305884736,"filename":"image_12072025_09_36_14_10766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f594e29b56ddd0b38701bfb67714827a.jpg","text":"TemporaryFile(/tmp/multipartBody8067072910049377432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305884736,"filename":"image_12072025_09_36_24_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98540eee0b55ae279662f1610858f6d4.jpg","text":"TemporaryFile(/tmp/multipartBody3520169728325812327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305884736,"filename":"image_12072025_09_36_44_10710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59fbe59f1e21cbd773c0efb51e78e923.jpg","text":"TemporaryFile(/tmp/multipartBody1533052336261746051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305884736,"filename":"image_12072025_09_36_33_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371847966","file1":"1371847911","file0":"1371847863","file4":"1371848107","file5":"1371848149","file3":"1371848041"},"map_files_photo_id_array":[{"photo_id":"1371848149","filename":"file5"},{"photo_id":"1371847966","filename":"file2"},{"photo_id":"1371848107","filename":"file4"},{"photo_id":"1371847911","filename":"file1"},{"photo_id":"1371847863","filename":"file0"},{"photo_id":"1371848041","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371848149":["hashtag1","hashtag2"]},{"1371848107":["hashtag1","hashtag2"]},{"1371848041":["hashtag1","hashtag2"]},{"1371847966":["hashtag1","hashtag2"]},{"1371847863":["hashtag1","hashtag2"]},{"1371847911":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371848149, 1371848107, 1371848041, 1371847966, 1371847863, 1371847911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.322672605514526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:37:47.183819
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_44_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_33_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_24_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_13_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/09/36/image_12072025_09_37_03_9742.jpg', 2), ('/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_54_9719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_44_10614.jpg', '/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_33_9609.jpg', '/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_24_10637.jpg', '/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_13_9671.jpg', '/home/nano/Desktop/images/12072025/09/36/image_12072025_09_37_03_9742.jpg', '/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_54_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_44_10614.jpg
/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_33_9609.jpg
/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_24_10637.jpg
/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_13_9671.jpg
/home/nano/Desktop/images/12072025/09/36/image_12072025_09_37_03_9742.jpg
/home/nano/Desktop/images/12072025/09/36/image_12072025_09_36_54_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371848572","1371848913","1371848864","1371848802","1371848648","1371848960"],"photo_ids_order":["1371848572","1371848648","1371848802","1371848864","1371848913","1371848960"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ee50849ad24409110136f7ac209bc6d.jpg","text":"TemporaryFile(/tmp/multipartBody724620185447225481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305929025,"filename":"image_12072025_09_37_44_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0a0520c5e85ccb656664f4fc0e05ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4548912029180724231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305929025,"filename":"image_12072025_09_37_03_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4af674dfd17a667e8d642e28d4f0c50b.jpg","text":"TemporaryFile(/tmp/multipartBody411028281889902603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305929025,"filename":"image_12072025_09_37_13_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8b7b1d912a79e554b1338797b146cde.jpg","text":"TemporaryFile(/tmp/multipartBody2812228707221164249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305929025,"filename":"image_12072025_09_37_24_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbf88b705f633f1bcd3a331f700dac2c.jpg","text":"TemporaryFile(/tmp/multipartBody3492955536197134614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305929025,"filename":"image_12072025_09_37_33_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c672dcb21a0d3030a38859e3e19de0f.jpg","text":"TemporaryFile(/tmp/multipartBody8104555538229299859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305929025,"filename":"image_12072025_09_36_54_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371848802","file1":"1371848648","file0":"1371848572","file4":"1371848913","file5":"1371848960","file3":"1371848864"},"map_files_photo_id_array":[{"photo_id":"1371848960","filename":"file5"},{"photo_id":"1371848802","filename":"file2"},{"photo_id":"1371848913","filename":"file4"},{"photo_id":"1371848648","filename":"file1"},{"photo_id":"1371848572","filename":"file0"},{"photo_id":"1371848864","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371848572":["hashtag1","hashtag2"]},{"1371848913":["hashtag1","hashtag2"]},{"1371848864":["hashtag1","hashtag2"]},{"1371848802":["hashtag1","hashtag2"]},{"1371848648":["hashtag1","hashtag2"]},{"1371848960":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371848572, 1371848913, 1371848864, 1371848802, 1371848648, 1371848960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95324492454529 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:38:32.346837
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_44_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_34_10608.jpg', 2), ('/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_14_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/09/37/image_12072025_09_38_03_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_54_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_44_9607.jpg', '/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_34_10608.jpg', '/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_23_9616.jpg', '/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_14_10634.jpg', '/home/nano/Desktop/images/12072025/09/37/image_12072025_09_38_03_9617.jpg', '/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_44_9607.jpg
/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_34_10608.jpg
/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_23_9616.jpg
/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_14_10634.jpg
/home/nano/Desktop/images/12072025/09/37/image_12072025_09_38_03_9617.jpg
/home/nano/Desktop/images/12072025/09/37/image_12072025_09_37_54_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371849400","1371849504","1371849447","1371849303","1371849352","1371849256"],"photo_ids_order":["1371849256","1371849303","1371849352","1371849400","1371849447","1371849504"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37aca9f3d8920050f86e7b36a814447a.jpg","text":"TemporaryFile(/tmp/multipartBody807310401091526750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305974867,"filename":"image_12072025_09_38_14_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96f910cc4ec9845a8ea05990d8ba464f.jpg","text":"TemporaryFile(/tmp/multipartBody8658390133134842323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305974867,"filename":"image_12072025_09_37_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e154274793da58308776cda1b85d4ba8.jpg","text":"TemporaryFile(/tmp/multipartBody5480318626016301026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305974867,"filename":"image_12072025_09_38_03_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47daf0cab167da9f4ed7359de5c03d80.jpg","text":"TemporaryFile(/tmp/multipartBody259189608200315401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305974867,"filename":"image_12072025_09_38_34_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9e63ab9aefb9867e4085b289dab3274.jpg","text":"TemporaryFile(/tmp/multipartBody4197543102372894858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305974867,"filename":"image_12072025_09_38_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66f6babfe1e07ad193217d8dc5e4a0cd.jpg","text":"TemporaryFile(/tmp/multipartBody5331948999204014023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752305974867,"filename":"image_12072025_09_38_44_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371849352","file1":"1371849303","file0":"1371849256","file4":"1371849447","file5":"1371849504","file3":"1371849400"},"map_files_photo_id_array":[{"photo_id":"1371849504","filename":"file5"},{"photo_id":"1371849352","filename":"file2"},{"photo_id":"1371849447","filename":"file4"},{"photo_id":"1371849303","filename":"file1"},{"photo_id":"1371849256","filename":"file0"},{"photo_id":"1371849400","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371849400":["hashtag1","hashtag2"]},{"1371849504":["hashtag1","hashtag2"]},{"1371849447":["hashtag1","hashtag2"]},{"1371849303":["hashtag1","hashtag2"]},{"1371849352":["hashtag1","hashtag2"]},{"1371849256":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371849400, 1371849504, 1371849447, 1371849303, 1371849352, 1371849256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.98553967475891 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:39:17.397545
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_43_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_34_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_23_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_14_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/09/38/image_12072025_09_39_04_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_53_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_43_9606.jpg', '/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_34_10630.jpg', '/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_23_9623.jpg', '/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_14_9622.jpg', '/home/nano/Desktop/images/12072025/09/38/image_12072025_09_39_04_10614.jpg', '/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_53_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_43_9606.jpg
/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_34_10630.jpg
/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_23_9623.jpg
/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_14_9622.jpg
/home/nano/Desktop/images/12072025/09/38/image_12072025_09_39_04_10614.jpg
/home/nano/Desktop/images/12072025/09/38/image_12072025_09_38_53_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371850060","1371849912","1371849875","1371850011","1371849967","1371849943"],"photo_ids_order":["1371849875","1371849912","1371849943","1371849967","1371850011","1371850060"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/965f4eefc71528ebdc40e293e820e981.jpg","text":"TemporaryFile(/tmp/multipartBody17450263124840635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306018787,"filename":"image_12072025_09_38_53_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1ba4e14319b9bce803ee92c7833a8ba.jpg","text":"TemporaryFile(/tmp/multipartBody6925647156314405030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306018787,"filename":"image_12072025_09_39_34_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ba04140eac152b73058ae5bf6ad5a67.jpg","text":"TemporaryFile(/tmp/multipartBody7981478502654198793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306018787,"filename":"image_12072025_09_39_43_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5aa3bb7c5303c8d7819d7a2a27794a68.jpg","text":"TemporaryFile(/tmp/multipartBody4582663885940483140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306018787,"filename":"image_12072025_09_39_04_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22d82b9f53a349b5066880d3297e5d2e.jpg","text":"TemporaryFile(/tmp/multipartBody4662174863772154159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306018787,"filename":"image_12072025_09_39_14_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5070ae42c8c95618341f837c4ec696b.jpg","text":"TemporaryFile(/tmp/multipartBody8390554927186642129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306018787,"filename":"image_12072025_09_39_23_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371849943","file1":"1371849912","file0":"1371849875","file4":"1371850011","file5":"1371850060","file3":"1371849967"},"map_files_photo_id_array":[{"photo_id":"1371850060","filename":"file5"},{"photo_id":"1371849943","filename":"file2"},{"photo_id":"1371850011","filename":"file4"},{"photo_id":"1371849912","filename":"file1"},{"photo_id":"1371849875","filename":"file0"},{"photo_id":"1371849967","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371850060":["hashtag1","hashtag2"]},{"1371849912":["hashtag1","hashtag2"]},{"1371849875":["hashtag1","hashtag2"]},{"1371850011":["hashtag1","hashtag2"]},{"1371849967":["hashtag1","hashtag2"]},{"1371849943":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371850060, 1371849912, 1371849875, 1371850011, 1371849967, 1371849943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00106382369995 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:40:02.962784
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_34_10628.jpg', 2), ('/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_23_9604.jpg', 2), ('/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_14_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/19/57/image_10072025_19_58_04_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_53_9606.jpg', 2), ('/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_44_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_34_10628.jpg', '/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_23_9604.jpg', '/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_14_9628.jpg', '/home/nano/Desktop/images/10072025/19/57/image_10072025_19_58_04_10637.jpg', '/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_53_9606.jpg', '/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_44_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_34_10628.jpg
/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_23_9604.jpg
/home/nano/Desktop/images/10072025/19/58/image_10072025_19_58_14_9628.jpg
/home/nano/Desktop/images/10072025/19/57/image_10072025_19_58_04_10637.jpg
/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_53_9606.jpg
/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_44_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371850465","1371850366","1371850429","1371850405","1371850539","1371850490"],"photo_ids_order":["1371850366","1371850405","1371850429","1371850465","1371850490","1371850539"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/becc014c24db9cee9d94df67f73778ce.jpg","text":"TemporaryFile(/tmp/multipartBody7250140891360529924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306065683,"filename":"image_10072025_19_58_04_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/540d74f73783afe834de429dfbbcf566.jpg","text":"TemporaryFile(/tmp/multipartBody44461278094276525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306065683,"filename":"image_10072025_19_58_34_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e146c7e8edc99df68a9ddc04a9b6b88.jpg","text":"TemporaryFile(/tmp/multipartBody6743349674948776959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306065683,"filename":"image_10072025_19_58_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09e67d023a71c24971974e8c56fca6b1.jpg","text":"TemporaryFile(/tmp/multipartBody4642992294125306337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306065683,"filename":"image_10072025_19_58_23_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b077c48d38c68cac3b316bb7db28b261.jpg","text":"TemporaryFile(/tmp/multipartBody794409970264991151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306065683,"filename":"image_10072025_19_57_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5357ecb3b5355d2b3eaf64f1f52f942.jpg","text":"TemporaryFile(/tmp/multipartBody8751435293084805793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306065683,"filename":"image_10072025_19_57_53_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371850429","file1":"1371850405","file0":"1371850366","file4":"1371850490","file5":"1371850539","file3":"1371850465"},"map_files_photo_id_array":[{"photo_id":"1371850539","filename":"file5"},{"photo_id":"1371850429","filename":"file2"},{"photo_id":"1371850490","filename":"file4"},{"photo_id":"1371850405","filename":"file1"},{"photo_id":"1371850366","filename":"file0"},{"photo_id":"1371850465","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371850465":["hashtag1","hashtag2"]},{"1371850366":["hashtag1","hashtag2"]},{"1371850429":["hashtag1","hashtag2"]},{"1371850405":["hashtag1","hashtag2"]},{"1371850539":["hashtag1","hashtag2"]},{"1371850490":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371850465, 1371850366, 1371850429, 1371850405, 1371850539, 1371850490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68710803985596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:40:47.485419
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_43_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_34_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_24_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_13_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/09/39/image_12072025_09_40_04_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_54_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_43_9604.jpg', '/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_34_9605.jpg', '/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_24_10635.jpg', '/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_13_9630.jpg', '/home/nano/Desktop/images/12072025/09/39/image_12072025_09_40_04_9651.jpg', '/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_54_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_43_9604.jpg
/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_34_9605.jpg
/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_24_10635.jpg
/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_13_9630.jpg
/home/nano/Desktop/images/12072025/09/39/image_12072025_09_40_04_9651.jpg
/home/nano/Desktop/images/12072025/09/39/image_12072025_09_39_54_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371850843","1371851196","1371850903","1371850952","1371851143","1371851044"],"photo_ids_order":["1371850843","1371850903","1371850952","1371851044","1371851143","1371851196"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae9e723d69849442ac1cdfb42de62bd6.jpg","text":"TemporaryFile(/tmp/multipartBody7935020966572447108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306109021,"filename":"image_12072025_09_40_43_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/286f11a8d7968a468af1ba342dd2e3c9.jpg","text":"TemporaryFile(/tmp/multipartBody4361824968482483417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306109021,"filename":"image_12072025_09_39_54_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a00e8e612adc46f992fdf37fbc5b679f.jpg","text":"TemporaryFile(/tmp/multipartBody5633646410304452244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306109021,"filename":"image_12072025_09_40_34_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12e831b89d8612a3b00ce569a8637bc6.jpg","text":"TemporaryFile(/tmp/multipartBody318215257159143450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306109021,"filename":"image_12072025_09_40_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8eee8300d581668c297547c656b460c0.jpg","text":"TemporaryFile(/tmp/multipartBody9054506933133877948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306109021,"filename":"image_12072025_09_40_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44b73e7a594a94cb85dfef59a35c451b.jpg","text":"TemporaryFile(/tmp/multipartBody8807773109130318699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306109021,"filename":"image_12072025_09_40_13_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371850952","file1":"1371850903","file0":"1371850843","file4":"1371851143","file5":"1371851196","file3":"1371851044"},"map_files_photo_id_array":[{"photo_id":"1371851196","filename":"file5"},{"photo_id":"1371850952","filename":"file2"},{"photo_id":"1371851143","filename":"file4"},{"photo_id":"1371850903","filename":"file1"},{"photo_id":"1371850843","filename":"file0"},{"photo_id":"1371851044","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371850843":["hashtag1","hashtag2"]},{"1371851196":["hashtag1","hashtag2"]},{"1371850903":["hashtag1","hashtag2"]},{"1371850952":["hashtag1","hashtag2"]},{"1371851143":["hashtag1","hashtag2"]},{"1371851044":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371850843, 1371851196, 1371850903, 1371850952, 1371851143, 1371851044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.850677967071533 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:41:32.634976
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_44_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_33_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_24_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/09/40/image_12072025_09_41_03_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_54_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_44_10625.jpg', '/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_33_9611.jpg', '/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_24_9614.jpg', '/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_14_10667.jpg', '/home/nano/Desktop/images/12072025/09/40/image_12072025_09_41_03_9610.jpg', '/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_54_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_44_10625.jpg
/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_33_9611.jpg
/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_24_9614.jpg
/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_14_10667.jpg
/home/nano/Desktop/images/12072025/09/40/image_12072025_09_41_03_9610.jpg
/home/nano/Desktop/images/12072025/09/40/image_12072025_09_40_54_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371851781","1371851928","1371851552","1371851686","1371851603","1371851854"],"photo_ids_order":["1371851552","1371851603","1371851686","1371851781","1371851854","1371851928"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4d9ef82254d025d337a78425e903aab.jpg","text":"TemporaryFile(/tmp/multipartBody1707269038705131198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306154161,"filename":"image_12072025_09_41_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/776cb9ce4258c16c01c3dc118f5bef3a.jpg","text":"TemporaryFile(/tmp/multipartBody461933385088907337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306154161,"filename":"image_12072025_09_40_54_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a55eab688029891f3e88d5f08d7b16b.jpg","text":"TemporaryFile(/tmp/multipartBody2357238296316439239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306154161,"filename":"image_12072025_09_41_44_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f0496817256da97fdfb173aa15ee394.jpg","text":"TemporaryFile(/tmp/multipartBody7415541460278569099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306154161,"filename":"image_12072025_09_41_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/408656a84ab7bd34818f7bcd368dc9a9.jpg","text":"TemporaryFile(/tmp/multipartBody720320964914682450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306154161,"filename":"image_12072025_09_41_33_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a941eef44e44747b0ec21b4aea6e56ea.jpg","text":"TemporaryFile(/tmp/multipartBody3200109609554890381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306154161,"filename":"image_12072025_09_41_03_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371851686","file1":"1371851603","file0":"1371851552","file4":"1371851854","file5":"1371851928","file3":"1371851781"},"map_files_photo_id_array":[{"photo_id":"1371851928","filename":"file5"},{"photo_id":"1371851686","filename":"file2"},{"photo_id":"1371851854","filename":"file4"},{"photo_id":"1371851603","filename":"file1"},{"photo_id":"1371851552","filename":"file0"},{"photo_id":"1371851781","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371851781":["hashtag1","hashtag2"]},{"1371851928":["hashtag1","hashtag2"]},{"1371851552":["hashtag1","hashtag2"]},{"1371851686":["hashtag1","hashtag2"]},{"1371851603":["hashtag1","hashtag2"]},{"1371851854":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371851781, 1371851928, 1371851552, 1371851686, 1371851603, 1371851854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3713538646698 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:42:17.678462
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_44_9711.jpg', 2), ('/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_34_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_23_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_14_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/09/41/image_12072025_09_42_03_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_53_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_44_9711.jpg', '/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_34_10633.jpg', '/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_23_9628.jpg', '/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_14_10657.jpg', '/home/nano/Desktop/images/12072025/09/41/image_12072025_09_42_03_9609.jpg', '/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_53_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_44_9711.jpg
/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_34_10633.jpg
/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_23_9628.jpg
/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_14_10657.jpg
/home/nano/Desktop/images/12072025/09/41/image_12072025_09_42_03_9609.jpg
/home/nano/Desktop/images/12072025/09/41/image_12072025_09_41_53_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371852582","1371852390","1371852534","1371852488","1371852635","1371852439"],"photo_ids_order":["1371852390","1371852439","1371852488","1371852534","1371852582","1371852635"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b8f9caf1c4b8090d0b1b49a73941c99.jpg","text":"TemporaryFile(/tmp/multipartBody6565984355754254786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306199332,"filename":"image_12072025_09_42_03_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6daa94763ea3d50086108b420472a9b1.jpg","text":"TemporaryFile(/tmp/multipartBody7829786527363307791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306199332,"filename":"image_12072025_09_42_44_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/adc976ce8ca184b24e795d58c33bbf18.jpg","text":"TemporaryFile(/tmp/multipartBody6090455170952823270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306199332,"filename":"image_12072025_09_42_14_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2668cc757ba71240ff881dca769c3a33.jpg","text":"TemporaryFile(/tmp/multipartBody7781862830667670978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306199332,"filename":"image_12072025_09_42_23_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc0e66a644fe7e3868d8f496ca1c90de.jpg","text":"TemporaryFile(/tmp/multipartBody5670472294378360782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306199332,"filename":"image_12072025_09_41_53_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15010754a005888caad1070b4864365c.jpg","text":"TemporaryFile(/tmp/multipartBody4481115907964820914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306199332,"filename":"image_12072025_09_42_34_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371852488","file1":"1371852439","file0":"1371852390","file4":"1371852582","file5":"1371852635","file3":"1371852534"},"map_files_photo_id_array":[{"photo_id":"1371852635","filename":"file5"},{"photo_id":"1371852488","filename":"file2"},{"photo_id":"1371852582","filename":"file4"},{"photo_id":"1371852439","filename":"file1"},{"photo_id":"1371852390","filename":"file0"},{"photo_id":"1371852534","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371852582":["hashtag1","hashtag2"]},{"1371852390":["hashtag1","hashtag2"]},{"1371852534":["hashtag1","hashtag2"]},{"1371852488":["hashtag1","hashtag2"]},{"1371852635":["hashtag1","hashtag2"]},{"1371852439":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371852582, 1371852390, 1371852534, 1371852488, 1371852635, 1371852439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.516252517700195 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:43:02.608575
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_34_10614.jpg', 2), ('/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_23_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_14_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/19/56/image_10072025_19_57_03_9606.jpg', 2), ('/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_54_9599.jpg', 2), ('/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_44_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_34_10614.jpg', '/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_23_9607.jpg', '/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_14_10627.jpg', '/home/nano/Desktop/images/10072025/19/56/image_10072025_19_57_03_9606.jpg', '/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_54_9599.jpg', '/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_44_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_34_10614.jpg
/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_23_9607.jpg
/home/nano/Desktop/images/10072025/19/57/image_10072025_19_57_14_10627.jpg
/home/nano/Desktop/images/10072025/19/56/image_10072025_19_57_03_9606.jpg
/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_54_9599.jpg
/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_44_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371853067","1371853214","1371852824","1371853141","1371852928","1371852870"],"photo_ids_order":["1371852824","1371852870","1371852928","1371853067","1371853141","1371853214"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0aeecb73bd05f291ecdeb42b752d45a3.jpg","text":"TemporaryFile(/tmp/multipartBody1381410622139012134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306245238,"filename":"image_10072025_19_57_03_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b620922688da2a0e1491461cca148816.jpg","text":"TemporaryFile(/tmp/multipartBody1499012997669932334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306245238,"filename":"image_10072025_19_56_44_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db5bd3bf4c8e1435188de94b824a6770.jpg","text":"TemporaryFile(/tmp/multipartBody7420993457597367260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306245238,"filename":"image_10072025_19_57_34_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d2ce0402850257be99d455d45c1a761.jpg","text":"TemporaryFile(/tmp/multipartBody3072971698062210981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306245238,"filename":"image_10072025_19_56_54_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f561bc0ed808839a8c760d37f5bd9bf1.jpg","text":"TemporaryFile(/tmp/multipartBody5750787756968555031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306245238,"filename":"image_10072025_19_57_14_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/968fbb78f603d424943486f3ae4e0bc4.jpg","text":"TemporaryFile(/tmp/multipartBody5548132235428898214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306245238,"filename":"image_10072025_19_57_23_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371852928","file1":"1371852870","file0":"1371852824","file4":"1371853141","file5":"1371853214","file3":"1371853067"},"map_files_photo_id_array":[{"photo_id":"1371853214","filename":"file5"},{"photo_id":"1371852928","filename":"file2"},{"photo_id":"1371853141","filename":"file4"},{"photo_id":"1371852870","filename":"file1"},{"photo_id":"1371852824","filename":"file0"},{"photo_id":"1371853067","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371853067":["hashtag1","hashtag2"]},{"1371853214":["hashtag1","hashtag2"]},{"1371852824":["hashtag1","hashtag2"]},{"1371853141":["hashtag1","hashtag2"]},{"1371852928":["hashtag1","hashtag2"]},{"1371852870":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371853067, 1371853214, 1371852824, 1371853141, 1371852928, 1371852870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32286882400513 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:43:46.815236
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_44_10701.jpg', 2), ('/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_33_9731.jpg', 2), ('/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_24_9706.jpg', 2), ('/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_14_10732.jpg', 2), ('/home/nano/Desktop/images/12072025/09/42/image_12072025_09_43_03_9695.jpg', 2), ('/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_53_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_44_10701.jpg', '/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_33_9731.jpg', '/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_24_9706.jpg', '/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_14_10732.jpg', '/home/nano/Desktop/images/12072025/09/42/image_12072025_09_43_03_9695.jpg', '/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_53_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_44_10701.jpg
/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_33_9731.jpg
/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_24_9706.jpg
/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_14_10732.jpg
/home/nano/Desktop/images/12072025/09/42/image_12072025_09_43_03_9695.jpg
/home/nano/Desktop/images/12072025/09/42/image_12072025_09_42_53_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371853538","1371853696","1371853603","1371853647","1371853734","1371853563"],"photo_ids_order":["1371853538","1371853563","1371853603","1371853647","1371853696","1371853734"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/111aab3472175a0a5f4ade43cc0de4bd.jpg","text":"TemporaryFile(/tmp/multipartBody4079060006986014609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306288637,"filename":"image_12072025_09_43_44_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7550715b7c20d03927cfc68b4f8ea076.jpg","text":"TemporaryFile(/tmp/multipartBody5864767280574938517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306288637,"filename":"image_12072025_09_43_03_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/626ce90e0c4e0adbeb128b8c184fa0f9.jpg","text":"TemporaryFile(/tmp/multipartBody1121750755540796254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306288637,"filename":"image_12072025_09_43_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f49e8a0bfeb7e884423bd5a8565a749.jpg","text":"TemporaryFile(/tmp/multipartBody6806456652491025707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306288637,"filename":"image_12072025_09_43_14_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01eac3b0721e9202041de12b07f68d47.jpg","text":"TemporaryFile(/tmp/multipartBody8677084058486761535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306288637,"filename":"image_12072025_09_42_53_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1d19309a8470d1289b7e24fa2653d83.jpg","text":"TemporaryFile(/tmp/multipartBody9152821654464573105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306288637,"filename":"image_12072025_09_43_33_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371853603","file1":"1371853563","file0":"1371853538","file4":"1371853696","file5":"1371853734","file3":"1371853647"},"map_files_photo_id_array":[{"photo_id":"1371853734","filename":"file5"},{"photo_id":"1371853603","filename":"file2"},{"photo_id":"1371853696","filename":"file4"},{"photo_id":"1371853563","filename":"file1"},{"photo_id":"1371853538","filename":"file0"},{"photo_id":"1371853647","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371853538":["hashtag1","hashtag2"]},{"1371853696":["hashtag1","hashtag2"]},{"1371853603":["hashtag1","hashtag2"]},{"1371853647":["hashtag1","hashtag2"]},{"1371853734":["hashtag1","hashtag2"]},{"1371853563":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371853538, 1371853696, 1371853603, 1371853647, 1371853734, 1371853563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58229327201843 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:44:31.920806
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_43_9686.jpg', 2), ('/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_34_9706.jpg', 2), ('/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_24_10747.jpg', 2), ('/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_13_9752.jpg', 2), ('/home/nano/Desktop/images/12072025/09/43/image_12072025_09_44_03_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_54_9715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_43_9686.jpg', '/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_34_9706.jpg', '/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_24_10747.jpg', '/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_13_9752.jpg', '/home/nano/Desktop/images/12072025/09/43/image_12072025_09_44_03_9662.jpg', '/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_54_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_43_9686.jpg
/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_34_9706.jpg
/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_24_10747.jpg
/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_13_9752.jpg
/home/nano/Desktop/images/12072025/09/43/image_12072025_09_44_03_9662.jpg
/home/nano/Desktop/images/12072025/09/43/image_12072025_09_43_54_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371853836","1371854015","1371853879","1371853852","1371853837","1371853956"],"photo_ids_order":["1371853836","1371853837","1371853852","1371853879","1371853956","1371854015"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d63667a9b36851482b38a39a4260fc2a.jpg","text":"TemporaryFile(/tmp/multipartBody7452229187200890318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306334177,"filename":"image_12072025_09_44_43_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b0a1dc3544209ceeea6784d5a537b3a.jpg","text":"TemporaryFile(/tmp/multipartBody1659275564295738930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306334177,"filename":"image_12072025_09_43_54_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ee4e1b3ae1443dcbc3326e4ebe76ad1.jpg","text":"TemporaryFile(/tmp/multipartBody4953444609161727739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306334177,"filename":"image_12072025_09_44_13_9752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76321ece2894c1c5925b7d1174ff712e.jpg","text":"TemporaryFile(/tmp/multipartBody8775077560832724729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306334177,"filename":"image_12072025_09_44_24_10747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83fad4f6c8419bea3db7a1405896b3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7924280326774317921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306334177,"filename":"image_12072025_09_44_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a1d70fd61a2c1f1ecbd3845c0f749d5.jpg","text":"TemporaryFile(/tmp/multipartBody7195327148725525685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306334177,"filename":"image_12072025_09_44_03_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371853852","file1":"1371853837","file0":"1371853836","file4":"1371853956","file5":"1371854015","file3":"1371853879"},"map_files_photo_id_array":[{"photo_id":"1371854015","filename":"file5"},{"photo_id":"1371853852","filename":"file2"},{"photo_id":"1371853956","filename":"file4"},{"photo_id":"1371853837","filename":"file1"},{"photo_id":"1371853836","filename":"file0"},{"photo_id":"1371853879","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371853836":["hashtag1","hashtag2"]},{"1371854015":["hashtag1","hashtag2"]},{"1371853879":["hashtag1","hashtag2"]},{"1371853852":["hashtag1","hashtag2"]},{"1371853837":["hashtag1","hashtag2"]},{"1371853956":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371853836, 1371854015, 1371853879, 1371853852, 1371853837, 1371853956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.947298526763916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:45:17.084440
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_44_9684.jpg', 2), ('/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_34_10705.jpg', 2), ('/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_23_9725.jpg', 2), ('/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_13_9749.jpg', 2), ('/home/nano/Desktop/images/12072025/09/44/image_12072025_09_45_04_9753.jpg', 2), ('/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_54_10731.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_44_9684.jpg', '/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_34_10705.jpg', '/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_23_9725.jpg', '/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_13_9749.jpg', '/home/nano/Desktop/images/12072025/09/44/image_12072025_09_45_04_9753.jpg', '/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_54_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_44_9684.jpg
/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_34_10705.jpg
/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_23_9725.jpg
/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_13_9749.jpg
/home/nano/Desktop/images/12072025/09/44/image_12072025_09_45_04_9753.jpg
/home/nano/Desktop/images/12072025/09/44/image_12072025_09_44_54_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371854312","1371854237","1371854287","1371854368","1371854262","1371854337"],"photo_ids_order":["1371854237","1371854262","1371854287","1371854312","1371854337","1371854368"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6bfe5d1b3c18ab755483ab811a12a13b.jpg","text":"TemporaryFile(/tmp/multipartBody8960039914999831142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306379527,"filename":"image_12072025_09_45_13_9749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42213c4ac5622c512b790259ecffee93.jpg","text":"TemporaryFile(/tmp/multipartBody3343678248375203878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306379527,"filename":"image_12072025_09_45_44_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f89dc69bc94cfc7bf0fa7b719a7901a.jpg","text":"TemporaryFile(/tmp/multipartBody7190410371756054866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306379527,"filename":"image_12072025_09_45_23_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/507233850dda5e3b4274ab79138b184a.jpg","text":"TemporaryFile(/tmp/multipartBody4505002366151553444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306379527,"filename":"image_12072025_09_44_54_10731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bcb1d4cab3c89e0242b474bd554b6eca.jpg","text":"TemporaryFile(/tmp/multipartBody8817310353068744461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306379527,"filename":"image_12072025_09_45_34_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b32861a1f6b4966591f93e27fac82dea.jpg","text":"TemporaryFile(/tmp/multipartBody4035066973353547940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306379527,"filename":"image_12072025_09_45_04_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371854287","file1":"1371854262","file0":"1371854237","file4":"1371854337","file5":"1371854368","file3":"1371854312"},"map_files_photo_id_array":[{"photo_id":"1371854368","filename":"file5"},{"photo_id":"1371854287","filename":"file2"},{"photo_id":"1371854337","filename":"file4"},{"photo_id":"1371854262","filename":"file1"},{"photo_id":"1371854237","filename":"file0"},{"photo_id":"1371854312","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371854312":["hashtag1","hashtag2"]},{"1371854237":["hashtag1","hashtag2"]},{"1371854287":["hashtag1","hashtag2"]},{"1371854368":["hashtag1","hashtag2"]},{"1371854262":["hashtag1","hashtag2"]},{"1371854337":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371854312, 1371854237, 1371854287, 1371854368, 1371854262, 1371854337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.907787799835205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:46:02.644654
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_33_9601.jpg', 2), ('/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_24_10614.jpg', 2), ('/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_13_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/19/55/image_10072025_19_56_04_9608.jpg', 2), ('/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_54_10614.jpg', 2), ('/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_43_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_33_9601.jpg', '/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_24_10614.jpg', '/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_13_9616.jpg', '/home/nano/Desktop/images/10072025/19/55/image_10072025_19_56_04_9608.jpg', '/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_54_10614.jpg', '/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_43_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_33_9601.jpg
/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_24_10614.jpg
/home/nano/Desktop/images/10072025/19/56/image_10072025_19_56_13_9616.jpg
/home/nano/Desktop/images/10072025/19/55/image_10072025_19_56_04_9608.jpg
/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_54_10614.jpg
/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_43_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371854426","1371854431","1371854425","1371854428","1371854427","1371854424"],"photo_ids_order":["1371854424","1371854425","1371854426","1371854427","1371854428","1371854431"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2996061ebdab41abbcc60bca5b8cb350.jpg","text":"TemporaryFile(/tmp/multipartBody467494082815246663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306425337,"filename":"image_10072025_19_56_13_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80d4456559edfd08626884d795fc3ca7.jpg","text":"TemporaryFile(/tmp/multipartBody8371046937040300047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306425337,"filename":"image_10072025_19_55_43_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d47fedf471eb7e28409b25f595747aed.jpg","text":"TemporaryFile(/tmp/multipartBody2951032508150716595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306425337,"filename":"image_10072025_19_56_24_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32a77a363a27ce5e3565cd96adb2025e.jpg","text":"TemporaryFile(/tmp/multipartBody7270618506753815869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306425337,"filename":"image_10072025_19_55_54_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f92fb6eaf5a9ccf910919cc1b642a6b.jpg","text":"TemporaryFile(/tmp/multipartBody2511229274751707992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306425337,"filename":"image_10072025_19_56_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/586a5ed81e471e1ef65a301ba0af8fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8200462384684486613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306425337,"filename":"image_10072025_19_56_33_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371854426","file1":"1371854425","file0":"1371854424","file4":"1371854428","file5":"1371854431","file3":"1371854427"},"map_files_photo_id_array":[{"photo_id":"1371854431","filename":"file5"},{"photo_id":"1371854426","filename":"file2"},{"photo_id":"1371854428","filename":"file4"},{"photo_id":"1371854425","filename":"file1"},{"photo_id":"1371854424","filename":"file0"},{"photo_id":"1371854427","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371854426":["hashtag1","hashtag2"]},{"1371854431":["hashtag1","hashtag2"]},{"1371854425":["hashtag1","hashtag2"]},{"1371854428":["hashtag1","hashtag2"]},{"1371854427":["hashtag1","hashtag2"]},{"1371854424":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371854426, 1371854431, 1371854425, 1371854428, 1371854427, 1371854424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81473970413208 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:46:47.183368
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_44_10680.jpg', 2), ('/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_33_9745.jpg', 2), ('/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_24_9676.jpg', 2), ('/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_14_10760.jpg', 2), ('/home/nano/Desktop/images/12072025/09/45/image_12072025_09_46_03_9733.jpg', 2), ('/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_53_9831.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_44_10680.jpg', '/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_33_9745.jpg', '/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_24_9676.jpg', '/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_14_10760.jpg', '/home/nano/Desktop/images/12072025/09/45/image_12072025_09_46_03_9733.jpg', '/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_53_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_44_10680.jpg
/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_33_9745.jpg
/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_24_9676.jpg
/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_14_10760.jpg
/home/nano/Desktop/images/12072025/09/45/image_12072025_09_46_03_9733.jpg
/home/nano/Desktop/images/12072025/09/45/image_12072025_09_45_53_9831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371854635","1371854608","1371854676","1371854679","1371854690","1371854666"],"photo_ids_order":["1371854608","1371854635","1371854666","1371854676","1371854679","1371854690"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5c3cbadf849fab5afea31cb786ca30d.jpg","text":"TemporaryFile(/tmp/multipartBody6516874520886374599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306469006,"filename":"image_12072025_09_46_33_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7808bdc19edea93e61908d8d0e04de08.jpg","text":"TemporaryFile(/tmp/multipartBody6689935652005009911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306469006,"filename":"image_12072025_09_46_44_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64198b3e5e0a54e7612dcb1fcb00e011.jpg","text":"TemporaryFile(/tmp/multipartBody6771397079818967470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306469006,"filename":"image_12072025_09_46_14_10760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fb015020778bba6c306035072716df5.jpg","text":"TemporaryFile(/tmp/multipartBody6651166625923909787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306469006,"filename":"image_12072025_09_46_03_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f77dbc0d0f9e35b63acb0805dfd39220.jpg","text":"TemporaryFile(/tmp/multipartBody5715124563614237788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306469006,"filename":"image_12072025_09_45_53_9831.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db0a285cc7fd07e08ce997b7268f7e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2765637987465847288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306469006,"filename":"image_12072025_09_46_24_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371854666","file1":"1371854635","file0":"1371854608","file4":"1371854679","file5":"1371854690","file3":"1371854676"},"map_files_photo_id_array":[{"photo_id":"1371854690","filename":"file5"},{"photo_id":"1371854666","filename":"file2"},{"photo_id":"1371854679","filename":"file4"},{"photo_id":"1371854635","filename":"file1"},{"photo_id":"1371854608","filename":"file0"},{"photo_id":"1371854676","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371854635":["hashtag1","hashtag2"]},{"1371854608":["hashtag1","hashtag2"]},{"1371854676":["hashtag1","hashtag2"]},{"1371854679":["hashtag1","hashtag2"]},{"1371854690":["hashtag1","hashtag2"]},{"1371854666":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371854635, 1371854608, 1371854676, 1371854679, 1371854690, 1371854666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87411713600159 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:47:32.368574
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_44_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_33_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_13_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/09/46/image_12072025_09_47_03_9755.jpg', 2), ('/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_54_9681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_44_10629.jpg', '/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_33_9626.jpg', '/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_24_10620.jpg', '/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_13_9641.jpg', '/home/nano/Desktop/images/12072025/09/46/image_12072025_09_47_03_9755.jpg', '/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_54_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_44_10629.jpg
/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_33_9626.jpg
/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_24_10620.jpg
/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_13_9641.jpg
/home/nano/Desktop/images/12072025/09/46/image_12072025_09_47_03_9755.jpg
/home/nano/Desktop/images/12072025/09/46/image_12072025_09_46_54_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371854789","1371854732","1371854708","1371854758","1371854845","1371854820"],"photo_ids_order":["1371854708","1371854732","1371854758","1371854789","1371854820","1371854845"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4a81a87a7c29d957d794c3a0081cba6.jpg","text":"TemporaryFile(/tmp/multipartBody121611583427548265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306514140,"filename":"image_12072025_09_47_13_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83f0f6a60ee9eb95387969d19903c31d.jpg","text":"TemporaryFile(/tmp/multipartBody1551397686974854349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306514140,"filename":"image_12072025_09_47_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c48c76374deb0ed2064a59d64bcc9a2.jpg","text":"TemporaryFile(/tmp/multipartBody8814572486171407724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306514140,"filename":"image_12072025_09_47_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f020689711feb3797ca389b97c1af827.jpg","text":"TemporaryFile(/tmp/multipartBody6689504197397757086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306514140,"filename":"image_12072025_09_47_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e749215f8c8b307912c4665162b474d.jpg","text":"TemporaryFile(/tmp/multipartBody8398332248763757203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306514140,"filename":"image_12072025_09_46_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fff53f148a816edbf9be2007f2fa8874.jpg","text":"TemporaryFile(/tmp/multipartBody6186618310220903911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306514140,"filename":"image_12072025_09_47_03_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371854758","file1":"1371854732","file0":"1371854708","file4":"1371854820","file5":"1371854845","file3":"1371854789"},"map_files_photo_id_array":[{"photo_id":"1371854845","filename":"file5"},{"photo_id":"1371854758","filename":"file2"},{"photo_id":"1371854820","filename":"file4"},{"photo_id":"1371854732","filename":"file1"},{"photo_id":"1371854708","filename":"file0"},{"photo_id":"1371854789","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371854789":["hashtag1","hashtag2"]},{"1371854732":["hashtag1","hashtag2"]},{"1371854708":["hashtag1","hashtag2"]},{"1371854758":["hashtag1","hashtag2"]},{"1371854845":["hashtag1","hashtag2"]},{"1371854820":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371854789, 1371854732, 1371854708, 1371854758, 1371854845, 1371854820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97532272338867 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:48:17.476724
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_33_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_23_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_14_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/09/47/image_12072025_09_48_03_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_54_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_44_10621.jpg', '/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_33_9626.jpg', '/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_23_9626.jpg', '/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_14_10640.jpg', '/home/nano/Desktop/images/12072025/09/47/image_12072025_09_48_03_9598.jpg', '/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_54_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_44_10621.jpg
/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_33_9626.jpg
/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_23_9626.jpg
/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_14_10640.jpg
/home/nano/Desktop/images/12072025/09/47/image_12072025_09_48_03_9598.jpg
/home/nano/Desktop/images/12072025/09/47/image_12072025_09_47_54_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371854954","1371854950","1371854953","1371854985","1371854952","1371854949"],"photo_ids_order":["1371854949","1371854950","1371854952","1371854953","1371854954","1371854985"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3077dc277e807e851749a68c489510da.jpg","text":"TemporaryFile(/tmp/multipartBody2434331929109629128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306558559,"filename":"image_12072025_09_48_03_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f87ae7d3f2e3958f381a7e76e6cc4bf.jpg","text":"TemporaryFile(/tmp/multipartBody1491587235111983819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306558559,"filename":"image_12072025_09_48_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3321b8569ddd892620fd4d238f78400.jpg","text":"TemporaryFile(/tmp/multipartBody5412008882781025008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306558559,"filename":"image_12072025_09_48_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/883d58db59b9ae95b115ebf31b30caa9.jpg","text":"TemporaryFile(/tmp/multipartBody4681749480007293953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306558559,"filename":"image_12072025_09_47_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ef482eab0f9de1491f16e2275eefd45.jpg","text":"TemporaryFile(/tmp/multipartBody2526160592909509671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306558559,"filename":"image_12072025_09_48_23_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9617f1fb119faa5f5c8d8d918e61ab8c.jpg","text":"TemporaryFile(/tmp/multipartBody4743266030228607105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306558559,"filename":"image_12072025_09_48_44_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371854952","file1":"1371854950","file0":"1371854949","file4":"1371854954","file5":"1371854985","file3":"1371854953"},"map_files_photo_id_array":[{"photo_id":"1371854985","filename":"file5"},{"photo_id":"1371854952","filename":"file2"},{"photo_id":"1371854954","filename":"file4"},{"photo_id":"1371854950","filename":"file1"},{"photo_id":"1371854949","filename":"file0"},{"photo_id":"1371854953","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371854954":["hashtag1","hashtag2"]},{"1371854950":["hashtag1","hashtag2"]},{"1371854953":["hashtag1","hashtag2"]},{"1371854985":["hashtag1","hashtag2"]},{"1371854952":["hashtag1","hashtag2"]},{"1371854949":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371854954, 1371854950, 1371854953, 1371854985, 1371854952, 1371854949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93622040748596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:49:03.346498
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_34_10625.jpg', 2), ('/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_23_9591.jpg', 2), ('/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_14_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_55_04_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_53_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_34_10625.jpg', '/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_23_9591.jpg', '/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_14_9664.jpg', '/home/nano/Desktop/images/10072025/19/54/image_10072025_19_55_04_10633.jpg', '/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_53_9635.jpg', '/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_44_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_34_10625.jpg
/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_23_9591.jpg
/home/nano/Desktop/images/10072025/19/55/image_10072025_19_55_14_9664.jpg
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_55_04_10633.jpg
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_53_9635.jpg
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_44_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371855041","1371855020","1371855002","1371855082","1371855063","1371854994"],"photo_ids_order":["1371854994","1371855002","1371855020","1371855041","1371855063","1371855082"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5e9a626745f1a2935a6acb5e685e8ab.jpg","text":"TemporaryFile(/tmp/multipartBody5140456287725787530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306606070,"filename":"image_10072025_19_55_04_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a6eeedca8b74dafd80b7a343e6fcef2.jpg","text":"TemporaryFile(/tmp/multipartBody2314383875030288158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306606070,"filename":"image_10072025_19_55_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/adaec381bc7758f189a27fdddb6fcfd5.jpg","text":"TemporaryFile(/tmp/multipartBody3340652997159645441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306606070,"filename":"image_10072025_19_55_23_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07b81d0084bbca2ee1bf1de2966e45f3.jpg","text":"TemporaryFile(/tmp/multipartBody1325118630084781118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306606070,"filename":"image_10072025_19_54_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bd33b233b0fe24bf5be997a9c734319.jpg","text":"TemporaryFile(/tmp/multipartBody716386207517421598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306606070,"filename":"image_10072025_19_54_53_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63f1160f480e4e4ba9cda3f690374656.jpg","text":"TemporaryFile(/tmp/multipartBody556995919633318840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306606070,"filename":"image_10072025_19_55_34_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371855020","file1":"1371855002","file0":"1371854994","file4":"1371855063","file5":"1371855082","file3":"1371855041"},"map_files_photo_id_array":[{"photo_id":"1371855082","filename":"file5"},{"photo_id":"1371855020","filename":"file2"},{"photo_id":"1371855063","filename":"file4"},{"photo_id":"1371855002","filename":"file1"},{"photo_id":"1371854994","filename":"file0"},{"photo_id":"1371855041","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371855041":["hashtag1","hashtag2"]},{"1371855020":["hashtag1","hashtag2"]},{"1371855002":["hashtag1","hashtag2"]},{"1371855082":["hashtag1","hashtag2"]},{"1371855063":["hashtag1","hashtag2"]},{"1371854994":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371855041, 1371855020, 1371855002, 1371855082, 1371855063, 1371854994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.196550369262695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:49:47.615117
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_43_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_34_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_23_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_14_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/09/48/image_12072025_09_49_04_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_53_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_43_9596.jpg', '/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_34_10616.jpg', '/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_23_9614.jpg', '/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_14_9617.jpg', '/home/nano/Desktop/images/12072025/09/48/image_12072025_09_49_04_10638.jpg', '/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_53_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_43_9596.jpg
/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_34_10616.jpg
/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_23_9614.jpg
/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_14_9617.jpg
/home/nano/Desktop/images/12072025/09/48/image_12072025_09_49_04_10638.jpg
/home/nano/Desktop/images/12072025/09/48/image_12072025_09_48_53_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371855274","1371855250","1371855325","1371855348","1371855299","1371855230"],"photo_ids_order":["1371855230","1371855250","1371855274","1371855299","1371855325","1371855348"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6238ad8cfaa48b59d08cde5d2e8b18c1.jpg","text":"TemporaryFile(/tmp/multipartBody5229849714447491712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306649006,"filename":"image_12072025_09_49_23_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7f4ec22646fdefed17efdab4272ca4b.jpg","text":"TemporaryFile(/tmp/multipartBody8244995353671724442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306649006,"filename":"image_12072025_09_49_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7c7993a1da8e408fec036a4c36bdb71.jpg","text":"TemporaryFile(/tmp/multipartBody365576080126447290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306649006,"filename":"image_12072025_09_49_04_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0447a0382961e54e5c287f40bd99727c.jpg","text":"TemporaryFile(/tmp/multipartBody1879320572283142471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306649006,"filename":"image_12072025_09_48_53_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad95399f9f109e8fc256092a2729018b.jpg","text":"TemporaryFile(/tmp/multipartBody5857917817505520127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306649006,"filename":"image_12072025_09_49_14_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7fecb89ae188423a87efbf4200ae382.jpg","text":"TemporaryFile(/tmp/multipartBody3837650148106655672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306649006,"filename":"image_12072025_09_49_43_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371855274","file1":"1371855250","file0":"1371855230","file4":"1371855325","file5":"1371855348","file3":"1371855299"},"map_files_photo_id_array":[{"photo_id":"1371855348","filename":"file5"},{"photo_id":"1371855274","filename":"file2"},{"photo_id":"1371855325","filename":"file4"},{"photo_id":"1371855250","filename":"file1"},{"photo_id":"1371855230","filename":"file0"},{"photo_id":"1371855299","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371855274":["hashtag1","hashtag2"]},{"1371855250":["hashtag1","hashtag2"]},{"1371855325":["hashtag1","hashtag2"]},{"1371855348":["hashtag1","hashtag2"]},{"1371855299":["hashtag1","hashtag2"]},{"1371855230":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371855274, 1371855250, 1371855325, 1371855348, 1371855299, 1371855230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01539850234985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:50:32.702574
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_43_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_34_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_24_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_13_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/09/49/image_12072025_09_50_04_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_54_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_43_9606.jpg', '/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_34_9609.jpg', '/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_24_10618.jpg', '/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_13_9663.jpg', '/home/nano/Desktop/images/12072025/09/49/image_12072025_09_50_04_9616.jpg', '/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_54_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_43_9606.jpg
/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_34_9609.jpg
/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_24_10618.jpg
/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_13_9663.jpg
/home/nano/Desktop/images/12072025/09/49/image_12072025_09_50_04_9616.jpg
/home/nano/Desktop/images/12072025/09/49/image_12072025_09_49_54_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371855442","1371855492","1371855573","1371855519","1371855545","1371855467"],"photo_ids_order":["1371855442","1371855467","1371855492","1371855519","1371855545","1371855573"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2f871c72f4adb09386ebef3f3aefff5.jpg","text":"TemporaryFile(/tmp/multipartBody2670432178373478982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306694007,"filename":"image_12072025_09_50_43_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c07a1464fe7ff04e0db1b175993c473.jpg","text":"TemporaryFile(/tmp/multipartBody510345153637216782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306694007,"filename":"image_12072025_09_50_24_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c32532ac1bd911ba5b66e2c222a2550.jpg","text":"TemporaryFile(/tmp/multipartBody1140583487890722746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306694007,"filename":"image_12072025_09_49_54_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3706fc91f84980c929a23655b46ccabd.jpg","text":"TemporaryFile(/tmp/multipartBody5583838662408339904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306694007,"filename":"image_12072025_09_50_13_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c170f40e73638a30c0016dcfbb4f864.jpg","text":"TemporaryFile(/tmp/multipartBody1309494450039558692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306694007,"filename":"image_12072025_09_50_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/149912bc9c7d6f6da70e698e3922034a.jpg","text":"TemporaryFile(/tmp/multipartBody7371220444986480990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306694007,"filename":"image_12072025_09_50_34_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371855492","file1":"1371855467","file0":"1371855442","file4":"1371855545","file5":"1371855573","file3":"1371855519"},"map_files_photo_id_array":[{"photo_id":"1371855573","filename":"file5"},{"photo_id":"1371855492","filename":"file2"},{"photo_id":"1371855545","filename":"file4"},{"photo_id":"1371855467","filename":"file1"},{"photo_id":"1371855442","filename":"file0"},{"photo_id":"1371855519","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371855442":["hashtag1","hashtag2"]},{"1371855492":["hashtag1","hashtag2"]},{"1371855573":["hashtag1","hashtag2"]},{"1371855519":["hashtag1","hashtag2"]},{"1371855545":["hashtag1","hashtag2"]},{"1371855467":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371855442, 1371855492, 1371855573, 1371855519, 1371855545, 1371855467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45347762107849 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:51:16.861983
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_44_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_33_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_24_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_14_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/09/50/image_12072025_09_51_03_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_54_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_44_10640.jpg', '/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_33_9623.jpg', '/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_24_9612.jpg', '/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_14_10638.jpg', '/home/nano/Desktop/images/12072025/09/50/image_12072025_09_51_03_9612.jpg', '/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_54_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_44_10640.jpg
/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_33_9623.jpg
/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_24_9612.jpg
/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_14_10638.jpg
/home/nano/Desktop/images/12072025/09/50/image_12072025_09_51_03_9612.jpg
/home/nano/Desktop/images/12072025/09/50/image_12072025_09_50_54_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371855704","1371855679","1371855699","1371855690","1371855687","1371855681"],"photo_ids_order":["1371855679","1371855681","1371855687","1371855690","1371855699","1371855704"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f8ea312b008eaea27a5c3ea776b231a.jpg","text":"TemporaryFile(/tmp/multipartBody3803022425210846464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306738127,"filename":"image_12072025_09_50_54_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5f639fbcb62bff5a45e85bf9cc6b7cb.jpg","text":"TemporaryFile(/tmp/multipartBody1515036088487842573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306738127,"filename":"image_12072025_09_51_44_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0bda0f076d3d3d350254bc67a672524.jpg","text":"TemporaryFile(/tmp/multipartBody6036735273779939149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306738127,"filename":"image_12072025_09_51_03_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/421678e79469b25ba38c1e03cec29a8b.jpg","text":"TemporaryFile(/tmp/multipartBody795473141340796193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306738127,"filename":"image_12072025_09_51_14_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42e17b777f03630bc487a64a39755d76.jpg","text":"TemporaryFile(/tmp/multipartBody3994652837600584003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306738127,"filename":"image_12072025_09_51_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d9ed2534f5ae31399216f2edbca2a47.jpg","text":"TemporaryFile(/tmp/multipartBody8675173160447057667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306738127,"filename":"image_12072025_09_51_33_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371855687","file1":"1371855681","file0":"1371855679","file4":"1371855699","file5":"1371855704","file3":"1371855690"},"map_files_photo_id_array":[{"photo_id":"1371855704","filename":"file5"},{"photo_id":"1371855687","filename":"file2"},{"photo_id":"1371855699","filename":"file4"},{"photo_id":"1371855681","filename":"file1"},{"photo_id":"1371855679","filename":"file0"},{"photo_id":"1371855690","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371855704":["hashtag1","hashtag2"]},{"1371855679":["hashtag1","hashtag2"]},{"1371855699":["hashtag1","hashtag2"]},{"1371855690":["hashtag1","hashtag2"]},{"1371855687":["hashtag1","hashtag2"]},{"1371855681":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371855704, 1371855679, 1371855699, 1371855690, 1371855687, 1371855681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89307165145874 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:52:02.584799
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_34_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_23_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_14_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_54_04_10692.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_53_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_44_9696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_34_10661.jpg', '/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_23_9650.jpg', '/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_14_9654.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_54_04_10692.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_53_9624.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_44_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_34_10661.jpg
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_23_9650.jpg
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_14_9654.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_54_04_10692.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_53_9624.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_44_9696.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.228992223739624 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:52:16.912700
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_44_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_34_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_23_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_14_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/09/51/image_12072025_09_52_03_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_54_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_44_9602.jpg', '/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_34_10616.jpg', '/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_23_9606.jpg', '/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_14_10646.jpg', '/home/nano/Desktop/images/12072025/09/51/image_12072025_09_52_03_9623.jpg', '/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_54_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_44_9602.jpg
/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_34_10616.jpg
/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_23_9606.jpg
/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_14_10646.jpg
/home/nano/Desktop/images/12072025/09/51/image_12072025_09_52_03_9623.jpg
/home/nano/Desktop/images/12072025/09/51/image_12072025_09_51_54_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371856192","1371856120","1371856039","1371856272","1371856341","1371855983"],"photo_ids_order":["1371855983","1371856039","1371856120","1371856192","1371856272","1371856341"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc10fcf39eddfca6a14feeb405911cba.jpg","text":"TemporaryFile(/tmp/multipartBody4297741938583737370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306798280,"filename":"image_12072025_09_52_14_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd9c88f5146dc4e2721b41d10bb48bde.jpg","text":"TemporaryFile(/tmp/multipartBody461614937318228859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306798280,"filename":"image_12072025_09_52_23_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81d70d5f20263754b2a005aec5a98666.jpg","text":"TemporaryFile(/tmp/multipartBody5572382606076561139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306798280,"filename":"image_12072025_09_52_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ee10c8cd7907495e395823bfb015a4a.jpg","text":"TemporaryFile(/tmp/multipartBody8488708244422764678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306798280,"filename":"image_12072025_09_52_03_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b23c6beaa6656df6acfd43730253b6f9.jpg","text":"TemporaryFile(/tmp/multipartBody5164782607992709005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306798280,"filename":"image_12072025_09_51_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/290ab3fb6bedbe0e2f5da01cfe410c18.jpg","text":"TemporaryFile(/tmp/multipartBody4392698329785054027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306798280,"filename":"image_12072025_09_52_44_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371856120","file1":"1371856039","file0":"1371855983","file4":"1371856272","file5":"1371856341","file3":"1371856192"},"map_files_photo_id_array":[{"photo_id":"1371856341","filename":"file5"},{"photo_id":"1371856120","filename":"file2"},{"photo_id":"1371856272","filename":"file4"},{"photo_id":"1371856039","filename":"file1"},{"photo_id":"1371855983","filename":"file0"},{"photo_id":"1371856192","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371856192":["hashtag1","hashtag2"]},{"1371856120":["hashtag1","hashtag2"]},{"1371856039":["hashtag1","hashtag2"]},{"1371856272":["hashtag1","hashtag2"]},{"1371856341":["hashtag1","hashtag2"]},{"1371855983":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371856192, 1371856120, 1371856039, 1371856272, 1371856341, 1371855983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.560444831848145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:53:02.720679
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_34_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_23_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_14_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_54_04_10692.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_53_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_44_9696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_34_10661.jpg', '/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_23_9650.jpg', '/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_14_9654.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_54_04_10692.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_53_9624.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_44_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_34_10661.jpg
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_23_9650.jpg
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_14_9654.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_54_04_10692.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_53_9624.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_44_9696.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.860543727874756 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:53:17.010668
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_43_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_34_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_13_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/09/52/image_12072025_09_53_04_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_53_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_43_9619.jpg', '/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_34_10637.jpg', '/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_23_9616.jpg', '/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_13_9636.jpg', '/home/nano/Desktop/images/12072025/09/52/image_12072025_09_53_04_10620.jpg', '/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_53_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_43_9619.jpg
/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_34_10637.jpg
/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_23_9616.jpg
/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_13_9636.jpg
/home/nano/Desktop/images/12072025/09/52/image_12072025_09_53_04_10620.jpg
/home/nano/Desktop/images/12072025/09/52/image_12072025_09_52_53_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371856825","1371856914","1371857075","1371856850","1371856975","1371857026"],"photo_ids_order":["1371856825","1371856850","1371856914","1371856975","1371857026","1371857075"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1efffe9db355df280f449c2c36c0c674.jpg","text":"TemporaryFile(/tmp/multipartBody7709666638277035406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306858680,"filename":"image_12072025_09_53_43_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b58e276a73fec28cf91a97f49fb6d753.jpg","text":"TemporaryFile(/tmp/multipartBody6794658715401658542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306858680,"filename":"image_12072025_09_53_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08e12b41fe2318dcdd947cdc017f57dc.jpg","text":"TemporaryFile(/tmp/multipartBody850898766187052803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306858680,"filename":"image_12072025_09_52_53_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8bfae3f37661c6b77900872a4784330.jpg","text":"TemporaryFile(/tmp/multipartBody7329203293924167452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306858680,"filename":"image_12072025_09_53_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/723b0392e14b80165d4f7f5d8a51db25.jpg","text":"TemporaryFile(/tmp/multipartBody6224456676376375777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306858680,"filename":"image_12072025_09_53_13_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/710d3eaf30c26e47a0270e6fc4b73514.jpg","text":"TemporaryFile(/tmp/multipartBody6104639494706573473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306858680,"filename":"image_12072025_09_53_04_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371856914","file1":"1371856850","file0":"1371856825","file4":"1371857026","file5":"1371857075","file3":"1371856975"},"map_files_photo_id_array":[{"photo_id":"1371857075","filename":"file5"},{"photo_id":"1371856914","filename":"file2"},{"photo_id":"1371857026","filename":"file4"},{"photo_id":"1371856850","filename":"file1"},{"photo_id":"1371856825","filename":"file0"},{"photo_id":"1371856975","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371856825":["hashtag1","hashtag2"]},{"1371856914":["hashtag1","hashtag2"]},{"1371857075":["hashtag1","hashtag2"]},{"1371856850":["hashtag1","hashtag2"]},{"1371856975":["hashtag1","hashtag2"]},{"1371857026":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371856825, 1371856914, 1371857075, 1371856850, 1371856975, 1371857026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.89919424057007 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:54:03.091833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_34_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_23_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_14_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_54_04_10692.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_53_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_44_9696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_34_10661.jpg', '/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_23_9650.jpg', '/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_14_9654.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_54_04_10692.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_53_9624.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_44_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_34_10661.jpg
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_23_9650.jpg
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_14_9654.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_54_04_10692.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_53_9624.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_44_9696.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8474135398864746 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:54:17.177777
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_44_9743.jpg', 2), ('/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_34_9733.jpg', 2), ('/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_24_10736.jpg', 2), ('/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/09/53/image_12072025_09_54_04_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_54_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_44_9743.jpg', '/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_34_9733.jpg', '/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_24_10736.jpg', '/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_13_9659.jpg', '/home/nano/Desktop/images/12072025/09/53/image_12072025_09_54_04_9640.jpg', '/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_54_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_44_9743.jpg
/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_34_9733.jpg
/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_24_10736.jpg
/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_13_9659.jpg
/home/nano/Desktop/images/12072025/09/53/image_12072025_09_54_04_9640.jpg
/home/nano/Desktop/images/12072025/09/53/image_12072025_09_53_54_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371857407","1371857540","1371857479","1371857371","1371857593","1371857437"],"photo_ids_order":["1371857371","1371857407","1371857437","1371857479","1371857540","1371857593"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c31ff84b0f82eb7eb0f84599b5c714ed.jpg","text":"TemporaryFile(/tmp/multipartBody2488947851507291704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306919317,"filename":"image_12072025_09_54_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31a04ee85f2c244cc9b1c10649c33727.jpg","text":"TemporaryFile(/tmp/multipartBody6944507368048324980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306919317,"filename":"image_12072025_09_54_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e59b273883de8a4fda2886f05a97605d.jpg","text":"TemporaryFile(/tmp/multipartBody563872028314823296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306919317,"filename":"image_12072025_09_54_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5533a0c8f4abd6025da81e3d7a448ac.jpg","text":"TemporaryFile(/tmp/multipartBody6498588437203202512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306919317,"filename":"image_12072025_09_54_44_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0616fece7e4b4a63a7c6ab7924a56b35.jpg","text":"TemporaryFile(/tmp/multipartBody927215397770013515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306919317,"filename":"image_12072025_09_53_54_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/143c6440b19e08576840d0b12faa5b81.jpg","text":"TemporaryFile(/tmp/multipartBody714845587803684208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306919317,"filename":"image_12072025_09_54_24_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371857437","file1":"1371857407","file0":"1371857371","file4":"1371857540","file5":"1371857593","file3":"1371857479"},"map_files_photo_id_array":[{"photo_id":"1371857593","filename":"file5"},{"photo_id":"1371857437","filename":"file2"},{"photo_id":"1371857540","filename":"file4"},{"photo_id":"1371857407","filename":"file1"},{"photo_id":"1371857371","filename":"file0"},{"photo_id":"1371857479","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371857407":["hashtag1","hashtag2"]},{"1371857540":["hashtag1","hashtag2"]},{"1371857479":["hashtag1","hashtag2"]},{"1371857371":["hashtag1","hashtag2"]},{"1371857593":["hashtag1","hashtag2"]},{"1371857437":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371857407, 1371857540, 1371857479, 1371857371, 1371857593, 1371857437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5488076210022 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:55:02.896890
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_34_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_23_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_14_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_54_04_10692.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_53_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_44_9696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_34_10661.jpg', '/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_23_9650.jpg', '/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_14_9654.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_54_04_10692.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_53_9624.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_44_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_34_10661.jpg
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_23_9650.jpg
/home/nano/Desktop/images/10072025/19/54/image_10072025_19_54_14_9654.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_54_04_10692.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_53_9624.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_44_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371857829","1371857888","1371857915","1371857860","1371857941","1371857947"],"photo_ids_order":["1371857829","1371857860","1371857888","1371857915","1371857941","1371857947"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5c7e1d7016ee789144fc67c31ab8dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6336862963195664576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306966286,"filename":"image_10072025_19_54_34_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df305f1314e2689b673f54fb5758729f.jpg","text":"TemporaryFile(/tmp/multipartBody6732384393742097128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306966286,"filename":"image_10072025_19_54_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/474d50155390e5b8bf7da9b7ad5d06a2.jpg","text":"TemporaryFile(/tmp/multipartBody1168163075318019918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306966286,"filename":"image_10072025_19_54_04_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc916410bc6aff340f6a25549510eacc.jpg","text":"TemporaryFile(/tmp/multipartBody4506083889754055578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306966286,"filename":"image_10072025_19_54_23_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed756ef688a5e20c6a1cb5c83a20b842.jpg","text":"TemporaryFile(/tmp/multipartBody6307278691916764339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306966286,"filename":"image_10072025_19_53_53_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91587f6f4a5dad89338c489088fd1867.jpg","text":"TemporaryFile(/tmp/multipartBody4346325685549798750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752306966286,"filename":"image_10072025_19_53_44_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371857888","file1":"1371857860","file0":"1371857829","file4":"1371857941","file5":"1371857947","file3":"1371857915"},"map_files_photo_id_array":[{"photo_id":"1371857947","filename":"file5"},{"photo_id":"1371857888","filename":"file2"},{"photo_id":"1371857941","filename":"file4"},{"photo_id":"1371857860","filename":"file1"},{"photo_id":"1371857829","filename":"file0"},{"photo_id":"1371857915","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371857829":["hashtag1","hashtag2"]},{"1371857888":["hashtag1","hashtag2"]},{"1371857915":["hashtag1","hashtag2"]},{"1371857860":["hashtag1","hashtag2"]},{"1371857941":["hashtag1","hashtag2"]},{"1371857947":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371857829, 1371857888, 1371857915, 1371857860, 1371857941, 1371857947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94065999984741 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:55:47.215457
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_44_10724.jpg', 2), ('/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_33_9736.jpg', 2), ('/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_23_9732.jpg', 2), ('/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_14_9759.jpg', 2), ('/home/nano/Desktop/images/12072025/09/54/image_12072025_09_55_04_10749.jpg', 2), ('/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_53_9722.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_44_10724.jpg', '/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_33_9736.jpg', '/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_23_9732.jpg', '/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_14_9759.jpg', '/home/nano/Desktop/images/12072025/09/54/image_12072025_09_55_04_10749.jpg', '/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_53_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_44_10724.jpg
/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_33_9736.jpg
/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_23_9732.jpg
/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_14_9759.jpg
/home/nano/Desktop/images/12072025/09/54/image_12072025_09_55_04_10749.jpg
/home/nano/Desktop/images/12072025/09/54/image_12072025_09_54_53_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371858072","1371858044","1371857963","1371858017","1371857989","1371857950"],"photo_ids_order":["1371857950","1371857963","1371857989","1371858017","1371858044","1371858072"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a7529c687ae223f714d78a029df4af4.jpg","text":"TemporaryFile(/tmp/multipartBody4638754332641722470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307009224,"filename":"image_12072025_09_54_53_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/543230e334a8295a609ad369949ca275.jpg","text":"TemporaryFile(/tmp/multipartBody3759607165754984221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307009224,"filename":"image_12072025_09_55_04_10749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c13936c3ce795d28c14891b5d0f8d2e7.jpg","text":"TemporaryFile(/tmp/multipartBody6173171007176598674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307009224,"filename":"image_12072025_09_55_33_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a29196300be2aca4038bea21639d378.jpg","text":"TemporaryFile(/tmp/multipartBody4894793394865723868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307009224,"filename":"image_12072025_09_55_14_9759.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f4dbefc5d3a89dad6d02288daf0da0d.jpg","text":"TemporaryFile(/tmp/multipartBody2740290181088575316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307009224,"filename":"image_12072025_09_55_23_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e263ba853524ff624bb84f5005bf346.jpg","text":"TemporaryFile(/tmp/multipartBody3695408409508188004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307009224,"filename":"image_12072025_09_55_44_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371857989","file1":"1371857963","file0":"1371857950","file4":"1371858044","file5":"1371858072","file3":"1371858017"},"map_files_photo_id_array":[{"photo_id":"1371858072","filename":"file5"},{"photo_id":"1371857989","filename":"file2"},{"photo_id":"1371858044","filename":"file4"},{"photo_id":"1371857963","filename":"file1"},{"photo_id":"1371857950","filename":"file0"},{"photo_id":"1371858017","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371858072":["hashtag1","hashtag2"]},{"1371858044":["hashtag1","hashtag2"]},{"1371857963":["hashtag1","hashtag2"]},{"1371858017":["hashtag1","hashtag2"]},{"1371857989":["hashtag1","hashtag2"]},{"1371857950":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371858072, 1371858044, 1371857963, 1371858017, 1371857989, 1371857950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6116259098053 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:56:32.338687
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_43_9690.jpg', 2), ('/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_34_9715.jpg', 2), ('/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_24_10765.jpg', 2), ('/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_13_9764.jpg', 2), ('/home/nano/Desktop/images/12072025/09/55/image_12072025_09_56_03_9769.jpg', 2), ('/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_54_9691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_43_9690.jpg', '/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_34_9715.jpg', '/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_24_10765.jpg', '/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_13_9764.jpg', '/home/nano/Desktop/images/12072025/09/55/image_12072025_09_56_03_9769.jpg', '/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_54_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_43_9690.jpg
/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_34_9715.jpg
/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_24_10765.jpg
/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_13_9764.jpg
/home/nano/Desktop/images/12072025/09/55/image_12072025_09_56_03_9769.jpg
/home/nano/Desktop/images/12072025/09/55/image_12072025_09_55_54_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371858342","1371858191","1371858368","1371858314","1371858247","1371858160"],"photo_ids_order":["1371858160","1371858191","1371858247","1371858314","1371858342","1371858368"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/290cfeb0acce6315e49e07af8b01a8df.jpg","text":"TemporaryFile(/tmp/multipartBody6056482113878187215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307054450,"filename":"image_12072025_09_56_03_9769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dee25f128d21cc76e10ad296820c2974.jpg","text":"TemporaryFile(/tmp/multipartBody2582583183778610335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307054450,"filename":"image_12072025_09_56_34_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a27913e10cb008d4cb00c674243d64a.jpg","text":"TemporaryFile(/tmp/multipartBody6244704010333290599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307054450,"filename":"image_12072025_09_55_54_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/232bf0ca93f46364ded85b5b1731713a.jpg","text":"TemporaryFile(/tmp/multipartBody926378322334693328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307054450,"filename":"image_12072025_09_56_13_9764.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc134f6d0c349d31afc181b6bdd3fa0b.jpg","text":"TemporaryFile(/tmp/multipartBody1590982016928960280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307054450,"filename":"image_12072025_09_56_24_10765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f7700a77560158733a396d6ce59b48e.jpg","text":"TemporaryFile(/tmp/multipartBody5814340545860685467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307054450,"filename":"image_12072025_09_56_43_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371858247","file1":"1371858191","file0":"1371858160","file4":"1371858342","file5":"1371858368","file3":"1371858314"},"map_files_photo_id_array":[{"photo_id":"1371858368","filename":"file5"},{"photo_id":"1371858247","filename":"file2"},{"photo_id":"1371858342","filename":"file4"},{"photo_id":"1371858191","filename":"file1"},{"photo_id":"1371858160","filename":"file0"},{"photo_id":"1371858314","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371858342":["hashtag1","hashtag2"]},{"1371858191":["hashtag1","hashtag2"]},{"1371858368":["hashtag1","hashtag2"]},{"1371858314":["hashtag1","hashtag2"]},{"1371858247":["hashtag1","hashtag2"]},{"1371858160":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371858342, 1371858191, 1371858368, 1371858314, 1371858247, 1371858160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.460089683532715 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:57:17.459194
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_43_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_33_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_24_10608.jpg', 2), ('/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_13_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/09/56/image_12072025_09_57_04_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_54_10705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_43_9656.jpg', '/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_33_9612.jpg', '/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_24_10608.jpg', '/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_13_9615.jpg', '/home/nano/Desktop/images/12072025/09/56/image_12072025_09_57_04_9618.jpg', '/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_54_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_43_9656.jpg
/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_33_9612.jpg
/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_24_10608.jpg
/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_13_9615.jpg
/home/nano/Desktop/images/12072025/09/56/image_12072025_09_57_04_9618.jpg
/home/nano/Desktop/images/12072025/09/56/image_12072025_09_56_54_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371858770","1371858638","1371858938","1371858871","1371858820","1371858709"],"photo_ids_order":["1371858638","1371858709","1371858770","1371858820","1371858871","1371858938"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f42190039b36673b927abde53927ca78.jpg","text":"TemporaryFile(/tmp/multipartBody1785541237989956412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307098817,"filename":"image_12072025_09_57_24_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c181fe6b608528db4125ffbe335f8d4.jpg","text":"TemporaryFile(/tmp/multipartBody2861004142056779827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307098817,"filename":"image_12072025_09_57_43_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7efdcf1970a8adc53a95d38ec5501c6.jpg","text":"TemporaryFile(/tmp/multipartBody8192550066423127527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307098817,"filename":"image_12072025_09_56_54_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f6f9c20e37bd49e25efe8c74df8a5c9.jpg","text":"TemporaryFile(/tmp/multipartBody3533836042774384225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307098817,"filename":"image_12072025_09_57_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0889e6ea284cae8a60ebc43726641fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5529083722928573289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307098817,"filename":"image_12072025_09_57_13_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d2ea7b6b32ceeaaf2fa0d5a8588e9b4.jpg","text":"TemporaryFile(/tmp/multipartBody3756103024222272036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307098817,"filename":"image_12072025_09_57_33_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371858770","file1":"1371858709","file0":"1371858638","file4":"1371858871","file5":"1371858938","file3":"1371858820"},"map_files_photo_id_array":[{"photo_id":"1371858938","filename":"file5"},{"photo_id":"1371858770","filename":"file2"},{"photo_id":"1371858871","filename":"file4"},{"photo_id":"1371858709","filename":"file1"},{"photo_id":"1371858638","filename":"file0"},{"photo_id":"1371858820","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371858770":["hashtag1","hashtag2"]},{"1371858638":["hashtag1","hashtag2"]},{"1371858938":["hashtag1","hashtag2"]},{"1371858871":["hashtag1","hashtag2"]},{"1371858820":["hashtag1","hashtag2"]},{"1371858709":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371858770, 1371858638, 1371858938, 1371858871, 1371858820, 1371858709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53664493560791 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:58:03.193074
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_34_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_23_9803.jpg', 2), ('/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_13_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/19/52/image_10072025_19_53_04_10727.jpg', 2), ('/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_53_9845.jpg', 2), ('/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_43_9790.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_34_10654.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_23_9803.jpg', '/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_13_9644.jpg', '/home/nano/Desktop/images/10072025/19/52/image_10072025_19_53_04_10727.jpg', '/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_53_9845.jpg', '/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_43_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_34_10654.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_23_9803.jpg
/home/nano/Desktop/images/10072025/19/53/image_10072025_19_53_13_9644.jpg
/home/nano/Desktop/images/10072025/19/52/image_10072025_19_53_04_10727.jpg
/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_53_9845.jpg
/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_43_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371859274","1371859652","1371859330","1371859420","1371859470","1371859512"],"photo_ids_order":["1371859274","1371859330","1371859420","1371859470","1371859512","1371859652"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/accff3d26db9942d7c6de85ad58319de.jpg","text":"TemporaryFile(/tmp/multipartBody8438056808224209024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307146655,"filename":"image_10072025_19_53_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ec10b9832bdf2805c131376f33b410a.jpg","text":"TemporaryFile(/tmp/multipartBody1063360567634892709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307146655,"filename":"image_10072025_19_52_43_9790.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f49e4634613405fbc3c9051e2ab0830a.jpg","text":"TemporaryFile(/tmp/multipartBody7408004086600097492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307146655,"filename":"image_10072025_19_53_23_9803.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6a6b56a0b5f2f6d01da0d9017031c2e.jpg","text":"TemporaryFile(/tmp/multipartBody8305149049622990852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307146655,"filename":"image_10072025_19_53_13_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afb081bd90955ddee2c572f1e01f6a31.jpg","text":"TemporaryFile(/tmp/multipartBody1623307284698048100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307146655,"filename":"image_10072025_19_53_04_10727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b973362e34dc757c887d27c9286132ad.jpg","text":"TemporaryFile(/tmp/multipartBody6108536274548719476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307146655,"filename":"image_10072025_19_52_53_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371859420","file1":"1371859330","file0":"1371859274","file4":"1371859512","file5":"1371859652","file3":"1371859470"},"map_files_photo_id_array":[{"photo_id":"1371859652","filename":"file5"},{"photo_id":"1371859420","filename":"file2"},{"photo_id":"1371859512","filename":"file4"},{"photo_id":"1371859330","filename":"file1"},{"photo_id":"1371859274","filename":"file0"},{"photo_id":"1371859470","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371859274":["hashtag1","hashtag2"]},{"1371859652":["hashtag1","hashtag2"]},{"1371859330":["hashtag1","hashtag2"]},{"1371859420":["hashtag1","hashtag2"]},{"1371859470":["hashtag1","hashtag2"]},{"1371859512":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371859274, 1371859652, 1371859330, 1371859420, 1371859470, 1371859512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.35125946998596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 09:59:03.576346
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_44_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_33_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_24_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_14_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/09/57/image_12072025_09_58_03_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_54_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_44_10616.jpg', '/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_33_9604.jpg', '/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_24_9611.jpg', '/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_14_10648.jpg', '/home/nano/Desktop/images/12072025/09/57/image_12072025_09_58_03_9650.jpg', '/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_54_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_44_10616.jpg
/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_33_9604.jpg
/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_24_9611.jpg
/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_14_10648.jpg
/home/nano/Desktop/images/12072025/09/57/image_12072025_09_58_03_9650.jpg
/home/nano/Desktop/images/12072025/09/57/image_12072025_09_57_54_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371860223","1371859937","1371860363","1371859936","1371860086","1371859994"],"photo_ids_order":["1371859936","1371859937","1371859994","1371860086","1371860223","1371860363"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2badee0e62f975da814da6c90e0d15e7.jpg","text":"TemporaryFile(/tmp/multipartBody7894961566232374532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307204786,"filename":"image_12072025_09_58_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3b02c204db378263d1f814b81a60b2d.jpg","text":"TemporaryFile(/tmp/multipartBody8326665591991966771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307204786,"filename":"image_12072025_09_58_33_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8d4441b1468fffe3d7c013abff6e36e.jpg","text":"TemporaryFile(/tmp/multipartBody5062637174472085537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307204786,"filename":"image_12072025_09_57_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65b05de08bb1e209d5cb14aad6d2e48d.jpg","text":"TemporaryFile(/tmp/multipartBody271182999587030311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307204786,"filename":"image_12072025_09_58_44_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6cd280b29d84ececbbb1905cad5a61f2.jpg","text":"TemporaryFile(/tmp/multipartBody9112756601217085811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307204786,"filename":"image_12072025_09_58_14_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb41dfbc2143acfc1a9ccb62824c64bb.jpg","text":"TemporaryFile(/tmp/multipartBody1242108289525523088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307204786,"filename":"image_12072025_09_58_24_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371859994","file1":"1371859937","file0":"1371859936","file4":"1371860223","file5":"1371860363","file3":"1371860086"},"map_files_photo_id_array":[{"photo_id":"1371860363","filename":"file5"},{"photo_id":"1371859994","filename":"file2"},{"photo_id":"1371860223","filename":"file4"},{"photo_id":"1371859937","filename":"file1"},{"photo_id":"1371859936","filename":"file0"},{"photo_id":"1371860086","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371860223":["hashtag1","hashtag2"]},{"1371859937":["hashtag1","hashtag2"]},{"1371860363":["hashtag1","hashtag2"]},{"1371859936":["hashtag1","hashtag2"]},{"1371860086":["hashtag1","hashtag2"]},{"1371859994":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371860223, 1371859937, 1371860363, 1371859936, 1371860086, 1371859994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.21093773841858 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:00:16.811255
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_43_9704.jpg', 2), ('/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_34_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_23_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_13_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/09/59/image_12072025_10_00_04_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_53_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_43_9704.jpg', '/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_34_10641.jpg', '/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_23_9598.jpg', '/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_13_9619.jpg', '/home/nano/Desktop/images/12072025/09/59/image_12072025_10_00_04_10631.jpg', '/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_53_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_43_9704.jpg
/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_34_10641.jpg
/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_23_9598.jpg
/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_13_9619.jpg
/home/nano/Desktop/images/12072025/09/59/image_12072025_10_00_04_10631.jpg
/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_53_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371860721","1371860805","1371860675","1371860828","1371860773","1371860863"],"photo_ids_order":["1371860675","1371860721","1371860773","1371860805","1371860828","1371860863"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/073d372e1fb9363c869e41cec689c061.jpg","text":"TemporaryFile(/tmp/multipartBody4902076323463066425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307278722,"filename":"image_12072025_10_00_34_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67b64a3718f0400990c18fd1a0275e7b.jpg","text":"TemporaryFile(/tmp/multipartBody4077959921923897508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307278722,"filename":"image_12072025_10_00_13_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d92f3149a58f47bc6c57e005a1ef5717.jpg","text":"TemporaryFile(/tmp/multipartBody6320807167504459870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307278722,"filename":"image_12072025_10_00_43_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d80bb6b511844af664468a3b8071e9a.jpg","text":"TemporaryFile(/tmp/multipartBody2750343687330723520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307278722,"filename":"image_12072025_10_00_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0b8547263f71e0aa468728a57d8feaf.jpg","text":"TemporaryFile(/tmp/multipartBody8401270826233944384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307278722,"filename":"image_12072025_10_00_23_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5735f91998cdff2e4e383e4a089b13da.jpg","text":"TemporaryFile(/tmp/multipartBody4820571777509841402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307278722,"filename":"image_12072025_09_59_53_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371860773","file1":"1371860721","file0":"1371860675","file4":"1371860828","file5":"1371860863","file3":"1371860805"},"map_files_photo_id_array":[{"photo_id":"1371860863","filename":"file5"},{"photo_id":"1371860773","filename":"file2"},{"photo_id":"1371860828","filename":"file4"},{"photo_id":"1371860721","filename":"file1"},{"photo_id":"1371860675","filename":"file0"},{"photo_id":"1371860805","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371860721":["hashtag1","hashtag2"]},{"1371860805":["hashtag1","hashtag2"]},{"1371860675":["hashtag1","hashtag2"]},{"1371860828":["hashtag1","hashtag2"]},{"1371860773":["hashtag1","hashtag2"]},{"1371860863":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371860721, 1371860805, 1371860675, 1371860828, 1371860773, 1371860863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25112009048462 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:01:02.822948
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_44_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_34_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_23_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_14_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/09/58/image_12072025_09_59_03_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_53_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_44_9606.jpg', '/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_34_10615.jpg', '/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_23_9603.jpg', '/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_14_10660.jpg', '/home/nano/Desktop/images/12072025/09/58/image_12072025_09_59_03_9621.jpg', '/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_53_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_44_9606.jpg
/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_34_10615.jpg
/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_23_9603.jpg
/home/nano/Desktop/images/12072025/09/59/image_12072025_09_59_14_10660.jpg
/home/nano/Desktop/images/12072025/09/58/image_12072025_09_59_03_9621.jpg
/home/nano/Desktop/images/12072025/09/58/image_12072025_09_58_53_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371861138","1371861003","1371861089","1371861143","1371861113","1371861041"],"photo_ids_order":["1371861003","1371861041","1371861089","1371861113","1371861138","1371861143"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32f04d77b01a338949143fe262e4dd4c.jpg","text":"TemporaryFile(/tmp/multipartBody6232447955873200498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307324157,"filename":"image_12072025_09_59_03_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1bdc9b13318924ec79f94708cabcd4b2.jpg","text":"TemporaryFile(/tmp/multipartBody7261266511242242319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307324157,"filename":"image_12072025_09_59_44_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de436e89b26b389f8d4eb45c5b115afb.jpg","text":"TemporaryFile(/tmp/multipartBody7411163220619782348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307324157,"filename":"image_12072025_09_59_23_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81dd5f4d69a8937d118cf2bb123bacd5.jpg","text":"TemporaryFile(/tmp/multipartBody6655832594715389662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307324157,"filename":"image_12072025_09_58_53_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3d9235abeff0aef5cda57bb250604ba.jpg","text":"TemporaryFile(/tmp/multipartBody7605086871088651446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307324157,"filename":"image_12072025_09_59_14_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b037681d83290fce35308b3b3eab603.jpg","text":"TemporaryFile(/tmp/multipartBody5111027675922759467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307324157,"filename":"image_12072025_09_59_34_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371861089","file1":"1371861041","file0":"1371861003","file4":"1371861138","file5":"1371861143","file3":"1371861113"},"map_files_photo_id_array":[{"photo_id":"1371861143","filename":"file5"},{"photo_id":"1371861089","filename":"file2"},{"photo_id":"1371861138","filename":"file4"},{"photo_id":"1371861041","filename":"file1"},{"photo_id":"1371861003","filename":"file0"},{"photo_id":"1371861113","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371861138":["hashtag1","hashtag2"]},{"1371861003":["hashtag1","hashtag2"]},{"1371861089":["hashtag1","hashtag2"]},{"1371861143":["hashtag1","hashtag2"]},{"1371861113":["hashtag1","hashtag2"]},{"1371861041":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371861138, 1371861003, 1371861089, 1371861143, 1371861113, 1371861041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1397488117218 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:01:46.946075
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_43_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_34_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_24_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_13_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/10/00/image_12072025_10_01_04_10704.jpg', 2), ('/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_53_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_43_9598.jpg', '/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_34_9601.jpg', '/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_24_10630.jpg', '/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_13_9637.jpg', '/home/nano/Desktop/images/12072025/10/00/image_12072025_10_01_04_10704.jpg', '/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_53_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_43_9598.jpg
/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_34_9601.jpg
/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_24_10630.jpg
/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_13_9637.jpg
/home/nano/Desktop/images/12072025/10/00/image_12072025_10_01_04_10704.jpg
/home/nano/Desktop/images/12072025/10/00/image_12072025_10_00_53_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371861420","1371861315","1371861368","1371861250","1371861474","1371861519"],"photo_ids_order":["1371861250","1371861315","1371861368","1371861420","1371861474","1371861519"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d35599cea95afe191e696311f8091a18.jpg","text":"TemporaryFile(/tmp/multipartBody1988554297133719630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307368533,"filename":"image_12072025_10_01_13_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/beeae3e9cf10ffaef9c1f07a9dc27434.jpg","text":"TemporaryFile(/tmp/multipartBody8127830063388377897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307368533,"filename":"image_12072025_10_01_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64ac559759928f8bbce03297b5a1fdb9.jpg","text":"TemporaryFile(/tmp/multipartBody1006264847678555751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307368533,"filename":"image_12072025_10_01_24_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3af2e0023cbddbf2e6a010405b8a50e4.jpg","text":"TemporaryFile(/tmp/multipartBody3379233585456088088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307368533,"filename":"image_12072025_10_01_43_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/852b32d664162dfc5f3302899ffa8100.jpg","text":"TemporaryFile(/tmp/multipartBody8812721398544792043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307368533,"filename":"image_12072025_10_01_04_10704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/698fb02e0bdfb407c9c7972316a09dbf.jpg","text":"TemporaryFile(/tmp/multipartBody3696672393992442813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307368533,"filename":"image_12072025_10_00_53_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371861368","file1":"1371861315","file0":"1371861250","file4":"1371861474","file5":"1371861519","file3":"1371861420"},"map_files_photo_id_array":[{"photo_id":"1371861519","filename":"file5"},{"photo_id":"1371861368","filename":"file2"},{"photo_id":"1371861474","filename":"file4"},{"photo_id":"1371861315","filename":"file1"},{"photo_id":"1371861250","filename":"file0"},{"photo_id":"1371861420","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371861420":["hashtag1","hashtag2"]},{"1371861315":["hashtag1","hashtag2"]},{"1371861368":["hashtag1","hashtag2"]},{"1371861250":["hashtag1","hashtag2"]},{"1371861474":["hashtag1","hashtag2"]},{"1371861519":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371861420, 1371861315, 1371861368, 1371861250, 1371861474, 1371861519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17316651344299 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:02:32.093187
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_44_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_33_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_24_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_14_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/10/01/image_12072025_10_02_03_9584.jpg', 2), ('/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_54_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_44_10612.jpg', '/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_33_9603.jpg', '/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_24_9606.jpg', '/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_14_10619.jpg', '/home/nano/Desktop/images/12072025/10/01/image_12072025_10_02_03_9584.jpg', '/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_54_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_44_10612.jpg
/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_33_9603.jpg
/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_24_9606.jpg
/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_14_10619.jpg
/home/nano/Desktop/images/12072025/10/01/image_12072025_10_02_03_9584.jpg
/home/nano/Desktop/images/12072025/10/01/image_12072025_10_01_54_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371861995","1371861896","1371861734","1371861781","1371861844","1371861816"],"photo_ids_order":["1371861734","1371861781","1371861816","1371861844","1371861896","1371861995"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/abfcee0637cea960e98324a345760497.jpg","text":"TemporaryFile(/tmp/multipartBody2247130027660333834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307413913,"filename":"image_12072025_10_01_54_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9174dae53b25f57cf82840cf38c33755.jpg","text":"TemporaryFile(/tmp/multipartBody1145049027431343012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307413913,"filename":"image_12072025_10_02_03_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da98d486ef4bfd9f3184b86291ee2967.jpg","text":"TemporaryFile(/tmp/multipartBody315406150051785331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307413913,"filename":"image_12072025_10_02_44_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c4821c4a2140e087548be5ddb2d6583.jpg","text":"TemporaryFile(/tmp/multipartBody991378816061364102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307413913,"filename":"image_12072025_10_02_33_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b32d546429f04b7abbd9a4d4227208ef.jpg","text":"TemporaryFile(/tmp/multipartBody6932858113288914617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307413913,"filename":"image_12072025_10_02_14_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36a2c16224907865e5e430c4091d4dec.jpg","text":"TemporaryFile(/tmp/multipartBody3983907405839375274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307413913,"filename":"image_12072025_10_02_24_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371861816","file1":"1371861781","file0":"1371861734","file4":"1371861896","file5":"1371861995","file3":"1371861844"},"map_files_photo_id_array":[{"photo_id":"1371861995","filename":"file5"},{"photo_id":"1371861816","filename":"file2"},{"photo_id":"1371861896","filename":"file4"},{"photo_id":"1371861781","filename":"file1"},{"photo_id":"1371861734","filename":"file0"},{"photo_id":"1371861844","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371861995":["hashtag1","hashtag2"]},{"1371861896":["hashtag1","hashtag2"]},{"1371861734":["hashtag1","hashtag2"]},{"1371861781":["hashtag1","hashtag2"]},{"1371861844":["hashtag1","hashtag2"]},{"1371861816":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371861995, 1371861896, 1371861734, 1371861781, 1371861844, 1371861816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.325867652893066 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:03:17.143148
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_44_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_34_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_14_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/10/02/image_12072025_10_03_03_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_53_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_44_9635.jpg', '/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_34_10629.jpg', '/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_23_9616.jpg', '/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_14_10644.jpg', '/home/nano/Desktop/images/12072025/10/02/image_12072025_10_03_03_9608.jpg', '/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_53_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_44_9635.jpg
/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_34_10629.jpg
/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_23_9616.jpg
/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_14_10644.jpg
/home/nano/Desktop/images/12072025/10/02/image_12072025_10_03_03_9608.jpg
/home/nano/Desktop/images/12072025/10/02/image_12072025_10_02_53_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371862220","1371862244","1371862205","1371862212","1371862283","1371862259"],"photo_ids_order":["1371862205","1371862212","1371862220","1371862244","1371862259","1371862283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2627aeba9faa4ac38729cdf5530c77e3.jpg","text":"TemporaryFile(/tmp/multipartBody4867813225540848465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307458869,"filename":"image_12072025_10_03_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca22181219610498694edaadd03c0114.jpg","text":"TemporaryFile(/tmp/multipartBody6001963103674674582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307458869,"filename":"image_12072025_10_03_14_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bbb1989521dc2ee41b88014deaa86ac.jpg","text":"TemporaryFile(/tmp/multipartBody3069588019664445345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307458869,"filename":"image_12072025_10_03_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e867362832a2e933888d4cef1b3f34ef.jpg","text":"TemporaryFile(/tmp/multipartBody1871808521367626076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307458869,"filename":"image_12072025_10_03_34_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db5dd94741f2dd89148c84e3eae74b49.jpg","text":"TemporaryFile(/tmp/multipartBody3445804899483383976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307458869,"filename":"image_12072025_10_02_53_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0bb575318e088302d7edc106279efe0.jpg","text":"TemporaryFile(/tmp/multipartBody6183261159581428393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307458869,"filename":"image_12072025_10_03_03_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371862220","file1":"1371862212","file0":"1371862205","file4":"1371862259","file5":"1371862283","file3":"1371862244"},"map_files_photo_id_array":[{"photo_id":"1371862283","filename":"file5"},{"photo_id":"1371862220","filename":"file2"},{"photo_id":"1371862259","filename":"file4"},{"photo_id":"1371862212","filename":"file1"},{"photo_id":"1371862205","filename":"file0"},{"photo_id":"1371862244","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371862220":["hashtag1","hashtag2"]},{"1371862244":["hashtag1","hashtag2"]},{"1371862205":["hashtag1","hashtag2"]},{"1371862212":["hashtag1","hashtag2"]},{"1371862283":["hashtag1","hashtag2"]},{"1371862259":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371862220, 1371862244, 1371862205, 1371862212, 1371862283, 1371862259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.517882347106934 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:04:03.199545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_33_9798.jpg', 2), ('/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_24_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_14_10881.jpg', 2), ('/home/nano/Desktop/images/10072025/19/51/image_10072025_19_52_03_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_54_9660.jpg', 2), ('/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_44_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_33_9798.jpg', '/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_24_9630.jpg', '/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_14_10881.jpg', '/home/nano/Desktop/images/10072025/19/51/image_10072025_19_52_03_9644.jpg', '/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_54_9660.jpg', '/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_44_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_33_9798.jpg
/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_24_9630.jpg
/home/nano/Desktop/images/10072025/19/52/image_10072025_19_52_14_10881.jpg
/home/nano/Desktop/images/10072025/19/51/image_10072025_19_52_03_9644.jpg
/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_54_9660.jpg
/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_44_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371862373","1371862372","1371862375","1371862378","1371862377","1371862379"],"photo_ids_order":["1371862372","1371862373","1371862375","1371862377","1371862378","1371862379"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47910668e9d06ecfde1caa9219e4e006.jpg","text":"TemporaryFile(/tmp/multipartBody6091466513289257353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307506770,"filename":"image_10072025_19_52_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5c10181080306be74948b401060e8c2.jpg","text":"TemporaryFile(/tmp/multipartBody7707951250073306024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307506770,"filename":"image_10072025_19_52_33_9798.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b85bd8fde19d6165fa30feaf72de79d.jpg","text":"TemporaryFile(/tmp/multipartBody7026299695674398977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307506770,"filename":"image_10072025_19_52_14_10881.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66b807abdb97ac18a1a7a5a67af348f0.jpg","text":"TemporaryFile(/tmp/multipartBody2464523804720638976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307506770,"filename":"image_10072025_19_51_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2ba3cf0edd4bdc92c988a08b6daebd6.jpg","text":"TemporaryFile(/tmp/multipartBody3296303933281077576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307506770,"filename":"image_10072025_19_52_03_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b5320516a3762aa6474f5e731eccaa3.jpg","text":"TemporaryFile(/tmp/multipartBody3132269422505895776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307506770,"filename":"image_10072025_19_51_44_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371862375","file1":"1371862373","file0":"1371862372","file4":"1371862378","file5":"1371862379","file3":"1371862377"},"map_files_photo_id_array":[{"photo_id":"1371862379","filename":"file5"},{"photo_id":"1371862375","filename":"file2"},{"photo_id":"1371862378","filename":"file4"},{"photo_id":"1371862373","filename":"file1"},{"photo_id":"1371862372","filename":"file0"},{"photo_id":"1371862377","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371862373":["hashtag1","hashtag2"]},{"1371862372":["hashtag1","hashtag2"]},{"1371862375":["hashtag1","hashtag2"]},{"1371862378":["hashtag1","hashtag2"]},{"1371862377":["hashtag1","hashtag2"]},{"1371862379":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371862373, 1371862372, 1371862375, 1371862378, 1371862377, 1371862379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49649238586426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:04:47.239943
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_43_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_34_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_23_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_14_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/10/03/image_12072025_10_04_04_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_53_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_43_9604.jpg', '/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_34_10613.jpg', '/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_23_9608.jpg', '/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_14_9651.jpg', '/home/nano/Desktop/images/12072025/10/03/image_12072025_10_04_04_10644.jpg', '/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_53_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_43_9604.jpg
/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_34_10613.jpg
/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_23_9608.jpg
/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_14_9651.jpg
/home/nano/Desktop/images/12072025/10/03/image_12072025_10_04_04_10644.jpg
/home/nano/Desktop/images/12072025/10/03/image_12072025_10_03_53_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371862436","1371862381","1371862462","1371862487","1371862410","1371862388"],"photo_ids_order":["1371862381","1371862388","1371862410","1371862436","1371862462","1371862487"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/593117cfd6fa31dbb5d9ed833b50038c.jpg","text":"TemporaryFile(/tmp/multipartBody6466936237312005760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307548395,"filename":"image_12072025_10_04_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff997648612e6a2d8814442b682c58aa.jpg","text":"TemporaryFile(/tmp/multipartBody1978356975561637545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307548395,"filename":"image_12072025_10_04_43_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16d30a94dcfd9625f619f492010e1d67.jpg","text":"TemporaryFile(/tmp/multipartBody8347995120943281649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307548395,"filename":"image_12072025_10_04_04_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53743ba21aa08b83c8859b4a6512396f.jpg","text":"TemporaryFile(/tmp/multipartBody4819651169591873512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307548395,"filename":"image_12072025_10_03_53_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00a57c1746dbdf35490aca2280c19546.jpg","text":"TemporaryFile(/tmp/multipartBody5291876640689197419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307548395,"filename":"image_12072025_10_04_23_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/180dd66631d942d948bac67c6eae8180.jpg","text":"TemporaryFile(/tmp/multipartBody2206805108869361929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307548395,"filename":"image_12072025_10_04_34_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371862410","file1":"1371862388","file0":"1371862381","file4":"1371862462","file5":"1371862487","file3":"1371862436"},"map_files_photo_id_array":[{"photo_id":"1371862487","filename":"file5"},{"photo_id":"1371862410","filename":"file2"},{"photo_id":"1371862462","filename":"file4"},{"photo_id":"1371862388","filename":"file1"},{"photo_id":"1371862381","filename":"file0"},{"photo_id":"1371862436","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371862436":["hashtag1","hashtag2"]},{"1371862381":["hashtag1","hashtag2"]},{"1371862462":["hashtag1","hashtag2"]},{"1371862487":["hashtag1","hashtag2"]},{"1371862410":["hashtag1","hashtag2"]},{"1371862388":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371862436, 1371862381, 1371862462, 1371862487, 1371862410, 1371862388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37735176086426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:05:32.367363
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_43_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_34_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_24_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_13_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/10/04/image_12072025_10_05_04_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_43_9614.jpg', '/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_34_9608.jpg', '/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_24_10629.jpg', '/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_13_9671.jpg', '/home/nano/Desktop/images/12072025/10/04/image_12072025_10_05_04_9616.jpg', '/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_43_9614.jpg
/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_34_9608.jpg
/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_24_10629.jpg
/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_13_9671.jpg
/home/nano/Desktop/images/12072025/10/04/image_12072025_10_05_04_9616.jpg
/home/nano/Desktop/images/12072025/10/04/image_12072025_10_04_54_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371862643","1371862724","1371862750","1371862672","1371862773","1371862698"],"photo_ids_order":["1371862643","1371862672","1371862698","1371862724","1371862750","1371862773"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c261c163a544d11d1d865a2d7c29f87e.jpg","text":"TemporaryFile(/tmp/multipartBody5914454811854288054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307593886,"filename":"image_12072025_10_05_43_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35dead5cf85c86b5954de1ad453720a5.jpg","text":"TemporaryFile(/tmp/multipartBody6206341073209581211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307593886,"filename":"image_12072025_10_05_13_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afdb7c6d366ec0962479355e04737463.jpg","text":"TemporaryFile(/tmp/multipartBody5298982735909622194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307593886,"filename":"image_12072025_10_05_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f04442aa80cca381ac42fe9e3b3803af.jpg","text":"TemporaryFile(/tmp/multipartBody8983761567760726008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307593886,"filename":"image_12072025_10_05_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9988f703045360fb19c1a00aa5077d1b.jpg","text":"TemporaryFile(/tmp/multipartBody3253493811465844718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307593886,"filename":"image_12072025_10_04_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e53b0612356f2d789bd8d5c60377e301.jpg","text":"TemporaryFile(/tmp/multipartBody4012274241938410564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307593886,"filename":"image_12072025_10_05_24_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371862698","file1":"1371862672","file0":"1371862643","file4":"1371862750","file5":"1371862773","file3":"1371862724"},"map_files_photo_id_array":[{"photo_id":"1371862773","filename":"file5"},{"photo_id":"1371862698","filename":"file2"},{"photo_id":"1371862750","filename":"file4"},{"photo_id":"1371862672","filename":"file1"},{"photo_id":"1371862643","filename":"file0"},{"photo_id":"1371862724","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371862643":["hashtag1","hashtag2"]},{"1371862724":["hashtag1","hashtag2"]},{"1371862750":["hashtag1","hashtag2"]},{"1371862672":["hashtag1","hashtag2"]},{"1371862773":["hashtag1","hashtag2"]},{"1371862698":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371862643, 1371862724, 1371862750, 1371862672, 1371862773, 1371862698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03399586677551 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:06:17.429724
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_44_10689.jpg', 2), ('/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_33_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_24_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_14_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/10/05/image_12072025_10_06_03_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_54_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_44_10689.jpg', '/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_33_9669.jpg', '/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_24_9619.jpg', '/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_14_10634.jpg', '/home/nano/Desktop/images/12072025/10/05/image_12072025_10_06_03_9614.jpg', '/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_54_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_44_10689.jpg
/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_33_9669.jpg
/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_24_9619.jpg
/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_14_10634.jpg
/home/nano/Desktop/images/12072025/10/05/image_12072025_10_06_03_9614.jpg
/home/nano/Desktop/images/12072025/10/05/image_12072025_10_05_54_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371862960","1371863034","1371863010","1371862935","1371862908","1371862985"],"photo_ids_order":["1371862908","1371862935","1371862960","1371862985","1371863010","1371863034"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc7ad69188f198e90e965ccd0582c077.jpg","text":"TemporaryFile(/tmp/multipartBody2949817622855582545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307638784,"filename":"image_12072025_10_06_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68fa9c742d6efb60adcca4edd617c794.jpg","text":"TemporaryFile(/tmp/multipartBody7076966562510064433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307638784,"filename":"image_12072025_10_05_54_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ddf48072d85ba54d1fd4400f590c249.jpg","text":"TemporaryFile(/tmp/multipartBody5387861151542454184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307638784,"filename":"image_12072025_10_06_03_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80a86d8bebae0dd871eeb56893b0f0fe.jpg","text":"TemporaryFile(/tmp/multipartBody7804814561273156817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307638784,"filename":"image_12072025_10_06_33_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22325baefebeb3501c0bc077ec435b09.jpg","text":"TemporaryFile(/tmp/multipartBody4499518457659413438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307638784,"filename":"image_12072025_10_06_44_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0053cb2ebb02aa45aaf2d10005e61ac.jpg","text":"TemporaryFile(/tmp/multipartBody5231090161770174368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307638784,"filename":"image_12072025_10_06_14_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371862960","file1":"1371862935","file0":"1371862908","file4":"1371863010","file5":"1371863034","file3":"1371862985"},"map_files_photo_id_array":[{"photo_id":"1371863034","filename":"file5"},{"photo_id":"1371862960","filename":"file2"},{"photo_id":"1371863010","filename":"file4"},{"photo_id":"1371862935","filename":"file1"},{"photo_id":"1371862908","filename":"file0"},{"photo_id":"1371862985","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371862960":["hashtag1","hashtag2"]},{"1371863034":["hashtag1","hashtag2"]},{"1371863010":["hashtag1","hashtag2"]},{"1371862935":["hashtag1","hashtag2"]},{"1371862908":["hashtag1","hashtag2"]},{"1371862985":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371862960, 1371863034, 1371863010, 1371862935, 1371862908, 1371862985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43988275527954 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:07:03.233874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_33_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_24_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_14_10652.jpg', 2), ('/home/nano/Desktop/images/10072025/19/50/image_10072025_19_51_03_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_54_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_44_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_33_9654.jpg', '/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_24_9614.jpg', '/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_14_10652.jpg', '/home/nano/Desktop/images/10072025/19/50/image_10072025_19_51_03_9622.jpg', '/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_54_9637.jpg', '/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_44_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_33_9654.jpg
/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_24_9614.jpg
/home/nano/Desktop/images/10072025/19/51/image_10072025_19_51_14_10652.jpg
/home/nano/Desktop/images/10072025/19/50/image_10072025_19_51_03_9622.jpg
/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_54_9637.jpg
/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_44_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371863300","1371863201","1371863341","1371863251","1371863226","1371863276"],"photo_ids_order":["1371863201","1371863226","1371863251","1371863276","1371863300","1371863341"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/098e57b552f50c8aaf427673c059c17c.jpg","text":"TemporaryFile(/tmp/multipartBody186025722916165329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307686390,"filename":"image_10072025_19_50_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4d1f0584432252cf24a78e6ddb12232.jpg","text":"TemporaryFile(/tmp/multipartBody1121857438817076510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307686390,"filename":"image_10072025_19_51_33_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ffe5b706d56d287e86c3777f04e19fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5503061499184753277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307686390,"filename":"image_10072025_19_50_44_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df8b590f2d52e9f8a4aa41915c5ccf7c.jpg","text":"TemporaryFile(/tmp/multipartBody7643541253219260511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307686390,"filename":"image_10072025_19_51_14_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5424f3e73b098533e1ba54716f2e2cf.jpg","text":"TemporaryFile(/tmp/multipartBody1045530411117923479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307686390,"filename":"image_10072025_19_51_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72ae70f4213303a06746217e646eaea4.jpg","text":"TemporaryFile(/tmp/multipartBody4433156765485651725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307686390,"filename":"image_10072025_19_51_03_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371863251","file1":"1371863226","file0":"1371863201","file4":"1371863300","file5":"1371863341","file3":"1371863276"},"map_files_photo_id_array":[{"photo_id":"1371863341","filename":"file5"},{"photo_id":"1371863251","filename":"file2"},{"photo_id":"1371863300","filename":"file4"},{"photo_id":"1371863226","filename":"file1"},{"photo_id":"1371863201","filename":"file0"},{"photo_id":"1371863276","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371863300":["hashtag1","hashtag2"]},{"1371863201":["hashtag1","hashtag2"]},{"1371863341":["hashtag1","hashtag2"]},{"1371863251":["hashtag1","hashtag2"]},{"1371863226":["hashtag1","hashtag2"]},{"1371863276":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371863300, 1371863201, 1371863341, 1371863251, 1371863226, 1371863276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2649359703064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:07:47.542524
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_44_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_33_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_24_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_14_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/10/06/image_12072025_10_07_03_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_54_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_44_10615.jpg', '/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_33_9604.jpg', '/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_24_9604.jpg', '/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_14_10644.jpg', '/home/nano/Desktop/images/12072025/10/06/image_12072025_10_07_03_9661.jpg', '/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_44_10615.jpg
/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_33_9604.jpg
/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_24_9604.jpg
/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_14_10644.jpg
/home/nano/Desktop/images/12072025/10/06/image_12072025_10_07_03_9661.jpg
/home/nano/Desktop/images/12072025/10/06/image_12072025_10_06_54_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371863617","1371863565","1371863505","1371863594","1371863480","1371863540"],"photo_ids_order":["1371863480","1371863505","1371863540","1371863565","1371863594","1371863617"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7acd92df85e5254a2ebe1782828d3d4c.jpg","text":"TemporaryFile(/tmp/multipartBody143397343517291572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307729258,"filename":"image_12072025_10_06_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8987caa0e48b80176974514c2801618.jpg","text":"TemporaryFile(/tmp/multipartBody8179196455295855655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307729258,"filename":"image_12072025_10_07_14_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f02e3c5105070732dfd7d62fdb6f20de.jpg","text":"TemporaryFile(/tmp/multipartBody8064155100817442434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307729258,"filename":"image_12072025_10_07_33_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/216af54d20896c5353b41353bdf8ebef.jpg","text":"TemporaryFile(/tmp/multipartBody1918783061578635850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307729258,"filename":"image_12072025_10_07_03_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b2752ac571174eeceafb2f98668b0f3.jpg","text":"TemporaryFile(/tmp/multipartBody8624851696026834915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307729258,"filename":"image_12072025_10_07_44_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54386e93ca0bdf180e95ffad29e9d1d9.jpg","text":"TemporaryFile(/tmp/multipartBody9096246084666936300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307729258,"filename":"image_12072025_10_07_24_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371863540","file1":"1371863505","file0":"1371863480","file4":"1371863594","file5":"1371863617","file3":"1371863565"},"map_files_photo_id_array":[{"photo_id":"1371863617","filename":"file5"},{"photo_id":"1371863540","filename":"file2"},{"photo_id":"1371863594","filename":"file4"},{"photo_id":"1371863505","filename":"file1"},{"photo_id":"1371863480","filename":"file0"},{"photo_id":"1371863565","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371863617":["hashtag1","hashtag2"]},{"1371863565":["hashtag1","hashtag2"]},{"1371863505":["hashtag1","hashtag2"]},{"1371863594":["hashtag1","hashtag2"]},{"1371863480":["hashtag1","hashtag2"]},{"1371863540":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371863617, 1371863565, 1371863505, 1371863594, 1371863480, 1371863540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15392994880676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:08:32.645241
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_43_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_34_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_23_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_14_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/10/07/image_12072025_10_08_04_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_53_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_43_9605.jpg', '/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_34_10612.jpg', '/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_23_9610.jpg', '/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_14_9628.jpg', '/home/nano/Desktop/images/12072025/10/07/image_12072025_10_08_04_10618.jpg', '/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_53_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_43_9605.jpg
/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_34_10612.jpg
/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_23_9610.jpg
/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_14_9628.jpg
/home/nano/Desktop/images/12072025/10/07/image_12072025_10_08_04_10618.jpg
/home/nano/Desktop/images/12072025/10/07/image_12072025_10_07_53_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371863824","1371863772","1371863853","1371863795","1371863843","1371863840"],"photo_ids_order":["1371863772","1371863795","1371863824","1371863840","1371863843","1371863853"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b270550b3181f58ad73bfb023e930ec0.jpg","text":"TemporaryFile(/tmp/multipartBody824975828636335106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307773985,"filename":"image_12072025_10_08_23_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b83a2fc43fcd8eb943e4f6d212fcc0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3735283135717583946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307773985,"filename":"image_12072025_10_08_43_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d766da6ce788a375302bdfcb48b8220.jpg","text":"TemporaryFile(/tmp/multipartBody4199941098414766540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307773985,"filename":"image_12072025_10_07_53_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e3f6db121baf5ecc945a89d4dff9c32.jpg","text":"TemporaryFile(/tmp/multipartBody27942870251130860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307773985,"filename":"image_12072025_10_08_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf0b39709d0c44e12245bd79fe5b4f76.jpg","text":"TemporaryFile(/tmp/multipartBody7463792956844420818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307773985,"filename":"image_12072025_10_08_04_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0677b17050e2b8b386cd7005c7a2a195.jpg","text":"TemporaryFile(/tmp/multipartBody7975136524805678641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307773985,"filename":"image_12072025_10_08_14_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371863824","file1":"1371863795","file0":"1371863772","file4":"1371863843","file5":"1371863853","file3":"1371863840"},"map_files_photo_id_array":[{"photo_id":"1371863853","filename":"file5"},{"photo_id":"1371863824","filename":"file2"},{"photo_id":"1371863843","filename":"file4"},{"photo_id":"1371863795","filename":"file1"},{"photo_id":"1371863772","filename":"file0"},{"photo_id":"1371863840","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371863824":["hashtag1","hashtag2"]},{"1371863772":["hashtag1","hashtag2"]},{"1371863853":["hashtag1","hashtag2"]},{"1371863795":["hashtag1","hashtag2"]},{"1371863843":["hashtag1","hashtag2"]},{"1371863840":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371863824, 1371863772, 1371863853, 1371863795, 1371863843, 1371863840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49901056289673 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:09:17.746984
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_43_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_34_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_24_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_13_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/10/08/image_12072025_10_09_04_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_54_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_43_9644.jpg', '/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_34_9651.jpg', '/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_24_10626.jpg', '/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_13_9622.jpg', '/home/nano/Desktop/images/12072025/10/08/image_12072025_10_09_04_9621.jpg', '/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_54_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_43_9644.jpg
/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_34_9651.jpg
/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_24_10626.jpg
/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_13_9622.jpg
/home/nano/Desktop/images/12072025/10/08/image_12072025_10_09_04_9621.jpg
/home/nano/Desktop/images/12072025/10/08/image_12072025_10_08_54_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864013","1371863982","1371864153","1371864114","1371864041","1371864088"],"photo_ids_order":["1371863982","1371864013","1371864041","1371864088","1371864114","1371864153"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff26ef445d65c5ce8717374f2d87d159.jpg","text":"TemporaryFile(/tmp/multipartBody8466109405345543989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307819149,"filename":"image_12072025_10_09_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/800f68a5d20ae1788df769db6e300aa6.jpg","text":"TemporaryFile(/tmp/multipartBody8777417821204784572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307819149,"filename":"image_12072025_10_09_43_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e5a8a1552ca2e981d2952c073206ca9.jpg","text":"TemporaryFile(/tmp/multipartBody1710212980899711312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307819149,"filename":"image_12072025_10_08_54_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce1adebc9969f2219f65cf89c2936288.jpg","text":"TemporaryFile(/tmp/multipartBody438449486455436364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307819149,"filename":"image_12072025_10_09_04_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8158b1b136c5f5c3a89b5d1ba772eb4.jpg","text":"TemporaryFile(/tmp/multipartBody5005998367594434621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307819149,"filename":"image_12072025_10_09_24_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/874fcc350ff4a1c14365f153c81c7916.jpg","text":"TemporaryFile(/tmp/multipartBody4825986560612913693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307819149,"filename":"image_12072025_10_09_13_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864041","file1":"1371864013","file0":"1371863982","file4":"1371864114","file5":"1371864153","file3":"1371864088"},"map_files_photo_id_array":[{"photo_id":"1371864153","filename":"file5"},{"photo_id":"1371864041","filename":"file2"},{"photo_id":"1371864114","filename":"file4"},{"photo_id":"1371864013","filename":"file1"},{"photo_id":"1371863982","filename":"file0"},{"photo_id":"1371864088","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371864013":["hashtag1","hashtag2"]},{"1371863982":["hashtag1","hashtag2"]},{"1371864153":["hashtag1","hashtag2"]},{"1371864114":["hashtag1","hashtag2"]},{"1371864041":["hashtag1","hashtag2"]},{"1371864088":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371864013, 1371863982, 1371864153, 1371864114, 1371864041, 1371864088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8333625793457 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:10:02.445966
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_33_9612.jpg', 2), ('/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_24_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_13_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/19/49/image_10072025_19_50_04_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_54_10623.jpg', 2), ('/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_43_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_33_9612.jpg', '/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_24_10627.jpg', '/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_13_9628.jpg', '/home/nano/Desktop/images/10072025/19/49/image_10072025_19_50_04_9634.jpg', '/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_54_10623.jpg', '/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_43_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_33_9612.jpg
/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_24_10627.jpg
/home/nano/Desktop/images/10072025/19/50/image_10072025_19_50_13_9628.jpg
/home/nano/Desktop/images/10072025/19/49/image_10072025_19_50_04_9634.jpg
/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_54_10623.jpg
/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_43_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864307","1371864309","1371864302","1371864305","1371864289","1371864308"],"photo_ids_order":["1371864289","1371864302","1371864305","1371864307","1371864308","1371864309"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51c252f450ea8889b917733f3ba11eff.jpg","text":"TemporaryFile(/tmp/multipartBody3620237173818830656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307865230,"filename":"image_10072025_19_50_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbe4867b646497bf2b7b1bb2255fa7ca.jpg","text":"TemporaryFile(/tmp/multipartBody5801416530773900014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307865230,"filename":"image_10072025_19_49_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da69161bd55f2dfc15f38216de05a4c2.jpg","text":"TemporaryFile(/tmp/multipartBody2461901797205880675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307865230,"filename":"image_10072025_19_50_24_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab8127417dd69a2086f27cb014070411.jpg","text":"TemporaryFile(/tmp/multipartBody6296182495135279432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307865230,"filename":"image_10072025_19_50_13_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d82c61e81c6f192299917f6ff6e67826.jpg","text":"TemporaryFile(/tmp/multipartBody802909514011044385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307865230,"filename":"image_10072025_19_50_33_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bad0febbe01148aa48c9415f91526a8.jpg","text":"TemporaryFile(/tmp/multipartBody3794378786742609418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307865230,"filename":"image_10072025_19_49_54_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864305","file1":"1371864302","file0":"1371864289","file4":"1371864308","file5":"1371864309","file3":"1371864307"},"map_files_photo_id_array":[{"photo_id":"1371864309","filename":"file5"},{"photo_id":"1371864305","filename":"file2"},{"photo_id":"1371864308","filename":"file4"},{"photo_id":"1371864302","filename":"file1"},{"photo_id":"1371864289","filename":"file0"},{"photo_id":"1371864307","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371864307":["hashtag1","hashtag2"]},{"1371864309":["hashtag1","hashtag2"]},{"1371864302":["hashtag1","hashtag2"]},{"1371864305":["hashtag1","hashtag2"]},{"1371864289":["hashtag1","hashtag2"]},{"1371864308":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371864307, 1371864309, 1371864302, 1371864305, 1371864289, 1371864308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.937177419662476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:10:46.826596
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_44_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_13_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/10/09/image_12072025_10_10_03_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_54_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_44_10611.jpg', '/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_33_9608.jpg', '/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_24_10625.jpg', '/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_13_9644.jpg', '/home/nano/Desktop/images/12072025/10/09/image_12072025_10_10_03_9630.jpg', '/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_54_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_44_10611.jpg
/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_33_9608.jpg
/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_24_10625.jpg
/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_13_9644.jpg
/home/nano/Desktop/images/12072025/10/09/image_12072025_10_10_03_9630.jpg
/home/nano/Desktop/images/12072025/10/09/image_12072025_10_09_54_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864451","1371864403","1371864453","1371864377","1371864431","1371864455"],"photo_ids_order":["1371864377","1371864403","1371864431","1371864451","1371864453","1371864455"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b163b8cba10ef2bfb4634bc440ad62a.jpg","text":"TemporaryFile(/tmp/multipartBody4313431006250670416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307908103,"filename":"image_12072025_10_10_13_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0d63ef9fc3ce62810105bd17c8c4058.jpg","text":"TemporaryFile(/tmp/multipartBody604531001102618708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307908103,"filename":"image_12072025_10_10_33_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a3458a84ceee783e12888702112c896.jpg","text":"TemporaryFile(/tmp/multipartBody8108397429116479272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307908103,"filename":"image_12072025_10_10_03_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d5163f79c4311711480b238a0bf7668.jpg","text":"TemporaryFile(/tmp/multipartBody8037212607677353672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307908103,"filename":"image_12072025_10_10_44_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd2dc80fc47273e0af934364bb6d2362.jpg","text":"TemporaryFile(/tmp/multipartBody1926904150689959326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307908103,"filename":"image_12072025_10_10_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/170f48b3323bfd484d40155af2ddde94.jpg","text":"TemporaryFile(/tmp/multipartBody1996239497697216550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307908103,"filename":"image_12072025_10_09_54_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864431","file1":"1371864403","file0":"1371864377","file4":"1371864453","file5":"1371864455","file3":"1371864451"},"map_files_photo_id_array":[{"photo_id":"1371864455","filename":"file5"},{"photo_id":"1371864431","filename":"file2"},{"photo_id":"1371864453","filename":"file4"},{"photo_id":"1371864403","filename":"file1"},{"photo_id":"1371864377","filename":"file0"},{"photo_id":"1371864451","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371864451":["hashtag1","hashtag2"]},{"1371864403":["hashtag1","hashtag2"]},{"1371864453":["hashtag1","hashtag2"]},{"1371864377":["hashtag1","hashtag2"]},{"1371864431":["hashtag1","hashtag2"]},{"1371864455":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371864451, 1371864403, 1371864453, 1371864377, 1371864431, 1371864455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.250568866729736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:11:31.923879
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_44_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_33_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_14_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/10/10/image_12072025_10_11_03_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_54_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_44_10623.jpg', '/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_33_9634.jpg', '/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_23_9616.jpg', '/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_14_10640.jpg', '/home/nano/Desktop/images/12072025/10/10/image_12072025_10_11_03_9630.jpg', '/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_44_10623.jpg
/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_33_9634.jpg
/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_23_9616.jpg
/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_14_10640.jpg
/home/nano/Desktop/images/12072025/10/10/image_12072025_10_11_03_9630.jpg
/home/nano/Desktop/images/12072025/10/10/image_12072025_10_10_54_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864492","1371864468","1371864470","1371864548","1371864574","1371864469"],"photo_ids_order":["1371864468","1371864469","1371864470","1371864492","1371864548","1371864574"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efba6f86ada27290ad1da7cd05e1f20b.jpg","text":"TemporaryFile(/tmp/multipartBody6347272694112356852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307953789,"filename":"image_12072025_10_11_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47e9fd29c569af5207a309e3ecb9ac13.jpg","text":"TemporaryFile(/tmp/multipartBody1794816850246244455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307953789,"filename":"image_12072025_10_11_44_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb525fadf34cb2d8a100c61f8224eb91.jpg","text":"TemporaryFile(/tmp/multipartBody7572247385378637064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307953789,"filename":"image_12072025_10_11_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c559954afe3ee00749f837c7690b476e.jpg","text":"TemporaryFile(/tmp/multipartBody8755017823444700486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307953789,"filename":"image_12072025_10_11_03_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca7bfdf8f265c7507180f243c5080be6.jpg","text":"TemporaryFile(/tmp/multipartBody6402646220718900364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307953789,"filename":"image_12072025_10_10_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/debc9cdd118992fcff6857f14c1fe37d.jpg","text":"TemporaryFile(/tmp/multipartBody4260984531960054578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307953789,"filename":"image_12072025_10_11_33_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864470","file1":"1371864469","file0":"1371864468","file4":"1371864548","file5":"1371864574","file3":"1371864492"},"map_files_photo_id_array":[{"photo_id":"1371864574","filename":"file5"},{"photo_id":"1371864470","filename":"file2"},{"photo_id":"1371864548","filename":"file4"},{"photo_id":"1371864469","filename":"file1"},{"photo_id":"1371864468","filename":"file0"},{"photo_id":"1371864492","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371864492":["hashtag1","hashtag2"]},{"1371864468":["hashtag1","hashtag2"]},{"1371864470":["hashtag1","hashtag2"]},{"1371864548":["hashtag1","hashtag2"]},{"1371864574":["hashtag1","hashtag2"]},{"1371864469":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371864492, 1371864468, 1371864470, 1371864548, 1371864574, 1371864469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09107255935669 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:12:17.074545
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_44_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_34_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_23_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_14_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/10/11/image_12072025_10_12_04_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_53_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_44_9654.jpg', '/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_34_10657.jpg', '/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_23_9635.jpg', '/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_14_9647.jpg', '/home/nano/Desktop/images/12072025/10/11/image_12072025_10_12_04_10656.jpg', '/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_53_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_44_9654.jpg
/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_34_10657.jpg
/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_23_9635.jpg
/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_14_9647.jpg
/home/nano/Desktop/images/12072025/10/11/image_12072025_10_12_04_10656.jpg
/home/nano/Desktop/images/12072025/10/11/image_12072025_10_11_53_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864780","1371864798","1371864729","1371864785","1371864799","1371864760"],"photo_ids_order":["1371864729","1371864760","1371864780","1371864785","1371864798","1371864799"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae2765113d857c1efc2c5bc7ae8388d7.jpg","text":"TemporaryFile(/tmp/multipartBody5972441477487489374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307998457,"filename":"image_12072025_10_12_23_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/935ce9756405b0b69fd5fcdaf2fa56e3.jpg","text":"TemporaryFile(/tmp/multipartBody6836655444361321839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307998457,"filename":"image_12072025_10_12_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a17fd3d11a05880eb2f2305f0eda411b.jpg","text":"TemporaryFile(/tmp/multipartBody5726733831774612294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307998457,"filename":"image_12072025_10_12_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bada774316dc8743fab62219a1bf249e.jpg","text":"TemporaryFile(/tmp/multipartBody310721521739144875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307998457,"filename":"image_12072025_10_12_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a710c10d80cf0f0d6363112a9a74415.jpg","text":"TemporaryFile(/tmp/multipartBody573236102651255050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307998457,"filename":"image_12072025_10_11_53_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d79e7655c3bb6f7c025225ae6457bb8.jpg","text":"TemporaryFile(/tmp/multipartBody2080295743277174575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752307998457,"filename":"image_12072025_10_12_34_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864780","file1":"1371864760","file0":"1371864729","file4":"1371864798","file5":"1371864799","file3":"1371864785"},"map_files_photo_id_array":[{"photo_id":"1371864799","filename":"file5"},{"photo_id":"1371864780","filename":"file2"},{"photo_id":"1371864798","filename":"file4"},{"photo_id":"1371864760","filename":"file1"},{"photo_id":"1371864729","filename":"file0"},{"photo_id":"1371864785","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371864780":["hashtag1","hashtag2"]},{"1371864798":["hashtag1","hashtag2"]},{"1371864729":["hashtag1","hashtag2"]},{"1371864785":["hashtag1","hashtag2"]},{"1371864799":["hashtag1","hashtag2"]},{"1371864760":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371864780, 1371864798, 1371864729, 1371864785, 1371864799, 1371864760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67540502548218 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:13:02.938293
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_34_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_24_10618.jpg', 2), ('/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_13_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/19/48/image_10072025_19_49_04_10625.jpg', 2), ('/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_53_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_44_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_34_9607.jpg', '/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_24_10618.jpg', '/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_13_9625.jpg', '/home/nano/Desktop/images/10072025/19/48/image_10072025_19_49_04_10625.jpg', '/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_53_9624.jpg', '/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_44_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_34_9607.jpg
/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_24_10618.jpg
/home/nano/Desktop/images/10072025/19/49/image_10072025_19_49_13_9625.jpg
/home/nano/Desktop/images/10072025/19/48/image_10072025_19_49_04_10625.jpg
/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_53_9624.jpg
/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_44_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864811","1371864805","1371864813","1371864807","1371864810","1371864812"],"photo_ids_order":["1371864805","1371864807","1371864810","1371864811","1371864812","1371864813"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/421da118bf1d44c8117df06f0a10fd51.jpg","text":"TemporaryFile(/tmp/multipartBody3632655368947434794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308045614,"filename":"image_10072025_19_49_04_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/896ad4ff614ee22c3a05d26e3b1b86b3.jpg","text":"TemporaryFile(/tmp/multipartBody8171846717588234493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308045614,"filename":"image_10072025_19_49_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00acf4900ec20e84d2bf74c65df36084.jpg","text":"TemporaryFile(/tmp/multipartBody229319043732653357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308045614,"filename":"image_10072025_19_48_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93facd9ab798e1545697deb3955aa8c8.jpg","text":"TemporaryFile(/tmp/multipartBody7400445756073617052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308045614,"filename":"image_10072025_19_49_24_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f46b458b4d9328f61379726a378a826c.jpg","text":"TemporaryFile(/tmp/multipartBody6703386423095176845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308045614,"filename":"image_10072025_19_49_13_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d300163e6fe09d23737e3f034d3abcd7.jpg","text":"TemporaryFile(/tmp/multipartBody1861672008166779482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308045614,"filename":"image_10072025_19_48_53_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864810","file1":"1371864807","file0":"1371864805","file4":"1371864812","file5":"1371864813","file3":"1371864811"},"map_files_photo_id_array":[{"photo_id":"1371864813","filename":"file5"},{"photo_id":"1371864810","filename":"file2"},{"photo_id":"1371864812","filename":"file4"},{"photo_id":"1371864807","filename":"file1"},{"photo_id":"1371864805","filename":"file0"},{"photo_id":"1371864811","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371864811":["hashtag1","hashtag2"]},{"1371864805":["hashtag1","hashtag2"]},{"1371864813":["hashtag1","hashtag2"]},{"1371864807":["hashtag1","hashtag2"]},{"1371864810":["hashtag1","hashtag2"]},{"1371864812":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371864811, 1371864805, 1371864813, 1371864807, 1371864810, 1371864812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28209185600281 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:13:47.301411
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_43_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_34_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_23_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_14_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/10/12/image_12072025_10_13_04_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_53_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_43_9622.jpg', '/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_34_10613.jpg', '/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_23_9600.jpg', '/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_14_9632.jpg', '/home/nano/Desktop/images/12072025/10/12/image_12072025_10_13_04_10641.jpg', '/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_53_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_43_9622.jpg
/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_34_10613.jpg
/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_23_9600.jpg
/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_14_9632.jpg
/home/nano/Desktop/images/12072025/10/12/image_12072025_10_13_04_10641.jpg
/home/nano/Desktop/images/12072025/10/12/image_12072025_10_12_53_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864820","1371864823","1371864826","1371864822","1371864816","1371864818"],"photo_ids_order":["1371864816","1371864818","1371864820","1371864822","1371864823","1371864826"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/999e1aa45db52f267c1afa94415c2017.jpg","text":"TemporaryFile(/tmp/multipartBody6047229669020794467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308089097,"filename":"image_12072025_10_13_23_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5933139ec15780f1e2c6f72ffddad682.jpg","text":"TemporaryFile(/tmp/multipartBody1076188229056307869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308089097,"filename":"image_12072025_10_13_04_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d40c17944d5c53b3cac1cb345f064bb0.jpg","text":"TemporaryFile(/tmp/multipartBody8116658968657176298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308089097,"filename":"image_12072025_10_12_53_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ac63e683c0b09c5a29ee502752f54c2.jpg","text":"TemporaryFile(/tmp/multipartBody5390599964166241365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308089097,"filename":"image_12072025_10_13_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c32216b9fcb1eff36f3c2a02139bb93b.jpg","text":"TemporaryFile(/tmp/multipartBody4374691180681312665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308089097,"filename":"image_12072025_10_13_43_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ab36912017e18d23bb562450c6e0c97.jpg","text":"TemporaryFile(/tmp/multipartBody3787705249644492832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308089097,"filename":"image_12072025_10_13_34_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864820","file1":"1371864818","file0":"1371864816","file4":"1371864823","file5":"1371864826","file3":"1371864822"},"map_files_photo_id_array":[{"photo_id":"1371864826","filename":"file5"},{"photo_id":"1371864820","filename":"file2"},{"photo_id":"1371864823","filename":"file4"},{"photo_id":"1371864818","filename":"file1"},{"photo_id":"1371864816","filename":"file0"},{"photo_id":"1371864822","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371864820":["hashtag1","hashtag2"]},{"1371864823":["hashtag1","hashtag2"]},{"1371864826":["hashtag1","hashtag2"]},{"1371864822":["hashtag1","hashtag2"]},{"1371864816":["hashtag1","hashtag2"]},{"1371864818":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371864820, 1371864823, 1371864826, 1371864822, 1371864816, 1371864818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90153956413269 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:14:32.420925
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_43_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_33_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_24_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_13_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/10/13/image_12072025_10_14_04_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_54_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_43_9605.jpg', '/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_33_9622.jpg', '/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_24_10610.jpg', '/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_13_9636.jpg', '/home/nano/Desktop/images/12072025/10/13/image_12072025_10_14_04_9627.jpg', '/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_54_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_43_9605.jpg
/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_33_9622.jpg
/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_24_10610.jpg
/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_13_9636.jpg
/home/nano/Desktop/images/12072025/10/13/image_12072025_10_14_04_9627.jpg
/home/nano/Desktop/images/12072025/10/13/image_12072025_10_13_54_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864838","1371864840","1371864834","1371864842","1371864836","1371864833"],"photo_ids_order":["1371864833","1371864834","1371864836","1371864838","1371864840","1371864842"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0678e81fb00427e81521eacc35f0e4ff.jpg","text":"TemporaryFile(/tmp/multipartBody6944792678627660598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308134030,"filename":"image_12072025_10_14_13_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2359fc0c83540e3663e29413d1c554c8.jpg","text":"TemporaryFile(/tmp/multipartBody2945504540428216584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308134030,"filename":"image_12072025_10_14_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95eeba7c20efe88798ddc8db82ab74cc.jpg","text":"TemporaryFile(/tmp/multipartBody7517856621430000222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308134030,"filename":"image_12072025_10_14_33_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29e4cd4737680e4f3f2b2e0c4d597874.jpg","text":"TemporaryFile(/tmp/multipartBody927518273580904952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308134030,"filename":"image_12072025_10_13_54_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c6d64163192282c9c8f7b0b09a1c5c2.jpg","text":"TemporaryFile(/tmp/multipartBody1508359646720337213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308134030,"filename":"image_12072025_10_14_24_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8dc536c1619afcb732d98b78e9bfb81a.jpg","text":"TemporaryFile(/tmp/multipartBody5347706597798468512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308134030,"filename":"image_12072025_10_14_43_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864836","file1":"1371864834","file0":"1371864833","file4":"1371864840","file5":"1371864842","file3":"1371864838"},"map_files_photo_id_array":[{"photo_id":"1371864842","filename":"file5"},{"photo_id":"1371864836","filename":"file2"},{"photo_id":"1371864840","filename":"file4"},{"photo_id":"1371864834","filename":"file1"},{"photo_id":"1371864833","filename":"file0"},{"photo_id":"1371864838","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371864838":["hashtag1","hashtag2"]},{"1371864840":["hashtag1","hashtag2"]},{"1371864834":["hashtag1","hashtag2"]},{"1371864842":["hashtag1","hashtag2"]},{"1371864836":["hashtag1","hashtag2"]},{"1371864833":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371864838, 1371864840, 1371864834, 1371864842, 1371864836, 1371864833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17600774765015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:15:17.491293
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_44_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_33_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_24_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_14_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/10/14/image_12072025_10_15_03_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_54_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_44_10640.jpg', '/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_33_9675.jpg', '/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_24_9604.jpg', '/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_14_10629.jpg', '/home/nano/Desktop/images/12072025/10/14/image_12072025_10_15_03_9628.jpg', '/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_54_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_44_10640.jpg
/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_33_9675.jpg
/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_24_9604.jpg
/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_14_10629.jpg
/home/nano/Desktop/images/12072025/10/14/image_12072025_10_15_03_9628.jpg
/home/nano/Desktop/images/12072025/10/14/image_12072025_10_14_54_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864852","1371864848","1371864851","1371864850","1371864853","1371864847"],"photo_ids_order":["1371864847","1371864848","1371864850","1371864851","1371864852","1371864853"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0e7e8cb7aedb4be17bbf37cbc0a41ca.jpg","text":"TemporaryFile(/tmp/multipartBody726682590755234443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308178998,"filename":"image_12072025_10_15_03_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b16dff794d622c96b5b81abb413b278.jpg","text":"TemporaryFile(/tmp/multipartBody1901479538419975625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308178998,"filename":"image_12072025_10_15_33_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/782afa8967f7d5782fe98b49b562a362.jpg","text":"TemporaryFile(/tmp/multipartBody7958945263871482139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308178998,"filename":"image_12072025_10_15_14_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/762f795c4592a7a0e953641eaed9818a.jpg","text":"TemporaryFile(/tmp/multipartBody6937101693519081855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308178998,"filename":"image_12072025_10_15_24_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cd7aba0835c9643c4050fedb5f4cdad.jpg","text":"TemporaryFile(/tmp/multipartBody1881751421917582849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308178998,"filename":"image_12072025_10_14_54_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54b42bd2186ab9caffe81838c05c7afd.jpg","text":"TemporaryFile(/tmp/multipartBody6098485522887151451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308178998,"filename":"image_12072025_10_15_44_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864850","file1":"1371864848","file0":"1371864847","file4":"1371864852","file5":"1371864853","file3":"1371864851"},"map_files_photo_id_array":[{"photo_id":"1371864853","filename":"file5"},{"photo_id":"1371864850","filename":"file2"},{"photo_id":"1371864852","filename":"file4"},{"photo_id":"1371864848","filename":"file1"},{"photo_id":"1371864847","filename":"file0"},{"photo_id":"1371864851","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371864852":["hashtag1","hashtag2"]},{"1371864848":["hashtag1","hashtag2"]},{"1371864851":["hashtag1","hashtag2"]},{"1371864850":["hashtag1","hashtag2"]},{"1371864853":["hashtag1","hashtag2"]},{"1371864847":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371864852, 1371864848, 1371864851, 1371864850, 1371864853, 1371864847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22602033615112 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:16:03.192924
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_34_10620.jpg', 2), ('/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_23_9611.jpg', 2), ('/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_14_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/19/47/image_10072025_19_48_04_10630.jpg', 2), ('/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_53_9610.jpg', 2), ('/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_44_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_34_10620.jpg', '/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_23_9611.jpg', '/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_14_9624.jpg', '/home/nano/Desktop/images/10072025/19/47/image_10072025_19_48_04_10630.jpg', '/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_53_9610.jpg', '/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_44_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_34_10620.jpg
/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_23_9611.jpg
/home/nano/Desktop/images/10072025/19/48/image_10072025_19_48_14_9624.jpg
/home/nano/Desktop/images/10072025/19/47/image_10072025_19_48_04_10630.jpg
/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_53_9610.jpg
/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_44_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864885","1371864879","1371864887","1371864881","1371864883","1371864889"],"photo_ids_order":["1371864879","1371864881","1371864883","1371864885","1371864887","1371864889"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b510630caa6868d730c194bc32264bd7.jpg","text":"TemporaryFile(/tmp/multipartBody4127971597010866823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308226127,"filename":"image_10072025_19_48_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8827b9499386452fed28a53638a433ff.jpg","text":"TemporaryFile(/tmp/multipartBody4360571126865660847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308226127,"filename":"image_10072025_19_48_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9e029f6bdd9ef9005eede4a0b67279d.jpg","text":"TemporaryFile(/tmp/multipartBody4635902034034870909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308226127,"filename":"image_10072025_19_47_53_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39bbf04f77f0f5fb0d4dd12ea3741fed.jpg","text":"TemporaryFile(/tmp/multipartBody7016950913870201195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308226127,"filename":"image_10072025_19_48_23_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0364a7955c2010bda3bb9154724175a7.jpg","text":"TemporaryFile(/tmp/multipartBody8622478751947066964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308226127,"filename":"image_10072025_19_48_14_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70b7282b7440dee1dc3e5edf06ed4dbf.jpg","text":"TemporaryFile(/tmp/multipartBody7459052518383631645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308226127,"filename":"image_10072025_19_47_44_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864883","file1":"1371864881","file0":"1371864879","file4":"1371864887","file5":"1371864889","file3":"1371864885"},"map_files_photo_id_array":[{"photo_id":"1371864889","filename":"file5"},{"photo_id":"1371864883","filename":"file2"},{"photo_id":"1371864887","filename":"file4"},{"photo_id":"1371864881","filename":"file1"},{"photo_id":"1371864879","filename":"file0"},{"photo_id":"1371864885","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371864885":["hashtag1","hashtag2"]},{"1371864879":["hashtag1","hashtag2"]},{"1371864887":["hashtag1","hashtag2"]},{"1371864881":["hashtag1","hashtag2"]},{"1371864883":["hashtag1","hashtag2"]},{"1371864889":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371864885, 1371864879, 1371864887, 1371864881, 1371864883, 1371864889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.819395303726196 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:16:47.654277
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_34_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_14_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/10/15/image_12072025_10_16_03_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_53_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_44_9617.jpg', '/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_34_10611.jpg', '/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_23_9609.jpg', '/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_14_10656.jpg', '/home/nano/Desktop/images/12072025/10/15/image_12072025_10_16_03_9618.jpg', '/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_53_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_44_9617.jpg
/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_34_10611.jpg
/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_23_9609.jpg
/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_14_10656.jpg
/home/nano/Desktop/images/12072025/10/15/image_12072025_10_16_03_9618.jpg
/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_53_9627.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5315675735473633 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:17:02.311566
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_34_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_14_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/10/15/image_12072025_10_16_03_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_53_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_44_9617.jpg', '/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_34_10611.jpg', '/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_23_9609.jpg', '/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_14_10656.jpg', '/home/nano/Desktop/images/12072025/10/15/image_12072025_10_16_03_9618.jpg', '/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_53_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_44_9617.jpg
/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_34_10611.jpg
/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_23_9609.jpg
/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_14_10656.jpg
/home/nano/Desktop/images/12072025/10/15/image_12072025_10_16_03_9618.jpg
/home/nano/Desktop/images/12072025/10/15/image_12072025_10_15_53_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864934","1371864928","1371864930","1371864933","1371864932","1371864926"],"photo_ids_order":["1371864926","1371864928","1371864930","1371864932","1371864933","1371864934"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5315a0762b2aedd8644c3283209167e1.jpg","text":"TemporaryFile(/tmp/multipartBody3078064926234297078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308283881,"filename":"image_12072025_10_15_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4df4a8b7f950b9f125f34fd2ff1cf1ca.jpg","text":"TemporaryFile(/tmp/multipartBody5960392146193214572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308283881,"filename":"image_12072025_10_16_34_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/256a6e07b01c116095eb456aef0f710c.jpg","text":"TemporaryFile(/tmp/multipartBody3120528252033009142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308283881,"filename":"image_12072025_10_16_23_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e925509d86bf92dc5d8eee8401b5467c.jpg","text":"TemporaryFile(/tmp/multipartBody1271829541773546089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308283881,"filename":"image_12072025_10_16_03_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/289a569f6c7cc9f3e3a2f63f3f18cfbb.jpg","text":"TemporaryFile(/tmp/multipartBody8402521820968195900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308283881,"filename":"image_12072025_10_16_14_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9275beea55ed3bb5d3092f4de04a98dd.jpg","text":"TemporaryFile(/tmp/multipartBody6880900613626945378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308283881,"filename":"image_12072025_10_16_44_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864930","file1":"1371864928","file0":"1371864926","file4":"1371864933","file5":"1371864934","file3":"1371864932"},"map_files_photo_id_array":[{"photo_id":"1371864934","filename":"file5"},{"photo_id":"1371864930","filename":"file2"},{"photo_id":"1371864933","filename":"file4"},{"photo_id":"1371864928","filename":"file1"},{"photo_id":"1371864926","filename":"file0"},{"photo_id":"1371864932","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371864934":["hashtag1","hashtag2"]},{"1371864928":["hashtag1","hashtag2"]},{"1371864930":["hashtag1","hashtag2"]},{"1371864933":["hashtag1","hashtag2"]},{"1371864932":["hashtag1","hashtag2"]},{"1371864926":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371864934, 1371864928, 1371864930, 1371864933, 1371864932, 1371864926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34238314628601 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:17:46.777558
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_43_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_23_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_13_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/10/16/image_12072025_10_17_04_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_53_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_43_9616.jpg', '/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_34_10620.jpg', '/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_23_9615.jpg', '/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_13_9644.jpg', '/home/nano/Desktop/images/12072025/10/16/image_12072025_10_17_04_10615.jpg', '/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_53_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_43_9616.jpg
/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_34_10620.jpg
/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_23_9615.jpg
/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_13_9644.jpg
/home/nano/Desktop/images/12072025/10/16/image_12072025_10_17_04_10615.jpg
/home/nano/Desktop/images/12072025/10/16/image_12072025_10_16_53_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864940","1371864943","1371864945","1371864936","1371864941","1371864938"],"photo_ids_order":["1371864936","1371864938","1371864940","1371864941","1371864943","1371864945"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec0b993805e8842880bc1e1e7bef1f79.jpg","text":"TemporaryFile(/tmp/multipartBody8286610263537340966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308328594,"filename":"image_12072025_10_17_23_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56d1a81515b3171699000b1896279f1c.jpg","text":"TemporaryFile(/tmp/multipartBody5041914163957185864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308328594,"filename":"image_12072025_10_17_04_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c845ef19747f79bd298da4f82e084d68.jpg","text":"TemporaryFile(/tmp/multipartBody8388210252540114111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308328594,"filename":"image_12072025_10_16_53_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0aa81101732e0e4f1f3a3a3adf945afb.jpg","text":"TemporaryFile(/tmp/multipartBody4992711463903085348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308328594,"filename":"image_12072025_10_17_43_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f173bfa03ed7c111f5ca414a051d3c4c.jpg","text":"TemporaryFile(/tmp/multipartBody5197279749691432626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308328594,"filename":"image_12072025_10_17_13_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/890e0e631d2ce276ea21d94f163bc603.jpg","text":"TemporaryFile(/tmp/multipartBody3701510140372254323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308328594,"filename":"image_12072025_10_17_34_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864940","file1":"1371864938","file0":"1371864936","file4":"1371864943","file5":"1371864945","file3":"1371864941"},"map_files_photo_id_array":[{"photo_id":"1371864945","filename":"file5"},{"photo_id":"1371864940","filename":"file2"},{"photo_id":"1371864943","filename":"file4"},{"photo_id":"1371864938","filename":"file1"},{"photo_id":"1371864936","filename":"file0"},{"photo_id":"1371864941","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371864940":["hashtag1","hashtag2"]},{"1371864943":["hashtag1","hashtag2"]},{"1371864945":["hashtag1","hashtag2"]},{"1371864936":["hashtag1","hashtag2"]},{"1371864941":["hashtag1","hashtag2"]},{"1371864938":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371864940, 1371864943, 1371864945, 1371864936, 1371864941, 1371864938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.375622034072876 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:18:31.897908
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_54_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_33_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_24_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/10/17/image_12072025_10_18_04_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_54_10641.jpg', '/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_33_9650.jpg', '/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_24_10618.jpg', '/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_13_9658.jpg', '/home/nano/Desktop/images/12072025/10/17/image_12072025_10_18_04_9608.jpg', '/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_54_10641.jpg
/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_33_9650.jpg
/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_24_10618.jpg
/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_13_9658.jpg
/home/nano/Desktop/images/12072025/10/17/image_12072025_10_18_04_9608.jpg
/home/nano/Desktop/images/12072025/10/17/image_12072025_10_17_54_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864955","1371864951","1371864948","1371864953","1371864950","1371864958"],"photo_ids_order":["1371864948","1371864950","1371864951","1371864953","1371864955","1371864958"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83c7af2c689c683daae9f16e3b62fa0c.jpg","text":"TemporaryFile(/tmp/multipartBody2874381602700506106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308373628,"filename":"image_12072025_10_18_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1092969cba6a2ecce7a72b43437f144c.jpg","text":"TemporaryFile(/tmp/multipartBody1950537407660563733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308373628,"filename":"image_12072025_10_18_24_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/959ab6ac16a960f156dff2f9c6eab0d8.jpg","text":"TemporaryFile(/tmp/multipartBody7295391235709819811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308373628,"filename":"image_12072025_10_18_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c89503592dcc5f2a66213f0898cf9bf4.jpg","text":"TemporaryFile(/tmp/multipartBody4769956493142071326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308373628,"filename":"image_12072025_10_18_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b16e39bf7279b5787b0538b25c65a4fb.jpg","text":"TemporaryFile(/tmp/multipartBody2760179265082345298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308373628,"filename":"image_12072025_10_18_33_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af2e1d081aef88626d9cf243ff901882.jpg","text":"TemporaryFile(/tmp/multipartBody7668167171163525821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308373628,"filename":"image_12072025_10_17_54_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864951","file1":"1371864950","file0":"1371864948","file4":"1371864955","file5":"1371864958","file3":"1371864953"},"map_files_photo_id_array":[{"photo_id":"1371864958","filename":"file5"},{"photo_id":"1371864951","filename":"file2"},{"photo_id":"1371864955","filename":"file4"},{"photo_id":"1371864950","filename":"file1"},{"photo_id":"1371864948","filename":"file0"},{"photo_id":"1371864953","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371864955":["hashtag1","hashtag2"]},{"1371864951":["hashtag1","hashtag2"]},{"1371864948":["hashtag1","hashtag2"]},{"1371864953":["hashtag1","hashtag2"]},{"1371864950":["hashtag1","hashtag2"]},{"1371864958":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371864955, 1371864951, 1371864948, 1371864953, 1371864950, 1371864958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.003037452697754 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:19:16.996053
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_44_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_33_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_14_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/10/18/image_12072025_10_19_03_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_43_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_44_10615.jpg', '/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_33_9616.jpg', '/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_24_9608.jpg', '/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_14_10630.jpg', '/home/nano/Desktop/images/12072025/10/18/image_12072025_10_19_03_9635.jpg', '/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_43_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_44_10615.jpg
/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_33_9616.jpg
/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_24_9608.jpg
/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_14_10630.jpg
/home/nano/Desktop/images/12072025/10/18/image_12072025_10_19_03_9635.jpg
/home/nano/Desktop/images/12072025/10/18/image_12072025_10_18_43_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371864972","1371864971","1371864974","1371864977","1371864970","1371864973"],"photo_ids_order":["1371864970","1371864971","1371864972","1371864973","1371864974","1371864977"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50ebaca2124bb1cd4238712b8d2a749e.jpg","text":"TemporaryFile(/tmp/multipartBody5577046674127065027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308418445,"filename":"image_12072025_10_19_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6fb4696a0ffb071e3b8fdde2bbaf5ec0.jpg","text":"TemporaryFile(/tmp/multipartBody5076761715089564977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308418445,"filename":"image_12072025_10_19_33_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/05cc4dee1d9c2e6c3c623e10e3819eb6.jpg","text":"TemporaryFile(/tmp/multipartBody8444559967062517988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308418445,"filename":"image_12072025_10_19_03_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c50b31379c5a9a0fab43c83b373c87a5.jpg","text":"TemporaryFile(/tmp/multipartBody6963706660990948368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308418445,"filename":"image_12072025_10_18_43_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ade2dbcd2bc88c32ff3d819373f3761.jpg","text":"TemporaryFile(/tmp/multipartBody3256307808748940858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308418445,"filename":"image_12072025_10_19_44_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd92cc53b245151ab7c9b7d62a78845e.jpg","text":"TemporaryFile(/tmp/multipartBody6500115563663990772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308418445,"filename":"image_12072025_10_19_14_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371864972","file1":"1371864971","file0":"1371864970","file4":"1371864974","file5":"1371864977","file3":"1371864973"},"map_files_photo_id_array":[{"photo_id":"1371864977","filename":"file5"},{"photo_id":"1371864972","filename":"file2"},{"photo_id":"1371864974","filename":"file4"},{"photo_id":"1371864971","filename":"file1"},{"photo_id":"1371864970","filename":"file0"},{"photo_id":"1371864973","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371864972":["hashtag1","hashtag2"]},{"1371864971":["hashtag1","hashtag2"]},{"1371864974":["hashtag1","hashtag2"]},{"1371864977":["hashtag1","hashtag2"]},{"1371864970":["hashtag1","hashtag2"]},{"1371864973":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371864972, 1371864971, 1371864974, 1371864977, 1371864970, 1371864973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29491662979126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:20:02.688325
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_33_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_24_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_14_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/19/46/image_10072025_19_47_03_9608.jpg', 2), ('/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_54_10615.jpg', 2), ('/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_43_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_33_9620.jpg', '/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_24_9613.jpg', '/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_14_10633.jpg', '/home/nano/Desktop/images/10072025/19/46/image_10072025_19_47_03_9608.jpg', '/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_54_10615.jpg', '/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_43_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_33_9620.jpg
/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_24_9613.jpg
/home/nano/Desktop/images/10072025/19/47/image_10072025_19_47_14_10633.jpg
/home/nano/Desktop/images/10072025/19/46/image_10072025_19_47_03_9608.jpg
/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_54_10615.jpg
/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_43_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865018","1371865014","1371865016","1371865010","1371865012","1371865015"],"photo_ids_order":["1371865010","1371865012","1371865014","1371865015","1371865016","1371865018"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a46c894f954c54efb00766483f07ba31.jpg","text":"TemporaryFile(/tmp/multipartBody780340404696690618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308465306,"filename":"image_10072025_19_46_43_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74343a388bf648d91fbd767dcd10b34c.jpg","text":"TemporaryFile(/tmp/multipartBody3908492116114306489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308465306,"filename":"image_10072025_19_47_14_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a5adf01a565593627cb2fb725d5ade7.jpg","text":"TemporaryFile(/tmp/multipartBody7617082249655636112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308465306,"filename":"image_10072025_19_46_54_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eaf48e0ac1675be552fb09a91463f33e.jpg","text":"TemporaryFile(/tmp/multipartBody3817927234257522705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308465306,"filename":"image_10072025_19_47_33_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6864e03b3c1ee38b5263afb6e7c3026e.jpg","text":"TemporaryFile(/tmp/multipartBody1370080481319221276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308465306,"filename":"image_10072025_19_47_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab7cb6beb1a8af65bf76cafa2b63d188.jpg","text":"TemporaryFile(/tmp/multipartBody59586471729896087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308465306,"filename":"image_10072025_19_47_03_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865014","file1":"1371865012","file0":"1371865010","file4":"1371865016","file5":"1371865018","file3":"1371865015"},"map_files_photo_id_array":[{"photo_id":"1371865018","filename":"file5"},{"photo_id":"1371865014","filename":"file2"},{"photo_id":"1371865016","filename":"file4"},{"photo_id":"1371865012","filename":"file1"},{"photo_id":"1371865010","filename":"file0"},{"photo_id":"1371865015","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371865018":["hashtag1","hashtag2"]},{"1371865014":["hashtag1","hashtag2"]},{"1371865016":["hashtag1","hashtag2"]},{"1371865010":["hashtag1","hashtag2"]},{"1371865012":["hashtag1","hashtag2"]},{"1371865015":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371865018, 1371865014, 1371865016, 1371865010, 1371865012, 1371865015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32910466194153 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:20:47.128147
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_44_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_34_10609.jpg', 2), ('/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_23_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_14_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/10/19/image_12072025_10_20_03_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_53_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_44_9603.jpg', '/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_34_10609.jpg', '/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_23_9607.jpg', '/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_14_10636.jpg', '/home/nano/Desktop/images/12072025/10/19/image_12072025_10_20_03_9621.jpg', '/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_53_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_44_9603.jpg
/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_34_10609.jpg
/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_23_9607.jpg
/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_14_10636.jpg
/home/nano/Desktop/images/12072025/10/19/image_12072025_10_20_03_9621.jpg
/home/nano/Desktop/images/12072025/10/19/image_12072025_10_19_53_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865023","1371865032","1371865028","1371865025","1371865030","1371865027"],"photo_ids_order":["1371865023","1371865025","1371865027","1371865028","1371865030","1371865032"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b6f0f7d7c406a70b3d3d7986cee0a79.jpg","text":"TemporaryFile(/tmp/multipartBody7744678076568377764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308509409,"filename":"image_12072025_10_20_44_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e25223d647ab960c89ea0070a62938c6.jpg","text":"TemporaryFile(/tmp/multipartBody8257216029741758910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308509409,"filename":"image_12072025_10_19_53_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9599e1a159555d263465a89bde32f831.jpg","text":"TemporaryFile(/tmp/multipartBody469942648974320615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308509409,"filename":"image_12072025_10_20_14_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6204cba4dd8a80906b963b536fbbf125.jpg","text":"TemporaryFile(/tmp/multipartBody4864090528818643044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308509409,"filename":"image_12072025_10_20_34_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57742250f6834de953e6eabc7d1bc513.jpg","text":"TemporaryFile(/tmp/multipartBody8352307397470554060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308509409,"filename":"image_12072025_10_20_03_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93690b1b34ee35b8e62763935fb7bffc.jpg","text":"TemporaryFile(/tmp/multipartBody5085869829966368260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308509409,"filename":"image_12072025_10_20_23_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865027","file1":"1371865025","file0":"1371865023","file4":"1371865030","file5":"1371865032","file3":"1371865028"},"map_files_photo_id_array":[{"photo_id":"1371865032","filename":"file5"},{"photo_id":"1371865027","filename":"file2"},{"photo_id":"1371865030","filename":"file4"},{"photo_id":"1371865025","filename":"file1"},{"photo_id":"1371865023","filename":"file0"},{"photo_id":"1371865028","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371865023":["hashtag1","hashtag2"]},{"1371865032":["hashtag1","hashtag2"]},{"1371865028":["hashtag1","hashtag2"]},{"1371865025":["hashtag1","hashtag2"]},{"1371865030":["hashtag1","hashtag2"]},{"1371865027":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371865023, 1371865032, 1371865028, 1371865025, 1371865030, 1371865027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85560202598572 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:21:32.218123
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_43_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_34_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_24_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_13_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/10/20/image_12072025_10_21_04_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_53_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_43_9624.jpg', '/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_34_9653.jpg', '/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_24_10631.jpg', '/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_13_9624.jpg', '/home/nano/Desktop/images/12072025/10/20/image_12072025_10_21_04_10624.jpg', '/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_53_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_43_9624.jpg
/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_34_9653.jpg
/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_24_10631.jpg
/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_13_9624.jpg
/home/nano/Desktop/images/12072025/10/20/image_12072025_10_21_04_10624.jpg
/home/nano/Desktop/images/12072025/10/20/image_12072025_10_20_53_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865038","1371865034","1371865045","1371865039","1371865048","1371865042"],"photo_ids_order":["1371865034","1371865038","1371865039","1371865042","1371865045","1371865048"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a81eab1c21f13814b3bb52080860ae58.jpg","text":"TemporaryFile(/tmp/multipartBody4583170063596225942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308553884,"filename":"image_12072025_10_21_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d3e663c42c6271c5730f5a0ef35ccb6.jpg","text":"TemporaryFile(/tmp/multipartBody8083067072166374611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308553884,"filename":"image_12072025_10_21_43_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5a6523d5cf0490e88d6a1ffa6f1fc78.jpg","text":"TemporaryFile(/tmp/multipartBody3537227258208861757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308553884,"filename":"image_12072025_10_21_04_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea37523edb0fa349ff43ad8097375db1.jpg","text":"TemporaryFile(/tmp/multipartBody1591094103734230958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308553884,"filename":"image_12072025_10_21_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c830abcae634410cb46a3751b9cddad.jpg","text":"TemporaryFile(/tmp/multipartBody3539438292009707451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308553884,"filename":"image_12072025_10_20_53_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e60072409a66da32821553476f19fc8.jpg","text":"TemporaryFile(/tmp/multipartBody8658221347238350160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308553884,"filename":"image_12072025_10_21_13_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865039","file1":"1371865038","file0":"1371865034","file4":"1371865045","file5":"1371865048","file3":"1371865042"},"map_files_photo_id_array":[{"photo_id":"1371865048","filename":"file5"},{"photo_id":"1371865039","filename":"file2"},{"photo_id":"1371865045","filename":"file4"},{"photo_id":"1371865038","filename":"file1"},{"photo_id":"1371865034","filename":"file0"},{"photo_id":"1371865042","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371865038":["hashtag1","hashtag2"]},{"1371865034":["hashtag1","hashtag2"]},{"1371865045":["hashtag1","hashtag2"]},{"1371865039":["hashtag1","hashtag2"]},{"1371865048":["hashtag1","hashtag2"]},{"1371865042":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371865038, 1371865034, 1371865045, 1371865039, 1371865048, 1371865042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.46356177330017 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:22:47.353260
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_44_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_33_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_24_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_13_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/10/21/image_12072025_10_22_04_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_54_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_44_10620.jpg', '/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_33_9605.jpg', '/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_24_10617.jpg', '/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_13_9622.jpg', '/home/nano/Desktop/images/12072025/10/21/image_12072025_10_22_04_9647.jpg', '/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_54_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_44_10620.jpg
/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_33_9605.jpg
/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_24_10617.jpg
/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_13_9622.jpg
/home/nano/Desktop/images/12072025/10/21/image_12072025_10_22_04_9647.jpg
/home/nano/Desktop/images/12072025/10/21/image_12072025_10_21_54_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865062","1371865055","1371865058","1371865057","1371865060","1371865054"],"photo_ids_order":["1371865054","1371865055","1371865057","1371865058","1371865060","1371865062"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d528f3493ae57fce004e7ac6ad511fe.jpg","text":"TemporaryFile(/tmp/multipartBody8525966154417167671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308629002,"filename":"image_12072025_10_21_54_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba80c3c7cfc457e33283b93e2e101dc1.jpg","text":"TemporaryFile(/tmp/multipartBody3161659836517266217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308629002,"filename":"image_12072025_10_22_33_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4eff4102a9cd15eae48a65dfa5f9c14f.jpg","text":"TemporaryFile(/tmp/multipartBody6674382395021331014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308629002,"filename":"image_12072025_10_22_13_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4263775afc56145aee70be404bd315c0.jpg","text":"TemporaryFile(/tmp/multipartBody8596377477070464650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308629002,"filename":"image_12072025_10_22_24_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a7be92e247a40e5b60529d4812a78ed.jpg","text":"TemporaryFile(/tmp/multipartBody8706722847291680712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308629002,"filename":"image_12072025_10_22_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02b1fcabe755f42dc875b13fe311075b.jpg","text":"TemporaryFile(/tmp/multipartBody3945320762037026142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308629002,"filename":"image_12072025_10_22_44_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865057","file1":"1371865055","file0":"1371865054","file4":"1371865060","file5":"1371865062","file3":"1371865058"},"map_files_photo_id_array":[{"photo_id":"1371865062","filename":"file5"},{"photo_id":"1371865057","filename":"file2"},{"photo_id":"1371865060","filename":"file4"},{"photo_id":"1371865055","filename":"file1"},{"photo_id":"1371865054","filename":"file0"},{"photo_id":"1371865058","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371865062":["hashtag1","hashtag2"]},{"1371865055":["hashtag1","hashtag2"]},{"1371865058":["hashtag1","hashtag2"]},{"1371865057":["hashtag1","hashtag2"]},{"1371865060":["hashtag1","hashtag2"]},{"1371865054":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371865062, 1371865055, 1371865058, 1371865057, 1371865060, 1371865054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.03205943107605 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:23:32.439017
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_44_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_33_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_14_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/10/22/image_12072025_10_23_03_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_54_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_44_10620.jpg', '/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_33_9604.jpg', '/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_24_9608.jpg', '/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_14_10668.jpg', '/home/nano/Desktop/images/12072025/10/22/image_12072025_10_23_03_9614.jpg', '/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_54_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_44_10620.jpg
/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_33_9604.jpg
/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_24_9608.jpg
/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_14_10668.jpg
/home/nano/Desktop/images/12072025/10/22/image_12072025_10_23_03_9614.jpg
/home/nano/Desktop/images/12072025/10/22/image_12072025_10_22_54_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865077","1371865070","1371865073","1371865075","1371865078","1371865069"],"photo_ids_order":["1371865069","1371865070","1371865073","1371865075","1371865077","1371865078"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b1402b9a6eb05e95a509546c82d0761.jpg","text":"TemporaryFile(/tmp/multipartBody6225672229043177253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308673991,"filename":"image_12072025_10_23_03_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94da943cb86ecad8319425c1414b6b21.jpg","text":"TemporaryFile(/tmp/multipartBody8283834655747011261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308673991,"filename":"image_12072025_10_23_33_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fdec6ca291d21beb8a1b27af573c18aa.jpg","text":"TemporaryFile(/tmp/multipartBody7666649628980338887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308673991,"filename":"image_12072025_10_23_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48c31bf36e2ddca68d250dfbfb0dbd2a.jpg","text":"TemporaryFile(/tmp/multipartBody7072641978663170323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308673991,"filename":"image_12072025_10_23_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ee852f3fc15812b399f3b3dca8216fe.jpg","text":"TemporaryFile(/tmp/multipartBody4587926717584114409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308673991,"filename":"image_12072025_10_22_54_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/814c799ea79e8092a5e2c72f5b46636f.jpg","text":"TemporaryFile(/tmp/multipartBody2603699393598404089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308673991,"filename":"image_12072025_10_23_44_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865073","file1":"1371865070","file0":"1371865069","file4":"1371865077","file5":"1371865078","file3":"1371865075"},"map_files_photo_id_array":[{"photo_id":"1371865078","filename":"file5"},{"photo_id":"1371865073","filename":"file2"},{"photo_id":"1371865077","filename":"file4"},{"photo_id":"1371865070","filename":"file1"},{"photo_id":"1371865069","filename":"file0"},{"photo_id":"1371865075","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371865077":["hashtag1","hashtag2"]},{"1371865070":["hashtag1","hashtag2"]},{"1371865073":["hashtag1","hashtag2"]},{"1371865075":["hashtag1","hashtag2"]},{"1371865078":["hashtag1","hashtag2"]},{"1371865069":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371865077, 1371865070, 1371865073, 1371865075, 1371865078, 1371865069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41786861419678 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:24:17.625946
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_43_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_34_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_14_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/10/23/image_12072025_10_24_04_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_53_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_43_9615.jpg', '/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_34_10636.jpg', '/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_23_9609.jpg', '/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_14_9630.jpg', '/home/nano/Desktop/images/12072025/10/23/image_12072025_10_24_04_10614.jpg', '/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_53_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_43_9615.jpg
/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_34_10636.jpg
/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_23_9609.jpg
/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_14_9630.jpg
/home/nano/Desktop/images/12072025/10/23/image_12072025_10_24_04_10614.jpg
/home/nano/Desktop/images/12072025/10/23/image_12072025_10_23_53_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865086","1371865083","1371865085","1371865088","1371865084","1371865087"],"photo_ids_order":["1371865083","1371865084","1371865085","1371865086","1371865087","1371865088"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/978d4812cb5d3794943ac013a48972c2.jpg","text":"TemporaryFile(/tmp/multipartBody7939669341293189246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308719447,"filename":"image_12072025_10_24_14_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ceb797e745ced0975401ed28446efbb.jpg","text":"TemporaryFile(/tmp/multipartBody4165373174322993953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308719447,"filename":"image_12072025_10_24_43_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47b5d6104c13c06877d4646f9cabb2ff.jpg","text":"TemporaryFile(/tmp/multipartBody1291142017850327694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308719447,"filename":"image_12072025_10_24_23_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25b5318378343c110ffc0c0ec5243715.jpg","text":"TemporaryFile(/tmp/multipartBody4980851019214476831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308719447,"filename":"image_12072025_10_23_53_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3bea31988859a3e299a5e1924c940a0c.jpg","text":"TemporaryFile(/tmp/multipartBody2900162544162137753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308719447,"filename":"image_12072025_10_24_34_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0cbb02dd7b8c982c15b31dee22621429.jpg","text":"TemporaryFile(/tmp/multipartBody5449282928554349245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308719447,"filename":"image_12072025_10_24_04_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865085","file1":"1371865084","file0":"1371865083","file4":"1371865087","file5":"1371865088","file3":"1371865086"},"map_files_photo_id_array":[{"photo_id":"1371865088","filename":"file5"},{"photo_id":"1371865085","filename":"file2"},{"photo_id":"1371865087","filename":"file4"},{"photo_id":"1371865084","filename":"file1"},{"photo_id":"1371865083","filename":"file0"},{"photo_id":"1371865086","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371865086":["hashtag1","hashtag2"]},{"1371865083":["hashtag1","hashtag2"]},{"1371865085":["hashtag1","hashtag2"]},{"1371865088":["hashtag1","hashtag2"]},{"1371865084":["hashtag1","hashtag2"]},{"1371865087":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371865086, 1371865083, 1371865085, 1371865088, 1371865084, 1371865087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83362579345703 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:25:03.325525
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_33_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_24_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_13_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/19/45/image_10072025_19_46_04_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_54_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_43_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_33_9626.jpg', '/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_24_10655.jpg', '/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_13_9624.jpg', '/home/nano/Desktop/images/10072025/19/45/image_10072025_19_46_04_9624.jpg', '/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_54_10627.jpg', '/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_43_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_33_9626.jpg
/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_24_10655.jpg
/home/nano/Desktop/images/10072025/19/46/image_10072025_19_46_13_9624.jpg
/home/nano/Desktop/images/10072025/19/45/image_10072025_19_46_04_9624.jpg
/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_54_10627.jpg
/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_43_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865095","1371865091","1371865100","1371865103","1371865093","1371865098"],"photo_ids_order":["1371865091","1371865093","1371865095","1371865098","1371865100","1371865103"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba53ed05e877e0d5b34370c44c5349ca.jpg","text":"TemporaryFile(/tmp/multipartBody7450257068179417449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308766295,"filename":"image_10072025_19_46_13_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/478386e34ece0a55fc41f0367a541bb1.jpg","text":"TemporaryFile(/tmp/multipartBody3221989866999082967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308766295,"filename":"image_10072025_19_46_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d2f30f6fc355b7618f6166aed688118.jpg","text":"TemporaryFile(/tmp/multipartBody860964331948646280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308766295,"filename":"image_10072025_19_45_54_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d4dbc8f8ed761fe05796f643f0e51bb.jpg","text":"TemporaryFile(/tmp/multipartBody8386703767968350437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308766295,"filename":"image_10072025_19_45_43_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1555425c9018322bf440647999f570d.jpg","text":"TemporaryFile(/tmp/multipartBody2762481266286785449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308766295,"filename":"image_10072025_19_46_24_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/629d48f90323e82c0e0b7c5875e3166d.jpg","text":"TemporaryFile(/tmp/multipartBody6288895064767010713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308766295,"filename":"image_10072025_19_46_04_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865095","file1":"1371865093","file0":"1371865091","file4":"1371865100","file5":"1371865103","file3":"1371865098"},"map_files_photo_id_array":[{"photo_id":"1371865103","filename":"file5"},{"photo_id":"1371865095","filename":"file2"},{"photo_id":"1371865100","filename":"file4"},{"photo_id":"1371865093","filename":"file1"},{"photo_id":"1371865091","filename":"file0"},{"photo_id":"1371865098","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371865095":["hashtag1","hashtag2"]},{"1371865091":["hashtag1","hashtag2"]},{"1371865100":["hashtag1","hashtag2"]},{"1371865103":["hashtag1","hashtag2"]},{"1371865093":["hashtag1","hashtag2"]},{"1371865098":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371865095, 1371865091, 1371865100, 1371865103, 1371865093, 1371865098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86981916427612 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:25:47.699067
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_43_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_34_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_24_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_13_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/10/24/image_12072025_10_25_04_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_53_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_43_9612.jpg', '/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_34_9615.jpg', '/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_24_10631.jpg', '/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_13_9630.jpg', '/home/nano/Desktop/images/12072025/10/24/image_12072025_10_25_04_10642.jpg', '/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_53_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_43_9612.jpg
/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_34_9615.jpg
/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_24_10631.jpg
/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_13_9630.jpg
/home/nano/Desktop/images/12072025/10/24/image_12072025_10_25_04_10642.jpg
/home/nano/Desktop/images/12072025/10/24/image_12072025_10_24_53_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865110","1371865113","1371865107","1371865109","1371865112","1371865111"],"photo_ids_order":["1371865107","1371865109","1371865110","1371865111","1371865112","1371865113"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57f3681a8ceb4be479c42de1b5654280.jpg","text":"TemporaryFile(/tmp/multipartBody6006620304035899181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308809214,"filename":"image_12072025_10_25_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63dbeb8eca56933c98f6d12949d1ac6f.jpg","text":"TemporaryFile(/tmp/multipartBody5864066321150276710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308809214,"filename":"image_12072025_10_24_53_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87dff8da73ef39f4f7e7b8f0cf414fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2947588096527270753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308809214,"filename":"image_12072025_10_25_43_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77f1507596e85c2915e95d3970e7dd60.jpg","text":"TemporaryFile(/tmp/multipartBody5617413209231878635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308809214,"filename":"image_12072025_10_25_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a68306bcc86a6ff450fb0070c925a1d7.jpg","text":"TemporaryFile(/tmp/multipartBody2184826370381049795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308809214,"filename":"image_12072025_10_25_04_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84253eeb18c655b010b66a2addb31e83.jpg","text":"TemporaryFile(/tmp/multipartBody4075630061434474117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308809214,"filename":"image_12072025_10_25_13_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865110","file1":"1371865109","file0":"1371865107","file4":"1371865112","file5":"1371865113","file3":"1371865111"},"map_files_photo_id_array":[{"photo_id":"1371865113","filename":"file5"},{"photo_id":"1371865110","filename":"file2"},{"photo_id":"1371865112","filename":"file4"},{"photo_id":"1371865109","filename":"file1"},{"photo_id":"1371865107","filename":"file0"},{"photo_id":"1371865111","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371865110":["hashtag1","hashtag2"]},{"1371865113":["hashtag1","hashtag2"]},{"1371865107":["hashtag1","hashtag2"]},{"1371865109":["hashtag1","hashtag2"]},{"1371865112":["hashtag1","hashtag2"]},{"1371865111":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371865110, 1371865113, 1371865107, 1371865109, 1371865112, 1371865111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.792589902877808 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:26:31.784699
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_44_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_24_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_13_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/10/25/image_12072025_10_26_04_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_54_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_44_10618.jpg', '/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_33_9615.jpg', '/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_24_10635.jpg', '/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_13_9648.jpg', '/home/nano/Desktop/images/12072025/10/25/image_12072025_10_26_04_9627.jpg', '/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_54_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_44_10618.jpg
/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_33_9615.jpg
/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_24_10635.jpg
/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_13_9648.jpg
/home/nano/Desktop/images/12072025/10/25/image_12072025_10_26_04_9627.jpg
/home/nano/Desktop/images/12072025/10/25/image_12072025_10_25_54_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865116","1371865119","1371865121","1371865115","1371865118","1371865114"],"photo_ids_order":["1371865114","1371865115","1371865116","1371865118","1371865119","1371865121"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0af3666c08d75f2e42a181665441aae9.jpg","text":"TemporaryFile(/tmp/multipartBody3327092189003365023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308853438,"filename":"image_12072025_10_26_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2593643f61d29932a8049d39baafdc61.jpg","text":"TemporaryFile(/tmp/multipartBody3677517056333534887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308853438,"filename":"image_12072025_10_26_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8dd0e072bdee7f5f7dc8bddf1d090d69.jpg","text":"TemporaryFile(/tmp/multipartBody6413311582762361953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308853438,"filename":"image_12072025_10_25_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94dd81bcea730755705115010b02d212.jpg","text":"TemporaryFile(/tmp/multipartBody836857094560857140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308853438,"filename":"image_12072025_10_26_33_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a4b1460d8f250e62a9e97fcdcb1bd7c.jpg","text":"TemporaryFile(/tmp/multipartBody6870275463445308373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308853438,"filename":"image_12072025_10_26_13_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dad17be578e5755383bbf12649a76c4c.jpg","text":"TemporaryFile(/tmp/multipartBody5675122419305239349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308853438,"filename":"image_12072025_10_26_44_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865116","file1":"1371865115","file0":"1371865114","file4":"1371865119","file5":"1371865121","file3":"1371865118"},"map_files_photo_id_array":[{"photo_id":"1371865121","filename":"file5"},{"photo_id":"1371865116","filename":"file2"},{"photo_id":"1371865119","filename":"file4"},{"photo_id":"1371865115","filename":"file1"},{"photo_id":"1371865114","filename":"file0"},{"photo_id":"1371865118","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371865116":["hashtag1","hashtag2"]},{"1371865119":["hashtag1","hashtag2"]},{"1371865121":["hashtag1","hashtag2"]},{"1371865115":["hashtag1","hashtag2"]},{"1371865118":["hashtag1","hashtag2"]},{"1371865114":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371865116, 1371865119, 1371865121, 1371865115, 1371865118, 1371865114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.970390796661377 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:27:16.932173
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_44_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_33_9677.jpg', 2), ('/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_24_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_14_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/10/26/image_12072025_10_27_03_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_54_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_44_10664.jpg', '/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_33_9677.jpg', '/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_24_9628.jpg', '/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_14_10652.jpg', '/home/nano/Desktop/images/12072025/10/26/image_12072025_10_27_03_9613.jpg', '/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_54_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_44_10664.jpg
/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_33_9677.jpg
/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_24_9628.jpg
/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_14_10652.jpg
/home/nano/Desktop/images/12072025/10/26/image_12072025_10_27_03_9613.jpg
/home/nano/Desktop/images/12072025/10/26/image_12072025_10_26_54_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865134","1371865128","1371865133","1371865127","1371865130","1371865129"],"photo_ids_order":["1371865127","1371865128","1371865129","1371865130","1371865133","1371865134"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74cc985625f026c851422c0afd4d2bee.jpg","text":"TemporaryFile(/tmp/multipartBody8351335873857164931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308898378,"filename":"image_12072025_10_26_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2183189cd696664df137f2a1a329ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8993265681915512636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308898378,"filename":"image_12072025_10_27_33_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c59e538b74f1c8a7afaddc410adbffb9.jpg","text":"TemporaryFile(/tmp/multipartBody8872600289352859351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308898378,"filename":"image_12072025_10_27_03_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f3f7d2cd9de4b8eb9908feaac84ab75.jpg","text":"TemporaryFile(/tmp/multipartBody8707380934509566111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308898378,"filename":"image_12072025_10_27_44_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/345b0ff60aac59eafa3dd4057e3367bd.jpg","text":"TemporaryFile(/tmp/multipartBody8152445197759297716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308898378,"filename":"image_12072025_10_27_14_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2dd7a545e5196c241f207959055e5179.jpg","text":"TemporaryFile(/tmp/multipartBody1899030186727029745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308898378,"filename":"image_12072025_10_27_24_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865129","file1":"1371865128","file0":"1371865127","file4":"1371865133","file5":"1371865134","file3":"1371865130"},"map_files_photo_id_array":[{"photo_id":"1371865134","filename":"file5"},{"photo_id":"1371865129","filename":"file2"},{"photo_id":"1371865133","filename":"file4"},{"photo_id":"1371865128","filename":"file1"},{"photo_id":"1371865127","filename":"file0"},{"photo_id":"1371865130","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371865134":["hashtag1","hashtag2"]},{"1371865128":["hashtag1","hashtag2"]},{"1371865133":["hashtag1","hashtag2"]},{"1371865127":["hashtag1","hashtag2"]},{"1371865130":["hashtag1","hashtag2"]},{"1371865129":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371865134, 1371865128, 1371865133, 1371865127, 1371865130, 1371865129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03585124015808 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:28:02.393174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_34_9671.jpg', 2), ('/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_24_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_13_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/19/44/image_10072025_19_45_04_9782.jpg', 2), ('/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_54_10786.jpg', 2), ('/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_43_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_34_9671.jpg', '/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_24_10663.jpg', '/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_13_9664.jpg', '/home/nano/Desktop/images/10072025/19/44/image_10072025_19_45_04_9782.jpg', '/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_54_10786.jpg', '/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_43_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_34_9671.jpg
/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_24_10663.jpg
/home/nano/Desktop/images/10072025/19/45/image_10072025_19_45_13_9664.jpg
/home/nano/Desktop/images/10072025/19/44/image_10072025_19_45_04_9782.jpg
/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_54_10786.jpg
/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_43_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865315","1371865244","1371865268","1371865220","1371865291","1371865197"],"photo_ids_order":["1371865197","1371865220","1371865244","1371865268","1371865291","1371865315"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b718123b802b603af6fd097e8fb27575.jpg","text":"TemporaryFile(/tmp/multipartBody1810850829216648482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308945812,"filename":"image_10072025_19_44_43_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a1e1ec958d5cf3bcf0856fb3c3f56ed.jpg","text":"TemporaryFile(/tmp/multipartBody5406818209966476500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308945812,"filename":"image_10072025_19_45_13_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5cd95cb415d7f90d03d52b49d100bb6b.jpg","text":"TemporaryFile(/tmp/multipartBody7417307005922731122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308945812,"filename":"image_10072025_19_45_04_9782.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7057d44c07836a4cc1de1c803d55f5de.jpg","text":"TemporaryFile(/tmp/multipartBody6537035841163999304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308945812,"filename":"image_10072025_19_45_24_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8ab017bffcd9823e186db855e3bc696.jpg","text":"TemporaryFile(/tmp/multipartBody4759472722470640066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308945812,"filename":"image_10072025_19_44_54_10786.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed60d695669a7c619d759595f93b6dbe.jpg","text":"TemporaryFile(/tmp/multipartBody3676751456719592484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752308945812,"filename":"image_10072025_19_45_34_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865244","file1":"1371865220","file0":"1371865197","file4":"1371865291","file5":"1371865315","file3":"1371865268"},"map_files_photo_id_array":[{"photo_id":"1371865315","filename":"file5"},{"photo_id":"1371865244","filename":"file2"},{"photo_id":"1371865291","filename":"file4"},{"photo_id":"1371865220","filename":"file1"},{"photo_id":"1371865197","filename":"file0"},{"photo_id":"1371865268","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371865315":["hashtag1","hashtag2"]},{"1371865244":["hashtag1","hashtag2"]},{"1371865268":["hashtag1","hashtag2"]},{"1371865220":["hashtag1","hashtag2"]},{"1371865291":["hashtag1","hashtag2"]},{"1371865197":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371865315, 1371865244, 1371865268, 1371865220, 1371865291, 1371865197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98509359359741 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:28:47.095479
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_44_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_34_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_23_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_14_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/10/27/image_12072025_10_28_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_54_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_44_9608.jpg', '/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_34_10616.jpg', '/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_23_9606.jpg', '/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_14_10634.jpg', '/home/nano/Desktop/images/12072025/10/27/image_12072025_10_28_03_9645.jpg', '/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_54_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_44_9608.jpg
/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_34_10616.jpg
/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_23_9606.jpg
/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_14_10634.jpg
/home/nano/Desktop/images/12072025/10/27/image_12072025_10_28_03_9645.jpg
/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_54_9630.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3831326961517334 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:29:03.124997
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_44_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_34_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_23_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_14_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/10/27/image_12072025_10_28_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_54_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_44_9608.jpg', '/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_34_10616.jpg', '/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_23_9606.jpg', '/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_14_10634.jpg', '/home/nano/Desktop/images/12072025/10/27/image_12072025_10_28_03_9645.jpg', '/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_54_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_44_9608.jpg
/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_34_10616.jpg
/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_23_9606.jpg
/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_14_10634.jpg
/home/nano/Desktop/images/12072025/10/27/image_12072025_10_28_03_9645.jpg
/home/nano/Desktop/images/12072025/10/27/image_12072025_10_27_54_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865606","1371865513","1371865629","1371865562","1371865538","1371865585"],"photo_ids_order":["1371865513","1371865538","1371865562","1371865585","1371865606","1371865629"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d2372d2db0abaaa77fb43c11dbd34ac.jpg","text":"TemporaryFile(/tmp/multipartBody2805689083804749899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309004525,"filename":"image_12072025_10_28_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7604a843363a6ae3fe635c29db71b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1459862993462392259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309004525,"filename":"image_12072025_10_28_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff83b4cef7f2bc64ca7abd9f8066c400.jpg","text":"TemporaryFile(/tmp/multipartBody2591224427250022526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309004525,"filename":"image_12072025_10_27_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d50758017f8eb123dd8d49b314d3dc6.jpg","text":"TemporaryFile(/tmp/multipartBody2481002289810146303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309004525,"filename":"image_12072025_10_28_23_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b75f5097cc59257773a69a2cac341c79.jpg","text":"TemporaryFile(/tmp/multipartBody7615279503686670273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309004525,"filename":"image_12072025_10_28_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a67e73035fe651e4c787495c4d18f140.jpg","text":"TemporaryFile(/tmp/multipartBody5995458996359612150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309004525,"filename":"image_12072025_10_28_14_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865562","file1":"1371865538","file0":"1371865513","file4":"1371865606","file5":"1371865629","file3":"1371865585"},"map_files_photo_id_array":[{"photo_id":"1371865629","filename":"file5"},{"photo_id":"1371865562","filename":"file2"},{"photo_id":"1371865606","filename":"file4"},{"photo_id":"1371865538","filename":"file1"},{"photo_id":"1371865513","filename":"file0"},{"photo_id":"1371865585","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371865606":["hashtag1","hashtag2"]},{"1371865513":["hashtag1","hashtag2"]},{"1371865629":["hashtag1","hashtag2"]},{"1371865562":["hashtag1","hashtag2"]},{"1371865538":["hashtag1","hashtag2"]},{"1371865585":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371865606, 1371865513, 1371865629, 1371865562, 1371865538, 1371865585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.154754400253296 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:29:47.192491
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_43_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_34_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_23_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_13_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/10/28/image_12072025_10_29_04_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_53_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_43_9606.jpg', '/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_34_10621.jpg', '/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_23_9626.jpg', '/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_13_9620.jpg', '/home/nano/Desktop/images/12072025/10/28/image_12072025_10_29_04_10637.jpg', '/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_53_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_43_9606.jpg
/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_34_10621.jpg
/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_23_9626.jpg
/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_13_9620.jpg
/home/nano/Desktop/images/12072025/10/28/image_12072025_10_29_04_10637.jpg
/home/nano/Desktop/images/12072025/10/28/image_12072025_10_28_53_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865737","1371865731","1371865733","1371865727","1371865735","1371865729"],"photo_ids_order":["1371865727","1371865729","1371865731","1371865733","1371865735","1371865737"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80f16e886f25daeea4ec3d3d063b34e2.jpg","text":"TemporaryFile(/tmp/multipartBody7434263012777683974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309049046,"filename":"image_12072025_10_28_53_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85808c9dcfa6ab72d20aeba92cd2ec66.jpg","text":"TemporaryFile(/tmp/multipartBody7040179166293564370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309049046,"filename":"image_12072025_10_29_23_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2e206ca1c624ce273e84952c697f71a.jpg","text":"TemporaryFile(/tmp/multipartBody208359897638524605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309049046,"filename":"image_12072025_10_29_13_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3f840cacca69c2004549e10b286e786.jpg","text":"TemporaryFile(/tmp/multipartBody3838021963872873873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309049046,"filename":"image_12072025_10_29_43_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2aaf73da083e2e1babaafd9ab5459151.jpg","text":"TemporaryFile(/tmp/multipartBody9185853592262092252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309049046,"filename":"image_12072025_10_29_04_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51e020dc834a6630a26d95c956ae6349.jpg","text":"TemporaryFile(/tmp/multipartBody8379930345911957913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309049046,"filename":"image_12072025_10_29_34_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865731","file1":"1371865729","file0":"1371865727","file4":"1371865735","file5":"1371865737","file3":"1371865733"},"map_files_photo_id_array":[{"photo_id":"1371865737","filename":"file5"},{"photo_id":"1371865731","filename":"file2"},{"photo_id":"1371865735","filename":"file4"},{"photo_id":"1371865729","filename":"file1"},{"photo_id":"1371865727","filename":"file0"},{"photo_id":"1371865733","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371865737":["hashtag1","hashtag2"]},{"1371865731":["hashtag1","hashtag2"]},{"1371865733":["hashtag1","hashtag2"]},{"1371865727":["hashtag1","hashtag2"]},{"1371865735":["hashtag1","hashtag2"]},{"1371865729":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371865737, 1371865731, 1371865733, 1371865727, 1371865735, 1371865729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.084158182144165 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:30:32.316983
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_43_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_34_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_24_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_13_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/10/29/image_12072025_10_30_04_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_54_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_43_9629.jpg', '/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_34_9642.jpg', '/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_24_10656.jpg', '/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_13_9625.jpg', '/home/nano/Desktop/images/12072025/10/29/image_12072025_10_30_04_9629.jpg', '/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_54_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_43_9629.jpg
/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_34_9642.jpg
/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_24_10656.jpg
/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_13_9625.jpg
/home/nano/Desktop/images/12072025/10/29/image_12072025_10_30_04_9629.jpg
/home/nano/Desktop/images/12072025/10/29/image_12072025_10_29_54_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371865755","1371865740","1371865784","1371865742","1371865807","1371865741"],"photo_ids_order":["1371865740","1371865741","1371865742","1371865755","1371865784","1371865807"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36f6ddc063fa9c5e1603ee9ac6d69886.jpg","text":"TemporaryFile(/tmp/multipartBody6968639894110417346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309094361,"filename":"image_12072025_10_30_13_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/890fd9c4ffb29593ab34e31032f33c84.jpg","text":"TemporaryFile(/tmp/multipartBody3552150183751643610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309094361,"filename":"image_12072025_10_30_43_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/380974dc88d3d86bc5188fd2e23191d7.jpg","text":"TemporaryFile(/tmp/multipartBody8953071341234233572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309094361,"filename":"image_12072025_10_30_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cd923f178626fa6eb78260892ca8bab.jpg","text":"TemporaryFile(/tmp/multipartBody8106195438752334238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309094361,"filename":"image_12072025_10_30_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8d26fd8c85afae924d6fa5ec4988951.jpg","text":"TemporaryFile(/tmp/multipartBody4509343643208903400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309094361,"filename":"image_12072025_10_29_54_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb9d37f935a9951aeddf97d32b4290fa.jpg","text":"TemporaryFile(/tmp/multipartBody6358083402466540920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309094361,"filename":"image_12072025_10_30_34_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371865742","file1":"1371865741","file0":"1371865740","file4":"1371865784","file5":"1371865807","file3":"1371865755"},"map_files_photo_id_array":[{"photo_id":"1371865807","filename":"file5"},{"photo_id":"1371865742","filename":"file2"},{"photo_id":"1371865784","filename":"file4"},{"photo_id":"1371865741","filename":"file1"},{"photo_id":"1371865740","filename":"file0"},{"photo_id":"1371865755","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371865755":["hashtag1","hashtag2"]},{"1371865740":["hashtag1","hashtag2"]},{"1371865784":["hashtag1","hashtag2"]},{"1371865742":["hashtag1","hashtag2"]},{"1371865807":["hashtag1","hashtag2"]},{"1371865741":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371865755, 1371865740, 1371865784, 1371865742, 1371865807, 1371865741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.802589416503906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:31:17.449921
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_44_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_33_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_24_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_13_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/10/30/image_12072025_10_31_03_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_54_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_44_10618.jpg', '/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_33_9613.jpg', '/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_24_10615.jpg', '/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_13_9624.jpg', '/home/nano/Desktop/images/12072025/10/30/image_12072025_10_31_03_9626.jpg', '/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_54_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_44_10618.jpg
/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_33_9613.jpg
/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_24_10615.jpg
/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_13_9624.jpg
/home/nano/Desktop/images/12072025/10/30/image_12072025_10_31_03_9626.jpg
/home/nano/Desktop/images/12072025/10/30/image_12072025_10_30_54_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371866160","1371866136","1371866100","1371866278","1371866200","1371866259"],"photo_ids_order":["1371866100","1371866136","1371866160","1371866200","1371866259","1371866278"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9fae9b8db2621aa4be5b3aaeb725e603.jpg","text":"TemporaryFile(/tmp/multipartBody4229831068126825933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309139123,"filename":"image_12072025_10_31_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c54922968411f2d729e59c1bb113dc34.jpg","text":"TemporaryFile(/tmp/multipartBody7480767317968570688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309139123,"filename":"image_12072025_10_31_33_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6274e7e18896bbcd588cdc10c19a932.jpg","text":"TemporaryFile(/tmp/multipartBody8524542456364646986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309139123,"filename":"image_12072025_10_31_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/407f115566c6be7b0f4c46713e432499.jpg","text":"TemporaryFile(/tmp/multipartBody5716371114216426237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309139123,"filename":"image_12072025_10_30_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/595244142ceb60cf3601065f4385b3ca.jpg","text":"TemporaryFile(/tmp/multipartBody1818272029590839323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309139123,"filename":"image_12072025_10_31_13_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6154b5c3346351ffc50df8d3a3615c0e.jpg","text":"TemporaryFile(/tmp/multipartBody6248134576597434511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309139123,"filename":"image_12072025_10_31_03_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371866160","file1":"1371866136","file0":"1371866100","file4":"1371866259","file5":"1371866278","file3":"1371866200"},"map_files_photo_id_array":[{"photo_id":"1371866278","filename":"file5"},{"photo_id":"1371866160","filename":"file2"},{"photo_id":"1371866259","filename":"file4"},{"photo_id":"1371866136","filename":"file1"},{"photo_id":"1371866100","filename":"file0"},{"photo_id":"1371866200","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371866160":["hashtag1","hashtag2"]},{"1371866136":["hashtag1","hashtag2"]},{"1371866100":["hashtag1","hashtag2"]},{"1371866278":["hashtag1","hashtag2"]},{"1371866200":["hashtag1","hashtag2"]},{"1371866259":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371866160, 1371866136, 1371866100, 1371866278, 1371866200, 1371866259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.824886322021484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:32:03.107856
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_33_9712.jpg', 2), ('/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_24_9792.jpg', 2), ('/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_14_10723.jpg', 2), ('/home/nano/Desktop/images/10072025/19/43/image_10072025_19_44_03_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_54_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_44_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_33_9712.jpg', '/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_24_9792.jpg', '/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_14_10723.jpg', '/home/nano/Desktop/images/10072025/19/43/image_10072025_19_44_03_9661.jpg', '/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_54_9664.jpg', '/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_44_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_33_9712.jpg
/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_24_9792.jpg
/home/nano/Desktop/images/10072025/19/44/image_10072025_19_44_14_10723.jpg
/home/nano/Desktop/images/10072025/19/43/image_10072025_19_44_03_9661.jpg
/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_54_9664.jpg
/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_44_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371866418","1371866334","1371866450","1371866339","1371866362","1371866385"],"photo_ids_order":["1371866334","1371866339","1371866362","1371866385","1371866418","1371866450"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0974e7e018b21d4e74ec1f78df30ad8.jpg","text":"TemporaryFile(/tmp/multipartBody6919550692839830293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309186567,"filename":"image_10072025_19_43_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2e8d7b7c7e65bbfb6ee467287e07f28.jpg","text":"TemporaryFile(/tmp/multipartBody7071443011717973452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309186567,"filename":"image_10072025_19_44_33_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbcf0ee28795ab6728d549551bc2a430.jpg","text":"TemporaryFile(/tmp/multipartBody8555713743537362945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309186567,"filename":"image_10072025_19_43_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aac9fe0319d351ffb05a6d49c6b32de8.jpg","text":"TemporaryFile(/tmp/multipartBody7614568055134355047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309186567,"filename":"image_10072025_19_44_24_9792.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed4dc4e28f6ac3394c477795bcd708c4.jpg","text":"TemporaryFile(/tmp/multipartBody4921004239735111563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309186567,"filename":"image_10072025_19_44_14_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6cb05c608fb9cf5e5d5ec82b8ed51fc8.jpg","text":"TemporaryFile(/tmp/multipartBody2086349462633487676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309186567,"filename":"image_10072025_19_44_03_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371866362","file1":"1371866339","file0":"1371866334","file4":"1371866418","file5":"1371866450","file3":"1371866385"},"map_files_photo_id_array":[{"photo_id":"1371866450","filename":"file5"},{"photo_id":"1371866362","filename":"file2"},{"photo_id":"1371866418","filename":"file4"},{"photo_id":"1371866339","filename":"file1"},{"photo_id":"1371866334","filename":"file0"},{"photo_id":"1371866385","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371866418":["hashtag1","hashtag2"]},{"1371866334":["hashtag1","hashtag2"]},{"1371866450":["hashtag1","hashtag2"]},{"1371866339":["hashtag1","hashtag2"]},{"1371866362":["hashtag1","hashtag2"]},{"1371866385":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371866418, 1371866334, 1371866450, 1371866339, 1371866362, 1371866385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91409420967102 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:32:47.549374
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_34_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_23_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_14_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/10/31/image_12072025_10_32_03_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_54_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_44_9617.jpg', '/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_34_10617.jpg', '/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_23_9606.jpg', '/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_14_10651.jpg', '/home/nano/Desktop/images/12072025/10/31/image_12072025_10_32_03_9620.jpg', '/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_54_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_44_9617.jpg
/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_34_10617.jpg
/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_23_9606.jpg
/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_14_10651.jpg
/home/nano/Desktop/images/12072025/10/31/image_12072025_10_32_03_9620.jpg
/home/nano/Desktop/images/12072025/10/31/image_12072025_10_31_54_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371866511","1371866505","1371866507","1371866512","1371866515","1371866509"],"photo_ids_order":["1371866505","1371866507","1371866509","1371866511","1371866512","1371866515"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7545f093c40fb611ff9811188e1f193b.jpg","text":"TemporaryFile(/tmp/multipartBody347889636296984697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309229215,"filename":"image_12072025_10_32_14_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d0ca366aea151256ac4634a1ebff404.jpg","text":"TemporaryFile(/tmp/multipartBody7788544925092882365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309229215,"filename":"image_12072025_10_32_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37bff67e45466af2099e12e80c6f2056.jpg","text":"TemporaryFile(/tmp/multipartBody3356869012922935965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309229215,"filename":"image_12072025_10_32_34_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ce0cf03ea3dc7a22b1bd95eedf54bd2.jpg","text":"TemporaryFile(/tmp/multipartBody515247255604427100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309229215,"filename":"image_12072025_10_32_03_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40248dfd7265728c5979c9e6c2b80778.jpg","text":"TemporaryFile(/tmp/multipartBody9157037657105376355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309229215,"filename":"image_12072025_10_31_54_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c5cba84ce5fd305b08005d6ec4b462d.jpg","text":"TemporaryFile(/tmp/multipartBody5378066794629543976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309229215,"filename":"image_12072025_10_32_23_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371866509","file1":"1371866507","file0":"1371866505","file4":"1371866512","file5":"1371866515","file3":"1371866511"},"map_files_photo_id_array":[{"photo_id":"1371866515","filename":"file5"},{"photo_id":"1371866509","filename":"file2"},{"photo_id":"1371866512","filename":"file4"},{"photo_id":"1371866507","filename":"file1"},{"photo_id":"1371866505","filename":"file0"},{"photo_id":"1371866511","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371866511":["hashtag1","hashtag2"]},{"1371866505":["hashtag1","hashtag2"]},{"1371866507":["hashtag1","hashtag2"]},{"1371866512":["hashtag1","hashtag2"]},{"1371866515":["hashtag1","hashtag2"]},{"1371866509":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371866511, 1371866505, 1371866507, 1371866512, 1371866515, 1371866509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95598268508911 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:33:32.650390
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_43_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_34_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_23_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_14_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/10/32/image_12072025_10_33_04_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_53_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_43_9634.jpg', '/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_34_10638.jpg', '/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_23_9659.jpg', '/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_14_9667.jpg', '/home/nano/Desktop/images/12072025/10/32/image_12072025_10_33_04_10638.jpg', '/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_53_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_43_9634.jpg
/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_34_10638.jpg
/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_23_9659.jpg
/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_14_9667.jpg
/home/nano/Desktop/images/12072025/10/32/image_12072025_10_33_04_10638.jpg
/home/nano/Desktop/images/12072025/10/32/image_12072025_10_32_53_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371866721","1371866628","1371866651","1371866575","1371866548","1371866676"],"photo_ids_order":["1371866548","1371866575","1371866628","1371866651","1371866676","1371866721"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad4c593f007e63ac3e54a8ed80d8592f.jpg","text":"TemporaryFile(/tmp/multipartBody7042578343292252060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309274698,"filename":"image_12072025_10_32_53_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d1bb5da1d8ecfa2d824491f423dae3d.jpg","text":"TemporaryFile(/tmp/multipartBody7848031681990658108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309274698,"filename":"image_12072025_10_33_23_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0252cb1adbc20714f8c0cf1fc42cc0f9.jpg","text":"TemporaryFile(/tmp/multipartBody8085463191196576351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309274698,"filename":"image_12072025_10_33_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0853756cd8d2650086afd28bab22d16.jpg","text":"TemporaryFile(/tmp/multipartBody1837197872105932989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309274698,"filename":"image_12072025_10_33_34_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aea460fad066e81f6e02d180cd0dfc20.jpg","text":"TemporaryFile(/tmp/multipartBody9202061394542754289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309274698,"filename":"image_12072025_10_33_43_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9399b8bc4738057d9d9bb86cdcea03d.jpg","text":"TemporaryFile(/tmp/multipartBody4673539441150037502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309274698,"filename":"image_12072025_10_33_04_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371866628","file1":"1371866575","file0":"1371866548","file4":"1371866676","file5":"1371866721","file3":"1371866651"},"map_files_photo_id_array":[{"photo_id":"1371866721","filename":"file5"},{"photo_id":"1371866628","filename":"file2"},{"photo_id":"1371866676","filename":"file4"},{"photo_id":"1371866575","filename":"file1"},{"photo_id":"1371866548","filename":"file0"},{"photo_id":"1371866651","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371866721":["hashtag1","hashtag2"]},{"1371866628":["hashtag1","hashtag2"]},{"1371866651":["hashtag1","hashtag2"]},{"1371866575":["hashtag1","hashtag2"]},{"1371866548":["hashtag1","hashtag2"]},{"1371866676":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371866721, 1371866628, 1371866651, 1371866575, 1371866548, 1371866676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.593241930007935 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:34:17.768181
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_43_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_34_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_24_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_13_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/10/33/image_12072025_10_34_04_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_53_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_43_9611.jpg', '/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_34_9607.jpg', '/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_24_10619.jpg', '/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_13_9622.jpg', '/home/nano/Desktop/images/12072025/10/33/image_12072025_10_34_04_10636.jpg', '/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_53_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_43_9611.jpg
/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_34_9607.jpg
/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_24_10619.jpg
/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_13_9622.jpg
/home/nano/Desktop/images/12072025/10/33/image_12072025_10_34_04_10636.jpg
/home/nano/Desktop/images/12072025/10/33/image_12072025_10_33_53_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371866829","1371866823","1371866826","1371866828","1371866824","1371866827"],"photo_ids_order":["1371866823","1371866824","1371866826","1371866827","1371866828","1371866829"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af5d45a565fa581b86686c8782eae906.jpg","text":"TemporaryFile(/tmp/multipartBody5681050525086863517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309319513,"filename":"image_12072025_10_33_53_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6c27e728c31322962017034ce794e3c.jpg","text":"TemporaryFile(/tmp/multipartBody803291668255230003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309319513,"filename":"image_12072025_10_34_43_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46c13a128accef240b2101c647c93079.jpg","text":"TemporaryFile(/tmp/multipartBody6466383866803726187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309319513,"filename":"image_12072025_10_34_24_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c8000a0bf351595dafb60a5e833f1b1.jpg","text":"TemporaryFile(/tmp/multipartBody7898954127353687558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309319513,"filename":"image_12072025_10_34_04_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b3e35ddac822b67d2b638842f117627.jpg","text":"TemporaryFile(/tmp/multipartBody1736099394248235361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309319513,"filename":"image_12072025_10_34_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/676fd2f52dee22913fe52f6548cabd9f.jpg","text":"TemporaryFile(/tmp/multipartBody1497195368666906947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309319513,"filename":"image_12072025_10_34_13_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371866826","file1":"1371866824","file0":"1371866823","file4":"1371866828","file5":"1371866829","file3":"1371866827"},"map_files_photo_id_array":[{"photo_id":"1371866829","filename":"file5"},{"photo_id":"1371866826","filename":"file2"},{"photo_id":"1371866828","filename":"file4"},{"photo_id":"1371866824","filename":"file1"},{"photo_id":"1371866823","filename":"file0"},{"photo_id":"1371866827","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371866829":["hashtag1","hashtag2"]},{"1371866823":["hashtag1","hashtag2"]},{"1371866826":["hashtag1","hashtag2"]},{"1371866828":["hashtag1","hashtag2"]},{"1371866824":["hashtag1","hashtag2"]},{"1371866827":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371866829, 1371866823, 1371866826, 1371866828, 1371866824, 1371866827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.54484534263611 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:35:02.571223
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_33_9608.jpg', 2), ('/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_24_10612.jpg', 2), ('/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_13_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/19/42/image_10072025_19_43_03_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_54_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_43_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_33_9608.jpg', '/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_24_10612.jpg', '/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_13_9643.jpg', '/home/nano/Desktop/images/10072025/19/42/image_10072025_19_43_03_9630.jpg', '/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_54_10627.jpg', '/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_43_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_33_9608.jpg
/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_24_10612.jpg
/home/nano/Desktop/images/10072025/19/43/image_10072025_19_43_13_9643.jpg
/home/nano/Desktop/images/10072025/19/42/image_10072025_19_43_03_9630.jpg
/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_54_10627.jpg
/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_43_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371866841","1371866844","1371866838","1371866843","1371866836","1371866845"],"photo_ids_order":["1371866836","1371866838","1371866841","1371866843","1371866844","1371866845"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61ae55a6e8069c1f4c007782d915003f.jpg","text":"TemporaryFile(/tmp/multipartBody7739729773601321455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309365462,"filename":"image_10072025_19_43_13_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4dd7c15f290b453dffb94deed657b6b.jpg","text":"TemporaryFile(/tmp/multipartBody3197355419838959400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309365462,"filename":"image_10072025_19_42_54_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fda88fdee99ecfb865885b01931fee9a.jpg","text":"TemporaryFile(/tmp/multipartBody2057358491280129872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309365462,"filename":"image_10072025_19_43_24_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e57ce861d078cf88efb932069f4e286.jpg","text":"TemporaryFile(/tmp/multipartBody6961388503567801675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309365462,"filename":"image_10072025_19_43_03_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e4a2768621e6882fc8390bf470aafd5.jpg","text":"TemporaryFile(/tmp/multipartBody7927477806463752001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309365462,"filename":"image_10072025_19_43_33_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c79b4efac98867673964046b33c0166.jpg","text":"TemporaryFile(/tmp/multipartBody5253360576685392999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309365462,"filename":"image_10072025_19_42_43_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371866841","file1":"1371866838","file0":"1371866836","file4":"1371866844","file5":"1371866845","file3":"1371866843"},"map_files_photo_id_array":[{"photo_id":"1371866845","filename":"file5"},{"photo_id":"1371866841","filename":"file2"},{"photo_id":"1371866844","filename":"file4"},{"photo_id":"1371866838","filename":"file1"},{"photo_id":"1371866836","filename":"file0"},{"photo_id":"1371866843","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371866841":["hashtag1","hashtag2"]},{"1371866844":["hashtag1","hashtag2"]},{"1371866838":["hashtag1","hashtag2"]},{"1371866843":["hashtag1","hashtag2"]},{"1371866836":["hashtag1","hashtag2"]},{"1371866845":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371866841, 1371866844, 1371866838, 1371866843, 1371866836, 1371866845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.71281599998474 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:35:46.854738
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_44_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_33_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_24_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_13_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/10/34/image_12072025_10_35_03_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_54_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_44_10624.jpg', '/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_33_9607.jpg', '/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_24_10622.jpg', '/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_13_9626.jpg', '/home/nano/Desktop/images/12072025/10/34/image_12072025_10_35_03_9605.jpg', '/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_54_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_44_10624.jpg
/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_33_9607.jpg
/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_24_10622.jpg
/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_13_9626.jpg
/home/nano/Desktop/images/12072025/10/34/image_12072025_10_35_03_9605.jpg
/home/nano/Desktop/images/12072025/10/34/image_12072025_10_34_54_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371866849","1371866869","1371866878","1371866902","1371866851","1371866847"],"photo_ids_order":["1371866847","1371866849","1371866851","1371866869","1371866878","1371866902"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c8e9141d659da866b1aed902d4bc927.jpg","text":"TemporaryFile(/tmp/multipartBody2924009000344260243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309408353,"filename":"image_12072025_10_35_33_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ca9b544c9ee34c688d65d762f2ae1b0.jpg","text":"TemporaryFile(/tmp/multipartBody2760767074394345024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309408353,"filename":"image_12072025_10_35_13_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/987d5586a665705f99d114781340fba6.jpg","text":"TemporaryFile(/tmp/multipartBody1266753655344349521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309408353,"filename":"image_12072025_10_35_03_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0e82e37cf127f58c7b44f1b2ff632f2.jpg","text":"TemporaryFile(/tmp/multipartBody4799801212918073821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309408353,"filename":"image_12072025_10_34_54_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da1a62718d3ff94a528fbdd4890e542d.jpg","text":"TemporaryFile(/tmp/multipartBody3401449645173459247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309408353,"filename":"image_12072025_10_35_24_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1edbbeb6cf65c058c66883d0deb853bc.jpg","text":"TemporaryFile(/tmp/multipartBody5125052921073000879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309408353,"filename":"image_12072025_10_35_44_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371866851","file1":"1371866849","file0":"1371866847","file4":"1371866878","file5":"1371866902","file3":"1371866869"},"map_files_photo_id_array":[{"photo_id":"1371866902","filename":"file5"},{"photo_id":"1371866851","filename":"file2"},{"photo_id":"1371866878","filename":"file4"},{"photo_id":"1371866849","filename":"file1"},{"photo_id":"1371866847","filename":"file0"},{"photo_id":"1371866869","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371866849":["hashtag1","hashtag2"]},{"1371866869":["hashtag1","hashtag2"]},{"1371866878":["hashtag1","hashtag2"]},{"1371866902":["hashtag1","hashtag2"]},{"1371866851":["hashtag1","hashtag2"]},{"1371866847":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371866849, 1371866869, 1371866878, 1371866902, 1371866851, 1371866847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.986944437026978 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:36:31.948409
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_44_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_24_9680.jpg', 2), ('/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_14_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/10/35/image_12072025_10_36_03_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_54_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_44_10629.jpg', '/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_33_9640.jpg', '/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_24_9680.jpg', '/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_14_10677.jpg', '/home/nano/Desktop/images/12072025/10/35/image_12072025_10_36_03_9606.jpg', '/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_54_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_44_10629.jpg
/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_33_9640.jpg
/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_24_9680.jpg
/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_14_10677.jpg
/home/nano/Desktop/images/12072025/10/35/image_12072025_10_36_03_9606.jpg
/home/nano/Desktop/images/12072025/10/35/image_12072025_10_35_54_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371866913","1371867068","1371866912","1371867034","1371866989","1371866920"],"photo_ids_order":["1371866912","1371866913","1371866920","1371866989","1371867034","1371867068"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc905a5c32bd267f027a7867dbc9f173.jpg","text":"TemporaryFile(/tmp/multipartBody609620665069140392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309453088,"filename":"image_12072025_10_36_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f1b311b8e4dc6ef362a8fa228aa01b4.jpg","text":"TemporaryFile(/tmp/multipartBody595214641869518965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309453088,"filename":"image_12072025_10_35_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0234e91999657242541d1a431be52fce.jpg","text":"TemporaryFile(/tmp/multipartBody3599529725737376954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309453088,"filename":"image_12072025_10_36_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/310a3a2c27a46f015e6989ada6717f6a.jpg","text":"TemporaryFile(/tmp/multipartBody2685088729592367582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309453088,"filename":"image_12072025_10_36_03_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6201f04bc4c10ba144dd7c15dd4e2bd.jpg","text":"TemporaryFile(/tmp/multipartBody1457981405272125997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309453088,"filename":"image_12072025_10_36_14_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27e9db1931846df7fb06c8d624ce9b31.jpg","text":"TemporaryFile(/tmp/multipartBody2661641456886231554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309453088,"filename":"image_12072025_10_36_24_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371866920","file1":"1371866913","file0":"1371866912","file4":"1371867034","file5":"1371867068","file3":"1371866989"},"map_files_photo_id_array":[{"photo_id":"1371867068","filename":"file5"},{"photo_id":"1371866920","filename":"file2"},{"photo_id":"1371867034","filename":"file4"},{"photo_id":"1371866913","filename":"file1"},{"photo_id":"1371866912","filename":"file0"},{"photo_id":"1371866989","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371866913":["hashtag1","hashtag2"]},{"1371867068":["hashtag1","hashtag2"]},{"1371866912":["hashtag1","hashtag2"]},{"1371867034":["hashtag1","hashtag2"]},{"1371866989":["hashtag1","hashtag2"]},{"1371866920":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371866913, 1371867068, 1371866912, 1371867034, 1371866989, 1371866920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29548144340515 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:37:17.077047
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_43_9595.jpg', 2), ('/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_34_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_23_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_14_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/10/36/image_12072025_10_37_04_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_53_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_43_9595.jpg', '/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_34_10611.jpg', '/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_23_9600.jpg', '/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_14_9611.jpg', '/home/nano/Desktop/images/12072025/10/36/image_12072025_10_37_04_10615.jpg', '/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_53_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_43_9595.jpg
/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_34_10611.jpg
/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_23_9600.jpg
/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_14_9611.jpg
/home/nano/Desktop/images/12072025/10/36/image_12072025_10_37_04_10615.jpg
/home/nano/Desktop/images/12072025/10/36/image_12072025_10_36_53_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371867155","1371867217","1371867282","1371867156","1371867243","1371867165"],"photo_ids_order":["1371867155","1371867156","1371867165","1371867217","1371867243","1371867282"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbec37cc78abdfba2e6512e646638ceb.jpg","text":"TemporaryFile(/tmp/multipartBody6022090671540741171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309498804,"filename":"image_12072025_10_37_43_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30d0780f1ec4694abbd1293b11fcaf8e.jpg","text":"TemporaryFile(/tmp/multipartBody3079589489627616366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309498804,"filename":"image_12072025_10_37_14_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f250a42dd393f4b5858b6e2294024882.jpg","text":"TemporaryFile(/tmp/multipartBody510499333528922073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309498804,"filename":"image_12072025_10_36_53_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe783ebf49272951c99a10a5f764882b.jpg","text":"TemporaryFile(/tmp/multipartBody4116041514364080606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309498804,"filename":"image_12072025_10_37_34_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b2511216914161d7cf5e711aa3c06d5.jpg","text":"TemporaryFile(/tmp/multipartBody3973183287213306734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309498804,"filename":"image_12072025_10_37_04_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e58d14e789599de1cba8ea776f2fb38a.jpg","text":"TemporaryFile(/tmp/multipartBody1353700627202237645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309498804,"filename":"image_12072025_10_37_23_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371867165","file1":"1371867156","file0":"1371867155","file4":"1371867243","file5":"1371867282","file3":"1371867217"},"map_files_photo_id_array":[{"photo_id":"1371867282","filename":"file5"},{"photo_id":"1371867165","filename":"file2"},{"photo_id":"1371867243","filename":"file4"},{"photo_id":"1371867156","filename":"file1"},{"photo_id":"1371867155","filename":"file0"},{"photo_id":"1371867217","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371867155":["hashtag1","hashtag2"]},{"1371867217":["hashtag1","hashtag2"]},{"1371867282":["hashtag1","hashtag2"]},{"1371867156":["hashtag1","hashtag2"]},{"1371867243":["hashtag1","hashtag2"]},{"1371867165":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371867155, 1371867217, 1371867282, 1371867156, 1371867243, 1371867165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62301421165466 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:38:02.685617
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_34_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_24_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_13_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/19/41/image_10072025_19_42_04_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_54_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_43_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_34_9638.jpg', '/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_24_10640.jpg', '/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_13_9656.jpg', '/home/nano/Desktop/images/10072025/19/41/image_10072025_19_42_04_9655.jpg', '/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_54_10660.jpg', '/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_43_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_34_9638.jpg
/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_24_10640.jpg
/home/nano/Desktop/images/10072025/19/42/image_10072025_19_42_13_9656.jpg
/home/nano/Desktop/images/10072025/19/41/image_10072025_19_42_04_9655.jpg
/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_54_10660.jpg
/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_43_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371867542","1371867470","1371867446","1371867496","1371867565","1371867519"],"photo_ids_order":["1371867446","1371867470","1371867496","1371867519","1371867542","1371867565"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bef8245a1a9f17a580e17aa0bfa210f1.jpg","text":"TemporaryFile(/tmp/multipartBody1054627644679780697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309546006,"filename":"image_10072025_19_41_54_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc7477fcf1e3d9dbaec72af3178ef6c0.jpg","text":"TemporaryFile(/tmp/multipartBody1792283529947981255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309546006,"filename":"image_10072025_19_42_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c770c93038110b431a829f44d56c00a.jpg","text":"TemporaryFile(/tmp/multipartBody4682944025564308430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309546006,"filename":"image_10072025_19_42_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/840715d6c66479c214d89ab5e199d5f8.jpg","text":"TemporaryFile(/tmp/multipartBody7258712660483337903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309546006,"filename":"image_10072025_19_42_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f5e8cfd6fc7eeb76d23e47b8161d7ef.jpg","text":"TemporaryFile(/tmp/multipartBody8362323076591830458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309546006,"filename":"image_10072025_19_41_43_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af6400d7acf504ed9ab6c19f3334df10.jpg","text":"TemporaryFile(/tmp/multipartBody8423823526467416442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309546006,"filename":"image_10072025_19_42_04_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371867496","file1":"1371867470","file0":"1371867446","file4":"1371867542","file5":"1371867565","file3":"1371867519"},"map_files_photo_id_array":[{"photo_id":"1371867565","filename":"file5"},{"photo_id":"1371867496","filename":"file2"},{"photo_id":"1371867542","filename":"file4"},{"photo_id":"1371867470","filename":"file1"},{"photo_id":"1371867446","filename":"file0"},{"photo_id":"1371867519","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371867542":["hashtag1","hashtag2"]},{"1371867470":["hashtag1","hashtag2"]},{"1371867446":["hashtag1","hashtag2"]},{"1371867496":["hashtag1","hashtag2"]},{"1371867565":["hashtag1","hashtag2"]},{"1371867519":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371867542, 1371867470, 1371867446, 1371867496, 1371867565, 1371867519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49660658836365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:38:47.152765
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_44_10602.jpg', 2), ('/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_33_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_24_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_13_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/10/37/image_12072025_10_38_04_9594.jpg', 2), ('/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_54_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_44_10602.jpg', '/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_33_9593.jpg', '/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_24_10619.jpg', '/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_13_9621.jpg', '/home/nano/Desktop/images/12072025/10/37/image_12072025_10_38_04_9594.jpg', '/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_54_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_44_10602.jpg
/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_33_9593.jpg
/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_24_10619.jpg
/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_13_9621.jpg
/home/nano/Desktop/images/12072025/10/37/image_12072025_10_38_04_9594.jpg
/home/nano/Desktop/images/12072025/10/37/image_12072025_10_37_54_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371867782","1371867710","1371867833","1371867809","1371867733","1371867759"],"photo_ids_order":["1371867710","1371867733","1371867759","1371867782","1371867809","1371867833"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82f773855bea9468e5750dc3f18542df.jpg","text":"TemporaryFile(/tmp/multipartBody2827737172094969044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309588848,"filename":"image_12072025_10_38_13_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5a8da8fc78ed969b25236af9114d309.jpg","text":"TemporaryFile(/tmp/multipartBody6296554443236312195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309588848,"filename":"image_12072025_10_38_44_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f730a4e6e57b4c60802660bc2c296e73.jpg","text":"TemporaryFile(/tmp/multipartBody6512553548150256607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309588848,"filename":"image_12072025_10_37_54_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2dd358a273dd542561c4308b27ed971f.jpg","text":"TemporaryFile(/tmp/multipartBody3906949761882543328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309588848,"filename":"image_12072025_10_38_04_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e835da4f8fba5c6153cdb67f2ea40774.jpg","text":"TemporaryFile(/tmp/multipartBody8861942473659587717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309588848,"filename":"image_12072025_10_38_33_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/686d9979803ebfbef0db43070780d831.jpg","text":"TemporaryFile(/tmp/multipartBody2265857481241397456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309588848,"filename":"image_12072025_10_38_24_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371867759","file1":"1371867733","file0":"1371867710","file4":"1371867809","file5":"1371867833","file3":"1371867782"},"map_files_photo_id_array":[{"photo_id":"1371867833","filename":"file5"},{"photo_id":"1371867759","filename":"file2"},{"photo_id":"1371867809","filename":"file4"},{"photo_id":"1371867733","filename":"file1"},{"photo_id":"1371867710","filename":"file0"},{"photo_id":"1371867782","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371867782":["hashtag1","hashtag2"]},{"1371867710":["hashtag1","hashtag2"]},{"1371867833":["hashtag1","hashtag2"]},{"1371867809":["hashtag1","hashtag2"]},{"1371867733":["hashtag1","hashtag2"]},{"1371867759":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371867782, 1371867710, 1371867833, 1371867809, 1371867733, 1371867759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15179920196533 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:39:32.241637
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_33_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_24_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_14_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/10/38/image_12072025_10_39_03_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_54_9592.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_44_10648.jpg', '/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_33_9649.jpg', '/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_24_9653.jpg', '/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_14_10631.jpg', '/home/nano/Desktop/images/12072025/10/38/image_12072025_10_39_03_9624.jpg', '/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_54_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_44_10648.jpg
/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_33_9649.jpg
/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_24_9653.jpg
/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_14_10631.jpg
/home/nano/Desktop/images/12072025/10/38/image_12072025_10_39_03_9624.jpg
/home/nano/Desktop/images/12072025/10/38/image_12072025_10_38_54_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371868109","1371867990","1371868134","1371868017","1371868047","1371868082"],"photo_ids_order":["1371867990","1371868017","1371868047","1371868082","1371868109","1371868134"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/570d3e4f844ea2bb71544bb9b922ebd9.jpg","text":"TemporaryFile(/tmp/multipartBody9125361336760407157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309633532,"filename":"image_12072025_10_39_03_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48dd66fb8ea4edb7fffd0456f54f1bd0.jpg","text":"TemporaryFile(/tmp/multipartBody6844584738670667918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309633532,"filename":"image_12072025_10_39_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02907185851689a1cbbb9c612742383c.jpg","text":"TemporaryFile(/tmp/multipartBody7901577115014499060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309633532,"filename":"image_12072025_10_38_54_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/05a38ba3b223943624200c55ba6178f4.jpg","text":"TemporaryFile(/tmp/multipartBody1926735244199425711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309633532,"filename":"image_12072025_10_39_33_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd218bb8facdb96d389ff12df95804f7.jpg","text":"TemporaryFile(/tmp/multipartBody7004788079986604205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309633532,"filename":"image_12072025_10_39_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59723b5cf5ef9b9a3ef19c5559cbbdec.jpg","text":"TemporaryFile(/tmp/multipartBody2590774556192044289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309633532,"filename":"image_12072025_10_39_14_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371868047","file1":"1371868017","file0":"1371867990","file4":"1371868109","file5":"1371868134","file3":"1371868082"},"map_files_photo_id_array":[{"photo_id":"1371868134","filename":"file5"},{"photo_id":"1371868047","filename":"file2"},{"photo_id":"1371868109","filename":"file4"},{"photo_id":"1371868017","filename":"file1"},{"photo_id":"1371867990","filename":"file0"},{"photo_id":"1371868082","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371868109":["hashtag1","hashtag2"]},{"1371867990":["hashtag1","hashtag2"]},{"1371868134":["hashtag1","hashtag2"]},{"1371868017":["hashtag1","hashtag2"]},{"1371868047":["hashtag1","hashtag2"]},{"1371868082":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371868109, 1371867990, 1371868134, 1371868017, 1371868047, 1371868082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11270451545715 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:40:17.364359
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_44_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_34_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_23_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_14_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/10/39/image_12072025_10_40_03_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_44_9610.jpg', '/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_34_10628.jpg', '/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_23_9610.jpg', '/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_14_10636.jpg', '/home/nano/Desktop/images/12072025/10/39/image_12072025_10_40_03_9613.jpg', '/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_44_9610.jpg
/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_34_10628.jpg
/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_23_9610.jpg
/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_14_10636.jpg
/home/nano/Desktop/images/12072025/10/39/image_12072025_10_40_03_9613.jpg
/home/nano/Desktop/images/12072025/10/39/image_12072025_10_39_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371868331","1371868420","1371868461","1371868485","1371868392","1371868365"],"photo_ids_order":["1371868331","1371868365","1371868392","1371868420","1371868461","1371868485"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c4e38fa8020576c43b37cfb12e26063.jpg","text":"TemporaryFile(/tmp/multipartBody1719857144085282916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309679484,"filename":"image_12072025_10_40_44_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0f2862a480a5b65fb6b737ab57a5c83.jpg","text":"TemporaryFile(/tmp/multipartBody6845613644702048148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309679484,"filename":"image_12072025_10_40_14_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/405a838caed40d310f9c893bb60547be.jpg","text":"TemporaryFile(/tmp/multipartBody3591095740230847239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309679484,"filename":"image_12072025_10_40_03_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba668e2f8cc4560109fdda1786215879.jpg","text":"TemporaryFile(/tmp/multipartBody2197390775512214862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309679484,"filename":"image_12072025_10_39_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4634f5747041f565920c3fe4456e755.jpg","text":"TemporaryFile(/tmp/multipartBody5193621752776648353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309679484,"filename":"image_12072025_10_40_23_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7cbc5cb04c10e1d0fb0d745ecb79d322.jpg","text":"TemporaryFile(/tmp/multipartBody2714837010675065691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309679484,"filename":"image_12072025_10_40_34_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371868392","file1":"1371868365","file0":"1371868331","file4":"1371868461","file5":"1371868485","file3":"1371868420"},"map_files_photo_id_array":[{"photo_id":"1371868485","filename":"file5"},{"photo_id":"1371868392","filename":"file2"},{"photo_id":"1371868461","filename":"file4"},{"photo_id":"1371868365","filename":"file1"},{"photo_id":"1371868331","filename":"file0"},{"photo_id":"1371868420","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371868331":["hashtag1","hashtag2"]},{"1371868420":["hashtag1","hashtag2"]},{"1371868461":["hashtag1","hashtag2"]},{"1371868485":["hashtag1","hashtag2"]},{"1371868392":["hashtag1","hashtag2"]},{"1371868365":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371868331, 1371868420, 1371868461, 1371868485, 1371868392, 1371868365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13705492019653 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:41:03.147269
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_34_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_23_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_13_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/19/40/image_10072025_19_41_04_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_53_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_44_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_34_10639.jpg', '/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_23_9624.jpg', '/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_13_9624.jpg', '/home/nano/Desktop/images/10072025/19/40/image_10072025_19_41_04_10656.jpg', '/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_53_9613.jpg', '/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_44_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_34_10639.jpg
/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_23_9624.jpg
/home/nano/Desktop/images/10072025/19/41/image_10072025_19_41_13_9624.jpg
/home/nano/Desktop/images/10072025/19/40/image_10072025_19_41_04_10656.jpg
/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_53_9613.jpg
/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_44_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371868757","1371868709","1371868805","1371868782","1371868734","1371868685"],"photo_ids_order":["1371868685","1371868709","1371868734","1371868757","1371868782","1371868805"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85671b706edfce87e4547ec50c7cb909.jpg","text":"TemporaryFile(/tmp/multipartBody914530708806648154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309726445,"filename":"image_10072025_19_41_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/143d7e81e37eb6184228c1383e98ce93.jpg","text":"TemporaryFile(/tmp/multipartBody8575951133604704070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309726445,"filename":"image_10072025_19_41_23_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac734497c4c2328c2f3df5be4033d75a.jpg","text":"TemporaryFile(/tmp/multipartBody4185206625715725162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309726445,"filename":"image_10072025_19_40_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/223ecdd7bd77c5c8510439affb971268.jpg","text":"TemporaryFile(/tmp/multipartBody1155519927999315038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309726445,"filename":"image_10072025_19_40_53_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2bad051ab70d9d5eac2df9e874b6d16a.jpg","text":"TemporaryFile(/tmp/multipartBody6751131226326203912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309726445,"filename":"image_10072025_19_41_13_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/252b047ef5e945553765609b3300aad2.jpg","text":"TemporaryFile(/tmp/multipartBody7035610319225845840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309726445,"filename":"image_10072025_19_41_34_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371868734","file1":"1371868709","file0":"1371868685","file4":"1371868782","file5":"1371868805","file3":"1371868757"},"map_files_photo_id_array":[{"photo_id":"1371868805","filename":"file5"},{"photo_id":"1371868734","filename":"file2"},{"photo_id":"1371868782","filename":"file4"},{"photo_id":"1371868709","filename":"file1"},{"photo_id":"1371868685","filename":"file0"},{"photo_id":"1371868757","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371868757":["hashtag1","hashtag2"]},{"1371868709":["hashtag1","hashtag2"]},{"1371868805":["hashtag1","hashtag2"]},{"1371868782":["hashtag1","hashtag2"]},{"1371868734":["hashtag1","hashtag2"]},{"1371868685":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371868757, 1371868709, 1371868805, 1371868782, 1371868734, 1371868685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57025146484375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:41:47.443198
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_43_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_34_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_23_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_13_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/10/40/image_12072025_10_41_04_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_53_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_43_9612.jpg', '/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_34_10631.jpg', '/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_23_9618.jpg', '/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_13_9628.jpg', '/home/nano/Desktop/images/12072025/10/40/image_12072025_10_41_04_10650.jpg', '/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_53_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_43_9612.jpg
/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_34_10631.jpg
/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_23_9618.jpg
/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_13_9628.jpg
/home/nano/Desktop/images/12072025/10/40/image_12072025_10_41_04_10650.jpg
/home/nano/Desktop/images/12072025/10/40/image_12072025_10_40_53_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371868907","1371868901","1371868897","1371868899","1371868903","1371868905"],"photo_ids_order":["1371868897","1371868899","1371868901","1371868903","1371868905","1371868907"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab0ef8250279b2e603d46b30b57ced24.jpg","text":"TemporaryFile(/tmp/multipartBody1848733200681987677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309769494,"filename":"image_12072025_10_40_53_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b62728b858238278bbbca9239cb2331.jpg","text":"TemporaryFile(/tmp/multipartBody2229134223408681382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309769494,"filename":"image_12072025_10_41_23_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/633f62266c9e5969c26eadebf7183982.jpg","text":"TemporaryFile(/tmp/multipartBody8415909204993183273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309769494,"filename":"image_12072025_10_41_43_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c304ba6f059c4b2b4bb9a2d5764eade5.jpg","text":"TemporaryFile(/tmp/multipartBody2666937193732256806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309769494,"filename":"image_12072025_10_41_34_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d19fc03f2d2b2b4c5ca3886fcab8a34c.jpg","text":"TemporaryFile(/tmp/multipartBody7126601883247925704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309769494,"filename":"image_12072025_10_41_13_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/265d828aeb8f0b126d7227e1d5be18ff.jpg","text":"TemporaryFile(/tmp/multipartBody6814554679402695035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309769494,"filename":"image_12072025_10_41_04_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371868901","file1":"1371868899","file0":"1371868897","file4":"1371868905","file5":"1371868907","file3":"1371868903"},"map_files_photo_id_array":[{"photo_id":"1371868907","filename":"file5"},{"photo_id":"1371868901","filename":"file2"},{"photo_id":"1371868905","filename":"file4"},{"photo_id":"1371868899","filename":"file1"},{"photo_id":"1371868897","filename":"file0"},{"photo_id":"1371868903","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371868907":["hashtag1","hashtag2"]},{"1371868901":["hashtag1","hashtag2"]},{"1371868897":["hashtag1","hashtag2"]},{"1371868899":["hashtag1","hashtag2"]},{"1371868903":["hashtag1","hashtag2"]},{"1371868905":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371868907, 1371868901, 1371868897, 1371868899, 1371868903, 1371868905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.586628437042236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:42:32.608425
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_43_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_34_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_24_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_13_9672.jpg', 2), ('/home/nano/Desktop/images/12072025/10/41/image_12072025_10_42_04_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_54_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_43_9633.jpg', '/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_34_9650.jpg', '/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_24_10661.jpg', '/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_13_9672.jpg', '/home/nano/Desktop/images/12072025/10/41/image_12072025_10_42_04_9621.jpg', '/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_43_9633.jpg
/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_34_9650.jpg
/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_24_10661.jpg
/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_13_9672.jpg
/home/nano/Desktop/images/12072025/10/41/image_12072025_10_42_04_9621.jpg
/home/nano/Desktop/images/12072025/10/41/image_12072025_10_41_54_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371868913","1371868918","1371868912","1371868921","1371868915","1371868911"],"photo_ids_order":["1371868911","1371868912","1371868913","1371868915","1371868918","1371868921"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8db9916866926c02cb5909968ccb904d.jpg","text":"TemporaryFile(/tmp/multipartBody4537935098478293210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309815008,"filename":"image_12072025_10_42_24_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74de27c6a2161a226c0e50b8feea395e.jpg","text":"TemporaryFile(/tmp/multipartBody8859210375034574712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309815008,"filename":"image_12072025_10_42_04_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77ee545e9e12bb082a00e0f724669794.jpg","text":"TemporaryFile(/tmp/multipartBody7516774332049871654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309815008,"filename":"image_12072025_10_42_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc6df477b1a49ae3c4d24622d4e05bcc.jpg","text":"TemporaryFile(/tmp/multipartBody4551661154855651849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309815008,"filename":"image_12072025_10_41_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec7340dc352596ef7128345a9ce9cfa2.jpg","text":"TemporaryFile(/tmp/multipartBody8718025276431603676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309815008,"filename":"image_12072025_10_42_13_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd9f104dc6bd0e223e13bdea4071b6f9.jpg","text":"TemporaryFile(/tmp/multipartBody7635899893328687712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309815008,"filename":"image_12072025_10_42_43_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371868913","file1":"1371868912","file0":"1371868911","file4":"1371868918","file5":"1371868921","file3":"1371868915"},"map_files_photo_id_array":[{"photo_id":"1371868921","filename":"file5"},{"photo_id":"1371868913","filename":"file2"},{"photo_id":"1371868918","filename":"file4"},{"photo_id":"1371868912","filename":"file1"},{"photo_id":"1371868911","filename":"file0"},{"photo_id":"1371868915","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371868913":["hashtag1","hashtag2"]},{"1371868918":["hashtag1","hashtag2"]},{"1371868912":["hashtag1","hashtag2"]},{"1371868921":["hashtag1","hashtag2"]},{"1371868915":["hashtag1","hashtag2"]},{"1371868911":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371868913, 1371868918, 1371868912, 1371868921, 1371868915, 1371868911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27857279777527 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:43:17.692059
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_44_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_13_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/10/42/image_12072025_10_43_04_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_44_10620.jpg', '/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_33_9615.jpg', '/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_24_10620.jpg', '/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_13_9630.jpg', '/home/nano/Desktop/images/12072025/10/42/image_12072025_10_43_04_9634.jpg', '/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_54_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_44_10620.jpg
/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_33_9615.jpg
/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_24_10620.jpg
/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_13_9630.jpg
/home/nano/Desktop/images/12072025/10/42/image_12072025_10_43_04_9634.jpg
/home/nano/Desktop/images/12072025/10/42/image_12072025_10_42_54_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371869117","1371869071","1371868960","1371868959","1371868962","1371868994"],"photo_ids_order":["1371868959","1371868960","1371868962","1371868994","1371869071","1371869117"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/759d1c7914389699b78399ddef07cfe2.jpg","text":"TemporaryFile(/tmp/multipartBody6442939475738392587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309859217,"filename":"image_12072025_10_42_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb5fe9feec2890b6291809454b7ceeb2.jpg","text":"TemporaryFile(/tmp/multipartBody9074096542428326461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309859217,"filename":"image_12072025_10_43_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6bf3f52ee0cea0de241069e127ffd7c4.jpg","text":"TemporaryFile(/tmp/multipartBody8521265982913462226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309859217,"filename":"image_12072025_10_43_33_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74d5d96999234eb51a6381f461e6293d.jpg","text":"TemporaryFile(/tmp/multipartBody5531514120203965516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309859217,"filename":"image_12072025_10_43_44_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7c6826dc0c372d77bdd0fa35fc509c9.jpg","text":"TemporaryFile(/tmp/multipartBody5720566249429226031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309859217,"filename":"image_12072025_10_43_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8cabede03bcedfbe09a84b719ef30e03.jpg","text":"TemporaryFile(/tmp/multipartBody5721281664659393848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309859217,"filename":"image_12072025_10_43_13_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371868962","file1":"1371868960","file0":"1371868959","file4":"1371869071","file5":"1371869117","file3":"1371868994"},"map_files_photo_id_array":[{"photo_id":"1371869117","filename":"file5"},{"photo_id":"1371868962","filename":"file2"},{"photo_id":"1371869071","filename":"file4"},{"photo_id":"1371868960","filename":"file1"},{"photo_id":"1371868959","filename":"file0"},{"photo_id":"1371868994","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371869117":["hashtag1","hashtag2"]},{"1371869071":["hashtag1","hashtag2"]},{"1371868960":["hashtag1","hashtag2"]},{"1371868959":["hashtag1","hashtag2"]},{"1371868962":["hashtag1","hashtag2"]},{"1371868994":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371869117, 1371869071, 1371868960, 1371868959, 1371868962, 1371868994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99225354194641 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:44:02.509809
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_34_10642.jpg', 2), ('/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_14_9675.jpg', 2), ('/home/nano/Desktop/images/10072025/19/39/image_10072025_19_40_04_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_53_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_44_9700.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_34_10642.jpg', '/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_23_9645.jpg', '/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_14_9675.jpg', '/home/nano/Desktop/images/10072025/19/39/image_10072025_19_40_04_10658.jpg', '/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_53_9634.jpg', '/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_44_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_34_10642.jpg
/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_23_9645.jpg
/home/nano/Desktop/images/10072025/19/40/image_10072025_19_40_14_9675.jpg
/home/nano/Desktop/images/10072025/19/39/image_10072025_19_40_04_10658.jpg
/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_53_9634.jpg
/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_44_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371869408","1371869383","1371869337","1371869433","1371869291","1371869360"],"photo_ids_order":["1371869291","1371869337","1371869360","1371869383","1371869408","1371869433"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97b238c69fa0d82236a674bb85a8d991.jpg","text":"TemporaryFile(/tmp/multipartBody8442489184748665396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309905836,"filename":"image_10072025_19_39_53_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa960cbe67b4008cf5e0a9a488e166c8.jpg","text":"TemporaryFile(/tmp/multipartBody3807389189326674213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309905836,"filename":"image_10072025_19_40_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02866f2fcb19687f18892c211d5d6b92.jpg","text":"TemporaryFile(/tmp/multipartBody7231904115313321830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309905836,"filename":"image_10072025_19_40_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/606b91a679e032a556df73817e452261.jpg","text":"TemporaryFile(/tmp/multipartBody3787549743880692529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309905836,"filename":"image_10072025_19_39_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a53b8e627a904c68046f40d4d3b87d31.jpg","text":"TemporaryFile(/tmp/multipartBody6074766584560723379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309905836,"filename":"image_10072025_19_40_34_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc39dba060b69964d7b4362b1180e02d.jpg","text":"TemporaryFile(/tmp/multipartBody8127016199237159469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309905836,"filename":"image_10072025_19_40_14_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371869360","file1":"1371869337","file0":"1371869291","file4":"1371869408","file5":"1371869433","file3":"1371869383"},"map_files_photo_id_array":[{"photo_id":"1371869433","filename":"file5"},{"photo_id":"1371869360","filename":"file2"},{"photo_id":"1371869408","filename":"file4"},{"photo_id":"1371869337","filename":"file1"},{"photo_id":"1371869291","filename":"file0"},{"photo_id":"1371869383","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371869408":["hashtag1","hashtag2"]},{"1371869383":["hashtag1","hashtag2"]},{"1371869337":["hashtag1","hashtag2"]},{"1371869433":["hashtag1","hashtag2"]},{"1371869291":["hashtag1","hashtag2"]},{"1371869360":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371869408, 1371869383, 1371869337, 1371869433, 1371869291, 1371869360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82297444343567 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:44:46.802910
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_44_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_33_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_23_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_14_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/10/43/image_12072025_10_44_03_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_44_10619.jpg', '/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_33_9610.jpg', '/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_23_9623.jpg', '/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_14_10659.jpg', '/home/nano/Desktop/images/12072025/10/43/image_12072025_10_44_03_9602.jpg', '/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_44_10619.jpg
/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_33_9610.jpg
/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_23_9623.jpg
/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_14_10659.jpg
/home/nano/Desktop/images/12072025/10/43/image_12072025_10_44_03_9602.jpg
/home/nano/Desktop/images/12072025/10/43/image_12072025_10_43_54_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371869584","1371869647","1371869635","1371869559","1371869630","1371869609"],"photo_ids_order":["1371869559","1371869584","1371869609","1371869630","1371869635","1371869647"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d935d7481a8f10a366ca0de3c784fdc9.jpg","text":"TemporaryFile(/tmp/multipartBody309898636072197195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309948734,"filename":"image_12072025_10_44_33_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fce979b9febe0955bfa060511c4ff43.jpg","text":"TemporaryFile(/tmp/multipartBody1708509147324413626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309948734,"filename":"image_12072025_10_43_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/133d49c63608dfc00585eca7afc22735.jpg","text":"TemporaryFile(/tmp/multipartBody1062018589467816998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309948734,"filename":"image_12072025_10_44_03_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc4ecd1cbe801a40b03488c1eed14bcc.jpg","text":"TemporaryFile(/tmp/multipartBody5284536751669020415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309948734,"filename":"image_12072025_10_44_44_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7610470b57effb65b6c54b946478fb74.jpg","text":"TemporaryFile(/tmp/multipartBody9186436479017842566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309948734,"filename":"image_12072025_10_44_14_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7751dd41d1b678c1db971c177f77749.jpg","text":"TemporaryFile(/tmp/multipartBody3114305355597084439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309948734,"filename":"image_12072025_10_44_23_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371869609","file1":"1371869584","file0":"1371869559","file4":"1371869635","file5":"1371869647","file3":"1371869630"},"map_files_photo_id_array":[{"photo_id":"1371869647","filename":"file5"},{"photo_id":"1371869609","filename":"file2"},{"photo_id":"1371869635","filename":"file4"},{"photo_id":"1371869584","filename":"file1"},{"photo_id":"1371869559","filename":"file0"},{"photo_id":"1371869630","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371869584":["hashtag1","hashtag2"]},{"1371869647":["hashtag1","hashtag2"]},{"1371869635":["hashtag1","hashtag2"]},{"1371869559":["hashtag1","hashtag2"]},{"1371869630":["hashtag1","hashtag2"]},{"1371869609":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371869584, 1371869647, 1371869635, 1371869559, 1371869630, 1371869609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09552597999573 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:45:31.934949
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_44_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_23_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_14_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/10/44/image_12072025_10_45_04_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_53_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_44_9657.jpg', '/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_34_10649.jpg', '/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_23_9652.jpg', '/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_14_9629.jpg', '/home/nano/Desktop/images/12072025/10/44/image_12072025_10_45_04_10636.jpg', '/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_53_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_44_9657.jpg
/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_34_10649.jpg
/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_23_9652.jpg
/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_14_9629.jpg
/home/nano/Desktop/images/12072025/10/44/image_12072025_10_45_04_10636.jpg
/home/nano/Desktop/images/12072025/10/44/image_12072025_10_44_53_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371869653","1371869691","1371869652","1371869742","1371869715","1371869663"],"photo_ids_order":["1371869652","1371869653","1371869663","1371869691","1371869715","1371869742"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/418023cfca58ba95a88a722d61bdcef4.jpg","text":"TemporaryFile(/tmp/multipartBody6290359928034698394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309993537,"filename":"image_12072025_10_45_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51bcf04672b48f96cfad98a13c3d4297.jpg","text":"TemporaryFile(/tmp/multipartBody1092111450060759598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309993537,"filename":"image_12072025_10_45_14_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e30b4a3610131a28c4d5594df4578bcd.jpg","text":"TemporaryFile(/tmp/multipartBody6384827804779737878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309993537,"filename":"image_12072025_10_45_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9009ca05ea6b352718774f35c70578cd.jpg","text":"TemporaryFile(/tmp/multipartBody3437471151342847120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309993537,"filename":"image_12072025_10_44_53_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88d70f6381caf430f06305aa60068f3e.jpg","text":"TemporaryFile(/tmp/multipartBody7818242204984466631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309993537,"filename":"image_12072025_10_45_04_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8daf588fd1125e71774f3d157c9481dc.jpg","text":"TemporaryFile(/tmp/multipartBody4452681639927467590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752309993537,"filename":"image_12072025_10_45_23_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371869663","file1":"1371869653","file0":"1371869652","file4":"1371869715","file5":"1371869742","file3":"1371869691"},"map_files_photo_id_array":[{"photo_id":"1371869742","filename":"file5"},{"photo_id":"1371869663","filename":"file2"},{"photo_id":"1371869715","filename":"file4"},{"photo_id":"1371869653","filename":"file1"},{"photo_id":"1371869652","filename":"file0"},{"photo_id":"1371869691","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371869653":["hashtag1","hashtag2"]},{"1371869691":["hashtag1","hashtag2"]},{"1371869652":["hashtag1","hashtag2"]},{"1371869742":["hashtag1","hashtag2"]},{"1371869715":["hashtag1","hashtag2"]},{"1371869663":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371869653, 1371869691, 1371869652, 1371869742, 1371869715, 1371869663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74188828468323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:46:17.005699
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_43_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_23_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_13_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/10/45/image_12072025_10_46_04_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_43_9621.jpg', '/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_34_10623.jpg', '/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_23_9620.jpg', '/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_13_9654.jpg', '/home/nano/Desktop/images/12072025/10/45/image_12072025_10_46_04_10643.jpg', '/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_43_9621.jpg
/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_34_10623.jpg
/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_23_9620.jpg
/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_13_9654.jpg
/home/nano/Desktop/images/12072025/10/45/image_12072025_10_46_04_10643.jpg
/home/nano/Desktop/images/12072025/10/45/image_12072025_10_45_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371869854","1371869857","1371869850","1371869856","1371869849","1371869852"],"photo_ids_order":["1371869849","1371869850","1371869852","1371869854","1371869856","1371869857"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb4b7f02df7e068615c31c7bd8f58e4b.jpg","text":"TemporaryFile(/tmp/multipartBody8770854269666974558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310038240,"filename":"image_12072025_10_46_13_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/478480f10663a8d24db2b04ec2ec7fb1.jpg","text":"TemporaryFile(/tmp/multipartBody244830402746942402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310038240,"filename":"image_12072025_10_45_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9424c3e952678bdfdbea61e96ee9efd2.jpg","text":"TemporaryFile(/tmp/multipartBody5004599939483961789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310038240,"filename":"image_12072025_10_46_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6d82bbab2bb678667baa105bfc42aba.jpg","text":"TemporaryFile(/tmp/multipartBody2863552517380275476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310038240,"filename":"image_12072025_10_46_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/489294275aead0bfae482ac173cfe0f3.jpg","text":"TemporaryFile(/tmp/multipartBody7980097918412439351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310038240,"filename":"image_12072025_10_46_43_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6098a0a2f09bd915a3f262bb10d1bbd.jpg","text":"TemporaryFile(/tmp/multipartBody5254813938286900034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310038240,"filename":"image_12072025_10_46_23_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371869852","file1":"1371869850","file0":"1371869849","file4":"1371869856","file5":"1371869857","file3":"1371869854"},"map_files_photo_id_array":[{"photo_id":"1371869857","filename":"file5"},{"photo_id":"1371869852","filename":"file2"},{"photo_id":"1371869856","filename":"file4"},{"photo_id":"1371869850","filename":"file1"},{"photo_id":"1371869849","filename":"file0"},{"photo_id":"1371869854","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371869854":["hashtag1","hashtag2"]},{"1371869857":["hashtag1","hashtag2"]},{"1371869850":["hashtag1","hashtag2"]},{"1371869856":["hashtag1","hashtag2"]},{"1371869849":["hashtag1","hashtag2"]},{"1371869852":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371869854, 1371869857, 1371869850, 1371869856, 1371869849, 1371869852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25131130218506 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:47:02.862098
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_34_10644.jpg', 2), ('/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_23_9681.jpg', 2), ('/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_14_9693.jpg', 2), ('/home/nano/Desktop/images/10072025/19/38/image_10072025_19_39_04_10707.jpg', 2), ('/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_53_9701.jpg', 2), ('/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_44_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_34_10644.jpg', '/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_23_9681.jpg', '/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_14_9693.jpg', '/home/nano/Desktop/images/10072025/19/38/image_10072025_19_39_04_10707.jpg', '/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_53_9701.jpg', '/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_44_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_34_10644.jpg
/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_23_9681.jpg
/home/nano/Desktop/images/10072025/19/39/image_10072025_19_39_14_9693.jpg
/home/nano/Desktop/images/10072025/19/38/image_10072025_19_39_04_10707.jpg
/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_53_9701.jpg
/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_44_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371869887","1371869872","1371869869","1371869871","1371869865","1371869867"],"photo_ids_order":["1371869865","1371869867","1371869869","1371869871","1371869872","1371869887"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a4f1cbb882069539688f6497a270274.jpg","text":"TemporaryFile(/tmp/multipartBody7480972178710427937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310086183,"filename":"image_10072025_19_38_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a509dc82be343d0116fdaf838691bc0.jpg","text":"TemporaryFile(/tmp/multipartBody5870940374307796302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310086183,"filename":"image_10072025_19_38_53_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8ee639d960a0657e00fff6e70613701.jpg","text":"TemporaryFile(/tmp/multipartBody472379565985680208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310086183,"filename":"image_10072025_19_39_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1105a04d5cc14d76825f8d5066c26d67.jpg","text":"TemporaryFile(/tmp/multipartBody1419622593652978765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310086183,"filename":"image_10072025_19_39_04_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16df9b8f45ac0a1da05a5d22f1bcd69f.jpg","text":"TemporaryFile(/tmp/multipartBody4655014196511178753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310086183,"filename":"image_10072025_19_39_34_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/731a460118f358d932786c981aa189be.jpg","text":"TemporaryFile(/tmp/multipartBody2661282352377524523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310086183,"filename":"image_10072025_19_39_23_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371869869","file1":"1371869867","file0":"1371869865","file4":"1371869872","file5":"1371869887","file3":"1371869871"},"map_files_photo_id_array":[{"photo_id":"1371869887","filename":"file5"},{"photo_id":"1371869869","filename":"file2"},{"photo_id":"1371869872","filename":"file4"},{"photo_id":"1371869867","filename":"file1"},{"photo_id":"1371869865","filename":"file0"},{"photo_id":"1371869871","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371869887":["hashtag1","hashtag2"]},{"1371869872":["hashtag1","hashtag2"]},{"1371869869":["hashtag1","hashtag2"]},{"1371869871":["hashtag1","hashtag2"]},{"1371869865":["hashtag1","hashtag2"]},{"1371869867":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371869887, 1371869872, 1371869869, 1371869871, 1371869865, 1371869867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40158677101135 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:47:47.111771
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_43_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_24_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_13_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/10/46/image_12072025_10_47_04_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_43_9599.jpg', '/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_33_9608.jpg', '/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_24_10623.jpg', '/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_13_9648.jpg', '/home/nano/Desktop/images/12072025/10/46/image_12072025_10_47_04_9618.jpg', '/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_43_9599.jpg
/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_33_9608.jpg
/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_24_10623.jpg
/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_13_9648.jpg
/home/nano/Desktop/images/12072025/10/46/image_12072025_10_47_04_9618.jpg
/home/nano/Desktop/images/12072025/10/46/image_12072025_10_46_54_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870050","1371870147","1371870098","1371870123","1371870024","1371870074"],"photo_ids_order":["1371870024","1371870050","1371870074","1371870098","1371870123","1371870147"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/057fdf50e95bd0b8fcb08a7602fe2cb9.jpg","text":"TemporaryFile(/tmp/multipartBody8103911292040637563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310129068,"filename":"image_12072025_10_47_33_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da9ac93ebc5e4fbf08a35fa5a897a335.jpg","text":"TemporaryFile(/tmp/multipartBody7359789653959762515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310129068,"filename":"image_12072025_10_46_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3af950f38a01c47a16c1fd2f843ee981.jpg","text":"TemporaryFile(/tmp/multipartBody3472109823957929087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310129068,"filename":"image_12072025_10_47_13_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c79eb8cf259a89fbb8f5fee22a95d6b.jpg","text":"TemporaryFile(/tmp/multipartBody2004781338368149084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310129068,"filename":"image_12072025_10_47_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f861b865288ceda0918e126e1c88222c.jpg","text":"TemporaryFile(/tmp/multipartBody6630282961634273406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310129068,"filename":"image_12072025_10_47_43_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a58a8d934f7709fe8346852a15e9c994.jpg","text":"TemporaryFile(/tmp/multipartBody327908508939889181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310129068,"filename":"image_12072025_10_47_24_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870074","file1":"1371870050","file0":"1371870024","file4":"1371870123","file5":"1371870147","file3":"1371870098"},"map_files_photo_id_array":[{"photo_id":"1371870147","filename":"file5"},{"photo_id":"1371870074","filename":"file2"},{"photo_id":"1371870123","filename":"file4"},{"photo_id":"1371870050","filename":"file1"},{"photo_id":"1371870024","filename":"file0"},{"photo_id":"1371870098","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371870050":["hashtag1","hashtag2"]},{"1371870147":["hashtag1","hashtag2"]},{"1371870098":["hashtag1","hashtag2"]},{"1371870123":["hashtag1","hashtag2"]},{"1371870024":["hashtag1","hashtag2"]},{"1371870074":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371870050, 1371870147, 1371870098, 1371870123, 1371870024, 1371870074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25088357925415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:48:32.280837
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_44_10606.jpg', 2), ('/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_33_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_24_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_14_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/10/47/image_12072025_10_48_03_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_54_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_44_10606.jpg', '/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_33_9633.jpg', '/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_24_9675.jpg', '/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_14_10661.jpg', '/home/nano/Desktop/images/12072025/10/47/image_12072025_10_48_03_9614.jpg', '/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_54_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_44_10606.jpg
/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_33_9633.jpg
/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_24_9675.jpg
/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_14_10661.jpg
/home/nano/Desktop/images/12072025/10/47/image_12072025_10_48_03_9614.jpg
/home/nano/Desktop/images/12072025/10/47/image_12072025_10_47_54_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870238","1371870241","1371870235","1371870237","1371870234","1371870233"],"photo_ids_order":["1371870233","1371870234","1371870235","1371870237","1371870238","1371870241"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5feb5b4aa4e237b3cebef2834710385.jpg","text":"TemporaryFile(/tmp/multipartBody7360463076724246665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310174089,"filename":"image_12072025_10_48_03_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1d6edc4e20e327fac7f4ad3fcdba090.jpg","text":"TemporaryFile(/tmp/multipartBody8579463159442387975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310174089,"filename":"image_12072025_10_47_54_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea64877fc0f4c6f0f36c7ee4989e1421.jpg","text":"TemporaryFile(/tmp/multipartBody2369347175809193365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310174089,"filename":"image_12072025_10_48_24_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/815bb5e3a0152a8ebabfdd98ac8346d5.jpg","text":"TemporaryFile(/tmp/multipartBody7164023920484426704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310174089,"filename":"image_12072025_10_48_14_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a56fe3d28b20e38b5226d4ad7306eeb.jpg","text":"TemporaryFile(/tmp/multipartBody2422496954050234469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310174089,"filename":"image_12072025_10_48_33_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97f07de94d5be01b21625be69b1aea2f.jpg","text":"TemporaryFile(/tmp/multipartBody9101563941122761029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310174089,"filename":"image_12072025_10_48_44_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870235","file1":"1371870234","file0":"1371870233","file4":"1371870238","file5":"1371870241","file3":"1371870237"},"map_files_photo_id_array":[{"photo_id":"1371870241","filename":"file5"},{"photo_id":"1371870235","filename":"file2"},{"photo_id":"1371870238","filename":"file4"},{"photo_id":"1371870234","filename":"file1"},{"photo_id":"1371870233","filename":"file0"},{"photo_id":"1371870237","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371870238":["hashtag1","hashtag2"]},{"1371870241":["hashtag1","hashtag2"]},{"1371870235":["hashtag1","hashtag2"]},{"1371870237":["hashtag1","hashtag2"]},{"1371870234":["hashtag1","hashtag2"]},{"1371870233":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371870238, 1371870241, 1371870235, 1371870237, 1371870234, 1371870233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73033380508423 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:49:17.337522
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_43_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_34_10599.jpg', 2), ('/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_23_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_14_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/10/48/image_12072025_10_49_03_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_53_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_43_9596.jpg', '/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_34_10599.jpg', '/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_23_9604.jpg', '/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_14_10616.jpg', '/home/nano/Desktop/images/12072025/10/48/image_12072025_10_49_03_9602.jpg', '/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_53_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_43_9596.jpg
/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_34_10599.jpg
/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_23_9604.jpg
/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_14_10616.jpg
/home/nano/Desktop/images/12072025/10/48/image_12072025_10_49_03_9602.jpg
/home/nano/Desktop/images/12072025/10/48/image_12072025_10_48_53_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870257","1371870256","1371870255","1371870252","1371870251","1371870254"],"photo_ids_order":["1371870251","1371870252","1371870254","1371870255","1371870256","1371870257"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a7bb179e8981f1b76a3591281c97da1.jpg","text":"TemporaryFile(/tmp/multipartBody1721531393482364188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310218821,"filename":"image_12072025_10_48_53_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/755d5b7d8192c7bc5f2cac60f9c84237.jpg","text":"TemporaryFile(/tmp/multipartBody5362642747553373187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310218821,"filename":"image_12072025_10_49_03_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e66cdff2321ca699d13c0d6860ca199c.jpg","text":"TemporaryFile(/tmp/multipartBody8430619810299738458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310218821,"filename":"image_12072025_10_49_14_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe6f6c34f2dfcbba3c016d0164bdaf6a.jpg","text":"TemporaryFile(/tmp/multipartBody2720046966253154495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310218821,"filename":"image_12072025_10_49_34_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77ae56713ec0d7b836f7d4aae5cd9744.jpg","text":"TemporaryFile(/tmp/multipartBody3376959103998008538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310218821,"filename":"image_12072025_10_49_43_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75bbd7de58f43877817d0a8ecdfeb235.jpg","text":"TemporaryFile(/tmp/multipartBody8033578043407740686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310218821,"filename":"image_12072025_10_49_23_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870254","file1":"1371870252","file0":"1371870251","file4":"1371870256","file5":"1371870257","file3":"1371870255"},"map_files_photo_id_array":[{"photo_id":"1371870257","filename":"file5"},{"photo_id":"1371870254","filename":"file2"},{"photo_id":"1371870256","filename":"file4"},{"photo_id":"1371870252","filename":"file1"},{"photo_id":"1371870251","filename":"file0"},{"photo_id":"1371870255","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371870257":["hashtag1","hashtag2"]},{"1371870256":["hashtag1","hashtag2"]},{"1371870255":["hashtag1","hashtag2"]},{"1371870252":["hashtag1","hashtag2"]},{"1371870251":["hashtag1","hashtag2"]},{"1371870254":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371870257, 1371870256, 1371870255, 1371870252, 1371870251, 1371870254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.401716232299805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:50:03.026568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_34_10646.jpg', 2), ('/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_23_9592.jpg', 2), ('/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_14_9690.jpg', 2), ('/home/nano/Desktop/images/10072025/19/37/image_10072025_19_38_04_10670.jpg', 2), ('/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_53_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_34_10646.jpg', '/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_23_9592.jpg', '/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_14_9690.jpg', '/home/nano/Desktop/images/10072025/19/37/image_10072025_19_38_04_10670.jpg', '/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_53_9656.jpg', '/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_34_10646.jpg
/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_23_9592.jpg
/home/nano/Desktop/images/10072025/19/38/image_10072025_19_38_14_9690.jpg
/home/nano/Desktop/images/10072025/19/37/image_10072025_19_38_04_10670.jpg
/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_53_9656.jpg
/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_44_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870283","1371870277","1371870282","1371870284","1371870278","1371870281"],"photo_ids_order":["1371870277","1371870278","1371870281","1371870282","1371870283","1371870284"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13bfe46eb9d71552fdbf08134a678a83.jpg","text":"TemporaryFile(/tmp/multipartBody7453037088002134464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310266032,"filename":"image_10072025_19_37_53_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f329d10ecc7b0652c9e7dac80b1d91ed.jpg","text":"TemporaryFile(/tmp/multipartBody8881463802342513481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310266032,"filename":"image_10072025_19_38_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84acdbf97fa5ccb9055c4dffd4ea17a3.jpg","text":"TemporaryFile(/tmp/multipartBody7562947487008675057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310266032,"filename":"image_10072025_19_38_04_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35dec8445dd295c3da86589d3a4a1e93.jpg","text":"TemporaryFile(/tmp/multipartBody7120642091958519895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310266032,"filename":"image_10072025_19_37_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a931ba4dab8ccdeed6210a499bdb291.jpg","text":"TemporaryFile(/tmp/multipartBody6109576149295243180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310266032,"filename":"image_10072025_19_38_23_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8660b04952b6e31b04dd31d5c8f44f4b.jpg","text":"TemporaryFile(/tmp/multipartBody8017147931889461781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310266032,"filename":"image_10072025_19_38_14_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870281","file1":"1371870278","file0":"1371870277","file4":"1371870283","file5":"1371870284","file3":"1371870282"},"map_files_photo_id_array":[{"photo_id":"1371870284","filename":"file5"},{"photo_id":"1371870281","filename":"file2"},{"photo_id":"1371870283","filename":"file4"},{"photo_id":"1371870278","filename":"file1"},{"photo_id":"1371870277","filename":"file0"},{"photo_id":"1371870282","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371870283":["hashtag1","hashtag2"]},{"1371870277":["hashtag1","hashtag2"]},{"1371870282":["hashtag1","hashtag2"]},{"1371870284":["hashtag1","hashtag2"]},{"1371870278":["hashtag1","hashtag2"]},{"1371870281":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371870283, 1371870277, 1371870282, 1371870284, 1371870278, 1371870281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3394889831543 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:50:47.449703
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_43_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_34_9594.jpg', 2), ('/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_24_10602.jpg', 2), ('/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_13_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/10/49/image_12072025_10_50_04_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_53_9594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_43_9592.jpg', '/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_34_9594.jpg', '/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_24_10602.jpg', '/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_13_9613.jpg', '/home/nano/Desktop/images/12072025/10/49/image_12072025_10_50_04_10623.jpg', '/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_53_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_43_9592.jpg
/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_34_9594.jpg
/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_24_10602.jpg
/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_13_9613.jpg
/home/nano/Desktop/images/12072025/10/49/image_12072025_10_50_04_10623.jpg
/home/nano/Desktop/images/12072025/10/49/image_12072025_10_49_53_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870286","1371870291","1371870288","1371870296","1371870290","1371870293"],"photo_ids_order":["1371870286","1371870288","1371870290","1371870291","1371870293","1371870296"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/763a1f855bb76dfccbce2fc74d385161.jpg","text":"TemporaryFile(/tmp/multipartBody8798686125778870283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310308939,"filename":"image_12072025_10_50_43_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3520471a789dc45a346c98811a646902.jpg","text":"TemporaryFile(/tmp/multipartBody911536234553489506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310308939,"filename":"image_12072025_10_50_13_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c68a846fbbc7b5d042ade21b50ab47be.jpg","text":"TemporaryFile(/tmp/multipartBody4583163597752460614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310308939,"filename":"image_12072025_10_50_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/199c2308366be66f5a4c4bd0680ec8e5.jpg","text":"TemporaryFile(/tmp/multipartBody4726210477672582489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310308939,"filename":"image_12072025_10_49_53_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c8ed47948d0b389ce38d2a9946b25ca.jpg","text":"TemporaryFile(/tmp/multipartBody202553440838752961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310308939,"filename":"image_12072025_10_50_24_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5c24a394f6d4376759e8c91a0bf5be2.jpg","text":"TemporaryFile(/tmp/multipartBody7644101625514918671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310308939,"filename":"image_12072025_10_50_04_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870290","file1":"1371870288","file0":"1371870286","file4":"1371870293","file5":"1371870296","file3":"1371870291"},"map_files_photo_id_array":[{"photo_id":"1371870296","filename":"file5"},{"photo_id":"1371870290","filename":"file2"},{"photo_id":"1371870293","filename":"file4"},{"photo_id":"1371870288","filename":"file1"},{"photo_id":"1371870286","filename":"file0"},{"photo_id":"1371870291","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371870286":["hashtag1","hashtag2"]},{"1371870291":["hashtag1","hashtag2"]},{"1371870288":["hashtag1","hashtag2"]},{"1371870296":["hashtag1","hashtag2"]},{"1371870290":["hashtag1","hashtag2"]},{"1371870293":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371870286, 1371870291, 1371870288, 1371870296, 1371870290, 1371870293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.516002893447876 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:51:32.529730
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_44_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_24_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_14_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/10/50/image_12072025_10_51_03_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_44_10624.jpg', '/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_33_9615.jpg', '/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_24_9619.jpg', '/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_14_10657.jpg', '/home/nano/Desktop/images/12072025/10/50/image_12072025_10_51_03_9604.jpg', '/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_44_10624.jpg
/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_33_9615.jpg
/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_24_9619.jpg
/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_14_10657.jpg
/home/nano/Desktop/images/12072025/10/50/image_12072025_10_51_03_9604.jpg
/home/nano/Desktop/images/12072025/10/50/image_12072025_10_50_54_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870308","1371870301","1371870310","1371870303","1371870306","1371870300"],"photo_ids_order":["1371870300","1371870301","1371870303","1371870306","1371870308","1371870310"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/69fc32d2f38fc16eb1f60bd35efcbb86.jpg","text":"TemporaryFile(/tmp/multipartBody6896377852680449059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310353837,"filename":"image_12072025_10_51_03_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe9cb3b1d9dcf56513f43021a378430c.jpg","text":"TemporaryFile(/tmp/multipartBody8277920936904601577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310353837,"filename":"image_12072025_10_51_33_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df4b9303a84a64f6a6014f502c2c999d.jpg","text":"TemporaryFile(/tmp/multipartBody6021242308145132064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310353837,"filename":"image_12072025_10_50_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f1889b7305b38e9eebb5fa8bf501cd5.jpg","text":"TemporaryFile(/tmp/multipartBody701888123717668697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310353837,"filename":"image_12072025_10_51_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3502e056bff58f94775ce6d1e79b0292.jpg","text":"TemporaryFile(/tmp/multipartBody6896373925442358864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310353837,"filename":"image_12072025_10_51_14_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fa539f9b21fbfa41f42215a0747bac8.jpg","text":"TemporaryFile(/tmp/multipartBody7972430045271816165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310353837,"filename":"image_12072025_10_51_44_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870303","file1":"1371870301","file0":"1371870300","file4":"1371870308","file5":"1371870310","file3":"1371870306"},"map_files_photo_id_array":[{"photo_id":"1371870310","filename":"file5"},{"photo_id":"1371870303","filename":"file2"},{"photo_id":"1371870308","filename":"file4"},{"photo_id":"1371870301","filename":"file1"},{"photo_id":"1371870300","filename":"file0"},{"photo_id":"1371870306","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371870308":["hashtag1","hashtag2"]},{"1371870301":["hashtag1","hashtag2"]},{"1371870310":["hashtag1","hashtag2"]},{"1371870303":["hashtag1","hashtag2"]},{"1371870306":["hashtag1","hashtag2"]},{"1371870300":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371870308, 1371870301, 1371870310, 1371870303, 1371870306, 1371870300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.840598583221436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:52:17.653578
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_43_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_34_10603.jpg', 2), ('/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_23_9595.jpg', 2), ('/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_14_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/10/51/image_12072025_10_52_03_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_53_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_43_9593.jpg', '/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_34_10603.jpg', '/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_23_9595.jpg', '/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_14_10628.jpg', '/home/nano/Desktop/images/12072025/10/51/image_12072025_10_52_03_9602.jpg', '/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_53_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_43_9593.jpg
/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_34_10603.jpg
/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_23_9595.jpg
/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_14_10628.jpg
/home/nano/Desktop/images/12072025/10/51/image_12072025_10_52_03_9602.jpg
/home/nano/Desktop/images/12072025/10/51/image_12072025_10_51_53_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870320","1371870323","1371870319","1371870322","1371870321","1371870318"],"photo_ids_order":["1371870318","1371870319","1371870320","1371870321","1371870322","1371870323"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65e94283e06c498c1a87f3bef648d615.jpg","text":"TemporaryFile(/tmp/multipartBody8763028069425450888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310399298,"filename":"image_12072025_10_52_23_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9b17bb409b5d4bc14663f6c568ee22a.jpg","text":"TemporaryFile(/tmp/multipartBody7933943327992274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310399298,"filename":"image_12072025_10_51_53_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c55b79002645eefc32f360fe34c06a69.jpg","text":"TemporaryFile(/tmp/multipartBody4526701452528741851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310399298,"filename":"image_12072025_10_52_34_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/291d04b0dfbb2cd9acf47559e5ad87c1.jpg","text":"TemporaryFile(/tmp/multipartBody5584317374212039842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310399298,"filename":"image_12072025_10_52_03_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45e4bc7e68e4da066cfa67b6aed51425.jpg","text":"TemporaryFile(/tmp/multipartBody3604328999913476995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310399298,"filename":"image_12072025_10_52_14_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37aea2841f555a714e201aeb9ed7e6d6.jpg","text":"TemporaryFile(/tmp/multipartBody1978694155150496949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310399298,"filename":"image_12072025_10_52_43_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870320","file1":"1371870319","file0":"1371870318","file4":"1371870322","file5":"1371870323","file3":"1371870321"},"map_files_photo_id_array":[{"photo_id":"1371870323","filename":"file5"},{"photo_id":"1371870320","filename":"file2"},{"photo_id":"1371870322","filename":"file4"},{"photo_id":"1371870319","filename":"file1"},{"photo_id":"1371870318","filename":"file0"},{"photo_id":"1371870321","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371870320":["hashtag1","hashtag2"]},{"1371870323":["hashtag1","hashtag2"]},{"1371870319":["hashtag1","hashtag2"]},{"1371870322":["hashtag1","hashtag2"]},{"1371870321":["hashtag1","hashtag2"]},{"1371870318":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371870320, 1371870323, 1371870319, 1371870322, 1371870321, 1371870318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.375229835510254 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:53:03.264505
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_34_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_23_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_14_9718.jpg', 2), ('/home/nano/Desktop/images/10072025/19/36/image_10072025_19_37_04_10651.jpg', 2), ('/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_53_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_44_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_34_10661.jpg', '/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_23_9644.jpg', '/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_14_9718.jpg', '/home/nano/Desktop/images/10072025/19/36/image_10072025_19_37_04_10651.jpg', '/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_53_9661.jpg', '/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_44_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_34_10661.jpg
/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_23_9644.jpg
/home/nano/Desktop/images/10072025/19/37/image_10072025_19_37_14_9718.jpg
/home/nano/Desktop/images/10072025/19/36/image_10072025_19_37_04_10651.jpg
/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_53_9661.jpg
/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_44_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870337","1371870334","1371870328","1371870336","1371870330","1371870332"],"photo_ids_order":["1371870328","1371870330","1371870332","1371870334","1371870336","1371870337"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a6761acc5ecf277b691b59514f42a1e.jpg","text":"TemporaryFile(/tmp/multipartBody5511405406046881162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310446569,"filename":"image_10072025_19_36_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70bfa3993fd8f3576d7677a6bb9eb5a3.jpg","text":"TemporaryFile(/tmp/multipartBody7919874346176469669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310446569,"filename":"image_10072025_19_37_04_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/593aca3fb4edb384cc1ba9d6771ce3a7.jpg","text":"TemporaryFile(/tmp/multipartBody278516637161980202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310446569,"filename":"image_10072025_19_37_34_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fc9763e06adf4f3653b430320af014d.jpg","text":"TemporaryFile(/tmp/multipartBody8698317809012536228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310446569,"filename":"image_10072025_19_36_53_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0513f7da3e5a1be83df332c045ffde3a.jpg","text":"TemporaryFile(/tmp/multipartBody3931623277217045487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310446569,"filename":"image_10072025_19_37_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a8783dc4249d345fcc68583c24eed5c.jpg","text":"TemporaryFile(/tmp/multipartBody8313354048768656280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310446569,"filename":"image_10072025_19_37_14_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870332","file1":"1371870330","file0":"1371870328","file4":"1371870336","file5":"1371870337","file3":"1371870334"},"map_files_photo_id_array":[{"photo_id":"1371870337","filename":"file5"},{"photo_id":"1371870332","filename":"file2"},{"photo_id":"1371870336","filename":"file4"},{"photo_id":"1371870330","filename":"file1"},{"photo_id":"1371870328","filename":"file0"},{"photo_id":"1371870334","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371870337":["hashtag1","hashtag2"]},{"1371870334":["hashtag1","hashtag2"]},{"1371870328":["hashtag1","hashtag2"]},{"1371870336":["hashtag1","hashtag2"]},{"1371870330":["hashtag1","hashtag2"]},{"1371870332":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371870337, 1371870334, 1371870328, 1371870336, 1371870330, 1371870332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.59036827087402 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:54:16.855068
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_44_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_33_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_24_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_14_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/10/53/image_12072025_10_54_03_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_54_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_44_10633.jpg', '/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_33_9643.jpg', '/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_24_9643.jpg', '/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_14_10675.jpg', '/home/nano/Desktop/images/12072025/10/53/image_12072025_10_54_03_9604.jpg', '/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_54_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_44_10633.jpg
/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_33_9643.jpg
/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_24_9643.jpg
/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_14_10675.jpg
/home/nano/Desktop/images/12072025/10/53/image_12072025_10_54_03_9604.jpg
/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_54_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870343","1371870352","1371870346","1371870349","1371870340","1371870350"],"photo_ids_order":["1371870340","1371870343","1371870346","1371870349","1371870350","1371870352"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c3a4e339512d903427a54fa528bb5209.jpg","text":"TemporaryFile(/tmp/multipartBody3058610346285263806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310518621,"filename":"image_12072025_10_54_33_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91cb7f999da8ab0bca4a53a25349e9e4.jpg","text":"TemporaryFile(/tmp/multipartBody3662470171432720947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310518621,"filename":"image_12072025_10_53_54_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f0666ee353914e1a7ac5a1d9b0fff3c.jpg","text":"TemporaryFile(/tmp/multipartBody4110408706586937688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310518621,"filename":"image_12072025_10_54_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e495959e01cdab7588ed70b584eb357.jpg","text":"TemporaryFile(/tmp/multipartBody1480018180450837328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310518621,"filename":"image_12072025_10_54_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2e39481cfa0c89d7bb6168d814d1631.jpg","text":"TemporaryFile(/tmp/multipartBody5679898627129719205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310518621,"filename":"image_12072025_10_54_44_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/402046c8512eb98204bf279916482fcc.jpg","text":"TemporaryFile(/tmp/multipartBody1295608174001819696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310518621,"filename":"image_12072025_10_54_03_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870346","file1":"1371870343","file0":"1371870340","file4":"1371870350","file5":"1371870352","file3":"1371870349"},"map_files_photo_id_array":[{"photo_id":"1371870352","filename":"file5"},{"photo_id":"1371870346","filename":"file2"},{"photo_id":"1371870350","filename":"file4"},{"photo_id":"1371870343","filename":"file1"},{"photo_id":"1371870340","filename":"file0"},{"photo_id":"1371870349","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371870343":["hashtag1","hashtag2"]},{"1371870352":["hashtag1","hashtag2"]},{"1371870346":["hashtag1","hashtag2"]},{"1371870349":["hashtag1","hashtag2"]},{"1371870340":["hashtag1","hashtag2"]},{"1371870350":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371870343, 1371870352, 1371870346, 1371870349, 1371870340, 1371870350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83301377296448 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:55:02.727002
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_43_9594.jpg', 2), ('/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_34_9595.jpg', 2), ('/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_24_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_13_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/10/52/image_12072025_10_53_04_10603.jpg', 2), ('/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_53_9594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_43_9594.jpg', '/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_34_9595.jpg', '/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_24_10607.jpg', '/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_13_9634.jpg', '/home/nano/Desktop/images/12072025/10/52/image_12072025_10_53_04_10603.jpg', '/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_53_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_43_9594.jpg
/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_34_9595.jpg
/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_24_10607.jpg
/home/nano/Desktop/images/12072025/10/53/image_12072025_10_53_13_9634.jpg
/home/nano/Desktop/images/12072025/10/52/image_12072025_10_53_04_10603.jpg
/home/nano/Desktop/images/12072025/10/52/image_12072025_10_52_53_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870361","1371870358","1371870360","1371870363","1371870357","1371870359"],"photo_ids_order":["1371870357","1371870358","1371870359","1371870360","1371870361","1371870363"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/484799be17fb96928ab5e33b61c21d2a.jpg","text":"TemporaryFile(/tmp/multipartBody2406417507561826772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310564546,"filename":"image_12072025_10_53_04_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f43647079ff2272865f248773d51e048.jpg","text":"TemporaryFile(/tmp/multipartBody5087205780447237137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310564546,"filename":"image_12072025_10_53_34_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99e2ea1818c2e08f9a30aeecc4699dce.jpg","text":"TemporaryFile(/tmp/multipartBody417792433133162356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310564546,"filename":"image_12072025_10_53_13_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d51029c89e914bc225759790aed6dad.jpg","text":"TemporaryFile(/tmp/multipartBody7140284449100388678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310564546,"filename":"image_12072025_10_52_53_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bacf91446fcc24e607ae6ed5f0e514b2.jpg","text":"TemporaryFile(/tmp/multipartBody5595489102537079587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310564546,"filename":"image_12072025_10_53_43_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c48b0e49ed66d15e0ecd2a2f17c2ac5c.jpg","text":"TemporaryFile(/tmp/multipartBody3072122624289485034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310564546,"filename":"image_12072025_10_53_24_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870359","file1":"1371870358","file0":"1371870357","file4":"1371870361","file5":"1371870363","file3":"1371870360"},"map_files_photo_id_array":[{"photo_id":"1371870363","filename":"file5"},{"photo_id":"1371870359","filename":"file2"},{"photo_id":"1371870361","filename":"file4"},{"photo_id":"1371870358","filename":"file1"},{"photo_id":"1371870357","filename":"file0"},{"photo_id":"1371870360","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371870361":["hashtag1","hashtag2"]},{"1371870358":["hashtag1","hashtag2"]},{"1371870360":["hashtag1","hashtag2"]},{"1371870363":["hashtag1","hashtag2"]},{"1371870357":["hashtag1","hashtag2"]},{"1371870359":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371870361, 1371870358, 1371870360, 1371870363, 1371870357, 1371870359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.773444890975952 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:55:47.022170
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_44_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_34_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_14_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/10/54/image_12072025_10_55_03_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_54_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_44_9604.jpg', '/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_34_10629.jpg', '/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_23_9609.jpg', '/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_14_10641.jpg', '/home/nano/Desktop/images/12072025/10/54/image_12072025_10_55_03_9629.jpg', '/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_54_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_44_9604.jpg
/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_34_10629.jpg
/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_23_9609.jpg
/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_14_10641.jpg
/home/nano/Desktop/images/12072025/10/54/image_12072025_10_55_03_9629.jpg
/home/nano/Desktop/images/12072025/10/54/image_12072025_10_54_54_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870376","1371870379","1371870372","1371870377","1371870371","1371870374"],"photo_ids_order":["1371870371","1371870372","1371870374","1371870376","1371870377","1371870379"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3848967569e2b8d2d1da27c08a644617.jpg","text":"TemporaryFile(/tmp/multipartBody7902077330890526103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310608485,"filename":"image_12072025_10_55_14_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7582d96e11dc9c0bec3bd215f6c9c8d.jpg","text":"TemporaryFile(/tmp/multipartBody8012631347926066134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310608485,"filename":"image_12072025_10_54_54_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81bfeaee6c8d2e286114c78d93d87bc2.jpg","text":"TemporaryFile(/tmp/multipartBody1392178393002960289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310608485,"filename":"image_12072025_10_55_34_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47559a33a5d6ab34fd591eb15341a125.jpg","text":"TemporaryFile(/tmp/multipartBody2561402859281261168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310608485,"filename":"image_12072025_10_55_03_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9312740572aa261554ad837d648bbbc.jpg","text":"TemporaryFile(/tmp/multipartBody3813767700553326716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310608485,"filename":"image_12072025_10_55_44_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85b88fdcdb04de348228c825cfc54e09.jpg","text":"TemporaryFile(/tmp/multipartBody1274748357906823633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310608485,"filename":"image_12072025_10_55_23_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870374","file1":"1371870372","file0":"1371870371","file4":"1371870377","file5":"1371870379","file3":"1371870376"},"map_files_photo_id_array":[{"photo_id":"1371870379","filename":"file5"},{"photo_id":"1371870374","filename":"file2"},{"photo_id":"1371870377","filename":"file4"},{"photo_id":"1371870372","filename":"file1"},{"photo_id":"1371870371","filename":"file0"},{"photo_id":"1371870376","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371870376":["hashtag1","hashtag2"]},{"1371870379":["hashtag1","hashtag2"]},{"1371870372":["hashtag1","hashtag2"]},{"1371870377":["hashtag1","hashtag2"]},{"1371870371":["hashtag1","hashtag2"]},{"1371870374":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371870376, 1371870379, 1371870372, 1371870377, 1371870371, 1371870374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.112448930740356 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:56:32.180294
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_43_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_34_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_23_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_13_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/10/55/image_12072025_10_56_04_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_53_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_43_9611.jpg', '/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_34_10625.jpg', '/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_23_9607.jpg', '/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_13_9630.jpg', '/home/nano/Desktop/images/12072025/10/55/image_12072025_10_56_04_10622.jpg', '/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_53_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_43_9611.jpg
/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_34_10625.jpg
/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_23_9607.jpg
/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_13_9630.jpg
/home/nano/Desktop/images/12072025/10/55/image_12072025_10_56_04_10622.jpg
/home/nano/Desktop/images/12072025/10/55/image_12072025_10_55_53_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870382","1371870385","1371870384","1371870387","1371870383","1371870386"],"photo_ids_order":["1371870382","1371870383","1371870384","1371870385","1371870386","1371870387"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2385c56bb5fdb951510b6b0ce97db0b.jpg","text":"TemporaryFile(/tmp/multipartBody713120657671057465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310653496,"filename":"image_12072025_10_56_43_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72b523acd43fd52679c66364ab76a037.jpg","text":"TemporaryFile(/tmp/multipartBody5232114662453263228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310653496,"filename":"image_12072025_10_56_13_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6694955cd7fc2f49e0f08be76615703.jpg","text":"TemporaryFile(/tmp/multipartBody219229515401524956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310653496,"filename":"image_12072025_10_56_23_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af53e300041445d059b35c4e7a28e04e.jpg","text":"TemporaryFile(/tmp/multipartBody6255566002367553927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310653496,"filename":"image_12072025_10_55_53_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5a6d1ae76bb55b219ba71dc95d45032.jpg","text":"TemporaryFile(/tmp/multipartBody611418997451346646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310653496,"filename":"image_12072025_10_56_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a323be55792df9c693df5c23ea82122.jpg","text":"TemporaryFile(/tmp/multipartBody8430374938582043814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310653496,"filename":"image_12072025_10_56_04_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870384","file1":"1371870383","file0":"1371870382","file4":"1371870386","file5":"1371870387","file3":"1371870385"},"map_files_photo_id_array":[{"photo_id":"1371870387","filename":"file5"},{"photo_id":"1371870384","filename":"file2"},{"photo_id":"1371870386","filename":"file4"},{"photo_id":"1371870383","filename":"file1"},{"photo_id":"1371870382","filename":"file0"},{"photo_id":"1371870385","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371870382":["hashtag1","hashtag2"]},{"1371870385":["hashtag1","hashtag2"]},{"1371870384":["hashtag1","hashtag2"]},{"1371870387":["hashtag1","hashtag2"]},{"1371870383":["hashtag1","hashtag2"]},{"1371870386":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371870382, 1371870385, 1371870384, 1371870387, 1371870383, 1371870386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.353137254714966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:57:17.235657
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_43_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_34_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_24_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_13_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/10/56/image_12072025_10_57_04_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_43_9634.jpg', '/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_34_9651.jpg', '/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_24_10666.jpg', '/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_13_9647.jpg', '/home/nano/Desktop/images/12072025/10/56/image_12072025_10_57_04_9625.jpg', '/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_43_9634.jpg
/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_34_9651.jpg
/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_24_10666.jpg
/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_13_9647.jpg
/home/nano/Desktop/images/12072025/10/56/image_12072025_10_57_04_9625.jpg
/home/nano/Desktop/images/12072025/10/56/image_12072025_10_56_54_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371870754","1371870594","1371870645","1371870705","1371870491","1371870545"],"photo_ids_order":["1371870491","1371870545","1371870594","1371870645","1371870705","1371870754"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b743a5de7b2c7350116ad14df7a44416.jpg","text":"TemporaryFile(/tmp/multipartBody2468697841562297685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310698969,"filename":"image_12072025_10_56_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b328c4dabf768e25c76c3fccf03118cc.jpg","text":"TemporaryFile(/tmp/multipartBody2576406450565756894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310698969,"filename":"image_12072025_10_57_24_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2dcfe4381deca5eefba1afe4cf181d24.jpg","text":"TemporaryFile(/tmp/multipartBody1030821302319093116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310698969,"filename":"image_12072025_10_57_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0942e4fe0399798253fec8d9528ebddb.jpg","text":"TemporaryFile(/tmp/multipartBody3302698938719971679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310698969,"filename":"image_12072025_10_57_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2816098ae59030d0fa21c1b4c9d602fe.jpg","text":"TemporaryFile(/tmp/multipartBody5177872403614551054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310698969,"filename":"image_12072025_10_57_43_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06275987cc3a616b8ad9743c5c963ce5.jpg","text":"TemporaryFile(/tmp/multipartBody5239960245833835944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310698969,"filename":"image_12072025_10_57_34_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371870594","file1":"1371870545","file0":"1371870491","file4":"1371870705","file5":"1371870754","file3":"1371870645"},"map_files_photo_id_array":[{"photo_id":"1371870754","filename":"file5"},{"photo_id":"1371870594","filename":"file2"},{"photo_id":"1371870705","filename":"file4"},{"photo_id":"1371870545","filename":"file1"},{"photo_id":"1371870491","filename":"file0"},{"photo_id":"1371870645","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371870754":["hashtag1","hashtag2"]},{"1371870594":["hashtag1","hashtag2"]},{"1371870645":["hashtag1","hashtag2"]},{"1371870705":["hashtag1","hashtag2"]},{"1371870491":["hashtag1","hashtag2"]},{"1371870545":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371870754, 1371870594, 1371870645, 1371870705, 1371870491, 1371870545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39866065979004 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:59:03.742473
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_44_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_33_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_24_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_13_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/10/57/image_12072025_10_58_03_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_54_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_44_10615.jpg', '/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_33_9602.jpg', '/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_24_10619.jpg', '/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_13_9629.jpg', '/home/nano/Desktop/images/12072025/10/57/image_12072025_10_58_03_9623.jpg', '/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_54_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_44_10615.jpg
/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_33_9602.jpg
/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_24_10619.jpg
/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_13_9629.jpg
/home/nano/Desktop/images/12072025/10/57/image_12072025_10_58_03_9623.jpg
/home/nano/Desktop/images/12072025/10/57/image_12072025_10_57_54_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371871492","1371871387","1371871468","1371871417","1371871442","1371871511"],"photo_ids_order":["1371871387","1371871417","1371871442","1371871468","1371871492","1371871511"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/750c048099916cd191fd3e7517bc1982.jpg","text":"TemporaryFile(/tmp/multipartBody469576615968258027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310805332,"filename":"image_12072025_10_58_03_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b69faa4aa8381d3c458f45768ef37bd5.jpg","text":"TemporaryFile(/tmp/multipartBody2725700400583149637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310805332,"filename":"image_12072025_10_58_44_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5eebd04ab01d8c87a327dcc8134d5f11.jpg","text":"TemporaryFile(/tmp/multipartBody3965144541263808974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310805332,"filename":"image_12072025_10_58_13_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ecc979f70b20edc4105cf67f7ee3fa27.jpg","text":"TemporaryFile(/tmp/multipartBody1535501395338081468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310805332,"filename":"image_12072025_10_58_33_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe48b97b63d1ba5f06e691ec7f76728e.jpg","text":"TemporaryFile(/tmp/multipartBody3656863268792689596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310805332,"filename":"image_12072025_10_58_24_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16bdab81a590c73ebb0d4c72c62b4467.jpg","text":"TemporaryFile(/tmp/multipartBody3503493144786698118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310805332,"filename":"image_12072025_10_57_54_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371871442","file1":"1371871417","file0":"1371871387","file4":"1371871492","file5":"1371871511","file3":"1371871468"},"map_files_photo_id_array":[{"photo_id":"1371871511","filename":"file5"},{"photo_id":"1371871442","filename":"file2"},{"photo_id":"1371871492","filename":"file4"},{"photo_id":"1371871417","filename":"file1"},{"photo_id":"1371871387","filename":"file0"},{"photo_id":"1371871468","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371871492":["hashtag1","hashtag2"]},{"1371871387":["hashtag1","hashtag2"]},{"1371871468":["hashtag1","hashtag2"]},{"1371871417":["hashtag1","hashtag2"]},{"1371871442":["hashtag1","hashtag2"]},{"1371871511":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371871492, 1371871387, 1371871468, 1371871417, 1371871442, 1371871511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77101945877075 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 10:59:47.776052
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_44_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_23_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_14_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/10/58/image_12072025_10_59_03_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_54_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_44_9612.jpg', '/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_34_10623.jpg', '/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_23_9603.jpg', '/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_14_10646.jpg', '/home/nano/Desktop/images/12072025/10/58/image_12072025_10_59_03_9616.jpg', '/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_54_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_44_9612.jpg
/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_34_10623.jpg
/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_23_9603.jpg
/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_14_10646.jpg
/home/nano/Desktop/images/12072025/10/58/image_12072025_10_59_03_9616.jpg
/home/nano/Desktop/images/12072025/10/58/image_12072025_10_58_54_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371871601","1371871603","1371871606","1371871575","1371871599","1371871598"],"photo_ids_order":["1371871575","1371871598","1371871599","1371871601","1371871603","1371871606"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/675da0e137949764a3c145399330132f.jpg","text":"TemporaryFile(/tmp/multipartBody2904567881806692478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310850665,"filename":"image_12072025_10_59_14_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60b16f8606cf57202ef1747509fef854.jpg","text":"TemporaryFile(/tmp/multipartBody4679701547561651690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310850665,"filename":"image_12072025_10_59_03_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a407e9d7d8c64af22a29bf9f6251daac.jpg","text":"TemporaryFile(/tmp/multipartBody8854675460898207019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310850665,"filename":"image_12072025_10_58_54_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/581f11a3b7aaec8b99f61fd12c8e392c.jpg","text":"TemporaryFile(/tmp/multipartBody8282213988484625714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310850665,"filename":"image_12072025_10_59_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f97ac5d843f4001be2bdc9d04151fb40.jpg","text":"TemporaryFile(/tmp/multipartBody1070227344252054678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310850665,"filename":"image_12072025_10_59_23_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20a37ecefad0a5d4c14deafd46e7448c.jpg","text":"TemporaryFile(/tmp/multipartBody6438158360570786114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310850665,"filename":"image_12072025_10_59_34_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371871599","file1":"1371871598","file0":"1371871575","file4":"1371871603","file5":"1371871606","file3":"1371871601"},"map_files_photo_id_array":[{"photo_id":"1371871606","filename":"file5"},{"photo_id":"1371871599","filename":"file2"},{"photo_id":"1371871603","filename":"file4"},{"photo_id":"1371871598","filename":"file1"},{"photo_id":"1371871575","filename":"file0"},{"photo_id":"1371871601","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371871601":["hashtag1","hashtag2"]},{"1371871603":["hashtag1","hashtag2"]},{"1371871606":["hashtag1","hashtag2"]},{"1371871575":["hashtag1","hashtag2"]},{"1371871599":["hashtag1","hashtag2"]},{"1371871598":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371871601, 1371871603, 1371871606, 1371871575, 1371871599, 1371871598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8697190284729 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:00:31.874727
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_43_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_34_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_23_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_14_9673.jpg', 2), ('/home/nano/Desktop/images/12072025/10/59/image_12072025_11_00_04_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_53_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_43_9628.jpg', '/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_34_10644.jpg', '/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_23_9623.jpg', '/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_14_9673.jpg', '/home/nano/Desktop/images/12072025/10/59/image_12072025_11_00_04_10645.jpg', '/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_53_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_43_9628.jpg
/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_34_10644.jpg
/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_23_9623.jpg
/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_14_9673.jpg
/home/nano/Desktop/images/12072025/10/59/image_12072025_11_00_04_10645.jpg
/home/nano/Desktop/images/12072025/10/59/image_12072025_10_59_53_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371871777","1371871840","1371871872","1371871920","1371871731","1371871754"],"photo_ids_order":["1371871731","1371871754","1371871777","1371871840","1371871872","1371871920"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1ec02801ca7ebb31ba6f5ee857b7bdf.jpg","text":"TemporaryFile(/tmp/multipartBody116966844814061477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310893799,"filename":"image_12072025_11_00_23_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7731bd0cda0a2afc76979a69fd817324.jpg","text":"TemporaryFile(/tmp/multipartBody5257535619028102164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310893799,"filename":"image_12072025_11_00_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f8afd43cb9248a0f90bda5c671e8616.jpg","text":"TemporaryFile(/tmp/multipartBody7428896053348440853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310893799,"filename":"image_12072025_11_00_04_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c586b4dea9fc8c9a7e06f15ca91e176.jpg","text":"TemporaryFile(/tmp/multipartBody4300633145281058811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310893799,"filename":"image_12072025_10_59_53_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c5b62e14613323989c332fcf5536334.jpg","text":"TemporaryFile(/tmp/multipartBody3565470796611248673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310893799,"filename":"image_12072025_11_00_43_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c06cf0de98528f236d67cde198259921.jpg","text":"TemporaryFile(/tmp/multipartBody4707705586848891653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310893799,"filename":"image_12072025_11_00_34_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371871777","file1":"1371871754","file0":"1371871731","file4":"1371871872","file5":"1371871920","file3":"1371871840"},"map_files_photo_id_array":[{"photo_id":"1371871920","filename":"file5"},{"photo_id":"1371871777","filename":"file2"},{"photo_id":"1371871872","filename":"file4"},{"photo_id":"1371871754","filename":"file1"},{"photo_id":"1371871731","filename":"file0"},{"photo_id":"1371871840","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371871777":["hashtag1","hashtag2"]},{"1371871840":["hashtag1","hashtag2"]},{"1371871872":["hashtag1","hashtag2"]},{"1371871920":["hashtag1","hashtag2"]},{"1371871731":["hashtag1","hashtag2"]},{"1371871754":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371871777, 1371871840, 1371871872, 1371871920, 1371871731, 1371871754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.43652534484863 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:01:16.947928
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_43_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_24_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_13_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/11/00/image_12072025_11_01_04_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_53_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_43_9616.jpg', '/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_34_9639.jpg', '/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_24_10624.jpg', '/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_13_9633.jpg', '/home/nano/Desktop/images/12072025/11/00/image_12072025_11_01_04_10656.jpg', '/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_53_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_43_9616.jpg
/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_34_9639.jpg
/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_24_10624.jpg
/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_13_9633.jpg
/home/nano/Desktop/images/12072025/11/00/image_12072025_11_01_04_10656.jpg
/home/nano/Desktop/images/12072025/11/00/image_12072025_11_00_53_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371872434","1371872335","1371872265","1371872145","1371872616","1371872525"],"photo_ids_order":["1371872145","1371872265","1371872335","1371872434","1371872525","1371872616"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/867535ab02c627d5012acf918af472b0.jpg","text":"TemporaryFile(/tmp/multipartBody7751586468377548875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310938479,"filename":"image_12072025_11_01_13_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4de5df2951080000969062edaf864bf.jpg","text":"TemporaryFile(/tmp/multipartBody6445043937926698326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310938479,"filename":"image_12072025_11_01_24_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/401f5669423971bc931162393f021c82.jpg","text":"TemporaryFile(/tmp/multipartBody6462176542770967249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310938479,"filename":"image_12072025_11_01_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dad386fc732330b5db59e7a3edea9db0.jpg","text":"TemporaryFile(/tmp/multipartBody1646173281215120705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310938479,"filename":"image_12072025_11_01_43_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/605ce5f2941b3f3af0ca14a79e50c0d9.jpg","text":"TemporaryFile(/tmp/multipartBody2875784909648282958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310938479,"filename":"image_12072025_11_00_53_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f38186d73d4ed749fbcf08e9c585537.jpg","text":"TemporaryFile(/tmp/multipartBody8230095105821982730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310938479,"filename":"image_12072025_11_01_04_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371872335","file1":"1371872265","file0":"1371872145","file4":"1371872525","file5":"1371872616","file3":"1371872434"},"map_files_photo_id_array":[{"photo_id":"1371872616","filename":"file5"},{"photo_id":"1371872335","filename":"file2"},{"photo_id":"1371872525","filename":"file4"},{"photo_id":"1371872265","filename":"file1"},{"photo_id":"1371872145","filename":"file0"},{"photo_id":"1371872434","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371872434":["hashtag1","hashtag2"]},{"1371872335":["hashtag1","hashtag2"]},{"1371872265":["hashtag1","hashtag2"]},{"1371872145":["hashtag1","hashtag2"]},{"1371872616":["hashtag1","hashtag2"]},{"1371872525":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371872434, 1371872335, 1371872265, 1371872145, 1371872616, 1371872525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.44660973548889 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:02:02.508946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_34_10668.jpg', 2), ('/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_23_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_14_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/19/35/image_10072025_19_36_04_10649.jpg', 2), ('/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_53_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_44_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_34_10668.jpg', '/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_23_9649.jpg', '/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_14_9661.jpg', '/home/nano/Desktop/images/10072025/19/35/image_10072025_19_36_04_10649.jpg', '/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_53_9655.jpg', '/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_44_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_34_10668.jpg
/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_23_9649.jpg
/home/nano/Desktop/images/10072025/19/36/image_10072025_19_36_14_9661.jpg
/home/nano/Desktop/images/10072025/19/35/image_10072025_19_36_04_10649.jpg
/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_53_9655.jpg
/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_44_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371873060","1371873354","1371873231","1371873380","1371873306","1371873134"],"photo_ids_order":["1371873060","1371873134","1371873231","1371873306","1371873354","1371873380"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d139d5ef7e08546fda7b69f4f520a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3569976655502749723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310985985,"filename":"image_10072025_19_36_34_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f9f2edffe69ba5cd3b283bda250bbb0.jpg","text":"TemporaryFile(/tmp/multipartBody6858948605637731866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310985985,"filename":"image_10072025_19_35_53_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9652a50b6015aef8ff636c00683b3e0.jpg","text":"TemporaryFile(/tmp/multipartBody928981420145254597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310985985,"filename":"image_10072025_19_36_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45ec5fba82dea11a8ca66eb1d87ec0ca.jpg","text":"TemporaryFile(/tmp/multipartBody2695979809558027564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310985985,"filename":"image_10072025_19_35_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/582e0db5aadccbfb0ef9431e70010ed2.jpg","text":"TemporaryFile(/tmp/multipartBody8657016464576510091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310985985,"filename":"image_10072025_19_36_04_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3cbde9a2c01456d01febb5990a14d827.jpg","text":"TemporaryFile(/tmp/multipartBody7021168184239478191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752310985985,"filename":"image_10072025_19_36_23_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371873231","file1":"1371873134","file0":"1371873060","file4":"1371873354","file5":"1371873380","file3":"1371873306"},"map_files_photo_id_array":[{"photo_id":"1371873380","filename":"file5"},{"photo_id":"1371873231","filename":"file2"},{"photo_id":"1371873354","filename":"file4"},{"photo_id":"1371873134","filename":"file1"},{"photo_id":"1371873060","filename":"file0"},{"photo_id":"1371873306","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371873060":["hashtag1","hashtag2"]},{"1371873354":["hashtag1","hashtag2"]},{"1371873231":["hashtag1","hashtag2"]},{"1371873380":["hashtag1","hashtag2"]},{"1371873306":["hashtag1","hashtag2"]},{"1371873134":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371873060, 1371873354, 1371873231, 1371873380, 1371873306, 1371873134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5362389087677 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:02:47.083141
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_33_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_24_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_13_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/11/01/image_12072025_11_02_03_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_54_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_44_10622.jpg', '/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_33_9610.jpg', '/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_24_10627.jpg', '/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_13_9637.jpg', '/home/nano/Desktop/images/12072025/11/01/image_12072025_11_02_03_9611.jpg', '/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_54_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_44_10622.jpg
/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_33_9610.jpg
/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_24_10627.jpg
/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_13_9637.jpg
/home/nano/Desktop/images/12072025/11/01/image_12072025_11_02_03_9611.jpg
/home/nano/Desktop/images/12072025/11/01/image_12072025_11_01_54_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371873771","1371873687","1371873668","1371873701","1371873751","1371873727"],"photo_ids_order":["1371873668","1371873687","1371873701","1371873727","1371873751","1371873771"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df004f19152e3e39e2d728cb46db2a93.jpg","text":"TemporaryFile(/tmp/multipartBody7153277026806410589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311028806,"filename":"image_12072025_11_01_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78d29974def9bfd8662a87e52e8abb47.jpg","text":"TemporaryFile(/tmp/multipartBody8318582952206663902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311028806,"filename":"image_12072025_11_02_33_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8f3e7db462b0332ef06079393c9f78a.jpg","text":"TemporaryFile(/tmp/multipartBody7959769623361142467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311028806,"filename":"image_12072025_11_02_44_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9b43f9d97bcc10040981228a7c1ffc6.jpg","text":"TemporaryFile(/tmp/multipartBody6094432036657962794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311028806,"filename":"image_12072025_11_02_24_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91db859b9a5fefbb49e2fb333603b8e3.jpg","text":"TemporaryFile(/tmp/multipartBody1063401787632343425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311028806,"filename":"image_12072025_11_02_03_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76425a5253ecd94dcd052be0dd118712.jpg","text":"TemporaryFile(/tmp/multipartBody5474429007367660332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311028806,"filename":"image_12072025_11_02_13_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371873701","file1":"1371873687","file0":"1371873668","file4":"1371873751","file5":"1371873771","file3":"1371873727"},"map_files_photo_id_array":[{"photo_id":"1371873771","filename":"file5"},{"photo_id":"1371873701","filename":"file2"},{"photo_id":"1371873751","filename":"file4"},{"photo_id":"1371873687","filename":"file1"},{"photo_id":"1371873668","filename":"file0"},{"photo_id":"1371873727","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371873771":["hashtag1","hashtag2"]},{"1371873687":["hashtag1","hashtag2"]},{"1371873668":["hashtag1","hashtag2"]},{"1371873701":["hashtag1","hashtag2"]},{"1371873751":["hashtag1","hashtag2"]},{"1371873727":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371873771, 1371873687, 1371873668, 1371873701, 1371873751, 1371873727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3738329410553 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:03:32.214585
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_44_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_24_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_14_10737.jpg', 2), ('/home/nano/Desktop/images/12072025/11/02/image_12072025_11_03_03_9698.jpg', 2), ('/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_54_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_44_10613.jpg', '/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_33_9608.jpg', '/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_24_9625.jpg', '/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_14_10737.jpg', '/home/nano/Desktop/images/12072025/11/02/image_12072025_11_03_03_9698.jpg', '/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_54_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_44_10613.jpg
/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_33_9608.jpg
/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_24_9625.jpg
/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_14_10737.jpg
/home/nano/Desktop/images/12072025/11/02/image_12072025_11_03_03_9698.jpg
/home/nano/Desktop/images/12072025/11/02/image_12072025_11_02_54_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371873954","1371873840","1371873983","1371873892","1371873925","1371873867"],"photo_ids_order":["1371873840","1371873867","1371873892","1371873925","1371873954","1371873983"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4aa235cd59ba79b4fb5d0c1b7aad4112.jpg","text":"TemporaryFile(/tmp/multipartBody2760895981795478036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311074188,"filename":"image_12072025_11_03_03_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8d8596d499949d7cf61930abc30bfc4.jpg","text":"TemporaryFile(/tmp/multipartBody7496967707337350938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311074188,"filename":"image_12072025_11_03_44_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d08ffeac1580f4adcac59d7620e4d1ac.jpg","text":"TemporaryFile(/tmp/multipartBody5607474110152359185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311074188,"filename":"image_12072025_11_02_54_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4c793847ccc90e662788b4bbbf19979.jpg","text":"TemporaryFile(/tmp/multipartBody6703138939774951308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311074188,"filename":"image_12072025_11_03_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c4bc06c6a1d40e8ac06df84575789ba.jpg","text":"TemporaryFile(/tmp/multipartBody2249238691538151838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311074188,"filename":"image_12072025_11_03_14_10737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5af306868ca4018637c9ee5e7296e878.jpg","text":"TemporaryFile(/tmp/multipartBody7797071578168447660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311074188,"filename":"image_12072025_11_03_33_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371873892","file1":"1371873867","file0":"1371873840","file4":"1371873954","file5":"1371873983","file3":"1371873925"},"map_files_photo_id_array":[{"photo_id":"1371873983","filename":"file5"},{"photo_id":"1371873892","filename":"file2"},{"photo_id":"1371873954","filename":"file4"},{"photo_id":"1371873867","filename":"file1"},{"photo_id":"1371873840","filename":"file0"},{"photo_id":"1371873925","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371873954":["hashtag1","hashtag2"]},{"1371873840":["hashtag1","hashtag2"]},{"1371873983":["hashtag1","hashtag2"]},{"1371873892":["hashtag1","hashtag2"]},{"1371873925":["hashtag1","hashtag2"]},{"1371873867":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371873954, 1371873840, 1371873983, 1371873892, 1371873925, 1371873867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21968984603882 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:04:17.277844
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_44_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_23_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_14_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/11/03/image_12072025_11_04_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_54_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_44_9608.jpg', '/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_34_10620.jpg', '/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_23_9615.jpg', '/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_14_10649.jpg', '/home/nano/Desktop/images/12072025/11/03/image_12072025_11_04_03_9645.jpg', '/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_44_9608.jpg
/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_34_10620.jpg
/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_23_9615.jpg
/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_14_10649.jpg
/home/nano/Desktop/images/12072025/11/03/image_12072025_11_04_03_9645.jpg
/home/nano/Desktop/images/12072025/11/03/image_12072025_11_03_54_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874143","1371874184","1371874112","1371874111","1371874120","1371874167"],"photo_ids_order":["1371874111","1371874112","1371874120","1371874143","1371874167","1371874184"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4300538cd6528d28c9114ea2b755e635.jpg","text":"TemporaryFile(/tmp/multipartBody7568231934039037496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311118862,"filename":"image_12072025_11_04_14_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0551d93d552df7667fa96d15bf09436f.jpg","text":"TemporaryFile(/tmp/multipartBody4046466193206996580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311118862,"filename":"image_12072025_11_03_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8797ea227310a8930b3533a2c306da7b.jpg","text":"TemporaryFile(/tmp/multipartBody8392615125067307971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311118862,"filename":"image_12072025_11_04_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1bf5995536c88fbeb1cf6da8135117d0.jpg","text":"TemporaryFile(/tmp/multipartBody5727850981757511671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311118862,"filename":"image_12072025_11_04_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a43168dcda0845c25f5dca950f5ffa07.jpg","text":"TemporaryFile(/tmp/multipartBody8999571909917193061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311118862,"filename":"image_12072025_11_04_23_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22fb0eec1613108eb300635e01d8f2c1.jpg","text":"TemporaryFile(/tmp/multipartBody7310757221016560003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311118862,"filename":"image_12072025_11_04_03_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874120","file1":"1371874112","file0":"1371874111","file4":"1371874167","file5":"1371874184","file3":"1371874143"},"map_files_photo_id_array":[{"photo_id":"1371874184","filename":"file5"},{"photo_id":"1371874120","filename":"file2"},{"photo_id":"1371874167","filename":"file4"},{"photo_id":"1371874112","filename":"file1"},{"photo_id":"1371874111","filename":"file0"},{"photo_id":"1371874143","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874143":["hashtag1","hashtag2"]},{"1371874184":["hashtag1","hashtag2"]},{"1371874112":["hashtag1","hashtag2"]},{"1371874111":["hashtag1","hashtag2"]},{"1371874120":["hashtag1","hashtag2"]},{"1371874167":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874143, 1371874184, 1371874112, 1371874111, 1371874120, 1371874167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.930516719818115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:05:03.133923
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_34_10671.jpg', 2), ('/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_23_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_14_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/19/34/image_10072025_19_35_04_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_53_9709.jpg', 2), ('/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_44_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_34_10671.jpg', '/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_23_9662.jpg', '/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_14_9648.jpg', '/home/nano/Desktop/images/10072025/19/34/image_10072025_19_35_04_10661.jpg', '/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_53_9709.jpg', '/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_44_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_34_10671.jpg
/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_23_9662.jpg
/home/nano/Desktop/images/10072025/19/35/image_10072025_19_35_14_9648.jpg
/home/nano/Desktop/images/10072025/19/34/image_10072025_19_35_04_10661.jpg
/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_53_9709.jpg
/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_44_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874257","1371874256","1371874253","1371874255","1371874258","1371874251"],"photo_ids_order":["1371874251","1371874253","1371874255","1371874256","1371874257","1371874258"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ebead36acd56a19240ac7d988fd7160.jpg","text":"TemporaryFile(/tmp/multipartBody6240572657911689148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311166178,"filename":"image_10072025_19_34_53_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d187bd3e1ed6cb7bb5a4973b74b83779.jpg","text":"TemporaryFile(/tmp/multipartBody6907976644624367848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311166178,"filename":"image_10072025_19_35_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d8ba81e6d2f435eb9eed07eb98b1faf.jpg","text":"TemporaryFile(/tmp/multipartBody2833256257154066582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311166178,"filename":"image_10072025_19_35_23_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9628e1c64e1331d68e1b4fbc4925deb4.jpg","text":"TemporaryFile(/tmp/multipartBody6818858545424041867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311166178,"filename":"image_10072025_19_35_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/adc7b3e6853854fb080dba710b8cd476.jpg","text":"TemporaryFile(/tmp/multipartBody4285808174227309789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311166178,"filename":"image_10072025_19_34_44_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/354ffe33913559cb52205d0ec1746039.jpg","text":"TemporaryFile(/tmp/multipartBody9214777035392650438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311166178,"filename":"image_10072025_19_35_34_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874255","file1":"1371874253","file0":"1371874251","file4":"1371874257","file5":"1371874258","file3":"1371874256"},"map_files_photo_id_array":[{"photo_id":"1371874258","filename":"file5"},{"photo_id":"1371874255","filename":"file2"},{"photo_id":"1371874257","filename":"file4"},{"photo_id":"1371874253","filename":"file1"},{"photo_id":"1371874251","filename":"file0"},{"photo_id":"1371874256","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371874257":["hashtag1","hashtag2"]},{"1371874256":["hashtag1","hashtag2"]},{"1371874253":["hashtag1","hashtag2"]},{"1371874255":["hashtag1","hashtag2"]},{"1371874258":["hashtag1","hashtag2"]},{"1371874251":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371874257, 1371874256, 1371874253, 1371874255, 1371874258, 1371874251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20740723609924 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:05:47.398782
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_43_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_23_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_14_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/11/04/image_12072025_11_05_04_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_53_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_43_9604.jpg', '/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_34_10620.jpg', '/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_23_9614.jpg', '/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_14_9625.jpg', '/home/nano/Desktop/images/12072025/11/04/image_12072025_11_05_04_10626.jpg', '/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_53_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_43_9604.jpg
/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_34_10620.jpg
/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_23_9614.jpg
/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_14_9625.jpg
/home/nano/Desktop/images/12072025/11/04/image_12072025_11_05_04_10626.jpg
/home/nano/Desktop/images/12072025/11/04/image_12072025_11_04_53_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874262","1371874271","1371874267","1371874264","1371874266","1371874269"],"photo_ids_order":["1371874262","1371874264","1371874266","1371874267","1371874269","1371874271"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0069261e422fa2fb77f44e2cfc6823d.jpg","text":"TemporaryFile(/tmp/multipartBody5636107848962867654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311208824,"filename":"image_12072025_11_05_43_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59cdd8b21cc81f9d85f82b9c0afd84cc.jpg","text":"TemporaryFile(/tmp/multipartBody1319635164062575364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311208824,"filename":"image_12072025_11_04_53_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b3f47918ed751ec290376c13314a452.jpg","text":"TemporaryFile(/tmp/multipartBody565125327991717336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311208824,"filename":"image_12072025_11_05_14_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/387d599bcf1afc4d4fdba0557ace4db3.jpg","text":"TemporaryFile(/tmp/multipartBody7006325151506063591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311208824,"filename":"image_12072025_11_05_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dadbfabd81a2aa2371fb95b06d055003.jpg","text":"TemporaryFile(/tmp/multipartBody8682801687465224480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311208824,"filename":"image_12072025_11_05_23_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3208df33694da83c4e195b659b97d9de.jpg","text":"TemporaryFile(/tmp/multipartBody4219779484848551396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311208824,"filename":"image_12072025_11_05_04_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874266","file1":"1371874264","file0":"1371874262","file4":"1371874269","file5":"1371874271","file3":"1371874267"},"map_files_photo_id_array":[{"photo_id":"1371874271","filename":"file5"},{"photo_id":"1371874266","filename":"file2"},{"photo_id":"1371874269","filename":"file4"},{"photo_id":"1371874264","filename":"file1"},{"photo_id":"1371874262","filename":"file0"},{"photo_id":"1371874267","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874262":["hashtag1","hashtag2"]},{"1371874271":["hashtag1","hashtag2"]},{"1371874267":["hashtag1","hashtag2"]},{"1371874264":["hashtag1","hashtag2"]},{"1371874266":["hashtag1","hashtag2"]},{"1371874269":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874262, 1371874271, 1371874267, 1371874264, 1371874266, 1371874269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.843158721923828 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:06:32.515092
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_43_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_33_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_24_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/11/05/image_12072025_11_06_04_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_54_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_43_9607.jpg', '/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_33_9605.jpg', '/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_24_10615.jpg', '/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_13_9659.jpg', '/home/nano/Desktop/images/12072025/11/05/image_12072025_11_06_04_9607.jpg', '/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_54_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_43_9607.jpg
/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_33_9605.jpg
/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_24_10615.jpg
/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_13_9659.jpg
/home/nano/Desktop/images/12072025/11/05/image_12072025_11_06_04_9607.jpg
/home/nano/Desktop/images/12072025/11/05/image_12072025_11_05_54_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874274","1371874279","1371874282","1371874276","1371874278","1371874275"],"photo_ids_order":["1371874274","1371874275","1371874276","1371874278","1371874279","1371874282"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e773b26de9f1c76dfb136a0ba47c3ab5.jpg","text":"TemporaryFile(/tmp/multipartBody1189870098748692528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311254191,"filename":"image_12072025_11_06_43_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/282f301335f59e0f4ec9cc0b7f6ce991.jpg","text":"TemporaryFile(/tmp/multipartBody6782930592399651910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311254191,"filename":"image_12072025_11_06_04_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aca111569519c9462504fdef8aa6ae93.jpg","text":"TemporaryFile(/tmp/multipartBody3676278692798644508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311254191,"filename":"image_12072025_11_05_54_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f17cb1eb453ef2b1e57370db9fe2a1b7.jpg","text":"TemporaryFile(/tmp/multipartBody7531058752065706312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311254191,"filename":"image_12072025_11_06_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01658797b2a606d966afd06ce6fea661.jpg","text":"TemporaryFile(/tmp/multipartBody1068773585238452814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311254191,"filename":"image_12072025_11_06_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7ed594e0c7f3c355ae8849c8da6c515.jpg","text":"TemporaryFile(/tmp/multipartBody1039940126919337951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311254191,"filename":"image_12072025_11_06_33_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874276","file1":"1371874275","file0":"1371874274","file4":"1371874279","file5":"1371874282","file3":"1371874278"},"map_files_photo_id_array":[{"photo_id":"1371874282","filename":"file5"},{"photo_id":"1371874276","filename":"file2"},{"photo_id":"1371874279","filename":"file4"},{"photo_id":"1371874275","filename":"file1"},{"photo_id":"1371874274","filename":"file0"},{"photo_id":"1371874278","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874274":["hashtag1","hashtag2"]},{"1371874279":["hashtag1","hashtag2"]},{"1371874282":["hashtag1","hashtag2"]},{"1371874276":["hashtag1","hashtag2"]},{"1371874278":["hashtag1","hashtag2"]},{"1371874275":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874274, 1371874279, 1371874282, 1371874276, 1371874278, 1371874275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.474350452423096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:07:17.660054
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_44_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_33_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_24_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_14_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/11/06/image_12072025_11_07_03_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_54_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_44_10628.jpg', '/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_33_9612.jpg', '/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_24_9611.jpg', '/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_14_10645.jpg', '/home/nano/Desktop/images/12072025/11/06/image_12072025_11_07_03_9616.jpg', '/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_54_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_44_10628.jpg
/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_33_9612.jpg
/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_24_9611.jpg
/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_14_10645.jpg
/home/nano/Desktop/images/12072025/11/06/image_12072025_11_07_03_9616.jpg
/home/nano/Desktop/images/12072025/11/06/image_12072025_11_06_54_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874289","1371874291","1371874294","1371874288","1371874293","1371874287"],"photo_ids_order":["1371874287","1371874288","1371874289","1371874291","1371874293","1371874294"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74a7565ba1854b17605798072d49154d.jpg","text":"TemporaryFile(/tmp/multipartBody2865762166345464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311299405,"filename":"image_12072025_11_07_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f98bc14209edece003f932385fe61e22.jpg","text":"TemporaryFile(/tmp/multipartBody6227094157336097123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311299405,"filename":"image_12072025_11_07_14_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd43a548aec7c0ffb3ab3fd78228ce34.jpg","text":"TemporaryFile(/tmp/multipartBody2709674181893126007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311299405,"filename":"image_12072025_11_06_54_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2a9b63cd0ca2634702994166c61c5db.jpg","text":"TemporaryFile(/tmp/multipartBody1649231715953666296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311299405,"filename":"image_12072025_11_07_33_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9667c7d84b753f75cbdb1941234a37ab.jpg","text":"TemporaryFile(/tmp/multipartBody7480210800665737706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311299405,"filename":"image_12072025_11_07_03_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d72d94136bb59610bbfc351a573531c.jpg","text":"TemporaryFile(/tmp/multipartBody2569551680733156207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311299405,"filename":"image_12072025_11_07_44_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874289","file1":"1371874288","file0":"1371874287","file4":"1371874293","file5":"1371874294","file3":"1371874291"},"map_files_photo_id_array":[{"photo_id":"1371874294","filename":"file5"},{"photo_id":"1371874289","filename":"file2"},{"photo_id":"1371874293","filename":"file4"},{"photo_id":"1371874288","filename":"file1"},{"photo_id":"1371874287","filename":"file0"},{"photo_id":"1371874291","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874289":["hashtag1","hashtag2"]},{"1371874291":["hashtag1","hashtag2"]},{"1371874294":["hashtag1","hashtag2"]},{"1371874288":["hashtag1","hashtag2"]},{"1371874293":["hashtag1","hashtag2"]},{"1371874287":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874289, 1371874291, 1371874294, 1371874288, 1371874293, 1371874287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15711522102356 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:08:03.185933
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_33_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_23_9617.jpg', 2), ('/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_14_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/19/33/image_10072025_19_34_03_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_54_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_44_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_33_9631.jpg', '/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_23_9617.jpg', '/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_14_10657.jpg', '/home/nano/Desktop/images/10072025/19/33/image_10072025_19_34_03_9641.jpg', '/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_54_9614.jpg', '/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_44_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_33_9631.jpg
/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_23_9617.jpg
/home/nano/Desktop/images/10072025/19/34/image_10072025_19_34_14_10657.jpg
/home/nano/Desktop/images/10072025/19/33/image_10072025_19_34_03_9641.jpg
/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_54_9614.jpg
/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_44_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874308","1371874310","1371874313","1371874304","1371874312","1371874306"],"photo_ids_order":["1371874304","1371874306","1371874308","1371874310","1371874312","1371874313"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f78aa047936c5d75a7d328450f6725c3.jpg","text":"TemporaryFile(/tmp/multipartBody8019613623282838920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311345557,"filename":"image_10072025_19_34_14_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60e782b6bf1e9ad0e9a1d9226ea01622.jpg","text":"TemporaryFile(/tmp/multipartBody3482777044251086493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311345557,"filename":"image_10072025_19_34_03_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20920533c6f64132337bf89b04fc39b2.jpg","text":"TemporaryFile(/tmp/multipartBody2530129399910762317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311345557,"filename":"image_10072025_19_33_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88f53c486f3a65e6ad9671fd2145ef08.jpg","text":"TemporaryFile(/tmp/multipartBody8415103811188080674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311345557,"filename":"image_10072025_19_34_33_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0f9206d47f49ad242c3937951a024ce.jpg","text":"TemporaryFile(/tmp/multipartBody5902039062054266844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311345557,"filename":"image_10072025_19_33_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00653ae6882b8b0bea6a867cfc37f727.jpg","text":"TemporaryFile(/tmp/multipartBody3240447767960916313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311345557,"filename":"image_10072025_19_34_23_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874308","file1":"1371874306","file0":"1371874304","file4":"1371874312","file5":"1371874313","file3":"1371874310"},"map_files_photo_id_array":[{"photo_id":"1371874313","filename":"file5"},{"photo_id":"1371874308","filename":"file2"},{"photo_id":"1371874312","filename":"file4"},{"photo_id":"1371874306","filename":"file1"},{"photo_id":"1371874304","filename":"file0"},{"photo_id":"1371874310","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371874308":["hashtag1","hashtag2"]},{"1371874310":["hashtag1","hashtag2"]},{"1371874313":["hashtag1","hashtag2"]},{"1371874304":["hashtag1","hashtag2"]},{"1371874312":["hashtag1","hashtag2"]},{"1371874306":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371874308, 1371874310, 1371874313, 1371874304, 1371874312, 1371874306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.894360065460205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:08:47.757293
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_44_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_34_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_23_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_14_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/11/07/image_12072025_11_08_04_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_53_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_44_9619.jpg', '/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_34_10624.jpg', '/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_23_9610.jpg', '/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_14_9644.jpg', '/home/nano/Desktop/images/12072025/11/07/image_12072025_11_08_04_10636.jpg', '/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_53_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_44_9619.jpg
/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_34_10624.jpg
/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_23_9610.jpg
/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_14_9644.jpg
/home/nano/Desktop/images/12072025/11/07/image_12072025_11_08_04_10636.jpg
/home/nano/Desktop/images/12072025/11/07/image_12072025_11_07_53_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874323","1371874317","1371874325","1371874319","1371874321","1371874326"],"photo_ids_order":["1371874317","1371874319","1371874321","1371874323","1371874325","1371874326"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b241fdd197d32cf0f667fde3c152d499.jpg","text":"TemporaryFile(/tmp/multipartBody5228539041423435691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311389370,"filename":"image_12072025_11_08_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb6f71780c473fbe9e3531b64121f83b.jpg","text":"TemporaryFile(/tmp/multipartBody6592842463163420443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311389370,"filename":"image_12072025_11_08_44_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f43adc4d583a36d981acb6ff3f10e826.jpg","text":"TemporaryFile(/tmp/multipartBody1705482433219092119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311389370,"filename":"image_12072025_11_08_04_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b76784f4254e860b95077a58ddecda96.jpg","text":"TemporaryFile(/tmp/multipartBody5354636900104484920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311389370,"filename":"image_12072025_11_08_34_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f959a72802a1b8e2a5ed33c175bdc755.jpg","text":"TemporaryFile(/tmp/multipartBody1708336358539457596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311389370,"filename":"image_12072025_11_08_23_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6252ebe274c46f23f40c12f1a79695ef.jpg","text":"TemporaryFile(/tmp/multipartBody6427656627583247629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311389370,"filename":"image_12072025_11_07_53_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874321","file1":"1371874319","file0":"1371874317","file4":"1371874325","file5":"1371874326","file3":"1371874323"},"map_files_photo_id_array":[{"photo_id":"1371874326","filename":"file5"},{"photo_id":"1371874321","filename":"file2"},{"photo_id":"1371874325","filename":"file4"},{"photo_id":"1371874319","filename":"file1"},{"photo_id":"1371874317","filename":"file0"},{"photo_id":"1371874323","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874323":["hashtag1","hashtag2"]},{"1371874317":["hashtag1","hashtag2"]},{"1371874325":["hashtag1","hashtag2"]},{"1371874319":["hashtag1","hashtag2"]},{"1371874321":["hashtag1","hashtag2"]},{"1371874326":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874323, 1371874317, 1371874325, 1371874319, 1371874321, 1371874326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.504502058029175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:09:31.861788
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_43_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_34_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_24_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_13_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/11/08/image_12072025_11_09_04_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_53_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_43_9615.jpg', '/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_34_9628.jpg', '/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_24_10623.jpg', '/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_13_9636.jpg', '/home/nano/Desktop/images/12072025/11/08/image_12072025_11_09_04_10625.jpg', '/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_53_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_43_9615.jpg
/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_34_9628.jpg
/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_24_10623.jpg
/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_13_9636.jpg
/home/nano/Desktop/images/12072025/11/08/image_12072025_11_09_04_10625.jpg
/home/nano/Desktop/images/12072025/11/08/image_12072025_11_08_53_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874356","1371874343","1371874334","1371874399","1371874372","1371874333"],"photo_ids_order":["1371874333","1371874334","1371874343","1371874356","1371874372","1371874399"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7a2c30b75ce20797eefc21f826eae74.jpg","text":"TemporaryFile(/tmp/multipartBody2192071308996761680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311434900,"filename":"image_12072025_11_09_13_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea8c7b159d389d1ac1a41597622b2be2.jpg","text":"TemporaryFile(/tmp/multipartBody2535426002164648243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311434900,"filename":"image_12072025_11_09_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11f22019d67aa54cb9dc38a176604f90.jpg","text":"TemporaryFile(/tmp/multipartBody4867930159577347302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311434900,"filename":"image_12072025_11_09_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6896285d9eb2668270178f459f6f0ba.jpg","text":"TemporaryFile(/tmp/multipartBody750803711356944407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311434900,"filename":"image_12072025_11_08_53_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb6eead1e287d6521e1a031a6c12dc10.jpg","text":"TemporaryFile(/tmp/multipartBody1411476410654991514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311434900,"filename":"image_12072025_11_09_04_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/022c6725a42567eaf2fe07c85fc71d67.jpg","text":"TemporaryFile(/tmp/multipartBody2736629961427851441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311434900,"filename":"image_12072025_11_09_43_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874343","file1":"1371874334","file0":"1371874333","file4":"1371874372","file5":"1371874399","file3":"1371874356"},"map_files_photo_id_array":[{"photo_id":"1371874399","filename":"file5"},{"photo_id":"1371874343","filename":"file2"},{"photo_id":"1371874372","filename":"file4"},{"photo_id":"1371874334","filename":"file1"},{"photo_id":"1371874333","filename":"file0"},{"photo_id":"1371874356","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874356":["hashtag1","hashtag2"]},{"1371874343":["hashtag1","hashtag2"]},{"1371874334":["hashtag1","hashtag2"]},{"1371874399":["hashtag1","hashtag2"]},{"1371874372":["hashtag1","hashtag2"]},{"1371874333":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874356, 1371874343, 1371874334, 1371874399, 1371874372, 1371874333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09869432449341 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:10:17.040497
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_43_9696.jpg', 2), ('/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_33_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_24_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_13_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/11/09/image_12072025_11_10_04_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_54_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_43_9696.jpg', '/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_33_9610.jpg', '/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_24_10651.jpg', '/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_13_9632.jpg', '/home/nano/Desktop/images/12072025/11/09/image_12072025_11_10_04_9624.jpg', '/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_54_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_43_9696.jpg
/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_33_9610.jpg
/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_24_10651.jpg
/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_13_9632.jpg
/home/nano/Desktop/images/12072025/11/09/image_12072025_11_10_04_9624.jpg
/home/nano/Desktop/images/12072025/11/09/image_12072025_11_09_54_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874652","1371874661","1371874601","1371874550","1371874576","1371874627"],"photo_ids_order":["1371874550","1371874576","1371874601","1371874627","1371874652","1371874661"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c6bc2dbaaca9f7b2bc1c4c1bd1f0e12.jpg","text":"TemporaryFile(/tmp/multipartBody938731862237954442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311478759,"filename":"image_12072025_11_10_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db6192c47d8caf9a68ae60d916b99467.jpg","text":"TemporaryFile(/tmp/multipartBody3391314412479821102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311478759,"filename":"image_12072025_11_09_54_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18da6fa808de6eade09757cf7a7ee34f.jpg","text":"TemporaryFile(/tmp/multipartBody8419829034820335101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311478759,"filename":"image_12072025_11_10_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b97c4c4f99805db8f89d8cd487b7702c.jpg","text":"TemporaryFile(/tmp/multipartBody3088728585232344464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311478759,"filename":"image_12072025_11_10_43_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/899fdda3cd2f480aaf9a9b3042cbb8f1.jpg","text":"TemporaryFile(/tmp/multipartBody1023635647148732310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311478759,"filename":"image_12072025_11_10_33_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4656f190839bac43fd7858c63bf1893d.jpg","text":"TemporaryFile(/tmp/multipartBody8974776426452648893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311478759,"filename":"image_12072025_11_10_13_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874601","file1":"1371874576","file0":"1371874550","file4":"1371874652","file5":"1371874661","file3":"1371874627"},"map_files_photo_id_array":[{"photo_id":"1371874661","filename":"file5"},{"photo_id":"1371874601","filename":"file2"},{"photo_id":"1371874652","filename":"file4"},{"photo_id":"1371874576","filename":"file1"},{"photo_id":"1371874550","filename":"file0"},{"photo_id":"1371874627","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874652":["hashtag1","hashtag2"]},{"1371874661":["hashtag1","hashtag2"]},{"1371874601":["hashtag1","hashtag2"]},{"1371874550":["hashtag1","hashtag2"]},{"1371874576":["hashtag1","hashtag2"]},{"1371874627":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874652, 1371874661, 1371874601, 1371874550, 1371874576, 1371874627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1859769821167 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:11:02.731003
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_33_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_24_9608.jpg', 2), ('/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_14_10651.jpg', 2), ('/home/nano/Desktop/images/10072025/19/32/image_10072025_19_33_03_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_54_9670.jpg', 2), ('/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_44_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_33_9636.jpg', '/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_24_9608.jpg', '/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_14_10651.jpg', '/home/nano/Desktop/images/10072025/19/32/image_10072025_19_33_03_9623.jpg', '/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_54_9670.jpg', '/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_44_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_33_9636.jpg
/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_24_9608.jpg
/home/nano/Desktop/images/10072025/19/33/image_10072025_19_33_14_10651.jpg
/home/nano/Desktop/images/10072025/19/32/image_10072025_19_33_03_9623.jpg
/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_54_9670.jpg
/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_44_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874806","1371874733","1371874768","1371874762","1371874770","1371874782"],"photo_ids_order":["1371874733","1371874762","1371874768","1371874770","1371874782","1371874806"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08065784930db7663a6a239802d6c46b.jpg","text":"TemporaryFile(/tmp/multipartBody5802912667188564307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311525606,"filename":"image_10072025_19_32_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8b666fa0c7e83dce22775fc5bcd89fa.jpg","text":"TemporaryFile(/tmp/multipartBody2403791103404166694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311525606,"filename":"image_10072025_19_33_33_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6db3a02d12c043aa88d3e7d95ad5e841.jpg","text":"TemporaryFile(/tmp/multipartBody7222782333531327970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311525606,"filename":"image_10072025_19_33_14_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e050ae2179715224b364d9957f7cb905.jpg","text":"TemporaryFile(/tmp/multipartBody8480873272646663227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311525606,"filename":"image_10072025_19_33_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08d0a52b2ca66a2108a43022776dedf0.jpg","text":"TemporaryFile(/tmp/multipartBody5016782245336133341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311525606,"filename":"image_10072025_19_33_03_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66b9b578d2b2d01e7d35ee734cb87ae7.jpg","text":"TemporaryFile(/tmp/multipartBody2622291699782391869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311525606,"filename":"image_10072025_19_32_54_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874768","file1":"1371874762","file0":"1371874733","file4":"1371874782","file5":"1371874806","file3":"1371874770"},"map_files_photo_id_array":[{"photo_id":"1371874806","filename":"file5"},{"photo_id":"1371874768","filename":"file2"},{"photo_id":"1371874782","filename":"file4"},{"photo_id":"1371874762","filename":"file1"},{"photo_id":"1371874733","filename":"file0"},{"photo_id":"1371874770","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371874806":["hashtag1","hashtag2"]},{"1371874733":["hashtag1","hashtag2"]},{"1371874768":["hashtag1","hashtag2"]},{"1371874762":["hashtag1","hashtag2"]},{"1371874770":["hashtag1","hashtag2"]},{"1371874782":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371874806, 1371874733, 1371874768, 1371874762, 1371874770, 1371874782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.832236528396606 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:11:47.095237
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_44_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_33_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_24_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_13_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/11/10/image_12072025_11_11_03_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_54_10679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_44_10617.jpg', '/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_33_9620.jpg', '/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_24_10613.jpg', '/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_13_9636.jpg', '/home/nano/Desktop/images/12072025/11/10/image_12072025_11_11_03_9657.jpg', '/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_54_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_44_10617.jpg
/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_33_9620.jpg
/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_24_10613.jpg
/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_13_9636.jpg
/home/nano/Desktop/images/12072025/11/10/image_12072025_11_11_03_9657.jpg
/home/nano/Desktop/images/12072025/11/10/image_12072025_11_10_54_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874880","1371874856","1371874901","1371874903","1371874896","1371874899"],"photo_ids_order":["1371874856","1371874880","1371874896","1371874899","1371874901","1371874903"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb534fd155a74078879c7522e5309f1d.jpg","text":"TemporaryFile(/tmp/multipartBody554668351744090979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311568947,"filename":"image_12072025_11_11_33_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3787d04e4a20ccb9a3f1d5b4ef81207a.jpg","text":"TemporaryFile(/tmp/multipartBody1055071826008965236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311568947,"filename":"image_12072025_11_11_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b4fec956517def8fc00c83c5bba601a.jpg","text":"TemporaryFile(/tmp/multipartBody117374928736831483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311568947,"filename":"image_12072025_11_11_03_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb3651db08afda036b8b0e973572e181.jpg","text":"TemporaryFile(/tmp/multipartBody7787126391209599897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311568947,"filename":"image_12072025_11_10_54_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/085719004265474f1a4de13f3c7cf1f7.jpg","text":"TemporaryFile(/tmp/multipartBody1543075177800172256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311568947,"filename":"image_12072025_11_11_24_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a63a20b509b7715056b2b99c915f4819.jpg","text":"TemporaryFile(/tmp/multipartBody5609466895849001930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311568947,"filename":"image_12072025_11_11_13_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874896","file1":"1371874880","file0":"1371874856","file4":"1371874901","file5":"1371874903","file3":"1371874899"},"map_files_photo_id_array":[{"photo_id":"1371874903","filename":"file5"},{"photo_id":"1371874896","filename":"file2"},{"photo_id":"1371874901","filename":"file4"},{"photo_id":"1371874880","filename":"file1"},{"photo_id":"1371874856","filename":"file0"},{"photo_id":"1371874899","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874880":["hashtag1","hashtag2"]},{"1371874856":["hashtag1","hashtag2"]},{"1371874901":["hashtag1","hashtag2"]},{"1371874903":["hashtag1","hashtag2"]},{"1371874896":["hashtag1","hashtag2"]},{"1371874899":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874880, 1371874856, 1371874901, 1371874903, 1371874896, 1371874899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.65680432319641 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:12:32.203987
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_44_10742.jpg', 2), ('/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_33_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_24_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_14_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/11/11/image_12072025_11_12_03_9702.jpg', 2), ('/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_44_10742.jpg', '/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_33_9646.jpg', '/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_24_9602.jpg', '/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_14_10669.jpg', '/home/nano/Desktop/images/12072025/11/11/image_12072025_11_12_03_9702.jpg', '/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_44_10742.jpg
/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_33_9646.jpg
/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_24_9602.jpg
/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_14_10669.jpg
/home/nano/Desktop/images/12072025/11/11/image_12072025_11_12_03_9702.jpg
/home/nano/Desktop/images/12072025/11/11/image_12072025_11_11_54_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874913","1371874907","1371874916","1371874910","1371874912","1371874909"],"photo_ids_order":["1371874907","1371874909","1371874910","1371874912","1371874913","1371874916"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73adc5a8dadeed878788538648868e64.jpg","text":"TemporaryFile(/tmp/multipartBody1500504458312765029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311614086,"filename":"image_12072025_11_12_03_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34e091f45deb9e642c384da571b66581.jpg","text":"TemporaryFile(/tmp/multipartBody1462396792386228712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311614086,"filename":"image_12072025_11_12_44_10742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43b2aa5c59d6977f34e3ac90bcc311d3.jpg","text":"TemporaryFile(/tmp/multipartBody8811835175439682977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311614086,"filename":"image_12072025_11_11_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2bde9fc1770f858d4a726fd7392ec8ea.jpg","text":"TemporaryFile(/tmp/multipartBody3164814350965686420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311614086,"filename":"image_12072025_11_12_24_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3482d315682b36a558acbf1c5d267b7e.jpg","text":"TemporaryFile(/tmp/multipartBody6613558457827229311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311614086,"filename":"image_12072025_11_12_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59cb6ff2a6f757c3705853300ddf98b4.jpg","text":"TemporaryFile(/tmp/multipartBody7862077449353694028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311614086,"filename":"image_12072025_11_12_33_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874910","file1":"1371874909","file0":"1371874907","file4":"1371874913","file5":"1371874916","file3":"1371874912"},"map_files_photo_id_array":[{"photo_id":"1371874916","filename":"file5"},{"photo_id":"1371874910","filename":"file2"},{"photo_id":"1371874913","filename":"file4"},{"photo_id":"1371874909","filename":"file1"},{"photo_id":"1371874907","filename":"file0"},{"photo_id":"1371874912","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874913":["hashtag1","hashtag2"]},{"1371874907":["hashtag1","hashtag2"]},{"1371874916":["hashtag1","hashtag2"]},{"1371874910":["hashtag1","hashtag2"]},{"1371874912":["hashtag1","hashtag2"]},{"1371874909":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874913, 1371874907, 1371874916, 1371874910, 1371874912, 1371874909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.42069125175476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:13:17.302662
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_43_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_34_9843.jpg', 2), ('/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_24_10819.jpg', 2), ('/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_13_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/11/12/image_12072025_11_13_03_9802.jpg', 2), ('/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_54_9738.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_43_9662.jpg', '/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_34_9843.jpg', '/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_24_10819.jpg', '/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_13_9683.jpg', '/home/nano/Desktop/images/12072025/11/12/image_12072025_11_13_03_9802.jpg', '/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_54_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_43_9662.jpg
/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_34_9843.jpg
/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_24_10819.jpg
/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_13_9683.jpg
/home/nano/Desktop/images/12072025/11/12/image_12072025_11_13_03_9802.jpg
/home/nano/Desktop/images/12072025/11/12/image_12072025_11_12_54_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874937","1371874931","1371874936","1371874939","1371874930","1371874932"],"photo_ids_order":["1371874930","1371874931","1371874932","1371874936","1371874937","1371874939"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/defd3f5d5784462532f3af784aab5134.jpg","text":"TemporaryFile(/tmp/multipartBody950660386115908021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311661328,"filename":"image_12072025_11_13_03_9802.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd7768bacec341b4be49bb2638222311.jpg","text":"TemporaryFile(/tmp/multipartBody2140261644237427496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311661328,"filename":"image_12072025_11_13_34_9843.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef14dc401cae0d61680df02b9e7c7a1f.jpg","text":"TemporaryFile(/tmp/multipartBody8450178624627268574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311661328,"filename":"image_12072025_11_13_13_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34309b2cc62588b0737f6deb83cb680f.jpg","text":"TemporaryFile(/tmp/multipartBody147049467957038317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311661328,"filename":"image_12072025_11_12_54_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8dec2bda1a79b42f1900bdf2b9b22521.jpg","text":"TemporaryFile(/tmp/multipartBody3243281596866900957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311661328,"filename":"image_12072025_11_13_43_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e914cc3927f2e09d2caeb49056670657.jpg","text":"TemporaryFile(/tmp/multipartBody8964431978752098840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311661328,"filename":"image_12072025_11_13_24_10819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874932","file1":"1371874931","file0":"1371874930","file4":"1371874937","file5":"1371874939","file3":"1371874936"},"map_files_photo_id_array":[{"photo_id":"1371874939","filename":"file5"},{"photo_id":"1371874932","filename":"file2"},{"photo_id":"1371874937","filename":"file4"},{"photo_id":"1371874931","filename":"file1"},{"photo_id":"1371874930","filename":"file0"},{"photo_id":"1371874936","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874937":["hashtag1","hashtag2"]},{"1371874931":["hashtag1","hashtag2"]},{"1371874936":["hashtag1","hashtag2"]},{"1371874939":["hashtag1","hashtag2"]},{"1371874930":["hashtag1","hashtag2"]},{"1371874932":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874937, 1371874931, 1371874936, 1371874939, 1371874930, 1371874932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.68516540527344 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:14:32.447967
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_43_9785.jpg', 2), ('/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_33_9794.jpg', 2), ('/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_24_9771.jpg', 2), ('/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_14_9766.jpg', 2), ('/home/nano/Desktop/images/12072025/11/13/image_12072025_11_14_04_10733.jpg', 2), ('/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_53_9826.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_43_9785.jpg', '/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_33_9794.jpg', '/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_24_9771.jpg', '/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_14_9766.jpg', '/home/nano/Desktop/images/12072025/11/13/image_12072025_11_14_04_10733.jpg', '/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_53_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_43_9785.jpg
/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_33_9794.jpg
/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_24_9771.jpg
/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_14_9766.jpg
/home/nano/Desktop/images/12072025/11/13/image_12072025_11_14_04_10733.jpg
/home/nano/Desktop/images/12072025/11/13/image_12072025_11_13_53_9826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874955","1371874964","1371874949","1371874960","1371874957","1371874953"],"photo_ids_order":["1371874949","1371874953","1371874955","1371874957","1371874960","1371874964"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2899e03f2b4a488bf4a0fa5ac849160e.jpg","text":"TemporaryFile(/tmp/multipartBody5603797097663349224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311733894,"filename":"image_12072025_11_14_24_9771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94313bc2f22b5c5a2e7ed86d53cdb836.jpg","text":"TemporaryFile(/tmp/multipartBody8777521902888356073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311733894,"filename":"image_12072025_11_13_53_9826.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bec99d90461f3a1be19dcc302b80140b.jpg","text":"TemporaryFile(/tmp/multipartBody7944084772614948757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311733894,"filename":"image_12072025_11_14_43_9785.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d89083e887ffe6de2828d48c2a137879.jpg","text":"TemporaryFile(/tmp/multipartBody1041583797620207853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311733894,"filename":"image_12072025_11_14_04_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/630badff2ec540f4f96020d59ae98181.jpg","text":"TemporaryFile(/tmp/multipartBody6826390176986094821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311733894,"filename":"image_12072025_11_14_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9b4301188b76f4064bc5e6a480b9e6f.jpg","text":"TemporaryFile(/tmp/multipartBody5125148381047893207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311733894,"filename":"image_12072025_11_14_33_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874955","file1":"1371874953","file0":"1371874949","file4":"1371874960","file5":"1371874964","file3":"1371874957"},"map_files_photo_id_array":[{"photo_id":"1371874964","filename":"file5"},{"photo_id":"1371874955","filename":"file2"},{"photo_id":"1371874960","filename":"file4"},{"photo_id":"1371874953","filename":"file1"},{"photo_id":"1371874949","filename":"file0"},{"photo_id":"1371874957","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874955":["hashtag1","hashtag2"]},{"1371874964":["hashtag1","hashtag2"]},{"1371874949":["hashtag1","hashtag2"]},{"1371874960":["hashtag1","hashtag2"]},{"1371874957":["hashtag1","hashtag2"]},{"1371874953":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874955, 1371874964, 1371874949, 1371874960, 1371874957, 1371874953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.66838002204895 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:15:32.488866
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_44_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_34_10846.jpg', 2), ('/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_23_9818.jpg', 2), ('/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_13_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/11/14/image_12072025_11_15_04_9772.jpg', 2), ('/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_54_10701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_44_9650.jpg', '/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_34_10846.jpg', '/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_23_9818.jpg', '/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_13_9664.jpg', '/home/nano/Desktop/images/12072025/11/14/image_12072025_11_15_04_9772.jpg', '/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_54_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_44_9650.jpg
/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_34_10846.jpg
/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_23_9818.jpg
/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_13_9664.jpg
/home/nano/Desktop/images/12072025/11/14/image_12072025_11_15_04_9772.jpg
/home/nano/Desktop/images/12072025/11/14/image_12072025_11_14_54_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874973","1371874976","1371874972","1371874975","1371874977","1371874974"],"photo_ids_order":["1371874972","1371874973","1371874974","1371874975","1371874976","1371874977"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a38aaa2c2e0baa2e1a0a554f64b2f64.jpg","text":"TemporaryFile(/tmp/multipartBody5826888427192760675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311794417,"filename":"image_12072025_11_15_34_10846.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f555dc7dd8a3998d1cb813842d9e7382.jpg","text":"TemporaryFile(/tmp/multipartBody4259847179304017236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311794417,"filename":"image_12072025_11_15_04_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1142cbaacf3583d920a17d5efb872851.jpg","text":"TemporaryFile(/tmp/multipartBody6741089862668548507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311794417,"filename":"image_12072025_11_15_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1c44c4d2a23e876c3c915a3e39929d5.jpg","text":"TemporaryFile(/tmp/multipartBody6636079746627998734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311794417,"filename":"image_12072025_11_15_13_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17a7ad3fa647bdcaf57ffe8472ebfa28.jpg","text":"TemporaryFile(/tmp/multipartBody8678157842701695329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311794417,"filename":"image_12072025_11_14_54_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72b71cdfacd119e352ffab4afcd2a435.jpg","text":"TemporaryFile(/tmp/multipartBody4013537887965838061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311794417,"filename":"image_12072025_11_15_23_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874974","file1":"1371874973","file0":"1371874972","file4":"1371874976","file5":"1371874977","file3":"1371874975"},"map_files_photo_id_array":[{"photo_id":"1371874977","filename":"file5"},{"photo_id":"1371874974","filename":"file2"},{"photo_id":"1371874976","filename":"file4"},{"photo_id":"1371874973","filename":"file1"},{"photo_id":"1371874972","filename":"file0"},{"photo_id":"1371874975","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874973":["hashtag1","hashtag2"]},{"1371874976":["hashtag1","hashtag2"]},{"1371874972":["hashtag1","hashtag2"]},{"1371874975":["hashtag1","hashtag2"]},{"1371874977":["hashtag1","hashtag2"]},{"1371874974":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874973, 1371874976, 1371874972, 1371874975, 1371874977, 1371874974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.443408489227295 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:16:17.581486
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_43_9834.jpg', 2), ('/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_33_9805.jpg', 2), ('/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_24_9792.jpg', 2), ('/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_14_10698.jpg', 2), ('/home/nano/Desktop/images/12072025/11/15/image_12072025_11_16_03_9690.jpg', 2), ('/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_53_9768.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_43_9834.jpg', '/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_33_9805.jpg', '/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_24_9792.jpg', '/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_14_10698.jpg', '/home/nano/Desktop/images/12072025/11/15/image_12072025_11_16_03_9690.jpg', '/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_53_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_43_9834.jpg
/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_33_9805.jpg
/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_24_9792.jpg
/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_14_10698.jpg
/home/nano/Desktop/images/12072025/11/15/image_12072025_11_16_03_9690.jpg
/home/nano/Desktop/images/12072025/11/15/image_12072025_11_15_53_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874982","1371874985","1371874984","1371874981","1371874983","1371874986"],"photo_ids_order":["1371874981","1371874982","1371874983","1371874984","1371874985","1371874986"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85261cdef4c76cfe0e176f40f7aee0bc.jpg","text":"TemporaryFile(/tmp/multipartBody4785596636913762546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311839758,"filename":"image_12072025_11_16_33_9805.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/096052a46f6bb58f29b4e194636d4b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8023638552425170719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311839758,"filename":"image_12072025_11_16_03_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d918ddf7108d1595d4c7c0855960d5f6.jpg","text":"TemporaryFile(/tmp/multipartBody7160745121776086641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311839758,"filename":"image_12072025_11_16_14_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5ebd1444a719df5203356654dd69022.jpg","text":"TemporaryFile(/tmp/multipartBody8202815045352285883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311839758,"filename":"image_12072025_11_16_43_9834.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da522876809200f96a11f3fd50bf3a24.jpg","text":"TemporaryFile(/tmp/multipartBody9027323060123968101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311839758,"filename":"image_12072025_11_16_24_9792.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ecfce57cff9c394a9f21f906ac06051.jpg","text":"TemporaryFile(/tmp/multipartBody6504899145181159224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311839758,"filename":"image_12072025_11_15_53_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874983","file1":"1371874982","file0":"1371874981","file4":"1371874985","file5":"1371874986","file3":"1371874984"},"map_files_photo_id_array":[{"photo_id":"1371874986","filename":"file5"},{"photo_id":"1371874983","filename":"file2"},{"photo_id":"1371874985","filename":"file4"},{"photo_id":"1371874982","filename":"file1"},{"photo_id":"1371874981","filename":"file0"},{"photo_id":"1371874984","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371874982":["hashtag1","hashtag2"]},{"1371874985":["hashtag1","hashtag2"]},{"1371874984":["hashtag1","hashtag2"]},{"1371874981":["hashtag1","hashtag2"]},{"1371874983":["hashtag1","hashtag2"]},{"1371874986":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371874982, 1371874985, 1371874984, 1371874981, 1371874983, 1371874986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38613772392273 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:17:03.281244
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_33_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_24_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_13_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/19/31/image_10072025_19_32_04_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/19/31/image_10072025_19_31_54_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/19/31/image_10072025_19_31_43_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_33_9613.jpg', '/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_24_10645.jpg', '/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_13_9638.jpg', '/home/nano/Desktop/images/10072025/19/31/image_10072025_19_32_04_9631.jpg', '/home/nano/Desktop/images/10072025/19/31/image_10072025_19_31_54_10639.jpg', '/home/nano/Desktop/images/10072025/19/31/image_10072025_19_31_43_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_33_9613.jpg
/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_24_10645.jpg
/home/nano/Desktop/images/10072025/19/32/image_10072025_19_32_13_9638.jpg
/home/nano/Desktop/images/10072025/19/31/image_10072025_19_32_04_9631.jpg
/home/nano/Desktop/images/10072025/19/31/image_10072025_19_31_54_10639.jpg
/home/nano/Desktop/images/10072025/19/31/image_10072025_19_31_43_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371874994","1371874997","1371875000","1371874999","1371874993","1371875002"],"photo_ids_order":["1371874993","1371874994","1371874997","1371874999","1371875000","1371875002"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e36308641d0a21f12e10b3692bef682.jpg","text":"TemporaryFile(/tmp/multipartBody4922008493336245835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311886287,"filename":"image_10072025_19_32_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5932ba5453ca14c725ba937b2319d82d.jpg","text":"TemporaryFile(/tmp/multipartBody4627645664547739337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311886287,"filename":"image_10072025_19_32_13_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3f0475175f418fd3f1020ccd8c20aa9.jpg","text":"TemporaryFile(/tmp/multipartBody6466311144358714256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311886287,"filename":"image_10072025_19_31_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e21efe342bb228d29b1108eae50bd6f.jpg","text":"TemporaryFile(/tmp/multipartBody9072846050989261428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311886287,"filename":"image_10072025_19_32_04_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/735b375744bbab73b58a3c022496a57d.jpg","text":"TemporaryFile(/tmp/multipartBody8167460788983515300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311886287,"filename":"image_10072025_19_32_33_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc6da731edd38508413bbda2568bf6fe.jpg","text":"TemporaryFile(/tmp/multipartBody5555095778264996808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311886287,"filename":"image_10072025_19_31_43_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371874997","file1":"1371874994","file0":"1371874993","file4":"1371875000","file5":"1371875002","file3":"1371874999"},"map_files_photo_id_array":[{"photo_id":"1371875002","filename":"file5"},{"photo_id":"1371874997","filename":"file2"},{"photo_id":"1371875000","filename":"file4"},{"photo_id":"1371874994","filename":"file1"},{"photo_id":"1371874993","filename":"file0"},{"photo_id":"1371874999","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371874994":["hashtag1","hashtag2"]},{"1371874997":["hashtag1","hashtag2"]},{"1371875000":["hashtag1","hashtag2"]},{"1371874999":["hashtag1","hashtag2"]},{"1371874993":["hashtag1","hashtag2"]},{"1371875002":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371874994, 1371874997, 1371875000, 1371874999, 1371874993, 1371875002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.283538818359375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:17:47.725150
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_43_9770.jpg', 2), ('/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_34_9723.jpg', 2), ('/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_24_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_13_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/11/16/image_12072025_11_17_04_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_54_10728.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_43_9770.jpg', '/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_34_9723.jpg', '/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_24_10635.jpg', '/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_13_9653.jpg', '/home/nano/Desktop/images/12072025/11/16/image_12072025_11_17_04_9644.jpg', '/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_54_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_43_9770.jpg
/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_34_9723.jpg
/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_24_10635.jpg
/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_13_9653.jpg
/home/nano/Desktop/images/12072025/11/16/image_12072025_11_17_04_9644.jpg
/home/nano/Desktop/images/12072025/11/16/image_12072025_11_16_54_10728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875006","1371875015","1371875020","1371875017","1371875011","1371875013"],"photo_ids_order":["1371875006","1371875011","1371875013","1371875015","1371875017","1371875020"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b589542f19d1d9f0a0293f58f841f4f.jpg","text":"TemporaryFile(/tmp/multipartBody2278100404647897432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311929965,"filename":"image_12072025_11_17_43_9770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33ff6ace84abca281fd21660902a7583.jpg","text":"TemporaryFile(/tmp/multipartBody8186978938242375780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311929965,"filename":"image_12072025_11_17_13_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c107b204fc05cc891520f10544e73f2.jpg","text":"TemporaryFile(/tmp/multipartBody2189400682065682487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311929965,"filename":"image_12072025_11_16_54_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0bc97866b492ab4925b27297333f5d99.jpg","text":"TemporaryFile(/tmp/multipartBody8645964996644484060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311929965,"filename":"image_12072025_11_17_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7395b03f7249ac54be03dd6d4fc25cd1.jpg","text":"TemporaryFile(/tmp/multipartBody2726726878738835803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311929965,"filename":"image_12072025_11_17_34_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84e215a20d189cf6a45c6b189e0f699a.jpg","text":"TemporaryFile(/tmp/multipartBody4454810047037571423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311929965,"filename":"image_12072025_11_17_24_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875013","file1":"1371875011","file0":"1371875006","file4":"1371875017","file5":"1371875020","file3":"1371875015"},"map_files_photo_id_array":[{"photo_id":"1371875020","filename":"file5"},{"photo_id":"1371875013","filename":"file2"},{"photo_id":"1371875017","filename":"file4"},{"photo_id":"1371875011","filename":"file1"},{"photo_id":"1371875006","filename":"file0"},{"photo_id":"1371875015","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875006":["hashtag1","hashtag2"]},{"1371875015":["hashtag1","hashtag2"]},{"1371875020":["hashtag1","hashtag2"]},{"1371875017":["hashtag1","hashtag2"]},{"1371875011":["hashtag1","hashtag2"]},{"1371875013":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875006, 1371875015, 1371875020, 1371875017, 1371875011, 1371875013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.27455806732178 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:18:46.832196
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_44_9735.jpg', 2), ('/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_34_10763.jpg', 2), ('/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_23_9692.jpg', 2), ('/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_14_9811.jpg', 2), ('/home/nano/Desktop/images/12072025/11/17/image_12072025_11_18_04_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_53_9777.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_44_9735.jpg', '/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_34_10763.jpg', '/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_23_9692.jpg', '/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_14_9811.jpg', '/home/nano/Desktop/images/12072025/11/17/image_12072025_11_18_04_10653.jpg', '/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_53_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_44_9735.jpg
/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_34_10763.jpg
/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_23_9692.jpg
/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_14_9811.jpg
/home/nano/Desktop/images/12072025/11/17/image_12072025_11_18_04_10653.jpg
/home/nano/Desktop/images/12072025/11/17/image_12072025_11_17_53_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875036","1371875039","1371875030","1371875033","1371875023","1371875026"],"photo_ids_order":["1371875023","1371875026","1371875030","1371875033","1371875036","1371875039"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17f71e53e01912e426b72e1db9bfcf49.jpg","text":"TemporaryFile(/tmp/multipartBody4293722448759082609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311989457,"filename":"image_12072025_11_18_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25fa38e4dd09a2a374677bbebf88ff15.jpg","text":"TemporaryFile(/tmp/multipartBody6604214633240085934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311989457,"filename":"image_12072025_11_17_53_9777.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/856215e342331a0d5c5c1b04147f8545.jpg","text":"TemporaryFile(/tmp/multipartBody8285863601214317291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311989457,"filename":"image_12072025_11_18_23_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4187e69913cc4a60e9e0318d058b05da.jpg","text":"TemporaryFile(/tmp/multipartBody53009306387333239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311989457,"filename":"image_12072025_11_18_14_9811.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dddc6c886eebdb1bacbfac63cf17aaac.jpg","text":"TemporaryFile(/tmp/multipartBody5174785831530318872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311989457,"filename":"image_12072025_11_18_44_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56307121801f37dab5e282a2eeaf8a14.jpg","text":"TemporaryFile(/tmp/multipartBody6692582782851814616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752311989457,"filename":"image_12072025_11_18_34_10763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875030","file1":"1371875026","file0":"1371875023","file4":"1371875036","file5":"1371875039","file3":"1371875033"},"map_files_photo_id_array":[{"photo_id":"1371875039","filename":"file5"},{"photo_id":"1371875030","filename":"file2"},{"photo_id":"1371875036","filename":"file4"},{"photo_id":"1371875026","filename":"file1"},{"photo_id":"1371875023","filename":"file0"},{"photo_id":"1371875033","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875036":["hashtag1","hashtag2"]},{"1371875039":["hashtag1","hashtag2"]},{"1371875030":["hashtag1","hashtag2"]},{"1371875033":["hashtag1","hashtag2"]},{"1371875023":["hashtag1","hashtag2"]},{"1371875026":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875036, 1371875039, 1371875030, 1371875033, 1371875023, 1371875026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34601163864136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:19:32.003865
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/19/image_12072025_11_19_43_9734.jpg', 2), ('/home/nano/Desktop/images/12072025/11/19/image_12072025_11_19_34_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/11/19/image_12072025_11_19_24_10792.jpg', 2), ('/home/nano/Desktop/images/12072025/11/18/image_12072025_11_19_03_9799.jpg', 2), ('/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_53_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/19/image_12072025_11_19_43_9734.jpg', '/home/nano/Desktop/images/12072025/11/19/image_12072025_11_19_34_9629.jpg', '/home/nano/Desktop/images/12072025/11/19/image_12072025_11_19_24_10792.jpg', '/home/nano/Desktop/images/12072025/11/18/image_12072025_11_19_03_9799.jpg', '/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_53_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/19/image_12072025_11_19_43_9734.jpg
/home/nano/Desktop/images/12072025/11/19/image_12072025_11_19_34_9629.jpg
/home/nano/Desktop/images/12072025/11/19/image_12072025_11_19_24_10792.jpg
/home/nano/Desktop/images/12072025/11/18/image_12072025_11_19_03_9799.jpg
/home/nano/Desktop/images/12072025/11/18/image_12072025_11_18_53_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875042","1371875074","1371875050","1371875061","1371875043"],"photo_ids_order":["1371875042","1371875043","1371875050","1371875061","1371875074"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3793812eb9812a733a0225b5e89a44c.jpg","text":"TemporaryFile(/tmp/multipartBody3888293676723090360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312034086,"filename":"image_12072025_11_19_43_9734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bbe2a4aaa841318903b05b64438d629b.jpg","text":"TemporaryFile(/tmp/multipartBody4425053483341461449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312034086,"filename":"image_12072025_11_18_53_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/822913dfd163382ca4d5f4c1c0b3bb13.jpg","text":"TemporaryFile(/tmp/multipartBody6559965016237905830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312034086,"filename":"image_12072025_11_19_24_10792.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f08e830c9f385c386e2afee9b209b4a.jpg","text":"TemporaryFile(/tmp/multipartBody4533543844728713380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312034086,"filename":"image_12072025_11_19_03_9799.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fd5b9e734463ae95f6d212e257ee87b.jpg","text":"TemporaryFile(/tmp/multipartBody5291664288835070157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312034086,"filename":"image_12072025_11_19_34_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875050","file1":"1371875043","file0":"1371875042","file4":"1371875074","file3":"1371875061"},"map_files_photo_id_array":[{"photo_id":"1371875050","filename":"file2"},{"photo_id":"1371875074","filename":"file4"},{"photo_id":"1371875043","filename":"file1"},{"photo_id":"1371875042","filename":"file0"},{"photo_id":"1371875061","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875042":["hashtag1","hashtag2"]},{"1371875074":["hashtag1","hashtag2"]},{"1371875050":["hashtag1","hashtag2"]},{"1371875061":["hashtag1","hashtag2"]},{"1371875043":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875042, 1371875074, 1371875050, 1371875061, 1371875043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.550146341323853 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:20:17.064559
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_44_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_33_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_24_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_13_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/11/19/image_12072025_11_20_04_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/11/19/image_12072025_11_19_54_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_44_10633.jpg', '/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_33_9607.jpg', '/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_24_10627.jpg', '/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_13_9640.jpg', '/home/nano/Desktop/images/12072025/11/19/image_12072025_11_20_04_9633.jpg', '/home/nano/Desktop/images/12072025/11/19/image_12072025_11_19_54_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_44_10633.jpg
/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_33_9607.jpg
/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_24_10627.jpg
/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_13_9640.jpg
/home/nano/Desktop/images/12072025/11/19/image_12072025_11_20_04_9633.jpg
/home/nano/Desktop/images/12072025/11/19/image_12072025_11_19_54_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875081","1371875084","1371875083","1371875086","1371875082","1371875085"],"photo_ids_order":["1371875081","1371875082","1371875083","1371875084","1371875085","1371875086"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4382e0a181faa78e86e3fa4cf86334f.jpg","text":"TemporaryFile(/tmp/multipartBody4264426266881062175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312078511,"filename":"image_12072025_11_20_44_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16624a08f1f9c04783be3bb2872ee3fc.jpg","text":"TemporaryFile(/tmp/multipartBody4455991002749068857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312078511,"filename":"image_12072025_11_20_13_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe4c7cb1b10be37aaf5eda2502e0bd5f.jpg","text":"TemporaryFile(/tmp/multipartBody2286799222454110484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312078511,"filename":"image_12072025_11_20_24_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/abd055f6ad9185069a9d9b4f0572cb24.jpg","text":"TemporaryFile(/tmp/multipartBody8182101782870696851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312078511,"filename":"image_12072025_11_19_54_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb05d07cc63b59dd4cf563426dd3dbfc.jpg","text":"TemporaryFile(/tmp/multipartBody6984706470204965717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312078511,"filename":"image_12072025_11_20_33_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a215e0c50bb6716cfbed63f8383f98f.jpg","text":"TemporaryFile(/tmp/multipartBody6688802332699296458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312078511,"filename":"image_12072025_11_20_04_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875083","file1":"1371875082","file0":"1371875081","file4":"1371875085","file5":"1371875086","file3":"1371875084"},"map_files_photo_id_array":[{"photo_id":"1371875086","filename":"file5"},{"photo_id":"1371875083","filename":"file2"},{"photo_id":"1371875085","filename":"file4"},{"photo_id":"1371875082","filename":"file1"},{"photo_id":"1371875081","filename":"file0"},{"photo_id":"1371875084","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875081":["hashtag1","hashtag2"]},{"1371875084":["hashtag1","hashtag2"]},{"1371875083":["hashtag1","hashtag2"]},{"1371875086":["hashtag1","hashtag2"]},{"1371875082":["hashtag1","hashtag2"]},{"1371875085":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875081, 1371875084, 1371875083, 1371875086, 1371875082, 1371875085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19532513618469 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:21:02.789296
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/31/image_10072025_19_31_34_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/19/31/image_10072025_19_31_24_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/19/30/image_10072025_19_31_04_10643.jpg', 2), ('/home/nano/Desktop/images/10072025/19/30/image_10072025_19_30_53_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/19/30/image_10072025_19_30_23_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/19/30/image_10072025_19_30_14_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/31/image_10072025_19_31_34_9634.jpg', '/home/nano/Desktop/images/10072025/19/31/image_10072025_19_31_24_10641.jpg', '/home/nano/Desktop/images/10072025/19/30/image_10072025_19_31_04_10643.jpg', '/home/nano/Desktop/images/10072025/19/30/image_10072025_19_30_53_9631.jpg', '/home/nano/Desktop/images/10072025/19/30/image_10072025_19_30_23_9639.jpg', '/home/nano/Desktop/images/10072025/19/30/image_10072025_19_30_14_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/31/image_10072025_19_31_34_9634.jpg
/home/nano/Desktop/images/10072025/19/31/image_10072025_19_31_24_10641.jpg
/home/nano/Desktop/images/10072025/19/30/image_10072025_19_31_04_10643.jpg
/home/nano/Desktop/images/10072025/19/30/image_10072025_19_30_53_9631.jpg
/home/nano/Desktop/images/10072025/19/30/image_10072025_19_30_23_9639.jpg
/home/nano/Desktop/images/10072025/19/30/image_10072025_19_30_14_9659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875096","1371875098","1371875102","1371875101","1371875100","1371875103"],"photo_ids_order":["1371875096","1371875098","1371875100","1371875101","1371875102","1371875103"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8f0fee44c280f8eeef52fd78b94a485.jpg","text":"TemporaryFile(/tmp/multipartBody6733282395501982492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312125860,"filename":"image_10072025_19_31_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/caa4c69fa7961df20eca74f0887520ed.jpg","text":"TemporaryFile(/tmp/multipartBody669448362453635376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312125860,"filename":"image_10072025_19_31_24_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b84c8e003e6a4b7eeb341faae41515d5.jpg","text":"TemporaryFile(/tmp/multipartBody2723656553491518634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312125860,"filename":"image_10072025_19_30_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/910d02f906da15cb69bfa2cbee400c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3263973700854735303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312125860,"filename":"image_10072025_19_30_53_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8260f32c6870e28eb34f7ccc519dfdc.jpg","text":"TemporaryFile(/tmp/multipartBody3284237356949325361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312125860,"filename":"image_10072025_19_31_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56f4403a37c77bcf08284ead5f1fdfb2.jpg","text":"TemporaryFile(/tmp/multipartBody2334794442010933357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312125860,"filename":"image_10072025_19_30_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875100","file1":"1371875098","file0":"1371875096","file4":"1371875102","file5":"1371875103","file3":"1371875101"},"map_files_photo_id_array":[{"photo_id":"1371875103","filename":"file5"},{"photo_id":"1371875100","filename":"file2"},{"photo_id":"1371875102","filename":"file4"},{"photo_id":"1371875098","filename":"file1"},{"photo_id":"1371875096","filename":"file0"},{"photo_id":"1371875101","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371875096":["hashtag1","hashtag2"]},{"1371875098":["hashtag1","hashtag2"]},{"1371875102":["hashtag1","hashtag2"]},{"1371875101":["hashtag1","hashtag2"]},{"1371875100":["hashtag1","hashtag2"]},{"1371875103":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371875096, 1371875098, 1371875102, 1371875101, 1371875100, 1371875103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13422203063965 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:21:47.224871
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_33_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_24_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_14_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/11/20/image_12072025_11_21_03_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_54_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_44_10648.jpg', '/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_33_9646.jpg', '/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_24_9636.jpg', '/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_14_10665.jpg', '/home/nano/Desktop/images/12072025/11/20/image_12072025_11_21_03_9649.jpg', '/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_44_10648.jpg
/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_33_9646.jpg
/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_24_9636.jpg
/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_14_10665.jpg
/home/nano/Desktop/images/12072025/11/20/image_12072025_11_21_03_9649.jpg
/home/nano/Desktop/images/12072025/11/20/image_12072025_11_20_54_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875106","1371875117","1371875108","1371875112","1371875115","1371875109"],"photo_ids_order":["1371875106","1371875108","1371875109","1371875112","1371875115","1371875117"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/400c542824fc6ee1f03080a29a95aac6.jpg","text":"TemporaryFile(/tmp/multipartBody5119240260222169448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312169112,"filename":"image_12072025_11_21_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e69bf4739d5911ba530488a5f06034b.jpg","text":"TemporaryFile(/tmp/multipartBody5864802950363646095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312169112,"filename":"image_12072025_11_20_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e81a0a3ff6dc3844d276162e69fd038.jpg","text":"TemporaryFile(/tmp/multipartBody8245447190386809247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312169112,"filename":"image_12072025_11_21_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71665aa1d78e529c006f5da7197ee9de.jpg","text":"TemporaryFile(/tmp/multipartBody3577751372280002538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312169112,"filename":"image_12072025_11_21_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b8c7f81527347064e1a9fa4bb1d0624.jpg","text":"TemporaryFile(/tmp/multipartBody1433413513092215041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312169112,"filename":"image_12072025_11_21_03_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/023b5a2fce3205bb884654ffe4f7490b.jpg","text":"TemporaryFile(/tmp/multipartBody7397794071072111294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312169112,"filename":"image_12072025_11_21_24_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875109","file1":"1371875108","file0":"1371875106","file4":"1371875115","file5":"1371875117","file3":"1371875112"},"map_files_photo_id_array":[{"photo_id":"1371875117","filename":"file5"},{"photo_id":"1371875109","filename":"file2"},{"photo_id":"1371875115","filename":"file4"},{"photo_id":"1371875108","filename":"file1"},{"photo_id":"1371875106","filename":"file0"},{"photo_id":"1371875112","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875106":["hashtag1","hashtag2"]},{"1371875117":["hashtag1","hashtag2"]},{"1371875108":["hashtag1","hashtag2"]},{"1371875112":["hashtag1","hashtag2"]},{"1371875115":["hashtag1","hashtag2"]},{"1371875109":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875106, 1371875117, 1371875108, 1371875112, 1371875115, 1371875109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73102831840515 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:22:32.321805
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/22/image_12072025_11_22_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/11/22/image_12072025_11_22_14_10685.jpg', 2), ('/home/nano/Desktop/images/12072025/11/21/image_12072025_11_22_03_9735.jpg', 2), ('/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/22/image_12072025_11_22_44_10648.jpg', '/home/nano/Desktop/images/12072025/11/22/image_12072025_11_22_14_10685.jpg', '/home/nano/Desktop/images/12072025/11/21/image_12072025_11_22_03_9735.jpg', '/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_54_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/22/image_12072025_11_22_44_10648.jpg
/home/nano/Desktop/images/12072025/11/22/image_12072025_11_22_14_10685.jpg
/home/nano/Desktop/images/12072025/11/21/image_12072025_11_22_03_9735.jpg
/home/nano/Desktop/images/12072025/11/21/image_12072025_11_21_54_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875120","1371875119","1371875121","1371875124"],"photo_ids_order":["1371875119","1371875120","1371875121","1371875124"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c80b72b09d2b0bb0299acefe4361d006.jpg","text":"TemporaryFile(/tmp/multipartBody7641229425504399614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312213848,"filename":"image_12072025_11_22_14_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7a4d2d22aa2b14a1bd54a9441fc1315.jpg","text":"TemporaryFile(/tmp/multipartBody8947894631377299608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312213848,"filename":"image_12072025_11_22_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f412b5973ac7a2c35f059f6b1f6d6882.jpg","text":"TemporaryFile(/tmp/multipartBody3087832516354856044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312213848,"filename":"image_12072025_11_22_03_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/610ddbea46479bc0d93ff686b91f6522.jpg","text":"TemporaryFile(/tmp/multipartBody2125695473501191801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312213848,"filename":"image_12072025_11_21_54_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875121","file1":"1371875120","file0":"1371875119","file3":"1371875124"},"map_files_photo_id_array":[{"photo_id":"1371875121","filename":"file2"},{"photo_id":"1371875120","filename":"file1"},{"photo_id":"1371875119","filename":"file0"},{"photo_id":"1371875124","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875120":["hashtag1","hashtag2"]},{"1371875119":["hashtag1","hashtag2"]},{"1371875121":["hashtag1","hashtag2"]},{"1371875124":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875120, 1371875119, 1371875121, 1371875124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.2835795879364 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:23:03.139951
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/29/image_10072025_19_30_04_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/19/29/image_10072025_19_29_44_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/19/29/image_10072025_19_29_34_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/19/29/image_10072025_19_29_23_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/19/29/image_10072025_19_29_14_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/19/28/image_10072025_19_29_04_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/29/image_10072025_19_30_04_10656.jpg', '/home/nano/Desktop/images/10072025/19/29/image_10072025_19_29_44_9637.jpg', '/home/nano/Desktop/images/10072025/19/29/image_10072025_19_29_34_10641.jpg', '/home/nano/Desktop/images/10072025/19/29/image_10072025_19_29_23_9649.jpg', '/home/nano/Desktop/images/10072025/19/29/image_10072025_19_29_14_9649.jpg', '/home/nano/Desktop/images/10072025/19/28/image_10072025_19_29_04_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/29/image_10072025_19_30_04_10656.jpg
/home/nano/Desktop/images/10072025/19/29/image_10072025_19_29_44_9637.jpg
/home/nano/Desktop/images/10072025/19/29/image_10072025_19_29_34_10641.jpg
/home/nano/Desktop/images/10072025/19/29/image_10072025_19_29_23_9649.jpg
/home/nano/Desktop/images/10072025/19/29/image_10072025_19_29_14_9649.jpg
/home/nano/Desktop/images/10072025/19/28/image_10072025_19_29_04_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875135","1371875129","1371875134","1371875130","1371875133","1371875136"],"photo_ids_order":["1371875129","1371875130","1371875133","1371875134","1371875135","1371875136"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6cc4a0c80d76c2e62b7bd6b7cc697b4.jpg","text":"TemporaryFile(/tmp/multipartBody6610099493657636883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312246286,"filename":"image_10072025_19_29_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f79b95105b1f3c1423b940a315999a3.jpg","text":"TemporaryFile(/tmp/multipartBody6179163887044773537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312246286,"filename":"image_10072025_19_30_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4436faffca1807920f27d5bb1055e7c.jpg","text":"TemporaryFile(/tmp/multipartBody7558179968094139112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312246286,"filename":"image_10072025_19_29_23_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb6461dda9d5e4747adbedbcfa568b92.jpg","text":"TemporaryFile(/tmp/multipartBody4084736925017006341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312246286,"filename":"image_10072025_19_29_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a983b8867f14d3b4ec927a9fc766db9.jpg","text":"TemporaryFile(/tmp/multipartBody5644498121586564125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312246286,"filename":"image_10072025_19_29_34_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47b7b96faae360794697d79f737151c4.jpg","text":"TemporaryFile(/tmp/multipartBody6600673635547158378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312246286,"filename":"image_10072025_19_29_04_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875133","file1":"1371875130","file0":"1371875129","file4":"1371875135","file5":"1371875136","file3":"1371875134"},"map_files_photo_id_array":[{"photo_id":"1371875136","filename":"file5"},{"photo_id":"1371875133","filename":"file2"},{"photo_id":"1371875135","filename":"file4"},{"photo_id":"1371875130","filename":"file1"},{"photo_id":"1371875129","filename":"file0"},{"photo_id":"1371875134","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371875135":["hashtag1","hashtag2"]},{"1371875129":["hashtag1","hashtag2"]},{"1371875134":["hashtag1","hashtag2"]},{"1371875130":["hashtag1","hashtag2"]},{"1371875133":["hashtag1","hashtag2"]},{"1371875136":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371875135, 1371875129, 1371875134, 1371875130, 1371875133, 1371875136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14130997657776 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:23:47.645936
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/23/image_12072025_11_23_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/11/23/image_12072025_11_23_23_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/11/23/image_12072025_11_23_14_10676.jpg', 2), ('/home/nano/Desktop/images/12072025/11/22/image_12072025_11_22_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/23/image_12072025_11_23_33_9637.jpg', '/home/nano/Desktop/images/12072025/11/23/image_12072025_11_23_23_9641.jpg', '/home/nano/Desktop/images/12072025/11/23/image_12072025_11_23_14_10676.jpg', '/home/nano/Desktop/images/12072025/11/22/image_12072025_11_22_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/23/image_12072025_11_23_33_9637.jpg
/home/nano/Desktop/images/12072025/11/23/image_12072025_11_23_23_9641.jpg
/home/nano/Desktop/images/12072025/11/23/image_12072025_11_23_14_10676.jpg
/home/nano/Desktop/images/12072025/11/22/image_12072025_11_22_54_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875144","1371875146","1371875139","1371875142"],"photo_ids_order":["1371875139","1371875142","1371875144","1371875146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e432e872accf0af410bca5831395dd94.jpg","text":"TemporaryFile(/tmp/multipartBody194833752196594191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312288938,"filename":"image_12072025_11_23_14_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a07cdcc4fe8c95cdfc7b6c1203b6382b.jpg","text":"TemporaryFile(/tmp/multipartBody8791565462087146132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312288938,"filename":"image_12072025_11_22_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/adaad081476ca6d03c717635ec3f426d.jpg","text":"TemporaryFile(/tmp/multipartBody6606172938970148322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312288938,"filename":"image_12072025_11_23_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/350d9071f94c44c8d62b0c3d49f37dc3.jpg","text":"TemporaryFile(/tmp/multipartBody8320528835002789130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312288938,"filename":"image_12072025_11_23_23_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875144","file1":"1371875142","file0":"1371875139","file3":"1371875146"},"map_files_photo_id_array":[{"photo_id":"1371875144","filename":"file2"},{"photo_id":"1371875142","filename":"file1"},{"photo_id":"1371875139","filename":"file0"},{"photo_id":"1371875146","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875144":["hashtag1","hashtag2"]},{"1371875146":["hashtag1","hashtag2"]},{"1371875139":["hashtag1","hashtag2"]},{"1371875142":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875144, 1371875146, 1371875139, 1371875142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.73009443283081 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:24:17.735140
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_44_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_34_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_23_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_14_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/11/23/image_12072025_11_24_03_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/11/23/image_12072025_11_23_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_44_9660.jpg', '/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_34_10616.jpg', '/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_23_9636.jpg', '/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_14_10644.jpg', '/home/nano/Desktop/images/12072025/11/23/image_12072025_11_24_03_9628.jpg', '/home/nano/Desktop/images/12072025/11/23/image_12072025_11_23_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_44_9660.jpg
/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_34_10616.jpg
/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_23_9636.jpg
/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_14_10644.jpg
/home/nano/Desktop/images/12072025/11/23/image_12072025_11_24_03_9628.jpg
/home/nano/Desktop/images/12072025/11/23/image_12072025_11_23_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875153","1371875152","1371875155","1371875149","1371875151","1371875154"],"photo_ids_order":["1371875149","1371875151","1371875152","1371875153","1371875154","1371875155"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cda0394181adba28644ed2dd26f40a8d.jpg","text":"TemporaryFile(/tmp/multipartBody6251829207300183964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312319357,"filename":"image_12072025_11_24_14_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/386b5b4db7764e5b8d2b3f14a299e7cc.jpg","text":"TemporaryFile(/tmp/multipartBody7408200806714005955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312319357,"filename":"image_12072025_11_24_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64a566621071ed0660c7d0520440e412.jpg","text":"TemporaryFile(/tmp/multipartBody7480744794865692532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312319357,"filename":"image_12072025_11_23_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0edbe9e6aa50b675dab8c9df7486fa8.jpg","text":"TemporaryFile(/tmp/multipartBody2762239768295266911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312319357,"filename":"image_12072025_11_24_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b66accb6beba1af1a247f027bedd32b4.jpg","text":"TemporaryFile(/tmp/multipartBody3336435710282669117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312319357,"filename":"image_12072025_11_24_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e791860c08d763dd9b412f7e8d080b0.jpg","text":"TemporaryFile(/tmp/multipartBody7403054772773646647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312319357,"filename":"image_12072025_11_24_03_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875152","file1":"1371875151","file0":"1371875149","file4":"1371875154","file5":"1371875155","file3":"1371875153"},"map_files_photo_id_array":[{"photo_id":"1371875155","filename":"file5"},{"photo_id":"1371875152","filename":"file2"},{"photo_id":"1371875154","filename":"file4"},{"photo_id":"1371875151","filename":"file1"},{"photo_id":"1371875149","filename":"file0"},{"photo_id":"1371875153","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875153":["hashtag1","hashtag2"]},{"1371875152":["hashtag1","hashtag2"]},{"1371875155":["hashtag1","hashtag2"]},{"1371875149":["hashtag1","hashtag2"]},{"1371875151":["hashtag1","hashtag2"]},{"1371875154":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875153, 1371875152, 1371875155, 1371875149, 1371875151, 1371875154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43471097946167 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:25:02.594301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/28/image_10072025_19_28_53_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/19/28/image_10072025_19_28_44_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/19/28/image_10072025_19_28_33_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/19/28/image_10072025_19_28_14_10653.jpg', 2), ('/home/nano/Desktop/images/10072025/19/27/image_10072025_19_28_03_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/19/27/image_10072025_19_27_14_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/28/image_10072025_19_28_53_9629.jpg', '/home/nano/Desktop/images/10072025/19/28/image_10072025_19_28_44_10638.jpg', '/home/nano/Desktop/images/10072025/19/28/image_10072025_19_28_33_9638.jpg', '/home/nano/Desktop/images/10072025/19/28/image_10072025_19_28_14_10653.jpg', '/home/nano/Desktop/images/10072025/19/27/image_10072025_19_28_03_9641.jpg', '/home/nano/Desktop/images/10072025/19/27/image_10072025_19_27_14_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/28/image_10072025_19_28_53_9629.jpg
/home/nano/Desktop/images/10072025/19/28/image_10072025_19_28_44_10638.jpg
/home/nano/Desktop/images/10072025/19/28/image_10072025_19_28_33_9638.jpg
/home/nano/Desktop/images/10072025/19/28/image_10072025_19_28_14_10653.jpg
/home/nano/Desktop/images/10072025/19/27/image_10072025_19_28_03_9641.jpg
/home/nano/Desktop/images/10072025/19/27/image_10072025_19_27_14_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875174","1371875165","1371875167","1371875176","1371875175","1371875171"],"photo_ids_order":["1371875165","1371875167","1371875171","1371875174","1371875175","1371875176"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe6ce8e54487c15facf5aab7582cb85f.jpg","text":"TemporaryFile(/tmp/multipartBody7127168166046518889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312365214,"filename":"image_10072025_19_28_14_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c95c1416c2290a510d2617ed50c6df3.jpg","text":"TemporaryFile(/tmp/multipartBody3587955957320714883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312365214,"filename":"image_10072025_19_28_53_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68652e8a265409313418dac8e1c6ebad.jpg","text":"TemporaryFile(/tmp/multipartBody8496914635721404365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312365214,"filename":"image_10072025_19_28_44_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4166d172e69389a315f02386a25f212.jpg","text":"TemporaryFile(/tmp/multipartBody5712339531375355380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312365214,"filename":"image_10072025_19_27_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c35b6ade40d837a1ad25baa8b8f7b7d4.jpg","text":"TemporaryFile(/tmp/multipartBody3635252903179208111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312365214,"filename":"image_10072025_19_28_03_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b8993a63f5bbf7dd79f653c055e3702.jpg","text":"TemporaryFile(/tmp/multipartBody2013893049271762107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312365214,"filename":"image_10072025_19_28_33_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875171","file1":"1371875167","file0":"1371875165","file4":"1371875175","file5":"1371875176","file3":"1371875174"},"map_files_photo_id_array":[{"photo_id":"1371875176","filename":"file5"},{"photo_id":"1371875171","filename":"file2"},{"photo_id":"1371875175","filename":"file4"},{"photo_id":"1371875167","filename":"file1"},{"photo_id":"1371875165","filename":"file0"},{"photo_id":"1371875174","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371875174":["hashtag1","hashtag2"]},{"1371875165":["hashtag1","hashtag2"]},{"1371875167":["hashtag1","hashtag2"]},{"1371875176":["hashtag1","hashtag2"]},{"1371875175":["hashtag1","hashtag2"]},{"1371875171":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371875174, 1371875165, 1371875167, 1371875176, 1371875175, 1371875171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.377394676208496 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:25:46.847493
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_44_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_34_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_23_9742.jpg', 2), ('/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_14_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/11/24/image_12072025_11_25_04_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_53_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_44_9643.jpg', '/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_34_10642.jpg', '/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_23_9742.jpg', '/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_14_9675.jpg', '/home/nano/Desktop/images/12072025/11/24/image_12072025_11_25_04_10677.jpg', '/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_53_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_44_9643.jpg
/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_34_10642.jpg
/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_23_9742.jpg
/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_14_9675.jpg
/home/nano/Desktop/images/12072025/11/24/image_12072025_11_25_04_10677.jpg
/home/nano/Desktop/images/12072025/11/24/image_12072025_11_24_53_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875183","1371875179","1371875188","1371875181","1371875184","1371875186"],"photo_ids_order":["1371875179","1371875181","1371875183","1371875184","1371875186","1371875188"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd047dd63fce95cc8932258ad8f0c91d.jpg","text":"TemporaryFile(/tmp/multipartBody3736841945822048343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312409134,"filename":"image_12072025_11_25_23_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94b1cd7618693e09e26f7768c3eaa009.jpg","text":"TemporaryFile(/tmp/multipartBody7771690371652010078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312409134,"filename":"image_12072025_11_25_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f207d13213b61840dc36ba74f4642b6d.jpg","text":"TemporaryFile(/tmp/multipartBody4380333430880861594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312409134,"filename":"image_12072025_11_24_53_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f60083db41647e8d8bcdfc9610a4e74.jpg","text":"TemporaryFile(/tmp/multipartBody6867944494464523608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312409134,"filename":"image_12072025_11_25_34_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a216142a0bd7b2769ce535ba578291f.jpg","text":"TemporaryFile(/tmp/multipartBody4726468675532677968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312409134,"filename":"image_12072025_11_25_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ddbcca756cd28b02c26af5fdac91766e.jpg","text":"TemporaryFile(/tmp/multipartBody3582457454574509511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312409134,"filename":"image_12072025_11_25_04_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875183","file1":"1371875181","file0":"1371875179","file4":"1371875186","file5":"1371875188","file3":"1371875184"},"map_files_photo_id_array":[{"photo_id":"1371875188","filename":"file5"},{"photo_id":"1371875183","filename":"file2"},{"photo_id":"1371875186","filename":"file4"},{"photo_id":"1371875181","filename":"file1"},{"photo_id":"1371875179","filename":"file0"},{"photo_id":"1371875184","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875183":["hashtag1","hashtag2"]},{"1371875179":["hashtag1","hashtag2"]},{"1371875188":["hashtag1","hashtag2"]},{"1371875181":["hashtag1","hashtag2"]},{"1371875184":["hashtag1","hashtag2"]},{"1371875186":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875183, 1371875179, 1371875188, 1371875181, 1371875184, 1371875186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3342387676239 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:26:31.962701
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_43_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_34_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_23_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_14_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/11/25/image_12072025_11_26_04_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_43_9649.jpg', '/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_34_10624.jpg', '/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_23_9617.jpg', '/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_14_9647.jpg', '/home/nano/Desktop/images/12072025/11/25/image_12072025_11_26_04_10658.jpg', '/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_43_9649.jpg
/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_34_10624.jpg
/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_23_9617.jpg
/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_14_9647.jpg
/home/nano/Desktop/images/12072025/11/25/image_12072025_11_26_04_10658.jpg
/home/nano/Desktop/images/12072025/11/25/image_12072025_11_25_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875195","1371875201","1371875194","1371875203","1371875206","1371875196"],"photo_ids_order":["1371875194","1371875195","1371875196","1371875201","1371875203","1371875206"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d583edadcdc67eeb4a334a878a041a7.jpg","text":"TemporaryFile(/tmp/multipartBody5587251356708421392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312453916,"filename":"image_12072025_11_26_34_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/decc13c245a031bfe5c6a51191da4215.jpg","text":"TemporaryFile(/tmp/multipartBody5549948236101678588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312453916,"filename":"image_12072025_11_26_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c42431b1ad3249c45d1682c10bca4bd.jpg","text":"TemporaryFile(/tmp/multipartBody8889004720349118120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312453916,"filename":"image_12072025_11_26_43_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6b7a1794c56fc7f3f207dd6e284fb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4940884836889754374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312453916,"filename":"image_12072025_11_26_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/124eef2f97854b89c047b790085e8a3c.jpg","text":"TemporaryFile(/tmp/multipartBody8546152760978777171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312453916,"filename":"image_12072025_11_25_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1e68d6950834310f2129de099116415.jpg","text":"TemporaryFile(/tmp/multipartBody8595408660987853919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312453916,"filename":"image_12072025_11_26_23_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875196","file1":"1371875195","file0":"1371875194","file4":"1371875203","file5":"1371875206","file3":"1371875201"},"map_files_photo_id_array":[{"photo_id":"1371875206","filename":"file5"},{"photo_id":"1371875196","filename":"file2"},{"photo_id":"1371875203","filename":"file4"},{"photo_id":"1371875195","filename":"file1"},{"photo_id":"1371875194","filename":"file0"},{"photo_id":"1371875201","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875195":["hashtag1","hashtag2"]},{"1371875201":["hashtag1","hashtag2"]},{"1371875194":["hashtag1","hashtag2"]},{"1371875203":["hashtag1","hashtag2"]},{"1371875206":["hashtag1","hashtag2"]},{"1371875196":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875195, 1371875201, 1371875194, 1371875203, 1371875206, 1371875196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51018762588501 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:27:17.063776
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_43_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_34_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_24_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_13_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/11/26/image_12072025_11_27_04_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_53_9676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_43_9597.jpg', '/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_34_9602.jpg', '/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_24_10628.jpg', '/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_13_9623.jpg', '/home/nano/Desktop/images/12072025/11/26/image_12072025_11_27_04_10620.jpg', '/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_53_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_43_9597.jpg
/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_34_9602.jpg
/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_24_10628.jpg
/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_13_9623.jpg
/home/nano/Desktop/images/12072025/11/26/image_12072025_11_27_04_10620.jpg
/home/nano/Desktop/images/12072025/11/26/image_12072025_11_26_53_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875213","1371875215","1371875218","1371875212","1371875220","1371875217"],"photo_ids_order":["1371875212","1371875213","1371875215","1371875217","1371875218","1371875220"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce929882e7a466cef57ea9941a24157b.jpg","text":"TemporaryFile(/tmp/multipartBody8664364404335197014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312497934,"filename":"image_12072025_11_27_34_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89e4c385a8e91d101015482005ecbe21.jpg","text":"TemporaryFile(/tmp/multipartBody4471492447461128998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312497934,"filename":"image_12072025_11_27_24_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0774ba8f07e81b3743b70d5cfc0e2177.jpg","text":"TemporaryFile(/tmp/multipartBody1879702061089522259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312497934,"filename":"image_12072025_11_27_04_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f2ef318a627d68c161f388cafc67cf6.jpg","text":"TemporaryFile(/tmp/multipartBody1054222780495652360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312497934,"filename":"image_12072025_11_27_43_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd9dfdb803a5346837bf5a5d3ac106f9.jpg","text":"TemporaryFile(/tmp/multipartBody1971208024554000302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312497934,"filename":"image_12072025_11_26_53_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3719042ad100940c043fa1611f6b061c.jpg","text":"TemporaryFile(/tmp/multipartBody4285849583436257666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312497934,"filename":"image_12072025_11_27_13_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875215","file1":"1371875213","file0":"1371875212","file4":"1371875218","file5":"1371875220","file3":"1371875217"},"map_files_photo_id_array":[{"photo_id":"1371875220","filename":"file5"},{"photo_id":"1371875215","filename":"file2"},{"photo_id":"1371875218","filename":"file4"},{"photo_id":"1371875213","filename":"file1"},{"photo_id":"1371875212","filename":"file0"},{"photo_id":"1371875217","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875213":["hashtag1","hashtag2"]},{"1371875215":["hashtag1","hashtag2"]},{"1371875218":["hashtag1","hashtag2"]},{"1371875212":["hashtag1","hashtag2"]},{"1371875220":["hashtag1","hashtag2"]},{"1371875217":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875213, 1371875215, 1371875218, 1371875212, 1371875220, 1371875217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66033577919006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:28:02.673059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/26/image_10072025_19_27_03_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_44_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_33_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_13_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/19/25/image_10072025_19_26_03_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/19/25/image_10072025_19_25_34_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/26/image_10072025_19_27_03_9630.jpg', '/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_44_10641.jpg', '/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_33_9639.jpg', '/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_13_9649.jpg', '/home/nano/Desktop/images/10072025/19/25/image_10072025_19_26_03_9646.jpg', '/home/nano/Desktop/images/10072025/19/25/image_10072025_19_25_34_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/26/image_10072025_19_27_03_9630.jpg
/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_44_10641.jpg
/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_33_9639.jpg
/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_13_9649.jpg
/home/nano/Desktop/images/10072025/19/25/image_10072025_19_26_03_9646.jpg
/home/nano/Desktop/images/10072025/19/25/image_10072025_19_25_34_9630.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4188005924224854 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:28:17.144262
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_44_10596.jpg', 2), ('/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_13_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/11/27/image_12072025_11_28_04_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_54_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_44_10596.jpg', '/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_33_9608.jpg', '/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_24_10649.jpg', '/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_13_9623.jpg', '/home/nano/Desktop/images/12072025/11/27/image_12072025_11_28_04_9638.jpg', '/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_54_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_44_10596.jpg
/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_33_9608.jpg
/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_24_10649.jpg
/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_13_9623.jpg
/home/nano/Desktop/images/12072025/11/27/image_12072025_11_28_04_9638.jpg
/home/nano/Desktop/images/12072025/11/27/image_12072025_11_27_54_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875228","1371875233","1371875236","1371875230","1371875232","1371875235"],"photo_ids_order":["1371875228","1371875230","1371875232","1371875233","1371875235","1371875236"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/baa76487ecd8cfefa685e19429ba08bd.jpg","text":"TemporaryFile(/tmp/multipartBody3516037620107684945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312558499,"filename":"image_12072025_11_28_44_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/028dfc2dbee3384e554c44ac09dc0b2e.jpg","text":"TemporaryFile(/tmp/multipartBody3909770942244267957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312558499,"filename":"image_12072025_11_28_13_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47c69fd30fad918d1189daf2d79ce5d3.jpg","text":"TemporaryFile(/tmp/multipartBody2175617356850219453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312558499,"filename":"image_12072025_11_27_54_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cea30a3d75015e577b9d59831fe7fda8.jpg","text":"TemporaryFile(/tmp/multipartBody3124607843300876854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312558499,"filename":"image_12072025_11_28_33_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16d00326d9b8942b66b94e3bd860bfbe.jpg","text":"TemporaryFile(/tmp/multipartBody7882774583578274113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312558499,"filename":"image_12072025_11_28_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8eeec0700ac83c6d3747cf7c39ee5cc7.jpg","text":"TemporaryFile(/tmp/multipartBody4555742798995021380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312558499,"filename":"image_12072025_11_28_04_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875232","file1":"1371875230","file0":"1371875228","file4":"1371875235","file5":"1371875236","file3":"1371875233"},"map_files_photo_id_array":[{"photo_id":"1371875236","filename":"file5"},{"photo_id":"1371875232","filename":"file2"},{"photo_id":"1371875235","filename":"file4"},{"photo_id":"1371875230","filename":"file1"},{"photo_id":"1371875228","filename":"file0"},{"photo_id":"1371875233","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875228":["hashtag1","hashtag2"]},{"1371875233":["hashtag1","hashtag2"]},{"1371875236":["hashtag1","hashtag2"]},{"1371875230":["hashtag1","hashtag2"]},{"1371875232":["hashtag1","hashtag2"]},{"1371875235":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875228, 1371875233, 1371875236, 1371875230, 1371875232, 1371875235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36193060874939 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:29:03.183475
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/26/image_10072025_19_27_03_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_44_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_33_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_13_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/19/25/image_10072025_19_26_03_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/19/25/image_10072025_19_25_34_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/26/image_10072025_19_27_03_9630.jpg', '/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_44_10641.jpg', '/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_33_9639.jpg', '/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_13_9649.jpg', '/home/nano/Desktop/images/10072025/19/25/image_10072025_19_26_03_9646.jpg', '/home/nano/Desktop/images/10072025/19/25/image_10072025_19_25_34_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/26/image_10072025_19_27_03_9630.jpg
/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_44_10641.jpg
/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_33_9639.jpg
/home/nano/Desktop/images/10072025/19/26/image_10072025_19_26_13_9649.jpg
/home/nano/Desktop/images/10072025/19/25/image_10072025_19_26_03_9646.jpg
/home/nano/Desktop/images/10072025/19/25/image_10072025_19_25_34_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875252","1371875246","1371875251","1371875248","1371875241","1371875244"],"photo_ids_order":["1371875241","1371875244","1371875246","1371875248","1371875251","1371875252"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7827a67e9f9e2dad3f54234d674fbc14.jpg","text":"TemporaryFile(/tmp/multipartBody1972323701381524283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312606253,"filename":"image_10072025_19_25_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24e768a7430106c42c75562799ecd8c2.jpg","text":"TemporaryFile(/tmp/multipartBody5641255851000045621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312606253,"filename":"image_10072025_19_26_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8350bce8ec4a96fbbb7d0e8c8d1249dd.jpg","text":"TemporaryFile(/tmp/multipartBody846337143263211482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312606253,"filename":"image_10072025_19_26_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a6fad52e4acfad284f7813b9aa6f4a0.jpg","text":"TemporaryFile(/tmp/multipartBody1394766380809124681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312606253,"filename":"image_10072025_19_26_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2ed81bb3359b989a5aa403d36b90b2a.jpg","text":"TemporaryFile(/tmp/multipartBody6125300446506876101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312606253,"filename":"image_10072025_19_27_03_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79a0c1294ca9ed1b3543df04e27602b0.jpg","text":"TemporaryFile(/tmp/multipartBody7049558724143317066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312606253,"filename":"image_10072025_19_26_44_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875246","file1":"1371875244","file0":"1371875241","file4":"1371875251","file5":"1371875252","file3":"1371875248"},"map_files_photo_id_array":[{"photo_id":"1371875252","filename":"file5"},{"photo_id":"1371875246","filename":"file2"},{"photo_id":"1371875251","filename":"file4"},{"photo_id":"1371875244","filename":"file1"},{"photo_id":"1371875241","filename":"file0"},{"photo_id":"1371875248","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371875252":["hashtag1","hashtag2"]},{"1371875246":["hashtag1","hashtag2"]},{"1371875251":["hashtag1","hashtag2"]},{"1371875248":["hashtag1","hashtag2"]},{"1371875241":["hashtag1","hashtag2"]},{"1371875244":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371875252, 1371875246, 1371875251, 1371875248, 1371875241, 1371875244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3480122089386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:29:47.329497
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_44_9588.jpg', 2), ('/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_34_10596.jpg', 2), ('/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_23_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_14_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/11/28/image_12072025_11_29_03_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_54_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_44_9588.jpg', '/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_34_10596.jpg', '/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_23_9606.jpg', '/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_14_10629.jpg', '/home/nano/Desktop/images/12072025/11/28/image_12072025_11_29_03_9606.jpg', '/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_54_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_44_9588.jpg
/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_34_10596.jpg
/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_23_9606.jpg
/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_14_10629.jpg
/home/nano/Desktop/images/12072025/11/28/image_12072025_11_29_03_9606.jpg
/home/nano/Desktop/images/12072025/11/28/image_12072025_11_28_54_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875276","1371875284","1371875278","1371875280","1371875274","1371875283"],"photo_ids_order":["1371875274","1371875276","1371875278","1371875280","1371875283","1371875284"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c51e1803f0c1d4198774138b25fd8b5.jpg","text":"TemporaryFile(/tmp/multipartBody7080352155410140456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312649082,"filename":"image_12072025_11_29_34_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01588b84ee1c6735650f661fb8e8ad21.jpg","text":"TemporaryFile(/tmp/multipartBody7671673644179949755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312649082,"filename":"image_12072025_11_28_54_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86b6a752c6aa878d3420fe0bcb2cda8f.jpg","text":"TemporaryFile(/tmp/multipartBody7938478765855276074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312649082,"filename":"image_12072025_11_29_23_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1382bd35ad952f4a821ddf04edf8f49.jpg","text":"TemporaryFile(/tmp/multipartBody5318540863829384205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312649082,"filename":"image_12072025_11_29_14_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ea7407ce6df44542d83a572e9a038bf.jpg","text":"TemporaryFile(/tmp/multipartBody8358269298943808463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312649082,"filename":"image_12072025_11_29_44_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5c1d855c37d838847c873620ad6bdd1.jpg","text":"TemporaryFile(/tmp/multipartBody7664730090874397968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312649082,"filename":"image_12072025_11_29_03_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875278","file1":"1371875276","file0":"1371875274","file4":"1371875283","file5":"1371875284","file3":"1371875280"},"map_files_photo_id_array":[{"photo_id":"1371875284","filename":"file5"},{"photo_id":"1371875278","filename":"file2"},{"photo_id":"1371875283","filename":"file4"},{"photo_id":"1371875276","filename":"file1"},{"photo_id":"1371875274","filename":"file0"},{"photo_id":"1371875280","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875276":["hashtag1","hashtag2"]},{"1371875284":["hashtag1","hashtag2"]},{"1371875278":["hashtag1","hashtag2"]},{"1371875280":["hashtag1","hashtag2"]},{"1371875274":["hashtag1","hashtag2"]},{"1371875283":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875276, 1371875284, 1371875278, 1371875280, 1371875274, 1371875283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63149690628052 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:30:32.429671
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_43_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_34_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_24_10595.jpg', 2), ('/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_13_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/11/29/image_12072025_11_30_04_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_53_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_43_9601.jpg', '/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_34_9598.jpg', '/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_24_10595.jpg', '/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_13_9632.jpg', '/home/nano/Desktop/images/12072025/11/29/image_12072025_11_30_04_10628.jpg', '/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_53_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_43_9601.jpg
/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_34_9598.jpg
/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_24_10595.jpg
/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_13_9632.jpg
/home/nano/Desktop/images/12072025/11/29/image_12072025_11_30_04_10628.jpg
/home/nano/Desktop/images/12072025/11/29/image_12072025_11_29_53_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875393","1371875288","1371875296","1371875292","1371875286","1371875311"],"photo_ids_order":["1371875286","1371875288","1371875292","1371875296","1371875311","1371875393"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5086edc1e2e878a6814f11eefaba3bb7.jpg","text":"TemporaryFile(/tmp/multipartBody2679592196825308754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312693828,"filename":"image_12072025_11_29_53_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/588e71853c1109dabdfe0b4b42751689.jpg","text":"TemporaryFile(/tmp/multipartBody2938437395266992328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312693828,"filename":"image_12072025_11_30_34_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ecb6c5825abe661e9c5c41885c0bc86.jpg","text":"TemporaryFile(/tmp/multipartBody8329519650573247334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312693828,"filename":"image_12072025_11_30_13_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a4497263c045a65af02d310fe3f2ad6.jpg","text":"TemporaryFile(/tmp/multipartBody1321817100603911164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312693828,"filename":"image_12072025_11_30_24_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c47feded7ae1ae84bc3bb574ea303d54.jpg","text":"TemporaryFile(/tmp/multipartBody6536248278914704251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312693828,"filename":"image_12072025_11_30_43_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e923f45d966abc05b2bcca4a34ed633.jpg","text":"TemporaryFile(/tmp/multipartBody1327975481189571628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312693828,"filename":"image_12072025_11_30_04_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875292","file1":"1371875288","file0":"1371875286","file4":"1371875311","file5":"1371875393","file3":"1371875296"},"map_files_photo_id_array":[{"photo_id":"1371875393","filename":"file5"},{"photo_id":"1371875292","filename":"file2"},{"photo_id":"1371875311","filename":"file4"},{"photo_id":"1371875288","filename":"file1"},{"photo_id":"1371875286","filename":"file0"},{"photo_id":"1371875296","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875393":["hashtag1","hashtag2"]},{"1371875288":["hashtag1","hashtag2"]},{"1371875296":["hashtag1","hashtag2"]},{"1371875292":["hashtag1","hashtag2"]},{"1371875286":["hashtag1","hashtag2"]},{"1371875311":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875393, 1371875288, 1371875296, 1371875292, 1371875286, 1371875311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.6541998386383 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:31:47.570461
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_44_10599.jpg', 2), ('/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_33_9587.jpg', 2), ('/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_24_10599.jpg', 2), ('/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_13_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/11/30/image_12072025_11_31_03_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_54_10601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_44_10599.jpg', '/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_33_9587.jpg', '/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_24_10599.jpg', '/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_13_9603.jpg', '/home/nano/Desktop/images/12072025/11/30/image_12072025_11_31_03_9605.jpg', '/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_54_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_44_10599.jpg
/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_33_9587.jpg
/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_24_10599.jpg
/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_13_9603.jpg
/home/nano/Desktop/images/12072025/11/30/image_12072025_11_31_03_9605.jpg
/home/nano/Desktop/images/12072025/11/30/image_12072025_11_30_54_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875684","1371875726","1371875600","1371875791","1371875751","1371875655"],"photo_ids_order":["1371875600","1371875655","1371875684","1371875726","1371875751","1371875791"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a6a9f571fd7265c2e490c8361ec6e42.jpg","text":"TemporaryFile(/tmp/multipartBody415810697781396695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312769051,"filename":"image_12072025_11_31_24_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c927b5dd1e5400c2f31ac473c3e1345c.jpg","text":"TemporaryFile(/tmp/multipartBody275736607409457303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312769051,"filename":"image_12072025_11_31_13_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01450094f99d02f42ac1cb0ebd8de093.jpg","text":"TemporaryFile(/tmp/multipartBody451943919479660004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312769051,"filename":"image_12072025_11_31_44_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30cf705fafa2ec7c4e18e66170d105b6.jpg","text":"TemporaryFile(/tmp/multipartBody2834797249364301101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312769051,"filename":"image_12072025_11_30_54_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31015d925d874a342e0e3a8926f2514d.jpg","text":"TemporaryFile(/tmp/multipartBody3573342994745383192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312769051,"filename":"image_12072025_11_31_03_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f727107cf418fa35916831de02b74c77.jpg","text":"TemporaryFile(/tmp/multipartBody954172297395769330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312769051,"filename":"image_12072025_11_31_33_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875684","file1":"1371875655","file0":"1371875600","file4":"1371875751","file5":"1371875791","file3":"1371875726"},"map_files_photo_id_array":[{"photo_id":"1371875791","filename":"file5"},{"photo_id":"1371875684","filename":"file2"},{"photo_id":"1371875751","filename":"file4"},{"photo_id":"1371875655","filename":"file1"},{"photo_id":"1371875600","filename":"file0"},{"photo_id":"1371875726","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875684":["hashtag1","hashtag2"]},{"1371875726":["hashtag1","hashtag2"]},{"1371875600":["hashtag1","hashtag2"]},{"1371875791":["hashtag1","hashtag2"]},{"1371875751":["hashtag1","hashtag2"]},{"1371875655":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875684, 1371875726, 1371875600, 1371875791, 1371875751, 1371875655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.89298701286316 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:32:32.678958
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_43_9590.jpg', 2), ('/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_34_10593.jpg', 2), ('/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_23_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_14_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/11/31/image_12072025_11_32_04_10598.jpg', 2), ('/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_53_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_43_9590.jpg', '/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_34_10593.jpg', '/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_23_9592.jpg', '/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_14_9617.jpg', '/home/nano/Desktop/images/12072025/11/31/image_12072025_11_32_04_10598.jpg', '/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_53_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_43_9590.jpg
/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_34_10593.jpg
/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_23_9592.jpg
/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_14_9617.jpg
/home/nano/Desktop/images/12072025/11/31/image_12072025_11_32_04_10598.jpg
/home/nano/Desktop/images/12072025/11/31/image_12072025_11_31_53_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371875921","1371876051","1371875976","1371876027","1371876000","1371875952"],"photo_ids_order":["1371875921","1371875952","1371875976","1371876000","1371876027","1371876051"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19f290da402838f0c7f57b77bcf4b50b.jpg","text":"TemporaryFile(/tmp/multipartBody8549401884166645705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312813761,"filename":"image_12072025_11_32_43_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4bd3340a8cfb1ffb1ae61d7f31439fc4.jpg","text":"TemporaryFile(/tmp/multipartBody6312434805881526117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312813761,"filename":"image_12072025_11_31_53_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2f65910ddae6f04d8194eb152e6664c.jpg","text":"TemporaryFile(/tmp/multipartBody1393227877248819389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312813761,"filename":"image_12072025_11_32_23_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90bd0a5b87fb097a673d1c150c7335c2.jpg","text":"TemporaryFile(/tmp/multipartBody4779078788909044163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312813761,"filename":"image_12072025_11_32_04_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e18099fd18f43ec0f195dd32da2fe541.jpg","text":"TemporaryFile(/tmp/multipartBody874642320139953876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312813761,"filename":"image_12072025_11_32_14_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26278631faefe396b3dc478e93e333c5.jpg","text":"TemporaryFile(/tmp/multipartBody180682387628488329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312813761,"filename":"image_12072025_11_32_34_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371875976","file1":"1371875952","file0":"1371875921","file4":"1371876027","file5":"1371876051","file3":"1371876000"},"map_files_photo_id_array":[{"photo_id":"1371876051","filename":"file5"},{"photo_id":"1371875976","filename":"file2"},{"photo_id":"1371876027","filename":"file4"},{"photo_id":"1371875952","filename":"file1"},{"photo_id":"1371875921","filename":"file0"},{"photo_id":"1371876000","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371875921":["hashtag1","hashtag2"]},{"1371876051":["hashtag1","hashtag2"]},{"1371875976":["hashtag1","hashtag2"]},{"1371876027":["hashtag1","hashtag2"]},{"1371876000":["hashtag1","hashtag2"]},{"1371875952":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371875921, 1371876051, 1371875976, 1371876027, 1371876000, 1371875952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85730266571045 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:33:16.799510
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_43_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_34_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_24_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_13_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/11/32/image_12072025_11_33_04_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_54_10593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_43_9625.jpg', '/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_34_9645.jpg', '/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_24_10640.jpg', '/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_13_9640.jpg', '/home/nano/Desktop/images/12072025/11/32/image_12072025_11_33_04_9628.jpg', '/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_54_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_43_9625.jpg
/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_34_9645.jpg
/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_24_10640.jpg
/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_13_9640.jpg
/home/nano/Desktop/images/12072025/11/32/image_12072025_11_33_04_9628.jpg
/home/nano/Desktop/images/12072025/11/32/image_12072025_11_32_54_10593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371876209","1371876259","1371876316","1371876288","1371876168","1371876234"],"photo_ids_order":["1371876168","1371876209","1371876234","1371876259","1371876288","1371876316"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a349011ee957da1277703a5881902d31.jpg","text":"TemporaryFile(/tmp/multipartBody8081304581491530972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312858156,"filename":"image_12072025_11_33_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89425eb820d6435fbb9eb2c6dbc2bdfb.jpg","text":"TemporaryFile(/tmp/multipartBody3782246268645974509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312858156,"filename":"image_12072025_11_33_13_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b87f45dcf7f4b288cf89f1b59f669258.jpg","text":"TemporaryFile(/tmp/multipartBody4096551006131916169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312858156,"filename":"image_12072025_11_32_54_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e199af083752cec5f5d310dd17ac3b5a.jpg","text":"TemporaryFile(/tmp/multipartBody2119422185693752051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312858156,"filename":"image_12072025_11_33_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eba3b7da64b21f8e792a3ac54d2565af.jpg","text":"TemporaryFile(/tmp/multipartBody4226251656620119074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312858156,"filename":"image_12072025_11_33_43_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a935c658377e1bc4f97719cb73688a53.jpg","text":"TemporaryFile(/tmp/multipartBody2288978110963253980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312858156,"filename":"image_12072025_11_33_24_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371876234","file1":"1371876209","file0":"1371876168","file4":"1371876288","file5":"1371876316","file3":"1371876259"},"map_files_photo_id_array":[{"photo_id":"1371876316","filename":"file5"},{"photo_id":"1371876234","filename":"file2"},{"photo_id":"1371876288","filename":"file4"},{"photo_id":"1371876209","filename":"file1"},{"photo_id":"1371876168","filename":"file0"},{"photo_id":"1371876259","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371876209":["hashtag1","hashtag2"]},{"1371876259":["hashtag1","hashtag2"]},{"1371876316":["hashtag1","hashtag2"]},{"1371876288":["hashtag1","hashtag2"]},{"1371876168":["hashtag1","hashtag2"]},{"1371876234":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371876209, 1371876259, 1371876316, 1371876288, 1371876168, 1371876234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60569500923157 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:34:02.774664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/25/image_10072025_19_25_24_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/19/25/image_10072025_19_25_13_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_54_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_43_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_34_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_24_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/25/image_10072025_19_25_24_10647.jpg', '/home/nano/Desktop/images/10072025/19/25/image_10072025_19_25_13_9651.jpg', '/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_54_10647.jpg', '/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_43_9630.jpg', '/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_34_9630.jpg', '/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_24_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/25/image_10072025_19_25_24_10647.jpg
/home/nano/Desktop/images/10072025/19/25/image_10072025_19_25_13_9651.jpg
/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_54_10647.jpg
/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_43_9630.jpg
/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_34_9630.jpg
/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_24_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371876449","1371876480","1371876582","1371876450","1371876453","1371876524"],"photo_ids_order":["1371876449","1371876450","1371876453","1371876480","1371876524","1371876582"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64e12eaee85bf1f02646f305753aea08.jpg","text":"TemporaryFile(/tmp/multipartBody8831642584335574866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312906129,"filename":"image_10072025_19_25_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15ce98ad09e6287812fe54cbc8e16c6f.jpg","text":"TemporaryFile(/tmp/multipartBody3231161151423230980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312906129,"filename":"image_10072025_19_24_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27ded61b479130c7611dd99e24eff818.jpg","text":"TemporaryFile(/tmp/multipartBody7320918047753791120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312906129,"filename":"image_10072025_19_24_24_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e2e9db299f07cc14a479debc6509346.jpg","text":"TemporaryFile(/tmp/multipartBody2212540560521684912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312906129,"filename":"image_10072025_19_25_13_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c07884cf4a022f4c7b8640a3ab01da8.jpg","text":"TemporaryFile(/tmp/multipartBody1237158445902762566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312906129,"filename":"image_10072025_19_24_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c259a5e0601e2751ed3ac1923a0df5bc.jpg","text":"TemporaryFile(/tmp/multipartBody4721620363784611683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312906129,"filename":"image_10072025_19_24_34_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371876453","file1":"1371876450","file0":"1371876449","file4":"1371876524","file5":"1371876582","file3":"1371876480"},"map_files_photo_id_array":[{"photo_id":"1371876582","filename":"file5"},{"photo_id":"1371876453","filename":"file2"},{"photo_id":"1371876524","filename":"file4"},{"photo_id":"1371876450","filename":"file1"},{"photo_id":"1371876449","filename":"file0"},{"photo_id":"1371876480","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371876449":["hashtag1","hashtag2"]},{"1371876480":["hashtag1","hashtag2"]},{"1371876582":["hashtag1","hashtag2"]},{"1371876450":["hashtag1","hashtag2"]},{"1371876453":["hashtag1","hashtag2"]},{"1371876524":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371876449, 1371876480, 1371876582, 1371876450, 1371876453, 1371876524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97271537780762 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:34:46.921910
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_44_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_33_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_24_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_13_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/11/33/image_12072025_11_34_03_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_54_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_44_10665.jpg', '/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_33_9614.jpg', '/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_24_10646.jpg', '/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_13_9643.jpg', '/home/nano/Desktop/images/12072025/11/33/image_12072025_11_34_03_9618.jpg', '/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_54_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_44_10665.jpg
/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_33_9614.jpg
/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_24_10646.jpg
/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_13_9643.jpg
/home/nano/Desktop/images/12072025/11/33/image_12072025_11_34_03_9618.jpg
/home/nano/Desktop/images/12072025/11/33/image_12072025_11_33_54_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371876886","1371876805","1371876780","1371876861","1371876926","1371876821"],"photo_ids_order":["1371876780","1371876805","1371876821","1371876861","1371876886","1371876926"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1bb546c2e653cd04259f10598360579.jpg","text":"TemporaryFile(/tmp/multipartBody5723126761852391927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312948772,"filename":"image_12072025_11_34_03_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1145859d3e60bb2a18c27013c2129314.jpg","text":"TemporaryFile(/tmp/multipartBody4738830224603531689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312948772,"filename":"image_12072025_11_34_33_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a68a15d9e482783b205c2a48aecefa6.jpg","text":"TemporaryFile(/tmp/multipartBody8393882820156557317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312948772,"filename":"image_12072025_11_34_44_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e02c5dbaf0fe0ae2e58d5cf40c9a3e9.jpg","text":"TemporaryFile(/tmp/multipartBody4791812569760011574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312948772,"filename":"image_12072025_11_34_13_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73f3f4ed96b1eeb8209a48dc1e65d523.jpg","text":"TemporaryFile(/tmp/multipartBody6811234796124810663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312948772,"filename":"image_12072025_11_33_54_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95a2a5ffeb972fe1c1209e1e0c5e638f.jpg","text":"TemporaryFile(/tmp/multipartBody314734890617468916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312948772,"filename":"image_12072025_11_34_24_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371876821","file1":"1371876805","file0":"1371876780","file4":"1371876886","file5":"1371876926","file3":"1371876861"},"map_files_photo_id_array":[{"photo_id":"1371876926","filename":"file5"},{"photo_id":"1371876821","filename":"file2"},{"photo_id":"1371876886","filename":"file4"},{"photo_id":"1371876805","filename":"file1"},{"photo_id":"1371876780","filename":"file0"},{"photo_id":"1371876861","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371876886":["hashtag1","hashtag2"]},{"1371876805":["hashtag1","hashtag2"]},{"1371876780":["hashtag1","hashtag2"]},{"1371876861":["hashtag1","hashtag2"]},{"1371876926":["hashtag1","hashtag2"]},{"1371876821":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371876886, 1371876805, 1371876780, 1371876861, 1371876926, 1371876821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6853187084198 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:35:32.009952
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_44_10609.jpg', 2), ('/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_33_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_24_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_14_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/11/34/image_12072025_11_35_03_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_54_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_44_10609.jpg', '/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_33_9607.jpg', '/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_24_9601.jpg', '/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_14_10645.jpg', '/home/nano/Desktop/images/12072025/11/34/image_12072025_11_35_03_9613.jpg', '/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_54_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_44_10609.jpg
/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_33_9607.jpg
/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_24_9601.jpg
/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_14_10645.jpg
/home/nano/Desktop/images/12072025/11/34/image_12072025_11_35_03_9613.jpg
/home/nano/Desktop/images/12072025/11/34/image_12072025_11_34_54_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371876997","1371876996","1371876999","1371877002","1371876995","1371876998"],"photo_ids_order":["1371876995","1371876996","1371876997","1371876998","1371876999","1371877002"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f39b100ff7a3095166152390dff69d34.jpg","text":"TemporaryFile(/tmp/multipartBody4764947936041117234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312993023,"filename":"image_12072025_11_35_24_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b69f2ee173e4829e76368b2086a1421.jpg","text":"TemporaryFile(/tmp/multipartBody4435957733338897269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312993023,"filename":"image_12072025_11_35_33_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1db2a154354aceb20aead77a9858fb67.jpg","text":"TemporaryFile(/tmp/multipartBody8851626378632326328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312993023,"filename":"image_12072025_11_35_03_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c074cdf2329f1ff754ff581ed8ba4eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1900982573446951124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312993023,"filename":"image_12072025_11_34_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fbe0f2e2c77e52f0cd2c7ebc2d5137e2.jpg","text":"TemporaryFile(/tmp/multipartBody7093080451439787504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312993023,"filename":"image_12072025_11_35_44_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/464c7114c0b9e3dfa0602782b333c886.jpg","text":"TemporaryFile(/tmp/multipartBody12165013284342909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752312993023,"filename":"image_12072025_11_35_14_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371876997","file1":"1371876996","file0":"1371876995","file4":"1371876999","file5":"1371877002","file3":"1371876998"},"map_files_photo_id_array":[{"photo_id":"1371877002","filename":"file5"},{"photo_id":"1371876997","filename":"file2"},{"photo_id":"1371876999","filename":"file4"},{"photo_id":"1371876996","filename":"file1"},{"photo_id":"1371876995","filename":"file0"},{"photo_id":"1371876998","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371876997":["hashtag1","hashtag2"]},{"1371876996":["hashtag1","hashtag2"]},{"1371876999":["hashtag1","hashtag2"]},{"1371877002":["hashtag1","hashtag2"]},{"1371876995":["hashtag1","hashtag2"]},{"1371876998":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371876997, 1371876996, 1371876999, 1371877002, 1371876995, 1371876998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.647091150283813 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:36:17.138688
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_43_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_34_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_23_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_14_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/11/35/image_12072025_11_36_04_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_53_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_43_9615.jpg', '/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_34_10638.jpg', '/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_23_9607.jpg', '/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_14_9617.jpg', '/home/nano/Desktop/images/12072025/11/35/image_12072025_11_36_04_10647.jpg', '/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_53_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_43_9615.jpg
/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_34_10638.jpg
/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_23_9607.jpg
/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_14_9617.jpg
/home/nano/Desktop/images/12072025/11/35/image_12072025_11_36_04_10647.jpg
/home/nano/Desktop/images/12072025/11/35/image_12072025_11_35_53_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877018","1371877012","1371877015","1371877017","1371877013","1371877016"],"photo_ids_order":["1371877012","1371877013","1371877015","1371877016","1371877017","1371877018"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18da5fe7ccb350b310dae72f89d4a21d.jpg","text":"TemporaryFile(/tmp/multipartBody737052061363525992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313038747,"filename":"image_12072025_11_35_53_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81499c9708a294ec876cf62566f8eebb.jpg","text":"TemporaryFile(/tmp/multipartBody6589612898825766100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313038747,"filename":"image_12072025_11_36_43_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cede710c5585c7b3c04704d9f4ef9cad.jpg","text":"TemporaryFile(/tmp/multipartBody5224100219114524900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313038747,"filename":"image_12072025_11_36_23_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47fd7b9e766cc071e8799ad00d04620d.jpg","text":"TemporaryFile(/tmp/multipartBody2042671733064034460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313038747,"filename":"image_12072025_11_36_04_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5e2888c6ef5a63e1a4a54f4fbd73b1f.jpg","text":"TemporaryFile(/tmp/multipartBody826044345197032941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313038747,"filename":"image_12072025_11_36_34_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e1b95053c2f84eb9ec0c5429afd492e.jpg","text":"TemporaryFile(/tmp/multipartBody6858778421526193558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313038747,"filename":"image_12072025_11_36_14_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877015","file1":"1371877013","file0":"1371877012","file4":"1371877017","file5":"1371877018","file3":"1371877016"},"map_files_photo_id_array":[{"photo_id":"1371877018","filename":"file5"},{"photo_id":"1371877015","filename":"file2"},{"photo_id":"1371877017","filename":"file4"},{"photo_id":"1371877013","filename":"file1"},{"photo_id":"1371877012","filename":"file0"},{"photo_id":"1371877016","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877018":["hashtag1","hashtag2"]},{"1371877012":["hashtag1","hashtag2"]},{"1371877015":["hashtag1","hashtag2"]},{"1371877017":["hashtag1","hashtag2"]},{"1371877013":["hashtag1","hashtag2"]},{"1371877016":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877018, 1371877012, 1371877015, 1371877017, 1371877013, 1371877016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.221696138381958 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:37:02.947028
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_13_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/19/23/image_10072025_19_24_04_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/19/23/image_10072025_19_23_54_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/19/23/image_10072025_19_23_43_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/19/23/image_10072025_19_23_34_10643.jpg', 2), ('/home/nano/Desktop/images/10072025/19/23/image_10072025_19_23_23_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_13_9665.jpg', '/home/nano/Desktop/images/10072025/19/23/image_10072025_19_24_04_9645.jpg', '/home/nano/Desktop/images/10072025/19/23/image_10072025_19_23_54_10639.jpg', '/home/nano/Desktop/images/10072025/19/23/image_10072025_19_23_43_9630.jpg', '/home/nano/Desktop/images/10072025/19/23/image_10072025_19_23_34_10643.jpg', '/home/nano/Desktop/images/10072025/19/23/image_10072025_19_23_23_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/24/image_10072025_19_24_13_9665.jpg
/home/nano/Desktop/images/10072025/19/23/image_10072025_19_24_04_9645.jpg
/home/nano/Desktop/images/10072025/19/23/image_10072025_19_23_54_10639.jpg
/home/nano/Desktop/images/10072025/19/23/image_10072025_19_23_43_9630.jpg
/home/nano/Desktop/images/10072025/19/23/image_10072025_19_23_34_10643.jpg
/home/nano/Desktop/images/10072025/19/23/image_10072025_19_23_23_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877024","1371877029","1371877032","1371877026","1371877031","1371877034"],"photo_ids_order":["1371877024","1371877026","1371877029","1371877031","1371877032","1371877034"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a865fd21b4f3d6499ffda237d7a4a07.jpg","text":"TemporaryFile(/tmp/multipartBody498954100178473500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313086051,"filename":"image_10072025_19_24_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/219c1f5aec9a11cd403496edecb4a3c8.jpg","text":"TemporaryFile(/tmp/multipartBody2999181952349806536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313086051,"filename":"image_10072025_19_23_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c6111b5fb8558053497a6d0aa8f085c.jpg","text":"TemporaryFile(/tmp/multipartBody8446463986130464150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313086051,"filename":"image_10072025_19_23_34_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fc84cbdf6f1b1359a2962c9b2b17864.jpg","text":"TemporaryFile(/tmp/multipartBody8670166906671282746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313086051,"filename":"image_10072025_19_24_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/627785794c93a088d3966845698fa764.jpg","text":"TemporaryFile(/tmp/multipartBody2004967398790865248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313086051,"filename":"image_10072025_19_23_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a767ff8278f841f4b4b19e510c28494.jpg","text":"TemporaryFile(/tmp/multipartBody1544074242474537332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313086051,"filename":"image_10072025_19_23_23_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877029","file1":"1371877026","file0":"1371877024","file4":"1371877032","file5":"1371877034","file3":"1371877031"},"map_files_photo_id_array":[{"photo_id":"1371877034","filename":"file5"},{"photo_id":"1371877029","filename":"file2"},{"photo_id":"1371877032","filename":"file4"},{"photo_id":"1371877026","filename":"file1"},{"photo_id":"1371877024","filename":"file0"},{"photo_id":"1371877031","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371877024":["hashtag1","hashtag2"]},{"1371877029":["hashtag1","hashtag2"]},{"1371877032":["hashtag1","hashtag2"]},{"1371877026":["hashtag1","hashtag2"]},{"1371877031":["hashtag1","hashtag2"]},{"1371877034":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371877024, 1371877029, 1371877032, 1371877026, 1371877031, 1371877034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.352439641952515 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:37:47.234114
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_43_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_34_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_24_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_13_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/11/36/image_12072025_11_37_04_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_54_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_43_9608.jpg', '/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_34_9601.jpg', '/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_24_10617.jpg', '/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_13_9618.jpg', '/home/nano/Desktop/images/12072025/11/36/image_12072025_11_37_04_9617.jpg', '/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_54_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_43_9608.jpg
/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_34_9601.jpg
/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_24_10617.jpg
/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_13_9618.jpg
/home/nano/Desktop/images/12072025/11/36/image_12072025_11_37_04_9617.jpg
/home/nano/Desktop/images/12072025/11/36/image_12072025_11_36_54_10610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877045","1371877047","1371877050","1371877038","1371877043","1371877040"],"photo_ids_order":["1371877038","1371877040","1371877043","1371877045","1371877047","1371877050"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb5c3b0080d4cfda3908cdecdb296de9.jpg","text":"TemporaryFile(/tmp/multipartBody549073985678296869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313128655,"filename":"image_12072025_11_37_13_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0bda731094fdb72b1b69cf2d4d20ac8.jpg","text":"TemporaryFile(/tmp/multipartBody8862343420364973288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313128655,"filename":"image_12072025_11_37_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d2ec2420b35f4cf004f36aefa6196b5.jpg","text":"TemporaryFile(/tmp/multipartBody6785776112156179879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313128655,"filename":"image_12072025_11_36_54_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfd690b100dca05235c3e81ef278fd73.jpg","text":"TemporaryFile(/tmp/multipartBody14087396958289937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313128655,"filename":"image_12072025_11_37_43_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e3e6ee940273a0d41881bc4194182a5.jpg","text":"TemporaryFile(/tmp/multipartBody8035017210106561907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313128655,"filename":"image_12072025_11_37_24_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2fa97d510da2618e10dd069fd749445.jpg","text":"TemporaryFile(/tmp/multipartBody3765759903822115579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313128655,"filename":"image_12072025_11_37_34_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877043","file1":"1371877040","file0":"1371877038","file4":"1371877047","file5":"1371877050","file3":"1371877045"},"map_files_photo_id_array":[{"photo_id":"1371877050","filename":"file5"},{"photo_id":"1371877043","filename":"file2"},{"photo_id":"1371877047","filename":"file4"},{"photo_id":"1371877040","filename":"file1"},{"photo_id":"1371877038","filename":"file0"},{"photo_id":"1371877045","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877045":["hashtag1","hashtag2"]},{"1371877047":["hashtag1","hashtag2"]},{"1371877050":["hashtag1","hashtag2"]},{"1371877038":["hashtag1","hashtag2"]},{"1371877043":["hashtag1","hashtag2"]},{"1371877040":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877045, 1371877047, 1371877050, 1371877038, 1371877043, 1371877040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.176050186157227 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:38:32.292353
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_44_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_33_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_14_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/11/37/image_12072025_11_38_03_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_54_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_44_10631.jpg', '/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_33_9626.jpg', '/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_24_9608.jpg', '/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_14_10652.jpg', '/home/nano/Desktop/images/12072025/11/37/image_12072025_11_38_03_9628.jpg', '/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_54_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_44_10631.jpg
/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_33_9626.jpg
/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_24_9608.jpg
/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_14_10652.jpg
/home/nano/Desktop/images/12072025/11/37/image_12072025_11_38_03_9628.jpg
/home/nano/Desktop/images/12072025/11/37/image_12072025_11_37_54_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877054","1371877059","1371877053","1371877056","1371877058","1371877052"],"photo_ids_order":["1371877052","1371877053","1371877054","1371877056","1371877058","1371877059"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8649bf629f88d21fc7e244df2c9d6731.jpg","text":"TemporaryFile(/tmp/multipartBody4438222036269648889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313173897,"filename":"image_12072025_11_38_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17921e59cccfdeaf0275833aa8dbc639.jpg","text":"TemporaryFile(/tmp/multipartBody1869064288811530373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313173897,"filename":"image_12072025_11_37_54_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99308e1f671451322a0907c174418f44.jpg","text":"TemporaryFile(/tmp/multipartBody7415594316302999344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313173897,"filename":"image_12072025_11_38_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b468b8d1c03fa44353282fc061460adb.jpg","text":"TemporaryFile(/tmp/multipartBody9119718499881846782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313173897,"filename":"image_12072025_11_38_14_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0083d1e5a5b3282b088820a0feb1380.jpg","text":"TemporaryFile(/tmp/multipartBody7774286104611961667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313173897,"filename":"image_12072025_11_38_03_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2c6a1d9aee776800140d20bb57fe86d.jpg","text":"TemporaryFile(/tmp/multipartBody3141987080660062887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313173897,"filename":"image_12072025_11_38_44_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877054","file1":"1371877053","file0":"1371877052","file4":"1371877058","file5":"1371877059","file3":"1371877056"},"map_files_photo_id_array":[{"photo_id":"1371877059","filename":"file5"},{"photo_id":"1371877054","filename":"file2"},{"photo_id":"1371877058","filename":"file4"},{"photo_id":"1371877053","filename":"file1"},{"photo_id":"1371877052","filename":"file0"},{"photo_id":"1371877056","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877054":["hashtag1","hashtag2"]},{"1371877059":["hashtag1","hashtag2"]},{"1371877053":["hashtag1","hashtag2"]},{"1371877056":["hashtag1","hashtag2"]},{"1371877058":["hashtag1","hashtag2"]},{"1371877052":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877054, 1371877059, 1371877053, 1371877056, 1371877058, 1371877052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57188963890076 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:39:17.413586
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_44_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_34_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_23_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_14_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/11/38/image_12072025_11_39_03_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_53_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_44_9630.jpg', '/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_34_10634.jpg', '/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_23_9604.jpg', '/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_14_10628.jpg', '/home/nano/Desktop/images/12072025/11/38/image_12072025_11_39_03_9601.jpg', '/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_53_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_44_9630.jpg
/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_34_10634.jpg
/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_23_9604.jpg
/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_14_10628.jpg
/home/nano/Desktop/images/12072025/11/38/image_12072025_11_39_03_9601.jpg
/home/nano/Desktop/images/12072025/11/38/image_12072025_11_38_53_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877069","1371877066","1371877065","1371877068","1371877064","1371877067"],"photo_ids_order":["1371877064","1371877065","1371877066","1371877067","1371877068","1371877069"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0935923255d67d77589252419bd1e24.jpg","text":"TemporaryFile(/tmp/multipartBody401926292699550636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313219187,"filename":"image_12072025_11_38_53_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/520b560ad47ad77ee1604ba00d94ca06.jpg","text":"TemporaryFile(/tmp/multipartBody7215898849991448756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313219187,"filename":"image_12072025_11_39_23_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c1a4a76e60b8ac04c03f8445af303d1.jpg","text":"TemporaryFile(/tmp/multipartBody5534577850673964821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313219187,"filename":"image_12072025_11_39_34_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db66106cb0b8fa96b089bcbd7fdf60fc.jpg","text":"TemporaryFile(/tmp/multipartBody1362138791716470277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313219187,"filename":"image_12072025_11_39_03_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40668b9e213954f275bbe915de5fc055.jpg","text":"TemporaryFile(/tmp/multipartBody3787846158303254901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313219187,"filename":"image_12072025_11_39_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9ed5cc9209a9b11e8cfcd1d47a352b2.jpg","text":"TemporaryFile(/tmp/multipartBody5032778733656209066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313219187,"filename":"image_12072025_11_39_14_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877066","file1":"1371877065","file0":"1371877064","file4":"1371877068","file5":"1371877069","file3":"1371877067"},"map_files_photo_id_array":[{"photo_id":"1371877069","filename":"file5"},{"photo_id":"1371877066","filename":"file2"},{"photo_id":"1371877068","filename":"file4"},{"photo_id":"1371877065","filename":"file1"},{"photo_id":"1371877064","filename":"file0"},{"photo_id":"1371877067","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877069":["hashtag1","hashtag2"]},{"1371877066":["hashtag1","hashtag2"]},{"1371877065":["hashtag1","hashtag2"]},{"1371877068":["hashtag1","hashtag2"]},{"1371877064":["hashtag1","hashtag2"]},{"1371877067":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877069, 1371877066, 1371877065, 1371877068, 1371877064, 1371877067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29711866378784 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:40:02.981362
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_34_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_34_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_34_10630.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877083"],"photo_id":"1371877083","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be474fc24302d1abf3a1b550198fd2ae.jpg","text":"TemporaryFile(/tmp/multipartBody546191754008132412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313263797,"filename":"image_12072025_11_40_34_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371877083"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371877083"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.66394591331482 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:40:17.507128
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_44_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_23_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_14_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/11/39/image_12072025_11_40_04_10681.jpg', 2), ('/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_53_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_44_9648.jpg', '/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_23_9622.jpg', '/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_14_9683.jpg', '/home/nano/Desktop/images/12072025/11/39/image_12072025_11_40_04_10681.jpg', '/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_53_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_44_9648.jpg
/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_23_9622.jpg
/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_14_9683.jpg
/home/nano/Desktop/images/12072025/11/39/image_12072025_11_40_04_10681.jpg
/home/nano/Desktop/images/12072025/11/39/image_12072025_11_39_53_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877086","1371877089","1371877088","1371877090","1371877087"],"photo_ids_order":["1371877086","1371877087","1371877088","1371877089","1371877090"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6a900bd273b33b64c711bf89b601a97.jpg","text":"TemporaryFile(/tmp/multipartBody503357728546395495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313278984,"filename":"image_12072025_11_40_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01c8c0da2e704a5a2616e1b5e041e175.jpg","text":"TemporaryFile(/tmp/multipartBody1169227752615693657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313278984,"filename":"image_12072025_11_40_04_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8bf2d0fd229fb92ca11f4f34cfff622.jpg","text":"TemporaryFile(/tmp/multipartBody3375401847657444770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313278984,"filename":"image_12072025_11_40_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0aba01f4219551a7c9990a3d89b5c0e.jpg","text":"TemporaryFile(/tmp/multipartBody4035559331656251649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313278984,"filename":"image_12072025_11_39_53_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/141f724a3e86b58730c7da1d4acbded6.jpg","text":"TemporaryFile(/tmp/multipartBody4549149789114486068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313278984,"filename":"image_12072025_11_40_23_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877088","file1":"1371877087","file0":"1371877086","file4":"1371877090","file3":"1371877089"},"map_files_photo_id_array":[{"photo_id":"1371877088","filename":"file2"},{"photo_id":"1371877090","filename":"file4"},{"photo_id":"1371877087","filename":"file1"},{"photo_id":"1371877086","filename":"file0"},{"photo_id":"1371877089","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877086":["hashtag1","hashtag2"]},{"1371877089":["hashtag1","hashtag2"]},{"1371877088":["hashtag1","hashtag2"]},{"1371877090":["hashtag1","hashtag2"]},{"1371877087":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877086, 1371877089, 1371877088, 1371877090, 1371877087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.151325702667236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:40:47.525516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/22/image_10072025_19_22_53_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/19/22/image_10072025_19_22_44_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/19/22/image_10072025_19_22_34_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/19/22/image_10072025_19_22_14_9686.jpg', 2), ('/home/nano/Desktop/images/10072025/19/21/image_10072025_19_22_04_10670.jpg', 2), ('/home/nano/Desktop/images/10072025/19/21/image_10072025_19_21_53_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/22/image_10072025_19_22_53_9629.jpg', '/home/nano/Desktop/images/10072025/19/22/image_10072025_19_22_44_9629.jpg', '/home/nano/Desktop/images/10072025/19/22/image_10072025_19_22_34_10660.jpg', '/home/nano/Desktop/images/10072025/19/22/image_10072025_19_22_14_9686.jpg', '/home/nano/Desktop/images/10072025/19/21/image_10072025_19_22_04_10670.jpg', '/home/nano/Desktop/images/10072025/19/21/image_10072025_19_21_53_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/22/image_10072025_19_22_53_9629.jpg
/home/nano/Desktop/images/10072025/19/22/image_10072025_19_22_44_9629.jpg
/home/nano/Desktop/images/10072025/19/22/image_10072025_19_22_34_10660.jpg
/home/nano/Desktop/images/10072025/19/22/image_10072025_19_22_14_9686.jpg
/home/nano/Desktop/images/10072025/19/21/image_10072025_19_22_04_10670.jpg
/home/nano/Desktop/images/10072025/19/21/image_10072025_19_21_53_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877096","1371877105","1371877101","1371877094","1371877099","1371877103"],"photo_ids_order":["1371877094","1371877096","1371877099","1371877101","1371877103","1371877105"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a677e478dd3f9bb00fca38be4bae0f3.jpg","text":"TemporaryFile(/tmp/multipartBody86696663050178167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313310725,"filename":"image_10072025_19_22_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/701fab0463ca1318281dbbb44dceb371.jpg","text":"TemporaryFile(/tmp/multipartBody178364006403098918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313310725,"filename":"image_10072025_19_21_53_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3008455b9f09b767f28db2e9a805be2e.jpg","text":"TemporaryFile(/tmp/multipartBody4876805417210290623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313310725,"filename":"image_10072025_19_22_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87ba9f08f3ef80034d214849680058ed.jpg","text":"TemporaryFile(/tmp/multipartBody4665662839874162024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313310725,"filename":"image_10072025_19_22_53_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d11ad622dde131f99eb6d6f3ad1d292b.jpg","text":"TemporaryFile(/tmp/multipartBody2753738528523173234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313310725,"filename":"image_10072025_19_22_34_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2489f14c010ec3806ba6dddb1532a076.jpg","text":"TemporaryFile(/tmp/multipartBody1581737299769494541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313310725,"filename":"image_10072025_19_22_04_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877099","file1":"1371877096","file0":"1371877094","file4":"1371877103","file5":"1371877105","file3":"1371877101"},"map_files_photo_id_array":[{"photo_id":"1371877105","filename":"file5"},{"photo_id":"1371877099","filename":"file2"},{"photo_id":"1371877103","filename":"file4"},{"photo_id":"1371877096","filename":"file1"},{"photo_id":"1371877094","filename":"file0"},{"photo_id":"1371877101","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371877096":["hashtag1","hashtag2"]},{"1371877105":["hashtag1","hashtag2"]},{"1371877101":["hashtag1","hashtag2"]},{"1371877094":["hashtag1","hashtag2"]},{"1371877099":["hashtag1","hashtag2"]},{"1371877103":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371877096, 1371877105, 1371877101, 1371877094, 1371877099, 1371877103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61297154426575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:41:32.636507
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_44_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_34_10679.jpg', 2), ('/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_23_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_14_9684.jpg', 2), ('/home/nano/Desktop/images/12072025/11/40/image_12072025_11_41_04_10720.jpg', 2), ('/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_53_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_44_9657.jpg', '/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_34_10679.jpg', '/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_23_9648.jpg', '/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_14_9684.jpg', '/home/nano/Desktop/images/12072025/11/40/image_12072025_11_41_04_10720.jpg', '/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_53_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_44_9657.jpg
/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_34_10679.jpg
/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_23_9648.jpg
/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_14_9684.jpg
/home/nano/Desktop/images/12072025/11/40/image_12072025_11_41_04_10720.jpg
/home/nano/Desktop/images/12072025/11/40/image_12072025_11_40_53_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877111","1371877108","1371877110","1371877107","1371877106","1371877109"],"photo_ids_order":["1371877106","1371877107","1371877108","1371877109","1371877110","1371877111"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d72e2519c90f6171be30f43c3615e703.jpg","text":"TemporaryFile(/tmp/multipartBody6460824961250905244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313354824,"filename":"image_12072025_11_40_53_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1eb47534916d3424f4a12042167efba.jpg","text":"TemporaryFile(/tmp/multipartBody1892876729149659570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313354824,"filename":"image_12072025_11_41_23_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3050b5dc1bef03d5d817c907bcd7416c.jpg","text":"TemporaryFile(/tmp/multipartBody9151602956498805957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313354824,"filename":"image_12072025_11_41_04_10720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0cdafb5376a1317d717d8b4dc15d934a.jpg","text":"TemporaryFile(/tmp/multipartBody1939227711789493523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313354824,"filename":"image_12072025_11_41_34_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8a74c1a24f4aef42b45e0c5f1d0e199.jpg","text":"TemporaryFile(/tmp/multipartBody6488363816482683318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313354824,"filename":"image_12072025_11_41_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a1b299e3344f99bf518dcc3039a2267.jpg","text":"TemporaryFile(/tmp/multipartBody198763469108067177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313354824,"filename":"image_12072025_11_41_14_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877108","file1":"1371877107","file0":"1371877106","file4":"1371877110","file5":"1371877111","file3":"1371877109"},"map_files_photo_id_array":[{"photo_id":"1371877111","filename":"file5"},{"photo_id":"1371877108","filename":"file2"},{"photo_id":"1371877110","filename":"file4"},{"photo_id":"1371877107","filename":"file1"},{"photo_id":"1371877106","filename":"file0"},{"photo_id":"1371877109","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877111":["hashtag1","hashtag2"]},{"1371877108":["hashtag1","hashtag2"]},{"1371877110":["hashtag1","hashtag2"]},{"1371877107":["hashtag1","hashtag2"]},{"1371877106":["hashtag1","hashtag2"]},{"1371877109":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877111, 1371877108, 1371877110, 1371877107, 1371877106, 1371877109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.773011207580566 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:42:17.710381
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_43_9733.jpg', 2), ('/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_34_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_24_9816.jpg', 2), ('/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_14_10865.jpg', 2), ('/home/nano/Desktop/images/12072025/11/41/image_12072025_11_42_03_9811.jpg', 2), ('/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_53_9839.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_43_9733.jpg', '/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_34_9664.jpg', '/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_24_9816.jpg', '/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_14_10865.jpg', '/home/nano/Desktop/images/12072025/11/41/image_12072025_11_42_03_9811.jpg', '/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_53_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_43_9733.jpg
/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_34_9664.jpg
/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_24_9816.jpg
/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_14_10865.jpg
/home/nano/Desktop/images/12072025/11/41/image_12072025_11_42_03_9811.jpg
/home/nano/Desktop/images/12072025/11/41/image_12072025_11_41_53_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877123","1371877117","1371877116","1371877119","1371877124","1371877121"],"photo_ids_order":["1371877116","1371877117","1371877119","1371877121","1371877123","1371877124"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c154d3eb786592162107d28ec61e8a9f.jpg","text":"TemporaryFile(/tmp/multipartBody6591701784545364941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313400666,"filename":"image_12072025_11_42_03_9811.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae51617e53301709176eb698d2e1a3af.jpg","text":"TemporaryFile(/tmp/multipartBody7100418119791879444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313400666,"filename":"image_12072025_11_42_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6da64ab479f1b9daa589efc2c7aea816.jpg","text":"TemporaryFile(/tmp/multipartBody7843611809762168455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313400666,"filename":"image_12072025_11_42_43_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19c3383971d6839da7029032036b85fd.jpg","text":"TemporaryFile(/tmp/multipartBody1985487292145694104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313400666,"filename":"image_12072025_11_42_24_9816.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65ba9c2eed75c96dc349542fb1b892c5.jpg","text":"TemporaryFile(/tmp/multipartBody2409798465224650421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313400666,"filename":"image_12072025_11_41_53_9839.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/877db115411f50234c8a49043110999f.jpg","text":"TemporaryFile(/tmp/multipartBody3016756221948790760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313400666,"filename":"image_12072025_11_42_14_10865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877119","file1":"1371877117","file0":"1371877116","file4":"1371877123","file5":"1371877124","file3":"1371877121"},"map_files_photo_id_array":[{"photo_id":"1371877124","filename":"file5"},{"photo_id":"1371877119","filename":"file2"},{"photo_id":"1371877123","filename":"file4"},{"photo_id":"1371877117","filename":"file1"},{"photo_id":"1371877116","filename":"file0"},{"photo_id":"1371877121","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877123":["hashtag1","hashtag2"]},{"1371877117":["hashtag1","hashtag2"]},{"1371877116":["hashtag1","hashtag2"]},{"1371877119":["hashtag1","hashtag2"]},{"1371877124":["hashtag1","hashtag2"]},{"1371877121":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877123, 1371877117, 1371877116, 1371877119, 1371877124, 1371877121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10375142097473 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:43:02.524854
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/21/image_10072025_19_21_44_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/19/20/image_10072025_19_20_44_10644.jpg', 2), ('/home/nano/Desktop/images/10072025/19/20/image_10072025_19_20_33_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/19/20/image_10072025_19_20_24_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/19/20/image_10072025_19_20_14_10688.jpg', 2), ('/home/nano/Desktop/images/10072025/19/19/image_10072025_19_20_03_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/21/image_10072025_19_21_44_9639.jpg', '/home/nano/Desktop/images/10072025/19/20/image_10072025_19_20_44_10644.jpg', '/home/nano/Desktop/images/10072025/19/20/image_10072025_19_20_33_9636.jpg', '/home/nano/Desktop/images/10072025/19/20/image_10072025_19_20_24_9647.jpg', '/home/nano/Desktop/images/10072025/19/20/image_10072025_19_20_14_10688.jpg', '/home/nano/Desktop/images/10072025/19/19/image_10072025_19_20_03_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/21/image_10072025_19_21_44_9639.jpg
/home/nano/Desktop/images/10072025/19/20/image_10072025_19_20_44_10644.jpg
/home/nano/Desktop/images/10072025/19/20/image_10072025_19_20_33_9636.jpg
/home/nano/Desktop/images/10072025/19/20/image_10072025_19_20_24_9647.jpg
/home/nano/Desktop/images/10072025/19/20/image_10072025_19_20_14_10688.jpg
/home/nano/Desktop/images/10072025/19/19/image_10072025_19_20_03_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877132","1371877129","1371877134","1371877128","1371877131","1371877130"],"photo_ids_order":["1371877128","1371877129","1371877130","1371877131","1371877132","1371877134"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3abb0e47039fe41b132408269a29849f.jpg","text":"TemporaryFile(/tmp/multipartBody6876202950356694874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313445731,"filename":"image_10072025_19_20_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7930b23be9c1779590db77c1490c851a.jpg","text":"TemporaryFile(/tmp/multipartBody8147958758403981323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313445731,"filename":"image_10072025_19_20_44_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dcf43c99c671cc26b46b60538c3a06b3.jpg","text":"TemporaryFile(/tmp/multipartBody7009235545593485459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313445731,"filename":"image_10072025_19_20_03_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8abd694f27f719ac2099167a162ca87d.jpg","text":"TemporaryFile(/tmp/multipartBody6281875003112075863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313445731,"filename":"image_10072025_19_21_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce79b969b638bcd71168fdaa61a2d06f.jpg","text":"TemporaryFile(/tmp/multipartBody7729384121114454214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313445731,"filename":"image_10072025_19_20_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9db847b3fde2f156f8f946b3c81e3977.jpg","text":"TemporaryFile(/tmp/multipartBody974638328084740117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313445731,"filename":"image_10072025_19_20_33_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877130","file1":"1371877129","file0":"1371877128","file4":"1371877132","file5":"1371877134","file3":"1371877131"},"map_files_photo_id_array":[{"photo_id":"1371877134","filename":"file5"},{"photo_id":"1371877130","filename":"file2"},{"photo_id":"1371877132","filename":"file4"},{"photo_id":"1371877129","filename":"file1"},{"photo_id":"1371877128","filename":"file0"},{"photo_id":"1371877131","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371877132":["hashtag1","hashtag2"]},{"1371877129":["hashtag1","hashtag2"]},{"1371877134":["hashtag1","hashtag2"]},{"1371877128":["hashtag1","hashtag2"]},{"1371877131":["hashtag1","hashtag2"]},{"1371877130":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371877132, 1371877129, 1371877134, 1371877128, 1371877131, 1371877130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73501896858215 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:43:46.900196
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_44_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_34_10751.jpg', 2), ('/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_23_9767.jpg', 2), ('/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_13_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/11/42/image_12072025_11_43_04_9751.jpg', 2), ('/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_54_10759.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_44_9645.jpg', '/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_34_10751.jpg', '/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_23_9767.jpg', '/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_13_9660.jpg', '/home/nano/Desktop/images/12072025/11/42/image_12072025_11_43_04_9751.jpg', '/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_54_10759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_44_9645.jpg
/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_34_10751.jpg
/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_23_9767.jpg
/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_13_9660.jpg
/home/nano/Desktop/images/12072025/11/42/image_12072025_11_43_04_9751.jpg
/home/nano/Desktop/images/12072025/11/42/image_12072025_11_42_54_10759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877150","1371877146","1371877149","1371877140","1371877143","1371877145"],"photo_ids_order":["1371877140","1371877143","1371877145","1371877146","1371877149","1371877150"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d0364127a4ed3f7a6a4b318a6147176.jpg","text":"TemporaryFile(/tmp/multipartBody8937947523698898615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313490601,"filename":"image_12072025_11_42_54_10759.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a2f0104de38a0cbc689ce918f1dff50.jpg","text":"TemporaryFile(/tmp/multipartBody6357412397964377383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313490601,"filename":"image_12072025_11_43_13_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ade4f829067070a30c32472aaa70d3d.jpg","text":"TemporaryFile(/tmp/multipartBody484341239936491568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313490601,"filename":"image_12072025_11_43_04_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76e47361075eabb39754f7d146237a99.jpg","text":"TemporaryFile(/tmp/multipartBody6191379916840509314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313490601,"filename":"image_12072025_11_43_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47d2dc29782deb3d888a6a47d8504502.jpg","text":"TemporaryFile(/tmp/multipartBody2513045434245062634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313490601,"filename":"image_12072025_11_43_34_10751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30a7085cfadac7721ef032db7c61f7c2.jpg","text":"TemporaryFile(/tmp/multipartBody1267275436510324817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313490601,"filename":"image_12072025_11_43_23_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877145","file1":"1371877143","file0":"1371877140","file4":"1371877149","file5":"1371877150","file3":"1371877146"},"map_files_photo_id_array":[{"photo_id":"1371877150","filename":"file5"},{"photo_id":"1371877145","filename":"file2"},{"photo_id":"1371877149","filename":"file4"},{"photo_id":"1371877143","filename":"file1"},{"photo_id":"1371877140","filename":"file0"},{"photo_id":"1371877146","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877150":["hashtag1","hashtag2"]},{"1371877146":["hashtag1","hashtag2"]},{"1371877149":["hashtag1","hashtag2"]},{"1371877140":["hashtag1","hashtag2"]},{"1371877143":["hashtag1","hashtag2"]},{"1371877145":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877150, 1371877146, 1371877149, 1371877140, 1371877143, 1371877145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.283971548080444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:44:31.991424
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_43_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_23_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_13_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/11/43/image_12072025_11_44_04_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_53_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_43_9675.jpg', '/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_34_10648.jpg', '/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_23_9666.jpg', '/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_13_9619.jpg', '/home/nano/Desktop/images/12072025/11/43/image_12072025_11_44_04_10612.jpg', '/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_53_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_43_9675.jpg
/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_34_10648.jpg
/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_23_9666.jpg
/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_13_9619.jpg
/home/nano/Desktop/images/12072025/11/43/image_12072025_11_44_04_10612.jpg
/home/nano/Desktop/images/12072025/11/43/image_12072025_11_43_53_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877153","1371877156","1371877158","1371877152","1371877157","1371877154"],"photo_ids_order":["1371877152","1371877153","1371877154","1371877156","1371877157","1371877158"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40ec8363206ff837e0f48462c98ad049.jpg","text":"TemporaryFile(/tmp/multipartBody8649926075351408112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313534565,"filename":"image_12072025_11_44_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8aa00c233b0c2cf5be2a6162110c45c2.jpg","text":"TemporaryFile(/tmp/multipartBody5010475882485784573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313534565,"filename":"image_12072025_11_44_13_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fe830858afe353a91a104142156d0c5.jpg","text":"TemporaryFile(/tmp/multipartBody4583611365993195045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313534565,"filename":"image_12072025_11_43_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8a57cd403e1950504eab58c3b81f8e3.jpg","text":"TemporaryFile(/tmp/multipartBody7331189024092819422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313534565,"filename":"image_12072025_11_44_43_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e163c0a30c70c6454952a6695975875.jpg","text":"TemporaryFile(/tmp/multipartBody531975527021230647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313534565,"filename":"image_12072025_11_44_04_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c578ec9163ff251bb2c950363df2454.jpg","text":"TemporaryFile(/tmp/multipartBody2478091284239683833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313534565,"filename":"image_12072025_11_44_23_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877154","file1":"1371877153","file0":"1371877152","file4":"1371877157","file5":"1371877158","file3":"1371877156"},"map_files_photo_id_array":[{"photo_id":"1371877158","filename":"file5"},{"photo_id":"1371877154","filename":"file2"},{"photo_id":"1371877157","filename":"file4"},{"photo_id":"1371877153","filename":"file1"},{"photo_id":"1371877152","filename":"file0"},{"photo_id":"1371877156","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877153":["hashtag1","hashtag2"]},{"1371877156":["hashtag1","hashtag2"]},{"1371877158":["hashtag1","hashtag2"]},{"1371877152":["hashtag1","hashtag2"]},{"1371877157":["hashtag1","hashtag2"]},{"1371877154":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877153, 1371877156, 1371877158, 1371877152, 1371877157, 1371877154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06005644798279 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:45:17.145135
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_43_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_34_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_23_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_13_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/11/44/image_12072025_11_45_04_10685.jpg', 2), ('/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_53_9673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_43_9642.jpg', '/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_34_10642.jpg', '/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_23_9650.jpg', '/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_13_9670.jpg', '/home/nano/Desktop/images/12072025/11/44/image_12072025_11_45_04_10685.jpg', '/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_53_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_43_9642.jpg
/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_34_10642.jpg
/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_23_9650.jpg
/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_13_9670.jpg
/home/nano/Desktop/images/12072025/11/44/image_12072025_11_45_04_10685.jpg
/home/nano/Desktop/images/12072025/11/44/image_12072025_11_44_53_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877168","1371877177","1371877170","1371877175","1371877172","1371877166"],"photo_ids_order":["1371877166","1371877168","1371877170","1371877172","1371877175","1371877177"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f4ce32d9d221b2741d2af6f743131e7.jpg","text":"TemporaryFile(/tmp/multipartBody4378065633430699084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313578173,"filename":"image_12072025_11_45_34_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84d5f18032c0e930c342b03cc17e0f1c.jpg","text":"TemporaryFile(/tmp/multipartBody1256591078214655604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313578173,"filename":"image_12072025_11_44_53_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75e2f227f7ef9762e13f3d201b999ef0.jpg","text":"TemporaryFile(/tmp/multipartBody8972466079423423206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313578173,"filename":"image_12072025_11_45_23_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c04400267cfb7a75eacafaa5b3bb702.jpg","text":"TemporaryFile(/tmp/multipartBody3293419278986087322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313578173,"filename":"image_12072025_11_45_04_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/563df398809bc983ae7d68649364ccfc.jpg","text":"TemporaryFile(/tmp/multipartBody581447283946025963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313578173,"filename":"image_12072025_11_45_13_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fdf36bdadf8607a1df5262a827405328.jpg","text":"TemporaryFile(/tmp/multipartBody5313054253038801224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313578173,"filename":"image_12072025_11_45_43_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877170","file1":"1371877168","file0":"1371877166","file4":"1371877175","file5":"1371877177","file3":"1371877172"},"map_files_photo_id_array":[{"photo_id":"1371877177","filename":"file5"},{"photo_id":"1371877170","filename":"file2"},{"photo_id":"1371877175","filename":"file4"},{"photo_id":"1371877168","filename":"file1"},{"photo_id":"1371877166","filename":"file0"},{"photo_id":"1371877172","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877168":["hashtag1","hashtag2"]},{"1371877177":["hashtag1","hashtag2"]},{"1371877170":["hashtag1","hashtag2"]},{"1371877175":["hashtag1","hashtag2"]},{"1371877172":["hashtag1","hashtag2"]},{"1371877166":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877168, 1371877177, 1371877170, 1371877175, 1371877172, 1371877166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.956628561019897 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:46:02.905346
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/19/image_10072025_19_19_33_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_54_10642.jpg', 2), ('/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_43_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_33_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_24_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_13_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/19/image_10072025_19_19_33_9629.jpg', '/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_54_10642.jpg', '/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_43_9629.jpg', '/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_33_9629.jpg', '/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_24_10645.jpg', '/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_13_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/19/image_10072025_19_19_33_9629.jpg
/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_54_10642.jpg
/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_43_9629.jpg
/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_33_9629.jpg
/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_24_10645.jpg
/home/nano/Desktop/images/10072025/19/18/image_10072025_19_18_13_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877189","1371877183","1371877191","1371877188","1371877184","1371877186"],"photo_ids_order":["1371877183","1371877184","1371877186","1371877188","1371877189","1371877191"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/329ae9031d115890acf547d49db57821.jpg","text":"TemporaryFile(/tmp/multipartBody4747270790355442549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313625803,"filename":"image_10072025_19_18_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03edf820423f3fa89431d903d99ef007.jpg","text":"TemporaryFile(/tmp/multipartBody3802727835469294657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313625803,"filename":"image_10072025_19_19_33_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53b2e853c86a59527ffc35d31769c99c.jpg","text":"TemporaryFile(/tmp/multipartBody4616027132794564159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313625803,"filename":"image_10072025_19_18_13_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a6f3329a934c0fc5876e392efb0e124.jpg","text":"TemporaryFile(/tmp/multipartBody8584815617972947234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313625803,"filename":"image_10072025_19_18_33_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29f2c121cc60ccb57a8ba28a16a96d1f.jpg","text":"TemporaryFile(/tmp/multipartBody7074769707225353756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313625803,"filename":"image_10072025_19_18_54_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37efd8ddfd5405747dbd4c1a40f3b2a1.jpg","text":"TemporaryFile(/tmp/multipartBody7023085869754907688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313625803,"filename":"image_10072025_19_18_43_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877186","file1":"1371877184","file0":"1371877183","file4":"1371877189","file5":"1371877191","file3":"1371877188"},"map_files_photo_id_array":[{"photo_id":"1371877191","filename":"file5"},{"photo_id":"1371877186","filename":"file2"},{"photo_id":"1371877189","filename":"file4"},{"photo_id":"1371877184","filename":"file1"},{"photo_id":"1371877183","filename":"file0"},{"photo_id":"1371877188","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371877189":["hashtag1","hashtag2"]},{"1371877183":["hashtag1","hashtag2"]},{"1371877191":["hashtag1","hashtag2"]},{"1371877188":["hashtag1","hashtag2"]},{"1371877184":["hashtag1","hashtag2"]},{"1371877186":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371877189, 1371877183, 1371877191, 1371877188, 1371877184, 1371877186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82435321807861 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:46:47.245160
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_43_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_24_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_13_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/11/45/image_12072025_11_46_04_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_54_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_43_9621.jpg', '/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_34_9639.jpg', '/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_24_10618.jpg', '/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_13_9655.jpg', '/home/nano/Desktop/images/12072025/11/45/image_12072025_11_46_04_9634.jpg', '/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_54_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_43_9621.jpg
/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_34_9639.jpg
/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_24_10618.jpg
/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_13_9655.jpg
/home/nano/Desktop/images/12072025/11/45/image_12072025_11_46_04_9634.jpg
/home/nano/Desktop/images/12072025/11/45/image_12072025_11_45_54_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877195","1371877204","1371877193","1371877196","1371877198","1371877202"],"photo_ids_order":["1371877193","1371877195","1371877196","1371877198","1371877202","1371877204"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f76bfc1b4ab5d32e7a6727dc6e7e25a5.jpg","text":"TemporaryFile(/tmp/multipartBody3861122262707495739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313669961,"filename":"image_12072025_11_46_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0309593b52e0b3164fe2c31fcab2bfa0.jpg","text":"TemporaryFile(/tmp/multipartBody77818667264577717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313669961,"filename":"image_12072025_11_45_54_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14258d47adefe2c618f69a076c287df6.jpg","text":"TemporaryFile(/tmp/multipartBody4776143857055745366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313669961,"filename":"image_12072025_11_46_43_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6b96198142ab7727a1f5ec9dc310703.jpg","text":"TemporaryFile(/tmp/multipartBody8209172626219342257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313669961,"filename":"image_12072025_11_46_24_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03bb8a02a43fbd76cb86aef014923b79.jpg","text":"TemporaryFile(/tmp/multipartBody699000199907872805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313669961,"filename":"image_12072025_11_46_13_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24ff193b75409a285d287a2b2bd57e26.jpg","text":"TemporaryFile(/tmp/multipartBody1239790480289913543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313669961,"filename":"image_12072025_11_46_04_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877196","file1":"1371877195","file0":"1371877193","file4":"1371877202","file5":"1371877204","file3":"1371877198"},"map_files_photo_id_array":[{"photo_id":"1371877204","filename":"file5"},{"photo_id":"1371877196","filename":"file2"},{"photo_id":"1371877202","filename":"file4"},{"photo_id":"1371877195","filename":"file1"},{"photo_id":"1371877193","filename":"file0"},{"photo_id":"1371877198","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877195":["hashtag1","hashtag2"]},{"1371877204":["hashtag1","hashtag2"]},{"1371877193":["hashtag1","hashtag2"]},{"1371877196":["hashtag1","hashtag2"]},{"1371877198":["hashtag1","hashtag2"]},{"1371877202":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877195, 1371877204, 1371877193, 1371877196, 1371877198, 1371877202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.958922386169434 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:47:32.397909
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_43_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_33_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_24_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_13_9697.jpg', 2), ('/home/nano/Desktop/images/12072025/11/46/image_12072025_11_47_04_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_54_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_43_9642.jpg', '/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_33_9636.jpg', '/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_24_10663.jpg', '/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_13_9697.jpg', '/home/nano/Desktop/images/12072025/11/46/image_12072025_11_47_04_9641.jpg', '/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_54_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_43_9642.jpg
/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_33_9636.jpg
/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_24_10663.jpg
/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_13_9697.jpg
/home/nano/Desktop/images/12072025/11/46/image_12072025_11_47_04_9641.jpg
/home/nano/Desktop/images/12072025/11/46/image_12072025_11_46_54_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877216","1371877213","1371877212","1371877221","1371877215","1371877218"],"photo_ids_order":["1371877212","1371877213","1371877215","1371877216","1371877218","1371877221"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/171ad7f01cbca1d0c9f2771e5872b0d8.jpg","text":"TemporaryFile(/tmp/multipartBody2535037914925040949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313715150,"filename":"image_12072025_11_47_13_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad815a01d5853f3dcd61f8cf764df9aa.jpg","text":"TemporaryFile(/tmp/multipartBody2240190559404814308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313715150,"filename":"image_12072025_11_47_33_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b31a7b19cbd6b7c9276bc4f5aef466d.jpg","text":"TemporaryFile(/tmp/multipartBody7959630499487149113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313715150,"filename":"image_12072025_11_47_43_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3abb33a50f7e7b9c3de13bd98c709e24.jpg","text":"TemporaryFile(/tmp/multipartBody4380429757104087888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313715150,"filename":"image_12072025_11_46_54_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1d9ac7675ea7b8529d456c50540e13a.jpg","text":"TemporaryFile(/tmp/multipartBody7312420866545715361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313715150,"filename":"image_12072025_11_47_24_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72001f32e341900cb3e8259170b1bde5.jpg","text":"TemporaryFile(/tmp/multipartBody2654085399973799932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313715150,"filename":"image_12072025_11_47_04_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877215","file1":"1371877213","file0":"1371877212","file4":"1371877218","file5":"1371877221","file3":"1371877216"},"map_files_photo_id_array":[{"photo_id":"1371877221","filename":"file5"},{"photo_id":"1371877215","filename":"file2"},{"photo_id":"1371877218","filename":"file4"},{"photo_id":"1371877213","filename":"file1"},{"photo_id":"1371877212","filename":"file0"},{"photo_id":"1371877216","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877216":["hashtag1","hashtag2"]},{"1371877213":["hashtag1","hashtag2"]},{"1371877212":["hashtag1","hashtag2"]},{"1371877221":["hashtag1","hashtag2"]},{"1371877215":["hashtag1","hashtag2"]},{"1371877218":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877216, 1371877213, 1371877212, 1371877221, 1371877215, 1371877218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04887413978577 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:48:17.465262
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_44_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_33_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_24_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_13_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/11/47/image_12072025_11_48_03_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_54_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_44_10662.jpg', '/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_33_9616.jpg', '/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_24_10660.jpg', '/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_13_9647.jpg', '/home/nano/Desktop/images/12072025/11/47/image_12072025_11_48_03_9634.jpg', '/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_54_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_44_10662.jpg
/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_33_9616.jpg
/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_24_10660.jpg
/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_13_9647.jpg
/home/nano/Desktop/images/12072025/11/47/image_12072025_11_48_03_9634.jpg
/home/nano/Desktop/images/12072025/11/47/image_12072025_11_47_54_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877234","1371877231","1371877230","1371877233","1371877232","1371877235"],"photo_ids_order":["1371877230","1371877231","1371877232","1371877233","1371877234","1371877235"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2251f07d15b1df7fb5ffe6ff690a1ad.jpg","text":"TemporaryFile(/tmp/multipartBody6675159974257472007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313759111,"filename":"image_12072025_11_48_03_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dac3e3812fcb3fa8709feb959c749d88.jpg","text":"TemporaryFile(/tmp/multipartBody7572433210864402532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313759111,"filename":"image_12072025_11_48_33_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d07517c070a2a370681d54c0e003086.jpg","text":"TemporaryFile(/tmp/multipartBody5677470477687458597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313759111,"filename":"image_12072025_11_48_44_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afeb7b91c11fde046d1e3e546e6aa835.jpg","text":"TemporaryFile(/tmp/multipartBody4826512869970348635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313759111,"filename":"image_12072025_11_48_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca85a47bbe561ad1e18fc16477628457.jpg","text":"TemporaryFile(/tmp/multipartBody4865124774348019980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313759111,"filename":"image_12072025_11_48_24_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6bfb8a5a0b1a07bece588cb0c92e06b.jpg","text":"TemporaryFile(/tmp/multipartBody4987833233301134023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313759111,"filename":"image_12072025_11_47_54_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877232","file1":"1371877231","file0":"1371877230","file4":"1371877234","file5":"1371877235","file3":"1371877233"},"map_files_photo_id_array":[{"photo_id":"1371877235","filename":"file5"},{"photo_id":"1371877232","filename":"file2"},{"photo_id":"1371877234","filename":"file4"},{"photo_id":"1371877231","filename":"file1"},{"photo_id":"1371877230","filename":"file0"},{"photo_id":"1371877233","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877234":["hashtag1","hashtag2"]},{"1371877231":["hashtag1","hashtag2"]},{"1371877230":["hashtag1","hashtag2"]},{"1371877233":["hashtag1","hashtag2"]},{"1371877232":["hashtag1","hashtag2"]},{"1371877235":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877234, 1371877231, 1371877230, 1371877233, 1371877232, 1371877235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.114274263381958 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:49:03.379007
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/17/image_10072025_19_18_04_9660.jpg', 2), ('/home/nano/Desktop/images/10072025/19/17/image_10072025_19_17_54_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/19/17/image_10072025_19_17_43_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/19/17/image_10072025_19_17_24_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/19/17/image_10072025_19_17_13_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/19/16/image_10072025_19_16_43_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/17/image_10072025_19_18_04_9660.jpg', '/home/nano/Desktop/images/10072025/19/17/image_10072025_19_17_54_10645.jpg', '/home/nano/Desktop/images/10072025/19/17/image_10072025_19_17_43_9633.jpg', '/home/nano/Desktop/images/10072025/19/17/image_10072025_19_17_24_10640.jpg', '/home/nano/Desktop/images/10072025/19/17/image_10072025_19_17_13_9649.jpg', '/home/nano/Desktop/images/10072025/19/16/image_10072025_19_16_43_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/17/image_10072025_19_18_04_9660.jpg
/home/nano/Desktop/images/10072025/19/17/image_10072025_19_17_54_10645.jpg
/home/nano/Desktop/images/10072025/19/17/image_10072025_19_17_43_9633.jpg
/home/nano/Desktop/images/10072025/19/17/image_10072025_19_17_24_10640.jpg
/home/nano/Desktop/images/10072025/19/17/image_10072025_19_17_13_9649.jpg
/home/nano/Desktop/images/10072025/19/16/image_10072025_19_16_43_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877255","1371877249","1371877251","1371877245","1371877253","1371877247"],"photo_ids_order":["1371877245","1371877247","1371877249","1371877251","1371877253","1371877255"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5be56df697a12ea0ee1616a22c7cf7fc.jpg","text":"TemporaryFile(/tmp/multipartBody290893744328025948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313805962,"filename":"image_10072025_19_16_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/860e9afd8cc50782e5c2e674cfad2925.jpg","text":"TemporaryFile(/tmp/multipartBody6168730842024235283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313805962,"filename":"image_10072025_19_17_43_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/996e0bd9d6351d80b8d58e6b8fba299b.jpg","text":"TemporaryFile(/tmp/multipartBody2295765619476102668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313805962,"filename":"image_10072025_19_17_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d653922dc1865da64bf80861b6119ca.jpg","text":"TemporaryFile(/tmp/multipartBody6279148306161502964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313805962,"filename":"image_10072025_19_18_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d14872d8401999b7c844370ff22d0336.jpg","text":"TemporaryFile(/tmp/multipartBody6566028705109835406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313805962,"filename":"image_10072025_19_17_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/595476da12aa72091a79b61edb70db4f.jpg","text":"TemporaryFile(/tmp/multipartBody5106774231333612082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313805962,"filename":"image_10072025_19_17_54_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877249","file1":"1371877247","file0":"1371877245","file4":"1371877253","file5":"1371877255","file3":"1371877251"},"map_files_photo_id_array":[{"photo_id":"1371877255","filename":"file5"},{"photo_id":"1371877249","filename":"file2"},{"photo_id":"1371877253","filename":"file4"},{"photo_id":"1371877247","filename":"file1"},{"photo_id":"1371877245","filename":"file0"},{"photo_id":"1371877251","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371877255":["hashtag1","hashtag2"]},{"1371877249":["hashtag1","hashtag2"]},{"1371877251":["hashtag1","hashtag2"]},{"1371877245":["hashtag1","hashtag2"]},{"1371877253":["hashtag1","hashtag2"]},{"1371877247":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371877255, 1371877249, 1371877251, 1371877245, 1371877253, 1371877247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78189730644226 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:49:47.644719
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_33_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_24_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_14_10686.jpg', 2), ('/home/nano/Desktop/images/12072025/11/48/image_12072025_11_49_03_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_44_10622.jpg', '/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_33_9626.jpg', '/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_24_9642.jpg', '/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_14_10686.jpg', '/home/nano/Desktop/images/12072025/11/48/image_12072025_11_49_03_9640.jpg', '/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_44_10622.jpg
/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_33_9626.jpg
/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_24_9642.jpg
/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_14_10686.jpg
/home/nano/Desktop/images/12072025/11/48/image_12072025_11_49_03_9640.jpg
/home/nano/Desktop/images/12072025/11/48/image_12072025_11_48_54_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877294","1371877300","1371877278","1371877292","1371877298","1371877297"],"photo_ids_order":["1371877278","1371877292","1371877294","1371877297","1371877298","1371877300"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/156998cb671e7f8cf6e47cee0163e6b6.jpg","text":"TemporaryFile(/tmp/multipartBody4855081563155421220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313849793,"filename":"image_12072025_11_49_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0764fec6a73902943fb0e042ff51238a.jpg","text":"TemporaryFile(/tmp/multipartBody6635541173910631949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313849793,"filename":"image_12072025_11_48_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ecc0b1571bb5c6bfa3231b268c5797f.jpg","text":"TemporaryFile(/tmp/multipartBody7946471423339717415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313849793,"filename":"image_12072025_11_49_44_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/932cabafc388427d54c04ed78ce2a7e1.jpg","text":"TemporaryFile(/tmp/multipartBody2979470433087306853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313849793,"filename":"image_12072025_11_49_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/533b8f11bb41e965be40af9477f7e450.jpg","text":"TemporaryFile(/tmp/multipartBody3164204702521813829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313849793,"filename":"image_12072025_11_49_03_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/653d1a8a6b0642b3c907fd26ca086f7f.jpg","text":"TemporaryFile(/tmp/multipartBody7376443733000909861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313849793,"filename":"image_12072025_11_49_14_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877294","file1":"1371877292","file0":"1371877278","file4":"1371877298","file5":"1371877300","file3":"1371877297"},"map_files_photo_id_array":[{"photo_id":"1371877300","filename":"file5"},{"photo_id":"1371877294","filename":"file2"},{"photo_id":"1371877298","filename":"file4"},{"photo_id":"1371877292","filename":"file1"},{"photo_id":"1371877278","filename":"file0"},{"photo_id":"1371877297","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877294":["hashtag1","hashtag2"]},{"1371877300":["hashtag1","hashtag2"]},{"1371877278":["hashtag1","hashtag2"]},{"1371877292":["hashtag1","hashtag2"]},{"1371877298":["hashtag1","hashtag2"]},{"1371877297":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877294, 1371877300, 1371877278, 1371877292, 1371877298, 1371877297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.436129331588745 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:50:32.735593
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_43_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_33_9760.jpg', 2), ('/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_24_9706.jpg', 2), ('/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_14_10830.jpg', 2), ('/home/nano/Desktop/images/12072025/11/49/image_12072025_11_50_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_53_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_43_9666.jpg', '/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_33_9760.jpg', '/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_24_9706.jpg', '/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_14_10830.jpg', '/home/nano/Desktop/images/12072025/11/49/image_12072025_11_50_03_9642.jpg', '/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_53_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_43_9666.jpg
/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_33_9760.jpg
/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_24_9706.jpg
/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_14_10830.jpg
/home/nano/Desktop/images/12072025/11/49/image_12072025_11_50_03_9642.jpg
/home/nano/Desktop/images/12072025/11/49/image_12072025_11_49_53_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877309","1371877303","1371877311","1371877302","1371877305","1371877307"],"photo_ids_order":["1371877302","1371877303","1371877305","1371877307","1371877309","1371877311"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d056af679e008a2937ed370de4049347.jpg","text":"TemporaryFile(/tmp/multipartBody4437765253487176560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313895509,"filename":"image_12072025_11_50_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4befb7d951a6be73a86c642a18ee80c.jpg","text":"TemporaryFile(/tmp/multipartBody5468584578756369218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313895509,"filename":"image_12072025_11_50_33_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ed503bab759d2307ae12163c743700b.jpg","text":"TemporaryFile(/tmp/multipartBody5483950871751579172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313895509,"filename":"image_12072025_11_49_53_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c4ea04ef0a5a5b1d5f6e7ea5fa00b37.jpg","text":"TemporaryFile(/tmp/multipartBody4764907023907830181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313895509,"filename":"image_12072025_11_50_43_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4212e2021b10384f1fd49e8f602d13fc.jpg","text":"TemporaryFile(/tmp/multipartBody7462289746147445483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313895509,"filename":"image_12072025_11_50_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99eb312ce5dc2e5c6de64f66ac18e11e.jpg","text":"TemporaryFile(/tmp/multipartBody6889023289802880534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313895509,"filename":"image_12072025_11_50_14_10830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877305","file1":"1371877303","file0":"1371877302","file4":"1371877309","file5":"1371877311","file3":"1371877307"},"map_files_photo_id_array":[{"photo_id":"1371877311","filename":"file5"},{"photo_id":"1371877305","filename":"file2"},{"photo_id":"1371877309","filename":"file4"},{"photo_id":"1371877303","filename":"file1"},{"photo_id":"1371877302","filename":"file0"},{"photo_id":"1371877307","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877309":["hashtag1","hashtag2"]},{"1371877303":["hashtag1","hashtag2"]},{"1371877311":["hashtag1","hashtag2"]},{"1371877302":["hashtag1","hashtag2"]},{"1371877305":["hashtag1","hashtag2"]},{"1371877307":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877309, 1371877303, 1371877311, 1371877302, 1371877305, 1371877307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.241172313690186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:51:16.857105
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_43_9697.jpg', 2), ('/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_34_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_24_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_13_9791.jpg', 2), ('/home/nano/Desktop/images/12072025/11/50/image_12072025_11_51_04_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_54_10811.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_43_9697.jpg', '/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_34_9631.jpg', '/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_24_10674.jpg', '/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_13_9791.jpg', '/home/nano/Desktop/images/12072025/11/50/image_12072025_11_51_04_9656.jpg', '/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_54_10811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_43_9697.jpg
/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_34_9631.jpg
/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_24_10674.jpg
/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_13_9791.jpg
/home/nano/Desktop/images/12072025/11/50/image_12072025_11_51_04_9656.jpg
/home/nano/Desktop/images/12072025/11/50/image_12072025_11_50_54_10811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877315","1371877318","1371877320","1371877317","1371877319","1371877316"],"photo_ids_order":["1371877315","1371877316","1371877317","1371877318","1371877319","1371877320"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/daa1ef8680551783077ce853ac901fa8.jpg","text":"TemporaryFile(/tmp/multipartBody4300881767849516232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313938816,"filename":"image_12072025_11_51_43_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d70e88b5be21ebc7059f7b6ef6248be.jpg","text":"TemporaryFile(/tmp/multipartBody4218657315555159855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313938816,"filename":"image_12072025_11_51_13_9791.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7b68f3ac74e345e4f05bc3d9c0e7772.jpg","text":"TemporaryFile(/tmp/multipartBody1193434074339886392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313938816,"filename":"image_12072025_11_50_54_10811.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ac3e8ef0e3cbe794afcdb76bc4c2659.jpg","text":"TemporaryFile(/tmp/multipartBody6721257247750808227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313938816,"filename":"image_12072025_11_51_24_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/575a5491ad70868f602309b93cf75c50.jpg","text":"TemporaryFile(/tmp/multipartBody7418121551925628645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313938816,"filename":"image_12072025_11_51_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67359ad1a9f2861871e7eb174c488bf0.jpg","text":"TemporaryFile(/tmp/multipartBody162686108035219958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313938816,"filename":"image_12072025_11_51_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877317","file1":"1371877316","file0":"1371877315","file4":"1371877319","file5":"1371877320","file3":"1371877318"},"map_files_photo_id_array":[{"photo_id":"1371877320","filename":"file5"},{"photo_id":"1371877317","filename":"file2"},{"photo_id":"1371877319","filename":"file4"},{"photo_id":"1371877316","filename":"file1"},{"photo_id":"1371877315","filename":"file0"},{"photo_id":"1371877318","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877315":["hashtag1","hashtag2"]},{"1371877318":["hashtag1","hashtag2"]},{"1371877320":["hashtag1","hashtag2"]},{"1371877317":["hashtag1","hashtag2"]},{"1371877319":["hashtag1","hashtag2"]},{"1371877316":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877315, 1371877318, 1371877320, 1371877317, 1371877319, 1371877316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17360258102417 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:52:02.400270
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/16/image_10072025_19_16_34_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/19/15/image_10072025_19_16_04_10646.jpg', 2), ('/home/nano/Desktop/images/10072025/19/15/image_10072025_19_15_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/19/15/image_10072025_19_15_44_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/19/15/image_10072025_19_15_23_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/19/15/image_10072025_19_15_14_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/16/image_10072025_19_16_34_10641.jpg', '/home/nano/Desktop/images/10072025/19/15/image_10072025_19_16_04_10646.jpg', '/home/nano/Desktop/images/10072025/19/15/image_10072025_19_15_53_9646.jpg', '/home/nano/Desktop/images/10072025/19/15/image_10072025_19_15_44_9647.jpg', '/home/nano/Desktop/images/10072025/19/15/image_10072025_19_15_23_9629.jpg', '/home/nano/Desktop/images/10072025/19/15/image_10072025_19_15_14_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/16/image_10072025_19_16_34_10641.jpg
/home/nano/Desktop/images/10072025/19/15/image_10072025_19_16_04_10646.jpg
/home/nano/Desktop/images/10072025/19/15/image_10072025_19_15_53_9646.jpg
/home/nano/Desktop/images/10072025/19/15/image_10072025_19_15_44_9647.jpg
/home/nano/Desktop/images/10072025/19/15/image_10072025_19_15_23_9629.jpg
/home/nano/Desktop/images/10072025/19/15/image_10072025_19_15_14_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877326","1371877329","1371877331","1371877325","1371877334","1371877328"],"photo_ids_order":["1371877325","1371877326","1371877328","1371877329","1371877331","1371877334"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a357fdb8cac6213a5bc18d62aa890fb.jpg","text":"TemporaryFile(/tmp/multipartBody7443980121577643786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313985077,"filename":"image_10072025_19_16_04_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6dfdedc37e5e69c9db7b352f4e234f7.jpg","text":"TemporaryFile(/tmp/multipartBody7826391891241911374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313985077,"filename":"image_10072025_19_15_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1dc3ef3a7835ec6d522f3a30ab04b9cf.jpg","text":"TemporaryFile(/tmp/multipartBody9162493345603912577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313985077,"filename":"image_10072025_19_15_23_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d47efc07482e97feaaabb08b4bfc26a0.jpg","text":"TemporaryFile(/tmp/multipartBody174515977921933375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313985077,"filename":"image_10072025_19_16_34_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ceef8cc288d77ab2e47194e610862a3d.jpg","text":"TemporaryFile(/tmp/multipartBody5241639208433742929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313985077,"filename":"image_10072025_19_15_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a5b5c796ec308ec5a7ef107d0746478.jpg","text":"TemporaryFile(/tmp/multipartBody4245917281268560248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752313985077,"filename":"image_10072025_19_15_53_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877328","file1":"1371877326","file0":"1371877325","file4":"1371877331","file5":"1371877334","file3":"1371877329"},"map_files_photo_id_array":[{"photo_id":"1371877334","filename":"file5"},{"photo_id":"1371877328","filename":"file2"},{"photo_id":"1371877331","filename":"file4"},{"photo_id":"1371877326","filename":"file1"},{"photo_id":"1371877325","filename":"file0"},{"photo_id":"1371877329","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371877326":["hashtag1","hashtag2"]},{"1371877329":["hashtag1","hashtag2"]},{"1371877331":["hashtag1","hashtag2"]},{"1371877325":["hashtag1","hashtag2"]},{"1371877334":["hashtag1","hashtag2"]},{"1371877328":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371877326, 1371877329, 1371877331, 1371877325, 1371877334, 1371877328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03351140022278 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:52:46.923223
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_43_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_34_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_24_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_13_9692.jpg', 2), ('/home/nano/Desktop/images/12072025/11/51/image_12072025_11_52_04_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_54_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_43_9620.jpg', '/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_34_9632.jpg', '/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_24_10639.jpg', '/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_13_9692.jpg', '/home/nano/Desktop/images/12072025/11/51/image_12072025_11_52_04_9658.jpg', '/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_54_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_43_9620.jpg
/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_34_9632.jpg
/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_24_10639.jpg
/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_13_9692.jpg
/home/nano/Desktop/images/12072025/11/51/image_12072025_11_52_04_9658.jpg
/home/nano/Desktop/images/12072025/11/51/image_12072025_11_51_54_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877351","1371877344","1371877347","1371877341","1371877349","1371877346"],"photo_ids_order":["1371877341","1371877344","1371877346","1371877347","1371877349","1371877351"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fca64a32258008980b14d6f26456dae.jpg","text":"TemporaryFile(/tmp/multipartBody7948256228986204132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314029001,"filename":"image_12072025_11_51_54_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b19fe7e24f6b6635210ca994cb601618.jpg","text":"TemporaryFile(/tmp/multipartBody4735595537337940149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314029001,"filename":"image_12072025_11_52_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a4efdbc65cf44f1cdd187327aec12b5.jpg","text":"TemporaryFile(/tmp/multipartBody5142479563982821813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314029001,"filename":"image_12072025_11_52_13_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db48c287f4263b99d3aa23003c51986a.jpg","text":"TemporaryFile(/tmp/multipartBody7796082352105789210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314029001,"filename":"image_12072025_11_52_43_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88a525ce50c75fc30d1942b58926b726.jpg","text":"TemporaryFile(/tmp/multipartBody8896100200177110598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314029001,"filename":"image_12072025_11_52_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2446c9f659fa2541759801a797c54db5.jpg","text":"TemporaryFile(/tmp/multipartBody5024433945395276350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314029001,"filename":"image_12072025_11_52_24_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877346","file1":"1371877344","file0":"1371877341","file4":"1371877349","file5":"1371877351","file3":"1371877347"},"map_files_photo_id_array":[{"photo_id":"1371877351","filename":"file5"},{"photo_id":"1371877346","filename":"file2"},{"photo_id":"1371877349","filename":"file4"},{"photo_id":"1371877344","filename":"file1"},{"photo_id":"1371877341","filename":"file0"},{"photo_id":"1371877347","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877351":["hashtag1","hashtag2"]},{"1371877344":["hashtag1","hashtag2"]},{"1371877347":["hashtag1","hashtag2"]},{"1371877341":["hashtag1","hashtag2"]},{"1371877349":["hashtag1","hashtag2"]},{"1371877346":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877351, 1371877344, 1371877347, 1371877341, 1371877349, 1371877346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93031620979309 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:53:32.132215
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_43_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_34_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_24_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_13_9681.jpg', 2), ('/home/nano/Desktop/images/12072025/11/52/image_12072025_11_53_04_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_54_10707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_43_9610.jpg', '/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_34_9636.jpg', '/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_24_10640.jpg', '/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_13_9681.jpg', '/home/nano/Desktop/images/12072025/11/52/image_12072025_11_53_04_9662.jpg', '/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_54_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_43_9610.jpg
/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_34_9636.jpg
/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_24_10640.jpg
/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_13_9681.jpg
/home/nano/Desktop/images/12072025/11/52/image_12072025_11_53_04_9662.jpg
/home/nano/Desktop/images/12072025/11/52/image_12072025_11_52_54_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877360","1371877357","1371877362","1371877359","1371877355","1371877364"],"photo_ids_order":["1371877355","1371877357","1371877359","1371877360","1371877362","1371877364"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0367427b77cddd4e130c468f1ded71fd.jpg","text":"TemporaryFile(/tmp/multipartBody3197612543686692578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314073969,"filename":"image_12072025_11_53_13_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d0fa6e62aacd3710cffd19a079ca1e6.jpg","text":"TemporaryFile(/tmp/multipartBody3781818917426798044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314073969,"filename":"image_12072025_11_53_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7fb46be59202e5db109d1809c4a29ce.jpg","text":"TemporaryFile(/tmp/multipartBody6160939689916902570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314073969,"filename":"image_12072025_11_53_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e42d21cf710dab8d0aebcc532422b1d9.jpg","text":"TemporaryFile(/tmp/multipartBody2055144445567862838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314073969,"filename":"image_12072025_11_53_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f742c5bae687f2e18fb502ed49f5951.jpg","text":"TemporaryFile(/tmp/multipartBody2158108542318592876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314073969,"filename":"image_12072025_11_53_43_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37c7de1918fb61ce65259c6e1239653e.jpg","text":"TemporaryFile(/tmp/multipartBody7933115625257739274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314073969,"filename":"image_12072025_11_52_54_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877359","file1":"1371877357","file0":"1371877355","file4":"1371877362","file5":"1371877364","file3":"1371877360"},"map_files_photo_id_array":[{"photo_id":"1371877364","filename":"file5"},{"photo_id":"1371877359","filename":"file2"},{"photo_id":"1371877362","filename":"file4"},{"photo_id":"1371877357","filename":"file1"},{"photo_id":"1371877355","filename":"file0"},{"photo_id":"1371877360","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877360":["hashtag1","hashtag2"]},{"1371877357":["hashtag1","hashtag2"]},{"1371877362":["hashtag1","hashtag2"]},{"1371877359":["hashtag1","hashtag2"]},{"1371877355":["hashtag1","hashtag2"]},{"1371877364":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877360, 1371877357, 1371877362, 1371877359, 1371877355, 1371877364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.873950719833374 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:54:17.253904
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_44_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_24_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_14_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/11/53/image_12072025_11_54_03_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_44_10634.jpg', '/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_33_9638.jpg', '/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_24_9613.jpg', '/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_14_10647.jpg', '/home/nano/Desktop/images/12072025/11/53/image_12072025_11_54_03_9623.jpg', '/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_44_10634.jpg
/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_33_9638.jpg
/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_24_9613.jpg
/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_14_10647.jpg
/home/nano/Desktop/images/12072025/11/53/image_12072025_11_54_03_9623.jpg
/home/nano/Desktop/images/12072025/11/53/image_12072025_11_53_54_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877372","1371877366","1371877369","1371877374","1371877367","1371877370"],"photo_ids_order":["1371877366","1371877367","1371877369","1371877370","1371877372","1371877374"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/facc816908da3ab0e94cf0a99ccd685f.jpg","text":"TemporaryFile(/tmp/multipartBody7653643294086855299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314118387,"filename":"image_12072025_11_54_03_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a97191cf8fc5631616a7fa6540da352f.jpg","text":"TemporaryFile(/tmp/multipartBody2571930563855195984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314118387,"filename":"image_12072025_11_54_44_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/049d3d16735d297c6006789efb1b13ac.jpg","text":"TemporaryFile(/tmp/multipartBody7762823879249361176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314118387,"filename":"image_12072025_11_54_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1770a4b15580e228d21f780127f6479.jpg","text":"TemporaryFile(/tmp/multipartBody3147558576269410553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314118387,"filename":"image_12072025_11_53_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5cc12b1352cac1cee9b48026a4cd335.jpg","text":"TemporaryFile(/tmp/multipartBody5035379861243273125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314118387,"filename":"image_12072025_11_54_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4dbe3a5aa72737593c7ed78b01be81b0.jpg","text":"TemporaryFile(/tmp/multipartBody6283488857346794725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314118387,"filename":"image_12072025_11_54_14_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877369","file1":"1371877367","file0":"1371877366","file4":"1371877372","file5":"1371877374","file3":"1371877370"},"map_files_photo_id_array":[{"photo_id":"1371877374","filename":"file5"},{"photo_id":"1371877369","filename":"file2"},{"photo_id":"1371877372","filename":"file4"},{"photo_id":"1371877367","filename":"file1"},{"photo_id":"1371877366","filename":"file0"},{"photo_id":"1371877370","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877372":["hashtag1","hashtag2"]},{"1371877366":["hashtag1","hashtag2"]},{"1371877369":["hashtag1","hashtag2"]},{"1371877374":["hashtag1","hashtag2"]},{"1371877367":["hashtag1","hashtag2"]},{"1371877370":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877372, 1371877366, 1371877369, 1371877374, 1371877367, 1371877370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27059626579285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:55:02.966861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/14/image_10072025_19_15_04_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/19/14/image_10072025_19_14_53_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/19/14/image_10072025_19_14_44_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/19/14/image_10072025_19_14_34_10648.jpg', 2), ('/home/nano/Desktop/images/10072025/19/13/image_10072025_19_13_53_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/19/13/image_10072025_19_13_44_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/14/image_10072025_19_15_04_10656.jpg', '/home/nano/Desktop/images/10072025/19/14/image_10072025_19_14_53_9628.jpg', '/home/nano/Desktop/images/10072025/19/14/image_10072025_19_14_44_9629.jpg', '/home/nano/Desktop/images/10072025/19/14/image_10072025_19_14_34_10648.jpg', '/home/nano/Desktop/images/10072025/19/13/image_10072025_19_13_53_9639.jpg', '/home/nano/Desktop/images/10072025/19/13/image_10072025_19_13_44_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/14/image_10072025_19_15_04_10656.jpg
/home/nano/Desktop/images/10072025/19/14/image_10072025_19_14_53_9628.jpg
/home/nano/Desktop/images/10072025/19/14/image_10072025_19_14_44_9629.jpg
/home/nano/Desktop/images/10072025/19/14/image_10072025_19_14_34_10648.jpg
/home/nano/Desktop/images/10072025/19/13/image_10072025_19_13_53_9639.jpg
/home/nano/Desktop/images/10072025/19/13/image_10072025_19_13_44_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877380","1371877383","1371877385","1371877379","1371877382","1371877381"],"photo_ids_order":["1371877379","1371877380","1371877381","1371877382","1371877383","1371877385"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06dbaa60b5a7501df20b8559fe1cc801.jpg","text":"TemporaryFile(/tmp/multipartBody2532465784707178402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314166249,"filename":"image_10072025_19_14_53_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1d0b5b36e2613d56ae8eea3aeba152d.jpg","text":"TemporaryFile(/tmp/multipartBody2687824303801427345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314166249,"filename":"image_10072025_19_13_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3055b4ef9c3da3ca98399df7270e8cee.jpg","text":"TemporaryFile(/tmp/multipartBody4227849388445984011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314166249,"filename":"image_10072025_19_13_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64c54a5d6a8ba95cae9a9497bb87036b.jpg","text":"TemporaryFile(/tmp/multipartBody7998176110821450777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314166249,"filename":"image_10072025_19_15_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94d4ba0359b5473f042e6131e3c21338.jpg","text":"TemporaryFile(/tmp/multipartBody4205076986904107539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314166249,"filename":"image_10072025_19_14_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3281fe047bfd64b0ee693b219d009988.jpg","text":"TemporaryFile(/tmp/multipartBody2850906164700697041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314166249,"filename":"image_10072025_19_14_44_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877381","file1":"1371877380","file0":"1371877379","file4":"1371877383","file5":"1371877385","file3":"1371877382"},"map_files_photo_id_array":[{"photo_id":"1371877385","filename":"file5"},{"photo_id":"1371877381","filename":"file2"},{"photo_id":"1371877383","filename":"file4"},{"photo_id":"1371877380","filename":"file1"},{"photo_id":"1371877379","filename":"file0"},{"photo_id":"1371877382","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371877380":["hashtag1","hashtag2"]},{"1371877383":["hashtag1","hashtag2"]},{"1371877385":["hashtag1","hashtag2"]},{"1371877379":["hashtag1","hashtag2"]},{"1371877382":["hashtag1","hashtag2"]},{"1371877381":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371877380, 1371877383, 1371877385, 1371877379, 1371877382, 1371877381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92969584465027 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:55:47.257605
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_44_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_23_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_14_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/11/54/image_12072025_11_55_03_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_44_9625.jpg', '/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_34_10620.jpg', '/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_23_9614.jpg', '/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_14_10649.jpg', '/home/nano/Desktop/images/12072025/11/54/image_12072025_11_55_03_9606.jpg', '/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_44_9625.jpg
/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_34_10620.jpg
/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_23_9614.jpg
/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_14_10649.jpg
/home/nano/Desktop/images/12072025/11/54/image_12072025_11_55_03_9606.jpg
/home/nano/Desktop/images/12072025/11/54/image_12072025_11_54_54_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877393","1371877397","1371877401","1371877396","1371877400","1371877399"],"photo_ids_order":["1371877393","1371877396","1371877397","1371877399","1371877400","1371877401"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4a54005c824bf903585e0e64814d9f2.jpg","text":"TemporaryFile(/tmp/multipartBody5230588474339056162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314209164,"filename":"image_12072025_11_55_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ca54fa567e83f9612b3e378654fcd8c.jpg","text":"TemporaryFile(/tmp/multipartBody2103530594118340851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314209164,"filename":"image_12072025_11_55_23_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12d761e81f563da3d235188fce60ffff.jpg","text":"TemporaryFile(/tmp/multipartBody404906111393300340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314209164,"filename":"image_12072025_11_54_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8eea12d903baa8318e4f56f35285c462.jpg","text":"TemporaryFile(/tmp/multipartBody3488626636688246738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314209164,"filename":"image_12072025_11_55_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3876d9c8b1ed13508d0d5df831afac9c.jpg","text":"TemporaryFile(/tmp/multipartBody8864578096069655235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314209164,"filename":"image_12072025_11_55_03_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b066b097a27ee7b8342506ff5ff1c442.jpg","text":"TemporaryFile(/tmp/multipartBody6230222569564210741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314209164,"filename":"image_12072025_11_55_14_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877397","file1":"1371877396","file0":"1371877393","file4":"1371877400","file5":"1371877401","file3":"1371877399"},"map_files_photo_id_array":[{"photo_id":"1371877401","filename":"file5"},{"photo_id":"1371877397","filename":"file2"},{"photo_id":"1371877400","filename":"file4"},{"photo_id":"1371877396","filename":"file1"},{"photo_id":"1371877393","filename":"file0"},{"photo_id":"1371877399","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877393":["hashtag1","hashtag2"]},{"1371877397":["hashtag1","hashtag2"]},{"1371877401":["hashtag1","hashtag2"]},{"1371877396":["hashtag1","hashtag2"]},{"1371877400":["hashtag1","hashtag2"]},{"1371877399":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877393, 1371877397, 1371877401, 1371877396, 1371877400, 1371877399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84329628944397 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:56:32.356509
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_43_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_34_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_23_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/11/55/image_12072025_11_56_04_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_53_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_43_9616.jpg', '/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_34_10628.jpg', '/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_23_9634.jpg', '/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_14_9626.jpg', '/home/nano/Desktop/images/12072025/11/55/image_12072025_11_56_04_10629.jpg', '/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_53_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_43_9616.jpg
/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_34_10628.jpg
/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_23_9634.jpg
/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_14_9626.jpg
/home/nano/Desktop/images/12072025/11/55/image_12072025_11_56_04_10629.jpg
/home/nano/Desktop/images/12072025/11/55/image_12072025_11_55_53_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371877410","1371877407","1371877404","1371877445","1371877403","1371877406"],"photo_ids_order":["1371877403","1371877404","1371877406","1371877407","1371877410","1371877445"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5542da85c35105e67759a119d2d7ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2150955630715946331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314254120,"filename":"image_12072025_11_56_04_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ae238b3f6f6921328821c37c4035b35.jpg","text":"TemporaryFile(/tmp/multipartBody4460212023774319709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314254120,"filename":"image_12072025_11_56_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c8218111aafaf41e31bc84a48b2f0bc.jpg","text":"TemporaryFile(/tmp/multipartBody6603702861511710962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314254120,"filename":"image_12072025_11_56_34_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f15f2c01b33b255eb1bf0304de04d291.jpg","text":"TemporaryFile(/tmp/multipartBody3741202874572859948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314254120,"filename":"image_12072025_11_55_53_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6c6957311c94c3aeeaa71e56b1a3019.jpg","text":"TemporaryFile(/tmp/multipartBody416829099365985527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314254120,"filename":"image_12072025_11_56_43_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57fe40e0e840df883ad69c3947c59fd3.jpg","text":"TemporaryFile(/tmp/multipartBody1679406775547075769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314254120,"filename":"image_12072025_11_56_23_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371877406","file1":"1371877404","file0":"1371877403","file4":"1371877410","file5":"1371877445","file3":"1371877407"},"map_files_photo_id_array":[{"photo_id":"1371877445","filename":"file5"},{"photo_id":"1371877406","filename":"file2"},{"photo_id":"1371877410","filename":"file4"},{"photo_id":"1371877404","filename":"file1"},{"photo_id":"1371877403","filename":"file0"},{"photo_id":"1371877407","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371877410":["hashtag1","hashtag2"]},{"1371877407":["hashtag1","hashtag2"]},{"1371877404":["hashtag1","hashtag2"]},{"1371877445":["hashtag1","hashtag2"]},{"1371877403":["hashtag1","hashtag2"]},{"1371877406":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371877410, 1371877407, 1371877404, 1371877445, 1371877403, 1371877406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.98441553115845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:57:47.550605
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_43_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_34_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_13_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/11/56/image_12072025_11_57_04_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_54_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_43_9627.jpg', '/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_34_9654.jpg', '/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_24_10620.jpg', '/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_13_9645.jpg', '/home/nano/Desktop/images/12072025/11/56/image_12072025_11_57_04_9625.jpg', '/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_54_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_43_9627.jpg
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_34_9654.jpg
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_24_10620.jpg
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_13_9645.jpg
/home/nano/Desktop/images/12072025/11/56/image_12072025_11_57_04_9625.jpg
/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_54_10643.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:58:03.070732
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_43_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_34_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_13_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/11/56/image_12072025_11_57_04_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_54_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_43_9627.jpg', '/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_34_9654.jpg', '/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_24_10620.jpg', '/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_13_9645.jpg', '/home/nano/Desktop/images/12072025/11/56/image_12072025_11_57_04_9625.jpg', '/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_54_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_43_9627.jpg
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_34_9654.jpg
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_24_10620.jpg
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_13_9645.jpg
/home/nano/Desktop/images/12072025/11/56/image_12072025_11_57_04_9625.jpg
/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_54_10643.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9442315101623535 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:59:02.736196
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_54_10725.jpg', 2), ('/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_33_9676.jpg', 2), ('/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_24_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_13_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_58_03_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_54_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_54_10725.jpg', '/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_33_9676.jpg', '/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_24_10635.jpg', '/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_13_9638.jpg', '/home/nano/Desktop/images/12072025/11/57/image_12072025_11_58_03_9624.jpg', '/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_54_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_54_10725.jpg
/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_33_9676.jpg
/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_24_10635.jpg
/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_13_9638.jpg
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_58_03_9624.jpg
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_54_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371878598","1371878571","1371878613","1371878520","1371878616","1371878545"],"photo_ids_order":["1371878520","1371878545","1371878571","1371878598","1371878613","1371878616"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e52852c6fa73c43529439e7703d9704.jpg","text":"TemporaryFile(/tmp/multipartBody2989817670966564536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314404678,"filename":"image_12072025_11_58_13_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1fe876ea610fe65f62708d963533ca4.jpg","text":"TemporaryFile(/tmp/multipartBody5104885765632194676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314404678,"filename":"image_12072025_11_58_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3a5e13bf7b368404c718d278aeee960.jpg","text":"TemporaryFile(/tmp/multipartBody8323021223737263011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314404678,"filename":"image_12072025_11_58_03_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/238d72cad0668a400d989ea691f79583.jpg","text":"TemporaryFile(/tmp/multipartBody2640924118699407692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314404678,"filename":"image_12072025_11_58_54_10725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d422a279794d7dda5b8f527a7edaaae.jpg","text":"TemporaryFile(/tmp/multipartBody3876666648262008174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314404678,"filename":"image_12072025_11_57_54_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76dcb71fec9f2b246b90437036dc319a.jpg","text":"TemporaryFile(/tmp/multipartBody7245599433859160246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314404678,"filename":"image_12072025_11_58_33_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371878571","file1":"1371878545","file0":"1371878520","file4":"1371878613","file5":"1371878616","file3":"1371878598"},"map_files_photo_id_array":[{"photo_id":"1371878616","filename":"file5"},{"photo_id":"1371878571","filename":"file2"},{"photo_id":"1371878613","filename":"file4"},{"photo_id":"1371878545","filename":"file1"},{"photo_id":"1371878520","filename":"file0"},{"photo_id":"1371878598","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371878598":["hashtag1","hashtag2"]},{"1371878571":["hashtag1","hashtag2"]},{"1371878613":["hashtag1","hashtag2"]},{"1371878520":["hashtag1","hashtag2"]},{"1371878616":["hashtag1","hashtag2"]},{"1371878545":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371878598, 1371878571, 1371878613, 1371878520, 1371878616, 1371878545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5216019153595 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 11:59:46.820702
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_43_9691.jpg', 2), ('/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_34_10679.jpg', 2), ('/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_23_9747.jpg', 2), ('/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_13_9769.jpg', 2), ('/home/nano/Desktop/images/12072025/11/58/image_12072025_11_59_04_9754.jpg', 2), ('/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_43_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_43_9691.jpg', '/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_34_10679.jpg', '/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_23_9747.jpg', '/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_13_9769.jpg', '/home/nano/Desktop/images/12072025/11/58/image_12072025_11_59_04_9754.jpg', '/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_43_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_43_9691.jpg
/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_34_10679.jpg
/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_23_9747.jpg
/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_13_9769.jpg
/home/nano/Desktop/images/12072025/11/58/image_12072025_11_59_04_9754.jpg
/home/nano/Desktop/images/12072025/11/58/image_12072025_11_58_43_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371879075","1371878988","1371879126","1371878939","1371879031","1371878863"],"photo_ids_order":["1371878863","1371878939","1371878988","1371879031","1371879075","1371879126"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c048dcdef92bd0bbaed66c3aeec7dda8.jpg","text":"TemporaryFile(/tmp/multipartBody125941468338951541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314448391,"filename":"image_12072025_11_59_04_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41297bbcb74655e1c5ad524b3ec56c7f.jpg","text":"TemporaryFile(/tmp/multipartBody6442057842516786508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314448391,"filename":"image_12072025_11_59_23_9747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ee5feca9825cfae2a88d41386a26a3e.jpg","text":"TemporaryFile(/tmp/multipartBody7404965858073761582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314448391,"filename":"image_12072025_11_58_43_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39efceaff5afab101114da0ecba1eee5.jpg","text":"TemporaryFile(/tmp/multipartBody1042549309782867916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314448391,"filename":"image_12072025_11_59_34_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ca7b4aa82a94f56815cea0fb1766a2b.jpg","text":"TemporaryFile(/tmp/multipartBody1407239576809643291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314448391,"filename":"image_12072025_11_59_13_9769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ac694317be58ca32aa1bfa75b5493af.jpg","text":"TemporaryFile(/tmp/multipartBody7965087146928564665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314448391,"filename":"image_12072025_11_59_43_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371878988","file1":"1371878939","file0":"1371878863","file4":"1371879075","file5":"1371879126","file3":"1371879031"},"map_files_photo_id_array":[{"photo_id":"1371879126","filename":"file5"},{"photo_id":"1371878988","filename":"file2"},{"photo_id":"1371879075","filename":"file4"},{"photo_id":"1371878939","filename":"file1"},{"photo_id":"1371878863","filename":"file0"},{"photo_id":"1371879031","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371879075":["hashtag1","hashtag2"]},{"1371878988":["hashtag1","hashtag2"]},{"1371879126":["hashtag1","hashtag2"]},{"1371878939":["hashtag1","hashtag2"]},{"1371879031":["hashtag1","hashtag2"]},{"1371878863":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371879075, 1371878988, 1371879126, 1371878939, 1371879031, 1371878863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.986900568008423 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:00:31.929955
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/00/image_12072025_12_00_44_9700.jpg', 2), ('/home/nano/Desktop/images/12072025/12/00/image_12072025_12_00_34_10702.jpg', 2), ('/home/nano/Desktop/images/12072025/11/59/image_12072025_12_00_04_10696.jpg', 2), ('/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_53_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_43_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_34_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/00/image_12072025_12_00_44_9700.jpg', '/home/nano/Desktop/images/12072025/12/00/image_12072025_12_00_34_10702.jpg', '/home/nano/Desktop/images/12072025/11/59/image_12072025_12_00_04_10696.jpg', '/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_53_9621.jpg', '/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_43_9627.jpg', '/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_34_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/00/image_12072025_12_00_44_9700.jpg
/home/nano/Desktop/images/12072025/12/00/image_12072025_12_00_34_10702.jpg
/home/nano/Desktop/images/12072025/11/59/image_12072025_12_00_04_10696.jpg
/home/nano/Desktop/images/12072025/11/59/image_12072025_11_59_53_9621.jpg
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_43_9627.jpg
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_34_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371879441","1371879584","1371879548","1371879500","1371879628","1371879463"],"photo_ids_order":["1371879441","1371879463","1371879500","1371879548","1371879584","1371879628"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36e26523bfdd69409f1fbe764e0378f7.jpg","text":"TemporaryFile(/tmp/multipartBody7136472703236309922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314493994,"filename":"image_12072025_12_00_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eeab7dd8452fa857f0c78f89a9d8a8d8.jpg","text":"TemporaryFile(/tmp/multipartBody3750365439605198621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314493994,"filename":"image_12072025_11_57_43_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2f3c7d5e0c93778f161b0536d8fbffc.jpg","text":"TemporaryFile(/tmp/multipartBody1758836013897891467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314493994,"filename":"image_12072025_11_59_53_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04a1a08d050fdd0cbb529f573c566163.jpg","text":"TemporaryFile(/tmp/multipartBody8459820649965834773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314493994,"filename":"image_12072025_12_00_04_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c17ea298a3eac2dec7436549608e8de.jpg","text":"TemporaryFile(/tmp/multipartBody4394952482401935289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314493994,"filename":"image_12072025_11_57_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a130f8eabe2637efcd456f40df2c3dcd.jpg","text":"TemporaryFile(/tmp/multipartBody4967607204453600223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314493994,"filename":"image_12072025_12_00_34_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371879500","file1":"1371879463","file0":"1371879441","file4":"1371879584","file5":"1371879628","file3":"1371879548"},"map_files_photo_id_array":[{"photo_id":"1371879628","filename":"file5"},{"photo_id":"1371879500","filename":"file2"},{"photo_id":"1371879584","filename":"file4"},{"photo_id":"1371879463","filename":"file1"},{"photo_id":"1371879441","filename":"file0"},{"photo_id":"1371879548","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371879441":["hashtag1","hashtag2"]},{"1371879584":["hashtag1","hashtag2"]},{"1371879548":["hashtag1","hashtag2"]},{"1371879500":["hashtag1","hashtag2"]},{"1371879628":["hashtag1","hashtag2"]},{"1371879463":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371879441, 1371879584, 1371879548, 1371879500, 1371879628, 1371879463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44541811943054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:01:17.086136
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_43_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_14_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/12/00/image_12072025_12_01_04_10708.jpg', 2), ('/home/nano/Desktop/images/12072025/12/00/image_12072025_12_00_53_9683.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_43_9644.jpg', '/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_34_10623.jpg', '/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_23_9616.jpg', '/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_14_9632.jpg', '/home/nano/Desktop/images/12072025/12/00/image_12072025_12_01_04_10708.jpg', '/home/nano/Desktop/images/12072025/12/00/image_12072025_12_00_53_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_43_9644.jpg
/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_34_10623.jpg
/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_23_9616.jpg
/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_14_9632.jpg
/home/nano/Desktop/images/12072025/12/00/image_12072025_12_01_04_10708.jpg
/home/nano/Desktop/images/12072025/12/00/image_12072025_12_00_53_9683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371879855","1371879927","1371879878","1371879926","1371879911","1371879901"],"photo_ids_order":["1371879855","1371879878","1371879901","1371879911","1371879926","1371879927"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c6c1cd3718bcab1b83080a28aca434c.jpg","text":"TemporaryFile(/tmp/multipartBody5134536539697863631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314538465,"filename":"image_12072025_12_01_43_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3aa0385e9444febda9033f7a148acdd8.jpg","text":"TemporaryFile(/tmp/multipartBody2194761011197861334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314538465,"filename":"image_12072025_12_00_53_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d039c4003dd1892fc4d8e90e5287cce2.jpg","text":"TemporaryFile(/tmp/multipartBody2712394472377972050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314538465,"filename":"image_12072025_12_01_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e882fbe59292870356c333d496a5a30a.jpg","text":"TemporaryFile(/tmp/multipartBody7812170851861889942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314538465,"filename":"image_12072025_12_01_04_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cf5d972ef43add5a2070c57868f505b.jpg","text":"TemporaryFile(/tmp/multipartBody1594862284494573979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314538465,"filename":"image_12072025_12_01_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/569f7e585fe0cede8cd76c5c25d5678a.jpg","text":"TemporaryFile(/tmp/multipartBody2321776811622038251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314538465,"filename":"image_12072025_12_01_23_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371879901","file1":"1371879878","file0":"1371879855","file4":"1371879926","file5":"1371879927","file3":"1371879911"},"map_files_photo_id_array":[{"photo_id":"1371879927","filename":"file5"},{"photo_id":"1371879901","filename":"file2"},{"photo_id":"1371879926","filename":"file4"},{"photo_id":"1371879878","filename":"file1"},{"photo_id":"1371879855","filename":"file0"},{"photo_id":"1371879911","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371879855":["hashtag1","hashtag2"]},{"1371879927":["hashtag1","hashtag2"]},{"1371879878":["hashtag1","hashtag2"]},{"1371879926":["hashtag1","hashtag2"]},{"1371879911":["hashtag1","hashtag2"]},{"1371879901":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371879855, 1371879927, 1371879878, 1371879926, 1371879911, 1371879901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.97963237762451 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:02:02.731702
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_13_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/11/56/image_12072025_11_57_04_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_54_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_24_10620.jpg', '/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_13_9645.jpg', '/home/nano/Desktop/images/12072025/11/56/image_12072025_11_57_04_9625.jpg', '/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_54_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_24_10620.jpg
/home/nano/Desktop/images/12072025/11/57/image_12072025_11_57_13_9645.jpg
/home/nano/Desktop/images/12072025/11/56/image_12072025_11_57_04_9625.jpg
/home/nano/Desktop/images/12072025/11/56/image_12072025_11_56_54_10643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371880012","1371880088","1371880063","1371880036"],"photo_ids_order":["1371880012","1371880036","1371880063","1371880088"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0f61b0fe132214b7d17d3f9a61e0b6c.jpg","text":"TemporaryFile(/tmp/multipartBody2678786386734584666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314584295,"filename":"image_12072025_11_57_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ef3b49c95b01a06fb060a625e0e1dd2.jpg","text":"TemporaryFile(/tmp/multipartBody4385378521588807118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314584295,"filename":"image_12072025_11_56_54_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ccd79688e497804d0e8dda5303623dac.jpg","text":"TemporaryFile(/tmp/multipartBody4133091667434621921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314584295,"filename":"image_12072025_11_57_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00bc494f9025a5c950b8b89865760c7f.jpg","text":"TemporaryFile(/tmp/multipartBody7932269096670325338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314584295,"filename":"image_12072025_11_57_13_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371880063","file1":"1371880036","file0":"1371880012","file3":"1371880088"},"map_files_photo_id_array":[{"photo_id":"1371880063","filename":"file2"},{"photo_id":"1371880036","filename":"file1"},{"photo_id":"1371880012","filename":"file0"},{"photo_id":"1371880088","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371880012":["hashtag1","hashtag2"]},{"1371880088":["hashtag1","hashtag2"]},{"1371880063":["hashtag1","hashtag2"]},{"1371880036":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371880012, 1371880088, 1371880063, 1371880036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.7163028717041 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:02:32.166575
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_43_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_34_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_24_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_13_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/12/01/image_12072025_12_02_04_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_53_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_43_9624.jpg', '/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_34_9626.jpg', '/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_24_10621.jpg', '/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_13_9637.jpg', '/home/nano/Desktop/images/12072025/12/01/image_12072025_12_02_04_10621.jpg', '/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_53_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_43_9624.jpg
/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_34_9626.jpg
/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_24_10621.jpg
/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_13_9637.jpg
/home/nano/Desktop/images/12072025/12/01/image_12072025_12_02_04_10621.jpg
/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_53_9612.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6252336502075195 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:02:47.166763
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_43_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_34_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_24_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_13_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/12/01/image_12072025_12_02_04_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_53_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_43_9624.jpg', '/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_34_9626.jpg', '/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_24_10621.jpg', '/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_13_9637.jpg', '/home/nano/Desktop/images/12072025/12/01/image_12072025_12_02_04_10621.jpg', '/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_53_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_43_9624.jpg
/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_34_9626.jpg
/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_24_10621.jpg
/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_13_9637.jpg
/home/nano/Desktop/images/12072025/12/01/image_12072025_12_02_04_10621.jpg
/home/nano/Desktop/images/12072025/12/01/image_12072025_12_01_53_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371880210","1371880194","1371880206","1371880169","1371880205","1371880208"],"photo_ids_order":["1371880169","1371880194","1371880205","1371880206","1371880208","1371880210"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62d0137a0fe206846f520aff728a53cf.jpg","text":"TemporaryFile(/tmp/multipartBody873128787065500441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314628997,"filename":"image_12072025_12_01_53_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/759b135aeac2ea66a3da8b1b511001ab.jpg","text":"TemporaryFile(/tmp/multipartBody9191901738436332514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314628997,"filename":"image_12072025_12_02_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f45c50a02b82c3867f531ce71ded985f.jpg","text":"TemporaryFile(/tmp/multipartBody4019979667990689452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314628997,"filename":"image_12072025_12_02_13_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85b2056f35d9900919fea2dbde7da4ce.jpg","text":"TemporaryFile(/tmp/multipartBody3558646425838181672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314628997,"filename":"image_12072025_12_02_43_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/375c8d9f90cc5d5213351e161b6e40cc.jpg","text":"TemporaryFile(/tmp/multipartBody6823782438056124784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314628997,"filename":"image_12072025_12_02_24_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2e8b60b8a359ba67a1497b483709f8d.jpg","text":"TemporaryFile(/tmp/multipartBody2031537789976452825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314628997,"filename":"image_12072025_12_02_04_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371880205","file1":"1371880194","file0":"1371880169","file4":"1371880208","file5":"1371880210","file3":"1371880206"},"map_files_photo_id_array":[{"photo_id":"1371880210","filename":"file5"},{"photo_id":"1371880205","filename":"file2"},{"photo_id":"1371880208","filename":"file4"},{"photo_id":"1371880194","filename":"file1"},{"photo_id":"1371880169","filename":"file0"},{"photo_id":"1371880206","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371880210":["hashtag1","hashtag2"]},{"1371880194":["hashtag1","hashtag2"]},{"1371880206":["hashtag1","hashtag2"]},{"1371880169":["hashtag1","hashtag2"]},{"1371880205":["hashtag1","hashtag2"]},{"1371880208":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371880210, 1371880194, 1371880206, 1371880169, 1371880205, 1371880208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.516502141952515 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:03:32.328119
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_44_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_33_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_24_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_13_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/12/02/image_12072025_12_03_03_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_54_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_44_10630.jpg', '/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_33_9598.jpg', '/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_24_10612.jpg', '/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_13_9611.jpg', '/home/nano/Desktop/images/12072025/12/02/image_12072025_12_03_03_9619.jpg', '/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_54_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_44_10630.jpg
/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_33_9598.jpg
/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_24_10612.jpg
/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_13_9611.jpg
/home/nano/Desktop/images/12072025/12/02/image_12072025_12_03_03_9619.jpg
/home/nano/Desktop/images/12072025/12/02/image_12072025_12_02_54_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371880225","1371880233","1371880218","1371880244","1371880217","1371880216"],"photo_ids_order":["1371880216","1371880217","1371880218","1371880225","1371880233","1371880244"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76c21e35c88c8d723d4576764cea2408.jpg","text":"TemporaryFile(/tmp/multipartBody4187862922662532357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314674211,"filename":"image_12072025_12_03_13_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d00c8e71aaaf2dfe9dc1a432258822b1.jpg","text":"TemporaryFile(/tmp/multipartBody2252896496779605567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314674211,"filename":"image_12072025_12_03_03_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00fbe408bc81e4cc069e91c1396b7e82.jpg","text":"TemporaryFile(/tmp/multipartBody1965920106946144839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314674211,"filename":"image_12072025_12_03_24_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f3ca2a5ee9cf06d9a56f3585f09c5e3.jpg","text":"TemporaryFile(/tmp/multipartBody2638372646983964756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314674211,"filename":"image_12072025_12_02_54_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/578ff81bdea157a454bba5b39c6fa10f.jpg","text":"TemporaryFile(/tmp/multipartBody2478040134916546390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314674211,"filename":"image_12072025_12_03_33_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71c542f3690157bfcde63854038522ec.jpg","text":"TemporaryFile(/tmp/multipartBody4275894521341135312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314674211,"filename":"image_12072025_12_03_44_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371880218","file1":"1371880217","file0":"1371880216","file4":"1371880233","file5":"1371880244","file3":"1371880225"},"map_files_photo_id_array":[{"photo_id":"1371880244","filename":"file5"},{"photo_id":"1371880218","filename":"file2"},{"photo_id":"1371880233","filename":"file4"},{"photo_id":"1371880217","filename":"file1"},{"photo_id":"1371880216","filename":"file0"},{"photo_id":"1371880225","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371880225":["hashtag1","hashtag2"]},{"1371880233":["hashtag1","hashtag2"]},{"1371880218":["hashtag1","hashtag2"]},{"1371880244":["hashtag1","hashtag2"]},{"1371880217":["hashtag1","hashtag2"]},{"1371880216":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371880225, 1371880233, 1371880218, 1371880244, 1371880217, 1371880216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00998139381409 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:04:17.444049
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_44_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_34_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_23_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_14_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/12/03/image_12072025_12_04_03_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_54_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_44_9623.jpg', '/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_34_10613.jpg', '/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_23_9603.jpg', '/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_14_10646.jpg', '/home/nano/Desktop/images/12072025/12/03/image_12072025_12_04_03_9630.jpg', '/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_44_9623.jpg
/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_34_10613.jpg
/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_23_9603.jpg
/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_14_10646.jpg
/home/nano/Desktop/images/12072025/12/03/image_12072025_12_04_03_9630.jpg
/home/nano/Desktop/images/12072025/12/03/image_12072025_12_03_54_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371880275","1371880278","1371880280","1371880283","1371880277","1371880282"],"photo_ids_order":["1371880275","1371880277","1371880278","1371880280","1371880282","1371880283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/928a9bf8e1826efc22737acafcedfe7c.jpg","text":"TemporaryFile(/tmp/multipartBody5942415892549174126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314719235,"filename":"image_12072025_12_04_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ace7954c9981bcebdedd2a4dad4bde43.jpg","text":"TemporaryFile(/tmp/multipartBody7227830361837228533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314719235,"filename":"image_12072025_12_04_23_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a4d8e8d584ea63fc0b60f748a36c74a.jpg","text":"TemporaryFile(/tmp/multipartBody7957549635036181060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314719235,"filename":"image_12072025_12_04_14_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b265d3c64af6bfcc0ce7a9da00e6614.jpg","text":"TemporaryFile(/tmp/multipartBody4774277893327799826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314719235,"filename":"image_12072025_12_03_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5cc90cc8664b7641122ce4a1c9b46fb.jpg","text":"TemporaryFile(/tmp/multipartBody7127767645582171517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314719235,"filename":"image_12072025_12_04_34_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f08c883c525fb9ff9043af1bb0775505.jpg","text":"TemporaryFile(/tmp/multipartBody3934272865012034640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314719235,"filename":"image_12072025_12_04_03_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371880278","file1":"1371880277","file0":"1371880275","file4":"1371880282","file5":"1371880283","file3":"1371880280"},"map_files_photo_id_array":[{"photo_id":"1371880283","filename":"file5"},{"photo_id":"1371880278","filename":"file2"},{"photo_id":"1371880282","filename":"file4"},{"photo_id":"1371880277","filename":"file1"},{"photo_id":"1371880275","filename":"file0"},{"photo_id":"1371880280","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371880275":["hashtag1","hashtag2"]},{"1371880278":["hashtag1","hashtag2"]},{"1371880280":["hashtag1","hashtag2"]},{"1371880283":["hashtag1","hashtag2"]},{"1371880277":["hashtag1","hashtag2"]},{"1371880282":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371880275, 1371880278, 1371880280, 1371880283, 1371880277, 1371880282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39723563194275 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:05:03.131871
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/13/image_10072025_19_13_14_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/19/12/image_10072025_19_13_03_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/19/12/image_10072025_19_12_54_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/19/12/image_10072025_19_12_24_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/19/12/image_10072025_19_12_14_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/19/11/image_10072025_19_12_03_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/13/image_10072025_19_13_14_10657.jpg', '/home/nano/Desktop/images/10072025/19/12/image_10072025_19_13_03_9636.jpg', '/home/nano/Desktop/images/10072025/19/12/image_10072025_19_12_54_9646.jpg', '/home/nano/Desktop/images/10072025/19/12/image_10072025_19_12_24_9628.jpg', '/home/nano/Desktop/images/10072025/19/12/image_10072025_19_12_14_10658.jpg', '/home/nano/Desktop/images/10072025/19/11/image_10072025_19_12_03_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/13/image_10072025_19_13_14_10657.jpg
/home/nano/Desktop/images/10072025/19/12/image_10072025_19_13_03_9636.jpg
/home/nano/Desktop/images/10072025/19/12/image_10072025_19_12_54_9646.jpg
/home/nano/Desktop/images/10072025/19/12/image_10072025_19_12_24_9628.jpg
/home/nano/Desktop/images/10072025/19/12/image_10072025_19_12_14_10658.jpg
/home/nano/Desktop/images/10072025/19/11/image_10072025_19_12_03_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371880296","1371880290","1371880292","1371880382","1371880313","1371880294"],"photo_ids_order":["1371880290","1371880292","1371880294","1371880296","1371880313","1371880382"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9672a548eb6907f3545d07e81b7f637.jpg","text":"TemporaryFile(/tmp/multipartBody8583901054571673480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314766056,"filename":"image_10072025_19_12_24_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8407f10f2cbec0f5ca62e826466ea49.jpg","text":"TemporaryFile(/tmp/multipartBody3119743500840259749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314766056,"filename":"image_10072025_19_13_14_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75ab1594d1684ef6c3949a4da169a69d.jpg","text":"TemporaryFile(/tmp/multipartBody6903908368909371904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314766056,"filename":"image_10072025_19_13_03_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0a0da8374ba075b9692f5e54ca01757.jpg","text":"TemporaryFile(/tmp/multipartBody5620557707166309855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314766056,"filename":"image_10072025_19_12_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b331f3e0503e06b78a9fa8ee3b4ee7c4.jpg","text":"TemporaryFile(/tmp/multipartBody3509491044470270704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314766056,"filename":"image_10072025_19_12_14_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0b9dfb2a72b7e4316a50e998742c5c7.jpg","text":"TemporaryFile(/tmp/multipartBody2618695334727384479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314766056,"filename":"image_10072025_19_12_54_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371880294","file1":"1371880292","file0":"1371880290","file4":"1371880313","file5":"1371880382","file3":"1371880296"},"map_files_photo_id_array":[{"photo_id":"1371880382","filename":"file5"},{"photo_id":"1371880294","filename":"file2"},{"photo_id":"1371880313","filename":"file4"},{"photo_id":"1371880292","filename":"file1"},{"photo_id":"1371880290","filename":"file0"},{"photo_id":"1371880296","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371880296":["hashtag1","hashtag2"]},{"1371880290":["hashtag1","hashtag2"]},{"1371880292":["hashtag1","hashtag2"]},{"1371880382":["hashtag1","hashtag2"]},{"1371880313":["hashtag1","hashtag2"]},{"1371880294":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371880296, 1371880290, 1371880292, 1371880382, 1371880313, 1371880294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.118870973587036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:05:47.507209
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_43_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_34_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_14_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/12/04/image_12072025_12_05_04_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_53_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_43_9621.jpg', '/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_34_10639.jpg', '/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_23_9616.jpg', '/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_14_9666.jpg', '/home/nano/Desktop/images/12072025/12/04/image_12072025_12_05_04_10634.jpg', '/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_53_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_43_9621.jpg
/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_34_10639.jpg
/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_23_9616.jpg
/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_14_9666.jpg
/home/nano/Desktop/images/12072025/12/04/image_12072025_12_05_04_10634.jpg
/home/nano/Desktop/images/12072025/12/04/image_12072025_12_04_53_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371880896","1371880797","1371880898","1371880891","1371880894","1371880864"],"photo_ids_order":["1371880797","1371880864","1371880891","1371880894","1371880896","1371880898"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a5aea4d7efa24520eae046463e3fa0b.jpg","text":"TemporaryFile(/tmp/multipartBody1490430959369351440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314809367,"filename":"image_12072025_12_05_04_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afa77deae75490675b30b20b1985799a.jpg","text":"TemporaryFile(/tmp/multipartBody6314685740264240857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314809367,"filename":"image_12072025_12_05_43_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da2aab8e147ac112567d606f12cea6b1.jpg","text":"TemporaryFile(/tmp/multipartBody6333004073489016922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314809367,"filename":"image_12072025_12_04_53_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84e507fcb2a0d0daf348194ad170036b.jpg","text":"TemporaryFile(/tmp/multipartBody104532950100343270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314809367,"filename":"image_12072025_12_05_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ceba53b40692d8af21ee797801ebe6d.jpg","text":"TemporaryFile(/tmp/multipartBody8175736116019477933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314809367,"filename":"image_12072025_12_05_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9374221a5c440fa8367710a604efeba1.jpg","text":"TemporaryFile(/tmp/multipartBody328113743195806735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314809367,"filename":"image_12072025_12_05_34_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371880891","file1":"1371880864","file0":"1371880797","file4":"1371880896","file5":"1371880898","file3":"1371880894"},"map_files_photo_id_array":[{"photo_id":"1371880898","filename":"file5"},{"photo_id":"1371880891","filename":"file2"},{"photo_id":"1371880896","filename":"file4"},{"photo_id":"1371880864","filename":"file1"},{"photo_id":"1371880797","filename":"file0"},{"photo_id":"1371880894","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371880896":["hashtag1","hashtag2"]},{"1371880797":["hashtag1","hashtag2"]},{"1371880898":["hashtag1","hashtag2"]},{"1371880891":["hashtag1","hashtag2"]},{"1371880894":["hashtag1","hashtag2"]},{"1371880864":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371880896, 1371880797, 1371880898, 1371880891, 1371880894, 1371880864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94621729850769 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:06:32.626873
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_43_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_24_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_13_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/12/05/image_12072025_12_06_04_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_53_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_43_9608.jpg', '/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_34_9611.jpg', '/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_24_10630.jpg', '/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_13_9649.jpg', '/home/nano/Desktop/images/12072025/12/05/image_12072025_12_06_04_10620.jpg', '/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_53_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_43_9608.jpg
/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_34_9611.jpg
/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_24_10630.jpg
/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_13_9649.jpg
/home/nano/Desktop/images/12072025/12/05/image_12072025_12_06_04_10620.jpg
/home/nano/Desktop/images/12072025/12/05/image_12072025_12_05_53_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371880912","1371880906","1371880909","1371880914","1371880917","1371880907"],"photo_ids_order":["1371880906","1371880907","1371880909","1371880912","1371880914","1371880917"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c923e8762a49121bb3d17c1edf6d9bb.jpg","text":"TemporaryFile(/tmp/multipartBody2353635612414464739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314854578,"filename":"image_12072025_12_06_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed5f49effe4ffd963c6c20a06394a19e.jpg","text":"TemporaryFile(/tmp/multipartBody6022873173590902173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314854578,"filename":"image_12072025_12_06_43_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cabc2e994c10b0800d1d4307ee466cf0.jpg","text":"TemporaryFile(/tmp/multipartBody637722298829263628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314854578,"filename":"image_12072025_12_06_24_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/abb0a8d774a0129ba94e5cf727cd3926.jpg","text":"TemporaryFile(/tmp/multipartBody7696783503836321755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314854578,"filename":"image_12072025_12_06_04_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff34d188e938164e65aa9453f7008e47.jpg","text":"TemporaryFile(/tmp/multipartBody4379027557301166653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314854578,"filename":"image_12072025_12_05_53_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30ce28456eb9aff4ff91de59c85b80af.jpg","text":"TemporaryFile(/tmp/multipartBody4482211276211601436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314854578,"filename":"image_12072025_12_06_34_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371880909","file1":"1371880907","file0":"1371880906","file4":"1371880914","file5":"1371880917","file3":"1371880912"},"map_files_photo_id_array":[{"photo_id":"1371880917","filename":"file5"},{"photo_id":"1371880909","filename":"file2"},{"photo_id":"1371880914","filename":"file4"},{"photo_id":"1371880907","filename":"file1"},{"photo_id":"1371880906","filename":"file0"},{"photo_id":"1371880912","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371880912":["hashtag1","hashtag2"]},{"1371880906":["hashtag1","hashtag2"]},{"1371880909":["hashtag1","hashtag2"]},{"1371880914":["hashtag1","hashtag2"]},{"1371880917":["hashtag1","hashtag2"]},{"1371880907":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371880912, 1371880906, 1371880909, 1371880914, 1371880917, 1371880907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32827639579773 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:07:17.731500
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_33_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_13_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/12/06/image_12072025_12_07_03_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_54_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_44_10649.jpg', '/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_33_9612.jpg', '/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_24_10625.jpg', '/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_13_9628.jpg', '/home/nano/Desktop/images/12072025/12/06/image_12072025_12_07_03_9639.jpg', '/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_54_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_44_10649.jpg
/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_33_9612.jpg
/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_24_10625.jpg
/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_13_9628.jpg
/home/nano/Desktop/images/12072025/12/06/image_12072025_12_07_03_9639.jpg
/home/nano/Desktop/images/12072025/12/06/image_12072025_12_06_54_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881262","1371881265","1371881264","1371881261","1371881219","1371881263"],"photo_ids_order":["1371881219","1371881261","1371881262","1371881263","1371881264","1371881265"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f271e733810830d0b830d2083f8cda77.jpg","text":"TemporaryFile(/tmp/multipartBody6832244587468631995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314900308,"filename":"image_12072025_12_07_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/201e86a07bdd226649fe7c0ccad9ef39.jpg","text":"TemporaryFile(/tmp/multipartBody4267219805143676728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314900308,"filename":"image_12072025_12_06_54_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df51ee06a341b699e921dd477a10d38b.jpg","text":"TemporaryFile(/tmp/multipartBody6294610803669107271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314900308,"filename":"image_12072025_12_07_03_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52a253d2257dc3702aeea476bba8d32c.jpg","text":"TemporaryFile(/tmp/multipartBody5825059247266617303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314900308,"filename":"image_12072025_12_07_33_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37510b5b108333df40565c5a851f56b1.jpg","text":"TemporaryFile(/tmp/multipartBody8203667613173309846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314900308,"filename":"image_12072025_12_07_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e558357f7c078dcd46a5cfbf30857276.jpg","text":"TemporaryFile(/tmp/multipartBody5042809096910639835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314900308,"filename":"image_12072025_12_07_13_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881262","file1":"1371881261","file0":"1371881219","file4":"1371881264","file5":"1371881265","file3":"1371881263"},"map_files_photo_id_array":[{"photo_id":"1371881265","filename":"file5"},{"photo_id":"1371881262","filename":"file2"},{"photo_id":"1371881264","filename":"file4"},{"photo_id":"1371881261","filename":"file1"},{"photo_id":"1371881219","filename":"file0"},{"photo_id":"1371881263","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881262":["hashtag1","hashtag2"]},{"1371881265":["hashtag1","hashtag2"]},{"1371881264":["hashtag1","hashtag2"]},{"1371881261":["hashtag1","hashtag2"]},{"1371881219":["hashtag1","hashtag2"]},{"1371881263":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881262, 1371881265, 1371881264, 1371881261, 1371881219, 1371881263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90235638618469 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:08:02.300945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/11/image_10072025_19_11_54_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/19/11/image_10072025_19_11_24_10644.jpg', 2), ('/home/nano/Desktop/images/10072025/19/10/image_10072025_19_10_54_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/19/10/image_10072025_19_10_43_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/19/09/image_10072025_19_09_54_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/19/09/image_10072025_19_09_43_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/11/image_10072025_19_11_54_9636.jpg', '/home/nano/Desktop/images/10072025/19/11/image_10072025_19_11_24_10644.jpg', '/home/nano/Desktop/images/10072025/19/10/image_10072025_19_10_54_10638.jpg', '/home/nano/Desktop/images/10072025/19/10/image_10072025_19_10_43_9635.jpg', '/home/nano/Desktop/images/10072025/19/09/image_10072025_19_09_54_10640.jpg', '/home/nano/Desktop/images/10072025/19/09/image_10072025_19_09_43_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/11/image_10072025_19_11_54_9636.jpg
/home/nano/Desktop/images/10072025/19/11/image_10072025_19_11_24_10644.jpg
/home/nano/Desktop/images/10072025/19/10/image_10072025_19_10_54_10638.jpg
/home/nano/Desktop/images/10072025/19/10/image_10072025_19_10_43_9635.jpg
/home/nano/Desktop/images/10072025/19/09/image_10072025_19_09_54_10640.jpg
/home/nano/Desktop/images/10072025/19/09/image_10072025_19_09_43_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881436","1371881430","1371881427","1371881432","1371881438","1371881434"],"photo_ids_order":["1371881427","1371881430","1371881432","1371881434","1371881436","1371881438"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d417ecb341fc1f9005839f98359fbd15.jpg","text":"TemporaryFile(/tmp/multipartBody6460300081120410178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314945407,"filename":"image_10072025_19_09_54_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3c6b6501a69afdf472863686222e88e.jpg","text":"TemporaryFile(/tmp/multipartBody7509261074853267836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314945407,"filename":"image_10072025_19_11_24_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb353a871764f2991a1f9c9b1e6781e7.jpg","text":"TemporaryFile(/tmp/multipartBody4267403792165568781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314945407,"filename":"image_10072025_19_11_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e19168cd16dfa2de9f9217b4c468d47d.jpg","text":"TemporaryFile(/tmp/multipartBody6145538396146719699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314945407,"filename":"image_10072025_19_10_54_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27a3f244f20cd3ae63f19da0c05bdc24.jpg","text":"TemporaryFile(/tmp/multipartBody9162467445448741925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314945407,"filename":"image_10072025_19_09_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45a84b101f6aed58bad52b7d38d35fa1.jpg","text":"TemporaryFile(/tmp/multipartBody8610223102062619928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314945407,"filename":"image_10072025_19_10_43_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881432","file1":"1371881430","file0":"1371881427","file4":"1371881436","file5":"1371881438","file3":"1371881434"},"map_files_photo_id_array":[{"photo_id":"1371881438","filename":"file5"},{"photo_id":"1371881432","filename":"file2"},{"photo_id":"1371881436","filename":"file4"},{"photo_id":"1371881430","filename":"file1"},{"photo_id":"1371881427","filename":"file0"},{"photo_id":"1371881434","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371881436":["hashtag1","hashtag2"]},{"1371881430":["hashtag1","hashtag2"]},{"1371881427":["hashtag1","hashtag2"]},{"1371881432":["hashtag1","hashtag2"]},{"1371881438":["hashtag1","hashtag2"]},{"1371881434":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371881436, 1371881430, 1371881427, 1371881432, 1371881438, 1371881434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.438039779663086 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:08:46.827009
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_44_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_33_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_24_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_14_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/12/07/image_12072025_12_08_03_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_54_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_44_10655.jpg', '/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_33_9624.jpg', '/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_24_9615.jpg', '/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_14_10659.jpg', '/home/nano/Desktop/images/12072025/12/07/image_12072025_12_08_03_9607.jpg', '/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_54_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_44_10655.jpg
/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_33_9624.jpg
/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_24_9615.jpg
/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_14_10659.jpg
/home/nano/Desktop/images/12072025/12/07/image_12072025_12_08_03_9607.jpg
/home/nano/Desktop/images/12072025/12/07/image_12072025_12_07_54_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881649","1371881570","1371881444","1371881723","1371881491","1371881443"],"photo_ids_order":["1371881443","1371881444","1371881491","1371881570","1371881649","1371881723"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0802f542355b1e746b0ed01117160175.jpg","text":"TemporaryFile(/tmp/multipartBody7548830941888645243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314988852,"filename":"image_12072025_12_08_03_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afb7b84d37288014b509ee1df6adecb5.jpg","text":"TemporaryFile(/tmp/multipartBody736411455465182136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314988852,"filename":"image_12072025_12_08_14_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/870890f7f437e577d9a13dc08512f36d.jpg","text":"TemporaryFile(/tmp/multipartBody123031751156477051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314988852,"filename":"image_12072025_12_08_33_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24045b357092fcaa478ee7f7ec09b11a.jpg","text":"TemporaryFile(/tmp/multipartBody1214461107427719431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314988852,"filename":"image_12072025_12_07_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d4e1de3545e2f04c2c7611f30b4f045.jpg","text":"TemporaryFile(/tmp/multipartBody8397700170960494373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314988852,"filename":"image_12072025_12_08_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a90d8fee7e4dd820690b06bbf7ac3d4.jpg","text":"TemporaryFile(/tmp/multipartBody545009441438192865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752314988852,"filename":"image_12072025_12_08_44_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881491","file1":"1371881444","file0":"1371881443","file4":"1371881649","file5":"1371881723","file3":"1371881570"},"map_files_photo_id_array":[{"photo_id":"1371881723","filename":"file5"},{"photo_id":"1371881491","filename":"file2"},{"photo_id":"1371881649","filename":"file4"},{"photo_id":"1371881444","filename":"file1"},{"photo_id":"1371881443","filename":"file0"},{"photo_id":"1371881570","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881649":["hashtag1","hashtag2"]},{"1371881570":["hashtag1","hashtag2"]},{"1371881444":["hashtag1","hashtag2"]},{"1371881723":["hashtag1","hashtag2"]},{"1371881491":["hashtag1","hashtag2"]},{"1371881443":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881649, 1371881570, 1371881444, 1371881723, 1371881491, 1371881443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.965798139572144 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:09:31.929576
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_44_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_34_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_14_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/12/08/image_12072025_12_09_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_44_9597.jpg', '/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_34_10656.jpg', '/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_23_9616.jpg', '/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_14_10640.jpg', '/home/nano/Desktop/images/12072025/12/08/image_12072025_12_09_03_9643.jpg', '/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_44_9597.jpg
/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_34_10656.jpg
/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_23_9616.jpg
/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_14_10640.jpg
/home/nano/Desktop/images/12072025/12/08/image_12072025_12_09_03_9643.jpg
/home/nano/Desktop/images/12072025/12/08/image_12072025_12_08_53_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881760","1371881754","1371881733","1371881741","1371881758","1371881731"],"photo_ids_order":["1371881731","1371881733","1371881741","1371881754","1371881758","1371881760"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e047fec110045e6ca6e34cf19a58721d.jpg","text":"TemporaryFile(/tmp/multipartBody6155497329412192769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315033553,"filename":"image_12072025_12_08_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efbf927260777c18fca6f633042a3721.jpg","text":"TemporaryFile(/tmp/multipartBody5707438599759732692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315033553,"filename":"image_12072025_12_09_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6431554550d4fb3a80c690b843a1a32b.jpg","text":"TemporaryFile(/tmp/multipartBody2619831912980022483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315033553,"filename":"image_12072025_12_09_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea8b4a11cff110e5998a5b55f24dbf1b.jpg","text":"TemporaryFile(/tmp/multipartBody7767973437905179572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315033553,"filename":"image_12072025_12_09_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92ebf706f4d2aa2fb34995b8afb3131f.jpg","text":"TemporaryFile(/tmp/multipartBody1532369089943957053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315033553,"filename":"image_12072025_12_09_03_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e0dbbf8a4365260d5fa42745f45905e.jpg","text":"TemporaryFile(/tmp/multipartBody1242475326349010027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315033553,"filename":"image_12072025_12_09_44_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881741","file1":"1371881733","file0":"1371881731","file4":"1371881758","file5":"1371881760","file3":"1371881754"},"map_files_photo_id_array":[{"photo_id":"1371881760","filename":"file5"},{"photo_id":"1371881741","filename":"file2"},{"photo_id":"1371881758","filename":"file4"},{"photo_id":"1371881733","filename":"file1"},{"photo_id":"1371881731","filename":"file0"},{"photo_id":"1371881754","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881760":["hashtag1","hashtag2"]},{"1371881754":["hashtag1","hashtag2"]},{"1371881733":["hashtag1","hashtag2"]},{"1371881741":["hashtag1","hashtag2"]},{"1371881758":["hashtag1","hashtag2"]},{"1371881731":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881760, 1371881754, 1371881733, 1371881741, 1371881758, 1371881731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.021490812301636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:10:17.034630
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_44_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_34_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_23_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_14_9728.jpg', 2), ('/home/nano/Desktop/images/12072025/12/09/image_12072025_12_10_04_10672.jpg', 2), ('/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_53_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_44_9622.jpg', '/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_34_10645.jpg', '/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_23_9631.jpg', '/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_14_9728.jpg', '/home/nano/Desktop/images/12072025/12/09/image_12072025_12_10_04_10672.jpg', '/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_53_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_44_9622.jpg
/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_34_10645.jpg
/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_23_9631.jpg
/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_14_9728.jpg
/home/nano/Desktop/images/12072025/12/09/image_12072025_12_10_04_10672.jpg
/home/nano/Desktop/images/12072025/12/09/image_12072025_12_09_53_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881771","1371881770","1371881764","1371881767","1371881761","1371881763"],"photo_ids_order":["1371881761","1371881763","1371881764","1371881767","1371881770","1371881771"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4bc7d4833a662be97de26796d6a553e4.jpg","text":"TemporaryFile(/tmp/multipartBody4027136909482722388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315079215,"filename":"image_12072025_12_09_53_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c0aeee17c2e53eded68aaa5633f40d6.jpg","text":"TemporaryFile(/tmp/multipartBody1915794768863960501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315079215,"filename":"image_12072025_12_10_04_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec2aa941b3ad474f070470b77d114710.jpg","text":"TemporaryFile(/tmp/multipartBody7480550242026821371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315079215,"filename":"image_12072025_12_10_23_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9093fc28843fda8391935228fe94e38.jpg","text":"TemporaryFile(/tmp/multipartBody4723032144393330074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315079215,"filename":"image_12072025_12_10_14_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e145d6d833ae55f6cab0b105c53cd132.jpg","text":"TemporaryFile(/tmp/multipartBody2108646762045520138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315079215,"filename":"image_12072025_12_10_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c29be0dd6da1da785306877aeaf5bdf9.jpg","text":"TemporaryFile(/tmp/multipartBody2783202165321550130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315079215,"filename":"image_12072025_12_10_34_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881764","file1":"1371881763","file0":"1371881761","file4":"1371881770","file5":"1371881771","file3":"1371881767"},"map_files_photo_id_array":[{"photo_id":"1371881771","filename":"file5"},{"photo_id":"1371881764","filename":"file2"},{"photo_id":"1371881770","filename":"file4"},{"photo_id":"1371881763","filename":"file1"},{"photo_id":"1371881761","filename":"file0"},{"photo_id":"1371881767","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881771":["hashtag1","hashtag2"]},{"1371881770":["hashtag1","hashtag2"]},{"1371881764":["hashtag1","hashtag2"]},{"1371881767":["hashtag1","hashtag2"]},{"1371881761":["hashtag1","hashtag2"]},{"1371881763":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881771, 1371881770, 1371881764, 1371881767, 1371881761, 1371881763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.147902965545654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:11:02.893386
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/09/image_10072025_19_09_23_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/19/09/image_10072025_19_09_13_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/19/08/image_10072025_19_08_53_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/19/08/image_10072025_19_08_43_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/19/08/image_10072025_19_08_23_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/19/08/image_10072025_19_08_14_9669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/09/image_10072025_19_09_23_9630.jpg', '/home/nano/Desktop/images/10072025/19/09/image_10072025_19_09_13_9654.jpg', '/home/nano/Desktop/images/10072025/19/08/image_10072025_19_08_53_9627.jpg', '/home/nano/Desktop/images/10072025/19/08/image_10072025_19_08_43_9629.jpg', '/home/nano/Desktop/images/10072025/19/08/image_10072025_19_08_23_9648.jpg', '/home/nano/Desktop/images/10072025/19/08/image_10072025_19_08_14_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/09/image_10072025_19_09_23_9630.jpg
/home/nano/Desktop/images/10072025/19/09/image_10072025_19_09_13_9654.jpg
/home/nano/Desktop/images/10072025/19/08/image_10072025_19_08_53_9627.jpg
/home/nano/Desktop/images/10072025/19/08/image_10072025_19_08_43_9629.jpg
/home/nano/Desktop/images/10072025/19/08/image_10072025_19_08_23_9648.jpg
/home/nano/Desktop/images/10072025/19/08/image_10072025_19_08_14_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881787","1371881789","1371881783","1371881785","1371881788","1371881790"],"photo_ids_order":["1371881783","1371881785","1371881787","1371881788","1371881789","1371881790"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1444a9c94cdba663d74879f74456fc75.jpg","text":"TemporaryFile(/tmp/multipartBody8418345868085306846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315126035,"filename":"image_10072025_19_08_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f9c3b5967a6789ab6a736a91f02e725.jpg","text":"TemporaryFile(/tmp/multipartBody5394849154331869179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315126035,"filename":"image_10072025_19_08_23_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/806ea13a0287fed1dd065eb0c22fc355.jpg","text":"TemporaryFile(/tmp/multipartBody3206160762486784440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315126035,"filename":"image_10072025_19_09_23_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41ba096f0b562862695f3098d1383c02.jpg","text":"TemporaryFile(/tmp/multipartBody2715162539070635548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315126035,"filename":"image_10072025_19_09_13_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b77f4e82aaa2a8c6f1bb6ec194802395.jpg","text":"TemporaryFile(/tmp/multipartBody3770342634560091912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315126035,"filename":"image_10072025_19_08_43_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c964639b36beb16369ee5b4c577c8324.jpg","text":"TemporaryFile(/tmp/multipartBody3195720769789998566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315126035,"filename":"image_10072025_19_08_14_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881787","file1":"1371881785","file0":"1371881783","file4":"1371881789","file5":"1371881790","file3":"1371881788"},"map_files_photo_id_array":[{"photo_id":"1371881790","filename":"file5"},{"photo_id":"1371881787","filename":"file2"},{"photo_id":"1371881789","filename":"file4"},{"photo_id":"1371881785","filename":"file1"},{"photo_id":"1371881783","filename":"file0"},{"photo_id":"1371881788","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371881787":["hashtag1","hashtag2"]},{"1371881789":["hashtag1","hashtag2"]},{"1371881783":["hashtag1","hashtag2"]},{"1371881785":["hashtag1","hashtag2"]},{"1371881788":["hashtag1","hashtag2"]},{"1371881790":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371881787, 1371881789, 1371881783, 1371881785, 1371881788, 1371881790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89372110366821 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:11:47.137698
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/11/image_12072025_12_11_34_10605.jpg', 2), ('/home/nano/Desktop/images/12072025/12/11/image_12072025_12_11_23_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/12/11/image_12072025_12_11_13_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/12/10/image_12072025_12_11_04_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_53_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/11/image_12072025_12_11_34_10605.jpg', '/home/nano/Desktop/images/12072025/12/11/image_12072025_12_11_23_9622.jpg', '/home/nano/Desktop/images/12072025/12/11/image_12072025_12_11_13_9636.jpg', '/home/nano/Desktop/images/12072025/12/10/image_12072025_12_11_04_10662.jpg', '/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_53_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/11/image_12072025_12_11_34_10605.jpg
/home/nano/Desktop/images/12072025/12/11/image_12072025_12_11_23_9622.jpg
/home/nano/Desktop/images/12072025/12/11/image_12072025_12_11_13_9636.jpg
/home/nano/Desktop/images/12072025/12/10/image_12072025_12_11_04_10662.jpg
/home/nano/Desktop/images/12072025/12/10/image_12072025_12_10_53_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881800","1371881803","1371881793","1371881796","1371881799"],"photo_ids_order":["1371881793","1371881796","1371881799","1371881800","1371881803"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b84ea760c4f18ed8298290c6344c364.jpg","text":"TemporaryFile(/tmp/multipartBody3245052758207491378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315168580,"filename":"image_12072025_12_11_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f5e30e2d5ed4f440629ae0d03fccf24.jpg","text":"TemporaryFile(/tmp/multipartBody2394834282837209982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315168580,"filename":"image_12072025_12_10_53_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eadee2a48af134510eea130b22cd9589.jpg","text":"TemporaryFile(/tmp/multipartBody4750333733570176849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315168580,"filename":"image_12072025_12_11_34_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a8da30c80a1adb275521823032ab93d.jpg","text":"TemporaryFile(/tmp/multipartBody2609141389362085984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315168580,"filename":"image_12072025_12_11_23_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8248e11ec0ce8633ee83b90009b07a29.jpg","text":"TemporaryFile(/tmp/multipartBody7489773678016251579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315168580,"filename":"image_12072025_12_11_13_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881799","file1":"1371881796","file0":"1371881793","file4":"1371881803","file3":"1371881800"},"map_files_photo_id_array":[{"photo_id":"1371881799","filename":"file2"},{"photo_id":"1371881803","filename":"file4"},{"photo_id":"1371881796","filename":"file1"},{"photo_id":"1371881793","filename":"file0"},{"photo_id":"1371881800","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881800":["hashtag1","hashtag2"]},{"1371881803":["hashtag1","hashtag2"]},{"1371881793":["hashtag1","hashtag2"]},{"1371881796":["hashtag1","hashtag2"]},{"1371881799":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881800, 1371881803, 1371881793, 1371881796, 1371881799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.739498615264893 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:12:17.255838
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_43_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_34_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_24_10699.jpg', 2), ('/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_13_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/12/11/image_12072025_12_12_04_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/12/11/image_12072025_12_11_43_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_43_9618.jpg', '/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_34_9655.jpg', '/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_24_10699.jpg', '/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_13_9683.jpg', '/home/nano/Desktop/images/12072025/12/11/image_12072025_12_12_04_9671.jpg', '/home/nano/Desktop/images/12072025/12/11/image_12072025_12_11_43_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_43_9618.jpg
/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_34_9655.jpg
/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_24_10699.jpg
/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_13_9683.jpg
/home/nano/Desktop/images/12072025/12/11/image_12072025_12_12_04_9671.jpg
/home/nano/Desktop/images/12072025/12/11/image_12072025_12_11_43_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881811","1371881814","1371881810","1371881813","1371881809","1371881812"],"photo_ids_order":["1371881809","1371881810","1371881811","1371881812","1371881813","1371881814"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ee6f55fb4e2e6124ff41383950366fe.jpg","text":"TemporaryFile(/tmp/multipartBody506406603803165876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315199409,"filename":"image_12072025_12_12_24_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6a8d2bcf8f6eb14a73cef9e767ab477.jpg","text":"TemporaryFile(/tmp/multipartBody5712470374991045561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315199409,"filename":"image_12072025_12_11_43_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ca33418b1e9ffbf88652837d49edbd6.jpg","text":"TemporaryFile(/tmp/multipartBody8710192370051865630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315199409,"filename":"image_12072025_12_12_34_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee2fc35fbd5e73fe0ff562d9d5ef3183.jpg","text":"TemporaryFile(/tmp/multipartBody4031198251885501455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315199409,"filename":"image_12072025_12_12_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b28444bd1df3dcc2d7255eed54baa971.jpg","text":"TemporaryFile(/tmp/multipartBody8138493658563199280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315199409,"filename":"image_12072025_12_12_43_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb07c2e7b12c58c83883ab565005bd7c.jpg","text":"TemporaryFile(/tmp/multipartBody8332917774712736961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315199409,"filename":"image_12072025_12_12_13_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881811","file1":"1371881810","file0":"1371881809","file4":"1371881813","file5":"1371881814","file3":"1371881812"},"map_files_photo_id_array":[{"photo_id":"1371881814","filename":"file5"},{"photo_id":"1371881811","filename":"file2"},{"photo_id":"1371881813","filename":"file4"},{"photo_id":"1371881810","filename":"file1"},{"photo_id":"1371881809","filename":"file0"},{"photo_id":"1371881812","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881811":["hashtag1","hashtag2"]},{"1371881814":["hashtag1","hashtag2"]},{"1371881810":["hashtag1","hashtag2"]},{"1371881813":["hashtag1","hashtag2"]},{"1371881809":["hashtag1","hashtag2"]},{"1371881812":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881811, 1371881814, 1371881810, 1371881813, 1371881809, 1371881812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2901074886322 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:13:03.031222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/07/image_10072025_19_08_04_10648.jpg', 2), ('/home/nano/Desktop/images/10072025/19/07/image_10072025_19_07_53_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/19/07/image_10072025_19_07_23_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/19/07/image_10072025_19_07_14_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/19/06/image_10072025_19_07_04_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/19/06/image_10072025_19_06_53_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/07/image_10072025_19_08_04_10648.jpg', '/home/nano/Desktop/images/10072025/19/07/image_10072025_19_07_53_9635.jpg', '/home/nano/Desktop/images/10072025/19/07/image_10072025_19_07_23_9631.jpg', '/home/nano/Desktop/images/10072025/19/07/image_10072025_19_07_14_9652.jpg', '/home/nano/Desktop/images/10072025/19/06/image_10072025_19_07_04_10662.jpg', '/home/nano/Desktop/images/10072025/19/06/image_10072025_19_06_53_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/07/image_10072025_19_08_04_10648.jpg
/home/nano/Desktop/images/10072025/19/07/image_10072025_19_07_53_9635.jpg
/home/nano/Desktop/images/10072025/19/07/image_10072025_19_07_23_9631.jpg
/home/nano/Desktop/images/10072025/19/07/image_10072025_19_07_14_9652.jpg
/home/nano/Desktop/images/10072025/19/06/image_10072025_19_07_04_10662.jpg
/home/nano/Desktop/images/10072025/19/06/image_10072025_19_06_53_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881826","1371881823","1371881825","1371881828","1371881827","1371881821"],"photo_ids_order":["1371881821","1371881823","1371881825","1371881826","1371881827","1371881828"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1fde3493267b5bf206112981fefd2cf.jpg","text":"TemporaryFile(/tmp/multipartBody3133232335831767478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315245913,"filename":"image_10072025_19_07_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eba2da93d69348150abbf862667153be.jpg","text":"TemporaryFile(/tmp/multipartBody8317518776598585929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315245913,"filename":"image_10072025_19_07_53_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/947c8a74534846464b9d89982dc02a6e.jpg","text":"TemporaryFile(/tmp/multipartBody7954350314771264251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315245913,"filename":"image_10072025_19_07_23_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de5ffad0cb680975df793c8ede596699.jpg","text":"TemporaryFile(/tmp/multipartBody671823637789269437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315245913,"filename":"image_10072025_19_06_53_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e96dedc9fcaae4ee8a9a23ae450c0b1c.jpg","text":"TemporaryFile(/tmp/multipartBody5304327085399340685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315245913,"filename":"image_10072025_19_07_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5aff2957edf5cdb248397d4f5d74802.jpg","text":"TemporaryFile(/tmp/multipartBody8631957796525288139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315245913,"filename":"image_10072025_19_08_04_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881825","file1":"1371881823","file0":"1371881821","file4":"1371881827","file5":"1371881828","file3":"1371881826"},"map_files_photo_id_array":[{"photo_id":"1371881828","filename":"file5"},{"photo_id":"1371881825","filename":"file2"},{"photo_id":"1371881827","filename":"file4"},{"photo_id":"1371881823","filename":"file1"},{"photo_id":"1371881821","filename":"file0"},{"photo_id":"1371881826","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371881826":["hashtag1","hashtag2"]},{"1371881823":["hashtag1","hashtag2"]},{"1371881825":["hashtag1","hashtag2"]},{"1371881828":["hashtag1","hashtag2"]},{"1371881827":["hashtag1","hashtag2"]},{"1371881821":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371881826, 1371881823, 1371881825, 1371881828, 1371881827, 1371881821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81076216697693 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:13:47.315965
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_44_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_33_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_24_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_13_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/12/12/image_12072025_12_13_04_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_54_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_44_10613.jpg', '/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_33_9600.jpg', '/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_24_10614.jpg', '/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_13_9648.jpg', '/home/nano/Desktop/images/12072025/12/12/image_12072025_12_13_04_9618.jpg', '/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_54_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_44_10613.jpg
/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_33_9600.jpg
/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_24_10614.jpg
/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_13_9648.jpg
/home/nano/Desktop/images/12072025/12/12/image_12072025_12_13_04_9618.jpg
/home/nano/Desktop/images/12072025/12/12/image_12072025_12_12_54_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881844","1371881847","1371881834","1371881837","1371881842","1371881839"],"photo_ids_order":["1371881834","1371881837","1371881839","1371881842","1371881844","1371881847"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb6482b1ac720ef0aa162e21a2eb44d9.jpg","text":"TemporaryFile(/tmp/multipartBody2923805227639187691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315289083,"filename":"image_12072025_12_13_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b9cca7f49a5f5e51bf15d2532fecf0d.jpg","text":"TemporaryFile(/tmp/multipartBody4900883553136481573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315289083,"filename":"image_12072025_12_12_54_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91b12913e5ecf3b085af19180e3afbfc.jpg","text":"TemporaryFile(/tmp/multipartBody1669259954668665287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315289083,"filename":"image_12072025_12_13_44_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/519e48b2efac36c6e5202e48dc8440b6.jpg","text":"TemporaryFile(/tmp/multipartBody5138046650811038876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315289083,"filename":"image_12072025_12_13_33_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11607ba1c053a7ba6c14bd42b4abe5f5.jpg","text":"TemporaryFile(/tmp/multipartBody1623653018295250898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315289083,"filename":"image_12072025_12_13_13_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d09d022eca4c29888ce00dc16c42629.jpg","text":"TemporaryFile(/tmp/multipartBody6483566755000207220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315289083,"filename":"image_12072025_12_13_24_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881839","file1":"1371881837","file0":"1371881834","file4":"1371881844","file5":"1371881847","file3":"1371881842"},"map_files_photo_id_array":[{"photo_id":"1371881847","filename":"file5"},{"photo_id":"1371881839","filename":"file2"},{"photo_id":"1371881844","filename":"file4"},{"photo_id":"1371881837","filename":"file1"},{"photo_id":"1371881834","filename":"file0"},{"photo_id":"1371881842","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881844":["hashtag1","hashtag2"]},{"1371881847":["hashtag1","hashtag2"]},{"1371881834":["hashtag1","hashtag2"]},{"1371881837":["hashtag1","hashtag2"]},{"1371881842":["hashtag1","hashtag2"]},{"1371881839":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881844, 1371881847, 1371881834, 1371881837, 1371881842, 1371881839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.793463945388794 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:14:32.429820
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_43_9766.jpg', 2), ('/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_33_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_24_10690.jpg', 2), ('/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_13_9701.jpg', 2), ('/home/nano/Desktop/images/12072025/12/13/image_12072025_12_14_03_9693.jpg', 2), ('/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_54_9672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_43_9766.jpg', '/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_33_9661.jpg', '/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_24_10690.jpg', '/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_13_9701.jpg', '/home/nano/Desktop/images/12072025/12/13/image_12072025_12_14_03_9693.jpg', '/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_54_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_43_9766.jpg
/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_33_9661.jpg
/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_24_10690.jpg
/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_13_9701.jpg
/home/nano/Desktop/images/12072025/12/13/image_12072025_12_14_03_9693.jpg
/home/nano/Desktop/images/12072025/12/13/image_12072025_12_13_54_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881853","1371881861","1371881855","1371881858","1371881860","1371881854"],"photo_ids_order":["1371881853","1371881854","1371881855","1371881858","1371881860","1371881861"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25bd0e8a56b47e77885c400de46f17f1.jpg","text":"TemporaryFile(/tmp/multipartBody6681915067429010194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315335020,"filename":"image_12072025_12_14_43_9766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90c54873eef8dc142138eb2447a67f68.jpg","text":"TemporaryFile(/tmp/multipartBody6078025955237861559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315335020,"filename":"image_12072025_12_13_54_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce5ef10b9c8e3868f3f4bc6c615498bb.jpg","text":"TemporaryFile(/tmp/multipartBody6691105342978856423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315335020,"filename":"image_12072025_12_14_24_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a23321a878e35e51d6fc23ccbc2d0a6.jpg","text":"TemporaryFile(/tmp/multipartBody7192904899640437294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315335020,"filename":"image_12072025_12_14_13_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a96d2024506c8d45ddc35d91e605bbc.jpg","text":"TemporaryFile(/tmp/multipartBody3426986035375770789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315335020,"filename":"image_12072025_12_14_03_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/742c00649e9bb5fbe7ef78f1770d0177.jpg","text":"TemporaryFile(/tmp/multipartBody7085031361120089929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315335020,"filename":"image_12072025_12_14_33_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881855","file1":"1371881854","file0":"1371881853","file4":"1371881860","file5":"1371881861","file3":"1371881858"},"map_files_photo_id_array":[{"photo_id":"1371881861","filename":"file5"},{"photo_id":"1371881855","filename":"file2"},{"photo_id":"1371881860","filename":"file4"},{"photo_id":"1371881854","filename":"file1"},{"photo_id":"1371881853","filename":"file0"},{"photo_id":"1371881858","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881853":["hashtag1","hashtag2"]},{"1371881861":["hashtag1","hashtag2"]},{"1371881855":["hashtag1","hashtag2"]},{"1371881858":["hashtag1","hashtag2"]},{"1371881860":["hashtag1","hashtag2"]},{"1371881854":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881853, 1371881861, 1371881855, 1371881858, 1371881860, 1371881854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05459427833557 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:15:17.586471
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_44_9809.jpg', 2), ('/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_34_10708.jpg', 2), ('/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_23_9822.jpg', 2), ('/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_13_9788.jpg', 2), ('/home/nano/Desktop/images/12072025/12/14/image_12072025_12_15_04_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_54_10809.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_44_9809.jpg', '/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_34_10708.jpg', '/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_23_9822.jpg', '/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_13_9788.jpg', '/home/nano/Desktop/images/12072025/12/14/image_12072025_12_15_04_9667.jpg', '/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_54_10809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_44_9809.jpg
/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_34_10708.jpg
/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_23_9822.jpg
/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_13_9788.jpg
/home/nano/Desktop/images/12072025/12/14/image_12072025_12_15_04_9667.jpg
/home/nano/Desktop/images/12072025/12/14/image_12072025_12_14_54_10809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881871","1371881870","1371881867","1371881866","1371881869","1371881868"],"photo_ids_order":["1371881866","1371881867","1371881868","1371881869","1371881870","1371881871"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/984033c4076603a5e78c54113263e5bf.jpg","text":"TemporaryFile(/tmp/multipartBody6624062576453128403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315379092,"filename":"image_12072025_12_14_54_10809.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb661205bd88a86f9f2d886cd0a7473b.jpg","text":"TemporaryFile(/tmp/multipartBody8762808322035247832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315379092,"filename":"image_12072025_12_15_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4545096c5d24e7d753eed70aa4a4493e.jpg","text":"TemporaryFile(/tmp/multipartBody3533084493515571223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315379092,"filename":"image_12072025_12_15_34_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a08c3e61a1ea0026b7958e77a34ac9dd.jpg","text":"TemporaryFile(/tmp/multipartBody6422717756868154465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315379092,"filename":"image_12072025_12_15_44_9809.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/389e7e1c33fcbb26d696c57a656418b1.jpg","text":"TemporaryFile(/tmp/multipartBody8775562714676380606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315379092,"filename":"image_12072025_12_15_13_9788.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/582484d5f1839783b512ccb0ede59b96.jpg","text":"TemporaryFile(/tmp/multipartBody3074957457053004404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315379092,"filename":"image_12072025_12_15_23_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881868","file1":"1371881867","file0":"1371881866","file4":"1371881870","file5":"1371881871","file3":"1371881869"},"map_files_photo_id_array":[{"photo_id":"1371881871","filename":"file5"},{"photo_id":"1371881868","filename":"file2"},{"photo_id":"1371881870","filename":"file4"},{"photo_id":"1371881867","filename":"file1"},{"photo_id":"1371881866","filename":"file0"},{"photo_id":"1371881869","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881871":["hashtag1","hashtag2"]},{"1371881870":["hashtag1","hashtag2"]},{"1371881867":["hashtag1","hashtag2"]},{"1371881866":["hashtag1","hashtag2"]},{"1371881869":["hashtag1","hashtag2"]},{"1371881868":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881871, 1371881870, 1371881867, 1371881866, 1371881869, 1371881868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70041108131409 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:16:03.129630
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/06/image_10072025_19_06_44_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/19/06/image_10072025_19_06_23_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/19/06/image_10072025_19_06_14_10669.jpg', 2), ('/home/nano/Desktop/images/10072025/19/05/image_10072025_19_06_03_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/19/05/image_10072025_19_05_54_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/19/05/image_10072025_19_05_24_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/06/image_10072025_19_06_44_10638.jpg', '/home/nano/Desktop/images/10072025/19/06/image_10072025_19_06_23_9647.jpg', '/home/nano/Desktop/images/10072025/19/06/image_10072025_19_06_14_10669.jpg', '/home/nano/Desktop/images/10072025/19/05/image_10072025_19_06_03_9637.jpg', '/home/nano/Desktop/images/10072025/19/05/image_10072025_19_05_54_9647.jpg', '/home/nano/Desktop/images/10072025/19/05/image_10072025_19_05_24_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/06/image_10072025_19_06_44_10638.jpg
/home/nano/Desktop/images/10072025/19/06/image_10072025_19_06_23_9647.jpg
/home/nano/Desktop/images/10072025/19/06/image_10072025_19_06_14_10669.jpg
/home/nano/Desktop/images/10072025/19/05/image_10072025_19_06_03_9637.jpg
/home/nano/Desktop/images/10072025/19/05/image_10072025_19_05_54_9647.jpg
/home/nano/Desktop/images/10072025/19/05/image_10072025_19_05_24_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881885","1371881881","1371881884","1371881886","1371881880","1371881883"],"photo_ids_order":["1371881880","1371881881","1371881883","1371881884","1371881885","1371881886"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3572d467c3608447b25897244fb7f7e5.jpg","text":"TemporaryFile(/tmp/multipartBody6932049669987265246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315425539,"filename":"image_10072025_19_05_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47fc5c2322e20b0664b21cf1dd194ddc.jpg","text":"TemporaryFile(/tmp/multipartBody385064753004308523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315425539,"filename":"image_10072025_19_06_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d7f7ee26ab9fb94ac67c208f99dfd56.jpg","text":"TemporaryFile(/tmp/multipartBody6839271663886501191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315425539,"filename":"image_10072025_19_06_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a4b61cceb0646cce5352f86ffdff790.jpg","text":"TemporaryFile(/tmp/multipartBody5502457319082476956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315425539,"filename":"image_10072025_19_05_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2d53564ff7b7124f210b42b68979466.jpg","text":"TemporaryFile(/tmp/multipartBody7962759401571447010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315425539,"filename":"image_10072025_19_06_44_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b05e69b810ae46f40fc75e12acba7d41.jpg","text":"TemporaryFile(/tmp/multipartBody3112177709123562375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315425539,"filename":"image_10072025_19_06_14_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881883","file1":"1371881881","file0":"1371881880","file4":"1371881885","file5":"1371881886","file3":"1371881884"},"map_files_photo_id_array":[{"photo_id":"1371881886","filename":"file5"},{"photo_id":"1371881883","filename":"file2"},{"photo_id":"1371881885","filename":"file4"},{"photo_id":"1371881881","filename":"file1"},{"photo_id":"1371881880","filename":"file0"},{"photo_id":"1371881884","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371881885":["hashtag1","hashtag2"]},{"1371881881":["hashtag1","hashtag2"]},{"1371881884":["hashtag1","hashtag2"]},{"1371881886":["hashtag1","hashtag2"]},{"1371881880":["hashtag1","hashtag2"]},{"1371881883":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371881885, 1371881881, 1371881884, 1371881886, 1371881880, 1371881883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33064794540405 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:16:47.641845
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_43_9688.jpg', 2), ('/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_34_9796.jpg', 2), ('/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_24_10827.jpg', 2), ('/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_13_9826.jpg', 2), ('/home/nano/Desktop/images/12072025/12/15/image_12072025_12_16_03_9781.jpg', 2), ('/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_53_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_43_9688.jpg', '/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_34_9796.jpg', '/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_24_10827.jpg', '/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_13_9826.jpg', '/home/nano/Desktop/images/12072025/12/15/image_12072025_12_16_03_9781.jpg', '/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_53_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_43_9688.jpg
/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_34_9796.jpg
/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_24_10827.jpg
/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_13_9826.jpg
/home/nano/Desktop/images/12072025/12/15/image_12072025_12_16_03_9781.jpg
/home/nano/Desktop/images/12072025/12/15/image_12072025_12_15_53_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881888","1371881900","1371881890","1371881892","1371881895","1371881898"],"photo_ids_order":["1371881888","1371881890","1371881892","1371881895","1371881898","1371881900"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee391cdbe0e4cc9575d3ff77e474bdd0.jpg","text":"TemporaryFile(/tmp/multipartBody7470855522935879207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315470195,"filename":"image_12072025_12_16_43_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35fb77a0beca57339b8924c022a02e94.jpg","text":"TemporaryFile(/tmp/multipartBody2151206670084075399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315470195,"filename":"image_12072025_12_15_53_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13301dbe145febf1a239a7a5bec2e8d5.jpg","text":"TemporaryFile(/tmp/multipartBody2368394186270289114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315470195,"filename":"image_12072025_12_16_34_9796.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5133d9f1f123a5938f5a8aa2ece6efc.jpg","text":"TemporaryFile(/tmp/multipartBody1665720260953251876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315470195,"filename":"image_12072025_12_16_24_10827.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7153735f12b09036468d1345750e474.jpg","text":"TemporaryFile(/tmp/multipartBody71269729116996291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315470195,"filename":"image_12072025_12_16_13_9826.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd7a37f037f2b85ec665baa307ca4bc9.jpg","text":"TemporaryFile(/tmp/multipartBody9009812013316750453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315470195,"filename":"image_12072025_12_16_03_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881892","file1":"1371881890","file0":"1371881888","file4":"1371881898","file5":"1371881900","file3":"1371881895"},"map_files_photo_id_array":[{"photo_id":"1371881900","filename":"file5"},{"photo_id":"1371881892","filename":"file2"},{"photo_id":"1371881898","filename":"file4"},{"photo_id":"1371881890","filename":"file1"},{"photo_id":"1371881888","filename":"file0"},{"photo_id":"1371881895","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881888":["hashtag1","hashtag2"]},{"1371881900":["hashtag1","hashtag2"]},{"1371881890":["hashtag1","hashtag2"]},{"1371881892":["hashtag1","hashtag2"]},{"1371881895":["hashtag1","hashtag2"]},{"1371881898":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881888, 1371881900, 1371881890, 1371881892, 1371881895, 1371881898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.287540674209595 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:17:32.751384
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_43_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_34_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_24_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_13_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/12/16/image_12072025_12_17_04_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_53_9667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_43_9614.jpg', '/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_34_9615.jpg', '/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_24_10631.jpg', '/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_13_9650.jpg', '/home/nano/Desktop/images/12072025/12/16/image_12072025_12_17_04_10667.jpg', '/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_53_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_43_9614.jpg
/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_34_9615.jpg
/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_24_10631.jpg
/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_13_9650.jpg
/home/nano/Desktop/images/12072025/12/16/image_12072025_12_17_04_10667.jpg
/home/nano/Desktop/images/12072025/12/16/image_12072025_12_16_53_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881904","1371881903","1371881909","1371881908","1371881911","1371881905"],"photo_ids_order":["1371881903","1371881904","1371881905","1371881908","1371881909","1371881911"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4e31c43d1a0a58ee49f5468fd829d52.jpg","text":"TemporaryFile(/tmp/multipartBody4014101030640356675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315513983,"filename":"image_12072025_12_17_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8abfadbfb1db67c08baf6ea8a3037e6b.jpg","text":"TemporaryFile(/tmp/multipartBody132516636021036842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315513983,"filename":"image_12072025_12_17_43_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/792d1e3546baf17a94e9ef93c53f559b.jpg","text":"TemporaryFile(/tmp/multipartBody84776766842801445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315513983,"filename":"image_12072025_12_17_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06ca80ad809533552eb678110625b283.jpg","text":"TemporaryFile(/tmp/multipartBody6351578406827728240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315513983,"filename":"image_12072025_12_17_13_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee3d055467efd2999229492f0900c6a3.jpg","text":"TemporaryFile(/tmp/multipartBody6333325763739755604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315513983,"filename":"image_12072025_12_16_53_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77e83f1578268f783a562eaa17d9cd0b.jpg","text":"TemporaryFile(/tmp/multipartBody2011993389311449618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315513983,"filename":"image_12072025_12_17_24_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881905","file1":"1371881904","file0":"1371881903","file4":"1371881909","file5":"1371881911","file3":"1371881908"},"map_files_photo_id_array":[{"photo_id":"1371881911","filename":"file5"},{"photo_id":"1371881905","filename":"file2"},{"photo_id":"1371881909","filename":"file4"},{"photo_id":"1371881904","filename":"file1"},{"photo_id":"1371881903","filename":"file0"},{"photo_id":"1371881908","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881904":["hashtag1","hashtag2"]},{"1371881903":["hashtag1","hashtag2"]},{"1371881909":["hashtag1","hashtag2"]},{"1371881908":["hashtag1","hashtag2"]},{"1371881911":["hashtag1","hashtag2"]},{"1371881905":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881904, 1371881903, 1371881909, 1371881908, 1371881911, 1371881905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.998188495635986 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:18:16.875684
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/18/image_12072025_12_18_33_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/12/18/image_12072025_12_18_24_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_54_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/18/image_12072025_12_18_33_9609.jpg', '/home/nano/Desktop/images/12072025/12/18/image_12072025_12_18_24_10613.jpg', '/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_54_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/18/image_12072025_12_18_33_9609.jpg
/home/nano/Desktop/images/12072025/12/18/image_12072025_12_18_24_10613.jpg
/home/nano/Desktop/images/12072025/12/17/image_12072025_12_17_54_10611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881919","1371881918","1371881917"],"photo_ids_order":["1371881917","1371881918","1371881919"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76496cd62d90d6f7e489906abcbad18e.jpg","text":"TemporaryFile(/tmp/multipartBody9040509078716528201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315557714,"filename":"image_12072025_12_17_54_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ca5b8f4a1dad51346d8e3df56db4571.jpg","text":"TemporaryFile(/tmp/multipartBody6023357839217433360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315557714,"filename":"image_12072025_12_18_24_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/720e01bc8f92782e9ee0daa4bed73082.jpg","text":"TemporaryFile(/tmp/multipartBody4192488142232094806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315557714,"filename":"image_12072025_12_18_33_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881919","file1":"1371881918","file0":"1371881917"},"map_files_photo_id_array":[{"photo_id":"1371881919","filename":"file2"},{"photo_id":"1371881918","filename":"file1"},{"photo_id":"1371881917","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881919":["hashtag1","hashtag2"]},{"1371881918":["hashtag1","hashtag2"]},{"1371881917":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881919, 1371881918, 1371881917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.56833815574646 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:18:46.847675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/05/image_10072025_19_05_14_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/19/04/image_10072025_19_05_03_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_54_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_44_10642.jpg', 2), ('/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_33_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_24_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/05/image_10072025_19_05_14_10661.jpg', '/home/nano/Desktop/images/10072025/19/04/image_10072025_19_05_03_9648.jpg', '/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_54_9647.jpg', '/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_44_10642.jpg', '/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_33_9630.jpg', '/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_24_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/05/image_10072025_19_05_14_10661.jpg
/home/nano/Desktop/images/10072025/19/04/image_10072025_19_05_03_9648.jpg
/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_54_9647.jpg
/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_44_10642.jpg
/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_33_9630.jpg
/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_24_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881925","1371881928","1371881921","1371881930","1371881926","1371881923"],"photo_ids_order":["1371881921","1371881923","1371881925","1371881926","1371881928","1371881930"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0095b89cc878973a463c24b2f9d26ba8.jpg","text":"TemporaryFile(/tmp/multipartBody2287099608941468026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315589740,"filename":"image_10072025_19_04_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bafe2cda7e8d6b12ce09cfa47dcc4505.jpg","text":"TemporaryFile(/tmp/multipartBody3396372056759804982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315589740,"filename":"image_10072025_19_04_33_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d724fad2f4a77a22318d2cd857edc05.jpg","text":"TemporaryFile(/tmp/multipartBody3645184342323458929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315589740,"filename":"image_10072025_19_05_14_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b224fcf904280eb6d7502682ce08d96b.jpg","text":"TemporaryFile(/tmp/multipartBody8799379285200141686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315589740,"filename":"image_10072025_19_04_24_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/327bfebf88bbcf9f56c92811f2f1408a.jpg","text":"TemporaryFile(/tmp/multipartBody1776373415011512893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315589740,"filename":"image_10072025_19_04_44_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12d4f0dc715d6b9d84e1b22b21e426fd.jpg","text":"TemporaryFile(/tmp/multipartBody2392419750602795217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315589740,"filename":"image_10072025_19_05_03_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881925","file1":"1371881923","file0":"1371881921","file4":"1371881928","file5":"1371881930","file3":"1371881926"},"map_files_photo_id_array":[{"photo_id":"1371881930","filename":"file5"},{"photo_id":"1371881925","filename":"file2"},{"photo_id":"1371881928","filename":"file4"},{"photo_id":"1371881923","filename":"file1"},{"photo_id":"1371881921","filename":"file0"},{"photo_id":"1371881926","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371881925":["hashtag1","hashtag2"]},{"1371881928":["hashtag1","hashtag2"]},{"1371881921":["hashtag1","hashtag2"]},{"1371881930":["hashtag1","hashtag2"]},{"1371881926":["hashtag1","hashtag2"]},{"1371881923":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371881925, 1371881928, 1371881921, 1371881930, 1371881926, 1371881923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.818933963775635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:19:31.946295
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_44_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_34_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_23_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_14_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/12/18/image_12072025_12_19_03_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/12/18/image_12072025_12_18_44_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_44_9619.jpg', '/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_34_10621.jpg', '/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_23_9608.jpg', '/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_14_10654.jpg', '/home/nano/Desktop/images/12072025/12/18/image_12072025_12_19_03_9628.jpg', '/home/nano/Desktop/images/12072025/12/18/image_12072025_12_18_44_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_44_9619.jpg
/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_34_10621.jpg
/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_23_9608.jpg
/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_14_10654.jpg
/home/nano/Desktop/images/12072025/12/18/image_12072025_12_19_03_9628.jpg
/home/nano/Desktop/images/12072025/12/18/image_12072025_12_18_44_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881934","1371881963","1371881936","1371881941","1371881938","1371881961"],"photo_ids_order":["1371881934","1371881936","1371881938","1371881941","1371881961","1371881963"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7bc009b89164e6616cf71b33313262ab.jpg","text":"TemporaryFile(/tmp/multipartBody335196783221630534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315633309,"filename":"image_12072025_12_19_44_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d103b1124fb3efd53a060bcd189e807d.jpg","text":"TemporaryFile(/tmp/multipartBody8063893970799557599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315633309,"filename":"image_12072025_12_18_44_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34051ad6c8f30366744cd9b25feb3739.jpg","text":"TemporaryFile(/tmp/multipartBody6730121903702864883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315633309,"filename":"image_12072025_12_19_34_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b432ea9bf35cc0a44baf14c072e0a38.jpg","text":"TemporaryFile(/tmp/multipartBody6497570659792656364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315633309,"filename":"image_12072025_12_19_14_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51dbe32fdaf3d0a6a8244c6d34647ef1.jpg","text":"TemporaryFile(/tmp/multipartBody7743188125276607427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315633309,"filename":"image_12072025_12_19_23_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/700f10db72f780f75d45a4ecbdd1ab28.jpg","text":"TemporaryFile(/tmp/multipartBody9145373129582507320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315633309,"filename":"image_12072025_12_19_03_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881938","file1":"1371881936","file0":"1371881934","file4":"1371881961","file5":"1371881963","file3":"1371881941"},"map_files_photo_id_array":[{"photo_id":"1371881963","filename":"file5"},{"photo_id":"1371881938","filename":"file2"},{"photo_id":"1371881961","filename":"file4"},{"photo_id":"1371881936","filename":"file1"},{"photo_id":"1371881934","filename":"file0"},{"photo_id":"1371881941","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881934":["hashtag1","hashtag2"]},{"1371881963":["hashtag1","hashtag2"]},{"1371881936":["hashtag1","hashtag2"]},{"1371881941":["hashtag1","hashtag2"]},{"1371881938":["hashtag1","hashtag2"]},{"1371881961":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881934, 1371881963, 1371881936, 1371881941, 1371881938, 1371881961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80546498298645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:20:17.053108
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_34_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_23_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_14_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_53_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_43_9639.jpg', '/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_34_10619.jpg', '/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_23_9611.jpg', '/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_14_9645.jpg', '/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_53_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_43_9639.jpg
/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_34_10619.jpg
/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_23_9611.jpg
/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_14_9645.jpg
/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_53_9607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.120368480682373 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:20:32.062654
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_43_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_34_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_23_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_14_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_53_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_43_9639.jpg', '/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_34_10619.jpg', '/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_23_9611.jpg', '/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_14_9645.jpg', '/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_53_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_43_9639.jpg
/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_34_10619.jpg
/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_23_9611.jpg
/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_14_9645.jpg
/home/nano/Desktop/images/12072025/12/19/image_12072025_12_19_53_9607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881970","1371881978","1371881972","1371881975","1371881974"],"photo_ids_order":["1371881970","1371881972","1371881974","1371881975","1371881978"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ffb1ac191f9347754c75ff33f024ecf.jpg","text":"TemporaryFile(/tmp/multipartBody7404337027876091131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315693711,"filename":"image_12072025_12_20_43_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb756e033c2760077544899b05d59037.jpg","text":"TemporaryFile(/tmp/multipartBody4952118816124715305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315693711,"filename":"image_12072025_12_19_53_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7bb1286c0a2e2174c5f979cc4557b1d.jpg","text":"TemporaryFile(/tmp/multipartBody5064278010706952772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315693711,"filename":"image_12072025_12_20_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f220a374b825d74d50f4f097aa156bc.jpg","text":"TemporaryFile(/tmp/multipartBody7979459035055849372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315693711,"filename":"image_12072025_12_20_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a464b7fda751e3c0c480e7d3d93d0d4.jpg","text":"TemporaryFile(/tmp/multipartBody2731037632071961397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315693711,"filename":"image_12072025_12_20_23_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881974","file1":"1371881972","file0":"1371881970","file4":"1371881978","file3":"1371881975"},"map_files_photo_id_array":[{"photo_id":"1371881974","filename":"file2"},{"photo_id":"1371881978","filename":"file4"},{"photo_id":"1371881972","filename":"file1"},{"photo_id":"1371881970","filename":"file0"},{"photo_id":"1371881975","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371881970":["hashtag1","hashtag2"]},{"1371881978":["hashtag1","hashtag2"]},{"1371881972":["hashtag1","hashtag2"]},{"1371881975":["hashtag1","hashtag2"]},{"1371881974":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371881970, 1371881978, 1371881972, 1371881975, 1371881974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.75502371788025 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:21:02.685886
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_13_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/19/03/image_10072025_19_04_03_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/19/03/image_10072025_19_03_13_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_54_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_43_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_34_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_13_9656.jpg', '/home/nano/Desktop/images/10072025/19/03/image_10072025_19_04_03_9656.jpg', '/home/nano/Desktop/images/10072025/19/03/image_10072025_19_03_13_9655.jpg', '/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_54_10639.jpg', '/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_43_9630.jpg', '/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_34_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/04/image_10072025_19_04_13_9656.jpg
/home/nano/Desktop/images/10072025/19/03/image_10072025_19_04_03_9656.jpg
/home/nano/Desktop/images/10072025/19/03/image_10072025_19_03_13_9655.jpg
/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_54_10639.jpg
/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_43_9630.jpg
/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_34_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371881990","1371881993","1371881983","1371881991","1371881985","1371881988"],"photo_ids_order":["1371881983","1371881985","1371881988","1371881990","1371881991","1371881993"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0556b31392dbfa20906b3932b9403c63.jpg","text":"TemporaryFile(/tmp/multipartBody5837218684718532422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315725850,"filename":"image_10072025_19_02_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d73fd78a228047ade3c4b3dc59e10ba.jpg","text":"TemporaryFile(/tmp/multipartBody3581233325691412390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315725850,"filename":"image_10072025_19_02_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7baedccd275c2ca4749d45e1d95f4b16.jpg","text":"TemporaryFile(/tmp/multipartBody4472125169052004370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315725850,"filename":"image_10072025_19_04_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/907ea1c8e7794d016bced9afdeb0de13.jpg","text":"TemporaryFile(/tmp/multipartBody4840841353608619639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315725850,"filename":"image_10072025_19_02_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da47e8a639dcff2dda7f1c21a2cad264.jpg","text":"TemporaryFile(/tmp/multipartBody3257839086908160773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315725850,"filename":"image_10072025_19_04_03_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68cebcfe66f4f913f45e148e049242c3.jpg","text":"TemporaryFile(/tmp/multipartBody1975824877758715958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315725850,"filename":"image_10072025_19_03_13_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371881988","file1":"1371881985","file0":"1371881983","file4":"1371881991","file5":"1371881993","file3":"1371881990"},"map_files_photo_id_array":[{"photo_id":"1371881993","filename":"file5"},{"photo_id":"1371881988","filename":"file2"},{"photo_id":"1371881991","filename":"file4"},{"photo_id":"1371881985","filename":"file1"},{"photo_id":"1371881983","filename":"file0"},{"photo_id":"1371881990","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371881990":["hashtag1","hashtag2"]},{"1371881993":["hashtag1","hashtag2"]},{"1371881983":["hashtag1","hashtag2"]},{"1371881991":["hashtag1","hashtag2"]},{"1371881985":["hashtag1","hashtag2"]},{"1371881988":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371881990, 1371881993, 1371881983, 1371881991, 1371881985, 1371881988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93634510040283 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:21:47.166028
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_43_9724.jpg', 2), ('/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_34_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_24_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_13_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/12/20/image_12072025_12_21_04_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_54_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_43_9724.jpg', '/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_34_9648.jpg', '/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_24_10645.jpg', '/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_13_9644.jpg', '/home/nano/Desktop/images/12072025/12/20/image_12072025_12_21_04_9669.jpg', '/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_54_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_43_9724.jpg
/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_34_9648.jpg
/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_24_10645.jpg
/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_13_9644.jpg
/home/nano/Desktop/images/12072025/12/20/image_12072025_12_21_04_9669.jpg
/home/nano/Desktop/images/12072025/12/20/image_12072025_12_20_54_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882009","1371882000","1371882003","1371882005","1371881998","1371882007"],"photo_ids_order":["1371881998","1371882000","1371882003","1371882005","1371882007","1371882009"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67e9687f1a5e02d369ab528969e12f18.jpg","text":"TemporaryFile(/tmp/multipartBody2246908521216772808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315768433,"filename":"image_12072025_12_20_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/795ea463b7d908a61eb959b6828b7972.jpg","text":"TemporaryFile(/tmp/multipartBody7431535747105952272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315768433,"filename":"image_12072025_12_21_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f583fc99ebd38a5cabca6f92dce55e1.jpg","text":"TemporaryFile(/tmp/multipartBody6889890996419908714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315768433,"filename":"image_12072025_12_21_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ae7ba891ccd3d2dbdbc1c82a3c28bf4.jpg","text":"TemporaryFile(/tmp/multipartBody497053109071813408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315768433,"filename":"image_12072025_12_21_13_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec61a1770d91c4132f789597db04ca78.jpg","text":"TemporaryFile(/tmp/multipartBody317335367283625562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315768433,"filename":"image_12072025_12_21_43_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ef7f59a2c13d12f13387d33bb002178.jpg","text":"TemporaryFile(/tmp/multipartBody7004828525769951178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315768433,"filename":"image_12072025_12_21_04_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882003","file1":"1371882000","file0":"1371881998","file4":"1371882007","file5":"1371882009","file3":"1371882005"},"map_files_photo_id_array":[{"photo_id":"1371882009","filename":"file5"},{"photo_id":"1371882003","filename":"file2"},{"photo_id":"1371882007","filename":"file4"},{"photo_id":"1371882000","filename":"file1"},{"photo_id":"1371881998","filename":"file0"},{"photo_id":"1371882005","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371882009":["hashtag1","hashtag2"]},{"1371882000":["hashtag1","hashtag2"]},{"1371882003":["hashtag1","hashtag2"]},{"1371882005":["hashtag1","hashtag2"]},{"1371881998":["hashtag1","hashtag2"]},{"1371882007":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371882009, 1371882000, 1371882003, 1371882005, 1371881998, 1371882007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.17097306251526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:22:32.270339
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_43_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_34_10716.jpg', 2), ('/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_23_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_14_9747.jpg', 2), ('/home/nano/Desktop/images/12072025/12/21/image_12072025_12_22_04_9716.jpg', 2), ('/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_43_9617.jpg', '/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_34_10716.jpg', '/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_23_9627.jpg', '/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_14_9747.jpg', '/home/nano/Desktop/images/12072025/12/21/image_12072025_12_22_04_9716.jpg', '/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_43_9617.jpg
/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_34_10716.jpg
/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_23_9627.jpg
/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_14_9747.jpg
/home/nano/Desktop/images/12072025/12/21/image_12072025_12_22_04_9716.jpg
/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_54_10649.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.132678985595703 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:22:47.254404
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_43_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_34_10716.jpg', 2), ('/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_23_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_14_9747.jpg', 2), ('/home/nano/Desktop/images/12072025/12/21/image_12072025_12_22_04_9716.jpg', 2), ('/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_43_9617.jpg', '/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_34_10716.jpg', '/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_23_9627.jpg', '/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_14_9747.jpg', '/home/nano/Desktop/images/12072025/12/21/image_12072025_12_22_04_9716.jpg', '/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_43_9617.jpg
/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_34_10716.jpg
/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_23_9627.jpg
/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_14_9747.jpg
/home/nano/Desktop/images/12072025/12/21/image_12072025_12_22_04_9716.jpg
/home/nano/Desktop/images/12072025/12/21/image_12072025_12_21_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882027","1371882021","1371882025","1371882022","1371882030","1371882018"],"photo_ids_order":["1371882018","1371882021","1371882022","1371882025","1371882027","1371882030"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4939d9ffed97e8c7b12089d25a1c684f.jpg","text":"TemporaryFile(/tmp/multipartBody1562451835095955185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315828081,"filename":"image_12072025_12_22_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38667c3f96b3313c25e9fdfb50bdc81a.jpg","text":"TemporaryFile(/tmp/multipartBody3266874998769295216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315828081,"filename":"image_12072025_12_22_34_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b6d6ab5c6d3d00d7ae4504bd914c267.jpg","text":"TemporaryFile(/tmp/multipartBody7203127043364489667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315828081,"filename":"image_12072025_12_22_14_9747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f00a55d83700ee66f6b35e0a7647255f.jpg","text":"TemporaryFile(/tmp/multipartBody6414258865639441931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315828081,"filename":"image_12072025_12_22_23_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e62d46e8b624301d3a4fbe9f587f00d.jpg","text":"TemporaryFile(/tmp/multipartBody6258194064492183495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315828081,"filename":"image_12072025_12_21_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eed4e7c7f340e46bc41ada98a9672535.jpg","text":"TemporaryFile(/tmp/multipartBody1182142575486581439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315828081,"filename":"image_12072025_12_22_43_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882022","file1":"1371882021","file0":"1371882018","file4":"1371882027","file5":"1371882030","file3":"1371882025"},"map_files_photo_id_array":[{"photo_id":"1371882030","filename":"file5"},{"photo_id":"1371882022","filename":"file2"},{"photo_id":"1371882027","filename":"file4"},{"photo_id":"1371882021","filename":"file1"},{"photo_id":"1371882018","filename":"file0"},{"photo_id":"1371882025","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371882027":["hashtag1","hashtag2"]},{"1371882021":["hashtag1","hashtag2"]},{"1371882025":["hashtag1","hashtag2"]},{"1371882022":["hashtag1","hashtag2"]},{"1371882030":["hashtag1","hashtag2"]},{"1371882018":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371882027, 1371882021, 1371882025, 1371882022, 1371882030, 1371882018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.68338179588318 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:23:32.371068
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_44_9728.jpg', 2), ('/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_34_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_23_9725.jpg', 2), ('/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_14_9750.jpg', 2), ('/home/nano/Desktop/images/12072025/12/22/image_12072025_12_23_04_10742.jpg', 2), ('/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_53_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_44_9728.jpg', '/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_34_10613.jpg', '/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_23_9725.jpg', '/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_14_9750.jpg', '/home/nano/Desktop/images/12072025/12/22/image_12072025_12_23_04_10742.jpg', '/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_53_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_44_9728.jpg
/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_34_10613.jpg
/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_23_9725.jpg
/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_14_9750.jpg
/home/nano/Desktop/images/12072025/12/22/image_12072025_12_23_04_10742.jpg
/home/nano/Desktop/images/12072025/12/22/image_12072025_12_22_53_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882033","1371882041","1371882035","1371882038","1371882043","1371882034"],"photo_ids_order":["1371882033","1371882034","1371882035","1371882038","1371882041","1371882043"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87e867e7c47db3bc5d53fa5400359b08.jpg","text":"TemporaryFile(/tmp/multipartBody4794015808750141435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315873795,"filename":"image_12072025_12_23_44_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5940c470e4a8e23240877857af6dbb84.jpg","text":"TemporaryFile(/tmp/multipartBody3845811840559979401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315873795,"filename":"image_12072025_12_23_04_10742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa74638913d6af358ccfc4db8911a8c8.jpg","text":"TemporaryFile(/tmp/multipartBody5221475680220179180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315873795,"filename":"image_12072025_12_23_23_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2001d4b7262c4f5929087fa51ecb1fe.jpg","text":"TemporaryFile(/tmp/multipartBody5433617698316010494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315873795,"filename":"image_12072025_12_23_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b800ae17d7ffb33dfd8ef62ce39b35ed.jpg","text":"TemporaryFile(/tmp/multipartBody5250944497039809781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315873795,"filename":"image_12072025_12_22_53_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a94e0a73acd7836eb712926ca4ed475b.jpg","text":"TemporaryFile(/tmp/multipartBody6124349732041315835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315873795,"filename":"image_12072025_12_23_34_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882035","file1":"1371882034","file0":"1371882033","file4":"1371882041","file5":"1371882043","file3":"1371882038"},"map_files_photo_id_array":[{"photo_id":"1371882043","filename":"file5"},{"photo_id":"1371882035","filename":"file2"},{"photo_id":"1371882041","filename":"file4"},{"photo_id":"1371882034","filename":"file1"},{"photo_id":"1371882033","filename":"file0"},{"photo_id":"1371882038","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371882033":["hashtag1","hashtag2"]},{"1371882041":["hashtag1","hashtag2"]},{"1371882035":["hashtag1","hashtag2"]},{"1371882038":["hashtag1","hashtag2"]},{"1371882043":["hashtag1","hashtag2"]},{"1371882034":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371882033, 1371882041, 1371882035, 1371882038, 1371882043, 1371882034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17954111099243 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:24:17.457599
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_43_9699.jpg', 2), ('/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_33_9715.jpg', 2), ('/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_24_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_14_10826.jpg', 2), ('/home/nano/Desktop/images/12072025/12/23/image_12072025_12_24_03_9760.jpg', 2), ('/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_53_9755.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_43_9699.jpg', '/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_33_9715.jpg', '/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_24_9641.jpg', '/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_14_10826.jpg', '/home/nano/Desktop/images/12072025/12/23/image_12072025_12_24_03_9760.jpg', '/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_53_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_43_9699.jpg
/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_33_9715.jpg
/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_24_9641.jpg
/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_14_10826.jpg
/home/nano/Desktop/images/12072025/12/23/image_12072025_12_24_03_9760.jpg
/home/nano/Desktop/images/12072025/12/23/image_12072025_12_23_53_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882053","1371882056","1371882055","1371882049","1371882054","1371882051"],"photo_ids_order":["1371882049","1371882051","1371882053","1371882054","1371882055","1371882056"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12d4b36bb086fc79f1ad516318bb6e59.jpg","text":"TemporaryFile(/tmp/multipartBody2213984478242394154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315920864,"filename":"image_12072025_12_24_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a71739376485799e29fb8aadf42caad8.jpg","text":"TemporaryFile(/tmp/multipartBody7808135089945718688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315920864,"filename":"image_12072025_12_23_53_9755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10a45ae3922dd949de6ed2fc08fd2047.jpg","text":"TemporaryFile(/tmp/multipartBody2281353969746050629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315920864,"filename":"image_12072025_12_24_03_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38617a5082a3818cb5cbb7610393df44.jpg","text":"TemporaryFile(/tmp/multipartBody7100383556018416103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315920864,"filename":"image_12072025_12_24_43_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2b6bbcebf891bb57840b4a0a7adfd84.jpg","text":"TemporaryFile(/tmp/multipartBody4660854695919842577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315920864,"filename":"image_12072025_12_24_14_10826.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c317b3a3e9743d601c310f04cd41195f.jpg","text":"TemporaryFile(/tmp/multipartBody2114238138544011380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315920864,"filename":"image_12072025_12_24_33_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882053","file1":"1371882051","file0":"1371882049","file4":"1371882055","file5":"1371882056","file3":"1371882054"},"map_files_photo_id_array":[{"photo_id":"1371882056","filename":"file5"},{"photo_id":"1371882053","filename":"file2"},{"photo_id":"1371882055","filename":"file4"},{"photo_id":"1371882051","filename":"file1"},{"photo_id":"1371882049","filename":"file0"},{"photo_id":"1371882054","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371882053":["hashtag1","hashtag2"]},{"1371882056":["hashtag1","hashtag2"]},{"1371882055":["hashtag1","hashtag2"]},{"1371882049":["hashtag1","hashtag2"]},{"1371882054":["hashtag1","hashtag2"]},{"1371882051":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371882053, 1371882056, 1371882055, 1371882049, 1371882054, 1371882051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.66525483131409 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:25:03.324687
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_24_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_13_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/19/01/image_10072025_19_01_53_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/19/01/image_10072025_19_01_43_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/19/00/image_10072025_19_01_04_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/19/00/image_10072025_19_00_34_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_24_10638.jpg', '/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_13_9654.jpg', '/home/nano/Desktop/images/10072025/19/01/image_10072025_19_01_53_9654.jpg', '/home/nano/Desktop/images/10072025/19/01/image_10072025_19_01_43_9637.jpg', '/home/nano/Desktop/images/10072025/19/00/image_10072025_19_01_04_10663.jpg', '/home/nano/Desktop/images/10072025/19/00/image_10072025_19_00_34_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_24_10638.jpg
/home/nano/Desktop/images/10072025/19/02/image_10072025_19_02_13_9654.jpg
/home/nano/Desktop/images/10072025/19/01/image_10072025_19_01_53_9654.jpg
/home/nano/Desktop/images/10072025/19/01/image_10072025_19_01_43_9637.jpg
/home/nano/Desktop/images/10072025/19/00/image_10072025_19_01_04_10663.jpg
/home/nano/Desktop/images/10072025/19/00/image_10072025_19_00_34_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882068","1371882062","1371882070","1371882064","1371882067","1371882066"],"photo_ids_order":["1371882062","1371882064","1371882066","1371882067","1371882068","1371882070"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9189e87da93dc50d9fa5f3d5f0aca19.jpg","text":"TemporaryFile(/tmp/multipartBody2359024943505349139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315966404,"filename":"image_10072025_19_01_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d021017436597a96fa5ed4e6f37ec3fe.jpg","text":"TemporaryFile(/tmp/multipartBody3179885928976879055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315966404,"filename":"image_10072025_19_02_24_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2131d9fb1e658ddef4ce09bc95160335.jpg","text":"TemporaryFile(/tmp/multipartBody8614330589722428038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315966404,"filename":"image_10072025_19_00_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8002e7dfabcace6c8def97fd2da55d9f.jpg","text":"TemporaryFile(/tmp/multipartBody2244640307001295046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315966404,"filename":"image_10072025_19_02_13_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78cdb5138dc310b89f3f12b7445cb959.jpg","text":"TemporaryFile(/tmp/multipartBody6084804839177354609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315966404,"filename":"image_10072025_19_01_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5997e1affff1b1e489ad37e5651d823.jpg","text":"TemporaryFile(/tmp/multipartBody2249068464913728248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752315966404,"filename":"image_10072025_19_01_53_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882066","file1":"1371882064","file0":"1371882062","file4":"1371882068","file5":"1371882070","file3":"1371882067"},"map_files_photo_id_array":[{"photo_id":"1371882070","filename":"file5"},{"photo_id":"1371882066","filename":"file2"},{"photo_id":"1371882068","filename":"file4"},{"photo_id":"1371882064","filename":"file1"},{"photo_id":"1371882062","filename":"file0"},{"photo_id":"1371882067","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371882068":["hashtag1","hashtag2"]},{"1371882062":["hashtag1","hashtag2"]},{"1371882070":["hashtag1","hashtag2"]},{"1371882064":["hashtag1","hashtag2"]},{"1371882067":["hashtag1","hashtag2"]},{"1371882066":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371882068, 1371882062, 1371882070, 1371882064, 1371882067, 1371882066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08737897872925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:25:47.634693
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_43_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_34_9742.jpg', 2), ('/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_24_10757.jpg', 2), ('/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_13_9762.jpg', 2), ('/home/nano/Desktop/images/12072025/12/24/image_12072025_12_25_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_54_10735.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_43_9614.jpg', '/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_34_9742.jpg', '/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_24_10757.jpg', '/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_13_9762.jpg', '/home/nano/Desktop/images/12072025/12/24/image_12072025_12_25_03_9643.jpg', '/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_54_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_43_9614.jpg
/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_34_9742.jpg
/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_24_10757.jpg
/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_13_9762.jpg
/home/nano/Desktop/images/12072025/12/24/image_12072025_12_25_03_9643.jpg
/home/nano/Desktop/images/12072025/12/24/image_12072025_12_24_54_10735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882083","1371882077","1371882086","1371882089","1371882079","1371882081"],"photo_ids_order":["1371882077","1371882079","1371882081","1371882083","1371882086","1371882089"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba962a482f0894ea3f8666c441fd6ae7.jpg","text":"TemporaryFile(/tmp/multipartBody6084123904237588167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316011906,"filename":"image_12072025_12_25_13_9762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df11f3a004232c34b0ccb2412b187a79.jpg","text":"TemporaryFile(/tmp/multipartBody7741817898006003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316011906,"filename":"image_12072025_12_25_43_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f80dc5f2eb5b2f65343ff6b06c993fa.jpg","text":"TemporaryFile(/tmp/multipartBody769289247170311088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316011906,"filename":"image_12072025_12_25_03_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2dc211bd705ab10e0c7abd0fa6ece37.jpg","text":"TemporaryFile(/tmp/multipartBody5868308116336914075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316011906,"filename":"image_12072025_12_24_54_10735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4adfbe67b6f530abd86a761a63337001.jpg","text":"TemporaryFile(/tmp/multipartBody2202835751969859998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316011906,"filename":"image_12072025_12_25_34_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/981b30e910a4417023e2a71552f3e2ae.jpg","text":"TemporaryFile(/tmp/multipartBody5172788269824162743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316011906,"filename":"image_12072025_12_25_24_10757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882081","file1":"1371882079","file0":"1371882077","file4":"1371882086","file5":"1371882089","file3":"1371882083"},"map_files_photo_id_array":[{"photo_id":"1371882089","filename":"file5"},{"photo_id":"1371882081","filename":"file2"},{"photo_id":"1371882086","filename":"file4"},{"photo_id":"1371882079","filename":"file1"},{"photo_id":"1371882077","filename":"file0"},{"photo_id":"1371882083","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371882083":["hashtag1","hashtag2"]},{"1371882077":["hashtag1","hashtag2"]},{"1371882086":["hashtag1","hashtag2"]},{"1371882089":["hashtag1","hashtag2"]},{"1371882079":["hashtag1","hashtag2"]},{"1371882081":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371882083, 1371882077, 1371882086, 1371882089, 1371882079, 1371882081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71047759056091 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:26:32.715262
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/26/image_12072025_12_26_34_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/12/26/image_12072025_12_26_24_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/12/26/image_12072025_12_26_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/12/25/image_12072025_12_26_04_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_54_10700.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/26/image_12072025_12_26_34_9652.jpg', '/home/nano/Desktop/images/12072025/12/26/image_12072025_12_26_24_10619.jpg', '/home/nano/Desktop/images/12072025/12/26/image_12072025_12_26_13_9657.jpg', '/home/nano/Desktop/images/12072025/12/25/image_12072025_12_26_04_9651.jpg', '/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_54_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/26/image_12072025_12_26_34_9652.jpg
/home/nano/Desktop/images/12072025/12/26/image_12072025_12_26_24_10619.jpg
/home/nano/Desktop/images/12072025/12/26/image_12072025_12_26_13_9657.jpg
/home/nano/Desktop/images/12072025/12/25/image_12072025_12_26_04_9651.jpg
/home/nano/Desktop/images/12072025/12/25/image_12072025_12_25_54_10700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882095","1371882092","1371882097","1371882091","1371882090"],"photo_ids_order":["1371882090","1371882091","1371882092","1371882095","1371882097"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a03f321a296a3a1a0995db5a720bfe7.jpg","text":"TemporaryFile(/tmp/multipartBody6332630144802712305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316055762,"filename":"image_12072025_12_26_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63d0c883d403dfa1a9ff90c040dbb5e7.jpg","text":"TemporaryFile(/tmp/multipartBody5413048738005310728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316055762,"filename":"image_12072025_12_26_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd577ca486fac9423759fa2fa47f1ec7.jpg","text":"TemporaryFile(/tmp/multipartBody8065648736813932357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316055762,"filename":"image_12072025_12_25_54_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b47f60005ddf2343349ea0cf15406f49.jpg","text":"TemporaryFile(/tmp/multipartBody8486491310766821709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316055762,"filename":"image_12072025_12_26_24_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2ac9b055ca1e6f101d67575d5198968.jpg","text":"TemporaryFile(/tmp/multipartBody1012228739884855358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316055762,"filename":"image_12072025_12_26_34_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882092","file1":"1371882091","file0":"1371882090","file4":"1371882097","file3":"1371882095"},"map_files_photo_id_array":[{"photo_id":"1371882092","filename":"file2"},{"photo_id":"1371882097","filename":"file4"},{"photo_id":"1371882091","filename":"file1"},{"photo_id":"1371882090","filename":"file0"},{"photo_id":"1371882095","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371882095":["hashtag1","hashtag2"]},{"1371882092":["hashtag1","hashtag2"]},{"1371882097":["hashtag1","hashtag2"]},{"1371882091":["hashtag1","hashtag2"]},{"1371882090":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371882095, 1371882092, 1371882097, 1371882091, 1371882090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.01253366470337 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:27:16.827240
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_43_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_34_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_24_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_13_9697.jpg', 2), ('/home/nano/Desktop/images/12072025/12/26/image_12072025_12_27_04_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/12/26/image_12072025_12_26_43_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_43_9625.jpg', '/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_34_9628.jpg', '/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_24_10624.jpg', '/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_13_9697.jpg', '/home/nano/Desktop/images/12072025/12/26/image_12072025_12_27_04_9647.jpg', '/home/nano/Desktop/images/12072025/12/26/image_12072025_12_26_43_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_43_9625.jpg
/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_34_9628.jpg
/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_24_10624.jpg
/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_13_9697.jpg
/home/nano/Desktop/images/12072025/12/26/image_12072025_12_27_04_9647.jpg
/home/nano/Desktop/images/12072025/12/26/image_12072025_12_26_43_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882108","1371882110","1371882104","1371882107","1371882106","1371882109"],"photo_ids_order":["1371882104","1371882106","1371882107","1371882108","1371882109","1371882110"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab7c52bc035932f93ec51da87ac291a1.jpg","text":"TemporaryFile(/tmp/multipartBody144291783740783092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316098615,"filename":"image_12072025_12_27_13_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fdb47c7ca020a66d53b14489398c8b98.jpg","text":"TemporaryFile(/tmp/multipartBody123573106744456480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316098615,"filename":"image_12072025_12_26_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4bae58032cedb54babf31ddc6c0868c5.jpg","text":"TemporaryFile(/tmp/multipartBody4992641863425112849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316098615,"filename":"image_12072025_12_27_43_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf9ce1eb30aed16f516d4315e4158673.jpg","text":"TemporaryFile(/tmp/multipartBody2020357218356596580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316098615,"filename":"image_12072025_12_27_24_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/279a8e0210d51904175f1ba155aae41c.jpg","text":"TemporaryFile(/tmp/multipartBody2979632522693390118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316098615,"filename":"image_12072025_12_27_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29ea9cb420e227c42610666e72bfcbde.jpg","text":"TemporaryFile(/tmp/multipartBody1802950066151214868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316098615,"filename":"image_12072025_12_27_04_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882107","file1":"1371882106","file0":"1371882104","file4":"1371882109","file5":"1371882110","file3":"1371882108"},"map_files_photo_id_array":[{"photo_id":"1371882110","filename":"file5"},{"photo_id":"1371882107","filename":"file2"},{"photo_id":"1371882109","filename":"file4"},{"photo_id":"1371882106","filename":"file1"},{"photo_id":"1371882104","filename":"file0"},{"photo_id":"1371882108","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371882108":["hashtag1","hashtag2"]},{"1371882110":["hashtag1","hashtag2"]},{"1371882104":["hashtag1","hashtag2"]},{"1371882107":["hashtag1","hashtag2"]},{"1371882106":["hashtag1","hashtag2"]},{"1371882109":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371882108, 1371882110, 1371882104, 1371882107, 1371882106, 1371882109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24730181694031 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:28:02.471544
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/19/00/image_10072025_19_00_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/19/00/image_10072025_19_00_14_9660.jpg', 2), ('/home/nano/Desktop/images/10072025/18/59/image_10072025_19_00_04_10644.jpg', 2), ('/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_53_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_44_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_33_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/19/00/image_10072025_19_00_23_9645.jpg', '/home/nano/Desktop/images/10072025/19/00/image_10072025_19_00_14_9660.jpg', '/home/nano/Desktop/images/10072025/18/59/image_10072025_19_00_04_10644.jpg', '/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_53_9634.jpg', '/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_44_10636.jpg', '/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_33_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/19/00/image_10072025_19_00_23_9645.jpg
/home/nano/Desktop/images/10072025/19/00/image_10072025_19_00_14_9660.jpg
/home/nano/Desktop/images/10072025/18/59/image_10072025_19_00_04_10644.jpg
/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_53_9634.jpg
/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_44_10636.jpg
/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_33_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882126","1371882125","1371882124","1371882121","1371882118","1371882123"],"photo_ids_order":["1371882118","1371882121","1371882123","1371882124","1371882125","1371882126"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f1023d43c5ac09551160de6a9856ba7.jpg","text":"TemporaryFile(/tmp/multipartBody5047417044972004370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316145544,"filename":"image_10072025_18_59_33_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/218834984573411456bf6b9442043cb6.jpg","text":"TemporaryFile(/tmp/multipartBody1738836163369740571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316145544,"filename":"image_10072025_18_59_44_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dde545ca9794b2dcc69d29a948b96336.jpg","text":"TemporaryFile(/tmp/multipartBody6016954175396955509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316145544,"filename":"image_10072025_18_59_53_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d4f2acee6fa13218097a79eef081560.jpg","text":"TemporaryFile(/tmp/multipartBody6781108551855462032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316145544,"filename":"image_10072025_19_00_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64392acf7c419089ad968e9e8469ab26.jpg","text":"TemporaryFile(/tmp/multipartBody7832663090763513262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316145544,"filename":"image_10072025_19_00_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fd3335a02fc1f3fcbabed7c942c3e9e.jpg","text":"TemporaryFile(/tmp/multipartBody2364888193309256328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316145544,"filename":"image_10072025_19_00_04_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882123","file1":"1371882121","file0":"1371882118","file4":"1371882125","file5":"1371882126","file3":"1371882124"},"map_files_photo_id_array":[{"photo_id":"1371882126","filename":"file5"},{"photo_id":"1371882123","filename":"file2"},{"photo_id":"1371882125","filename":"file4"},{"photo_id":"1371882121","filename":"file1"},{"photo_id":"1371882118","filename":"file0"},{"photo_id":"1371882124","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371882126":["hashtag1","hashtag2"]},{"1371882125":["hashtag1","hashtag2"]},{"1371882124":["hashtag1","hashtag2"]},{"1371882121":["hashtag1","hashtag2"]},{"1371882118":["hashtag1","hashtag2"]},{"1371882123":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371882126, 1371882125, 1371882124, 1371882121, 1371882118, 1371882123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.954761028289795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:28:47.033056
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_44_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_24_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_14_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/12/27/image_12072025_12_28_03_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_54_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_44_10657.jpg', '/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_33_9640.jpg', '/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_24_9613.jpg', '/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_14_10632.jpg', '/home/nano/Desktop/images/12072025/12/27/image_12072025_12_28_03_9624.jpg', '/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_54_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_44_10657.jpg
/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_33_9640.jpg
/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_24_9613.jpg
/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_14_10632.jpg
/home/nano/Desktop/images/12072025/12/27/image_12072025_12_28_03_9624.jpg
/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_54_10635.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8693656921386719 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:29:03.210904
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_44_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_24_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_14_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/12/27/image_12072025_12_28_03_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_54_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_44_10657.jpg', '/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_33_9640.jpg', '/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_24_9613.jpg', '/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_14_10632.jpg', '/home/nano/Desktop/images/12072025/12/27/image_12072025_12_28_03_9624.jpg', '/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_54_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_44_10657.jpg
/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_33_9640.jpg
/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_24_9613.jpg
/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_14_10632.jpg
/home/nano/Desktop/images/12072025/12/27/image_12072025_12_28_03_9624.jpg
/home/nano/Desktop/images/12072025/12/27/image_12072025_12_27_54_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882143","1371882145","1371882139","1371882136","1371882141","1371882144"],"photo_ids_order":["1371882136","1371882139","1371882141","1371882143","1371882144","1371882145"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68a2627cb5af1862bc24bf838d7c8c90.jpg","text":"TemporaryFile(/tmp/multipartBody6273130387085573141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316204904,"filename":"image_12072025_12_28_14_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5cd53228ed8f9d0272fec4ea7542e78.jpg","text":"TemporaryFile(/tmp/multipartBody713353023844969903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316204904,"filename":"image_12072025_12_27_54_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7003bbd3f822e8296af68ecc6699c9a1.jpg","text":"TemporaryFile(/tmp/multipartBody1605979384637546651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316204904,"filename":"image_12072025_12_28_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06f373239725f11e7a156fc521a0f4dd.jpg","text":"TemporaryFile(/tmp/multipartBody3221876756156050144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316204904,"filename":"image_12072025_12_28_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0759b554433e426981d181a3927fc29.jpg","text":"TemporaryFile(/tmp/multipartBody7645120471950140673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316204904,"filename":"image_12072025_12_28_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0da0b4d958c0707bae1f57ae55ec591a.jpg","text":"TemporaryFile(/tmp/multipartBody2772809536224917512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316204904,"filename":"image_12072025_12_28_03_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882141","file1":"1371882139","file0":"1371882136","file4":"1371882144","file5":"1371882145","file3":"1371882143"},"map_files_photo_id_array":[{"photo_id":"1371882145","filename":"file5"},{"photo_id":"1371882141","filename":"file2"},{"photo_id":"1371882144","filename":"file4"},{"photo_id":"1371882139","filename":"file1"},{"photo_id":"1371882136","filename":"file0"},{"photo_id":"1371882143","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371882143":["hashtag1","hashtag2"]},{"1371882145":["hashtag1","hashtag2"]},{"1371882139":["hashtag1","hashtag2"]},{"1371882136":["hashtag1","hashtag2"]},{"1371882141":["hashtag1","hashtag2"]},{"1371882144":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371882143, 1371882145, 1371882139, 1371882136, 1371882141, 1371882144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74373960494995 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:29:47.146372
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_44_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_33_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_24_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_14_10724.jpg', 2), ('/home/nano/Desktop/images/12072025/12/28/image_12072025_12_29_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_54_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_44_10653.jpg', '/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_33_9648.jpg', '/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_24_9662.jpg', '/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_14_10724.jpg', '/home/nano/Desktop/images/12072025/12/28/image_12072025_12_29_03_9642.jpg', '/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_54_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_44_10653.jpg
/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_33_9648.jpg
/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_24_9662.jpg
/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_14_10724.jpg
/home/nano/Desktop/images/12072025/12/28/image_12072025_12_29_03_9642.jpg
/home/nano/Desktop/images/12072025/12/28/image_12072025_12_28_54_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882176","1371882173","1371882169","1371882178","1371882171","1371882174"],"photo_ids_order":["1371882169","1371882171","1371882173","1371882174","1371882176","1371882178"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/027f8d1e6997c9531aac4c2d3418c9c7.jpg","text":"TemporaryFile(/tmp/multipartBody7951855615264141610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316248904,"filename":"image_12072025_12_29_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/874d6ee8b5d137b5b2b0d5b57ed126c4.jpg","text":"TemporaryFile(/tmp/multipartBody1416522690715512757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316248904,"filename":"image_12072025_12_29_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cce08edffd4e1713db77959cc1ddf7e3.jpg","text":"TemporaryFile(/tmp/multipartBody4117707128664727254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316248904,"filename":"image_12072025_12_29_44_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/655d1426494a4664d0bcaff49a25eba1.jpg","text":"TemporaryFile(/tmp/multipartBody4196304126029367315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316248904,"filename":"image_12072025_12_28_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e11b068cec88e519d9289204eaf615dd.jpg","text":"TemporaryFile(/tmp/multipartBody2527662852076579626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316248904,"filename":"image_12072025_12_29_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e06f150902b346ebb1b361a0299267d7.jpg","text":"TemporaryFile(/tmp/multipartBody6213300291688091292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316248904,"filename":"image_12072025_12_29_14_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882173","file1":"1371882171","file0":"1371882169","file4":"1371882176","file5":"1371882178","file3":"1371882174"},"map_files_photo_id_array":[{"photo_id":"1371882178","filename":"file5"},{"photo_id":"1371882173","filename":"file2"},{"photo_id":"1371882176","filename":"file4"},{"photo_id":"1371882171","filename":"file1"},{"photo_id":"1371882169","filename":"file0"},{"photo_id":"1371882174","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371882176":["hashtag1","hashtag2"]},{"1371882173":["hashtag1","hashtag2"]},{"1371882169":["hashtag1","hashtag2"]},{"1371882178":["hashtag1","hashtag2"]},{"1371882171":["hashtag1","hashtag2"]},{"1371882174":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371882176, 1371882173, 1371882169, 1371882178, 1371882171, 1371882174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27709913253784 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:30:32.283925
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_44_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_33_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_14_10711.jpg', 2), ('/home/nano/Desktop/images/12072025/12/29/image_12072025_12_30_03_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_44_10661.jpg', '/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_33_9648.jpg', '/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_24_9638.jpg', '/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_14_10711.jpg', '/home/nano/Desktop/images/12072025/12/29/image_12072025_12_30_03_9650.jpg', '/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_54_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_44_10661.jpg
/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_33_9648.jpg
/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_24_9638.jpg
/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_14_10711.jpg
/home/nano/Desktop/images/12072025/12/29/image_12072025_12_30_03_9650.jpg
/home/nano/Desktop/images/12072025/12/29/image_12072025_12_29_54_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882185","1371882188","1371882193","1371882190","1371882184","1371882183"],"photo_ids_order":["1371882183","1371882184","1371882185","1371882188","1371882190","1371882193"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca0de4d758126b0b0f0af88406e01974.jpg","text":"TemporaryFile(/tmp/multipartBody7764984668147484692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316294299,"filename":"image_12072025_12_30_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cdafec2ec53df76e45fb96f70027a939.jpg","text":"TemporaryFile(/tmp/multipartBody6900774455563589303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316294299,"filename":"image_12072025_12_30_14_10711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/280ad165f911fd912d345140f4433b87.jpg","text":"TemporaryFile(/tmp/multipartBody7327971766151183061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316294299,"filename":"image_12072025_12_29_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2643040b94635c99f2da2276f6c918f9.jpg","text":"TemporaryFile(/tmp/multipartBody6792454492560196597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316294299,"filename":"image_12072025_12_30_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97270f1f00e867c892a0472c6f2f4c52.jpg","text":"TemporaryFile(/tmp/multipartBody6908337185694742307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316294299,"filename":"image_12072025_12_30_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93d94e0ddbd8d8b94276030d977d7acb.jpg","text":"TemporaryFile(/tmp/multipartBody1857024180222129681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316294299,"filename":"image_12072025_12_30_44_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882185","file1":"1371882184","file0":"1371882183","file4":"1371882190","file5":"1371882193","file3":"1371882188"},"map_files_photo_id_array":[{"photo_id":"1371882193","filename":"file5"},{"photo_id":"1371882185","filename":"file2"},{"photo_id":"1371882190","filename":"file4"},{"photo_id":"1371882184","filename":"file1"},{"photo_id":"1371882183","filename":"file0"},{"photo_id":"1371882188","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371882185":["hashtag1","hashtag2"]},{"1371882188":["hashtag1","hashtag2"]},{"1371882193":["hashtag1","hashtag2"]},{"1371882190":["hashtag1","hashtag2"]},{"1371882184":["hashtag1","hashtag2"]},{"1371882183":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371882185, 1371882188, 1371882193, 1371882190, 1371882184, 1371882183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.096545696258545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:31:17.385546
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_44_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_23_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_14_10704.jpg', 2), ('/home/nano/Desktop/images/12072025/12/30/image_12072025_12_31_03_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_44_10631.jpg', '/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_33_9639.jpg', '/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_23_9629.jpg', '/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_14_10704.jpg', '/home/nano/Desktop/images/12072025/12/30/image_12072025_12_31_03_9641.jpg', '/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_44_10631.jpg
/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_33_9639.jpg
/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_23_9629.jpg
/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_14_10704.jpg
/home/nano/Desktop/images/12072025/12/30/image_12072025_12_31_03_9641.jpg
/home/nano/Desktop/images/12072025/12/30/image_12072025_12_30_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882306","1371882401","1371882282","1371882360","1371882336","1371882258"],"photo_ids_order":["1371882258","1371882282","1371882306","1371882336","1371882360","1371882401"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/505ea83f12e837db6c34d8967ea98d46.jpg","text":"TemporaryFile(/tmp/multipartBody6122318621403402759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316339253,"filename":"image_12072025_12_31_23_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c04490fe3d1d6fc4afdb9425bf6181f.jpg","text":"TemporaryFile(/tmp/multipartBody3590837858939279684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316339253,"filename":"image_12072025_12_30_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e970e61bf9d1289957b74420d60bed7.jpg","text":"TemporaryFile(/tmp/multipartBody1883249808037880836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316339253,"filename":"image_12072025_12_31_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0da600d9de68d07ae53ba6bf051e378a.jpg","text":"TemporaryFile(/tmp/multipartBody3856180535079192950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316339253,"filename":"image_12072025_12_31_03_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29de8df9a10e3799c636ee6292f47e7a.jpg","text":"TemporaryFile(/tmp/multipartBody1797472691893558925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316339253,"filename":"image_12072025_12_31_14_10704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd013d00b221f66db2546d44e20d4fca.jpg","text":"TemporaryFile(/tmp/multipartBody367832390892629270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316339253,"filename":"image_12072025_12_31_44_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882306","file1":"1371882282","file0":"1371882258","file4":"1371882360","file5":"1371882401","file3":"1371882336"},"map_files_photo_id_array":[{"photo_id":"1371882401","filename":"file5"},{"photo_id":"1371882306","filename":"file2"},{"photo_id":"1371882360","filename":"file4"},{"photo_id":"1371882282","filename":"file1"},{"photo_id":"1371882258","filename":"file0"},{"photo_id":"1371882336","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371882306":["hashtag1","hashtag2"]},{"1371882401":["hashtag1","hashtag2"]},{"1371882282":["hashtag1","hashtag2"]},{"1371882360":["hashtag1","hashtag2"]},{"1371882336":["hashtag1","hashtag2"]},{"1371882258":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371882306, 1371882401, 1371882282, 1371882360, 1371882336, 1371882258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.812718629837036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:32:03.013124
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_23_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/18/58/image_10072025_18_59_03_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_54_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_44_10646.jpg', 2), ('/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_33_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_24_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_23_9630.jpg', '/home/nano/Desktop/images/10072025/18/58/image_10072025_18_59_03_9648.jpg', '/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_54_9638.jpg', '/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_44_10646.jpg', '/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_33_9635.jpg', '/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_24_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_23_9630.jpg
/home/nano/Desktop/images/10072025/18/58/image_10072025_18_59_03_9648.jpg
/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_54_9638.jpg
/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_44_10646.jpg
/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_33_9635.jpg
/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_24_9629.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.519819498062134 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:32:17.503073
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_44_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_34_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_14_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/12/31/image_12072025_12_32_04_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_53_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_44_9650.jpg', '/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_34_10645.jpg', '/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_23_9640.jpg', '/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_14_9661.jpg', '/home/nano/Desktop/images/12072025/12/31/image_12072025_12_32_04_10648.jpg', '/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_53_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_44_9650.jpg
/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_34_10645.jpg
/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_23_9640.jpg
/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_14_9661.jpg
/home/nano/Desktop/images/12072025/12/31/image_12072025_12_32_04_10648.jpg
/home/nano/Desktop/images/12072025/12/31/image_12072025_12_31_53_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371882890","1371882866","1371882793","1371882769","1371882817","1371882843"],"photo_ids_order":["1371882769","1371882793","1371882817","1371882843","1371882866","1371882890"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/578ba264739d28e9e7cd3258e864d612.jpg","text":"TemporaryFile(/tmp/multipartBody2665427410327484986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316399419,"filename":"image_12072025_12_31_53_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d166c302fddff6106e36caffad7ae970.jpg","text":"TemporaryFile(/tmp/multipartBody4778203296449665604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316399419,"filename":"image_12072025_12_32_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5da57effd75cdb077c82503473fd240.jpg","text":"TemporaryFile(/tmp/multipartBody8461498216654308025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316399419,"filename":"image_12072025_12_32_34_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52b30165c5a707921581f363af56cd19.jpg","text":"TemporaryFile(/tmp/multipartBody2315338477561089060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316399419,"filename":"image_12072025_12_32_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0106e8bfcabb18269bf4bfef7855b9c5.jpg","text":"TemporaryFile(/tmp/multipartBody6865642627037827677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316399419,"filename":"image_12072025_12_32_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c32fd60b65d3c40bf7dda9277494d1ee.jpg","text":"TemporaryFile(/tmp/multipartBody8543485343761133132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316399419,"filename":"image_12072025_12_32_14_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882817","file1":"1371882793","file0":"1371882769","file4":"1371882866","file5":"1371882890","file3":"1371882843"},"map_files_photo_id_array":[{"photo_id":"1371882890","filename":"file5"},{"photo_id":"1371882817","filename":"file2"},{"photo_id":"1371882866","filename":"file4"},{"photo_id":"1371882793","filename":"file1"},{"photo_id":"1371882769","filename":"file0"},{"photo_id":"1371882843","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371882890":["hashtag1","hashtag2"]},{"1371882866":["hashtag1","hashtag2"]},{"1371882793":["hashtag1","hashtag2"]},{"1371882769":["hashtag1","hashtag2"]},{"1371882817":["hashtag1","hashtag2"]},{"1371882843":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371882890, 1371882866, 1371882793, 1371882769, 1371882817, 1371882843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39694666862488 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:33:03.280488
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_23_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/18/58/image_10072025_18_59_03_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_54_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_44_10646.jpg', 2), ('/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_33_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_24_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_23_9630.jpg', '/home/nano/Desktop/images/10072025/18/58/image_10072025_18_59_03_9648.jpg', '/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_54_9638.jpg', '/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_44_10646.jpg', '/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_33_9635.jpg', '/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_24_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/59/image_10072025_18_59_23_9630.jpg
/home/nano/Desktop/images/10072025/18/58/image_10072025_18_59_03_9648.jpg
/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_54_9638.jpg
/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_44_10646.jpg
/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_33_9635.jpg
/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_24_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883022","1371882926","1371883039","1371882949","1371882999","1371882975"],"photo_ids_order":["1371882926","1371882949","1371882975","1371882999","1371883022","1371883039"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/454f6a81aa240154d3844a99c8eac667.jpg","text":"TemporaryFile(/tmp/multipartBody1398757194745498014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316445753,"filename":"image_10072025_18_58_33_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eaf9b8005c3dbe727b6d3ef5163c5454.jpg","text":"TemporaryFile(/tmp/multipartBody6318753149947432339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316445753,"filename":"image_10072025_18_59_23_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e3b95852cdeac35d0f91be86060b9ac.jpg","text":"TemporaryFile(/tmp/multipartBody4872160106197745642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316445753,"filename":"image_10072025_18_58_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/240df73825704fa364762c18e6254cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7860073277212183045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316445753,"filename":"image_10072025_18_59_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/332f25586fbd3a9557609a094bfce3d8.jpg","text":"TemporaryFile(/tmp/multipartBody2896583973378364482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316445753,"filename":"image_10072025_18_58_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17c525cbfce3067bf05ff731a9fe8902.jpg","text":"TemporaryFile(/tmp/multipartBody2594758418439809330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316445753,"filename":"image_10072025_18_58_54_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371882975","file1":"1371882949","file0":"1371882926","file4":"1371883022","file5":"1371883039","file3":"1371882999"},"map_files_photo_id_array":[{"photo_id":"1371883039","filename":"file5"},{"photo_id":"1371882975","filename":"file2"},{"photo_id":"1371883022","filename":"file4"},{"photo_id":"1371882949","filename":"file1"},{"photo_id":"1371882926","filename":"file0"},{"photo_id":"1371882999","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371883022":["hashtag1","hashtag2"]},{"1371882926":["hashtag1","hashtag2"]},{"1371883039":["hashtag1","hashtag2"]},{"1371882949":["hashtag1","hashtag2"]},{"1371882999":["hashtag1","hashtag2"]},{"1371882975":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371883022, 1371882926, 1371883039, 1371882949, 1371882999, 1371882975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.696282386779785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:33:47.614384
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_44_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_23_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_14_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/12/32/image_12072025_12_33_04_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_53_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_44_9640.jpg', '/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_34_10650.jpg', '/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_23_9644.jpg', '/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_14_9655.jpg', '/home/nano/Desktop/images/12072025/12/32/image_12072025_12_33_04_10667.jpg', '/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_53_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_44_9640.jpg
/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_34_10650.jpg
/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_23_9644.jpg
/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_14_9655.jpg
/home/nano/Desktop/images/12072025/12/32/image_12072025_12_33_04_10667.jpg
/home/nano/Desktop/images/12072025/12/32/image_12072025_12_32_53_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883148","1371883090","1371883103","1371883153","1371883135","1371883152"],"photo_ids_order":["1371883090","1371883103","1371883135","1371883148","1371883152","1371883153"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9fa2b6d8adb63faef5f7fd471ed32710.jpg","text":"TemporaryFile(/tmp/multipartBody5942151418157367966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316488809,"filename":"image_12072025_12_33_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6e0c58a80fc2dc40c4caa92a6fd83b1.jpg","text":"TemporaryFile(/tmp/multipartBody6167394633178623907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316488809,"filename":"image_12072025_12_33_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/824949838739aa9a5891d6d85c82dc54.jpg","text":"TemporaryFile(/tmp/multipartBody2434609931737529205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316488809,"filename":"image_12072025_12_33_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b06facb4d3ff7ff63701f54ee8cd59e7.jpg","text":"TemporaryFile(/tmp/multipartBody1729283464101222015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316488809,"filename":"image_12072025_12_32_53_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40a1d9944dfc10d21c0598f81e0200cf.jpg","text":"TemporaryFile(/tmp/multipartBody4007536306655031129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316488809,"filename":"image_12072025_12_33_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6199506563a16792216ef7f1457115a4.jpg","text":"TemporaryFile(/tmp/multipartBody8433892549420791865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316488809,"filename":"image_12072025_12_33_04_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883135","file1":"1371883103","file0":"1371883090","file4":"1371883152","file5":"1371883153","file3":"1371883148"},"map_files_photo_id_array":[{"photo_id":"1371883153","filename":"file5"},{"photo_id":"1371883135","filename":"file2"},{"photo_id":"1371883152","filename":"file4"},{"photo_id":"1371883103","filename":"file1"},{"photo_id":"1371883090","filename":"file0"},{"photo_id":"1371883148","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883148":["hashtag1","hashtag2"]},{"1371883090":["hashtag1","hashtag2"]},{"1371883103":["hashtag1","hashtag2"]},{"1371883153":["hashtag1","hashtag2"]},{"1371883135":["hashtag1","hashtag2"]},{"1371883152":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883148, 1371883090, 1371883103, 1371883153, 1371883135, 1371883152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80590486526489 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:34:32.725041
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_44_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_34_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_23_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_14_9688.jpg', 2), ('/home/nano/Desktop/images/12072025/12/33/image_12072025_12_34_04_10691.jpg', 2), ('/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_53_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_44_9636.jpg', '/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_34_10660.jpg', '/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_23_9649.jpg', '/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_14_9688.jpg', '/home/nano/Desktop/images/12072025/12/33/image_12072025_12_34_04_10691.jpg', '/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_53_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_44_9636.jpg
/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_34_10660.jpg
/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_23_9649.jpg
/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_14_9688.jpg
/home/nano/Desktop/images/12072025/12/33/image_12072025_12_34_04_10691.jpg
/home/nano/Desktop/images/12072025/12/33/image_12072025_12_33_53_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883163","1371883165","1371883159","1371883170","1371883167","1371883160"],"photo_ids_order":["1371883159","1371883160","1371883163","1371883165","1371883167","1371883170"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/69bf409549f04d3ebecfbec598bb8ee8.jpg","text":"TemporaryFile(/tmp/multipartBody5639327901890168333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316534921,"filename":"image_12072025_12_34_23_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5d1effba1ba2fcfa22fbc19e94225fd.jpg","text":"TemporaryFile(/tmp/multipartBody2771999794629542496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316534921,"filename":"image_12072025_12_34_14_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9854ea962a0b6e943ca0ae2644348e88.jpg","text":"TemporaryFile(/tmp/multipartBody1882727884344031681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316534921,"filename":"image_12072025_12_34_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ad99d2d3cc152a306913a88199440ac.jpg","text":"TemporaryFile(/tmp/multipartBody2348714677799212783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316534921,"filename":"image_12072025_12_33_53_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a863989919b58f0b6d492132fbae7115.jpg","text":"TemporaryFile(/tmp/multipartBody3959075770506776896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316534921,"filename":"image_12072025_12_34_04_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39e26d9790e79cfb61fa35ea88f70d4d.jpg","text":"TemporaryFile(/tmp/multipartBody2391268605446688805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316534921,"filename":"image_12072025_12_34_34_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883163","file1":"1371883160","file0":"1371883159","file4":"1371883167","file5":"1371883170","file3":"1371883165"},"map_files_photo_id_array":[{"photo_id":"1371883170","filename":"file5"},{"photo_id":"1371883163","filename":"file2"},{"photo_id":"1371883167","filename":"file4"},{"photo_id":"1371883160","filename":"file1"},{"photo_id":"1371883159","filename":"file0"},{"photo_id":"1371883165","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883163":["hashtag1","hashtag2"]},{"1371883165":["hashtag1","hashtag2"]},{"1371883159":["hashtag1","hashtag2"]},{"1371883170":["hashtag1","hashtag2"]},{"1371883167":["hashtag1","hashtag2"]},{"1371883160":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883163, 1371883165, 1371883159, 1371883170, 1371883167, 1371883160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06871581077576 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:35:16.846706
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_43_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_13_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/12/34/image_12072025_12_35_04_10678.jpg', 2), ('/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_53_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_43_9636.jpg', '/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_34_10649.jpg', '/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_23_9639.jpg', '/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_13_9665.jpg', '/home/nano/Desktop/images/12072025/12/34/image_12072025_12_35_04_10678.jpg', '/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_53_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_43_9636.jpg
/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_34_10649.jpg
/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_23_9639.jpg
/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_13_9665.jpg
/home/nano/Desktop/images/12072025/12/34/image_12072025_12_35_04_10678.jpg
/home/nano/Desktop/images/12072025/12/34/image_12072025_12_34_53_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883178","1371883183","1371883182","1371883176","1371883185","1371883179"],"photo_ids_order":["1371883176","1371883178","1371883179","1371883182","1371883183","1371883185"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90958faad25d3035246257bec24bfa81.jpg","text":"TemporaryFile(/tmp/multipartBody1771837482914744181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316578508,"filename":"image_12072025_12_35_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4b8e265c4f42eff9d8636c35152bc84.jpg","text":"TemporaryFile(/tmp/multipartBody5885873882185135522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316578508,"filename":"image_12072025_12_35_04_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1dc7fa9993b3c7c5b7e89d915e087794.jpg","text":"TemporaryFile(/tmp/multipartBody588157012887294346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316578508,"filename":"image_12072025_12_35_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d89a25f311ff6c2717005595f409fdc2.jpg","text":"TemporaryFile(/tmp/multipartBody5808997236801531736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316578508,"filename":"image_12072025_12_35_43_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c108943713c41bceb0cc84ca61c7ac3.jpg","text":"TemporaryFile(/tmp/multipartBody4699204075948308358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316578508,"filename":"image_12072025_12_34_53_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d638b4a3b205a52005575f1c799d0a9f.jpg","text":"TemporaryFile(/tmp/multipartBody86918022791240642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316578508,"filename":"image_12072025_12_35_23_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883179","file1":"1371883178","file0":"1371883176","file4":"1371883183","file5":"1371883185","file3":"1371883182"},"map_files_photo_id_array":[{"photo_id":"1371883185","filename":"file5"},{"photo_id":"1371883179","filename":"file2"},{"photo_id":"1371883183","filename":"file4"},{"photo_id":"1371883178","filename":"file1"},{"photo_id":"1371883176","filename":"file0"},{"photo_id":"1371883182","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883178":["hashtag1","hashtag2"]},{"1371883183":["hashtag1","hashtag2"]},{"1371883182":["hashtag1","hashtag2"]},{"1371883176":["hashtag1","hashtag2"]},{"1371883185":["hashtag1","hashtag2"]},{"1371883179":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883178, 1371883183, 1371883182, 1371883176, 1371883185, 1371883179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.03440284729004 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:36:16.992614
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_43_9590.jpg', 2), ('/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_34_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_24_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_13_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/12/35/image_12072025_12_36_04_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_53_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_43_9590.jpg', '/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_34_9651.jpg', '/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_24_10636.jpg', '/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_13_9660.jpg', '/home/nano/Desktop/images/12072025/12/35/image_12072025_12_36_04_10650.jpg', '/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_53_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_43_9590.jpg
/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_34_9651.jpg
/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_24_10636.jpg
/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_13_9660.jpg
/home/nano/Desktop/images/12072025/12/35/image_12072025_12_36_04_10650.jpg
/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_53_9649.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.942922830581665 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:36:31.984939
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_43_9590.jpg', 2), ('/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_34_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_24_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_13_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/12/35/image_12072025_12_36_04_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_53_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_43_9590.jpg', '/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_34_9651.jpg', '/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_24_10636.jpg', '/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_13_9660.jpg', '/home/nano/Desktop/images/12072025/12/35/image_12072025_12_36_04_10650.jpg', '/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_53_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_43_9590.jpg
/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_34_9651.jpg
/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_24_10636.jpg
/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_13_9660.jpg
/home/nano/Desktop/images/12072025/12/35/image_12072025_12_36_04_10650.jpg
/home/nano/Desktop/images/12072025/12/35/image_12072025_12_35_53_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883205","1371883202","1371883194","1371883197","1371883200","1371883196"],"photo_ids_order":["1371883194","1371883196","1371883197","1371883200","1371883202","1371883205"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e1706d9bd3992fe1017dbe97172af7a.jpg","text":"TemporaryFile(/tmp/multipartBody19510594008391589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316653519,"filename":"image_12072025_12_35_53_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21aedc4725f80799bd10d688c8c56b8e.jpg","text":"TemporaryFile(/tmp/multipartBody69416732799477142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316653519,"filename":"image_12072025_12_36_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee8134c976786342e82e661f44ec8ffd.jpg","text":"TemporaryFile(/tmp/multipartBody9005806198749974050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316653519,"filename":"image_12072025_12_36_43_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/baa305837666fe984a07e71e7ea9d420.jpg","text":"TemporaryFile(/tmp/multipartBody4600244508145792573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316653519,"filename":"image_12072025_12_36_24_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60d98939d22c791683af3dd2487e332f.jpg","text":"TemporaryFile(/tmp/multipartBody5641043024514690126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316653519,"filename":"image_12072025_12_36_13_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25acdea0f7d270f0cfc2d7e628df9aaa.jpg","text":"TemporaryFile(/tmp/multipartBody8579628697944850302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316653519,"filename":"image_12072025_12_36_34_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883197","file1":"1371883196","file0":"1371883194","file4":"1371883202","file5":"1371883205","file3":"1371883200"},"map_files_photo_id_array":[{"photo_id":"1371883205","filename":"file5"},{"photo_id":"1371883197","filename":"file2"},{"photo_id":"1371883202","filename":"file4"},{"photo_id":"1371883196","filename":"file1"},{"photo_id":"1371883194","filename":"file0"},{"photo_id":"1371883200","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883205":["hashtag1","hashtag2"]},{"1371883202":["hashtag1","hashtag2"]},{"1371883194":["hashtag1","hashtag2"]},{"1371883197":["hashtag1","hashtag2"]},{"1371883200":["hashtag1","hashtag2"]},{"1371883196":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883205, 1371883202, 1371883194, 1371883197, 1371883200, 1371883196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.431617259979248 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:37:17.066617
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_33_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_24_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_13_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/12/36/image_12072025_12_37_04_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_54_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_43_9645.jpg', '/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_33_9631.jpg', '/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_24_10623.jpg', '/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_13_9645.jpg', '/home/nano/Desktop/images/12072025/12/36/image_12072025_12_37_04_9651.jpg', '/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_54_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_43_9645.jpg
/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_33_9631.jpg
/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_24_10623.jpg
/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_13_9645.jpg
/home/nano/Desktop/images/12072025/12/36/image_12072025_12_37_04_9651.jpg
/home/nano/Desktop/images/12072025/12/36/image_12072025_12_36_54_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883211","1371883214","1371883216","1371883213","1371883212","1371883215"],"photo_ids_order":["1371883211","1371883212","1371883213","1371883214","1371883215","1371883216"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d34eed43722aefaf1239936428f8e3c5.jpg","text":"TemporaryFile(/tmp/multipartBody8269393423083694195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316698878,"filename":"image_12072025_12_37_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2abc81786431589ac22ee28b295d0cd5.jpg","text":"TemporaryFile(/tmp/multipartBody2009247679965663768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316698878,"filename":"image_12072025_12_37_13_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06b5f4f47fbcbf3c091480df3af01f62.jpg","text":"TemporaryFile(/tmp/multipartBody6942419511282058307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316698878,"filename":"image_12072025_12_36_54_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d855d42a3725b706476bd21d6b63d669.jpg","text":"TemporaryFile(/tmp/multipartBody2667428860252212816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316698878,"filename":"image_12072025_12_37_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09c1559247b6d906e04bafe58f7c76a2.jpg","text":"TemporaryFile(/tmp/multipartBody8561094837320395163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316698878,"filename":"image_12072025_12_37_33_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca0f344179c4b9a67ac172059a5e9df2.jpg","text":"TemporaryFile(/tmp/multipartBody7834306525366367572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316698878,"filename":"image_12072025_12_37_04_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883213","file1":"1371883212","file0":"1371883211","file4":"1371883215","file5":"1371883216","file3":"1371883214"},"map_files_photo_id_array":[{"photo_id":"1371883216","filename":"file5"},{"photo_id":"1371883213","filename":"file2"},{"photo_id":"1371883215","filename":"file4"},{"photo_id":"1371883212","filename":"file1"},{"photo_id":"1371883211","filename":"file0"},{"photo_id":"1371883214","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883211":["hashtag1","hashtag2"]},{"1371883214":["hashtag1","hashtag2"]},{"1371883216":["hashtag1","hashtag2"]},{"1371883213":["hashtag1","hashtag2"]},{"1371883212":["hashtag1","hashtag2"]},{"1371883215":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883211, 1371883214, 1371883216, 1371883213, 1371883212, 1371883215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.618255853652954 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:38:02.575053
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_14_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/18/57/image_10072025_18_58_03_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/18/57/image_10072025_18_57_44_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/18/57/image_10072025_18_57_33_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/18/57/image_10072025_18_57_24_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/18/56/image_10072025_18_57_03_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_14_10663.jpg', '/home/nano/Desktop/images/10072025/18/57/image_10072025_18_58_03_9656.jpg', '/home/nano/Desktop/images/10072025/18/57/image_10072025_18_57_44_10638.jpg', '/home/nano/Desktop/images/10072025/18/57/image_10072025_18_57_33_9630.jpg', '/home/nano/Desktop/images/10072025/18/57/image_10072025_18_57_24_10640.jpg', '/home/nano/Desktop/images/10072025/18/56/image_10072025_18_57_03_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/58/image_10072025_18_58_14_10663.jpg
/home/nano/Desktop/images/10072025/18/57/image_10072025_18_58_03_9656.jpg
/home/nano/Desktop/images/10072025/18/57/image_10072025_18_57_44_10638.jpg
/home/nano/Desktop/images/10072025/18/57/image_10072025_18_57_33_9630.jpg
/home/nano/Desktop/images/10072025/18/57/image_10072025_18_57_24_10640.jpg
/home/nano/Desktop/images/10072025/18/56/image_10072025_18_57_03_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883223","1371883226","1371883229","1371883231","1371883230","1371883227"],"photo_ids_order":["1371883223","1371883226","1371883227","1371883229","1371883230","1371883231"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe280b308847402f7828fc9fc51b8a46.jpg","text":"TemporaryFile(/tmp/multipartBody2565830144007218627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316745623,"filename":"image_10072025_18_58_14_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed136a7135a847ca69737af989c3e245.jpg","text":"TemporaryFile(/tmp/multipartBody6357950594149148811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316745623,"filename":"image_10072025_18_58_03_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d54d80ca7fbb5dbefb43ca676a1cb11.jpg","text":"TemporaryFile(/tmp/multipartBody7539877757406776081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316745623,"filename":"image_10072025_18_57_33_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dad6ac98bb6343d4419b932fa7cf0c98.jpg","text":"TemporaryFile(/tmp/multipartBody1232165323972289919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316745623,"filename":"image_10072025_18_57_03_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f134a434adec8066a71edad6d13ea2fa.jpg","text":"TemporaryFile(/tmp/multipartBody5544530726641965444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316745623,"filename":"image_10072025_18_57_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b63c2c8d6131f2bb992f5765723b2ebd.jpg","text":"TemporaryFile(/tmp/multipartBody9081006366663729256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316745623,"filename":"image_10072025_18_57_44_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883227","file1":"1371883226","file0":"1371883223","file4":"1371883230","file5":"1371883231","file3":"1371883229"},"map_files_photo_id_array":[{"photo_id":"1371883231","filename":"file5"},{"photo_id":"1371883227","filename":"file2"},{"photo_id":"1371883230","filename":"file4"},{"photo_id":"1371883226","filename":"file1"},{"photo_id":"1371883223","filename":"file0"},{"photo_id":"1371883229","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371883223":["hashtag1","hashtag2"]},{"1371883226":["hashtag1","hashtag2"]},{"1371883229":["hashtag1","hashtag2"]},{"1371883231":["hashtag1","hashtag2"]},{"1371883230":["hashtag1","hashtag2"]},{"1371883227":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371883223, 1371883226, 1371883229, 1371883231, 1371883230, 1371883227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2179479598999 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:38:47.228991
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_44_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_33_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_24_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/12/37/image_12072025_12_38_03_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_54_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_44_10629.jpg', '/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_33_9630.jpg', '/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_24_9644.jpg', '/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_14_10639.jpg', '/home/nano/Desktop/images/12072025/12/37/image_12072025_12_38_03_9647.jpg', '/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_54_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_44_10629.jpg
/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_33_9630.jpg
/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_24_9644.jpg
/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_14_10639.jpg
/home/nano/Desktop/images/12072025/12/37/image_12072025_12_38_03_9647.jpg
/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_54_10642.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8770554065704346 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:39:03.121718
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_44_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_33_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_24_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/12/37/image_12072025_12_38_03_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_54_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_44_10629.jpg', '/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_33_9630.jpg', '/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_24_9644.jpg', '/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_14_10639.jpg', '/home/nano/Desktop/images/12072025/12/37/image_12072025_12_38_03_9647.jpg', '/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_54_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_44_10629.jpg
/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_33_9630.jpg
/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_24_9644.jpg
/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_14_10639.jpg
/home/nano/Desktop/images/12072025/12/37/image_12072025_12_38_03_9647.jpg
/home/nano/Desktop/images/12072025/12/37/image_12072025_12_37_54_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883241","1371883250","1371883244","1371883247","1371883252","1371883249"],"photo_ids_order":["1371883241","1371883244","1371883247","1371883249","1371883250","1371883252"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ab5b58a640c5f9193d99df2df8fc0d8.jpg","text":"TemporaryFile(/tmp/multipartBody3757930678657679207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316804924,"filename":"image_12072025_12_38_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c4039c60d53a2e6ca7d1cfdc2995703.jpg","text":"TemporaryFile(/tmp/multipartBody1420770546102367160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316804924,"filename":"image_12072025_12_38_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ccf2825af477ed8c752f6c376910ea71.jpg","text":"TemporaryFile(/tmp/multipartBody3344562780371626048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316804924,"filename":"image_12072025_12_38_33_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/743bb043799a782f53a92130c2d47330.jpg","text":"TemporaryFile(/tmp/multipartBody5390094235537091081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316804924,"filename":"image_12072025_12_38_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/577200d88426f26212d652bbed7ff226.jpg","text":"TemporaryFile(/tmp/multipartBody2338702132230422947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316804924,"filename":"image_12072025_12_37_54_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9abbc6fafc4b794d66ccb81d66ccb820.jpg","text":"TemporaryFile(/tmp/multipartBody5087782536406450706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316804924,"filename":"image_12072025_12_38_14_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883247","file1":"1371883244","file0":"1371883241","file4":"1371883250","file5":"1371883252","file3":"1371883249"},"map_files_photo_id_array":[{"photo_id":"1371883252","filename":"file5"},{"photo_id":"1371883247","filename":"file2"},{"photo_id":"1371883250","filename":"file4"},{"photo_id":"1371883244","filename":"file1"},{"photo_id":"1371883241","filename":"file0"},{"photo_id":"1371883249","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883241":["hashtag1","hashtag2"]},{"1371883250":["hashtag1","hashtag2"]},{"1371883244":["hashtag1","hashtag2"]},{"1371883247":["hashtag1","hashtag2"]},{"1371883252":["hashtag1","hashtag2"]},{"1371883249":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883241, 1371883250, 1371883244, 1371883247, 1371883252, 1371883249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.878141164779663 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:39:47.331052
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_44_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_33_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_24_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/12/38/image_12072025_12_39_03_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_54_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_44_10644.jpg', '/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_33_9626.jpg', '/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_24_9625.jpg', '/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_14_10667.jpg', '/home/nano/Desktop/images/12072025/12/38/image_12072025_12_39_03_9638.jpg', '/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_44_10644.jpg
/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_33_9626.jpg
/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_24_9625.jpg
/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_14_10667.jpg
/home/nano/Desktop/images/12072025/12/38/image_12072025_12_39_03_9638.jpg
/home/nano/Desktop/images/12072025/12/38/image_12072025_12_38_54_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883283","1371883279","1371883288","1371883293","1371883275","1371883286"],"photo_ids_order":["1371883275","1371883279","1371883283","1371883286","1371883288","1371883293"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65f5f7d4f528f75b14423b9173bf73c9.jpg","text":"TemporaryFile(/tmp/multipartBody488502784494232010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316848648,"filename":"image_12072025_12_39_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8463a78777d9b660933efb843aecf679.jpg","text":"TemporaryFile(/tmp/multipartBody8979102786123624858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316848648,"filename":"image_12072025_12_39_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17ef5ee3c4a077096d7b3c62e60c9006.jpg","text":"TemporaryFile(/tmp/multipartBody3961577065628860892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316848648,"filename":"image_12072025_12_39_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/803359d29ffb16d3b4fc20d6ea7b35ed.jpg","text":"TemporaryFile(/tmp/multipartBody2277497468829872601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316848648,"filename":"image_12072025_12_38_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b766a2c01ae3efd02d1f2f68b40acbf.jpg","text":"TemporaryFile(/tmp/multipartBody3431136095812148884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316848648,"filename":"image_12072025_12_39_44_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4725342b33010934c1f02c852585824e.jpg","text":"TemporaryFile(/tmp/multipartBody1103152707584688910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316848648,"filename":"image_12072025_12_39_14_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883283","file1":"1371883279","file0":"1371883275","file4":"1371883288","file5":"1371883293","file3":"1371883286"},"map_files_photo_id_array":[{"photo_id":"1371883293","filename":"file5"},{"photo_id":"1371883283","filename":"file2"},{"photo_id":"1371883288","filename":"file4"},{"photo_id":"1371883279","filename":"file1"},{"photo_id":"1371883275","filename":"file0"},{"photo_id":"1371883286","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883283":["hashtag1","hashtag2"]},{"1371883279":["hashtag1","hashtag2"]},{"1371883288":["hashtag1","hashtag2"]},{"1371883293":["hashtag1","hashtag2"]},{"1371883275":["hashtag1","hashtag2"]},{"1371883286":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883283, 1371883279, 1371883288, 1371883293, 1371883275, 1371883286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.695252418518066 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:40:32.463637
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_14_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/12/39/image_12072025_12_40_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_53_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_44_9616.jpg', '/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_34_10620.jpg', '/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_23_9616.jpg', '/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_14_10647.jpg', '/home/nano/Desktop/images/12072025/12/39/image_12072025_12_40_03_9646.jpg', '/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_53_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_44_9616.jpg
/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_34_10620.jpg
/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_23_9616.jpg
/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_14_10647.jpg
/home/nano/Desktop/images/12072025/12/39/image_12072025_12_40_03_9646.jpg
/home/nano/Desktop/images/12072025/12/39/image_12072025_12_39_53_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883304","1371883297","1371883299","1371883298","1371883302","1371883305"],"photo_ids_order":["1371883297","1371883298","1371883299","1371883302","1371883304","1371883305"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/260517d2acda4609b2ce9c5220841817.jpg","text":"TemporaryFile(/tmp/multipartBody1412664867301659181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316894176,"filename":"image_12072025_12_40_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d1bdc298381fce4d9dcfd879c1822d8.jpg","text":"TemporaryFile(/tmp/multipartBody6128020744738587727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316894176,"filename":"image_12072025_12_40_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7259e8c2b9728c9cc8493a73a8c410aa.jpg","text":"TemporaryFile(/tmp/multipartBody3493532462919957689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316894176,"filename":"image_12072025_12_40_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0308c8969b3f20dd09dd4bcc135643a8.jpg","text":"TemporaryFile(/tmp/multipartBody269513152434795302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316894176,"filename":"image_12072025_12_40_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b5e0b5d4a62a45bd5f3f4006b45d8c3.jpg","text":"TemporaryFile(/tmp/multipartBody4328228907394077799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316894176,"filename":"image_12072025_12_40_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/083a46b49250853c12d24cb9898fe7cc.jpg","text":"TemporaryFile(/tmp/multipartBody4074654737482877494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316894176,"filename":"image_12072025_12_39_53_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883299","file1":"1371883298","file0":"1371883297","file4":"1371883304","file5":"1371883305","file3":"1371883302"},"map_files_photo_id_array":[{"photo_id":"1371883305","filename":"file5"},{"photo_id":"1371883299","filename":"file2"},{"photo_id":"1371883304","filename":"file4"},{"photo_id":"1371883298","filename":"file1"},{"photo_id":"1371883297","filename":"file0"},{"photo_id":"1371883302","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883304":["hashtag1","hashtag2"]},{"1371883297":["hashtag1","hashtag2"]},{"1371883299":["hashtag1","hashtag2"]},{"1371883298":["hashtag1","hashtag2"]},{"1371883302":["hashtag1","hashtag2"]},{"1371883305":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883304, 1371883297, 1371883299, 1371883298, 1371883302, 1371883305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82375741004944 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:41:17.561812
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_43_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_34_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_23_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_13_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/12/40/image_12072025_12_41_04_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_53_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_43_9601.jpg', '/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_34_10626.jpg', '/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_23_9626.jpg', '/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_13_9621.jpg', '/home/nano/Desktop/images/12072025/12/40/image_12072025_12_41_04_10634.jpg', '/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_53_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_43_9601.jpg
/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_34_10626.jpg
/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_23_9626.jpg
/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_13_9621.jpg
/home/nano/Desktop/images/12072025/12/40/image_12072025_12_41_04_10634.jpg
/home/nano/Desktop/images/12072025/12/40/image_12072025_12_40_53_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883316","1371883313","1371883315","1371883312","1371883311","1371883314"],"photo_ids_order":["1371883311","1371883312","1371883313","1371883314","1371883315","1371883316"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13d04056296ccf3ee55b6723071993f3.jpg","text":"TemporaryFile(/tmp/multipartBody7943402477763700089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316939209,"filename":"image_12072025_12_40_53_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb1843d164b804ff695a7be19b0a7ee6.jpg","text":"TemporaryFile(/tmp/multipartBody5919529197615811334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316939209,"filename":"image_12072025_12_41_23_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7540fcba39f69c7f5444f9e897f940fb.jpg","text":"TemporaryFile(/tmp/multipartBody6516430191267422555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316939209,"filename":"image_12072025_12_41_04_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ecab0f8a42c1e1776fd676d04b9601b4.jpg","text":"TemporaryFile(/tmp/multipartBody1968927107808282481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316939209,"filename":"image_12072025_12_41_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/368dd6fb287dd3c33450357c10e89767.jpg","text":"TemporaryFile(/tmp/multipartBody8688983424905577131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316939209,"filename":"image_12072025_12_41_43_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d370c19aec62c84fd56aad4296912fe3.jpg","text":"TemporaryFile(/tmp/multipartBody7971820426565337099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316939209,"filename":"image_12072025_12_41_13_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883313","file1":"1371883312","file0":"1371883311","file4":"1371883315","file5":"1371883316","file3":"1371883314"},"map_files_photo_id_array":[{"photo_id":"1371883316","filename":"file5"},{"photo_id":"1371883313","filename":"file2"},{"photo_id":"1371883315","filename":"file4"},{"photo_id":"1371883312","filename":"file1"},{"photo_id":"1371883311","filename":"file0"},{"photo_id":"1371883314","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883316":["hashtag1","hashtag2"]},{"1371883313":["hashtag1","hashtag2"]},{"1371883315":["hashtag1","hashtag2"]},{"1371883312":["hashtag1","hashtag2"]},{"1371883311":["hashtag1","hashtag2"]},{"1371883314":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883316, 1371883313, 1371883315, 1371883312, 1371883311, 1371883314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.850666999816895 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:42:03.186676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/56/image_10072025_18_56_54_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/18/56/image_10072025_18_56_34_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/18/56/image_10072025_18_56_24_10648.jpg', 2), ('/home/nano/Desktop/images/10072025/18/55/image_10072025_18_55_54_10644.jpg', 2), ('/home/nano/Desktop/images/10072025/18/55/image_10072025_18_55_43_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/18/55/image_10072025_18_55_34_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/56/image_10072025_18_56_54_10641.jpg', '/home/nano/Desktop/images/10072025/18/56/image_10072025_18_56_34_9649.jpg', '/home/nano/Desktop/images/10072025/18/56/image_10072025_18_56_24_10648.jpg', '/home/nano/Desktop/images/10072025/18/55/image_10072025_18_55_54_10644.jpg', '/home/nano/Desktop/images/10072025/18/55/image_10072025_18_55_43_9655.jpg', '/home/nano/Desktop/images/10072025/18/55/image_10072025_18_55_34_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/56/image_10072025_18_56_54_10641.jpg
/home/nano/Desktop/images/10072025/18/56/image_10072025_18_56_34_9649.jpg
/home/nano/Desktop/images/10072025/18/56/image_10072025_18_56_24_10648.jpg
/home/nano/Desktop/images/10072025/18/55/image_10072025_18_55_54_10644.jpg
/home/nano/Desktop/images/10072025/18/55/image_10072025_18_55_43_9655.jpg
/home/nano/Desktop/images/10072025/18/55/image_10072025_18_55_34_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883325","1371883319","1371883327","1371883321","1371883318","1371883323"],"photo_ids_order":["1371883318","1371883319","1371883321","1371883323","1371883325","1371883327"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28e4b43edc57d170b3ec093311ef2272.jpg","text":"TemporaryFile(/tmp/multipartBody924541647574094226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316986216,"filename":"image_10072025_18_55_43_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7fe35b4e392e5952781d820f31940c8.jpg","text":"TemporaryFile(/tmp/multipartBody1415690543410650422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316986216,"filename":"image_10072025_18_56_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2823028fbc4c1825d41b66665a6f1c5.jpg","text":"TemporaryFile(/tmp/multipartBody2514183927514248575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316986216,"filename":"image_10072025_18_55_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83f139b98fe117708fae9b885ed6dcd5.jpg","text":"TemporaryFile(/tmp/multipartBody1800504712254223347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316986216,"filename":"image_10072025_18_56_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9af59054ad4f119c83ab1d6d64dffcc.jpg","text":"TemporaryFile(/tmp/multipartBody4179608638381654847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316986216,"filename":"image_10072025_18_56_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81564427347542923cc4ae6f4a27ea6f.jpg","text":"TemporaryFile(/tmp/multipartBody2650368802058348623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752316986216,"filename":"image_10072025_18_55_54_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883321","file1":"1371883319","file0":"1371883318","file4":"1371883325","file5":"1371883327","file3":"1371883323"},"map_files_photo_id_array":[{"photo_id":"1371883327","filename":"file5"},{"photo_id":"1371883321","filename":"file2"},{"photo_id":"1371883325","filename":"file4"},{"photo_id":"1371883319","filename":"file1"},{"photo_id":"1371883318","filename":"file0"},{"photo_id":"1371883323","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371883325":["hashtag1","hashtag2"]},{"1371883319":["hashtag1","hashtag2"]},{"1371883327":["hashtag1","hashtag2"]},{"1371883321":["hashtag1","hashtag2"]},{"1371883318":["hashtag1","hashtag2"]},{"1371883323":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371883325, 1371883319, 1371883327, 1371883321, 1371883318, 1371883323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.813857316970825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:42:47.655026
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_24_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_13_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/12/41/image_12072025_12_42_04_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_44_10621.jpg', '/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_33_9615.jpg', '/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_24_10616.jpg', '/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_13_9637.jpg', '/home/nano/Desktop/images/12072025/12/41/image_12072025_12_42_04_9637.jpg', '/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_44_10621.jpg
/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_33_9615.jpg
/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_24_10616.jpg
/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_13_9637.jpg
/home/nano/Desktop/images/12072025/12/41/image_12072025_12_42_04_9637.jpg
/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_54_10622.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5460269451141357 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:43:02.318161
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_24_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_13_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/12/41/image_12072025_12_42_04_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_44_10621.jpg', '/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_33_9615.jpg', '/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_24_10616.jpg', '/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_13_9637.jpg', '/home/nano/Desktop/images/12072025/12/41/image_12072025_12_42_04_9637.jpg', '/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_44_10621.jpg
/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_33_9615.jpg
/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_24_10616.jpg
/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_13_9637.jpg
/home/nano/Desktop/images/12072025/12/41/image_12072025_12_42_04_9637.jpg
/home/nano/Desktop/images/12072025/12/41/image_12072025_12_41_54_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883340","1371883343","1371883345","1371883342","1371883344","1371883347"],"photo_ids_order":["1371883340","1371883342","1371883343","1371883344","1371883345","1371883347"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8edf025bff6cd297822db8e395f77d99.jpg","text":"TemporaryFile(/tmp/multipartBody3675996199348896171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317043993,"filename":"image_12072025_12_42_44_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f92e29aa2ec8dabc7c2a362850a20b92.jpg","text":"TemporaryFile(/tmp/multipartBody584057963827576633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317043993,"filename":"image_12072025_12_42_24_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73775e11d9439453af685071e205a04a.jpg","text":"TemporaryFile(/tmp/multipartBody4879899122199381963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317043993,"filename":"image_12072025_12_42_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ec4d7cd77b8a5e80eecd58e8cf79f78.jpg","text":"TemporaryFile(/tmp/multipartBody2478088174656660367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317043993,"filename":"image_12072025_12_42_33_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0af4fecb7f81048e252877fda1bb23ea.jpg","text":"TemporaryFile(/tmp/multipartBody917436310657460157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317043993,"filename":"image_12072025_12_42_13_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3bbd053191dc827ebf5d83ebd4a17da4.jpg","text":"TemporaryFile(/tmp/multipartBody1835251804029407808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317043993,"filename":"image_12072025_12_41_54_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883343","file1":"1371883342","file0":"1371883340","file4":"1371883345","file5":"1371883347","file3":"1371883344"},"map_files_photo_id_array":[{"photo_id":"1371883347","filename":"file5"},{"photo_id":"1371883343","filename":"file2"},{"photo_id":"1371883345","filename":"file4"},{"photo_id":"1371883342","filename":"file1"},{"photo_id":"1371883340","filename":"file0"},{"photo_id":"1371883344","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883340":["hashtag1","hashtag2"]},{"1371883343":["hashtag1","hashtag2"]},{"1371883345":["hashtag1","hashtag2"]},{"1371883342":["hashtag1","hashtag2"]},{"1371883344":["hashtag1","hashtag2"]},{"1371883347":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883340, 1371883343, 1371883345, 1371883342, 1371883344, 1371883347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67472314834595 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:43:46.776568
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_44_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_33_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_24_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_14_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/12/42/image_12072025_12_43_03_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_54_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_44_10626.jpg', '/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_33_9609.jpg', '/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_24_9612.jpg', '/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_14_10656.jpg', '/home/nano/Desktop/images/12072025/12/42/image_12072025_12_43_03_9637.jpg', '/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_44_10626.jpg
/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_33_9609.jpg
/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_24_9612.jpg
/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_14_10656.jpg
/home/nano/Desktop/images/12072025/12/42/image_12072025_12_43_03_9637.jpg
/home/nano/Desktop/images/12072025/12/42/image_12072025_12_42_54_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883361","1371883364","1371883358","1371883363","1371883356","1371883359"],"photo_ids_order":["1371883356","1371883358","1371883359","1371883361","1371883363","1371883364"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a167a14392ba5a8bb4fb9b56bc16ec88.jpg","text":"TemporaryFile(/tmp/multipartBody4191877980218937057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317088512,"filename":"image_12072025_12_43_14_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b36a70fddcb5bae4bea005d2e499e91.jpg","text":"TemporaryFile(/tmp/multipartBody1477245943510443741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317088512,"filename":"image_12072025_12_42_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a49f4735b60198f56351749315b91364.jpg","text":"TemporaryFile(/tmp/multipartBody567250829135668010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317088512,"filename":"image_12072025_12_43_33_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95c688af333a0fee9ab980afeae4a781.jpg","text":"TemporaryFile(/tmp/multipartBody4002998168680195788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317088512,"filename":"image_12072025_12_43_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f2a924ae11aa389b7fba56ef03469c3.jpg","text":"TemporaryFile(/tmp/multipartBody575727916616498458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317088512,"filename":"image_12072025_12_43_44_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1e8eaa83d13e05d126d1029b5aa8385.jpg","text":"TemporaryFile(/tmp/multipartBody4160894715216206326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317088512,"filename":"image_12072025_12_43_24_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883359","file1":"1371883358","file0":"1371883356","file4":"1371883363","file5":"1371883364","file3":"1371883361"},"map_files_photo_id_array":[{"photo_id":"1371883364","filename":"file5"},{"photo_id":"1371883359","filename":"file2"},{"photo_id":"1371883363","filename":"file4"},{"photo_id":"1371883358","filename":"file1"},{"photo_id":"1371883356","filename":"file0"},{"photo_id":"1371883361","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883361":["hashtag1","hashtag2"]},{"1371883364":["hashtag1","hashtag2"]},{"1371883358":["hashtag1","hashtag2"]},{"1371883363":["hashtag1","hashtag2"]},{"1371883356":["hashtag1","hashtag2"]},{"1371883359":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883361, 1371883364, 1371883358, 1371883363, 1371883356, 1371883359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34869742393494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:44:31.891678
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_44_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_34_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_23_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_14_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/12/43/image_12072025_12_44_04_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_53_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_44_9621.jpg', '/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_34_10630.jpg', '/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_23_9629.jpg', '/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_14_9622.jpg', '/home/nano/Desktop/images/12072025/12/43/image_12072025_12_44_04_10651.jpg', '/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_53_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_44_9621.jpg
/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_34_10630.jpg
/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_23_9629.jpg
/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_14_9622.jpg
/home/nano/Desktop/images/12072025/12/43/image_12072025_12_44_04_10651.jpg
/home/nano/Desktop/images/12072025/12/43/image_12072025_12_43_53_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883375","1371883369","1371883377","1371883371","1371883379","1371883373"],"photo_ids_order":["1371883369","1371883371","1371883373","1371883375","1371883377","1371883379"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21c73fc3a99c8a30d441f5057d2b9168.jpg","text":"TemporaryFile(/tmp/multipartBody4415846389583281784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317134112,"filename":"image_12072025_12_44_14_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6032a1dee802bb0849e0e570ed51f2f.jpg","text":"TemporaryFile(/tmp/multipartBody5523164905906257567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317134112,"filename":"image_12072025_12_44_44_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e72bb206bb244fe2b1fe8d6e25e644c.jpg","text":"TemporaryFile(/tmp/multipartBody384476930164726338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317134112,"filename":"image_12072025_12_44_04_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd7f5f7831bb8394c45c70bd5d9b8d0d.jpg","text":"TemporaryFile(/tmp/multipartBody6049473102140601369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317134112,"filename":"image_12072025_12_44_34_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/770a4b87fa2688500ca0a744f0c8dc76.jpg","text":"TemporaryFile(/tmp/multipartBody1955993552901687961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317134112,"filename":"image_12072025_12_43_53_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/916fc007fa050a3c08f204f56bb02262.jpg","text":"TemporaryFile(/tmp/multipartBody4125228522385532713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317134112,"filename":"image_12072025_12_44_23_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883373","file1":"1371883371","file0":"1371883369","file4":"1371883377","file5":"1371883379","file3":"1371883375"},"map_files_photo_id_array":[{"photo_id":"1371883379","filename":"file5"},{"photo_id":"1371883373","filename":"file2"},{"photo_id":"1371883377","filename":"file4"},{"photo_id":"1371883371","filename":"file1"},{"photo_id":"1371883369","filename":"file0"},{"photo_id":"1371883375","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883375":["hashtag1","hashtag2"]},{"1371883369":["hashtag1","hashtag2"]},{"1371883377":["hashtag1","hashtag2"]},{"1371883371":["hashtag1","hashtag2"]},{"1371883379":["hashtag1","hashtag2"]},{"1371883373":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883375, 1371883369, 1371883377, 1371883371, 1371883379, 1371883373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.053152561187744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:45:17.022597
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_43_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_34_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_24_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_13_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/12/44/image_12072025_12_45_04_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_43_9603.jpg', '/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_34_9606.jpg', '/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_24_10613.jpg', '/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_13_9617.jpg', '/home/nano/Desktop/images/12072025/12/44/image_12072025_12_45_04_10625.jpg', '/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_43_9603.jpg
/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_34_9606.jpg
/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_24_10613.jpg
/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_13_9617.jpg
/home/nano/Desktop/images/12072025/12/44/image_12072025_12_45_04_10625.jpg
/home/nano/Desktop/images/12072025/12/44/image_12072025_12_44_53_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883382","1371883384","1371883392","1371883391","1371883385","1371883388"],"photo_ids_order":["1371883382","1371883384","1371883385","1371883388","1371883391","1371883392"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/065cf7427d419401af9f22577e7d6127.jpg","text":"TemporaryFile(/tmp/multipartBody4278053937728838144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317178737,"filename":"image_12072025_12_45_43_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0294d33bfc097eae65e11ec69a86665.jpg","text":"TemporaryFile(/tmp/multipartBody5802391571827871325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317178737,"filename":"image_12072025_12_45_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3efd58d5d4a4a25f52c2891adb3a260d.jpg","text":"TemporaryFile(/tmp/multipartBody9162314632518914309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317178737,"filename":"image_12072025_12_44_53_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c46c2a16eb57ba30ddaf445d724fda0.jpg","text":"TemporaryFile(/tmp/multipartBody105019951962243266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317178737,"filename":"image_12072025_12_45_04_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92a4b138c029da512a63b4259a386245.jpg","text":"TemporaryFile(/tmp/multipartBody4710779129271718050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317178737,"filename":"image_12072025_12_45_24_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8002eb8bc4898e00ee9fba2058b4a1d.jpg","text":"TemporaryFile(/tmp/multipartBody4973746701226006464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317178737,"filename":"image_12072025_12_45_13_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883385","file1":"1371883384","file0":"1371883382","file4":"1371883391","file5":"1371883392","file3":"1371883388"},"map_files_photo_id_array":[{"photo_id":"1371883392","filename":"file5"},{"photo_id":"1371883385","filename":"file2"},{"photo_id":"1371883391","filename":"file4"},{"photo_id":"1371883384","filename":"file1"},{"photo_id":"1371883382","filename":"file0"},{"photo_id":"1371883388","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883382":["hashtag1","hashtag2"]},{"1371883384":["hashtag1","hashtag2"]},{"1371883392":["hashtag1","hashtag2"]},{"1371883391":["hashtag1","hashtag2"]},{"1371883385":["hashtag1","hashtag2"]},{"1371883388":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883382, 1371883384, 1371883392, 1371883391, 1371883385, 1371883388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.643900632858276 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:46:02.457238
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/55/image_10072025_18_55_24_10668.jpg', 2), ('/home/nano/Desktop/images/10072025/18/54/image_10072025_18_55_04_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/18/54/image_10072025_18_54_54_10650.jpg', 2), ('/home/nano/Desktop/images/10072025/18/54/image_10072025_18_54_43_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/18/53/image_10072025_18_54_04_10648.jpg', 2), ('/home/nano/Desktop/images/10072025/18/53/image_10072025_18_53_23_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/55/image_10072025_18_55_24_10668.jpg', '/home/nano/Desktop/images/10072025/18/54/image_10072025_18_55_04_9650.jpg', '/home/nano/Desktop/images/10072025/18/54/image_10072025_18_54_54_10650.jpg', '/home/nano/Desktop/images/10072025/18/54/image_10072025_18_54_43_9635.jpg', '/home/nano/Desktop/images/10072025/18/53/image_10072025_18_54_04_10648.jpg', '/home/nano/Desktop/images/10072025/18/53/image_10072025_18_53_23_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/55/image_10072025_18_55_24_10668.jpg
/home/nano/Desktop/images/10072025/18/54/image_10072025_18_55_04_9650.jpg
/home/nano/Desktop/images/10072025/18/54/image_10072025_18_54_54_10650.jpg
/home/nano/Desktop/images/10072025/18/54/image_10072025_18_54_43_9635.jpg
/home/nano/Desktop/images/10072025/18/53/image_10072025_18_54_04_10648.jpg
/home/nano/Desktop/images/10072025/18/53/image_10072025_18_53_23_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883403","1371883409","1371883408","1371883405","1371883410","1371883407"],"photo_ids_order":["1371883403","1371883405","1371883407","1371883408","1371883409","1371883410"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0fe477977e05a5be5ab634de0c7a9eaa.jpg","text":"TemporaryFile(/tmp/multipartBody6929137779688012575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317225593,"filename":"image_10072025_18_55_24_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6e30e921b76cf7d381d539ea0f28ea9.jpg","text":"TemporaryFile(/tmp/multipartBody2010855995361509255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317225593,"filename":"image_10072025_18_54_04_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42609a49ad580d9c0b52e5ca8bf37afc.jpg","text":"TemporaryFile(/tmp/multipartBody1613954611862018029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317225593,"filename":"image_10072025_18_54_43_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a17a0796e7d9f889bbe14cc62c4269ae.jpg","text":"TemporaryFile(/tmp/multipartBody3200287825487846603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317225593,"filename":"image_10072025_18_55_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/472330034933e23dd5b47492f63ba57c.jpg","text":"TemporaryFile(/tmp/multipartBody2291084892053361436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317225593,"filename":"image_10072025_18_53_23_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fad9085dc60bc0e4fcd012121e3daa8.jpg","text":"TemporaryFile(/tmp/multipartBody6392521609982059145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317225593,"filename":"image_10072025_18_54_54_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883407","file1":"1371883405","file0":"1371883403","file4":"1371883409","file5":"1371883410","file3":"1371883408"},"map_files_photo_id_array":[{"photo_id":"1371883410","filename":"file5"},{"photo_id":"1371883407","filename":"file2"},{"photo_id":"1371883409","filename":"file4"},{"photo_id":"1371883405","filename":"file1"},{"photo_id":"1371883403","filename":"file0"},{"photo_id":"1371883408","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371883403":["hashtag1","hashtag2"]},{"1371883409":["hashtag1","hashtag2"]},{"1371883408":["hashtag1","hashtag2"]},{"1371883405":["hashtag1","hashtag2"]},{"1371883410":["hashtag1","hashtag2"]},{"1371883407":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371883403, 1371883409, 1371883408, 1371883405, 1371883410, 1371883407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98033571243286 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:46:47.072452
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_44_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_33_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_24_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_13_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/12/45/image_12072025_12_46_04_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_54_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_44_10639.jpg', '/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_33_9634.jpg', '/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_24_10643.jpg', '/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_13_9619.jpg', '/home/nano/Desktop/images/12072025/12/45/image_12072025_12_46_04_9599.jpg', '/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_54_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_44_10639.jpg
/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_33_9634.jpg
/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_24_10643.jpg
/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_13_9619.jpg
/home/nano/Desktop/images/12072025/12/45/image_12072025_12_46_04_9599.jpg
/home/nano/Desktop/images/12072025/12/45/image_12072025_12_45_54_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883412","1371883414","1371883417","1371883422","1371883419","1371883416"],"photo_ids_order":["1371883412","1371883414","1371883416","1371883417","1371883419","1371883422"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3cf1068346d5fd88a578101546140257.jpg","text":"TemporaryFile(/tmp/multipartBody2673969867556784734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317268898,"filename":"image_12072025_12_46_44_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66ea4e443966c9186c474a9d1c6d9313.jpg","text":"TemporaryFile(/tmp/multipartBody930022546819972016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317268898,"filename":"image_12072025_12_46_33_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/414ff4e057f3367f6aeb2e4e36353f0b.jpg","text":"TemporaryFile(/tmp/multipartBody7589620777925847255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317268898,"filename":"image_12072025_12_46_13_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ecd612adace9c2f8d3ecb62c25337a3d.jpg","text":"TemporaryFile(/tmp/multipartBody6649263249443960310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317268898,"filename":"image_12072025_12_45_54_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a17620f268c98fb3ffd7b813636776aa.jpg","text":"TemporaryFile(/tmp/multipartBody8666216596389536450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317268898,"filename":"image_12072025_12_46_04_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef7caf83b60611de4dda9e2df009d14c.jpg","text":"TemporaryFile(/tmp/multipartBody3493278802073152131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317268898,"filename":"image_12072025_12_46_24_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883416","file1":"1371883414","file0":"1371883412","file4":"1371883419","file5":"1371883422","file3":"1371883417"},"map_files_photo_id_array":[{"photo_id":"1371883422","filename":"file5"},{"photo_id":"1371883416","filename":"file2"},{"photo_id":"1371883419","filename":"file4"},{"photo_id":"1371883414","filename":"file1"},{"photo_id":"1371883412","filename":"file0"},{"photo_id":"1371883417","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883412":["hashtag1","hashtag2"]},{"1371883414":["hashtag1","hashtag2"]},{"1371883417":["hashtag1","hashtag2"]},{"1371883422":["hashtag1","hashtag2"]},{"1371883419":["hashtag1","hashtag2"]},{"1371883416":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883412, 1371883414, 1371883417, 1371883422, 1371883419, 1371883416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66702604293823 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:47:32.170582
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_44_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_33_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_24_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_14_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/12/46/image_12072025_12_47_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_44_10626.jpg', '/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_33_9614.jpg', '/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_24_9630.jpg', '/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_14_10656.jpg', '/home/nano/Desktop/images/12072025/12/46/image_12072025_12_47_03_9642.jpg', '/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_44_10626.jpg
/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_33_9614.jpg
/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_24_9630.jpg
/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_14_10656.jpg
/home/nano/Desktop/images/12072025/12/46/image_12072025_12_47_03_9642.jpg
/home/nano/Desktop/images/12072025/12/46/image_12072025_12_46_54_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883433","1371883436","1371883430","1371883427","1371883426","1371883425"],"photo_ids_order":["1371883425","1371883426","1371883427","1371883430","1371883433","1371883436"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca9a65fffa5fe81fc8348056ca338b59.jpg","text":"TemporaryFile(/tmp/multipartBody2658755136803121024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317313811,"filename":"image_12072025_12_47_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ac3375414fb3bf013a3a8c54eb9fecc.jpg","text":"TemporaryFile(/tmp/multipartBody8885033870605311105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317313811,"filename":"image_12072025_12_46_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17565ef06deee8fbca8725acdab3d8fb.jpg","text":"TemporaryFile(/tmp/multipartBody1005557617365570333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317313811,"filename":"image_12072025_12_47_14_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62f56df991906f37f20fdc91ea978a46.jpg","text":"TemporaryFile(/tmp/multipartBody7445549656077650372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317313811,"filename":"image_12072025_12_47_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ee441cbc2323f6f304c8fd341ed1a55.jpg","text":"TemporaryFile(/tmp/multipartBody6226547988125864230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317313811,"filename":"image_12072025_12_47_33_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10c05f7a02f874f67495bc1fe7c6965a.jpg","text":"TemporaryFile(/tmp/multipartBody6576838945617952469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317313811,"filename":"image_12072025_12_47_44_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883427","file1":"1371883426","file0":"1371883425","file4":"1371883433","file5":"1371883436","file3":"1371883430"},"map_files_photo_id_array":[{"photo_id":"1371883436","filename":"file5"},{"photo_id":"1371883427","filename":"file2"},{"photo_id":"1371883433","filename":"file4"},{"photo_id":"1371883426","filename":"file1"},{"photo_id":"1371883425","filename":"file0"},{"photo_id":"1371883430","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883433":["hashtag1","hashtag2"]},{"1371883436":["hashtag1","hashtag2"]},{"1371883430":["hashtag1","hashtag2"]},{"1371883427":["hashtag1","hashtag2"]},{"1371883426":["hashtag1","hashtag2"]},{"1371883425":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883433, 1371883436, 1371883430, 1371883427, 1371883426, 1371883425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.797900199890137 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:48:17.251238
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_44_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_34_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_23_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_14_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/12/47/image_12072025_12_48_03_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_53_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_44_9608.jpg', '/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_34_10614.jpg', '/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_23_9618.jpg', '/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_14_10643.jpg', '/home/nano/Desktop/images/12072025/12/47/image_12072025_12_48_03_9625.jpg', '/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_53_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_44_9608.jpg
/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_34_10614.jpg
/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_23_9618.jpg
/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_14_10643.jpg
/home/nano/Desktop/images/12072025/12/47/image_12072025_12_48_03_9625.jpg
/home/nano/Desktop/images/12072025/12/47/image_12072025_12_47_53_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883448","1371883445","1371883450","1371883443","1371883446","1371883451"],"photo_ids_order":["1371883443","1371883445","1371883446","1371883448","1371883450","1371883451"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bea5eb0d3561fdc9dc28888400d375b6.jpg","text":"TemporaryFile(/tmp/multipartBody5387531776569713395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317359164,"filename":"image_12072025_12_48_14_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1734b45328cc88d72f64ea0d77cf4fb2.jpg","text":"TemporaryFile(/tmp/multipartBody1243181888907494585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317359164,"filename":"image_12072025_12_48_34_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/434978510e4887e9cb0ebc07b4a95a47.jpg","text":"TemporaryFile(/tmp/multipartBody5596047927145412024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317359164,"filename":"image_12072025_12_48_03_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca38ea4a610bffa9b02f5e4c1e2de89b.jpg","text":"TemporaryFile(/tmp/multipartBody3389647459071413887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317359164,"filename":"image_12072025_12_48_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/066099ee6fa99f5a4d62db619597a49d.jpg","text":"TemporaryFile(/tmp/multipartBody6464494980943120559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317359164,"filename":"image_12072025_12_48_23_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf5debac4a370ebb1d22f160cfb5a77a.jpg","text":"TemporaryFile(/tmp/multipartBody2389148533792299279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317359164,"filename":"image_12072025_12_47_53_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883446","file1":"1371883445","file0":"1371883443","file4":"1371883450","file5":"1371883451","file3":"1371883448"},"map_files_photo_id_array":[{"photo_id":"1371883451","filename":"file5"},{"photo_id":"1371883446","filename":"file2"},{"photo_id":"1371883450","filename":"file4"},{"photo_id":"1371883445","filename":"file1"},{"photo_id":"1371883443","filename":"file0"},{"photo_id":"1371883448","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883448":["hashtag1","hashtag2"]},{"1371883445":["hashtag1","hashtag2"]},{"1371883450":["hashtag1","hashtag2"]},{"1371883443":["hashtag1","hashtag2"]},{"1371883446":["hashtag1","hashtag2"]},{"1371883451":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883448, 1371883445, 1371883450, 1371883443, 1371883446, 1371883451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00587320327759 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:49:03.475269
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/53/image_10072025_18_53_14_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/18/52/image_10072025_18_53_04_10653.jpg', 2), ('/home/nano/Desktop/images/10072025/18/52/image_10072025_18_52_53_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/18/52/image_10072025_18_52_44_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/18/52/image_10072025_18_52_23_9642.jpg', 2), ('/home/nano/Desktop/images/10072025/18/52/image_10072025_18_52_14_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/53/image_10072025_18_53_14_9656.jpg', '/home/nano/Desktop/images/10072025/18/52/image_10072025_18_53_04_10653.jpg', '/home/nano/Desktop/images/10072025/18/52/image_10072025_18_52_53_9638.jpg', '/home/nano/Desktop/images/10072025/18/52/image_10072025_18_52_44_9630.jpg', '/home/nano/Desktop/images/10072025/18/52/image_10072025_18_52_23_9642.jpg', '/home/nano/Desktop/images/10072025/18/52/image_10072025_18_52_14_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/53/image_10072025_18_53_14_9656.jpg
/home/nano/Desktop/images/10072025/18/52/image_10072025_18_53_04_10653.jpg
/home/nano/Desktop/images/10072025/18/52/image_10072025_18_52_53_9638.jpg
/home/nano/Desktop/images/10072025/18/52/image_10072025_18_52_44_9630.jpg
/home/nano/Desktop/images/10072025/18/52/image_10072025_18_52_23_9642.jpg
/home/nano/Desktop/images/10072025/18/52/image_10072025_18_52_14_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883460","1371883463","1371883457","1371883476","1371883493","1371883466"],"photo_ids_order":["1371883457","1371883460","1371883463","1371883466","1371883476","1371883493"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce5fec54d46643c9ee22bcd2b1fc9144.jpg","text":"TemporaryFile(/tmp/multipartBody1802416506672756645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317406791,"filename":"image_10072025_18_53_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5233d175f3318f546185d190af108c90.jpg","text":"TemporaryFile(/tmp/multipartBody3733270896748614825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317406791,"filename":"image_10072025_18_52_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/add55414d70492758a4f42d1ea1ac05c.jpg","text":"TemporaryFile(/tmp/multipartBody1141777667619388617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317406791,"filename":"image_10072025_18_53_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d749b165f8d993329f25213688a5805f.jpg","text":"TemporaryFile(/tmp/multipartBody3144590791901612345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317406791,"filename":"image_10072025_18_52_23_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6614c28645eb89e1c2101a0164b34aaa.jpg","text":"TemporaryFile(/tmp/multipartBody7512397748547467572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317406791,"filename":"image_10072025_18_52_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19e66433eca6a512dcdebe21c63d6c4f.jpg","text":"TemporaryFile(/tmp/multipartBody4631134862775864346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317406791,"filename":"image_10072025_18_52_44_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883463","file1":"1371883460","file0":"1371883457","file4":"1371883476","file5":"1371883493","file3":"1371883466"},"map_files_photo_id_array":[{"photo_id":"1371883493","filename":"file5"},{"photo_id":"1371883463","filename":"file2"},{"photo_id":"1371883476","filename":"file4"},{"photo_id":"1371883460","filename":"file1"},{"photo_id":"1371883457","filename":"file0"},{"photo_id":"1371883466","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371883460":["hashtag1","hashtag2"]},{"1371883463":["hashtag1","hashtag2"]},{"1371883457":["hashtag1","hashtag2"]},{"1371883476":["hashtag1","hashtag2"]},{"1371883493":["hashtag1","hashtag2"]},{"1371883466":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371883460, 1371883463, 1371883457, 1371883476, 1371883493, 1371883466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.63160920143127 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:50:17.463023
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_43_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_34_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_24_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_13_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/12/49/image_12072025_12_50_04_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_54_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_43_9620.jpg', '/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_34_9616.jpg', '/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_24_10624.jpg', '/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_13_9643.jpg', '/home/nano/Desktop/images/12072025/12/49/image_12072025_12_50_04_9614.jpg', '/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_54_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_43_9620.jpg
/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_34_9616.jpg
/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_24_10624.jpg
/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_13_9643.jpg
/home/nano/Desktop/images/12072025/12/49/image_12072025_12_50_04_9614.jpg
/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_54_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883502","1371883505","1371883498","1371883507","1371883506","1371883499"],"photo_ids_order":["1371883498","1371883499","1371883502","1371883505","1371883506","1371883507"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ede80baafe2bab7d0e467b474364a5d8.jpg","text":"TemporaryFile(/tmp/multipartBody7200970638638593385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317478613,"filename":"image_12072025_12_50_24_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b1bfdde6ea231189018944a365d6822.jpg","text":"TemporaryFile(/tmp/multipartBody7861417922427289896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317478613,"filename":"image_12072025_12_50_13_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/280da4d9ce365bbfe22dbbe61f257069.jpg","text":"TemporaryFile(/tmp/multipartBody9075505259253516526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317478613,"filename":"image_12072025_12_50_43_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26485725346b54f7473dde8514f00a14.jpg","text":"TemporaryFile(/tmp/multipartBody2016162755882596370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317478613,"filename":"image_12072025_12_49_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca4694dea2ae12959bcbd40dcfd80a6f.jpg","text":"TemporaryFile(/tmp/multipartBody8697395478681881183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317478613,"filename":"image_12072025_12_50_04_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6da12944bfebc268eccac7b0a9092560.jpg","text":"TemporaryFile(/tmp/multipartBody5118556594835261713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317478613,"filename":"image_12072025_12_50_34_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883502","file1":"1371883499","file0":"1371883498","file4":"1371883506","file5":"1371883507","file3":"1371883505"},"map_files_photo_id_array":[{"photo_id":"1371883507","filename":"file5"},{"photo_id":"1371883502","filename":"file2"},{"photo_id":"1371883506","filename":"file4"},{"photo_id":"1371883499","filename":"file1"},{"photo_id":"1371883498","filename":"file0"},{"photo_id":"1371883505","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883502":["hashtag1","hashtag2"]},{"1371883505":["hashtag1","hashtag2"]},{"1371883498":["hashtag1","hashtag2"]},{"1371883507":["hashtag1","hashtag2"]},{"1371883506":["hashtag1","hashtag2"]},{"1371883499":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883502, 1371883505, 1371883498, 1371883507, 1371883506, 1371883499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.119067668914795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:51:03.202666
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_43_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_34_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_23_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_14_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/12/48/image_12072025_12_49_04_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_53_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_43_9611.jpg', '/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_34_10643.jpg', '/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_23_9637.jpg', '/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_14_9666.jpg', '/home/nano/Desktop/images/12072025/12/48/image_12072025_12_49_04_10642.jpg', '/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_53_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_43_9611.jpg
/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_34_10643.jpg
/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_23_9637.jpg
/home/nano/Desktop/images/12072025/12/49/image_12072025_12_49_14_9666.jpg
/home/nano/Desktop/images/12072025/12/48/image_12072025_12_49_04_10642.jpg
/home/nano/Desktop/images/12072025/12/48/image_12072025_12_48_53_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883520","1371883523","1371883525","1371883522","1371883516","1371883518"],"photo_ids_order":["1371883516","1371883518","1371883520","1371883522","1371883523","1371883525"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afc673d4f2f7e67ab09eea5be48729dc.jpg","text":"TemporaryFile(/tmp/multipartBody7334425436433704966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317525004,"filename":"image_12072025_12_49_23_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fdce811fc4a4e38db500aed63012ba14.jpg","text":"TemporaryFile(/tmp/multipartBody9135590025694120035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317525004,"filename":"image_12072025_12_49_04_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23ed555e650f7cb0e0bec329cb411454.jpg","text":"TemporaryFile(/tmp/multipartBody9217280100271236504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317525004,"filename":"image_12072025_12_48_53_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cab035123f004c8cd28afddbadd6023.jpg","text":"TemporaryFile(/tmp/multipartBody8384706451668844652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317525004,"filename":"image_12072025_12_49_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bcf82981b207c70e43acee968ea00097.jpg","text":"TemporaryFile(/tmp/multipartBody2081107223276743381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317525004,"filename":"image_12072025_12_49_43_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0fd939f10607b3ec7a6ce2d9e11182d.jpg","text":"TemporaryFile(/tmp/multipartBody961929354481602410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317525004,"filename":"image_12072025_12_49_34_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883520","file1":"1371883518","file0":"1371883516","file4":"1371883523","file5":"1371883525","file3":"1371883522"},"map_files_photo_id_array":[{"photo_id":"1371883525","filename":"file5"},{"photo_id":"1371883520","filename":"file2"},{"photo_id":"1371883523","filename":"file4"},{"photo_id":"1371883518","filename":"file1"},{"photo_id":"1371883516","filename":"file0"},{"photo_id":"1371883522","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883520":["hashtag1","hashtag2"]},{"1371883523":["hashtag1","hashtag2"]},{"1371883525":["hashtag1","hashtag2"]},{"1371883522":["hashtag1","hashtag2"]},{"1371883516":["hashtag1","hashtag2"]},{"1371883518":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883520, 1371883523, 1371883525, 1371883522, 1371883516, 1371883518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10756778717041 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:51:47.532728
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_44_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_33_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_24_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_14_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/12/50/image_12072025_12_51_03_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_54_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_44_10657.jpg', '/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_33_9659.jpg', '/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_24_9633.jpg', '/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_14_10637.jpg', '/home/nano/Desktop/images/12072025/12/50/image_12072025_12_51_03_9629.jpg', '/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_54_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_44_10657.jpg
/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_33_9659.jpg
/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_24_9633.jpg
/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_14_10637.jpg
/home/nano/Desktop/images/12072025/12/50/image_12072025_12_51_03_9629.jpg
/home/nano/Desktop/images/12072025/12/50/image_12072025_12_50_54_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883529","1371883538","1371883531","1371883540","1371883536","1371883533"],"photo_ids_order":["1371883529","1371883531","1371883533","1371883536","1371883538","1371883540"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b17f5d575abab4d87fbae25b92d5892.jpg","text":"TemporaryFile(/tmp/multipartBody2806034100317716886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317569590,"filename":"image_12072025_12_51_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f505492c89e01d42b37fe0ce326ff08.jpg","text":"TemporaryFile(/tmp/multipartBody6035391154589523085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317569590,"filename":"image_12072025_12_51_03_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ade99d90fb4f508031bcc01260bae81e.jpg","text":"TemporaryFile(/tmp/multipartBody1855189429861107350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317569590,"filename":"image_12072025_12_51_33_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/988e0d8e9f564a996b3804b475949674.jpg","text":"TemporaryFile(/tmp/multipartBody7218711339555684657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317569590,"filename":"image_12072025_12_50_54_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e53ea6cbdf172ef44ff584644f9afbd9.jpg","text":"TemporaryFile(/tmp/multipartBody5242021371398146310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317569590,"filename":"image_12072025_12_51_14_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55c3704cce3436b4132ccf8cdcd28d8f.jpg","text":"TemporaryFile(/tmp/multipartBody7965536350813832522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317569590,"filename":"image_12072025_12_51_24_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883533","file1":"1371883531","file0":"1371883529","file4":"1371883538","file5":"1371883540","file3":"1371883536"},"map_files_photo_id_array":[{"photo_id":"1371883540","filename":"file5"},{"photo_id":"1371883533","filename":"file2"},{"photo_id":"1371883538","filename":"file4"},{"photo_id":"1371883531","filename":"file1"},{"photo_id":"1371883529","filename":"file0"},{"photo_id":"1371883536","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883529":["hashtag1","hashtag2"]},{"1371883538":["hashtag1","hashtag2"]},{"1371883531":["hashtag1","hashtag2"]},{"1371883540":["hashtag1","hashtag2"]},{"1371883536":["hashtag1","hashtag2"]},{"1371883533":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883529, 1371883538, 1371883531, 1371883540, 1371883536, 1371883533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03847050666809 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:52:32.649480
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_44_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_34_10604.jpg', 2), ('/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_23_9591.jpg', 2), ('/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_14_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/12/51/image_12072025_12_52_03_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_54_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_44_9598.jpg', '/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_34_10604.jpg', '/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_23_9591.jpg', '/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_14_10633.jpg', '/home/nano/Desktop/images/12072025/12/51/image_12072025_12_52_03_9623.jpg', '/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_54_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_44_9598.jpg
/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_34_10604.jpg
/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_23_9591.jpg
/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_14_10633.jpg
/home/nano/Desktop/images/12072025/12/51/image_12072025_12_52_03_9623.jpg
/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_54_9612.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5019962787628174 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:52:47.641203
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_44_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_34_10604.jpg', 2), ('/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_23_9591.jpg', 2), ('/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_14_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/12/51/image_12072025_12_52_03_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_54_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_44_9598.jpg', '/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_34_10604.jpg', '/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_23_9591.jpg', '/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_14_10633.jpg', '/home/nano/Desktop/images/12072025/12/51/image_12072025_12_52_03_9623.jpg', '/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_54_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_44_9598.jpg
/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_34_10604.jpg
/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_23_9591.jpg
/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_14_10633.jpg
/home/nano/Desktop/images/12072025/12/51/image_12072025_12_52_03_9623.jpg
/home/nano/Desktop/images/12072025/12/51/image_12072025_12_51_54_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883556","1371883558","1371883552","1371883549","1371883560","1371883554"],"photo_ids_order":["1371883549","1371883552","1371883554","1371883556","1371883558","1371883560"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bddc1eaf2590461baae9c502ac42055.jpg","text":"TemporaryFile(/tmp/multipartBody1317399172387102872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317629141,"filename":"image_12072025_12_52_14_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71f81741ce2247abd9eeb983e0836970.jpg","text":"TemporaryFile(/tmp/multipartBody4705480000472170520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317629141,"filename":"image_12072025_12_52_03_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0dbc6622fa19cec10e26fb19b558d909.jpg","text":"TemporaryFile(/tmp/multipartBody4687946891904386362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317629141,"filename":"image_12072025_12_52_34_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a2c514d88e10aa51586e7f41c3ca353.jpg","text":"TemporaryFile(/tmp/multipartBody6725858069210140752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317629141,"filename":"image_12072025_12_52_44_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/febfd9907dbd1e36115369ce994bc8c0.jpg","text":"TemporaryFile(/tmp/multipartBody7421016952493629857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317629141,"filename":"image_12072025_12_51_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c3a9a414988ee2a03b93d920f131d2b.jpg","text":"TemporaryFile(/tmp/multipartBody8551767463590876673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317629141,"filename":"image_12072025_12_52_23_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883554","file1":"1371883552","file0":"1371883549","file4":"1371883558","file5":"1371883560","file3":"1371883556"},"map_files_photo_id_array":[{"photo_id":"1371883560","filename":"file5"},{"photo_id":"1371883554","filename":"file2"},{"photo_id":"1371883558","filename":"file4"},{"photo_id":"1371883552","filename":"file1"},{"photo_id":"1371883549","filename":"file0"},{"photo_id":"1371883556","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883556":["hashtag1","hashtag2"]},{"1371883558":["hashtag1","hashtag2"]},{"1371883552":["hashtag1","hashtag2"]},{"1371883549":["hashtag1","hashtag2"]},{"1371883560":["hashtag1","hashtag2"]},{"1371883554":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883556, 1371883558, 1371883552, 1371883549, 1371883560, 1371883554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01365685462952 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:53:32.741930
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_43_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_34_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_23_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_14_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/12/52/image_12072025_12_53_04_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_53_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_43_9613.jpg', '/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_34_10622.jpg', '/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_23_9620.jpg', '/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_14_9645.jpg', '/home/nano/Desktop/images/12072025/12/52/image_12072025_12_53_04_10631.jpg', '/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_53_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_43_9613.jpg
/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_34_10622.jpg
/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_23_9620.jpg
/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_14_9645.jpg
/home/nano/Desktop/images/12072025/12/52/image_12072025_12_53_04_10631.jpg
/home/nano/Desktop/images/12072025/12/52/image_12072025_12_52_53_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883562","1371883573","1371883561","1371883570","1371883567","1371883565"],"photo_ids_order":["1371883561","1371883562","1371883565","1371883567","1371883570","1371883573"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e3266f3755fd334550663fdb8169209.jpg","text":"TemporaryFile(/tmp/multipartBody6756338366809469865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317674609,"filename":"image_12072025_12_53_34_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b7760f64c84cc7f23c09beaa1490d3e.jpg","text":"TemporaryFile(/tmp/multipartBody7097198456622549739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317674609,"filename":"image_12072025_12_52_53_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20a68e4d77d8dcc9112261a10e054514.jpg","text":"TemporaryFile(/tmp/multipartBody170754108532844217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317674609,"filename":"image_12072025_12_53_43_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c44d1ce6b747b34fc53dabbc2bda43e8.jpg","text":"TemporaryFile(/tmp/multipartBody417987363771830636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317674609,"filename":"image_12072025_12_53_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5082a34abe5dd1a579aba200a91f9a88.jpg","text":"TemporaryFile(/tmp/multipartBody1532597308438909293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317674609,"filename":"image_12072025_12_53_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd6662d3eabe7ab1f8b60aa5c326604d.jpg","text":"TemporaryFile(/tmp/multipartBody5405464389468678743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317674609,"filename":"image_12072025_12_53_23_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883565","file1":"1371883562","file0":"1371883561","file4":"1371883570","file5":"1371883573","file3":"1371883567"},"map_files_photo_id_array":[{"photo_id":"1371883573","filename":"file5"},{"photo_id":"1371883565","filename":"file2"},{"photo_id":"1371883570","filename":"file4"},{"photo_id":"1371883562","filename":"file1"},{"photo_id":"1371883561","filename":"file0"},{"photo_id":"1371883567","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883562":["hashtag1","hashtag2"]},{"1371883573":["hashtag1","hashtag2"]},{"1371883561":["hashtag1","hashtag2"]},{"1371883570":["hashtag1","hashtag2"]},{"1371883567":["hashtag1","hashtag2"]},{"1371883565":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883562, 1371883573, 1371883561, 1371883570, 1371883567, 1371883565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18883991241455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:54:16.875012
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_43_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_33_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_24_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_13_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/12/53/image_12072025_12_54_04_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_54_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_43_9603.jpg', '/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_33_9613.jpg', '/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_24_10634.jpg', '/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_13_9622.jpg', '/home/nano/Desktop/images/12072025/12/53/image_12072025_12_54_04_9606.jpg', '/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_54_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_43_9603.jpg
/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_33_9613.jpg
/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_24_10634.jpg
/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_13_9622.jpg
/home/nano/Desktop/images/12072025/12/53/image_12072025_12_54_04_9606.jpg
/home/nano/Desktop/images/12072025/12/53/image_12072025_12_53_54_10610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883580","1371883582","1371883585","1371883584","1371883581","1371883583"],"photo_ids_order":["1371883580","1371883581","1371883582","1371883583","1371883584","1371883585"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2db38047bcfcaa212a4649a1b0e5b59f.jpg","text":"TemporaryFile(/tmp/multipartBody4692118845710904378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317719230,"filename":"image_12072025_12_54_43_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d49847c1ad50201461d60cf32ed15ea0.jpg","text":"TemporaryFile(/tmp/multipartBody2084719860541440408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317719230,"filename":"image_12072025_12_54_24_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7568c9d69071f6efb996c9de9af50472.jpg","text":"TemporaryFile(/tmp/multipartBody8215547308501210090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317719230,"filename":"image_12072025_12_53_54_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a8a1dbb2891ddf48a24764f24755cfe.jpg","text":"TemporaryFile(/tmp/multipartBody6852580116204303773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317719230,"filename":"image_12072025_12_54_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ee1c1855a461ef92eecd5029f05ad96.jpg","text":"TemporaryFile(/tmp/multipartBody2563662787225080680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317719230,"filename":"image_12072025_12_54_33_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e621110eda5cca71e741ed28d2a79742.jpg","text":"TemporaryFile(/tmp/multipartBody8681011237328544351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317719230,"filename":"image_12072025_12_54_13_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883582","file1":"1371883581","file0":"1371883580","file4":"1371883584","file5":"1371883585","file3":"1371883583"},"map_files_photo_id_array":[{"photo_id":"1371883585","filename":"file5"},{"photo_id":"1371883582","filename":"file2"},{"photo_id":"1371883584","filename":"file4"},{"photo_id":"1371883581","filename":"file1"},{"photo_id":"1371883580","filename":"file0"},{"photo_id":"1371883583","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883580":["hashtag1","hashtag2"]},{"1371883582":["hashtag1","hashtag2"]},{"1371883585":["hashtag1","hashtag2"]},{"1371883584":["hashtag1","hashtag2"]},{"1371883581":["hashtag1","hashtag2"]},{"1371883583":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883580, 1371883582, 1371883585, 1371883584, 1371883581, 1371883583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29253959655762 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:55:02.549655
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/51/image_10072025_18_52_04_10653.jpg', 2), ('/home/nano/Desktop/images/10072025/18/51/image_10072025_18_51_53_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/51/image_10072025_18_51_44_10642.jpg', 2), ('/home/nano/Desktop/images/10072025/18/51/image_10072025_18_51_33_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/50/image_10072025_18_51_03_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/18/50/image_10072025_18_50_33_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/51/image_10072025_18_52_04_10653.jpg', '/home/nano/Desktop/images/10072025/18/51/image_10072025_18_51_53_9632.jpg', '/home/nano/Desktop/images/10072025/18/51/image_10072025_18_51_44_10642.jpg', '/home/nano/Desktop/images/10072025/18/51/image_10072025_18_51_33_9631.jpg', '/home/nano/Desktop/images/10072025/18/50/image_10072025_18_51_03_9633.jpg', '/home/nano/Desktop/images/10072025/18/50/image_10072025_18_50_33_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/51/image_10072025_18_52_04_10653.jpg
/home/nano/Desktop/images/10072025/18/51/image_10072025_18_51_53_9632.jpg
/home/nano/Desktop/images/10072025/18/51/image_10072025_18_51_44_10642.jpg
/home/nano/Desktop/images/10072025/18/51/image_10072025_18_51_33_9631.jpg
/home/nano/Desktop/images/10072025/18/50/image_10072025_18_51_03_9633.jpg
/home/nano/Desktop/images/10072025/18/50/image_10072025_18_50_33_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883594","1371883597","1371883599","1371883593","1371883596","1371883598"],"photo_ids_order":["1371883593","1371883594","1371883596","1371883597","1371883598","1371883599"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0899b1ed1529313141d3a2fc1c00d2d7.jpg","text":"TemporaryFile(/tmp/multipartBody5947536484542415868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317765864,"filename":"image_10072025_18_51_53_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b0505acd5d80cb5113883c21f5f6b34.jpg","text":"TemporaryFile(/tmp/multipartBody2322267314894309550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317765864,"filename":"image_10072025_18_51_33_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efdefd48a5f300ba6e0d56ce9386e3c2.jpg","text":"TemporaryFile(/tmp/multipartBody8539519981889552400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317765864,"filename":"image_10072025_18_50_33_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c832dcbfe6296b797cd5407fb796d111.jpg","text":"TemporaryFile(/tmp/multipartBody5499479299783583218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317765864,"filename":"image_10072025_18_52_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aded8896da4f2f4ceb5daaff0273ef34.jpg","text":"TemporaryFile(/tmp/multipartBody5386748036281898562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317765864,"filename":"image_10072025_18_51_44_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1b8cc77945e16fce9ad555ea1207d28.jpg","text":"TemporaryFile(/tmp/multipartBody1485764756303894929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317765864,"filename":"image_10072025_18_51_03_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883596","file1":"1371883594","file0":"1371883593","file4":"1371883598","file5":"1371883599","file3":"1371883597"},"map_files_photo_id_array":[{"photo_id":"1371883599","filename":"file5"},{"photo_id":"1371883596","filename":"file2"},{"photo_id":"1371883598","filename":"file4"},{"photo_id":"1371883594","filename":"file1"},{"photo_id":"1371883593","filename":"file0"},{"photo_id":"1371883597","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371883594":["hashtag1","hashtag2"]},{"1371883597":["hashtag1","hashtag2"]},{"1371883599":["hashtag1","hashtag2"]},{"1371883593":["hashtag1","hashtag2"]},{"1371883596":["hashtag1","hashtag2"]},{"1371883598":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371883594, 1371883597, 1371883599, 1371883593, 1371883596, 1371883598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32014799118042 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:55:46.961369
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_44_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_33_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_24_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_14_10682.jpg', 2), ('/home/nano/Desktop/images/12072025/12/54/image_12072025_12_55_03_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_54_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_44_10630.jpg', '/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_33_9621.jpg', '/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_24_9621.jpg', '/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_14_10682.jpg', '/home/nano/Desktop/images/12072025/12/54/image_12072025_12_55_03_9633.jpg', '/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_54_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_44_10630.jpg
/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_33_9621.jpg
/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_24_9621.jpg
/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_14_10682.jpg
/home/nano/Desktop/images/12072025/12/54/image_12072025_12_55_03_9633.jpg
/home/nano/Desktop/images/12072025/12/54/image_12072025_12_54_54_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883826","1371883661","1371883601","1371883720","1371883603","1371883784"],"photo_ids_order":["1371883601","1371883603","1371883661","1371883720","1371883784","1371883826"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8591cc4c361d0945d9789bf929935095.jpg","text":"TemporaryFile(/tmp/multipartBody6659203674933654959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317808079,"filename":"image_12072025_12_54_54_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94165f774b9f70ce2d4b5e46366317bc.jpg","text":"TemporaryFile(/tmp/multipartBody43311419956815969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317808079,"filename":"image_12072025_12_55_24_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb7f100b81638fee99cbcfbbb196060f.jpg","text":"TemporaryFile(/tmp/multipartBody4954804527861826524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317808079,"filename":"image_12072025_12_55_44_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f60278e55b13f921fbc0c33c282d23b.jpg","text":"TemporaryFile(/tmp/multipartBody4515205536941777529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317808079,"filename":"image_12072025_12_55_14_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9db52740f307a0c69ade963b72d0cfb9.jpg","text":"TemporaryFile(/tmp/multipartBody5400545857047843688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317808079,"filename":"image_12072025_12_55_33_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0828590ee557f70a6da7bf0f06b0a565.jpg","text":"TemporaryFile(/tmp/multipartBody6623317195943764636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317808079,"filename":"image_12072025_12_55_03_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883661","file1":"1371883603","file0":"1371883601","file4":"1371883784","file5":"1371883826","file3":"1371883720"},"map_files_photo_id_array":[{"photo_id":"1371883826","filename":"file5"},{"photo_id":"1371883661","filename":"file2"},{"photo_id":"1371883784","filename":"file4"},{"photo_id":"1371883603","filename":"file1"},{"photo_id":"1371883601","filename":"file0"},{"photo_id":"1371883720","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883826":["hashtag1","hashtag2"]},{"1371883661":["hashtag1","hashtag2"]},{"1371883601":["hashtag1","hashtag2"]},{"1371883720":["hashtag1","hashtag2"]},{"1371883603":["hashtag1","hashtag2"]},{"1371883784":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883826, 1371883661, 1371883601, 1371883720, 1371883603, 1371883784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18174386024475 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:56:32.082945
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_44_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_34_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_23_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_14_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/12/55/image_12072025_12_56_03_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_53_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_44_9612.jpg', '/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_34_10634.jpg', '/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_23_9644.jpg', '/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_14_10649.jpg', '/home/nano/Desktop/images/12072025/12/55/image_12072025_12_56_03_9628.jpg', '/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_53_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_44_9612.jpg
/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_34_10634.jpg
/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_23_9644.jpg
/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_14_10649.jpg
/home/nano/Desktop/images/12072025/12/55/image_12072025_12_56_03_9628.jpg
/home/nano/Desktop/images/12072025/12/55/image_12072025_12_55_53_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371883910","1371883915","1371883912","1371883909","1371883908","1371883917"],"photo_ids_order":["1371883908","1371883909","1371883910","1371883912","1371883915","1371883917"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3cbfc3a8ed6917ee406e4a52e0ee017f.jpg","text":"TemporaryFile(/tmp/multipartBody3019243053478643877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317853893,"filename":"image_12072025_12_56_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a693fb19a31d361a187b7e8adce1bbe.jpg","text":"TemporaryFile(/tmp/multipartBody1470183457885545191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317853893,"filename":"image_12072025_12_56_03_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d09f8b2ea145b67762e63d77923da4cd.jpg","text":"TemporaryFile(/tmp/multipartBody5003960188644365160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317853893,"filename":"image_12072025_12_56_14_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9595fe69ac9ad244aad40208b7a80cd.jpg","text":"TemporaryFile(/tmp/multipartBody4518569451139873800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317853893,"filename":"image_12072025_12_56_34_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/311cccfe223c7b2855c64070b7fd2f4d.jpg","text":"TemporaryFile(/tmp/multipartBody7570947548547450058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317853893,"filename":"image_12072025_12_56_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5868938ec84b3da9065c52f36f76eaf3.jpg","text":"TemporaryFile(/tmp/multipartBody1976335686563144429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317853893,"filename":"image_12072025_12_55_53_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883910","file1":"1371883909","file0":"1371883908","file4":"1371883915","file5":"1371883917","file3":"1371883912"},"map_files_photo_id_array":[{"photo_id":"1371883917","filename":"file5"},{"photo_id":"1371883910","filename":"file2"},{"photo_id":"1371883915","filename":"file4"},{"photo_id":"1371883909","filename":"file1"},{"photo_id":"1371883908","filename":"file0"},{"photo_id":"1371883912","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371883910":["hashtag1","hashtag2"]},{"1371883915":["hashtag1","hashtag2"]},{"1371883912":["hashtag1","hashtag2"]},{"1371883909":["hashtag1","hashtag2"]},{"1371883908":["hashtag1","hashtag2"]},{"1371883917":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371883910, 1371883915, 1371883912, 1371883909, 1371883908, 1371883917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2016921043396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:57:17.145310
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_43_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_34_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_14_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/12/56/image_12072025_12_57_04_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_53_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_43_9623.jpg', '/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_34_10642.jpg', '/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_23_9609.jpg', '/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_14_9641.jpg', '/home/nano/Desktop/images/12072025/12/56/image_12072025_12_57_04_10655.jpg', '/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_53_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_43_9623.jpg
/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_34_10642.jpg
/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_23_9609.jpg
/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_14_9641.jpg
/home/nano/Desktop/images/12072025/12/56/image_12072025_12_57_04_10655.jpg
/home/nano/Desktop/images/12072025/12/56/image_12072025_12_56_53_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371884000","1371883952","1371883925","1371883928","1371884023","1371883975"],"photo_ids_order":["1371883925","1371883928","1371883952","1371883975","1371884000","1371884023"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b40d3db1f53a07db045381975662553c.jpg","text":"TemporaryFile(/tmp/multipartBody7688166796850750132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317898765,"filename":"image_12072025_12_57_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d814a2e6a9be8e98fd4757228869926.jpg","text":"TemporaryFile(/tmp/multipartBody2308398810100983101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317898765,"filename":"image_12072025_12_57_23_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96221dc70a3eafbc35ccb83bf1be50d2.jpg","text":"TemporaryFile(/tmp/multipartBody9185713148978003973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317898765,"filename":"image_12072025_12_57_43_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6b2fe5bbb65ced23ce4bbb880130018.jpg","text":"TemporaryFile(/tmp/multipartBody5100745411826419855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317898765,"filename":"image_12072025_12_57_34_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/246c90b9e59e881efd3e820641d0b5dd.jpg","text":"TemporaryFile(/tmp/multipartBody6645929051712203766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317898765,"filename":"image_12072025_12_56_53_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38f928e2f149992055f456ddfc9db8ae.jpg","text":"TemporaryFile(/tmp/multipartBody8855059898641195503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317898765,"filename":"image_12072025_12_57_14_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371883952","file1":"1371883928","file0":"1371883925","file4":"1371884000","file5":"1371884023","file3":"1371883975"},"map_files_photo_id_array":[{"photo_id":"1371884023","filename":"file5"},{"photo_id":"1371883952","filename":"file2"},{"photo_id":"1371884000","filename":"file4"},{"photo_id":"1371883928","filename":"file1"},{"photo_id":"1371883925","filename":"file0"},{"photo_id":"1371883975","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371884000":["hashtag1","hashtag2"]},{"1371883952":["hashtag1","hashtag2"]},{"1371883925":["hashtag1","hashtag2"]},{"1371883928":["hashtag1","hashtag2"]},{"1371884023":["hashtag1","hashtag2"]},{"1371883975":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371884000, 1371883952, 1371883925, 1371883928, 1371884023, 1371883975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.831622838974 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:58:02.634499
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/50/image_10072025_18_50_24_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/18/49/image_10072025_18_50_03_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/49/image_10072025_18_49_54_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/18/49/image_10072025_18_49_33_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/18/49/image_10072025_18_49_13_9668.jpg', 2), ('/home/nano/Desktop/images/10072025/18/48/image_10072025_18_49_03_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/50/image_10072025_18_50_24_9647.jpg', '/home/nano/Desktop/images/10072025/18/49/image_10072025_18_50_03_9632.jpg', '/home/nano/Desktop/images/10072025/18/49/image_10072025_18_49_54_10641.jpg', '/home/nano/Desktop/images/10072025/18/49/image_10072025_18_49_33_9633.jpg', '/home/nano/Desktop/images/10072025/18/49/image_10072025_18_49_13_9668.jpg', '/home/nano/Desktop/images/10072025/18/48/image_10072025_18_49_03_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/50/image_10072025_18_50_24_9647.jpg
/home/nano/Desktop/images/10072025/18/49/image_10072025_18_50_03_9632.jpg
/home/nano/Desktop/images/10072025/18/49/image_10072025_18_49_54_10641.jpg
/home/nano/Desktop/images/10072025/18/49/image_10072025_18_49_33_9633.jpg
/home/nano/Desktop/images/10072025/18/49/image_10072025_18_49_13_9668.jpg
/home/nano/Desktop/images/10072025/18/48/image_10072025_18_49_03_9651.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371884405","1371884312","1371884269","1371884221","1371884178","1371884357"],"photo_ids_order":["1371884178","1371884221","1371884269","1371884312","1371884357","1371884405"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d969fbc87d90cdd100a058ab51ea2369.jpg","text":"TemporaryFile(/tmp/multipartBody4450082255507639585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317946150,"filename":"image_10072025_18_49_03_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fecc7b89dd5d3226c53d8325f88fc2d3.jpg","text":"TemporaryFile(/tmp/multipartBody8496595078903566811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317946150,"filename":"image_10072025_18_49_33_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e28f84ce2041a55b9664fd09284f0f4.jpg","text":"TemporaryFile(/tmp/multipartBody3783830059006188993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317946150,"filename":"image_10072025_18_49_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9744c596b575116a6c607ad07520944b.jpg","text":"TemporaryFile(/tmp/multipartBody4816953536912632718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317946150,"filename":"image_10072025_18_50_03_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eccbcb3a5440d81035aaea83e4b39c62.jpg","text":"TemporaryFile(/tmp/multipartBody3856767448638128892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317946150,"filename":"image_10072025_18_50_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3707bf2bea7e0d0bd90409bb5b1f7399.jpg","text":"TemporaryFile(/tmp/multipartBody613599061354677565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752317946150,"filename":"image_10072025_18_49_13_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371884269","file1":"1371884221","file0":"1371884178","file4":"1371884357","file5":"1371884405","file3":"1371884312"},"map_files_photo_id_array":[{"photo_id":"1371884405","filename":"file5"},{"photo_id":"1371884269","filename":"file2"},{"photo_id":"1371884357","filename":"file4"},{"photo_id":"1371884221","filename":"file1"},{"photo_id":"1371884178","filename":"file0"},{"photo_id":"1371884312","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371884405":["hashtag1","hashtag2"]},{"1371884312":["hashtag1","hashtag2"]},{"1371884269":["hashtag1","hashtag2"]},{"1371884221":["hashtag1","hashtag2"]},{"1371884178":["hashtag1","hashtag2"]},{"1371884357":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371884405, 1371884312, 1371884269, 1371884221, 1371884178, 1371884357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96740794181824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:59:02.938757
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_43_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_24_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_13_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/12/57/image_12072025_12_58_04_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_53_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_43_9633.jpg', '/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_34_9610.jpg', '/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_24_10619.jpg', '/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_13_9643.jpg', '/home/nano/Desktop/images/12072025/12/57/image_12072025_12_58_04_10643.jpg', '/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_53_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_43_9633.jpg
/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_34_9610.jpg
/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_24_10619.jpg
/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_13_9643.jpg
/home/nano/Desktop/images/12072025/12/57/image_12072025_12_58_04_10643.jpg
/home/nano/Desktop/images/12072025/12/57/image_12072025_12_57_53_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371884977","1371884872","1371885090","1371885024","1371885062","1371884924"],"photo_ids_order":["1371884872","1371884924","1371884977","1371885024","1371885062","1371885090"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37c001f60754492907629d786f930f02.jpg","text":"TemporaryFile(/tmp/multipartBody8714204803093001847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318004588,"filename":"image_12072025_12_58_24_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ce0ccde3eeca7355a954fa8a7133c89.jpg","text":"TemporaryFile(/tmp/multipartBody8263593474031929590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318004588,"filename":"image_12072025_12_58_43_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87118ecfe507f63fd84f9a3193877c60.jpg","text":"TemporaryFile(/tmp/multipartBody2197639400836633427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318004588,"filename":"image_12072025_12_57_53_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1763b7b3c4b658cff7dea895089f6a8c.jpg","text":"TemporaryFile(/tmp/multipartBody8134186445276429067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318004588,"filename":"image_12072025_12_58_13_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f316b1d444fb3d4928692c1e4c5dbcd8.jpg","text":"TemporaryFile(/tmp/multipartBody4319717086260917726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318004588,"filename":"image_12072025_12_58_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4428ca445d2f6dd537d1aaf41de4933.jpg","text":"TemporaryFile(/tmp/multipartBody6537559722732841282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318004588,"filename":"image_12072025_12_58_34_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371884977","file1":"1371884924","file0":"1371884872","file4":"1371885062","file5":"1371885090","file3":"1371885024"},"map_files_photo_id_array":[{"photo_id":"1371885090","filename":"file5"},{"photo_id":"1371884977","filename":"file2"},{"photo_id":"1371885062","filename":"file4"},{"photo_id":"1371884924","filename":"file1"},{"photo_id":"1371884872","filename":"file0"},{"photo_id":"1371885024","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371884977":["hashtag1","hashtag2"]},{"1371884872":["hashtag1","hashtag2"]},{"1371885090":["hashtag1","hashtag2"]},{"1371885024":["hashtag1","hashtag2"]},{"1371885062":["hashtag1","hashtag2"]},{"1371884924":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371884977, 1371884872, 1371885090, 1371885024, 1371885062, 1371884924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36093616485596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 12:59:47.160954
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_44_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_24_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_13_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/12/58/image_12072025_12_59_04_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_44_10628.jpg', '/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_33_9608.jpg', '/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_24_10640.jpg', '/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_13_9645.jpg', '/home/nano/Desktop/images/12072025/12/58/image_12072025_12_59_04_9631.jpg', '/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_44_10628.jpg
/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_33_9608.jpg
/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_24_10640.jpg
/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_13_9645.jpg
/home/nano/Desktop/images/12072025/12/58/image_12072025_12_59_04_9631.jpg
/home/nano/Desktop/images/12072025/12/58/image_12072025_12_58_54_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371885469","1371885363","1371885420","1371885392","1371885302","1371885445"],"photo_ids_order":["1371885302","1371885363","1371885392","1371885420","1371885445","1371885469"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d3614435e242405d256bf30ec5676c1.jpg","text":"TemporaryFile(/tmp/multipartBody8129802265004436240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318048562,"filename":"image_12072025_12_58_54_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fdb929615d95b224508dfd5c6f0c0ce.jpg","text":"TemporaryFile(/tmp/multipartBody9012843383458305530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318048562,"filename":"image_12072025_12_59_33_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/236e4af67aeba0290ca3711d53d92890.jpg","text":"TemporaryFile(/tmp/multipartBody7433109804800893310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318048562,"filename":"image_12072025_12_59_13_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34ebb8033d0369018bce2e25fd24482f.jpg","text":"TemporaryFile(/tmp/multipartBody3682994276476526569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318048562,"filename":"image_12072025_12_59_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4fcfeb7e957063d9163ef947ee1d4f83.jpg","text":"TemporaryFile(/tmp/multipartBody1145508239083290268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318048562,"filename":"image_12072025_12_59_44_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/abe6d662b07b98a8271e8337416e6369.jpg","text":"TemporaryFile(/tmp/multipartBody6236196064257615959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318048562,"filename":"image_12072025_12_59_04_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371885392","file1":"1371885363","file0":"1371885302","file4":"1371885445","file5":"1371885469","file3":"1371885420"},"map_files_photo_id_array":[{"photo_id":"1371885469","filename":"file5"},{"photo_id":"1371885392","filename":"file2"},{"photo_id":"1371885445","filename":"file4"},{"photo_id":"1371885363","filename":"file1"},{"photo_id":"1371885302","filename":"file0"},{"photo_id":"1371885420","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371885469":["hashtag1","hashtag2"]},{"1371885363":["hashtag1","hashtag2"]},{"1371885420":["hashtag1","hashtag2"]},{"1371885392":["hashtag1","hashtag2"]},{"1371885302":["hashtag1","hashtag2"]},{"1371885445":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371885469, 1371885363, 1371885420, 1371885392, 1371885302, 1371885445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.951969385147095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:00:32.257390
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_44_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_33_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_24_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_14_10688.jpg', 2), ('/home/nano/Desktop/images/12072025/12/59/image_12072025_13_00_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_54_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_44_10626.jpg', '/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_33_9619.jpg', '/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_24_9632.jpg', '/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_14_10688.jpg', '/home/nano/Desktop/images/12072025/12/59/image_12072025_13_00_03_9646.jpg', '/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_44_10626.jpg
/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_33_9619.jpg
/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_24_9632.jpg
/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_14_10688.jpg
/home/nano/Desktop/images/12072025/12/59/image_12072025_13_00_03_9646.jpg
/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_54_9645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.343557357788086 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:00:47.291641
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_44_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_33_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_24_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_14_10688.jpg', 2), ('/home/nano/Desktop/images/12072025/12/59/image_12072025_13_00_03_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_54_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_44_10626.jpg', '/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_33_9619.jpg', '/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_24_9632.jpg', '/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_14_10688.jpg', '/home/nano/Desktop/images/12072025/12/59/image_12072025_13_00_03_9646.jpg', '/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_44_10626.jpg
/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_33_9619.jpg
/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_24_9632.jpg
/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_14_10688.jpg
/home/nano/Desktop/images/12072025/12/59/image_12072025_13_00_03_9646.jpg
/home/nano/Desktop/images/12072025/12/59/image_12072025_12_59_54_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371885780","1371885711","1371885596","1371885599","1371885662","1371885617"],"photo_ids_order":["1371885596","1371885599","1371885617","1371885662","1371885711","1371885780"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b065578aa7379e2ae7a5bca947874bc9.jpg","text":"TemporaryFile(/tmp/multipartBody6961574003410777763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318108878,"filename":"image_12072025_12_59_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6970f980154dd673db0fb669ad13b6b4.jpg","text":"TemporaryFile(/tmp/multipartBody4319195719716200473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318108878,"filename":"image_12072025_13_00_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed75bd1ae54fe0808aa29dc0fbc3b5bf.jpg","text":"TemporaryFile(/tmp/multipartBody3301886177758854844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318108878,"filename":"image_12072025_13_00_44_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5385eda5c95f08d8d1cb8a6f07af764e.jpg","text":"TemporaryFile(/tmp/multipartBody4633828681199204345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318108878,"filename":"image_12072025_13_00_33_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c86222bbc4f9f075aeb2758806b14fe9.jpg","text":"TemporaryFile(/tmp/multipartBody4437833516120476538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318108878,"filename":"image_12072025_13_00_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9893cf3441c28832bc3b03a9cea43011.jpg","text":"TemporaryFile(/tmp/multipartBody4823173194616044007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318108878,"filename":"image_12072025_13_00_24_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371885617","file1":"1371885599","file0":"1371885596","file4":"1371885711","file5":"1371885780","file3":"1371885662"},"map_files_photo_id_array":[{"photo_id":"1371885780","filename":"file5"},{"photo_id":"1371885617","filename":"file2"},{"photo_id":"1371885711","filename":"file4"},{"photo_id":"1371885599","filename":"file1"},{"photo_id":"1371885596","filename":"file0"},{"photo_id":"1371885662","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371885780":["hashtag1","hashtag2"]},{"1371885711":["hashtag1","hashtag2"]},{"1371885596":["hashtag1","hashtag2"]},{"1371885599":["hashtag1","hashtag2"]},{"1371885662":["hashtag1","hashtag2"]},{"1371885617":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371885780, 1371885711, 1371885596, 1371885599, 1371885662, 1371885617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98971915245056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:01:32.457637
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_34_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_23_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_14_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/13/00/image_12072025_13_01_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_53_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_44_9616.jpg', '/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_34_10641.jpg', '/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_23_9623.jpg', '/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_14_10656.jpg', '/home/nano/Desktop/images/12072025/13/00/image_12072025_13_01_03_9654.jpg', '/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_53_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_44_9616.jpg
/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_34_10641.jpg
/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_23_9623.jpg
/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_14_10656.jpg
/home/nano/Desktop/images/12072025/13/00/image_12072025_13_01_03_9654.jpg
/home/nano/Desktop/images/12072025/13/00/image_12072025_13_00_53_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886164","1371886391","1371886334","1371886415","1371886282","1371886138"],"photo_ids_order":["1371886138","1371886164","1371886282","1371886334","1371886391","1371886415"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b89909703ab2b8d5de267a868472151.jpg","text":"TemporaryFile(/tmp/multipartBody730589099810198429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318154146,"filename":"image_12072025_13_01_34_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a9168559e6186bf186084eb3ef82e41.jpg","text":"TemporaryFile(/tmp/multipartBody5508477718536573920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318154146,"filename":"image_12072025_13_01_03_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f34ee997022f831469a28e2c56015de.jpg","text":"TemporaryFile(/tmp/multipartBody3591524381786275365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318154146,"filename":"image_12072025_13_01_14_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1139b6876f7705029cb837288ad5afb9.jpg","text":"TemporaryFile(/tmp/multipartBody1881666739631967823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318154146,"filename":"image_12072025_13_00_53_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a8fc4a893fd9f2c951ed9f0bccbdd59.jpg","text":"TemporaryFile(/tmp/multipartBody1669057795409817633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318154146,"filename":"image_12072025_13_01_23_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1196368068eff7772c5bd48ee0f14c11.jpg","text":"TemporaryFile(/tmp/multipartBody7719830740744734850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318154146,"filename":"image_12072025_13_01_44_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886282","file1":"1371886164","file0":"1371886138","file4":"1371886391","file5":"1371886415","file3":"1371886334"},"map_files_photo_id_array":[{"photo_id":"1371886415","filename":"file5"},{"photo_id":"1371886282","filename":"file2"},{"photo_id":"1371886391","filename":"file4"},{"photo_id":"1371886164","filename":"file1"},{"photo_id":"1371886138","filename":"file0"},{"photo_id":"1371886334","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886164":["hashtag1","hashtag2"]},{"1371886391":["hashtag1","hashtag2"]},{"1371886334":["hashtag1","hashtag2"]},{"1371886415":["hashtag1","hashtag2"]},{"1371886282":["hashtag1","hashtag2"]},{"1371886138":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886164, 1371886391, 1371886334, 1371886415, 1371886282, 1371886138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.3337025642395 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:02:47.468198
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_43_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_34_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_23_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_14_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/13/01/image_12072025_13_02_04_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_53_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_43_9620.jpg', '/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_34_10671.jpg', '/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_23_9611.jpg', '/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_14_9661.jpg', '/home/nano/Desktop/images/12072025/13/01/image_12072025_13_02_04_10633.jpg', '/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_53_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_43_9620.jpg
/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_34_10671.jpg
/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_23_9611.jpg
/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_14_9661.jpg
/home/nano/Desktop/images/12072025/13/01/image_12072025_13_02_04_10633.jpg
/home/nano/Desktop/images/12072025/13/01/image_12072025_13_01_53_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886425","1371886419","1371886434","1371886421","1371886432","1371886429"],"photo_ids_order":["1371886419","1371886421","1371886425","1371886429","1371886432","1371886434"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6bd0ef39c56af69636fd9108e84bcba4.jpg","text":"TemporaryFile(/tmp/multipartBody6325384885205336304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318229219,"filename":"image_12072025_13_02_23_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a7e39c667a560314e08fd33f8dd28e8.jpg","text":"TemporaryFile(/tmp/multipartBody3800408800094382331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318229219,"filename":"image_12072025_13_02_43_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/628c91bd74934c729c5c4fc660a336d3.jpg","text":"TemporaryFile(/tmp/multipartBody3810535297693593611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318229219,"filename":"image_12072025_13_01_53_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7540794428cd759376e9f4cb4e7e3dc8.jpg","text":"TemporaryFile(/tmp/multipartBody8653084904113065350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318229219,"filename":"image_12072025_13_02_34_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/085b028bd1c6ced17031b8ae0845e5a6.jpg","text":"TemporaryFile(/tmp/multipartBody7836184346681547836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318229219,"filename":"image_12072025_13_02_04_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b0e8a52ec45585733bc3dbcdef25027.jpg","text":"TemporaryFile(/tmp/multipartBody7527115969868531671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318229219,"filename":"image_12072025_13_02_14_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886425","file1":"1371886421","file0":"1371886419","file4":"1371886432","file5":"1371886434","file3":"1371886429"},"map_files_photo_id_array":[{"photo_id":"1371886434","filename":"file5"},{"photo_id":"1371886425","filename":"file2"},{"photo_id":"1371886432","filename":"file4"},{"photo_id":"1371886421","filename":"file1"},{"photo_id":"1371886419","filename":"file0"},{"photo_id":"1371886429","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886425":["hashtag1","hashtag2"]},{"1371886419":["hashtag1","hashtag2"]},{"1371886434":["hashtag1","hashtag2"]},{"1371886421":["hashtag1","hashtag2"]},{"1371886432":["hashtag1","hashtag2"]},{"1371886429":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886425, 1371886419, 1371886434, 1371886421, 1371886432, 1371886429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.53299283981323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:03:47.574639
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_34_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_23_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_13_9677.jpg', 2), ('/home/nano/Desktop/images/12072025/13/02/image_12072025_13_03_04_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_53_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_43_9637.jpg', '/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_34_10636.jpg', '/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_23_9641.jpg', '/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_13_9677.jpg', '/home/nano/Desktop/images/12072025/13/02/image_12072025_13_03_04_10645.jpg', '/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_53_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_43_9637.jpg
/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_34_10636.jpg
/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_23_9641.jpg
/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_13_9677.jpg
/home/nano/Desktop/images/12072025/13/02/image_12072025_13_03_04_10645.jpg
/home/nano/Desktop/images/12072025/13/02/image_12072025_13_02_53_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886443","1371886446","1371886445","1371886444","1371886447","1371886441"],"photo_ids_order":["1371886441","1371886443","1371886444","1371886445","1371886446","1371886447"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8669262e3b38a2bf3462d3ef24eff98a.jpg","text":"TemporaryFile(/tmp/multipartBody7778625696976181123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318289088,"filename":"image_12072025_13_03_34_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1125db9c32131fd97a55bedf9bfe898.jpg","text":"TemporaryFile(/tmp/multipartBody8738398900276701384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318289088,"filename":"image_12072025_13_03_04_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71f1d99af07623f25cfc5403586e233d.jpg","text":"TemporaryFile(/tmp/multipartBody5415270632437927561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318289088,"filename":"image_12072025_13_03_13_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2ca4b885a58e7e0962af5905ea83aab.jpg","text":"TemporaryFile(/tmp/multipartBody1640152424659098878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318289088,"filename":"image_12072025_13_03_23_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83852893db4b0110eb79e02d1161a3a7.jpg","text":"TemporaryFile(/tmp/multipartBody6500372350149087032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318289088,"filename":"image_12072025_13_02_53_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0d1c8f209e90dfb13d4675af81affef.jpg","text":"TemporaryFile(/tmp/multipartBody2466530044439370784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318289088,"filename":"image_12072025_13_03_43_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886444","file1":"1371886443","file0":"1371886441","file4":"1371886446","file5":"1371886447","file3":"1371886445"},"map_files_photo_id_array":[{"photo_id":"1371886447","filename":"file5"},{"photo_id":"1371886444","filename":"file2"},{"photo_id":"1371886446","filename":"file4"},{"photo_id":"1371886443","filename":"file1"},{"photo_id":"1371886441","filename":"file0"},{"photo_id":"1371886445","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886443":["hashtag1","hashtag2"]},{"1371886446":["hashtag1","hashtag2"]},{"1371886445":["hashtag1","hashtag2"]},{"1371886444":["hashtag1","hashtag2"]},{"1371886447":["hashtag1","hashtag2"]},{"1371886441":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886443, 1371886446, 1371886445, 1371886444, 1371886447, 1371886441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.495004653930664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:04:32.698153
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_43_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_24_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_13_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/13/03/image_12072025_13_04_04_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_54_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_43_9616.jpg', '/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_33_9608.jpg', '/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_24_10626.jpg', '/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_13_9646.jpg', '/home/nano/Desktop/images/12072025/13/03/image_12072025_13_04_04_9609.jpg', '/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_54_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_43_9616.jpg
/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_33_9608.jpg
/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_24_10626.jpg
/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_13_9646.jpg
/home/nano/Desktop/images/12072025/13/03/image_12072025_13_04_04_9609.jpg
/home/nano/Desktop/images/12072025/13/03/image_12072025_13_03_54_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886452","1371886451","1371886457","1371886456","1371886459","1371886453"],"photo_ids_order":["1371886451","1371886452","1371886453","1371886456","1371886457","1371886459"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b21b06b4559380d065f05bc421b63b9.jpg","text":"TemporaryFile(/tmp/multipartBody4783159977500726164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318334299,"filename":"image_12072025_13_04_33_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef331d7b3949043e23df6f0776c03b26.jpg","text":"TemporaryFile(/tmp/multipartBody6055028554083160731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318334299,"filename":"image_12072025_13_04_43_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40a6b6224001c13a52b103a6c05b09e3.jpg","text":"TemporaryFile(/tmp/multipartBody6483814104592364356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318334299,"filename":"image_12072025_13_04_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/602795b194ec0b4c57a4528ba2658d59.jpg","text":"TemporaryFile(/tmp/multipartBody4427084948887347253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318334299,"filename":"image_12072025_13_04_13_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fac27115f9b541636e30c30b7fb4c13.jpg","text":"TemporaryFile(/tmp/multipartBody3306211561932223575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318334299,"filename":"image_12072025_13_03_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13a131c106686744639220cfb8c4784c.jpg","text":"TemporaryFile(/tmp/multipartBody5334132681243187074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318334299,"filename":"image_12072025_13_04_24_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886453","file1":"1371886452","file0":"1371886451","file4":"1371886457","file5":"1371886459","file3":"1371886456"},"map_files_photo_id_array":[{"photo_id":"1371886459","filename":"file5"},{"photo_id":"1371886453","filename":"file2"},{"photo_id":"1371886457","filename":"file4"},{"photo_id":"1371886452","filename":"file1"},{"photo_id":"1371886451","filename":"file0"},{"photo_id":"1371886456","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886452":["hashtag1","hashtag2"]},{"1371886451":["hashtag1","hashtag2"]},{"1371886457":["hashtag1","hashtag2"]},{"1371886456":["hashtag1","hashtag2"]},{"1371886459":["hashtag1","hashtag2"]},{"1371886453":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886452, 1371886451, 1371886457, 1371886456, 1371886459, 1371886453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1603307723999 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:05:16.836825
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_44_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_24_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_14_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/13/04/image_12072025_13_05_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_54_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_44_10659.jpg', '/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_33_9615.jpg', '/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_24_9636.jpg', '/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_14_10623.jpg', '/home/nano/Desktop/images/12072025/13/04/image_12072025_13_05_03_9645.jpg', '/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_54_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_44_10659.jpg
/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_33_9615.jpg
/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_24_9636.jpg
/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_14_10623.jpg
/home/nano/Desktop/images/12072025/13/04/image_12072025_13_05_03_9645.jpg
/home/nano/Desktop/images/12072025/13/04/image_12072025_13_04_54_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886467","1371886470","1371886466","1371886469","1371886471","1371886468"],"photo_ids_order":["1371886466","1371886467","1371886468","1371886469","1371886470","1371886471"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/705743eefac899321a79c9b3d5fd0758.jpg","text":"TemporaryFile(/tmp/multipartBody6091006928790132584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318378673,"filename":"image_12072025_13_05_33_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba32803da52672cbb48284c43eaf674a.jpg","text":"TemporaryFile(/tmp/multipartBody8965994200914888315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318378673,"filename":"image_12072025_13_05_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/735fa8168f19ecf7c819a71594ab2ef9.jpg","text":"TemporaryFile(/tmp/multipartBody503389975911885213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318378673,"filename":"image_12072025_13_05_44_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a1e1b6c7ccf79827d79e187cf41ef3a.jpg","text":"TemporaryFile(/tmp/multipartBody687827753147166250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318378673,"filename":"image_12072025_13_05_14_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c968085ae4595163757b0b960573a51c.jpg","text":"TemporaryFile(/tmp/multipartBody2076455218290295925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318378673,"filename":"image_12072025_13_04_54_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3930a6648201f1662499862ba9bb5f5.jpg","text":"TemporaryFile(/tmp/multipartBody7741438298332866916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318378673,"filename":"image_12072025_13_05_24_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886468","file1":"1371886467","file0":"1371886466","file4":"1371886470","file5":"1371886471","file3":"1371886469"},"map_files_photo_id_array":[{"photo_id":"1371886471","filename":"file5"},{"photo_id":"1371886468","filename":"file2"},{"photo_id":"1371886470","filename":"file4"},{"photo_id":"1371886467","filename":"file1"},{"photo_id":"1371886466","filename":"file0"},{"photo_id":"1371886469","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886467":["hashtag1","hashtag2"]},{"1371886470":["hashtag1","hashtag2"]},{"1371886466":["hashtag1","hashtag2"]},{"1371886469":["hashtag1","hashtag2"]},{"1371886471":["hashtag1","hashtag2"]},{"1371886468":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886467, 1371886470, 1371886466, 1371886469, 1371886471, 1371886468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52461814880371 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:06:02.486285
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_54_10659.jpg', 2), ('/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_43_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_34_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_24_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_13_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/18/47/image_10072025_18_48_04_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_54_10659.jpg', '/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_43_9648.jpg', '/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_34_9631.jpg', '/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_24_10647.jpg', '/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_13_9650.jpg', '/home/nano/Desktop/images/10072025/18/47/image_10072025_18_48_04_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_54_10659.jpg
/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_43_9648.jpg
/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_34_9631.jpg
/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_24_10647.jpg
/home/nano/Desktop/images/10072025/18/48/image_10072025_18_48_13_9650.jpg
/home/nano/Desktop/images/10072025/18/47/image_10072025_18_48_04_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886479","1371886481","1371886484","1371886487","1371886489","1371886486"],"photo_ids_order":["1371886479","1371886481","1371886484","1371886486","1371886487","1371886489"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f2d3ebffe7882c8884f9ffd2c6b0d8a.jpg","text":"TemporaryFile(/tmp/multipartBody816834588818187747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318425812,"filename":"image_10072025_18_48_54_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bb2bd0028b63608b028fd6284b5444b.jpg","text":"TemporaryFile(/tmp/multipartBody8217586963613713558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318425812,"filename":"image_10072025_18_48_43_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac4265767c43a6f2f94d0e20f1263d22.jpg","text":"TemporaryFile(/tmp/multipartBody8503473035402030600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318425812,"filename":"image_10072025_18_48_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02cc97f566197aae562168839fd2093f.jpg","text":"TemporaryFile(/tmp/multipartBody294859937311398932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318425812,"filename":"image_10072025_18_48_13_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7a4a72c9e3b9b934224802013ced1a5.jpg","text":"TemporaryFile(/tmp/multipartBody6207041698957417476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318425812,"filename":"image_10072025_18_48_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7bbb56758270c456989f5b3bcd078ac2.jpg","text":"TemporaryFile(/tmp/multipartBody9197377701600268547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318425812,"filename":"image_10072025_18_48_24_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886484","file1":"1371886481","file0":"1371886479","file4":"1371886487","file5":"1371886489","file3":"1371886486"},"map_files_photo_id_array":[{"photo_id":"1371886489","filename":"file5"},{"photo_id":"1371886484","filename":"file2"},{"photo_id":"1371886487","filename":"file4"},{"photo_id":"1371886481","filename":"file1"},{"photo_id":"1371886479","filename":"file0"},{"photo_id":"1371886486","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371886479":["hashtag1","hashtag2"]},{"1371886481":["hashtag1","hashtag2"]},{"1371886484":["hashtag1","hashtag2"]},{"1371886487":["hashtag1","hashtag2"]},{"1371886489":["hashtag1","hashtag2"]},{"1371886486":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371886479, 1371886481, 1371886484, 1371886487, 1371886489, 1371886486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27069544792175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:06:46.951374
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_44_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_34_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_23_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/13/05/image_12072025_13_06_03_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_44_9635.jpg', '/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_34_10654.jpg', '/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_23_9614.jpg', '/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_14_10639.jpg', '/home/nano/Desktop/images/12072025/13/05/image_12072025_13_06_03_9634.jpg', '/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_44_9635.jpg
/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_34_10654.jpg
/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_23_9614.jpg
/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_14_10639.jpg
/home/nano/Desktop/images/12072025/13/05/image_12072025_13_06_03_9634.jpg
/home/nano/Desktop/images/12072025/13/05/image_12072025_13_05_54_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886491","1371886496","1371886500","1371886493","1371886495","1371886498"],"photo_ids_order":["1371886491","1371886493","1371886495","1371886496","1371886498","1371886500"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6a39efc51d20b733b2b9612da1ea4db.jpg","text":"TemporaryFile(/tmp/multipartBody8771670453012481598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318468158,"filename":"image_12072025_13_06_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f28177267d00245726c7c29659af1488.jpg","text":"TemporaryFile(/tmp/multipartBody5807075520295107110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318468158,"filename":"image_12072025_13_06_14_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ae1fa4340e2dc60f514df22add03f75.jpg","text":"TemporaryFile(/tmp/multipartBody8627450229339342614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318468158,"filename":"image_12072025_13_05_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa6cbc8ce931f8bf14b52ec699600124.jpg","text":"TemporaryFile(/tmp/multipartBody8039164235908976042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318468158,"filename":"image_12072025_13_06_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e81841ad0da9f0ccd52b8edc85b0a077.jpg","text":"TemporaryFile(/tmp/multipartBody3414106762221204679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318468158,"filename":"image_12072025_13_06_23_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fbc4c5b68c39489ed4158ec827380646.jpg","text":"TemporaryFile(/tmp/multipartBody4040157526728090075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318468158,"filename":"image_12072025_13_06_03_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886495","file1":"1371886493","file0":"1371886491","file4":"1371886498","file5":"1371886500","file3":"1371886496"},"map_files_photo_id_array":[{"photo_id":"1371886500","filename":"file5"},{"photo_id":"1371886495","filename":"file2"},{"photo_id":"1371886498","filename":"file4"},{"photo_id":"1371886493","filename":"file1"},{"photo_id":"1371886491","filename":"file0"},{"photo_id":"1371886496","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886491":["hashtag1","hashtag2"]},{"1371886496":["hashtag1","hashtag2"]},{"1371886500":["hashtag1","hashtag2"]},{"1371886493":["hashtag1","hashtag2"]},{"1371886495":["hashtag1","hashtag2"]},{"1371886498":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886491, 1371886496, 1371886500, 1371886493, 1371886495, 1371886498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83272957801819 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:07:32.049604
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_43_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_34_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_23_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_14_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/13/06/image_12072025_13_07_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_53_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_43_9646.jpg', '/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_34_10630.jpg', '/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_23_9613.jpg', '/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_14_9641.jpg', '/home/nano/Desktop/images/12072025/13/06/image_12072025_13_07_04_10661.jpg', '/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_53_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_43_9646.jpg
/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_34_10630.jpg
/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_23_9613.jpg
/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_14_9641.jpg
/home/nano/Desktop/images/12072025/13/06/image_12072025_13_07_04_10661.jpg
/home/nano/Desktop/images/12072025/13/06/image_12072025_13_06_53_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886504","1371886506","1371886508","1371886511","1371886505","1371886513"],"photo_ids_order":["1371886504","1371886505","1371886506","1371886508","1371886511","1371886513"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d06db695ddb81ef9a7ee6857f5f8179c.jpg","text":"TemporaryFile(/tmp/multipartBody5924320207013744483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318513337,"filename":"image_12072025_13_07_43_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/485bd9e1c2d62bf3bc85ed23fbdd4787.jpg","text":"TemporaryFile(/tmp/multipartBody7673456025830799681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318513337,"filename":"image_12072025_13_07_23_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/828dc10f6dc2ecd27957c2a3f2c3388a.jpg","text":"TemporaryFile(/tmp/multipartBody4174410664852994670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318513337,"filename":"image_12072025_13_07_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1514b356b9ca0beed2fdbf29f9dba388.jpg","text":"TemporaryFile(/tmp/multipartBody8698934421931917671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318513337,"filename":"image_12072025_13_07_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38a8f04a2d46dab676f91ab4abb749be.jpg","text":"TemporaryFile(/tmp/multipartBody2182511967296987513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318513337,"filename":"image_12072025_13_07_34_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a35824702d9fd21a086797d6e8f5f99.jpg","text":"TemporaryFile(/tmp/multipartBody8000125061124770794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318513337,"filename":"image_12072025_13_06_53_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886506","file1":"1371886505","file0":"1371886504","file4":"1371886511","file5":"1371886513","file3":"1371886508"},"map_files_photo_id_array":[{"photo_id":"1371886513","filename":"file5"},{"photo_id":"1371886506","filename":"file2"},{"photo_id":"1371886511","filename":"file4"},{"photo_id":"1371886505","filename":"file1"},{"photo_id":"1371886504","filename":"file0"},{"photo_id":"1371886508","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886504":["hashtag1","hashtag2"]},{"1371886506":["hashtag1","hashtag2"]},{"1371886508":["hashtag1","hashtag2"]},{"1371886511":["hashtag1","hashtag2"]},{"1371886505":["hashtag1","hashtag2"]},{"1371886513":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886504, 1371886506, 1371886508, 1371886511, 1371886505, 1371886513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.25427508354187 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:08:17.134445
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_43_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_34_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_24_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_13_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/13/07/image_12072025_13_08_04_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_53_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_43_9610.jpg', '/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_34_9620.jpg', '/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_24_10614.jpg', '/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_13_9647.jpg', '/home/nano/Desktop/images/12072025/13/07/image_12072025_13_08_04_10643.jpg', '/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_53_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_43_9610.jpg
/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_34_9620.jpg
/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_24_10614.jpg
/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_13_9647.jpg
/home/nano/Desktop/images/12072025/13/07/image_12072025_13_08_04_10643.jpg
/home/nano/Desktop/images/12072025/13/07/image_12072025_13_07_53_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886522","1371886521","1371886524","1371886526","1371886523","1371886525"],"photo_ids_order":["1371886521","1371886522","1371886523","1371886524","1371886525","1371886526"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5795fbd04dcbbdbc548e3117bcf5825.jpg","text":"TemporaryFile(/tmp/multipartBody501193430981547828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318558203,"filename":"image_12072025_13_08_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b5ab775bd029387eee439ef575222a7.jpg","text":"TemporaryFile(/tmp/multipartBody5928027293985399016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318558203,"filename":"image_12072025_13_08_43_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2cb8931c62355c1cfbc694fc54e02396.jpg","text":"TemporaryFile(/tmp/multipartBody2243030716673297526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318558203,"filename":"image_12072025_13_08_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f84a1e1b6e7cf95edb6dfa91ebc39855.jpg","text":"TemporaryFile(/tmp/multipartBody7086247588060069996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318558203,"filename":"image_12072025_13_07_53_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b791204843f6ca2c5befe32aea04ecd.jpg","text":"TemporaryFile(/tmp/multipartBody4547921745871885263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318558203,"filename":"image_12072025_13_08_24_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f24135348c01bfa2f07cc0e30bd2049b.jpg","text":"TemporaryFile(/tmp/multipartBody8401312527798669987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318558203,"filename":"image_12072025_13_08_04_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886523","file1":"1371886522","file0":"1371886521","file4":"1371886525","file5":"1371886526","file3":"1371886524"},"map_files_photo_id_array":[{"photo_id":"1371886526","filename":"file5"},{"photo_id":"1371886523","filename":"file2"},{"photo_id":"1371886525","filename":"file4"},{"photo_id":"1371886522","filename":"file1"},{"photo_id":"1371886521","filename":"file0"},{"photo_id":"1371886524","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886522":["hashtag1","hashtag2"]},{"1371886521":["hashtag1","hashtag2"]},{"1371886524":["hashtag1","hashtag2"]},{"1371886526":["hashtag1","hashtag2"]},{"1371886523":["hashtag1","hashtag2"]},{"1371886525":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886522, 1371886521, 1371886524, 1371886526, 1371886523, 1371886525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.487773895263672 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:09:03.342120
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/47/image_10072025_18_47_43_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/47/image_10072025_18_47_34_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/18/47/image_10072025_18_47_24_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/18/47/image_10072025_18_47_13_9669.jpg', 2), ('/home/nano/Desktop/images/10072025/18/46/image_10072025_18_47_04_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/18/46/image_10072025_18_46_53_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/47/image_10072025_18_47_43_9631.jpg', '/home/nano/Desktop/images/10072025/18/47/image_10072025_18_47_34_9630.jpg', '/home/nano/Desktop/images/10072025/18/47/image_10072025_18_47_24_10640.jpg', '/home/nano/Desktop/images/10072025/18/47/image_10072025_18_47_13_9669.jpg', '/home/nano/Desktop/images/10072025/18/46/image_10072025_18_47_04_10647.jpg', '/home/nano/Desktop/images/10072025/18/46/image_10072025_18_46_53_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/47/image_10072025_18_47_43_9631.jpg
/home/nano/Desktop/images/10072025/18/47/image_10072025_18_47_34_9630.jpg
/home/nano/Desktop/images/10072025/18/47/image_10072025_18_47_24_10640.jpg
/home/nano/Desktop/images/10072025/18/47/image_10072025_18_47_13_9669.jpg
/home/nano/Desktop/images/10072025/18/46/image_10072025_18_47_04_10647.jpg
/home/nano/Desktop/images/10072025/18/46/image_10072025_18_46_53_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886533","1371886539","1371886541","1371886537","1371886540","1371886534"],"photo_ids_order":["1371886533","1371886534","1371886537","1371886539","1371886540","1371886541"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca1b32e64204289c742f32febe2a29b6.jpg","text":"TemporaryFile(/tmp/multipartBody7388720729239811215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318606180,"filename":"image_10072025_18_47_43_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a900532c48e3508cc1adc8899f05a82.jpg","text":"TemporaryFile(/tmp/multipartBody7344076724504089643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318606180,"filename":"image_10072025_18_47_13_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54aeb65ec90be2942f47a712cac2990d.jpg","text":"TemporaryFile(/tmp/multipartBody592510298258151504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318606180,"filename":"image_10072025_18_46_53_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18af8fa79993ecdc341e822d10beca5c.jpg","text":"TemporaryFile(/tmp/multipartBody7212437772245633247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318606180,"filename":"image_10072025_18_47_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/152489bf89385f563c27dbf4bb9e0c0a.jpg","text":"TemporaryFile(/tmp/multipartBody1036265992006978344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318606180,"filename":"image_10072025_18_47_04_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/319a0e87b3f06df338bb8545fadc2cb2.jpg","text":"TemporaryFile(/tmp/multipartBody2851250654137738034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318606180,"filename":"image_10072025_18_47_34_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886537","file1":"1371886534","file0":"1371886533","file4":"1371886540","file5":"1371886541","file3":"1371886539"},"map_files_photo_id_array":[{"photo_id":"1371886541","filename":"file5"},{"photo_id":"1371886537","filename":"file2"},{"photo_id":"1371886540","filename":"file4"},{"photo_id":"1371886534","filename":"file1"},{"photo_id":"1371886533","filename":"file0"},{"photo_id":"1371886539","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371886533":["hashtag1","hashtag2"]},{"1371886539":["hashtag1","hashtag2"]},{"1371886541":["hashtag1","hashtag2"]},{"1371886537":["hashtag1","hashtag2"]},{"1371886540":["hashtag1","hashtag2"]},{"1371886534":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371886533, 1371886539, 1371886541, 1371886537, 1371886540, 1371886534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92623949050903 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:09:47.294628
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_43_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_34_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_24_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/13/08/image_12072025_13_09_04_9685.jpg', 2), ('/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_54_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_43_9630.jpg', '/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_34_9620.jpg', '/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_24_10641.jpg', '/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_13_9658.jpg', '/home/nano/Desktop/images/12072025/13/08/image_12072025_13_09_04_9685.jpg', '/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_54_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_43_9630.jpg
/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_34_9620.jpg
/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_24_10641.jpg
/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_13_9658.jpg
/home/nano/Desktop/images/12072025/13/08/image_12072025_13_09_04_9685.jpg
/home/nano/Desktop/images/12072025/13/08/image_12072025_13_08_54_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886557","1371886559","1371886568","1371886567","1371886561","1371886564"],"photo_ids_order":["1371886557","1371886559","1371886561","1371886564","1371886567","1371886568"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8dc7e10f4bebac688df138d984b5e371.jpg","text":"TemporaryFile(/tmp/multipartBody6083169002116704368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318649266,"filename":"image_12072025_13_09_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25946d5a399cf7ba224043aaedc86216.jpg","text":"TemporaryFile(/tmp/multipartBody4840885650196167143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318649266,"filename":"image_12072025_13_09_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f18980c5298c677badaa9a19c5a3c2a9.jpg","text":"TemporaryFile(/tmp/multipartBody6637971278044391982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318649266,"filename":"image_12072025_13_08_54_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff3c9e11d9d223819805da43ab96662d.jpg","text":"TemporaryFile(/tmp/multipartBody2411262580053464770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318649266,"filename":"image_12072025_13_09_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/800168970ed22e60cf5b340577955774.jpg","text":"TemporaryFile(/tmp/multipartBody1419436929625983704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318649266,"filename":"image_12072025_13_09_24_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dee1639695ada440cf373b4125163577.jpg","text":"TemporaryFile(/tmp/multipartBody8903931647409225102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318649266,"filename":"image_12072025_13_09_13_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886561","file1":"1371886559","file0":"1371886557","file4":"1371886567","file5":"1371886568","file3":"1371886564"},"map_files_photo_id_array":[{"photo_id":"1371886568","filename":"file5"},{"photo_id":"1371886561","filename":"file2"},{"photo_id":"1371886567","filename":"file4"},{"photo_id":"1371886559","filename":"file1"},{"photo_id":"1371886557","filename":"file0"},{"photo_id":"1371886564","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886557":["hashtag1","hashtag2"]},{"1371886559":["hashtag1","hashtag2"]},{"1371886568":["hashtag1","hashtag2"]},{"1371886567":["hashtag1","hashtag2"]},{"1371886561":["hashtag1","hashtag2"]},{"1371886564":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886557, 1371886559, 1371886568, 1371886567, 1371886561, 1371886564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.453378438949585 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:10:32.400165
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_44_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_33_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_24_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_14_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/13/09/image_12072025_13_10_03_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_54_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_44_10616.jpg', '/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_33_9628.jpg', '/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_24_9624.jpg', '/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_14_10657.jpg', '/home/nano/Desktop/images/12072025/13/09/image_12072025_13_10_03_9619.jpg', '/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_54_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_44_10616.jpg
/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_33_9628.jpg
/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_24_9624.jpg
/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_14_10657.jpg
/home/nano/Desktop/images/12072025/13/09/image_12072025_13_10_03_9619.jpg
/home/nano/Desktop/images/12072025/13/09/image_12072025_13_09_54_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886572","1371886577","1371886571","1371886573","1371886576","1371886579"],"photo_ids_order":["1371886571","1371886572","1371886573","1371886576","1371886577","1371886579"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2af9f0c0ef86e53f8b39c7b6e3a3d972.jpg","text":"TemporaryFile(/tmp/multipartBody5478561261964149996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318693558,"filename":"image_12072025_13_10_33_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c29c09406f46bc86a29de7566e4105e1.jpg","text":"TemporaryFile(/tmp/multipartBody6409565147111675994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318693558,"filename":"image_12072025_13_10_03_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c43902c29d9c512863546616835ad644.jpg","text":"TemporaryFile(/tmp/multipartBody743793772359631212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318693558,"filename":"image_12072025_13_10_44_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/238f870dcd0c9e7dc78e9385460a9adb.jpg","text":"TemporaryFile(/tmp/multipartBody6074502502766340997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318693558,"filename":"image_12072025_13_10_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a72d6f2dc343d9d9cdec52403b99dce.jpg","text":"TemporaryFile(/tmp/multipartBody5848979313808639878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318693558,"filename":"image_12072025_13_10_14_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0060665d8a7eee32b9897da95a9c4843.jpg","text":"TemporaryFile(/tmp/multipartBody8579448392951604681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318693558,"filename":"image_12072025_13_09_54_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886573","file1":"1371886572","file0":"1371886571","file4":"1371886577","file5":"1371886579","file3":"1371886576"},"map_files_photo_id_array":[{"photo_id":"1371886579","filename":"file5"},{"photo_id":"1371886573","filename":"file2"},{"photo_id":"1371886577","filename":"file4"},{"photo_id":"1371886572","filename":"file1"},{"photo_id":"1371886571","filename":"file0"},{"photo_id":"1371886576","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886572":["hashtag1","hashtag2"]},{"1371886577":["hashtag1","hashtag2"]},{"1371886571":["hashtag1","hashtag2"]},{"1371886573":["hashtag1","hashtag2"]},{"1371886576":["hashtag1","hashtag2"]},{"1371886579":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886572, 1371886577, 1371886571, 1371886573, 1371886576, 1371886579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.54529881477356 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:11:17.542579
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_44_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_34_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_23_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_14_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/13/10/image_12072025_13_11_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_54_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_44_9619.jpg', '/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_34_10636.jpg', '/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_23_9624.jpg', '/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_14_10633.jpg', '/home/nano/Desktop/images/12072025/13/10/image_12072025_13_11_03_9642.jpg', '/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_54_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_44_9619.jpg
/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_34_10636.jpg
/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_23_9624.jpg
/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_14_10633.jpg
/home/nano/Desktop/images/12072025/13/10/image_12072025_13_11_03_9642.jpg
/home/nano/Desktop/images/12072025/13/10/image_12072025_13_10_54_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886590","1371886593","1371886592","1371886591","1371886594","1371886588"],"photo_ids_order":["1371886588","1371886590","1371886591","1371886592","1371886593","1371886594"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e08701633e2645f3b4ea2bc022beed97.jpg","text":"TemporaryFile(/tmp/multipartBody3889300952272258797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318738583,"filename":"image_12072025_13_11_34_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/105efeeeedc0d3f55194b7e5a6c8cc26.jpg","text":"TemporaryFile(/tmp/multipartBody4043792378176081756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318738583,"filename":"image_12072025_13_11_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9035b23b6c707ccd91ed9a30e71e119f.jpg","text":"TemporaryFile(/tmp/multipartBody8807633028389115983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318738583,"filename":"image_12072025_13_11_14_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9798088b3d7f73513fb955d05d73599a.jpg","text":"TemporaryFile(/tmp/multipartBody8069094516566007933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318738583,"filename":"image_12072025_13_11_23_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93cb83e13b24449156a26b8733104aad.jpg","text":"TemporaryFile(/tmp/multipartBody2134892521745079011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318738583,"filename":"image_12072025_13_10_54_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d974d043f770a42a01982218dea7c51.jpg","text":"TemporaryFile(/tmp/multipartBody8946566948825982018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318738583,"filename":"image_12072025_13_11_44_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886591","file1":"1371886590","file0":"1371886588","file4":"1371886593","file5":"1371886594","file3":"1371886592"},"map_files_photo_id_array":[{"photo_id":"1371886594","filename":"file5"},{"photo_id":"1371886591","filename":"file2"},{"photo_id":"1371886593","filename":"file4"},{"photo_id":"1371886590","filename":"file1"},{"photo_id":"1371886588","filename":"file0"},{"photo_id":"1371886592","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886590":["hashtag1","hashtag2"]},{"1371886593":["hashtag1","hashtag2"]},{"1371886592":["hashtag1","hashtag2"]},{"1371886591":["hashtag1","hashtag2"]},{"1371886594":["hashtag1","hashtag2"]},{"1371886588":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886590, 1371886593, 1371886592, 1371886591, 1371886594, 1371886588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.575389623641968 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:12:03.129412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/46/image_10072025_18_46_43_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/18/46/image_10072025_18_46_34_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/18/45/image_10072025_18_45_53_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/18/45/image_10072025_18_45_34_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/18/45/image_10072025_18_45_23_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/18/45/image_10072025_18_45_14_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/46/image_10072025_18_46_43_9630.jpg', '/home/nano/Desktop/images/10072025/18/46/image_10072025_18_46_34_10640.jpg', '/home/nano/Desktop/images/10072025/18/45/image_10072025_18_45_53_9639.jpg', '/home/nano/Desktop/images/10072025/18/45/image_10072025_18_45_34_10639.jpg', '/home/nano/Desktop/images/10072025/18/45/image_10072025_18_45_23_9630.jpg', '/home/nano/Desktop/images/10072025/18/45/image_10072025_18_45_14_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/46/image_10072025_18_46_43_9630.jpg
/home/nano/Desktop/images/10072025/18/46/image_10072025_18_46_34_10640.jpg
/home/nano/Desktop/images/10072025/18/45/image_10072025_18_45_53_9639.jpg
/home/nano/Desktop/images/10072025/18/45/image_10072025_18_45_34_10639.jpg
/home/nano/Desktop/images/10072025/18/45/image_10072025_18_45_23_9630.jpg
/home/nano/Desktop/images/10072025/18/45/image_10072025_18_45_14_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886600","1371886602","1371886605","1371886608","1371886607","1371886610"],"photo_ids_order":["1371886600","1371886602","1371886605","1371886607","1371886608","1371886610"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48e6746cdac46bd9a40cedea338f6dfa.jpg","text":"TemporaryFile(/tmp/multipartBody557835450405855118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318785713,"filename":"image_10072025_18_46_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d58b2b4c95e1a3d1b98748f5a3e5334.jpg","text":"TemporaryFile(/tmp/multipartBody4433752086023303920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318785713,"filename":"image_10072025_18_46_34_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/583abf21637cd445d9b29db00f38b520.jpg","text":"TemporaryFile(/tmp/multipartBody346098686651974377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318785713,"filename":"image_10072025_18_45_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea306d56ccb8e8a56d7ebc3646b4aff1.jpg","text":"TemporaryFile(/tmp/multipartBody570539397125961539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318785713,"filename":"image_10072025_18_45_23_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9faf8ef350fe1b0b559ec9e058373e0c.jpg","text":"TemporaryFile(/tmp/multipartBody5688513840157745440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318785713,"filename":"image_10072025_18_45_34_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c224f5c27832d700d7eaa04ee4a67d08.jpg","text":"TemporaryFile(/tmp/multipartBody1994398174850841217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318785713,"filename":"image_10072025_18_45_14_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886605","file1":"1371886602","file0":"1371886600","file4":"1371886608","file5":"1371886610","file3":"1371886607"},"map_files_photo_id_array":[{"photo_id":"1371886610","filename":"file5"},{"photo_id":"1371886605","filename":"file2"},{"photo_id":"1371886608","filename":"file4"},{"photo_id":"1371886602","filename":"file1"},{"photo_id":"1371886600","filename":"file0"},{"photo_id":"1371886607","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371886600":["hashtag1","hashtag2"]},{"1371886602":["hashtag1","hashtag2"]},{"1371886605":["hashtag1","hashtag2"]},{"1371886608":["hashtag1","hashtag2"]},{"1371886607":["hashtag1","hashtag2"]},{"1371886610":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371886600, 1371886602, 1371886605, 1371886608, 1371886607, 1371886610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.633663177490234 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:12:47.612894
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_43_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_34_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_23_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_14_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/13/11/image_12072025_13_12_04_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_43_9599.jpg', '/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_34_10621.jpg', '/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_23_9619.jpg', '/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_14_9635.jpg', '/home/nano/Desktop/images/12072025/13/11/image_12072025_13_12_04_10638.jpg', '/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_43_9599.jpg
/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_34_10621.jpg
/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_23_9619.jpg
/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_14_9635.jpg
/home/nano/Desktop/images/12072025/13/11/image_12072025_13_12_04_10638.jpg
/home/nano/Desktop/images/12072025/13/11/image_12072025_13_11_53_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886620","1371886625","1371886613","1371886622","1371886616","1371886618"],"photo_ids_order":["1371886613","1371886616","1371886618","1371886620","1371886622","1371886625"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5db29973c719ca7e4bef4884edcf645.jpg","text":"TemporaryFile(/tmp/multipartBody6720331262214249009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318829501,"filename":"image_12072025_13_12_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c293f4e86b444ed77a59b9789f33f24.jpg","text":"TemporaryFile(/tmp/multipartBody2754367003251176088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318829501,"filename":"image_12072025_13_11_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76ade6bbde7bbadd6eed6f03cce0717e.jpg","text":"TemporaryFile(/tmp/multipartBody2567510133355626618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318829501,"filename":"image_12072025_13_12_43_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1369eedc1854a3a5175d464ffa152762.jpg","text":"TemporaryFile(/tmp/multipartBody7416199167270001381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318829501,"filename":"image_12072025_13_12_04_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75d4adf462faf1a09af0c7c532f08654.jpg","text":"TemporaryFile(/tmp/multipartBody2514393480385148558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318829501,"filename":"image_12072025_13_12_34_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16de5e6c32f2e2fe37f64739bde2bb9d.jpg","text":"TemporaryFile(/tmp/multipartBody1253309595465995228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318829501,"filename":"image_12072025_13_12_23_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886618","file1":"1371886616","file0":"1371886613","file4":"1371886622","file5":"1371886625","file3":"1371886620"},"map_files_photo_id_array":[{"photo_id":"1371886625","filename":"file5"},{"photo_id":"1371886618","filename":"file2"},{"photo_id":"1371886622","filename":"file4"},{"photo_id":"1371886616","filename":"file1"},{"photo_id":"1371886613","filename":"file0"},{"photo_id":"1371886620","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886620":["hashtag1","hashtag2"]},{"1371886625":["hashtag1","hashtag2"]},{"1371886613":["hashtag1","hashtag2"]},{"1371886622":["hashtag1","hashtag2"]},{"1371886616":["hashtag1","hashtag2"]},{"1371886618":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886620, 1371886625, 1371886613, 1371886622, 1371886616, 1371886618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.819530487060547 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:13:32.683488
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_43_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_24_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_13_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/13/12/image_12072025_13_13_04_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_53_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_43_9613.jpg', '/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_34_9610.jpg', '/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_24_10631.jpg', '/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_13_9652.jpg', '/home/nano/Desktop/images/12072025/13/12/image_12072025_13_13_04_10635.jpg', '/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_53_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_43_9613.jpg
/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_34_9610.jpg
/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_24_10631.jpg
/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_13_9652.jpg
/home/nano/Desktop/images/12072025/13/12/image_12072025_13_13_04_10635.jpg
/home/nano/Desktop/images/12072025/13/12/image_12072025_13_12_53_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886635","1371886629","1371886631","1371886637","1371886639","1371886630"],"photo_ids_order":["1371886629","1371886630","1371886631","1371886635","1371886637","1371886639"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a432fb5f1f72635b860f48addaf40b2.jpg","text":"TemporaryFile(/tmp/multipartBody7169394883615066154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318874592,"filename":"image_12072025_13_13_13_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35dadcb482a2c28d7194cfb4c0583a91.jpg","text":"TemporaryFile(/tmp/multipartBody3068393496152188680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318874592,"filename":"image_12072025_13_13_43_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad9189c0aa499cb152c739dd2fad69fc.jpg","text":"TemporaryFile(/tmp/multipartBody8293113066120783849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318874592,"filename":"image_12072025_13_13_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/496bbb2a88934877083d8ec6937faad9.jpg","text":"TemporaryFile(/tmp/multipartBody7490790573865656902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318874592,"filename":"image_12072025_13_13_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c429c17f454245c027896d50770214c1.jpg","text":"TemporaryFile(/tmp/multipartBody4651586792092708535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318874592,"filename":"image_12072025_13_12_53_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fcb7251fc8c0977b3b1811d0ebf3117.jpg","text":"TemporaryFile(/tmp/multipartBody2275235795638256289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318874592,"filename":"image_12072025_13_13_34_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886631","file1":"1371886630","file0":"1371886629","file4":"1371886637","file5":"1371886639","file3":"1371886635"},"map_files_photo_id_array":[{"photo_id":"1371886639","filename":"file5"},{"photo_id":"1371886631","filename":"file2"},{"photo_id":"1371886637","filename":"file4"},{"photo_id":"1371886630","filename":"file1"},{"photo_id":"1371886629","filename":"file0"},{"photo_id":"1371886635","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886635":["hashtag1","hashtag2"]},{"1371886629":["hashtag1","hashtag2"]},{"1371886631":["hashtag1","hashtag2"]},{"1371886637":["hashtag1","hashtag2"]},{"1371886639":["hashtag1","hashtag2"]},{"1371886630":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886635, 1371886629, 1371886631, 1371886637, 1371886639, 1371886630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.303850412368774 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:14:16.886994
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_43_9766.jpg', 2), ('/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_33_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_24_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_13_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/13/13/image_12072025_13_14_03_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_43_9766.jpg', '/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_33_9625.jpg', '/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_24_10650.jpg', '/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_13_9627.jpg', '/home/nano/Desktop/images/12072025/13/13/image_12072025_13_14_03_9627.jpg', '/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_43_9766.jpg
/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_33_9625.jpg
/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_24_10650.jpg
/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_13_9627.jpg
/home/nano/Desktop/images/12072025/13/13/image_12072025_13_14_03_9627.jpg
/home/nano/Desktop/images/12072025/13/13/image_12072025_13_13_54_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886650","1371886653","1371886647","1371886644","1371886648","1371886651"],"photo_ids_order":["1371886644","1371886647","1371886648","1371886650","1371886651","1371886653"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a1e9ba96490cc52a3c24c117d8913e2.jpg","text":"TemporaryFile(/tmp/multipartBody3530016577369799630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318919094,"filename":"image_12072025_13_14_13_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b75fb53888afdfd57c333751be2057f5.jpg","text":"TemporaryFile(/tmp/multipartBody2959431278821335872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318919094,"filename":"image_12072025_13_13_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4208e6b9c071ad74106da5a49feee130.jpg","text":"TemporaryFile(/tmp/multipartBody9046168088311573602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318919094,"filename":"image_12072025_13_14_33_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27cdf50ab805c180c57de8503de0ab9a.jpg","text":"TemporaryFile(/tmp/multipartBody2206068821744020211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318919094,"filename":"image_12072025_13_14_43_9766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0a0336dce63ff670377316bdf8b34fa.jpg","text":"TemporaryFile(/tmp/multipartBody7545917839603689398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318919094,"filename":"image_12072025_13_14_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/987cf7b81516268c4aa001142e49a1aa.jpg","text":"TemporaryFile(/tmp/multipartBody1268661339175320347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318919094,"filename":"image_12072025_13_14_03_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886648","file1":"1371886647","file0":"1371886644","file4":"1371886651","file5":"1371886653","file3":"1371886650"},"map_files_photo_id_array":[{"photo_id":"1371886653","filename":"file5"},{"photo_id":"1371886648","filename":"file2"},{"photo_id":"1371886651","filename":"file4"},{"photo_id":"1371886647","filename":"file1"},{"photo_id":"1371886644","filename":"file0"},{"photo_id":"1371886650","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886650":["hashtag1","hashtag2"]},{"1371886653":["hashtag1","hashtag2"]},{"1371886647":["hashtag1","hashtag2"]},{"1371886644":["hashtag1","hashtag2"]},{"1371886648":["hashtag1","hashtag2"]},{"1371886651":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886650, 1371886653, 1371886647, 1371886644, 1371886648, 1371886651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.36191010475159 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:15:32.001128
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_43_9699.jpg', 2), ('/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_34_9693.jpg', 2), ('/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_24_9772.jpg', 2), ('/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_14_10995.jpg', 2), ('/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_54_10717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_43_9699.jpg', '/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_34_9693.jpg', '/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_24_9772.jpg', '/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_14_10995.jpg', '/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_54_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_43_9699.jpg
/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_34_9693.jpg
/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_24_9772.jpg
/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_14_10995.jpg
/home/nano/Desktop/images/12072025/13/14/image_12072025_13_14_54_10717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886659","1371886662","1371886664","1371886666","1371886669"],"photo_ids_order":["1371886659","1371886662","1371886664","1371886666","1371886669"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0a3c8434e3b906a7f0514ea44653acd.jpg","text":"TemporaryFile(/tmp/multipartBody426325432212781446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318993838,"filename":"image_12072025_13_15_43_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79128756a9c63ca539ca8e1640e22b8e.jpg","text":"TemporaryFile(/tmp/multipartBody2448329014103231447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318993838,"filename":"image_12072025_13_15_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/319e684488984a9e34aec93909df2dfd.jpg","text":"TemporaryFile(/tmp/multipartBody8626474952231191359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318993838,"filename":"image_12072025_13_15_24_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d465ce8bba6bb9053013fefc82c1c91.jpg","text":"TemporaryFile(/tmp/multipartBody3463679096958034720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318993838,"filename":"image_12072025_13_15_14_10995.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed6e0729729b47f461e254f032ca7139.jpg","text":"TemporaryFile(/tmp/multipartBody8209893540351582216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752318993838,"filename":"image_12072025_13_14_54_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886664","file1":"1371886662","file0":"1371886659","file4":"1371886669","file3":"1371886666"},"map_files_photo_id_array":[{"photo_id":"1371886664","filename":"file2"},{"photo_id":"1371886669","filename":"file4"},{"photo_id":"1371886662","filename":"file1"},{"photo_id":"1371886659","filename":"file0"},{"photo_id":"1371886666","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886659":["hashtag1","hashtag2"]},{"1371886662":["hashtag1","hashtag2"]},{"1371886664":["hashtag1","hashtag2"]},{"1371886666":["hashtag1","hashtag2"]},{"1371886669":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886659, 1371886662, 1371886664, 1371886666, 1371886669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.985177755355835 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:16:02.570301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/44/image_10072025_18_45_04_10643.jpg', 2), ('/home/nano/Desktop/images/10072025/18/44/image_10072025_18_44_53_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/18/44/image_10072025_18_44_44_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/18/44/image_10072025_18_44_23_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/43/image_10072025_18_44_03_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/44/image_10072025_18_45_04_10643.jpg', '/home/nano/Desktop/images/10072025/18/44/image_10072025_18_44_53_9630.jpg', '/home/nano/Desktop/images/10072025/18/44/image_10072025_18_44_44_10639.jpg', '/home/nano/Desktop/images/10072025/18/44/image_10072025_18_44_23_9631.jpg', '/home/nano/Desktop/images/10072025/18/43/image_10072025_18_44_03_9641.jpg', '/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/44/image_10072025_18_45_04_10643.jpg
/home/nano/Desktop/images/10072025/18/44/image_10072025_18_44_53_9630.jpg
/home/nano/Desktop/images/10072025/18/44/image_10072025_18_44_44_10639.jpg
/home/nano/Desktop/images/10072025/18/44/image_10072025_18_44_23_9631.jpg
/home/nano/Desktop/images/10072025/18/43/image_10072025_18_44_03_9641.jpg
/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886680","1371886674","1371886676","1371886679","1371886673","1371886678"],"photo_ids_order":["1371886673","1371886674","1371886676","1371886678","1371886679","1371886680"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e831ac3236589644786bf99cd7e64a18.jpg","text":"TemporaryFile(/tmp/multipartBody683632030659731725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319026125,"filename":"image_10072025_18_43_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/364936d398328369179ab6cd065101de.jpg","text":"TemporaryFile(/tmp/multipartBody7999970818820519772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319026125,"filename":"image_10072025_18_44_53_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/073c275fa174499bad23d0183b739815.jpg","text":"TemporaryFile(/tmp/multipartBody6697715198283596625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319026125,"filename":"image_10072025_18_44_44_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6192a0d12496025acfd3a18ccdbba729.jpg","text":"TemporaryFile(/tmp/multipartBody389432940495945618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319026125,"filename":"image_10072025_18_44_03_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6954ba9d3ebbe5d178016740c1813f71.jpg","text":"TemporaryFile(/tmp/multipartBody5522901872460361145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319026125,"filename":"image_10072025_18_45_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46c61e3d06abad3b27f01b3e79a17437.jpg","text":"TemporaryFile(/tmp/multipartBody2364384604252940689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319026125,"filename":"image_10072025_18_44_23_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886676","file1":"1371886674","file0":"1371886673","file4":"1371886679","file5":"1371886680","file3":"1371886678"},"map_files_photo_id_array":[{"photo_id":"1371886680","filename":"file5"},{"photo_id":"1371886676","filename":"file2"},{"photo_id":"1371886679","filename":"file4"},{"photo_id":"1371886674","filename":"file1"},{"photo_id":"1371886673","filename":"file0"},{"photo_id":"1371886678","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371886680":["hashtag1","hashtag2"]},{"1371886674":["hashtag1","hashtag2"]},{"1371886676":["hashtag1","hashtag2"]},{"1371886679":["hashtag1","hashtag2"]},{"1371886673":["hashtag1","hashtag2"]},{"1371886678":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371886680, 1371886674, 1371886676, 1371886679, 1371886673, 1371886678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.688374042510986 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:16:47.100586
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_43_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_34_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_24_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_13_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/13/15/image_12072025_13_16_04_9736.jpg', 2), ('/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_54_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_43_9658.jpg', '/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_34_9660.jpg', '/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_24_10643.jpg', '/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_13_9645.jpg', '/home/nano/Desktop/images/12072025/13/15/image_12072025_13_16_04_9736.jpg', '/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_54_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_43_9658.jpg
/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_34_9660.jpg
/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_24_10643.jpg
/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_13_9645.jpg
/home/nano/Desktop/images/12072025/13/15/image_12072025_13_16_04_9736.jpg
/home/nano/Desktop/images/12072025/13/15/image_12072025_13_15_54_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886692","1371886694","1371886697","1371886690","1371886687","1371886695"],"photo_ids_order":["1371886687","1371886690","1371886692","1371886694","1371886695","1371886697"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2cde57746da86acb695d29ead9d1687c.jpg","text":"TemporaryFile(/tmp/multipartBody5278932003472226425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319069213,"filename":"image_12072025_13_16_24_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/829d27f391a19ae928a2fdbaca48afd8.jpg","text":"TemporaryFile(/tmp/multipartBody2179844123185377218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319069213,"filename":"image_12072025_13_16_13_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7bf232171459f85aab9fb3e7a07a5543.jpg","text":"TemporaryFile(/tmp/multipartBody6159204882002686159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319069213,"filename":"image_12072025_13_15_54_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98465c4493dc4edc42d83aa66110e688.jpg","text":"TemporaryFile(/tmp/multipartBody7671547046540436523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319069213,"filename":"image_12072025_13_16_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f973a90cc087026f1a93f35dc3b7423.jpg","text":"TemporaryFile(/tmp/multipartBody2121459587785644681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319069213,"filename":"image_12072025_13_16_43_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fec34930bfaa526e8ddbf1f750f4b8fc.jpg","text":"TemporaryFile(/tmp/multipartBody828525360387590723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319069213,"filename":"image_12072025_13_16_04_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886692","file1":"1371886690","file0":"1371886687","file4":"1371886695","file5":"1371886697","file3":"1371886694"},"map_files_photo_id_array":[{"photo_id":"1371886697","filename":"file5"},{"photo_id":"1371886692","filename":"file2"},{"photo_id":"1371886695","filename":"file4"},{"photo_id":"1371886690","filename":"file1"},{"photo_id":"1371886687","filename":"file0"},{"photo_id":"1371886694","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886692":["hashtag1","hashtag2"]},{"1371886694":["hashtag1","hashtag2"]},{"1371886697":["hashtag1","hashtag2"]},{"1371886690":["hashtag1","hashtag2"]},{"1371886687":["hashtag1","hashtag2"]},{"1371886695":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886692, 1371886694, 1371886697, 1371886690, 1371886687, 1371886695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81265211105347 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:17:32.225824
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_34_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_24_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_13_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/13/16/image_12072025_13_17_04_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_54_10678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_44_10621.jpg', '/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_34_9622.jpg', '/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_24_10641.jpg', '/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_13_9652.jpg', '/home/nano/Desktop/images/12072025/13/16/image_12072025_13_17_04_9640.jpg', '/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_54_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_44_10621.jpg
/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_34_9622.jpg
/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_24_10641.jpg
/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_13_9652.jpg
/home/nano/Desktop/images/12072025/13/16/image_12072025_13_17_04_9640.jpg
/home/nano/Desktop/images/12072025/13/16/image_12072025_13_16_54_10678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886701","1371886710","1371886704","1371886707","1371886712","1371886700"],"photo_ids_order":["1371886700","1371886701","1371886704","1371886707","1371886710","1371886712"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3427fc34bedf208c6d5acadc066d83d9.jpg","text":"TemporaryFile(/tmp/multipartBody8790538260674730681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319113813,"filename":"image_12072025_13_17_34_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27901936f224582ef95f4c0605a94818.jpg","text":"TemporaryFile(/tmp/multipartBody2332345484248689743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319113813,"filename":"image_12072025_13_17_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c1514e0999f2f07698d790f5331afb7.jpg","text":"TemporaryFile(/tmp/multipartBody6659022668832444079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319113813,"filename":"image_12072025_13_17_24_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c93e66cabd6644fb981d280d41f2b91c.jpg","text":"TemporaryFile(/tmp/multipartBody7434616174441821324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319113813,"filename":"image_12072025_13_17_13_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d471c8dab862395cfca3f0a6b4e90af5.jpg","text":"TemporaryFile(/tmp/multipartBody240594254924004726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319113813,"filename":"image_12072025_13_16_54_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ee15ad908ad4f20c50dcc5865a9479e.jpg","text":"TemporaryFile(/tmp/multipartBody8191854144785323696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319113813,"filename":"image_12072025_13_17_44_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886704","file1":"1371886701","file0":"1371886700","file4":"1371886710","file5":"1371886712","file3":"1371886707"},"map_files_photo_id_array":[{"photo_id":"1371886712","filename":"file5"},{"photo_id":"1371886704","filename":"file2"},{"photo_id":"1371886710","filename":"file4"},{"photo_id":"1371886701","filename":"file1"},{"photo_id":"1371886700","filename":"file0"},{"photo_id":"1371886707","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886701":["hashtag1","hashtag2"]},{"1371886710":["hashtag1","hashtag2"]},{"1371886704":["hashtag1","hashtag2"]},{"1371886707":["hashtag1","hashtag2"]},{"1371886712":["hashtag1","hashtag2"]},{"1371886700":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886701, 1371886710, 1371886704, 1371886707, 1371886712, 1371886700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.056058406829834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:18:17.298840
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_44_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_34_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_24_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_14_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/13/17/image_12072025_13_18_04_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_54_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_44_10642.jpg', '/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_34_9643.jpg', '/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_24_9627.jpg', '/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_14_10668.jpg', '/home/nano/Desktop/images/12072025/13/17/image_12072025_13_18_04_9634.jpg', '/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_44_10642.jpg
/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_34_9643.jpg
/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_24_9627.jpg
/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_14_10668.jpg
/home/nano/Desktop/images/12072025/13/17/image_12072025_13_18_04_9634.jpg
/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_54_9627.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4967687129974365 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:18:32.396612
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_44_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_34_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_24_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_14_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/13/17/image_12072025_13_18_04_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_54_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_44_10642.jpg', '/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_34_9643.jpg', '/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_24_9627.jpg', '/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_14_10668.jpg', '/home/nano/Desktop/images/12072025/13/17/image_12072025_13_18_04_9634.jpg', '/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_44_10642.jpg
/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_34_9643.jpg
/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_24_9627.jpg
/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_14_10668.jpg
/home/nano/Desktop/images/12072025/13/17/image_12072025_13_18_04_9634.jpg
/home/nano/Desktop/images/12072025/13/17/image_12072025_13_17_54_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886731","1371886725","1371886733","1371886727","1371886729","1371886723"],"photo_ids_order":["1371886723","1371886725","1371886727","1371886729","1371886731","1371886733"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a91595cd4449ce4cb2f87258cbe4da1.jpg","text":"TemporaryFile(/tmp/multipartBody4735185325891555277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319174084,"filename":"image_12072025_13_18_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3460ef0a081aa5a8ed2f1f8d6348953f.jpg","text":"TemporaryFile(/tmp/multipartBody1262981981863806090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319174084,"filename":"image_12072025_13_18_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a206d8146fffe617782f6777b8c6b25d.jpg","text":"TemporaryFile(/tmp/multipartBody3184278622057526605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319174084,"filename":"image_12072025_13_17_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f9b2d8e55960be084f375b573b3a311.jpg","text":"TemporaryFile(/tmp/multipartBody534983764418244205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319174084,"filename":"image_12072025_13_18_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c78b337f006e2f1b77f2b47dcc15d9d6.jpg","text":"TemporaryFile(/tmp/multipartBody5976643305094251125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319174084,"filename":"image_12072025_13_18_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26fca40feabf3d6a261297eea08e72ba.jpg","text":"TemporaryFile(/tmp/multipartBody8049703614567863369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319174084,"filename":"image_12072025_13_18_44_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886727","file1":"1371886725","file0":"1371886723","file4":"1371886731","file5":"1371886733","file3":"1371886729"},"map_files_photo_id_array":[{"photo_id":"1371886733","filename":"file5"},{"photo_id":"1371886727","filename":"file2"},{"photo_id":"1371886731","filename":"file4"},{"photo_id":"1371886725","filename":"file1"},{"photo_id":"1371886723","filename":"file0"},{"photo_id":"1371886729","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886731":["hashtag1","hashtag2"]},{"1371886725":["hashtag1","hashtag2"]},{"1371886733":["hashtag1","hashtag2"]},{"1371886727":["hashtag1","hashtag2"]},{"1371886729":["hashtag1","hashtag2"]},{"1371886723":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886731, 1371886725, 1371886733, 1371886727, 1371886729, 1371886723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58138871192932 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:19:17.429101
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_44_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_33_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_24_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_14_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/13/18/image_12072025_13_19_03_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_44_10639.jpg', '/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_33_9650.jpg', '/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_24_9634.jpg', '/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_14_10645.jpg', '/home/nano/Desktop/images/12072025/13/18/image_12072025_13_19_03_9624.jpg', '/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_44_10639.jpg
/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_33_9650.jpg
/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_24_9634.jpg
/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_14_10645.jpg
/home/nano/Desktop/images/12072025/13/18/image_12072025_13_19_03_9624.jpg
/home/nano/Desktop/images/12072025/13/18/image_12072025_13_18_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886746","1371886743","1371886742","1371886745","1371886741","1371886744"],"photo_ids_order":["1371886741","1371886742","1371886743","1371886744","1371886745","1371886746"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/134aa485d6e6927f67c754e6e3cf0c70.jpg","text":"TemporaryFile(/tmp/multipartBody7666653712560930423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319218825,"filename":"image_12072025_13_18_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7390f96c6c275895425ac722b209c9a8.jpg","text":"TemporaryFile(/tmp/multipartBody7211926232666580188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319218825,"filename":"image_12072025_13_19_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6c8efa7b4871717a0a9f107da615f01.jpg","text":"TemporaryFile(/tmp/multipartBody1673414623343449134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319218825,"filename":"image_12072025_13_19_33_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5475487dd13f13b662b162fb60fa7551.jpg","text":"TemporaryFile(/tmp/multipartBody2018410915662707221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319218825,"filename":"image_12072025_13_19_03_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d46010020c831045b48bced1215411e.jpg","text":"TemporaryFile(/tmp/multipartBody1717422744969375256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319218825,"filename":"image_12072025_13_19_44_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae683d1bacbc1d67928d1039c40bcfc1.jpg","text":"TemporaryFile(/tmp/multipartBody1081014671174012918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319218825,"filename":"image_12072025_13_19_14_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886743","file1":"1371886742","file0":"1371886741","file4":"1371886745","file5":"1371886746","file3":"1371886744"},"map_files_photo_id_array":[{"photo_id":"1371886746","filename":"file5"},{"photo_id":"1371886743","filename":"file2"},{"photo_id":"1371886745","filename":"file4"},{"photo_id":"1371886742","filename":"file1"},{"photo_id":"1371886741","filename":"file0"},{"photo_id":"1371886744","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886746":["hashtag1","hashtag2"]},{"1371886743":["hashtag1","hashtag2"]},{"1371886742":["hashtag1","hashtag2"]},{"1371886745":["hashtag1","hashtag2"]},{"1371886741":["hashtag1","hashtag2"]},{"1371886744":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886746, 1371886743, 1371886742, 1371886745, 1371886741, 1371886744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.971905946731567 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:20:02.935880
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_44_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_33_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_24_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_14_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/18/42/image_10072025_18_43_03_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_54_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_44_10647.jpg', '/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_33_9656.jpg', '/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_24_9634.jpg', '/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_14_10660.jpg', '/home/nano/Desktop/images/10072025/18/42/image_10072025_18_43_03_9632.jpg', '/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_54_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_44_10647.jpg
/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_33_9656.jpg
/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_24_9634.jpg
/home/nano/Desktop/images/10072025/18/43/image_10072025_18_43_14_10660.jpg
/home/nano/Desktop/images/10072025/18/42/image_10072025_18_43_03_9632.jpg
/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_54_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886764","1371886758","1371886761","1371886763","1371886766","1371886756"],"photo_ids_order":["1371886756","1371886758","1371886761","1371886763","1371886764","1371886766"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59d867a2169d02a7293ff3b2e031b945.jpg","text":"TemporaryFile(/tmp/multipartBody7866925097353583075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319266332,"filename":"image_10072025_18_43_03_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2873bc794eca2d63d94adab713e4456c.jpg","text":"TemporaryFile(/tmp/multipartBody8968287284618227360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319266332,"filename":"image_10072025_18_43_33_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34b5ecb8f2c8a5379a727c3fdb54f5ad.jpg","text":"TemporaryFile(/tmp/multipartBody1682533059470618687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319266332,"filename":"image_10072025_18_43_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/641fe0f58bd9cd29b85fec98ec89bb42.jpg","text":"TemporaryFile(/tmp/multipartBody1883080648986063255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319266332,"filename":"image_10072025_18_43_14_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23fb05a3d61e452315f2980b33788d2c.jpg","text":"TemporaryFile(/tmp/multipartBody8328761323501278831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319266332,"filename":"image_10072025_18_42_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71a6213c83b92c958b615d164a85fbd3.jpg","text":"TemporaryFile(/tmp/multipartBody6610834780287707911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319266332,"filename":"image_10072025_18_43_44_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886761","file1":"1371886758","file0":"1371886756","file4":"1371886764","file5":"1371886766","file3":"1371886763"},"map_files_photo_id_array":[{"photo_id":"1371886766","filename":"file5"},{"photo_id":"1371886761","filename":"file2"},{"photo_id":"1371886764","filename":"file4"},{"photo_id":"1371886758","filename":"file1"},{"photo_id":"1371886756","filename":"file0"},{"photo_id":"1371886763","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371886764":["hashtag1","hashtag2"]},{"1371886758":["hashtag1","hashtag2"]},{"1371886761":["hashtag1","hashtag2"]},{"1371886763":["hashtag1","hashtag2"]},{"1371886766":["hashtag1","hashtag2"]},{"1371886756":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371886764, 1371886758, 1371886761, 1371886763, 1371886766, 1371886756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81887602806091 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:20:47.499030
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_44_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_34_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_24_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_14_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/13/19/image_12072025_13_20_04_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_54_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_44_9628.jpg', '/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_34_10665.jpg', '/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_24_9643.jpg', '/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_14_9646.jpg', '/home/nano/Desktop/images/12072025/13/19/image_12072025_13_20_04_10646.jpg', '/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_44_9628.jpg
/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_34_10665.jpg
/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_24_9643.jpg
/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_14_9646.jpg
/home/nano/Desktop/images/12072025/13/19/image_12072025_13_20_04_10646.jpg
/home/nano/Desktop/images/12072025/13/19/image_12072025_13_19_54_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886770","1371886773","1371886781","1371886775","1371886783","1371886777"],"photo_ids_order":["1371886770","1371886773","1371886775","1371886777","1371886781","1371886783"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c8537fcfeb51a7837a24b42ee34cb4c.jpg","text":"TemporaryFile(/tmp/multipartBody9156718186216515715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319310006,"filename":"image_12072025_13_20_44_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e604c1d27cba1cd649bf8b6f35c3b30.jpg","text":"TemporaryFile(/tmp/multipartBody8643385899639081431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319310006,"filename":"image_12072025_13_20_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4270e0f90b6016438781be6d136206d3.jpg","text":"TemporaryFile(/tmp/multipartBody5768131664621192252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319310006,"filename":"image_12072025_13_20_04_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da3509c89e6c04db9f20104fb6818ff1.jpg","text":"TemporaryFile(/tmp/multipartBody3802468611880273932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319310006,"filename":"image_12072025_13_20_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dee24bfe675136cb5f43837043492e72.jpg","text":"TemporaryFile(/tmp/multipartBody3844028573176393415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319310006,"filename":"image_12072025_13_19_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50ed4b656748ba9412580834c06b8792.jpg","text":"TemporaryFile(/tmp/multipartBody1567296135528963442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319310006,"filename":"image_12072025_13_20_14_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886775","file1":"1371886773","file0":"1371886770","file4":"1371886781","file5":"1371886783","file3":"1371886777"},"map_files_photo_id_array":[{"photo_id":"1371886783","filename":"file5"},{"photo_id":"1371886775","filename":"file2"},{"photo_id":"1371886781","filename":"file4"},{"photo_id":"1371886773","filename":"file1"},{"photo_id":"1371886770","filename":"file0"},{"photo_id":"1371886777","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886770":["hashtag1","hashtag2"]},{"1371886773":["hashtag1","hashtag2"]},{"1371886781":["hashtag1","hashtag2"]},{"1371886775":["hashtag1","hashtag2"]},{"1371886783":["hashtag1","hashtag2"]},{"1371886777":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886770, 1371886773, 1371886781, 1371886775, 1371886783, 1371886777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44318175315857 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:21:32.619651
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_44_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_34_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_14_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/13/20/image_12072025_13_21_04_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_53_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_44_9613.jpg', '/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_34_10643.jpg', '/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_23_9639.jpg', '/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_14_9654.jpg', '/home/nano/Desktop/images/12072025/13/20/image_12072025_13_21_04_10622.jpg', '/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_53_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_44_9613.jpg
/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_34_10643.jpg
/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_23_9639.jpg
/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_14_9654.jpg
/home/nano/Desktop/images/12072025/13/20/image_12072025_13_21_04_10622.jpg
/home/nano/Desktop/images/12072025/13/20/image_12072025_13_20_53_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886797","1371886791","1371886787","1371886792","1371886789","1371886794"],"photo_ids_order":["1371886787","1371886789","1371886791","1371886792","1371886794","1371886797"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/225f895d26202574d8a82a5341d529d9.jpg","text":"TemporaryFile(/tmp/multipartBody7668854627271535860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319353929,"filename":"image_12072025_13_20_53_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc9ca1e04270e315386ab55212d561cf.jpg","text":"TemporaryFile(/tmp/multipartBody5397163272024783089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319353929,"filename":"image_12072025_13_21_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76ac7b719868287b145eb95fcc6375aa.jpg","text":"TemporaryFile(/tmp/multipartBody527703401811702593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319353929,"filename":"image_12072025_13_21_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/305ffd22ac2e260dd1efbf439c2cfe78.jpg","text":"TemporaryFile(/tmp/multipartBody2727816706016494952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319353929,"filename":"image_12072025_13_21_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e44b524c5c996ba2632715a01a01129f.jpg","text":"TemporaryFile(/tmp/multipartBody6053960182445373255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319353929,"filename":"image_12072025_13_21_34_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24f060c841983efdf4ea72c0da3de04f.jpg","text":"TemporaryFile(/tmp/multipartBody3542941219224129270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319353929,"filename":"image_12072025_13_21_04_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886791","file1":"1371886789","file0":"1371886787","file4":"1371886794","file5":"1371886797","file3":"1371886792"},"map_files_photo_id_array":[{"photo_id":"1371886797","filename":"file5"},{"photo_id":"1371886791","filename":"file2"},{"photo_id":"1371886794","filename":"file4"},{"photo_id":"1371886789","filename":"file1"},{"photo_id":"1371886787","filename":"file0"},{"photo_id":"1371886792","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886797":["hashtag1","hashtag2"]},{"1371886791":["hashtag1","hashtag2"]},{"1371886787":["hashtag1","hashtag2"]},{"1371886792":["hashtag1","hashtag2"]},{"1371886789":["hashtag1","hashtag2"]},{"1371886794":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886797, 1371886791, 1371886787, 1371886792, 1371886789, 1371886794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.68146824836731 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:22:17.739263
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_44_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_24_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_14_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/13/21/image_12072025_13_22_04_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_54_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_44_9631.jpg', '/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_34_9638.jpg', '/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_24_10654.jpg', '/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_14_9637.jpg', '/home/nano/Desktop/images/12072025/13/21/image_12072025_13_22_04_9668.jpg', '/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_54_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_44_9631.jpg
/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_34_9638.jpg
/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_24_10654.jpg
/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_14_9637.jpg
/home/nano/Desktop/images/12072025/13/21/image_12072025_13_22_04_9668.jpg
/home/nano/Desktop/images/12072025/13/21/image_12072025_13_21_54_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886813","1371886812","1371886815","1371886811","1371886814","1371886816"],"photo_ids_order":["1371886811","1371886812","1371886813","1371886814","1371886815","1371886816"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53f92f9986ebab2a4bb9e467962b3a8d.jpg","text":"TemporaryFile(/tmp/multipartBody8827931701335498064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319398961,"filename":"image_12072025_13_22_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59040ed5594d9874e20261375263f002.jpg","text":"TemporaryFile(/tmp/multipartBody8331726034458442469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319398961,"filename":"image_12072025_13_22_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95c92248b93b6eee8be262cde07e0df7.jpg","text":"TemporaryFile(/tmp/multipartBody8710292097004579707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319398961,"filename":"image_12072025_13_22_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/568e5d1be1454f5e8726110d34317e12.jpg","text":"TemporaryFile(/tmp/multipartBody9040998834883053476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319398961,"filename":"image_12072025_13_22_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65bafd918071a11758c569997c8a6da1.jpg","text":"TemporaryFile(/tmp/multipartBody4790923213598629218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319398961,"filename":"image_12072025_13_22_14_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1309115cad8795836091769f084933f.jpg","text":"TemporaryFile(/tmp/multipartBody6030986777396942550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319398961,"filename":"image_12072025_13_21_54_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886813","file1":"1371886812","file0":"1371886811","file4":"1371886815","file5":"1371886816","file3":"1371886814"},"map_files_photo_id_array":[{"photo_id":"1371886816","filename":"file5"},{"photo_id":"1371886813","filename":"file2"},{"photo_id":"1371886815","filename":"file4"},{"photo_id":"1371886812","filename":"file1"},{"photo_id":"1371886811","filename":"file0"},{"photo_id":"1371886814","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886813":["hashtag1","hashtag2"]},{"1371886812":["hashtag1","hashtag2"]},{"1371886815":["hashtag1","hashtag2"]},{"1371886811":["hashtag1","hashtag2"]},{"1371886814":["hashtag1","hashtag2"]},{"1371886816":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886813, 1371886812, 1371886815, 1371886811, 1371886814, 1371886816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.096985816955566 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:23:02.182708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_44_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_33_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_24_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_13_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/18/41/image_10072025_18_42_03_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_54_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_44_10640.jpg', '/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_33_9638.jpg', '/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_24_10654.jpg', '/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_13_9647.jpg', '/home/nano/Desktop/images/10072025/18/41/image_10072025_18_42_03_9637.jpg', '/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_54_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_44_10640.jpg
/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_33_9638.jpg
/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_24_10654.jpg
/home/nano/Desktop/images/10072025/18/42/image_10072025_18_42_13_9647.jpg
/home/nano/Desktop/images/10072025/18/41/image_10072025_18_42_03_9637.jpg
/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_54_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886830","1371886827","1371886824","1371886832","1371886829","1371886822"],"photo_ids_order":["1371886822","1371886824","1371886827","1371886829","1371886830","1371886832"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dfb4e9b1c0ef82390e7dd215212c4452.jpg","text":"TemporaryFile(/tmp/multipartBody7552427781999780758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319445214,"filename":"image_10072025_18_42_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/399426f727cd000ed55dd0282546c40e.jpg","text":"TemporaryFile(/tmp/multipartBody2346464186981979674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319445214,"filename":"image_10072025_18_42_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/197c59456163e87e6c38bbde24d85447.jpg","text":"TemporaryFile(/tmp/multipartBody1353225359280491394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319445214,"filename":"image_10072025_18_42_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/233ecc285f72ce791013e2a67c89c250.jpg","text":"TemporaryFile(/tmp/multipartBody1081205538387287802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319445214,"filename":"image_10072025_18_41_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af678db262f43e44205b6e1a4f43da9e.jpg","text":"TemporaryFile(/tmp/multipartBody6256183583230139430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319445214,"filename":"image_10072025_18_42_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3a277c0abea250aaf7f30ae7936f6f7.jpg","text":"TemporaryFile(/tmp/multipartBody6060938046791105589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319445214,"filename":"image_10072025_18_42_44_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886827","file1":"1371886824","file0":"1371886822","file4":"1371886830","file5":"1371886832","file3":"1371886829"},"map_files_photo_id_array":[{"photo_id":"1371886832","filename":"file5"},{"photo_id":"1371886827","filename":"file2"},{"photo_id":"1371886830","filename":"file4"},{"photo_id":"1371886824","filename":"file1"},{"photo_id":"1371886822","filename":"file0"},{"photo_id":"1371886829","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371886830":["hashtag1","hashtag2"]},{"1371886827":["hashtag1","hashtag2"]},{"1371886824":["hashtag1","hashtag2"]},{"1371886832":["hashtag1","hashtag2"]},{"1371886829":["hashtag1","hashtag2"]},{"1371886822":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371886830, 1371886827, 1371886824, 1371886832, 1371886829, 1371886822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.270203590393066 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:23:46.935073
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_34_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_24_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_13_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/13/22/image_12072025_13_23_04_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_43_9638.jpg', '/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_34_9650.jpg', '/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_24_10663.jpg', '/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_13_9640.jpg', '/home/nano/Desktop/images/12072025/13/22/image_12072025_13_23_04_9654.jpg', '/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_43_9638.jpg
/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_34_9650.jpg
/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_24_10663.jpg
/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_13_9640.jpg
/home/nano/Desktop/images/12072025/13/22/image_12072025_13_23_04_9654.jpg
/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_54_10620.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4958720207214355 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:24:02.955790
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_34_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_24_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_13_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/13/22/image_12072025_13_23_04_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_43_9638.jpg', '/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_34_9650.jpg', '/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_24_10663.jpg', '/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_13_9640.jpg', '/home/nano/Desktop/images/12072025/13/22/image_12072025_13_23_04_9654.jpg', '/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_43_9638.jpg
/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_34_9650.jpg
/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_24_10663.jpg
/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_13_9640.jpg
/home/nano/Desktop/images/12072025/13/22/image_12072025_13_23_04_9654.jpg
/home/nano/Desktop/images/12072025/13/22/image_12072025_13_22_54_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886854","1371886848","1371886853","1371886856","1371886850","1371886852"],"photo_ids_order":["1371886848","1371886850","1371886852","1371886853","1371886854","1371886856"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6ac3987974469df43429d39a7eb7c2b.jpg","text":"TemporaryFile(/tmp/multipartBody3425418317465434824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319504920,"filename":"image_12072025_13_23_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5798d560ee7d6e01321df9d700f1ba08.jpg","text":"TemporaryFile(/tmp/multipartBody8739946689843233419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319504920,"filename":"image_12072025_13_23_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27bc5602d3b6df10e8198a7be2bc8a9a.jpg","text":"TemporaryFile(/tmp/multipartBody2631389421682781500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319504920,"filename":"image_12072025_13_23_13_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e146ec12e3b9b467e058b5085afc072.jpg","text":"TemporaryFile(/tmp/multipartBody2681447082423264896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319504920,"filename":"image_12072025_13_22_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee1da63b7332e5f5dd5856cca7f4ce86.jpg","text":"TemporaryFile(/tmp/multipartBody7091305641796135234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319504920,"filename":"image_12072025_13_23_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f9e9f9251d32f110c12c6d3301cdc25.jpg","text":"TemporaryFile(/tmp/multipartBody594761106888180800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319504920,"filename":"image_12072025_13_23_24_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886852","file1":"1371886850","file0":"1371886848","file4":"1371886854","file5":"1371886856","file3":"1371886853"},"map_files_photo_id_array":[{"photo_id":"1371886856","filename":"file5"},{"photo_id":"1371886852","filename":"file2"},{"photo_id":"1371886854","filename":"file4"},{"photo_id":"1371886850","filename":"file1"},{"photo_id":"1371886848","filename":"file0"},{"photo_id":"1371886853","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886854":["hashtag1","hashtag2"]},{"1371886848":["hashtag1","hashtag2"]},{"1371886853":["hashtag1","hashtag2"]},{"1371886856":["hashtag1","hashtag2"]},{"1371886850":["hashtag1","hashtag2"]},{"1371886852":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886854, 1371886848, 1371886853, 1371886856, 1371886850, 1371886852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15307092666626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:24:47.023803
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_44_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_34_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_24_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_13_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/13/23/image_12072025_13_24_04_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_44_10651.jpg', '/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_34_9642.jpg', '/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_24_10659.jpg', '/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_13_9652.jpg', '/home/nano/Desktop/images/12072025/13/23/image_12072025_13_24_04_9638.jpg', '/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_44_10651.jpg
/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_34_9642.jpg
/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_24_10659.jpg
/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_13_9652.jpg
/home/nano/Desktop/images/12072025/13/23/image_12072025_13_24_04_9638.jpg
/home/nano/Desktop/images/12072025/13/23/image_12072025_13_23_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886863","1371886872","1371886869","1371886865","1371886867","1371886861"],"photo_ids_order":["1371886861","1371886863","1371886865","1371886867","1371886869","1371886872"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fbea50776e5674fd1d77c3bfe9dd645.jpg","text":"TemporaryFile(/tmp/multipartBody2408244354062243062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319548472,"filename":"image_12072025_13_24_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d23f7114c7fb7cc450c57a01739adaff.jpg","text":"TemporaryFile(/tmp/multipartBody7153450309428744847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319548472,"filename":"image_12072025_13_23_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a58e787623f7b732d550f54e3164e156.jpg","text":"TemporaryFile(/tmp/multipartBody4202341128812861139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319548472,"filename":"image_12072025_13_24_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/604938322e9d4bac87e39e7f3ea965b9.jpg","text":"TemporaryFile(/tmp/multipartBody148605318562346460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319548472,"filename":"image_12072025_13_24_24_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7f2fda841b4803b4e75642934886dcd.jpg","text":"TemporaryFile(/tmp/multipartBody6899140175542350180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319548472,"filename":"image_12072025_13_24_13_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14edd5ca6feedc8d99e1d52fa30cec53.jpg","text":"TemporaryFile(/tmp/multipartBody2750923296995123434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319548472,"filename":"image_12072025_13_24_44_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886865","file1":"1371886863","file0":"1371886861","file4":"1371886869","file5":"1371886872","file3":"1371886867"},"map_files_photo_id_array":[{"photo_id":"1371886872","filename":"file5"},{"photo_id":"1371886865","filename":"file2"},{"photo_id":"1371886869","filename":"file4"},{"photo_id":"1371886863","filename":"file1"},{"photo_id":"1371886861","filename":"file0"},{"photo_id":"1371886867","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886863":["hashtag1","hashtag2"]},{"1371886872":["hashtag1","hashtag2"]},{"1371886869":["hashtag1","hashtag2"]},{"1371886865":["hashtag1","hashtag2"]},{"1371886867":["hashtag1","hashtag2"]},{"1371886861":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886863, 1371886872, 1371886869, 1371886865, 1371886867, 1371886861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.979004859924316 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:25:32.139176
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_44_10595.jpg', 2), ('/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_33_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_24_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/13/24/image_12072025_13_25_04_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_44_10595.jpg', '/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_33_9593.jpg', '/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_24_9648.jpg', '/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_14_10639.jpg', '/home/nano/Desktop/images/12072025/13/24/image_12072025_13_25_04_9622.jpg', '/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_44_10595.jpg
/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_33_9593.jpg
/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_24_9648.jpg
/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_14_10639.jpg
/home/nano/Desktop/images/12072025/13/24/image_12072025_13_25_04_9622.jpg
/home/nano/Desktop/images/12072025/13/24/image_12072025_13_24_54_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886875","1371886884","1371886880","1371886877","1371886882","1371886876"],"photo_ids_order":["1371886875","1371886876","1371886877","1371886880","1371886882","1371886884"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac033f8e1d219cc44231e7d697961934.jpg","text":"TemporaryFile(/tmp/multipartBody588465948965552388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319593708,"filename":"image_12072025_13_25_44_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f042d09d7617dea2f038731a99d8633b.jpg","text":"TemporaryFile(/tmp/multipartBody8699872393066221497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319593708,"filename":"image_12072025_13_24_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47ac4696cd924322865b0250a9ed3e7f.jpg","text":"TemporaryFile(/tmp/multipartBody7350164472544164641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319593708,"filename":"image_12072025_13_25_14_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3de39c0a18c41693e972e7cb356ab96.jpg","text":"TemporaryFile(/tmp/multipartBody5915476711319390293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319593708,"filename":"image_12072025_13_25_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f205ed37bbf53b44622f2e377ffebbe.jpg","text":"TemporaryFile(/tmp/multipartBody5519775393712909313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319593708,"filename":"image_12072025_13_25_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5ba34d2a81331d7fa99a43df607f316.jpg","text":"TemporaryFile(/tmp/multipartBody2339417420535128764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319593708,"filename":"image_12072025_13_25_33_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886877","file1":"1371886876","file0":"1371886875","file4":"1371886882","file5":"1371886884","file3":"1371886880"},"map_files_photo_id_array":[{"photo_id":"1371886884","filename":"file5"},{"photo_id":"1371886877","filename":"file2"},{"photo_id":"1371886882","filename":"file4"},{"photo_id":"1371886876","filename":"file1"},{"photo_id":"1371886875","filename":"file0"},{"photo_id":"1371886880","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886875":["hashtag1","hashtag2"]},{"1371886884":["hashtag1","hashtag2"]},{"1371886880":["hashtag1","hashtag2"]},{"1371886877":["hashtag1","hashtag2"]},{"1371886882":["hashtag1","hashtag2"]},{"1371886876":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886875, 1371886884, 1371886880, 1371886877, 1371886882, 1371886876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.884335041046143 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:26:17.241936
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_44_9595.jpg', 2), ('/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_34_10603.jpg', 2), ('/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_23_9586.jpg', 2), ('/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_14_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/13/25/image_12072025_13_26_04_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_54_9591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_44_9595.jpg', '/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_34_10603.jpg', '/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_23_9586.jpg', '/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_14_9632.jpg', '/home/nano/Desktop/images/12072025/13/25/image_12072025_13_26_04_10616.jpg', '/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_54_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_44_9595.jpg
/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_34_10603.jpg
/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_23_9586.jpg
/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_14_9632.jpg
/home/nano/Desktop/images/12072025/13/25/image_12072025_13_26_04_10616.jpg
/home/nano/Desktop/images/12072025/13/25/image_12072025_13_25_54_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886896","1371886892","1371886895","1371886897","1371886891","1371886894"],"photo_ids_order":["1371886891","1371886892","1371886894","1371886895","1371886896","1371886897"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c34798ac3f10e89ee7d0118bdda4a09.jpg","text":"TemporaryFile(/tmp/multipartBody1930359269786090218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319638796,"filename":"image_12072025_13_26_04_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a57bfc798f7989430170e40ee59b1fe.jpg","text":"TemporaryFile(/tmp/multipartBody3279247384828473691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319638796,"filename":"image_12072025_13_26_34_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5486ebe5ff21ee20041149590d6d291.jpg","text":"TemporaryFile(/tmp/multipartBody6072754495978692360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319638796,"filename":"image_12072025_13_26_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/997da4a0e3dd27983c89f1dc2202e2e1.jpg","text":"TemporaryFile(/tmp/multipartBody8052522749382528722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319638796,"filename":"image_12072025_13_25_54_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c93ee28e16fb26070b6b56b3dfa17c14.jpg","text":"TemporaryFile(/tmp/multipartBody7139865511740566113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319638796,"filename":"image_12072025_13_26_44_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24039262460851a3180f570d0b5c6a3b.jpg","text":"TemporaryFile(/tmp/multipartBody1384637318181966988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319638796,"filename":"image_12072025_13_26_23_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886894","file1":"1371886892","file0":"1371886891","file4":"1371886896","file5":"1371886897","file3":"1371886895"},"map_files_photo_id_array":[{"photo_id":"1371886897","filename":"file5"},{"photo_id":"1371886894","filename":"file2"},{"photo_id":"1371886896","filename":"file4"},{"photo_id":"1371886892","filename":"file1"},{"photo_id":"1371886891","filename":"file0"},{"photo_id":"1371886895","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886896":["hashtag1","hashtag2"]},{"1371886892":["hashtag1","hashtag2"]},{"1371886895":["hashtag1","hashtag2"]},{"1371886897":["hashtag1","hashtag2"]},{"1371886891":["hashtag1","hashtag2"]},{"1371886894":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886896, 1371886892, 1371886895, 1371886897, 1371886891, 1371886894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.669095039367676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:27:03.131768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_43_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_34_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_24_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_13_9673.jpg', 2), ('/home/nano/Desktop/images/10072025/18/40/image_10072025_18_41_04_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/18/40/image_10072025_18_40_54_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_43_9631.jpg', '/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_34_9631.jpg', '/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_24_10662.jpg', '/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_13_9673.jpg', '/home/nano/Desktop/images/10072025/18/40/image_10072025_18_41_04_9656.jpg', '/home/nano/Desktop/images/10072025/18/40/image_10072025_18_40_54_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_43_9631.jpg
/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_34_9631.jpg
/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_24_10662.jpg
/home/nano/Desktop/images/10072025/18/41/image_10072025_18_41_13_9673.jpg
/home/nano/Desktop/images/10072025/18/40/image_10072025_18_41_04_9656.jpg
/home/nano/Desktop/images/10072025/18/40/image_10072025_18_40_54_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886906","1371886911","1371886910","1371886913","1371886907","1371886909"],"photo_ids_order":["1371886906","1371886907","1371886909","1371886910","1371886911","1371886913"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f8317d07d169fa44d74f7c5faa60412.jpg","text":"TemporaryFile(/tmp/multipartBody3491769199304081735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319686109,"filename":"image_10072025_18_41_43_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/238fed7e5fa8eba46c52117ff3fba17b.jpg","text":"TemporaryFile(/tmp/multipartBody8898676227940264628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319686109,"filename":"image_10072025_18_41_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7f1e7b6a37fe23a1158735a3be669d9.jpg","text":"TemporaryFile(/tmp/multipartBody8295312054445302371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319686109,"filename":"image_10072025_18_41_13_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6fc16337d9eac247c68b4e14e0fa25ee.jpg","text":"TemporaryFile(/tmp/multipartBody5202273848588257229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319686109,"filename":"image_10072025_18_40_54_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81038b754679931ccb8fdc29bf809946.jpg","text":"TemporaryFile(/tmp/multipartBody5331891276112233823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319686109,"filename":"image_10072025_18_41_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31a4df5e8b865ce27f0a0663aa160443.jpg","text":"TemporaryFile(/tmp/multipartBody7760456360006631589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319686109,"filename":"image_10072025_18_41_24_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886909","file1":"1371886907","file0":"1371886906","file4":"1371886911","file5":"1371886913","file3":"1371886910"},"map_files_photo_id_array":[{"photo_id":"1371886913","filename":"file5"},{"photo_id":"1371886909","filename":"file2"},{"photo_id":"1371886911","filename":"file4"},{"photo_id":"1371886907","filename":"file1"},{"photo_id":"1371886906","filename":"file0"},{"photo_id":"1371886910","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371886906":["hashtag1","hashtag2"]},{"1371886911":["hashtag1","hashtag2"]},{"1371886910":["hashtag1","hashtag2"]},{"1371886913":["hashtag1","hashtag2"]},{"1371886907":["hashtag1","hashtag2"]},{"1371886909":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371886906, 1371886911, 1371886910, 1371886913, 1371886907, 1371886909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.18210315704346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:28:02.854321
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_44_10596.jpg', 2), ('/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_34_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_24_10602.jpg', 2), ('/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_13_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/13/26/image_12072025_13_27_04_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_54_10595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_44_10596.jpg', '/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_34_9599.jpg', '/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_24_10602.jpg', '/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_13_9607.jpg', '/home/nano/Desktop/images/12072025/13/26/image_12072025_13_27_04_9601.jpg', '/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_54_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_44_10596.jpg
/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_34_9599.jpg
/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_24_10602.jpg
/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_13_9607.jpg
/home/nano/Desktop/images/12072025/13/26/image_12072025_13_27_04_9601.jpg
/home/nano/Desktop/images/12072025/13/26/image_12072025_13_26_54_10595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886926","1371886919","1371886928","1371886933","1371886930","1371886924"],"photo_ids_order":["1371886919","1371886924","1371886926","1371886928","1371886930","1371886933"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40f144e9fefdcfe3f978de8c828d60d4.jpg","text":"TemporaryFile(/tmp/multipartBody2376451011977674368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319744190,"filename":"image_12072025_13_27_24_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a9bfca1d78a1ec5eaa2ac80685c39ef.jpg","text":"TemporaryFile(/tmp/multipartBody5019345180160651371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319744190,"filename":"image_12072025_13_27_44_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba62d1df0eed01ec2033f11e4789c4ea.jpg","text":"TemporaryFile(/tmp/multipartBody3557361163119000315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319744190,"filename":"image_12072025_13_27_13_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e1b3799eada88ea571f554118a3e057.jpg","text":"TemporaryFile(/tmp/multipartBody877289537809281750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319744190,"filename":"image_12072025_13_26_54_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9abf830590c1e4a53ef01ff008749c5.jpg","text":"TemporaryFile(/tmp/multipartBody2356277826141549353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319744190,"filename":"image_12072025_13_27_04_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44cf3418059ba258102b8abe6295322b.jpg","text":"TemporaryFile(/tmp/multipartBody9019347280872052809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319744190,"filename":"image_12072025_13_27_34_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886926","file1":"1371886924","file0":"1371886919","file4":"1371886930","file5":"1371886933","file3":"1371886928"},"map_files_photo_id_array":[{"photo_id":"1371886933","filename":"file5"},{"photo_id":"1371886926","filename":"file2"},{"photo_id":"1371886930","filename":"file4"},{"photo_id":"1371886924","filename":"file1"},{"photo_id":"1371886919","filename":"file0"},{"photo_id":"1371886928","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886926":["hashtag1","hashtag2"]},{"1371886919":["hashtag1","hashtag2"]},{"1371886928":["hashtag1","hashtag2"]},{"1371886933":["hashtag1","hashtag2"]},{"1371886930":["hashtag1","hashtag2"]},{"1371886924":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886926, 1371886919, 1371886928, 1371886933, 1371886930, 1371886924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.29281663894653 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:29:17.569603
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_54_10672.jpg', 2), ('/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_34_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_24_10598.jpg', 2), ('/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_14_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/13/28/image_12072025_13_29_04_10604.jpg', 2), ('/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_53_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_54_10672.jpg', '/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_34_9644.jpg', '/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_24_10598.jpg', '/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_14_9605.jpg', '/home/nano/Desktop/images/12072025/13/28/image_12072025_13_29_04_10604.jpg', '/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_53_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_54_10672.jpg
/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_34_9644.jpg
/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_24_10598.jpg
/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_14_9605.jpg
/home/nano/Desktop/images/12072025/13/28/image_12072025_13_29_04_10604.jpg
/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_53_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886950","1371886947","1371886952","1371886949","1371886940","1371886943"],"photo_ids_order":["1371886940","1371886943","1371886947","1371886949","1371886950","1371886952"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29082c0bac55879944e9b8f7a1ca4f26.jpg","text":"TemporaryFile(/tmp/multipartBody2305311874173408187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319819202,"filename":"image_12072025_13_29_04_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e84a79f2f66072e933928c861981707c.jpg","text":"TemporaryFile(/tmp/multipartBody1083892821181434743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319819202,"filename":"image_12072025_13_29_24_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42bce7c683933cbf5749aeae0b3ccb1c.jpg","text":"TemporaryFile(/tmp/multipartBody1607463115001024561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319819202,"filename":"image_12072025_13_28_53_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f86d17b9624e44056212bd72b0f8ea80.jpg","text":"TemporaryFile(/tmp/multipartBody1027419135822189803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319819202,"filename":"image_12072025_13_29_14_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/163dde1831aef8d86ea42d01e88a5572.jpg","text":"TemporaryFile(/tmp/multipartBody429533163763639271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319819202,"filename":"image_12072025_13_29_54_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aee69540a490342fba9cf02b32d95b89.jpg","text":"TemporaryFile(/tmp/multipartBody1071070925178781772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319819202,"filename":"image_12072025_13_29_34_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886947","file1":"1371886943","file0":"1371886940","file4":"1371886950","file5":"1371886952","file3":"1371886949"},"map_files_photo_id_array":[{"photo_id":"1371886952","filename":"file5"},{"photo_id":"1371886947","filename":"file2"},{"photo_id":"1371886950","filename":"file4"},{"photo_id":"1371886943","filename":"file1"},{"photo_id":"1371886940","filename":"file0"},{"photo_id":"1371886949","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886950":["hashtag1","hashtag2"]},{"1371886947":["hashtag1","hashtag2"]},{"1371886952":["hashtag1","hashtag2"]},{"1371886949":["hashtag1","hashtag2"]},{"1371886940":["hashtag1","hashtag2"]},{"1371886943":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886950, 1371886947, 1371886952, 1371886949, 1371886940, 1371886943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.754568099975586 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:30:03.230314
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_44_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_34_10598.jpg', 2), ('/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_24_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_14_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/13/27/image_12072025_13_28_03_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_54_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_44_9593.jpg', '/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_34_10598.jpg', '/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_24_9596.jpg', '/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_14_10636.jpg', '/home/nano/Desktop/images/12072025/13/27/image_12072025_13_28_03_9609.jpg', '/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_54_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_44_9593.jpg
/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_34_10598.jpg
/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_24_9596.jpg
/home/nano/Desktop/images/12072025/13/28/image_12072025_13_28_14_10636.jpg
/home/nano/Desktop/images/12072025/13/27/image_12072025_13_28_03_9609.jpg
/home/nano/Desktop/images/12072025/13/27/image_12072025_13_27_54_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371886962","1371886965","1371886967","1371886964","1371886958","1371886960"],"photo_ids_order":["1371886958","1371886960","1371886962","1371886964","1371886965","1371886967"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d92985a1cd7e0cc0f55259a4bce30cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4967304211167048236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319864645,"filename":"image_12072025_13_28_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f09f1f525c1408cff8a8bc0b1bcbcf2f.jpg","text":"TemporaryFile(/tmp/multipartBody337599154577406430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319864645,"filename":"image_12072025_13_28_03_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ced7a834a1a308ce036e75a55a4d9dd1.jpg","text":"TemporaryFile(/tmp/multipartBody903306077343446550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319864645,"filename":"image_12072025_13_27_54_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7609507d442a422d748a7dff68cd65e.jpg","text":"TemporaryFile(/tmp/multipartBody4748549927569605905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319864645,"filename":"image_12072025_13_28_14_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f39586751ca5c8c5912dcd992ffb5f5.jpg","text":"TemporaryFile(/tmp/multipartBody4675455423780889910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319864645,"filename":"image_12072025_13_28_44_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/679fd3ee0c7164db3aee9b5af588e31a.jpg","text":"TemporaryFile(/tmp/multipartBody7566237986050365545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319864645,"filename":"image_12072025_13_28_34_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371886962","file1":"1371886960","file0":"1371886958","file4":"1371886965","file5":"1371886967","file3":"1371886964"},"map_files_photo_id_array":[{"photo_id":"1371886967","filename":"file5"},{"photo_id":"1371886962","filename":"file2"},{"photo_id":"1371886965","filename":"file4"},{"photo_id":"1371886960","filename":"file1"},{"photo_id":"1371886958","filename":"file0"},{"photo_id":"1371886964","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371886962":["hashtag1","hashtag2"]},{"1371886965":["hashtag1","hashtag2"]},{"1371886967":["hashtag1","hashtag2"]},{"1371886964":["hashtag1","hashtag2"]},{"1371886958":["hashtag1","hashtag2"]},{"1371886960":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371886962, 1371886965, 1371886967, 1371886964, 1371886958, 1371886960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21612763404846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:30:47.661391
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_43_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_34_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_24_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_13_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/13/29/image_12072025_13_30_04_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_44_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_43_9599.jpg', '/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_34_9607.jpg', '/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_24_10645.jpg', '/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_13_9646.jpg', '/home/nano/Desktop/images/12072025/13/29/image_12072025_13_30_04_9629.jpg', '/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_44_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_43_9599.jpg
/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_34_9607.jpg
/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_24_10645.jpg
/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_13_9646.jpg
/home/nano/Desktop/images/12072025/13/29/image_12072025_13_30_04_9629.jpg
/home/nano/Desktop/images/12072025/13/29/image_12072025_13_29_44_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887064","1371887031","1371886977","1371886971","1371887090","1371887004"],"photo_ids_order":["1371886971","1371886977","1371887004","1371887031","1371887064","1371887090"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7517206bb9adecfc396f4b1f20e550a.jpg","text":"TemporaryFile(/tmp/multipartBody1848153090626515722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319909572,"filename":"image_12072025_13_30_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9e6318ae78d741a2d6ae03f066a7dcd.jpg","text":"TemporaryFile(/tmp/multipartBody1682030294465217656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319909572,"filename":"image_12072025_13_30_13_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba3767522fdf1f5313988d0dd9adc81e.jpg","text":"TemporaryFile(/tmp/multipartBody4588985976386372122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319909572,"filename":"image_12072025_13_30_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a2d13853300ef3b858dfc8a5a9a2574.jpg","text":"TemporaryFile(/tmp/multipartBody7303636926885285144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319909572,"filename":"image_12072025_13_30_43_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/719679268251793a507f1a498fd31cd5.jpg","text":"TemporaryFile(/tmp/multipartBody783990404178762749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319909572,"filename":"image_12072025_13_29_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88703054e514059f6a6d78ef9fdb3038.jpg","text":"TemporaryFile(/tmp/multipartBody943797795257789311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319909572,"filename":"image_12072025_13_30_24_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887004","file1":"1371886977","file0":"1371886971","file4":"1371887064","file5":"1371887090","file3":"1371887031"},"map_files_photo_id_array":[{"photo_id":"1371887090","filename":"file5"},{"photo_id":"1371887004","filename":"file2"},{"photo_id":"1371887064","filename":"file4"},{"photo_id":"1371886977","filename":"file1"},{"photo_id":"1371886971","filename":"file0"},{"photo_id":"1371887031","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887064":["hashtag1","hashtag2"]},{"1371887031":["hashtag1","hashtag2"]},{"1371886977":["hashtag1","hashtag2"]},{"1371886971":["hashtag1","hashtag2"]},{"1371887090":["hashtag1","hashtag2"]},{"1371887004":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887064, 1371887031, 1371886977, 1371886971, 1371887090, 1371887004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23362135887146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:31:32.748323
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_44_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_33_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_24_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_14_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/13/30/image_12072025_13_31_04_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_54_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_44_10632.jpg', '/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_33_9631.jpg', '/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_24_9621.jpg', '/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_14_10630.jpg', '/home/nano/Desktop/images/12072025/13/30/image_12072025_13_31_04_9628.jpg', '/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_54_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_44_10632.jpg
/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_33_9631.jpg
/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_24_9621.jpg
/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_14_10630.jpg
/home/nano/Desktop/images/12072025/13/30/image_12072025_13_31_04_9628.jpg
/home/nano/Desktop/images/12072025/13/30/image_12072025_13_30_54_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887180","1371887213","1371887162","1371887212","1371887209","1371887187"],"photo_ids_order":["1371887162","1371887180","1371887187","1371887209","1371887212","1371887213"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8528128adedbbda39321ae749f5f2e9f.jpg","text":"TemporaryFile(/tmp/multipartBody2960633963241653337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319954196,"filename":"image_12072025_13_31_33_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8de8a6970f0078e3eac12b6383a7e7f.jpg","text":"TemporaryFile(/tmp/multipartBody1588158691577862841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319954196,"filename":"image_12072025_13_30_54_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99b80547144205e0c98dca40622ccc3e.jpg","text":"TemporaryFile(/tmp/multipartBody5892792556320220186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319954196,"filename":"image_12072025_13_31_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d4cb744155717ef62a8a51f79f9e815.jpg","text":"TemporaryFile(/tmp/multipartBody6403354511208735304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319954196,"filename":"image_12072025_13_31_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3883cfc92556964869a32c993f80d43e.jpg","text":"TemporaryFile(/tmp/multipartBody6564142459095685029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319954196,"filename":"image_12072025_13_31_14_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b643bc18d3e8d54427e23c497177ff4a.jpg","text":"TemporaryFile(/tmp/multipartBody1562246424691378364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319954196,"filename":"image_12072025_13_31_24_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887187","file1":"1371887180","file0":"1371887162","file4":"1371887212","file5":"1371887213","file3":"1371887209"},"map_files_photo_id_array":[{"photo_id":"1371887213","filename":"file5"},{"photo_id":"1371887187","filename":"file2"},{"photo_id":"1371887212","filename":"file4"},{"photo_id":"1371887180","filename":"file1"},{"photo_id":"1371887162","filename":"file0"},{"photo_id":"1371887209","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887180":["hashtag1","hashtag2"]},{"1371887213":["hashtag1","hashtag2"]},{"1371887162":["hashtag1","hashtag2"]},{"1371887212":["hashtag1","hashtag2"]},{"1371887209":["hashtag1","hashtag2"]},{"1371887187":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887180, 1371887213, 1371887162, 1371887212, 1371887209, 1371887187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.429405212402344 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:32:16.884219
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_44_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_33_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_24_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_14_10735.jpg', 2), ('/home/nano/Desktop/images/12072025/13/31/image_12072025_13_32_03_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_54_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_44_10662.jpg', '/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_33_9646.jpg', '/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_24_9636.jpg', '/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_14_10735.jpg', '/home/nano/Desktop/images/12072025/13/31/image_12072025_13_32_03_9668.jpg', '/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_54_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_44_10662.jpg
/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_33_9646.jpg
/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_24_9636.jpg
/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_14_10735.jpg
/home/nano/Desktop/images/12072025/13/31/image_12072025_13_32_03_9668.jpg
/home/nano/Desktop/images/12072025/13/31/image_12072025_13_31_54_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887223","1371887226","1371887220","1371887222","1371887225","1371887224"],"photo_ids_order":["1371887220","1371887222","1371887223","1371887224","1371887225","1371887226"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ed52eabcc0a923f97cd10346cc9f69a.jpg","text":"TemporaryFile(/tmp/multipartBody4921257280528379539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319998325,"filename":"image_12072025_13_32_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2224a15d08e681b74781dd44228625b.jpg","text":"TemporaryFile(/tmp/multipartBody4632437803359984292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319998325,"filename":"image_12072025_13_31_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a910eb740787bcbc62d657771071ed02.jpg","text":"TemporaryFile(/tmp/multipartBody4805876396206778504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319998325,"filename":"image_12072025_13_32_44_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0004801b60747277ec084ab81331fa1e.jpg","text":"TemporaryFile(/tmp/multipartBody3470116052092985117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319998325,"filename":"image_12072025_13_32_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7aa0ac4021551a57565360f871551bf.jpg","text":"TemporaryFile(/tmp/multipartBody3188166286926479730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319998325,"filename":"image_12072025_13_32_03_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ddc63da287b46e38da6a4490e86830d.jpg","text":"TemporaryFile(/tmp/multipartBody1347884199094829087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752319998325,"filename":"image_12072025_13_32_14_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887223","file1":"1371887222","file0":"1371887220","file4":"1371887225","file5":"1371887226","file3":"1371887224"},"map_files_photo_id_array":[{"photo_id":"1371887226","filename":"file5"},{"photo_id":"1371887223","filename":"file2"},{"photo_id":"1371887225","filename":"file4"},{"photo_id":"1371887222","filename":"file1"},{"photo_id":"1371887220","filename":"file0"},{"photo_id":"1371887224","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887223":["hashtag1","hashtag2"]},{"1371887226":["hashtag1","hashtag2"]},{"1371887220":["hashtag1","hashtag2"]},{"1371887222":["hashtag1","hashtag2"]},{"1371887225":["hashtag1","hashtag2"]},{"1371887224":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887223, 1371887226, 1371887220, 1371887222, 1371887225, 1371887224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67576718330383 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:33:02.600903
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/40/image_10072025_18_40_43_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/18/40/image_10072025_18_40_13_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/18/39/image_10072025_18_39_43_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/18/39/image_10072025_18_39_23_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/39/image_10072025_18_39_13_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/18/38/image_10072025_18_39_04_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/40/image_10072025_18_40_43_9633.jpg', '/home/nano/Desktop/images/10072025/18/40/image_10072025_18_40_13_9667.jpg', '/home/nano/Desktop/images/10072025/18/39/image_10072025_18_39_43_9655.jpg', '/home/nano/Desktop/images/10072025/18/39/image_10072025_18_39_23_9631.jpg', '/home/nano/Desktop/images/10072025/18/39/image_10072025_18_39_13_9666.jpg', '/home/nano/Desktop/images/10072025/18/38/image_10072025_18_39_04_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/40/image_10072025_18_40_43_9633.jpg
/home/nano/Desktop/images/10072025/18/40/image_10072025_18_40_13_9667.jpg
/home/nano/Desktop/images/10072025/18/39/image_10072025_18_39_43_9655.jpg
/home/nano/Desktop/images/10072025/18/39/image_10072025_18_39_23_9631.jpg
/home/nano/Desktop/images/10072025/18/39/image_10072025_18_39_13_9666.jpg
/home/nano/Desktop/images/10072025/18/38/image_10072025_18_39_04_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887241","1371887244","1371887238","1371887243","1371887245","1371887236"],"photo_ids_order":["1371887236","1371887238","1371887241","1371887243","1371887244","1371887245"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9eb76c76c393246726e0a7bdcce52995.jpg","text":"TemporaryFile(/tmp/multipartBody8108051098477699796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320045980,"filename":"image_10072025_18_39_43_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56a901505f92c4c808b3bfa44fb9835f.jpg","text":"TemporaryFile(/tmp/multipartBody8856466612970806681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320045980,"filename":"image_10072025_18_39_13_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad9ab59b8b1debdf7096835d6a16fd76.jpg","text":"TemporaryFile(/tmp/multipartBody8764043077762154111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320045980,"filename":"image_10072025_18_40_13_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6623330dfef1ba78beb21269b541ddd1.jpg","text":"TemporaryFile(/tmp/multipartBody5805555804843957469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320045980,"filename":"image_10072025_18_39_23_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c883062d4e068f73132f6dfe8ddae0d.jpg","text":"TemporaryFile(/tmp/multipartBody3721721593492309108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320045980,"filename":"image_10072025_18_39_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fb7ec2e10f9e6250cb57abb97c8afb0.jpg","text":"TemporaryFile(/tmp/multipartBody4246813993426379172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320045980,"filename":"image_10072025_18_40_43_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887241","file1":"1371887238","file0":"1371887236","file4":"1371887244","file5":"1371887245","file3":"1371887243"},"map_files_photo_id_array":[{"photo_id":"1371887245","filename":"file5"},{"photo_id":"1371887241","filename":"file2"},{"photo_id":"1371887244","filename":"file4"},{"photo_id":"1371887238","filename":"file1"},{"photo_id":"1371887236","filename":"file0"},{"photo_id":"1371887243","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371887241":["hashtag1","hashtag2"]},{"1371887244":["hashtag1","hashtag2"]},{"1371887238":["hashtag1","hashtag2"]},{"1371887243":["hashtag1","hashtag2"]},{"1371887245":["hashtag1","hashtag2"]},{"1371887236":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371887241, 1371887244, 1371887238, 1371887243, 1371887245, 1371887236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12622141838074 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:33:46.982374
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_43_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_34_9700.jpg', 2), ('/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_24_10706.jpg', 2), ('/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_13_9718.jpg', 2), ('/home/nano/Desktop/images/12072025/13/32/image_12072025_13_33_04_9711.jpg', 2), ('/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_54_9835.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_43_9647.jpg', '/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_34_9700.jpg', '/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_24_10706.jpg', '/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_13_9718.jpg', '/home/nano/Desktop/images/12072025/13/32/image_12072025_13_33_04_9711.jpg', '/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_54_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_43_9647.jpg
/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_34_9700.jpg
/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_24_10706.jpg
/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_13_9718.jpg
/home/nano/Desktop/images/12072025/13/32/image_12072025_13_33_04_9711.jpg
/home/nano/Desktop/images/12072025/13/32/image_12072025_13_32_54_9835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887255","1371887249","1371887257","1371887251","1371887254","1371887247"],"photo_ids_order":["1371887247","1371887249","1371887251","1371887254","1371887255","1371887257"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31a3fdb5c7ad87d80a47f3d7ffa35f50.jpg","text":"TemporaryFile(/tmp/multipartBody4861245960857356515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320088994,"filename":"image_12072025_13_33_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29fb9b1cc854ce6e64fb4bb22a1930a8.jpg","text":"TemporaryFile(/tmp/multipartBody3940062218507063288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320088994,"filename":"image_12072025_13_33_34_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3356b97e663f06e598819100c60bc24d.jpg","text":"TemporaryFile(/tmp/multipartBody464308537258562925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320088994,"filename":"image_12072025_13_32_54_9835.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb753296b42d43e003e501d0cb87b19e.jpg","text":"TemporaryFile(/tmp/multipartBody201374210023270744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320088994,"filename":"image_12072025_13_33_24_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1270c5d1ffc6df875b474776d084a454.jpg","text":"TemporaryFile(/tmp/multipartBody3956824198980000900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320088994,"filename":"image_12072025_13_33_13_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7f4e0e48a53c0853ef11deb9e559782.jpg","text":"TemporaryFile(/tmp/multipartBody4566510121452854977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320088994,"filename":"image_12072025_13_33_43_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887251","file1":"1371887249","file0":"1371887247","file4":"1371887255","file5":"1371887257","file3":"1371887254"},"map_files_photo_id_array":[{"photo_id":"1371887257","filename":"file5"},{"photo_id":"1371887251","filename":"file2"},{"photo_id":"1371887255","filename":"file4"},{"photo_id":"1371887249","filename":"file1"},{"photo_id":"1371887247","filename":"file0"},{"photo_id":"1371887254","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887255":["hashtag1","hashtag2"]},{"1371887249":["hashtag1","hashtag2"]},{"1371887257":["hashtag1","hashtag2"]},{"1371887251":["hashtag1","hashtag2"]},{"1371887254":["hashtag1","hashtag2"]},{"1371887247":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887255, 1371887249, 1371887257, 1371887251, 1371887254, 1371887247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14946413040161 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:34:32.150676
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_44_10694.jpg', 2), ('/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_34_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_24_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_13_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/13/33/image_12072025_13_34_04_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_54_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_44_10694.jpg', '/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_34_9620.jpg', '/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_24_10623.jpg', '/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_13_9637.jpg', '/home/nano/Desktop/images/12072025/13/33/image_12072025_13_34_04_9620.jpg', '/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_54_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_44_10694.jpg
/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_34_9620.jpg
/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_24_10623.jpg
/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_13_9637.jpg
/home/nano/Desktop/images/12072025/13/33/image_12072025_13_34_04_9620.jpg
/home/nano/Desktop/images/12072025/13/33/image_12072025_13_33_54_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887259","1371887261","1371887260","1371887263","1371887266","1371887265"],"photo_ids_order":["1371887259","1371887260","1371887261","1371887263","1371887265","1371887266"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d70af4dcf0c0558fdc26acbbd72dcd89.jpg","text":"TemporaryFile(/tmp/multipartBody2749287020747779057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320134103,"filename":"image_12072025_13_34_44_10694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61ce9dab67e98cffc523769568eaafd0.jpg","text":"TemporaryFile(/tmp/multipartBody3607089259016691460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320134103,"filename":"image_12072025_13_34_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca222479a10b60e04f01b7fd9a3af241.jpg","text":"TemporaryFile(/tmp/multipartBody5339921599312755512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320134103,"filename":"image_12072025_13_34_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4081edaf654e6b7ac84d07aec3aef92d.jpg","text":"TemporaryFile(/tmp/multipartBody2550547499144091116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320134103,"filename":"image_12072025_13_34_13_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a036d05d734c5e1ddf334c535766ea69.jpg","text":"TemporaryFile(/tmp/multipartBody1925988943311662557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320134103,"filename":"image_12072025_13_33_54_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f80860d63375a377260fde284204c59.jpg","text":"TemporaryFile(/tmp/multipartBody2231034645942908757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320134103,"filename":"image_12072025_13_34_04_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887261","file1":"1371887260","file0":"1371887259","file4":"1371887265","file5":"1371887266","file3":"1371887263"},"map_files_photo_id_array":[{"photo_id":"1371887266","filename":"file5"},{"photo_id":"1371887261","filename":"file2"},{"photo_id":"1371887265","filename":"file4"},{"photo_id":"1371887260","filename":"file1"},{"photo_id":"1371887259","filename":"file0"},{"photo_id":"1371887263","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887259":["hashtag1","hashtag2"]},{"1371887261":["hashtag1","hashtag2"]},{"1371887260":["hashtag1","hashtag2"]},{"1371887263":["hashtag1","hashtag2"]},{"1371887266":["hashtag1","hashtag2"]},{"1371887265":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887259, 1371887261, 1371887260, 1371887263, 1371887266, 1371887265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42476773262024 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:35:17.226136
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_44_10743.jpg', 2), ('/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_34_9676.jpg', 2), ('/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_24_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_14_10701.jpg', 2), ('/home/nano/Desktop/images/12072025/13/34/image_12072025_13_35_04_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_54_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_44_10743.jpg', '/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_34_9676.jpg', '/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_24_9634.jpg', '/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_14_10701.jpg', '/home/nano/Desktop/images/12072025/13/34/image_12072025_13_35_04_9657.jpg', '/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_54_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_44_10743.jpg
/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_34_9676.jpg
/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_24_9634.jpg
/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_14_10701.jpg
/home/nano/Desktop/images/12072025/13/34/image_12072025_13_35_04_9657.jpg
/home/nano/Desktop/images/12072025/13/34/image_12072025_13_34_54_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887277","1371887282","1371887273","1371887275","1371887278","1371887280"],"photo_ids_order":["1371887273","1371887275","1371887277","1371887278","1371887280","1371887282"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2781f77e10cd921607a7fd670fce24f0.jpg","text":"TemporaryFile(/tmp/multipartBody5960611992116539479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320179248,"filename":"image_12072025_13_35_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f97a6b77e3239997875bb6552a5bab6.jpg","text":"TemporaryFile(/tmp/multipartBody3851418803117184958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320179248,"filename":"image_12072025_13_34_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77852f776ddd886ca6a2bdbc57ab0d1c.jpg","text":"TemporaryFile(/tmp/multipartBody1373139318657001667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320179248,"filename":"image_12072025_13_35_44_10743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ff54807fb92d5fd3c322c04429be72f.jpg","text":"TemporaryFile(/tmp/multipartBody590897754845741932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320179248,"filename":"image_12072025_13_35_34_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/feb7873ed3c839b49501c381579f75de.jpg","text":"TemporaryFile(/tmp/multipartBody1627885306243332298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320179248,"filename":"image_12072025_13_35_14_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad94b0de9ddb688641a6e8306c0389bf.jpg","text":"TemporaryFile(/tmp/multipartBody5680001230046474826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320179248,"filename":"image_12072025_13_35_04_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887277","file1":"1371887275","file0":"1371887273","file4":"1371887280","file5":"1371887282","file3":"1371887278"},"map_files_photo_id_array":[{"photo_id":"1371887282","filename":"file5"},{"photo_id":"1371887277","filename":"file2"},{"photo_id":"1371887280","filename":"file4"},{"photo_id":"1371887275","filename":"file1"},{"photo_id":"1371887273","filename":"file0"},{"photo_id":"1371887278","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887277":["hashtag1","hashtag2"]},{"1371887282":["hashtag1","hashtag2"]},{"1371887273":["hashtag1","hashtag2"]},{"1371887275":["hashtag1","hashtag2"]},{"1371887278":["hashtag1","hashtag2"]},{"1371887280":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887277, 1371887282, 1371887273, 1371887275, 1371887278, 1371887280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26816987991333 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:36:02.865956
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/38/image_10072025_18_38_14_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/18/37/image_10072025_18_38_04_10646.jpg', 2), ('/home/nano/Desktop/images/10072025/18/37/image_10072025_18_37_44_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/18/37/image_10072025_18_37_23_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/18/37/image_10072025_18_37_14_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_53_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/38/image_10072025_18_38_14_9654.jpg', '/home/nano/Desktop/images/10072025/18/37/image_10072025_18_38_04_10646.jpg', '/home/nano/Desktop/images/10072025/18/37/image_10072025_18_37_44_9637.jpg', '/home/nano/Desktop/images/10072025/18/37/image_10072025_18_37_23_9629.jpg', '/home/nano/Desktop/images/10072025/18/37/image_10072025_18_37_14_9656.jpg', '/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_53_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/38/image_10072025_18_38_14_9654.jpg
/home/nano/Desktop/images/10072025/18/37/image_10072025_18_38_04_10646.jpg
/home/nano/Desktop/images/10072025/18/37/image_10072025_18_37_44_9637.jpg
/home/nano/Desktop/images/10072025/18/37/image_10072025_18_37_23_9629.jpg
/home/nano/Desktop/images/10072025/18/37/image_10072025_18_37_14_9656.jpg
/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_53_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887294","1371887291","1371887288","1371887293","1371887292","1371887289"],"photo_ids_order":["1371887288","1371887289","1371887291","1371887292","1371887293","1371887294"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/710e141716e64bcd57a90221ca290c54.jpg","text":"TemporaryFile(/tmp/multipartBody6388988829079380825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320226436,"filename":"image_10072025_18_36_53_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c917577c13fb0fe4f2657a0d0bb6475b.jpg","text":"TemporaryFile(/tmp/multipartBody8647873575981067200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320226436,"filename":"image_10072025_18_37_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42b4eceb19697ddc30d192b42406b33a.jpg","text":"TemporaryFile(/tmp/multipartBody4745650402368405217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320226436,"filename":"image_10072025_18_38_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c31c5f8390b23e68f735391f855de195.jpg","text":"TemporaryFile(/tmp/multipartBody919695249486760980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320226436,"filename":"image_10072025_18_37_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df7a06512b5271bad6c60f2de11818c4.jpg","text":"TemporaryFile(/tmp/multipartBody1117749935741853647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320226436,"filename":"image_10072025_18_37_23_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6497e6ec0640b44d898b08ae4f90243c.jpg","text":"TemporaryFile(/tmp/multipartBody4108406212484475950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320226436,"filename":"image_10072025_18_38_04_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887291","file1":"1371887289","file0":"1371887288","file4":"1371887293","file5":"1371887294","file3":"1371887292"},"map_files_photo_id_array":[{"photo_id":"1371887294","filename":"file5"},{"photo_id":"1371887291","filename":"file2"},{"photo_id":"1371887293","filename":"file4"},{"photo_id":"1371887289","filename":"file1"},{"photo_id":"1371887288","filename":"file0"},{"photo_id":"1371887292","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371887294":["hashtag1","hashtag2"]},{"1371887291":["hashtag1","hashtag2"]},{"1371887288":["hashtag1","hashtag2"]},{"1371887293":["hashtag1","hashtag2"]},{"1371887292":["hashtag1","hashtag2"]},{"1371887289":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371887294, 1371887291, 1371887288, 1371887293, 1371887292, 1371887289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24831700325012 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:36:47.343608
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_44_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_34_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_24_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_14_10711.jpg', 2), ('/home/nano/Desktop/images/12072025/13/35/image_12072025_13_36_04_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_44_10654.jpg', '/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_34_9628.jpg', '/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_24_9618.jpg', '/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_14_10711.jpg', '/home/nano/Desktop/images/12072025/13/35/image_12072025_13_36_04_9622.jpg', '/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_44_10654.jpg
/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_34_9628.jpg
/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_24_9618.jpg
/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_14_10711.jpg
/home/nano/Desktop/images/12072025/13/35/image_12072025_13_36_04_9622.jpg
/home/nano/Desktop/images/12072025/13/35/image_12072025_13_35_54_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887301","1371887304","1371887297","1371887299","1371887306","1371887302"],"photo_ids_order":["1371887297","1371887299","1371887301","1371887302","1371887304","1371887306"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad4520c9aea8413a08b7bbabebfc494a.jpg","text":"TemporaryFile(/tmp/multipartBody6285552763273508694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320269492,"filename":"image_12072025_13_36_24_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87a8cb8b5bb1a9b268e51fe8519cb7b0.jpg","text":"TemporaryFile(/tmp/multipartBody447644106067197966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320269492,"filename":"image_12072025_13_36_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3983404c44bf100260f7a5960626fc42.jpg","text":"TemporaryFile(/tmp/multipartBody8534231949390147521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320269492,"filename":"image_12072025_13_36_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e04695b4c5a89314528a171648cbb27.jpg","text":"TemporaryFile(/tmp/multipartBody8572136842327350080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320269492,"filename":"image_12072025_13_36_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb5edc5dc1e94711cda3ba05dc867b24.jpg","text":"TemporaryFile(/tmp/multipartBody625700002776643887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320269492,"filename":"image_12072025_13_35_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f24a8f7b56db90f87b7c27b0ba0c4134.jpg","text":"TemporaryFile(/tmp/multipartBody7569119552496295494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320269492,"filename":"image_12072025_13_36_14_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887301","file1":"1371887299","file0":"1371887297","file4":"1371887304","file5":"1371887306","file3":"1371887302"},"map_files_photo_id_array":[{"photo_id":"1371887306","filename":"file5"},{"photo_id":"1371887301","filename":"file2"},{"photo_id":"1371887304","filename":"file4"},{"photo_id":"1371887299","filename":"file1"},{"photo_id":"1371887297","filename":"file0"},{"photo_id":"1371887302","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887301":["hashtag1","hashtag2"]},{"1371887304":["hashtag1","hashtag2"]},{"1371887297":["hashtag1","hashtag2"]},{"1371887299":["hashtag1","hashtag2"]},{"1371887306":["hashtag1","hashtag2"]},{"1371887302":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887301, 1371887304, 1371887297, 1371887299, 1371887306, 1371887302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05535936355591 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:37:32.443465
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_44_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_34_9702.jpg', 2), ('/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_24_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_14_10689.jpg', 2), ('/home/nano/Desktop/images/12072025/13/36/image_12072025_13_37_04_9685.jpg', 2), ('/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_54_9677.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_44_10613.jpg', '/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_34_9702.jpg', '/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_24_9641.jpg', '/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_14_10689.jpg', '/home/nano/Desktop/images/12072025/13/36/image_12072025_13_37_04_9685.jpg', '/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_54_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_44_10613.jpg
/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_34_9702.jpg
/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_24_9641.jpg
/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_14_10689.jpg
/home/nano/Desktop/images/12072025/13/36/image_12072025_13_37_04_9685.jpg
/home/nano/Desktop/images/12072025/13/36/image_12072025_13_36_54_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887316","1371887310","1371887313","1371887309","1371887318","1371887308"],"photo_ids_order":["1371887308","1371887309","1371887310","1371887313","1371887316","1371887318"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d455a6e3c49f58ea89e808cada6f752.jpg","text":"TemporaryFile(/tmp/multipartBody8354778992440183341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320314689,"filename":"image_12072025_13_37_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c95173156cff556934ab76506b6a73f8.jpg","text":"TemporaryFile(/tmp/multipartBody6715463280938528427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320314689,"filename":"image_12072025_13_37_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35713bbc1b4d9710b16ec3885cf5a3b0.jpg","text":"TemporaryFile(/tmp/multipartBody4748331771192942341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320314689,"filename":"image_12072025_13_37_14_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd1248ae30a5c784f2b483c65f0db848.jpg","text":"TemporaryFile(/tmp/multipartBody9012177634494434275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320314689,"filename":"image_12072025_13_37_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f94f3e00714e2446dec448987a579e50.jpg","text":"TemporaryFile(/tmp/multipartBody4073984589302006077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320314689,"filename":"image_12072025_13_36_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ef3c8567130d8b0954a43677ddd5890.jpg","text":"TemporaryFile(/tmp/multipartBody2218128199037408475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320314689,"filename":"image_12072025_13_37_44_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887310","file1":"1371887309","file0":"1371887308","file4":"1371887316","file5":"1371887318","file3":"1371887313"},"map_files_photo_id_array":[{"photo_id":"1371887318","filename":"file5"},{"photo_id":"1371887310","filename":"file2"},{"photo_id":"1371887316","filename":"file4"},{"photo_id":"1371887309","filename":"file1"},{"photo_id":"1371887308","filename":"file0"},{"photo_id":"1371887313","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887316":["hashtag1","hashtag2"]},{"1371887310":["hashtag1","hashtag2"]},{"1371887313":["hashtag1","hashtag2"]},{"1371887309":["hashtag1","hashtag2"]},{"1371887318":["hashtag1","hashtag2"]},{"1371887308":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887316, 1371887310, 1371887313, 1371887309, 1371887318, 1371887308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41623783111572 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:38:17.608799
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_44_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_24_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_14_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/13/37/image_12072025_13_38_03_9693.jpg', 2), ('/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_54_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_44_10666.jpg', '/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_33_9608.jpg', '/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_24_9643.jpg', '/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_14_10660.jpg', '/home/nano/Desktop/images/12072025/13/37/image_12072025_13_38_03_9693.jpg', '/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_54_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_44_10666.jpg
/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_33_9608.jpg
/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_24_9643.jpg
/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_14_10660.jpg
/home/nano/Desktop/images/12072025/13/37/image_12072025_13_38_03_9693.jpg
/home/nano/Desktop/images/12072025/13/37/image_12072025_13_37_54_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887328","1371887325","1371887333","1371887327","1371887336","1371887332"],"photo_ids_order":["1371887325","1371887327","1371887328","1371887332","1371887333","1371887336"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b767e9adbd4d9d9a7523394e2086beeb.jpg","text":"TemporaryFile(/tmp/multipartBody1763262602891428999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320359909,"filename":"image_12072025_13_38_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10297b285b4482fa2a5039d67adc5407.jpg","text":"TemporaryFile(/tmp/multipartBody1974988305451389361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320359909,"filename":"image_12072025_13_38_44_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2635f4e6b039d2adfb2bf343ad257994.jpg","text":"TemporaryFile(/tmp/multipartBody5500080215471642243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320359909,"filename":"image_12072025_13_38_03_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d808fc2efb2e54fee187c5d796571037.jpg","text":"TemporaryFile(/tmp/multipartBody6557735789334773360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320359909,"filename":"image_12072025_13_38_33_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99698679906a39d29bb2d8a3c2527097.jpg","text":"TemporaryFile(/tmp/multipartBody4862464900397139091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320359909,"filename":"image_12072025_13_37_54_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8aed722ca2cae45a99a1f59e110de38.jpg","text":"TemporaryFile(/tmp/multipartBody4684854994373424537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320359909,"filename":"image_12072025_13_38_14_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887328","file1":"1371887327","file0":"1371887325","file4":"1371887333","file5":"1371887336","file3":"1371887332"},"map_files_photo_id_array":[{"photo_id":"1371887336","filename":"file5"},{"photo_id":"1371887328","filename":"file2"},{"photo_id":"1371887333","filename":"file4"},{"photo_id":"1371887327","filename":"file1"},{"photo_id":"1371887325","filename":"file0"},{"photo_id":"1371887332","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887328":["hashtag1","hashtag2"]},{"1371887325":["hashtag1","hashtag2"]},{"1371887333":["hashtag1","hashtag2"]},{"1371887327":["hashtag1","hashtag2"]},{"1371887336":["hashtag1","hashtag2"]},{"1371887332":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887328, 1371887325, 1371887333, 1371887327, 1371887336, 1371887332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.79422354698181 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:39:32.675219
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_44_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_33_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_24_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_14_10684.jpg', 2), ('/home/nano/Desktop/images/12072025/13/38/image_12072025_13_39_03_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_44_10624.jpg', '/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_33_9627.jpg', '/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_24_9628.jpg', '/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_14_10684.jpg', '/home/nano/Desktop/images/12072025/13/38/image_12072025_13_39_03_9671.jpg', '/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_44_10624.jpg
/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_33_9627.jpg
/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_24_9628.jpg
/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_14_10684.jpg
/home/nano/Desktop/images/12072025/13/38/image_12072025_13_39_03_9671.jpg
/home/nano/Desktop/images/12072025/13/38/image_12072025_13_38_54_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887351","1371887348","1371887342","1371887350","1371887344","1371887346"],"photo_ids_order":["1371887342","1371887344","1371887346","1371887348","1371887350","1371887351"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c6e310fac0cbc284a3d8106afee0539.jpg","text":"TemporaryFile(/tmp/multipartBody3026735393662011789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320433823,"filename":"image_12072025_13_38_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0b4e2c09f43d8e668ab708311e54467.jpg","text":"TemporaryFile(/tmp/multipartBody3141063785247182837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320433823,"filename":"image_12072025_13_39_14_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2864c4ed7be0ebe30b6bee90ebea8fc0.jpg","text":"TemporaryFile(/tmp/multipartBody9092732437061466358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320433823,"filename":"image_12072025_13_39_44_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8eb904fe668e7cdcc502e173e86cd0e6.jpg","text":"TemporaryFile(/tmp/multipartBody5649236583742461457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320433823,"filename":"image_12072025_13_39_03_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b675ddd44a82a0b502a6f1ccd1368bf1.jpg","text":"TemporaryFile(/tmp/multipartBody1932969762260475061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320433823,"filename":"image_12072025_13_39_33_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ffdadcba1cba58850fc2140bf47caf72.jpg","text":"TemporaryFile(/tmp/multipartBody5024133937786558554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320433823,"filename":"image_12072025_13_39_24_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887346","file1":"1371887344","file0":"1371887342","file4":"1371887350","file5":"1371887351","file3":"1371887348"},"map_files_photo_id_array":[{"photo_id":"1371887351","filename":"file5"},{"photo_id":"1371887346","filename":"file2"},{"photo_id":"1371887350","filename":"file4"},{"photo_id":"1371887344","filename":"file1"},{"photo_id":"1371887342","filename":"file0"},{"photo_id":"1371887348","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887351":["hashtag1","hashtag2"]},{"1371887348":["hashtag1","hashtag2"]},{"1371887342":["hashtag1","hashtag2"]},{"1371887350":["hashtag1","hashtag2"]},{"1371887344":["hashtag1","hashtag2"]},{"1371887346":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887351, 1371887348, 1371887342, 1371887350, 1371887344, 1371887346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.71218681335449 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:40:31.792156
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_44_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_34_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_24_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_14_10688.jpg', 2), ('/home/nano/Desktop/images/12072025/13/39/image_12072025_13_40_03_9696.jpg', 2), ('/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_54_9689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_44_9650.jpg', '/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_34_10629.jpg', '/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_24_9611.jpg', '/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_14_10688.jpg', '/home/nano/Desktop/images/12072025/13/39/image_12072025_13_40_03_9696.jpg', '/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_54_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_44_9650.jpg
/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_34_10629.jpg
/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_24_9611.jpg
/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_14_10688.jpg
/home/nano/Desktop/images/12072025/13/39/image_12072025_13_40_03_9696.jpg
/home/nano/Desktop/images/12072025/13/39/image_12072025_13_39_54_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887358","1371887363","1371887357","1371887366","1371887360","1371887359"],"photo_ids_order":["1371887357","1371887358","1371887359","1371887360","1371887363","1371887366"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5dc04965252751d60f0386b9cd124d67.jpg","text":"TemporaryFile(/tmp/multipartBody3260221334422965793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320493222,"filename":"image_12072025_13_40_34_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0e54b503e5c821f27c40e0e74a3d3f5.jpg","text":"TemporaryFile(/tmp/multipartBody6424821832475053143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320493222,"filename":"image_12072025_13_40_03_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/235c38733087114005d00e66750af6ff.jpg","text":"TemporaryFile(/tmp/multipartBody4957741369259973687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320493222,"filename":"image_12072025_13_40_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9466bcf2db507bd9130c40383bc23a1c.jpg","text":"TemporaryFile(/tmp/multipartBody173887415649804821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320493222,"filename":"image_12072025_13_39_54_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2b0574d4dba74f3771631497ed86cb0.jpg","text":"TemporaryFile(/tmp/multipartBody6300201567301910630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320493222,"filename":"image_12072025_13_40_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10f40d2bc36677d9992d93aa90ffd89f.jpg","text":"TemporaryFile(/tmp/multipartBody8410622671961971726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320493222,"filename":"image_12072025_13_40_24_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887359","file1":"1371887358","file0":"1371887357","file4":"1371887363","file5":"1371887366","file3":"1371887360"},"map_files_photo_id_array":[{"photo_id":"1371887366","filename":"file5"},{"photo_id":"1371887359","filename":"file2"},{"photo_id":"1371887363","filename":"file4"},{"photo_id":"1371887358","filename":"file1"},{"photo_id":"1371887357","filename":"file0"},{"photo_id":"1371887360","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887358":["hashtag1","hashtag2"]},{"1371887363":["hashtag1","hashtag2"]},{"1371887357":["hashtag1","hashtag2"]},{"1371887366":["hashtag1","hashtag2"]},{"1371887360":["hashtag1","hashtag2"]},{"1371887359":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887358, 1371887363, 1371887357, 1371887366, 1371887360, 1371887359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.58987522125244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:41:16.941158
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/41/image_12072025_13_41_24_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/13/40/image_12072025_13_41_04_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_54_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/41/image_12072025_13_41_24_9646.jpg', '/home/nano/Desktop/images/12072025/13/40/image_12072025_13_41_04_10673.jpg', '/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/41/image_12072025_13_41_24_9646.jpg
/home/nano/Desktop/images/12072025/13/40/image_12072025_13_41_04_10673.jpg
/home/nano/Desktop/images/12072025/13/40/image_12072025_13_40_54_9658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887378","1371887377","1371887379"],"photo_ids_order":["1371887377","1371887378","1371887379"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c0c6c2ce65f86b2372e137ce9ff0f56.jpg","text":"TemporaryFile(/tmp/multipartBody3600218948926823150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320538129,"filename":"image_12072025_13_41_04_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/428ccd922e170be87f9e163eba6dbca6.jpg","text":"TemporaryFile(/tmp/multipartBody5674486040002422661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320538129,"filename":"image_12072025_13_41_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/436f35435713ad465412df73cad693fe.jpg","text":"TemporaryFile(/tmp/multipartBody8845312006484955474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320538129,"filename":"image_12072025_13_40_54_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887379","file1":"1371887378","file0":"1371887377"},"map_files_photo_id_array":[{"photo_id":"1371887379","filename":"file2"},{"photo_id":"1371887378","filename":"file1"},{"photo_id":"1371887377","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887378":["hashtag1","hashtag2"]},{"1371887377":["hashtag1","hashtag2"]},{"1371887379":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887378, 1371887377, 1371887379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.194257974624634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:41:46.876331
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_44_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_33_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_23_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_14_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/18/35/image_10072025_18_36_03_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/18/35/image_10072025_18_35_44_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_44_10641.jpg', '/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_33_9630.jpg', '/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_23_9632.jpg', '/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_14_10664.jpg', '/home/nano/Desktop/images/10072025/18/35/image_10072025_18_36_03_9654.jpg', '/home/nano/Desktop/images/10072025/18/35/image_10072025_18_35_44_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_44_10641.jpg
/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_33_9630.jpg
/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_23_9632.jpg
/home/nano/Desktop/images/10072025/18/36/image_10072025_18_36_14_10664.jpg
/home/nano/Desktop/images/10072025/18/35/image_10072025_18_36_03_9654.jpg
/home/nano/Desktop/images/10072025/18/35/image_10072025_18_35_44_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887384","1371887387","1371887389","1371887382","1371887391","1371887385"],"photo_ids_order":["1371887382","1371887384","1371887385","1371887387","1371887389","1371887391"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d81e79a2e52627496c9c57041774e861.jpg","text":"TemporaryFile(/tmp/multipartBody4587708913752378920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320569844,"filename":"image_10072025_18_36_33_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3647aa389d25132de0cde44a6c7e6afd.jpg","text":"TemporaryFile(/tmp/multipartBody4933603055897173870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320569844,"filename":"image_10072025_18_36_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97e3e4c74a835b11881eab3aaaf92b42.jpg","text":"TemporaryFile(/tmp/multipartBody7158543575820921948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320569844,"filename":"image_10072025_18_36_03_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8a7e29690397552cd087ffae29821be.jpg","text":"TemporaryFile(/tmp/multipartBody3727263735335797339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320569844,"filename":"image_10072025_18_36_44_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4cbc60af03fcb6dec43e16a390e00675.jpg","text":"TemporaryFile(/tmp/multipartBody4187762937041842047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320569844,"filename":"image_10072025_18_35_44_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4aa1555ec6bd9b75e05464b7180891e0.jpg","text":"TemporaryFile(/tmp/multipartBody887116436232050173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320569844,"filename":"image_10072025_18_36_23_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887385","file1":"1371887384","file0":"1371887382","file4":"1371887389","file5":"1371887391","file3":"1371887387"},"map_files_photo_id_array":[{"photo_id":"1371887391","filename":"file5"},{"photo_id":"1371887385","filename":"file2"},{"photo_id":"1371887389","filename":"file4"},{"photo_id":"1371887384","filename":"file1"},{"photo_id":"1371887382","filename":"file0"},{"photo_id":"1371887387","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371887384":["hashtag1","hashtag2"]},{"1371887387":["hashtag1","hashtag2"]},{"1371887389":["hashtag1","hashtag2"]},{"1371887382":["hashtag1","hashtag2"]},{"1371887391":["hashtag1","hashtag2"]},{"1371887385":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371887384, 1371887387, 1371887389, 1371887382, 1371887391, 1371887385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.166865825653076 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:42:32.006129
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/42/image_12072025_13_42_24_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/13/41/image_12072025_13_41_44_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/42/image_12072025_13_42_24_9641.jpg', '/home/nano/Desktop/images/12072025/13/41/image_12072025_13_41_44_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/42/image_12072025_13_42_24_9641.jpg
/home/nano/Desktop/images/12072025/13/41/image_12072025_13_41_44_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887396","1371887395"],"photo_ids_order":["1371887395","1371887396"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07f19c3d26e4e0b80c69c24a7753e059.jpg","text":"TemporaryFile(/tmp/multipartBody7971601345880539345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320613167,"filename":"image_12072025_13_41_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ae70ebd8f2a675974afc377ed58a54b.jpg","text":"TemporaryFile(/tmp/multipartBody94493720432259383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320613167,"filename":"image_12072025_13_42_24_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371887396","file0":"1371887395"},"map_files_photo_id_array":[{"photo_id":"1371887396","filename":"file1"},{"photo_id":"1371887395","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887396":["hashtag1","hashtag2"]},{"1371887395":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887396, 1371887395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.566840171813965 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:43:02.796280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/35/image_10072025_18_35_24_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/18/35/image_10072025_18_35_14_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/18/34/image_10072025_18_34_44_10643.jpg', 2), ('/home/nano/Desktop/images/10072025/18/34/image_10072025_18_34_13_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/18/33/image_10072025_18_33_43_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/18/33/image_10072025_18_33_34_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/35/image_10072025_18_35_24_9629.jpg', '/home/nano/Desktop/images/10072025/18/35/image_10072025_18_35_14_10663.jpg', '/home/nano/Desktop/images/10072025/18/34/image_10072025_18_34_44_10643.jpg', '/home/nano/Desktop/images/10072025/18/34/image_10072025_18_34_13_9667.jpg', '/home/nano/Desktop/images/10072025/18/33/image_10072025_18_33_43_9641.jpg', '/home/nano/Desktop/images/10072025/18/33/image_10072025_18_33_34_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/35/image_10072025_18_35_24_9629.jpg
/home/nano/Desktop/images/10072025/18/35/image_10072025_18_35_14_10663.jpg
/home/nano/Desktop/images/10072025/18/34/image_10072025_18_34_44_10643.jpg
/home/nano/Desktop/images/10072025/18/34/image_10072025_18_34_13_9667.jpg
/home/nano/Desktop/images/10072025/18/33/image_10072025_18_33_43_9641.jpg
/home/nano/Desktop/images/10072025/18/33/image_10072025_18_33_34_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887409","1371887403","1371887411","1371887408","1371887405","1371887407"],"photo_ids_order":["1371887403","1371887405","1371887407","1371887408","1371887409","1371887411"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20770c58ff755331a3f789c4076eaf91.jpg","text":"TemporaryFile(/tmp/multipartBody7897379054748276222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320645722,"filename":"image_10072025_18_33_43_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fde4aa1de33792e1e24a6f78f7bae5e5.jpg","text":"TemporaryFile(/tmp/multipartBody7902495362518891850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320645722,"filename":"image_10072025_18_35_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfed183a1608f1e5d89510ccf7ef258c.jpg","text":"TemporaryFile(/tmp/multipartBody4946169548795907632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320645722,"filename":"image_10072025_18_33_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c226181a095f49de22e6447e9470ee5a.jpg","text":"TemporaryFile(/tmp/multipartBody5691668731588484576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320645722,"filename":"image_10072025_18_34_13_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce7ceda5dbaa4cbd2fd2c2e0fd9f8562.jpg","text":"TemporaryFile(/tmp/multipartBody4050823132173926428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320645722,"filename":"image_10072025_18_35_14_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66b8950e64a3dd8e372e378bc2a12538.jpg","text":"TemporaryFile(/tmp/multipartBody6480175766668590428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320645722,"filename":"image_10072025_18_34_44_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887407","file1":"1371887405","file0":"1371887403","file4":"1371887409","file5":"1371887411","file3":"1371887408"},"map_files_photo_id_array":[{"photo_id":"1371887411","filename":"file5"},{"photo_id":"1371887407","filename":"file2"},{"photo_id":"1371887409","filename":"file4"},{"photo_id":"1371887405","filename":"file1"},{"photo_id":"1371887403","filename":"file0"},{"photo_id":"1371887408","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371887409":["hashtag1","hashtag2"]},{"1371887403":["hashtag1","hashtag2"]},{"1371887411":["hashtag1","hashtag2"]},{"1371887408":["hashtag1","hashtag2"]},{"1371887405":["hashtag1","hashtag2"]},{"1371887407":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371887409, 1371887403, 1371887411, 1371887408, 1371887405, 1371887407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.451855182647705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:43:47.095217
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_44_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_34_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_14_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/13/42/image_12072025_13_43_04_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/13/42/image_12072025_13_42_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_44_9644.jpg', '/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_34_10662.jpg', '/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_23_9638.jpg', '/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_14_9669.jpg', '/home/nano/Desktop/images/12072025/13/42/image_12072025_13_43_04_10667.jpg', '/home/nano/Desktop/images/12072025/13/42/image_12072025_13_42_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_44_9644.jpg
/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_34_10662.jpg
/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_23_9638.jpg
/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_14_9669.jpg
/home/nano/Desktop/images/12072025/13/42/image_12072025_13_43_04_10667.jpg
/home/nano/Desktop/images/12072025/13/42/image_12072025_13_42_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887421","1371887415","1371887418","1371887420","1371887414","1371887416"],"photo_ids_order":["1371887414","1371887415","1371887416","1371887418","1371887420","1371887421"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e056cc7c993f2c1e6b4703b68e694d6e.jpg","text":"TemporaryFile(/tmp/multipartBody88000277376004574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320689474,"filename":"image_12072025_13_42_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0044a5f078e3403a9c7f5a21522f8d1.jpg","text":"TemporaryFile(/tmp/multipartBody3762671968679500835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320689474,"filename":"image_12072025_13_43_34_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f97b9968b084c0a01d1db4e884915da7.jpg","text":"TemporaryFile(/tmp/multipartBody1585520194575933102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320689474,"filename":"image_12072025_13_43_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b442ca023a0910b1c34427d24f7eaa5f.jpg","text":"TemporaryFile(/tmp/multipartBody7436652715830092275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320689474,"filename":"image_12072025_13_43_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14dbe810035a0ccb02d34516a54c129e.jpg","text":"TemporaryFile(/tmp/multipartBody1383398461203071141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320689474,"filename":"image_12072025_13_43_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce9179e604af558639bcb4bf5696c56b.jpg","text":"TemporaryFile(/tmp/multipartBody1601682506153610457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320689474,"filename":"image_12072025_13_43_23_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887416","file1":"1371887415","file0":"1371887414","file4":"1371887420","file5":"1371887421","file3":"1371887418"},"map_files_photo_id_array":[{"photo_id":"1371887421","filename":"file5"},{"photo_id":"1371887416","filename":"file2"},{"photo_id":"1371887420","filename":"file4"},{"photo_id":"1371887415","filename":"file1"},{"photo_id":"1371887414","filename":"file0"},{"photo_id":"1371887418","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887421":["hashtag1","hashtag2"]},{"1371887415":["hashtag1","hashtag2"]},{"1371887418":["hashtag1","hashtag2"]},{"1371887420":["hashtag1","hashtag2"]},{"1371887414":["hashtag1","hashtag2"]},{"1371887416":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887421, 1371887415, 1371887418, 1371887420, 1371887414, 1371887416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94234800338745 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:44:32.183720
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/44/image_12072025_13_44_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/13/44/image_12072025_13_44_14_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_53_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/44/image_12072025_13_44_23_9639.jpg', '/home/nano/Desktop/images/12072025/13/44/image_12072025_13_44_14_9665.jpg', '/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_53_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/44/image_12072025_13_44_23_9639.jpg
/home/nano/Desktop/images/12072025/13/44/image_12072025_13_44_14_9665.jpg
/home/nano/Desktop/images/12072025/13/43/image_12072025_13_43_53_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887430","1371887432","1371887428"],"photo_ids_order":["1371887428","1371887430","1371887432"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/981856af61dd63069c3803e525163f67.jpg","text":"TemporaryFile(/tmp/multipartBody4993929219879376367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320733574,"filename":"image_12072025_13_44_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef08f069272e8fc62bb98ca2fe2bc7b6.jpg","text":"TemporaryFile(/tmp/multipartBody4362714082656934033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320733574,"filename":"image_12072025_13_43_53_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8b481e9eebfc3ccd87ed1678f725513.jpg","text":"TemporaryFile(/tmp/multipartBody3928980683152674980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320733574,"filename":"image_12072025_13_44_23_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887432","file1":"1371887430","file0":"1371887428"},"map_files_photo_id_array":[{"photo_id":"1371887432","filename":"file2"},{"photo_id":"1371887430","filename":"file1"},{"photo_id":"1371887428","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887430":["hashtag1","hashtag2"]},{"1371887432":["hashtag1","hashtag2"]},{"1371887428":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887430, 1371887432, 1371887428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.361639261245728 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:45:02.881863
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/33/image_10072025_18_33_24_10659.jpg', 2), ('/home/nano/Desktop/images/10072025/18/32/image_10072025_18_33_04_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/18/32/image_10072025_18_32_54_10648.jpg', 2), ('/home/nano/Desktop/images/10072025/18/32/image_10072025_18_32_43_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/18/32/image_10072025_18_32_34_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/18/32/image_10072025_18_32_24_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/33/image_10072025_18_33_24_10659.jpg', '/home/nano/Desktop/images/10072025/18/32/image_10072025_18_33_04_9657.jpg', '/home/nano/Desktop/images/10072025/18/32/image_10072025_18_32_54_10648.jpg', '/home/nano/Desktop/images/10072025/18/32/image_10072025_18_32_43_9650.jpg', '/home/nano/Desktop/images/10072025/18/32/image_10072025_18_32_34_9649.jpg', '/home/nano/Desktop/images/10072025/18/32/image_10072025_18_32_24_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/33/image_10072025_18_33_24_10659.jpg
/home/nano/Desktop/images/10072025/18/32/image_10072025_18_33_04_9657.jpg
/home/nano/Desktop/images/10072025/18/32/image_10072025_18_32_54_10648.jpg
/home/nano/Desktop/images/10072025/18/32/image_10072025_18_32_43_9650.jpg
/home/nano/Desktop/images/10072025/18/32/image_10072025_18_32_34_9649.jpg
/home/nano/Desktop/images/10072025/18/32/image_10072025_18_32_24_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887436","1371887438","1371887441","1371887435","1371887440","1371887443"],"photo_ids_order":["1371887435","1371887436","1371887438","1371887440","1371887441","1371887443"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ffcdc006ce19f8059682f14a934c358.jpg","text":"TemporaryFile(/tmp/multipartBody4162145260086444934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320765845,"filename":"image_10072025_18_33_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbfc1c9bdac1ee58eb10efb3f94823d0.jpg","text":"TemporaryFile(/tmp/multipartBody9063738261059653600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320765845,"filename":"image_10072025_18_32_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01319f07741b4229c38e854addfd9740.jpg","text":"TemporaryFile(/tmp/multipartBody5392854129672722950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320765845,"filename":"image_10072025_18_32_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ff839d0cdc13426bd68b8bec39e10db.jpg","text":"TemporaryFile(/tmp/multipartBody2792820234715776094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320765845,"filename":"image_10072025_18_33_24_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf6d7a09dc491f2dce933711756423ff.jpg","text":"TemporaryFile(/tmp/multipartBody6742983287765722436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320765845,"filename":"image_10072025_18_32_43_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ba19a434ba3e908c9cc29939db982cb.jpg","text":"TemporaryFile(/tmp/multipartBody4580505070474245669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320765845,"filename":"image_10072025_18_32_24_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887438","file1":"1371887436","file0":"1371887435","file4":"1371887441","file5":"1371887443","file3":"1371887440"},"map_files_photo_id_array":[{"photo_id":"1371887443","filename":"file5"},{"photo_id":"1371887438","filename":"file2"},{"photo_id":"1371887441","filename":"file4"},{"photo_id":"1371887436","filename":"file1"},{"photo_id":"1371887435","filename":"file0"},{"photo_id":"1371887440","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371887436":["hashtag1","hashtag2"]},{"1371887438":["hashtag1","hashtag2"]},{"1371887441":["hashtag1","hashtag2"]},{"1371887435":["hashtag1","hashtag2"]},{"1371887440":["hashtag1","hashtag2"]},{"1371887443":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371887436, 1371887438, 1371887441, 1371887435, 1371887440, 1371887443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.03239130973816 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:45:47.303155
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/45/image_12072025_13_45_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/13/45/image_12072025_13_45_24_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/13/45/image_12072025_13_45_14_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/13/44/image_12072025_13_45_04_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/13/44/image_12072025_13_44_44_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/45/image_12072025_13_45_34_9638.jpg', '/home/nano/Desktop/images/12072025/13/45/image_12072025_13_45_24_10667.jpg', '/home/nano/Desktop/images/12072025/13/45/image_12072025_13_45_14_9671.jpg', '/home/nano/Desktop/images/12072025/13/44/image_12072025_13_45_04_10662.jpg', '/home/nano/Desktop/images/12072025/13/44/image_12072025_13_44_44_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/45/image_12072025_13_45_34_9638.jpg
/home/nano/Desktop/images/12072025/13/45/image_12072025_13_45_24_10667.jpg
/home/nano/Desktop/images/12072025/13/45/image_12072025_13_45_14_9671.jpg
/home/nano/Desktop/images/12072025/13/44/image_12072025_13_45_04_10662.jpg
/home/nano/Desktop/images/12072025/13/44/image_12072025_13_44_44_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887453","1371887452","1371887455","1371887449","1371887458"],"photo_ids_order":["1371887449","1371887452","1371887453","1371887455","1371887458"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca48079451a42ee48ca6acf5279c9adb.jpg","text":"TemporaryFile(/tmp/multipartBody3316923610824174270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320809353,"filename":"image_12072025_13_45_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c1aa09e0938e209578154b9afebd406.jpg","text":"TemporaryFile(/tmp/multipartBody7975244084152134896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320809353,"filename":"image_12072025_13_45_24_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1bde6f1d016df3161c414492dd0d829.jpg","text":"TemporaryFile(/tmp/multipartBody7180946065277340534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320809353,"filename":"image_12072025_13_45_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da71bca83564e2546572512cd1d1e610.jpg","text":"TemporaryFile(/tmp/multipartBody7636584715369722992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320809353,"filename":"image_12072025_13_45_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/095e1c41c56f337d19a483ed00f1c06e.jpg","text":"TemporaryFile(/tmp/multipartBody5484713782683365919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320809353,"filename":"image_12072025_13_44_44_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887453","file1":"1371887452","file0":"1371887449","file4":"1371887458","file3":"1371887455"},"map_files_photo_id_array":[{"photo_id":"1371887453","filename":"file2"},{"photo_id":"1371887458","filename":"file4"},{"photo_id":"1371887452","filename":"file1"},{"photo_id":"1371887449","filename":"file0"},{"photo_id":"1371887455","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887453":["hashtag1","hashtag2"]},{"1371887452":["hashtag1","hashtag2"]},{"1371887455":["hashtag1","hashtag2"]},{"1371887449":["hashtag1","hashtag2"]},{"1371887458":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887453, 1371887452, 1371887455, 1371887449, 1371887458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.915651082992554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:46:32.383222
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/45/image_12072025_13_45_44_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/45/image_12072025_13_45_44_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/45/image_12072025_13_45_44_9643.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887461"],"photo_id":"1371887461","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1bc1d16f9003dd1c1afe626661dead53.jpg","text":"TemporaryFile(/tmp/multipartBody6017102745898741810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320853078,"filename":"image_12072025_13_45_44_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371887461"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371887461"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.418089628219604 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:46:47.387414
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/31/image_10072025_18_31_23_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/18/30/image_10072025_18_31_04_10653.jpg', 2), ('/home/nano/Desktop/images/10072025/18/30/image_10072025_18_30_53_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/30/image_10072025_18_30_44_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/18/30/image_10072025_18_30_34_10643.jpg', 2), ('/home/nano/Desktop/images/10072025/18/30/image_10072025_18_30_14_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/31/image_10072025_18_31_23_9629.jpg', '/home/nano/Desktop/images/10072025/18/30/image_10072025_18_31_04_10653.jpg', '/home/nano/Desktop/images/10072025/18/30/image_10072025_18_30_53_9631.jpg', '/home/nano/Desktop/images/10072025/18/30/image_10072025_18_30_44_9633.jpg', '/home/nano/Desktop/images/10072025/18/30/image_10072025_18_30_34_10643.jpg', '/home/nano/Desktop/images/10072025/18/30/image_10072025_18_30_14_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/31/image_10072025_18_31_23_9629.jpg
/home/nano/Desktop/images/10072025/18/30/image_10072025_18_31_04_10653.jpg
/home/nano/Desktop/images/10072025/18/30/image_10072025_18_30_53_9631.jpg
/home/nano/Desktop/images/10072025/18/30/image_10072025_18_30_44_9633.jpg
/home/nano/Desktop/images/10072025/18/30/image_10072025_18_30_34_10643.jpg
/home/nano/Desktop/images/10072025/18/30/image_10072025_18_30_14_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887469","1371887462","1371887470","1371887464","1371887463","1371887466"],"photo_ids_order":["1371887462","1371887463","1371887464","1371887466","1371887469","1371887470"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aae909bf5a1178c15b313298d0088625.jpg","text":"TemporaryFile(/tmp/multipartBody7421249437758814323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320870641,"filename":"image_10072025_18_30_34_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e37f243d9a994755ff0d7f1a79529a41.jpg","text":"TemporaryFile(/tmp/multipartBody3581964400096547330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320870641,"filename":"image_10072025_18_31_23_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb2e1273ba491ca13d21ce782b510763.jpg","text":"TemporaryFile(/tmp/multipartBody1272734613549287181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320870641,"filename":"image_10072025_18_30_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1af7e270a024c739d2fb3a67f134e72d.jpg","text":"TemporaryFile(/tmp/multipartBody7044865638041642952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320870641,"filename":"image_10072025_18_30_53_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13e30606630282e36614b760dcdb14c8.jpg","text":"TemporaryFile(/tmp/multipartBody8357289055194103065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320870641,"filename":"image_10072025_18_31_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4636614d6bdfa849bfc3f87573860378.jpg","text":"TemporaryFile(/tmp/multipartBody4010632585783221998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320870641,"filename":"image_10072025_18_30_44_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887464","file1":"1371887463","file0":"1371887462","file4":"1371887469","file5":"1371887470","file3":"1371887466"},"map_files_photo_id_array":[{"photo_id":"1371887470","filename":"file5"},{"photo_id":"1371887464","filename":"file2"},{"photo_id":"1371887469","filename":"file4"},{"photo_id":"1371887463","filename":"file1"},{"photo_id":"1371887462","filename":"file0"},{"photo_id":"1371887466","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371887469":["hashtag1","hashtag2"]},{"1371887462":["hashtag1","hashtag2"]},{"1371887470":["hashtag1","hashtag2"]},{"1371887464":["hashtag1","hashtag2"]},{"1371887463":["hashtag1","hashtag2"]},{"1371887466":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371887469, 1371887462, 1371887470, 1371887464, 1371887463, 1371887466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15493941307068 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:47:32.516615
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/47/image_12072025_13_47_34_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/13/47/image_12072025_13_47_24_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/13/47/image_12072025_13_47_14_9691.jpg', 2), ('/home/nano/Desktop/images/12072025/13/46/image_12072025_13_47_04_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/13/46/image_12072025_13_46_34_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/47/image_12072025_13_47_34_9641.jpg', '/home/nano/Desktop/images/12072025/13/47/image_12072025_13_47_24_10657.jpg', '/home/nano/Desktop/images/12072025/13/47/image_12072025_13_47_14_9691.jpg', '/home/nano/Desktop/images/12072025/13/46/image_12072025_13_47_04_9652.jpg', '/home/nano/Desktop/images/12072025/13/46/image_12072025_13_46_34_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/47/image_12072025_13_47_34_9641.jpg
/home/nano/Desktop/images/12072025/13/47/image_12072025_13_47_24_10657.jpg
/home/nano/Desktop/images/12072025/13/47/image_12072025_13_47_14_9691.jpg
/home/nano/Desktop/images/12072025/13/46/image_12072025_13_47_04_9652.jpg
/home/nano/Desktop/images/12072025/13/46/image_12072025_13_46_34_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887480","1371887477","1371887479","1371887476","1371887478"],"photo_ids_order":["1371887476","1371887477","1371887478","1371887479","1371887480"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aeb9fd090a4a4f94e9b4c8f343b123a8.jpg","text":"TemporaryFile(/tmp/multipartBody1552634712315620484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320914311,"filename":"image_12072025_13_46_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20f64c5096e541f5c3ee6d205017f986.jpg","text":"TemporaryFile(/tmp/multipartBody8307872720649102248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320914311,"filename":"image_12072025_13_47_24_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f411ed25e34d951744b0de77614d9c23.jpg","text":"TemporaryFile(/tmp/multipartBody2715203931505390873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320914311,"filename":"image_12072025_13_47_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2825e8d5a5b242368fc4465afdc3f0e9.jpg","text":"TemporaryFile(/tmp/multipartBody7260955888002324868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320914311,"filename":"image_12072025_13_47_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a57ac24b1a4f7cfba7e20beacd8e00e3.jpg","text":"TemporaryFile(/tmp/multipartBody6474006962191041715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320914311,"filename":"image_12072025_13_47_14_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887478","file1":"1371887477","file0":"1371887476","file4":"1371887480","file3":"1371887479"},"map_files_photo_id_array":[{"photo_id":"1371887478","filename":"file2"},{"photo_id":"1371887480","filename":"file4"},{"photo_id":"1371887477","filename":"file1"},{"photo_id":"1371887476","filename":"file0"},{"photo_id":"1371887479","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887480":["hashtag1","hashtag2"]},{"1371887477":["hashtag1","hashtag2"]},{"1371887479":["hashtag1","hashtag2"]},{"1371887476":["hashtag1","hashtag2"]},{"1371887478":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887480, 1371887477, 1371887479, 1371887476, 1371887478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.150395154953003 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:48:03.011286
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/29/image_10072025_18_30_04_10649.jpg', 2), ('/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_53_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_44_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_34_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_23_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_44_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/29/image_10072025_18_30_04_10649.jpg', '/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_53_9638.jpg', '/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_44_9632.jpg', '/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_34_10658.jpg', '/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_23_9632.jpg', '/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_44_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/29/image_10072025_18_30_04_10649.jpg
/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_53_9638.jpg
/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_44_9632.jpg
/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_34_10658.jpg
/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_23_9632.jpg
/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_44_10645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.393720865249634 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:48:17.582034
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/48/image_12072025_13_48_34_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/13/48/image_12072025_13_48_24_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/13/48/image_12072025_13_48_13_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/13/47/image_12072025_13_48_04_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/13/47/image_12072025_13_47_43_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/48/image_12072025_13_48_34_9657.jpg', '/home/nano/Desktop/images/12072025/13/48/image_12072025_13_48_24_10650.jpg', '/home/nano/Desktop/images/12072025/13/48/image_12072025_13_48_13_9669.jpg', '/home/nano/Desktop/images/12072025/13/47/image_12072025_13_48_04_9649.jpg', '/home/nano/Desktop/images/12072025/13/47/image_12072025_13_47_43_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/48/image_12072025_13_48_34_9657.jpg
/home/nano/Desktop/images/12072025/13/48/image_12072025_13_48_24_10650.jpg
/home/nano/Desktop/images/12072025/13/48/image_12072025_13_48_13_9669.jpg
/home/nano/Desktop/images/12072025/13/47/image_12072025_13_48_04_9649.jpg
/home/nano/Desktop/images/12072025/13/47/image_12072025_13_47_43_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887497","1371887496","1371887500","1371887499","1371887493"],"photo_ids_order":["1371887493","1371887496","1371887497","1371887499","1371887500"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0746ca3652e4f42eda8b97a2dc89d8ae.jpg","text":"TemporaryFile(/tmp/multipartBody295903865372933455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320959070,"filename":"image_12072025_13_48_13_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5f53f44676213a9e184d274e20a86fd.jpg","text":"TemporaryFile(/tmp/multipartBody8855230020198942571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320959070,"filename":"image_12072025_13_48_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e0ad1904c675d5b745eb50494b63238.jpg","text":"TemporaryFile(/tmp/multipartBody3559491725492958544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320959070,"filename":"image_12072025_13_47_43_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8dd0378511d570497df04a4950466c8.jpg","text":"TemporaryFile(/tmp/multipartBody2877197029038270635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320959070,"filename":"image_12072025_13_48_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/182cc43480f984114f94ac6026e9a890.jpg","text":"TemporaryFile(/tmp/multipartBody772742409952209832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320959070,"filename":"image_12072025_13_48_34_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887497","file1":"1371887496","file0":"1371887493","file4":"1371887500","file3":"1371887499"},"map_files_photo_id_array":[{"photo_id":"1371887497","filename":"file2"},{"photo_id":"1371887500","filename":"file4"},{"photo_id":"1371887496","filename":"file1"},{"photo_id":"1371887493","filename":"file0"},{"photo_id":"1371887499","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887497":["hashtag1","hashtag2"]},{"1371887496":["hashtag1","hashtag2"]},{"1371887500":["hashtag1","hashtag2"]},{"1371887499":["hashtag1","hashtag2"]},{"1371887493":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887497, 1371887496, 1371887500, 1371887499, 1371887493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.089596033096313 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:48:47.580700
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/29/image_10072025_18_30_04_10649.jpg', 2), ('/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_53_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_44_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_34_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_23_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_44_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/29/image_10072025_18_30_04_10649.jpg', '/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_53_9638.jpg', '/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_44_9632.jpg', '/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_34_10658.jpg', '/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_23_9632.jpg', '/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_44_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/29/image_10072025_18_30_04_10649.jpg
/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_53_9638.jpg
/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_44_9632.jpg
/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_34_10658.jpg
/home/nano/Desktop/images/10072025/18/29/image_10072025_18_29_23_9632.jpg
/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_44_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887511","1371887505","1371887507","1371887504","1371887512","1371887509"],"photo_ids_order":["1371887504","1371887505","1371887507","1371887509","1371887511","1371887512"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfb2a22990842874d5201a94c3d159bd.jpg","text":"TemporaryFile(/tmp/multipartBody9141227065985484837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320990403,"filename":"image_10072025_18_29_23_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/156e770ce14634533fdb758a349303ea.jpg","text":"TemporaryFile(/tmp/multipartBody1042800482410771881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320990403,"filename":"image_10072025_18_29_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d28c7f4dd3b321f2584597f2b32c5f7.jpg","text":"TemporaryFile(/tmp/multipartBody3170145242020492951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320990403,"filename":"image_10072025_18_29_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90f473813df66ddd1dbbb06f4b20d879.jpg","text":"TemporaryFile(/tmp/multipartBody209051977652744539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320990403,"filename":"image_10072025_18_30_04_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24acd0a259134ad6112869702c997516.jpg","text":"TemporaryFile(/tmp/multipartBody8518985952706810433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320990403,"filename":"image_10072025_18_28_44_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c61040aebbfe5081152af3260f943d0.jpg","text":"TemporaryFile(/tmp/multipartBody7591178216131141554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752320990403,"filename":"image_10072025_18_29_34_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887507","file1":"1371887505","file0":"1371887504","file4":"1371887511","file5":"1371887512","file3":"1371887509"},"map_files_photo_id_array":[{"photo_id":"1371887512","filename":"file5"},{"photo_id":"1371887507","filename":"file2"},{"photo_id":"1371887511","filename":"file4"},{"photo_id":"1371887505","filename":"file1"},{"photo_id":"1371887504","filename":"file0"},{"photo_id":"1371887509","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371887511":["hashtag1","hashtag2"]},{"1371887505":["hashtag1","hashtag2"]},{"1371887507":["hashtag1","hashtag2"]},{"1371887504":["hashtag1","hashtag2"]},{"1371887512":["hashtag1","hashtag2"]},{"1371887509":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371887511, 1371887505, 1371887507, 1371887504, 1371887512, 1371887509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.994245290756226 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:49:32.685252
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/49/image_12072025_13_49_43_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/13/49/image_12072025_13_49_13_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/13/48/image_12072025_13_48_43_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/49/image_12072025_13_49_43_9648.jpg', '/home/nano/Desktop/images/12072025/13/49/image_12072025_13_49_13_9675.jpg', '/home/nano/Desktop/images/12072025/13/48/image_12072025_13_48_43_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/49/image_12072025_13_49_43_9648.jpg
/home/nano/Desktop/images/12072025/13/49/image_12072025_13_49_13_9675.jpg
/home/nano/Desktop/images/12072025/13/48/image_12072025_13_48_43_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887514","1371887516","1371887515"],"photo_ids_order":["1371887514","1371887515","1371887516"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/edd3ad89b41bdcf6be99f2b104837a63.jpg","text":"TemporaryFile(/tmp/multipartBody5581775651369992549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321033852,"filename":"image_12072025_13_49_43_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f1e6a2f3bbb2a04e7005cc8ff55bd58.jpg","text":"TemporaryFile(/tmp/multipartBody4190748983547354849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321033852,"filename":"image_12072025_13_48_43_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/562d29680eecad5bd7c51b1f1bea11cd.jpg","text":"TemporaryFile(/tmp/multipartBody2527831866624813699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321033852,"filename":"image_12072025_13_49_13_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887516","file1":"1371887515","file0":"1371887514"},"map_files_photo_id_array":[{"photo_id":"1371887516","filename":"file2"},{"photo_id":"1371887515","filename":"file1"},{"photo_id":"1371887514","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887514":["hashtag1","hashtag2"]},{"1371887516":["hashtag1","hashtag2"]},{"1371887515":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887514, 1371887516, 1371887515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.881513357162476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:50:02.234800
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_33_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_23_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_14_10665.jpg', 2), ('/home/nano/Desktop/images/10072025/18/27/image_10072025_18_27_44_10651.jpg', 2), ('/home/nano/Desktop/images/10072025/18/27/image_10072025_18_27_33_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/18/27/image_10072025_18_27_24_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_33_9636.jpg', '/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_23_9632.jpg', '/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_14_10665.jpg', '/home/nano/Desktop/images/10072025/18/27/image_10072025_18_27_44_10651.jpg', '/home/nano/Desktop/images/10072025/18/27/image_10072025_18_27_33_9633.jpg', '/home/nano/Desktop/images/10072025/18/27/image_10072025_18_27_24_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_33_9636.jpg
/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_23_9632.jpg
/home/nano/Desktop/images/10072025/18/28/image_10072025_18_28_14_10665.jpg
/home/nano/Desktop/images/10072025/18/27/image_10072025_18_27_44_10651.jpg
/home/nano/Desktop/images/10072025/18/27/image_10072025_18_27_33_9633.jpg
/home/nano/Desktop/images/10072025/18/27/image_10072025_18_27_24_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887532","1371887525","1371887534","1371887533","1371887530","1371887527"],"photo_ids_order":["1371887525","1371887527","1371887530","1371887532","1371887533","1371887534"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09ddc918cb240659cacb72b2b739b7d7.jpg","text":"TemporaryFile(/tmp/multipartBody6120760714517030905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321065428,"filename":"image_10072025_18_27_44_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d016901a1e8329c4a54ef5d34c67504.jpg","text":"TemporaryFile(/tmp/multipartBody2751814902694624245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321065428,"filename":"image_10072025_18_28_33_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc4eb8fbce8f79ceff0371dc31fd4533.jpg","text":"TemporaryFile(/tmp/multipartBody2676891136012452146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321065428,"filename":"image_10072025_18_27_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/647bfc14b567381f7b204b72767eac4d.jpg","text":"TemporaryFile(/tmp/multipartBody1364727760142340617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321065428,"filename":"image_10072025_18_27_33_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd88f5c789ae7a22ee917c37bfa7f3a9.jpg","text":"TemporaryFile(/tmp/multipartBody7596118647969157470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321065428,"filename":"image_10072025_18_28_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2094a2d7987a0446c165e8615a19ae3c.jpg","text":"TemporaryFile(/tmp/multipartBody1511606095781768605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321065428,"filename":"image_10072025_18_28_23_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887530","file1":"1371887527","file0":"1371887525","file4":"1371887533","file5":"1371887534","file3":"1371887532"},"map_files_photo_id_array":[{"photo_id":"1371887534","filename":"file5"},{"photo_id":"1371887530","filename":"file2"},{"photo_id":"1371887533","filename":"file4"},{"photo_id":"1371887527","filename":"file1"},{"photo_id":"1371887525","filename":"file0"},{"photo_id":"1371887532","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371887532":["hashtag1","hashtag2"]},{"1371887525":["hashtag1","hashtag2"]},{"1371887534":["hashtag1","hashtag2"]},{"1371887533":["hashtag1","hashtag2"]},{"1371887530":["hashtag1","hashtag2"]},{"1371887527":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371887532, 1371887525, 1371887534, 1371887533, 1371887530, 1371887527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88452672958374 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:50:46.799080
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/50/image_12072025_13_50_44_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/13/50/image_12072025_13_50_24_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/13/50/image_12072025_13_50_13_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/13/49/image_12072025_13_50_04_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/13/49/image_12072025_13_49_54_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/50/image_12072025_13_50_44_10671.jpg', '/home/nano/Desktop/images/12072025/13/50/image_12072025_13_50_24_10651.jpg', '/home/nano/Desktop/images/12072025/13/50/image_12072025_13_50_13_9660.jpg', '/home/nano/Desktop/images/12072025/13/49/image_12072025_13_50_04_9670.jpg', '/home/nano/Desktop/images/12072025/13/49/image_12072025_13_49_54_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/50/image_12072025_13_50_44_10671.jpg
/home/nano/Desktop/images/12072025/13/50/image_12072025_13_50_24_10651.jpg
/home/nano/Desktop/images/12072025/13/50/image_12072025_13_50_13_9660.jpg
/home/nano/Desktop/images/12072025/13/49/image_12072025_13_50_04_9670.jpg
/home/nano/Desktop/images/12072025/13/49/image_12072025_13_49_54_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887547","1371887541","1371887535","1371887538","1371887544"],"photo_ids_order":["1371887535","1371887538","1371887541","1371887544","1371887547"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1de268eadc6695998ee9e556c9a423e0.jpg","text":"TemporaryFile(/tmp/multipartBody7879805482009497343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321108132,"filename":"image_12072025_13_49_54_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/951642ab6ea08cb718f5ebfef04738de.jpg","text":"TemporaryFile(/tmp/multipartBody4237063873674514526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321108132,"filename":"image_12072025_13_50_13_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d95f424ceaa7285cb9b12896eecb8408.jpg","text":"TemporaryFile(/tmp/multipartBody3156598063619973104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321108132,"filename":"image_12072025_13_50_44_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74fd5ea3ce30553dfb43eb4b82a012f0.jpg","text":"TemporaryFile(/tmp/multipartBody26429643714008526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321108132,"filename":"image_12072025_13_50_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7c5e52aef4c714e107917d5fe5dcf06.jpg","text":"TemporaryFile(/tmp/multipartBody1100745516997687666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321108132,"filename":"image_12072025_13_50_04_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887541","file1":"1371887538","file0":"1371887535","file4":"1371887547","file3":"1371887544"},"map_files_photo_id_array":[{"photo_id":"1371887541","filename":"file2"},{"photo_id":"1371887547","filename":"file4"},{"photo_id":"1371887538","filename":"file1"},{"photo_id":"1371887535","filename":"file0"},{"photo_id":"1371887544","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887547":["hashtag1","hashtag2"]},{"1371887541":["hashtag1","hashtag2"]},{"1371887535":["hashtag1","hashtag2"]},{"1371887538":["hashtag1","hashtag2"]},{"1371887544":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887547, 1371887541, 1371887535, 1371887538, 1371887544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 41.777496337890625 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:51:31.874170
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/50/image_12072025_13_51_04_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/13/50/image_12072025_13_50_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/50/image_12072025_13_51_04_9666.jpg', '/home/nano/Desktop/images/12072025/13/50/image_12072025_13_50_54_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/50/image_12072025_13_51_04_9666.jpg
/home/nano/Desktop/images/12072025/13/50/image_12072025_13_50_54_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887555","1371887554"],"photo_ids_order":["1371887554","1371887555"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34a8ae6f3b83f3efa1f0c316be260203.jpg","text":"TemporaryFile(/tmp/multipartBody8781787161234505453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321152724,"filename":"image_12072025_13_50_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68df9f5179596226523052d35f979cc7.jpg","text":"TemporaryFile(/tmp/multipartBody255393563049189201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321152724,"filename":"image_12072025_13_51_04_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371887555","file0":"1371887554"},"map_files_photo_id_array":[{"photo_id":"1371887555","filename":"file1"},{"photo_id":"1371887554","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887555":["hashtag1","hashtag2"]},{"1371887554":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887555, 1371887554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 24.095935344696045 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:52:02.508250
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/26/image_10072025_18_26_54_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/18/26/image_10072025_18_26_33_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/18/26/image_10072025_18_26_14_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/18/25/image_10072025_18_26_03_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/18/25/image_10072025_18_25_24_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/18/25/image_10072025_18_25_13_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/26/image_10072025_18_26_54_9629.jpg', '/home/nano/Desktop/images/10072025/18/26/image_10072025_18_26_33_9647.jpg', '/home/nano/Desktop/images/10072025/18/26/image_10072025_18_26_14_10663.jpg', '/home/nano/Desktop/images/10072025/18/25/image_10072025_18_26_03_9643.jpg', '/home/nano/Desktop/images/10072025/18/25/image_10072025_18_25_24_10641.jpg', '/home/nano/Desktop/images/10072025/18/25/image_10072025_18_25_13_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/26/image_10072025_18_26_54_9629.jpg
/home/nano/Desktop/images/10072025/18/26/image_10072025_18_26_33_9647.jpg
/home/nano/Desktop/images/10072025/18/26/image_10072025_18_26_14_10663.jpg
/home/nano/Desktop/images/10072025/18/25/image_10072025_18_26_03_9643.jpg
/home/nano/Desktop/images/10072025/18/25/image_10072025_18_25_24_10641.jpg
/home/nano/Desktop/images/10072025/18/25/image_10072025_18_25_13_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887568","1371887570","1371887572","1371887566","1371887560","1371887562"],"photo_ids_order":["1371887560","1371887562","1371887566","1371887568","1371887570","1371887572"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b146c0bae037492243bd75b3529154e.jpg","text":"TemporaryFile(/tmp/multipartBody9110244595541372187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321185588,"filename":"image_10072025_18_26_03_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fbdd095aafdc8432747ddecb8f0322ec.jpg","text":"TemporaryFile(/tmp/multipartBody6114808393568030682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321185588,"filename":"image_10072025_18_25_24_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7cac815c8db068f2144c585d4788324.jpg","text":"TemporaryFile(/tmp/multipartBody8403974851776938428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321185588,"filename":"image_10072025_18_25_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/653bed2f235e9db8174ad7fd1dff1db0.jpg","text":"TemporaryFile(/tmp/multipartBody1157558285730641234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321185588,"filename":"image_10072025_18_26_14_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82c8369d107ba263a22ec46cadda4904.jpg","text":"TemporaryFile(/tmp/multipartBody4849245232890075716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321185588,"filename":"image_10072025_18_26_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07b5b2db5829ee8b27341caad44363b7.jpg","text":"TemporaryFile(/tmp/multipartBody103536922064460293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321185588,"filename":"image_10072025_18_26_33_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887566","file1":"1371887562","file0":"1371887560","file4":"1371887570","file5":"1371887572","file3":"1371887568"},"map_files_photo_id_array":[{"photo_id":"1371887572","filename":"file5"},{"photo_id":"1371887566","filename":"file2"},{"photo_id":"1371887570","filename":"file4"},{"photo_id":"1371887562","filename":"file1"},{"photo_id":"1371887560","filename":"file0"},{"photo_id":"1371887568","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371887568":["hashtag1","hashtag2"]},{"1371887570":["hashtag1","hashtag2"]},{"1371887572":["hashtag1","hashtag2"]},{"1371887566":["hashtag1","hashtag2"]},{"1371887560":["hashtag1","hashtag2"]},{"1371887562":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371887568, 1371887570, 1371887572, 1371887566, 1371887560, 1371887562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.289186000823975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:53:02.803713
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/52/image_12072025_13_52_34_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/13/52/image_12072025_13_52_24_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/13/52/image_12072025_13_52_14_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/13/51/image_12072025_13_52_04_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/13/51/image_12072025_13_51_14_10675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/52/image_12072025_13_52_34_9641.jpg', '/home/nano/Desktop/images/12072025/13/52/image_12072025_13_52_24_9646.jpg', '/home/nano/Desktop/images/12072025/13/52/image_12072025_13_52_14_10671.jpg', '/home/nano/Desktop/images/12072025/13/51/image_12072025_13_52_04_9650.jpg', '/home/nano/Desktop/images/12072025/13/51/image_12072025_13_51_14_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/52/image_12072025_13_52_34_9641.jpg
/home/nano/Desktop/images/12072025/13/52/image_12072025_13_52_24_9646.jpg
/home/nano/Desktop/images/12072025/13/52/image_12072025_13_52_14_10671.jpg
/home/nano/Desktop/images/12072025/13/51/image_12072025_13_52_04_9650.jpg
/home/nano/Desktop/images/12072025/13/51/image_12072025_13_51_14_10675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887582","1371887579","1371887584","1371887577","1371887586"],"photo_ids_order":["1371887577","1371887579","1371887582","1371887584","1371887586"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bf747a03dcb66ec04457505bb7b3a00.jpg","text":"TemporaryFile(/tmp/multipartBody1377873182768629553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321244530,"filename":"image_12072025_13_52_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/359cc81f23ee160dac0884adfc027d3f.jpg","text":"TemporaryFile(/tmp/multipartBody2911594199455636289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321244530,"filename":"image_12072025_13_52_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0089a1355d3dd3ede8a29cc6ab9009e7.jpg","text":"TemporaryFile(/tmp/multipartBody5890523091865230329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321244530,"filename":"image_12072025_13_52_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c412f5e6858cab2c2a883c88d2e84c99.jpg","text":"TemporaryFile(/tmp/multipartBody906408952553125740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321244530,"filename":"image_12072025_13_52_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5311775277f3cb48276fab5f698c8f64.jpg","text":"TemporaryFile(/tmp/multipartBody5692360375222899044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321244530,"filename":"image_12072025_13_51_14_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887582","file1":"1371887579","file0":"1371887577","file4":"1371887586","file3":"1371887584"},"map_files_photo_id_array":[{"photo_id":"1371887582","filename":"file2"},{"photo_id":"1371887586","filename":"file4"},{"photo_id":"1371887579","filename":"file1"},{"photo_id":"1371887577","filename":"file0"},{"photo_id":"1371887584","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887582":["hashtag1","hashtag2"]},{"1371887579":["hashtag1","hashtag2"]},{"1371887584":["hashtag1","hashtag2"]},{"1371887577":["hashtag1","hashtag2"]},{"1371887586":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887582, 1371887579, 1371887584, 1371887577, 1371887586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.377246618270874 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:53:32.241897
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/53/image_12072025_13_53_24_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/13/53/image_12072025_13_53_14_10679.jpg', 2), ('/home/nano/Desktop/images/12072025/13/52/image_12072025_13_52_54_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/53/image_12072025_13_53_24_9650.jpg', '/home/nano/Desktop/images/12072025/13/53/image_12072025_13_53_14_10679.jpg', '/home/nano/Desktop/images/12072025/13/52/image_12072025_13_52_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/53/image_12072025_13_53_24_9650.jpg
/home/nano/Desktop/images/12072025/13/53/image_12072025_13_53_14_10679.jpg
/home/nano/Desktop/images/12072025/13/52/image_12072025_13_52_54_9646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887591","1371887590","1371887592"],"photo_ids_order":["1371887590","1371887591","1371887592"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b0b4d3d9f8115f7713a7e0e5562106c.jpg","text":"TemporaryFile(/tmp/multipartBody3705548960266967204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321273197,"filename":"image_12072025_13_53_14_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4600f6d19b37729d1bd7ecf634a1164.jpg","text":"TemporaryFile(/tmp/multipartBody3423111378139973551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321273197,"filename":"image_12072025_13_53_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/160dcb26f6865dbb61ae41adc418d4c8.jpg","text":"TemporaryFile(/tmp/multipartBody2660692829775525597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321273197,"filename":"image_12072025_13_52_54_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887592","file1":"1371887591","file0":"1371887590"},"map_files_photo_id_array":[{"photo_id":"1371887592","filename":"file2"},{"photo_id":"1371887591","filename":"file1"},{"photo_id":"1371887590","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887591":["hashtag1","hashtag2"]},{"1371887590":["hashtag1","hashtag2"]},{"1371887592":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887591, 1371887590, 1371887592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.85855722427368 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:54:02.847746
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/24/image_10072025_18_24_54_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/18/24/image_10072025_18_24_43_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/18/24/image_10072025_18_24_24_10642.jpg', 2), ('/home/nano/Desktop/images/10072025/18/24/image_10072025_18_24_13_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/18/23/image_10072025_18_24_04_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/18/23/image_10072025_18_23_54_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/24/image_10072025_18_24_54_10660.jpg', '/home/nano/Desktop/images/10072025/18/24/image_10072025_18_24_43_9633.jpg', '/home/nano/Desktop/images/10072025/18/24/image_10072025_18_24_24_10642.jpg', '/home/nano/Desktop/images/10072025/18/24/image_10072025_18_24_13_9657.jpg', '/home/nano/Desktop/images/10072025/18/23/image_10072025_18_24_04_9655.jpg', '/home/nano/Desktop/images/10072025/18/23/image_10072025_18_23_54_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/24/image_10072025_18_24_54_10660.jpg
/home/nano/Desktop/images/10072025/18/24/image_10072025_18_24_43_9633.jpg
/home/nano/Desktop/images/10072025/18/24/image_10072025_18_24_24_10642.jpg
/home/nano/Desktop/images/10072025/18/24/image_10072025_18_24_13_9657.jpg
/home/nano/Desktop/images/10072025/18/23/image_10072025_18_24_04_9655.jpg
/home/nano/Desktop/images/10072025/18/23/image_10072025_18_23_54_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887594","1371887597","1371887600","1371887599","1371887602","1371887595"],"photo_ids_order":["1371887594","1371887595","1371887597","1371887599","1371887600","1371887602"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03f88e601f029969c7d5ae5e800caaa2.jpg","text":"TemporaryFile(/tmp/multipartBody3343089605265072455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321305924,"filename":"image_10072025_18_24_54_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51adab1886c12a5248aa33affad48f5d.jpg","text":"TemporaryFile(/tmp/multipartBody1769169912626372355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321305924,"filename":"image_10072025_18_24_24_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/484f4868f5c81d7783e0b906e5a954d9.jpg","text":"TemporaryFile(/tmp/multipartBody3143062111898105508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321305924,"filename":"image_10072025_18_24_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09bbb3fc35cb589eceddde84e8efc337.jpg","text":"TemporaryFile(/tmp/multipartBody8237698755677711774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321305924,"filename":"image_10072025_18_24_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/387ca2bca51a634de1c68cdb09ab37d2.jpg","text":"TemporaryFile(/tmp/multipartBody2689466236178044286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321305924,"filename":"image_10072025_18_23_54_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/201ec6137f4630bb843105add15e3b33.jpg","text":"TemporaryFile(/tmp/multipartBody186238671247051022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321305924,"filename":"image_10072025_18_24_43_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887597","file1":"1371887595","file0":"1371887594","file4":"1371887600","file5":"1371887602","file3":"1371887599"},"map_files_photo_id_array":[{"photo_id":"1371887602","filename":"file5"},{"photo_id":"1371887597","filename":"file2"},{"photo_id":"1371887600","filename":"file4"},{"photo_id":"1371887595","filename":"file1"},{"photo_id":"1371887594","filename":"file0"},{"photo_id":"1371887599","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371887594":["hashtag1","hashtag2"]},{"1371887597":["hashtag1","hashtag2"]},{"1371887600":["hashtag1","hashtag2"]},{"1371887599":["hashtag1","hashtag2"]},{"1371887602":["hashtag1","hashtag2"]},{"1371887595":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371887594, 1371887597, 1371887600, 1371887599, 1371887602, 1371887595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9088671207428 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:54:47.207014
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/54/image_12072025_13_54_14_10678.jpg', 2), ('/home/nano/Desktop/images/12072025/13/53/image_12072025_13_53_33_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/54/image_12072025_13_54_14_10678.jpg', '/home/nano/Desktop/images/12072025/13/53/image_12072025_13_53_33_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/54/image_12072025_13_54_14_10678.jpg
/home/nano/Desktop/images/12072025/13/53/image_12072025_13_53_33_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887607","1371887605"],"photo_ids_order":["1371887605","1371887607"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e48042469074a4debfd219639493f8cb.jpg","text":"TemporaryFile(/tmp/multipartBody6771682542464601188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321348022,"filename":"image_12072025_13_53_33_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0821149d8e2753be39cf9bb7debb4ef0.jpg","text":"TemporaryFile(/tmp/multipartBody1557153015002907456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321348022,"filename":"image_12072025_13_54_14_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371887607","file0":"1371887605"},"map_files_photo_id_array":[{"photo_id":"1371887607","filename":"file1"},{"photo_id":"1371887605","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887607":["hashtag1","hashtag2"]},{"1371887605":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887607, 1371887605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.804625272750854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:55:17.357839
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/55/image_12072025_13_55_44_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/13/54/image_12072025_13_54_24_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/55/image_12072025_13_55_44_10659.jpg', '/home/nano/Desktop/images/12072025/13/54/image_12072025_13_54_24_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/55/image_12072025_13_55_44_10659.jpg
/home/nano/Desktop/images/12072025/13/54/image_12072025_13_54_24_9649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887616","1371887614"],"photo_ids_order":["1371887614","1371887616"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b761e94ca15a2991255c8dbf8d865395.jpg","text":"TemporaryFile(/tmp/multipartBody6207660336004124747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321378535,"filename":"image_12072025_13_54_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/123bd4e1a4983648a22b9187baa00d20.jpg","text":"TemporaryFile(/tmp/multipartBody657010866595850785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321378535,"filename":"image_12072025_13_55_44_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371887616","file0":"1371887614"},"map_files_photo_id_array":[{"photo_id":"1371887616","filename":"file1"},{"photo_id":"1371887614","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887616":["hashtag1","hashtag2"]},{"1371887614":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887616, 1371887614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.60833740234375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:55:47.297677
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/23/image_10072025_18_23_43_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/22/image_10072025_18_22_23_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/22/image_10072025_18_22_14_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/18/21/image_10072025_18_22_04_10642.jpg', 2), ('/home/nano/Desktop/images/10072025/18/21/image_10072025_18_21_44_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/18/20/image_10072025_18_20_24_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/23/image_10072025_18_23_43_9632.jpg', '/home/nano/Desktop/images/10072025/18/22/image_10072025_18_22_23_9631.jpg', '/home/nano/Desktop/images/10072025/18/22/image_10072025_18_22_14_9656.jpg', '/home/nano/Desktop/images/10072025/18/21/image_10072025_18_22_04_10642.jpg', '/home/nano/Desktop/images/10072025/18/21/image_10072025_18_21_44_9639.jpg', '/home/nano/Desktop/images/10072025/18/20/image_10072025_18_20_24_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/23/image_10072025_18_23_43_9632.jpg
/home/nano/Desktop/images/10072025/18/22/image_10072025_18_22_23_9631.jpg
/home/nano/Desktop/images/10072025/18/22/image_10072025_18_22_14_9656.jpg
/home/nano/Desktop/images/10072025/18/21/image_10072025_18_22_04_10642.jpg
/home/nano/Desktop/images/10072025/18/21/image_10072025_18_21_44_9639.jpg
/home/nano/Desktop/images/10072025/18/20/image_10072025_18_20_24_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887634","1371887622","1371887630","1371887624","1371887633","1371887627"],"photo_ids_order":["1371887622","1371887624","1371887627","1371887630","1371887633","1371887634"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21c912ea07fec44c57cbc80ac4978e6b.jpg","text":"TemporaryFile(/tmp/multipartBody6866823718932997712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321410621,"filename":"image_10072025_18_20_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e61fa78a81da2033d500eebc633b3570.jpg","text":"TemporaryFile(/tmp/multipartBody8147248920535780857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321410621,"filename":"image_10072025_18_23_43_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44232df8ab2a6b3ddc1069cd1af4b386.jpg","text":"TemporaryFile(/tmp/multipartBody5562326969128016660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321410621,"filename":"image_10072025_18_22_04_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4253cd7b82dbfb4a15bf802410cbf1fa.jpg","text":"TemporaryFile(/tmp/multipartBody7893866943791610130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321410621,"filename":"image_10072025_18_22_23_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07ef3e5c80b0d1e4ebb450f0819ca3d8.jpg","text":"TemporaryFile(/tmp/multipartBody3634908758693436609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321410621,"filename":"image_10072025_18_21_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9495ef6c67b34cb5f805795dd5f46000.jpg","text":"TemporaryFile(/tmp/multipartBody3064958015860003217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321410621,"filename":"image_10072025_18_22_14_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887627","file1":"1371887624","file0":"1371887622","file4":"1371887633","file5":"1371887634","file3":"1371887630"},"map_files_photo_id_array":[{"photo_id":"1371887634","filename":"file5"},{"photo_id":"1371887627","filename":"file2"},{"photo_id":"1371887633","filename":"file4"},{"photo_id":"1371887624","filename":"file1"},{"photo_id":"1371887622","filename":"file0"},{"photo_id":"1371887630","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371887634":["hashtag1","hashtag2"]},{"1371887622":["hashtag1","hashtag2"]},{"1371887630":["hashtag1","hashtag2"]},{"1371887624":["hashtag1","hashtag2"]},{"1371887633":["hashtag1","hashtag2"]},{"1371887627":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371887634, 1371887622, 1371887630, 1371887624, 1371887633, 1371887627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11802697181702 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:56:32.405757
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_44_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_24_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_14_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/13/55/image_12072025_13_56_04_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/13/55/image_12072025_13_55_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_44_9641.jpg', '/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_34_10648.jpg', '/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_24_9644.jpg', '/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_14_9670.jpg', '/home/nano/Desktop/images/12072025/13/55/image_12072025_13_56_04_10670.jpg', '/home/nano/Desktop/images/12072025/13/55/image_12072025_13_55_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_44_9641.jpg
/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_34_10648.jpg
/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_24_9644.jpg
/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_14_9670.jpg
/home/nano/Desktop/images/12072025/13/55/image_12072025_13_56_04_10670.jpg
/home/nano/Desktop/images/12072025/13/55/image_12072025_13_55_54_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887655","1371887640","1371887637","1371887641","1371887638","1371887682"],"photo_ids_order":["1371887637","1371887638","1371887640","1371887641","1371887655","1371887682"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a55d76e1e5fb8c334699780f35dbd4f.jpg","text":"TemporaryFile(/tmp/multipartBody2012217286143105206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321454127,"filename":"image_12072025_13_56_04_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8decc80a4a6039acd34df7f3e47b652e.jpg","text":"TemporaryFile(/tmp/multipartBody2966015253761863412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321454127,"filename":"image_12072025_13_56_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d559a962c10dcf065edc21602c6055bc.jpg","text":"TemporaryFile(/tmp/multipartBody6283183405551894011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321454127,"filename":"image_12072025_13_56_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed60184d192158d7a18cd6b8612e4018.jpg","text":"TemporaryFile(/tmp/multipartBody6690865072161384068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321454127,"filename":"image_12072025_13_56_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13d64c0ed0089197c33c9f1718c4fad1.jpg","text":"TemporaryFile(/tmp/multipartBody7432994815649733858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321454127,"filename":"image_12072025_13_56_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/733e458c75a4eb7c3f93403c5a74695c.jpg","text":"TemporaryFile(/tmp/multipartBody766714426563773665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321454127,"filename":"image_12072025_13_55_54_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887640","file1":"1371887638","file0":"1371887637","file4":"1371887655","file5":"1371887682","file3":"1371887641"},"map_files_photo_id_array":[{"photo_id":"1371887682","filename":"file5"},{"photo_id":"1371887640","filename":"file2"},{"photo_id":"1371887655","filename":"file4"},{"photo_id":"1371887638","filename":"file1"},{"photo_id":"1371887637","filename":"file0"},{"photo_id":"1371887641","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887655":["hashtag1","hashtag2"]},{"1371887640":["hashtag1","hashtag2"]},{"1371887637":["hashtag1","hashtag2"]},{"1371887641":["hashtag1","hashtag2"]},{"1371887638":["hashtag1","hashtag2"]},{"1371887682":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887655, 1371887640, 1371887637, 1371887641, 1371887638, 1371887682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99909448623657 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:57:17.506843
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/57/image_12072025_13_57_24_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/13/57/image_12072025_13_57_14_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/13/56/image_12072025_13_57_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_54_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/57/image_12072025_13_57_24_9648.jpg', '/home/nano/Desktop/images/12072025/13/57/image_12072025_13_57_14_9662.jpg', '/home/nano/Desktop/images/12072025/13/56/image_12072025_13_57_04_10661.jpg', '/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_54_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/57/image_12072025_13_57_24_9648.jpg
/home/nano/Desktop/images/12072025/13/57/image_12072025_13_57_14_9662.jpg
/home/nano/Desktop/images/12072025/13/56/image_12072025_13_57_04_10661.jpg
/home/nano/Desktop/images/12072025/13/56/image_12072025_13_56_54_9652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371887897","1371887873","1371887819","1371887845"],"photo_ids_order":["1371887819","1371887845","1371887873","1371887897"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dec493f10ccd142084b3ca1ae5c12f3d.jpg","text":"TemporaryFile(/tmp/multipartBody5940525018416050034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321498299,"filename":"image_12072025_13_56_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17609b007f023ed9f8a32bea05f897cf.jpg","text":"TemporaryFile(/tmp/multipartBody16249836330234428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321498299,"filename":"image_12072025_13_57_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48b4aac038c93ea2ae3695dcd2b36718.jpg","text":"TemporaryFile(/tmp/multipartBody8035531380164584850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321498299,"filename":"image_12072025_13_57_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/acc9a1c04e5eaea475b3fd3024c426fa.jpg","text":"TemporaryFile(/tmp/multipartBody243495172208995388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321498299,"filename":"image_12072025_13_57_14_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371887873","file1":"1371887845","file0":"1371887819","file3":"1371887897"},"map_files_photo_id_array":[{"photo_id":"1371887873","filename":"file2"},{"photo_id":"1371887845","filename":"file1"},{"photo_id":"1371887819","filename":"file0"},{"photo_id":"1371887897","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371887897":["hashtag1","hashtag2"]},{"1371887873":["hashtag1","hashtag2"]},{"1371887819":["hashtag1","hashtag2"]},{"1371887845":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371887897, 1371887873, 1371887819, 1371887845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.75815463066101 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:57:47.547660
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/19/image_10072025_18_19_54_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/18/19/image_10072025_18_19_24_10642.jpg', 2), ('/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_54_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_43_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_34_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_13_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/19/image_10072025_18_19_54_9634.jpg', '/home/nano/Desktop/images/10072025/18/19/image_10072025_18_19_24_10642.jpg', '/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_54_10639.jpg', '/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_43_9631.jpg', '/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_34_9631.jpg', '/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_13_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/19/image_10072025_18_19_54_9634.jpg
/home/nano/Desktop/images/10072025/18/19/image_10072025_18_19_24_10642.jpg
/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_54_10639.jpg
/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_43_9631.jpg
/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_34_9631.jpg
/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_13_9654.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:58:03.020997
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/19/image_10072025_18_19_54_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/18/19/image_10072025_18_19_24_10642.jpg', 2), ('/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_54_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_43_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_34_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_13_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/19/image_10072025_18_19_54_9634.jpg', '/home/nano/Desktop/images/10072025/18/19/image_10072025_18_19_24_10642.jpg', '/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_54_10639.jpg', '/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_43_9631.jpg', '/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_34_9631.jpg', '/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_13_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/19/image_10072025_18_19_54_9634.jpg
/home/nano/Desktop/images/10072025/18/19/image_10072025_18_19_24_10642.jpg
/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_54_10639.jpg
/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_43_9631.jpg
/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_34_9631.jpg
/home/nano/Desktop/images/10072025/18/18/image_10072025_18_18_13_9654.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371888126","1371888551","1371888425","1371888308","1371888669","1371888189"],"photo_ids_order":["1371888126","1371888189","1371888308","1371888425","1371888551","1371888669"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a83ec00c840bf319aa7d6bb38a33488b.jpg","text":"TemporaryFile(/tmp/multipartBody5323885592462844703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321545848,"filename":"image_10072025_18_19_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4acd2b6986e68d7d3cd24c0f9a54e20.jpg","text":"TemporaryFile(/tmp/multipartBody3155231173545796451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321545848,"filename":"image_10072025_18_18_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e9f7a33fda6eb9f0356d6f98dfd5795.jpg","text":"TemporaryFile(/tmp/multipartBody1030473600756973153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321545848,"filename":"image_10072025_18_18_43_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf93fa4c43f6329b6ab90a5b15d62720.jpg","text":"TemporaryFile(/tmp/multipartBody1448106714118377752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321545848,"filename":"image_10072025_18_18_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97ccc2f148c048f34236ed305eda6bae.jpg","text":"TemporaryFile(/tmp/multipartBody8842485488715071211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321545848,"filename":"image_10072025_18_18_13_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/58a8db08244ee0cca6c85be731fcd1e6.jpg","text":"TemporaryFile(/tmp/multipartBody6158318322166861076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321545848,"filename":"image_10072025_18_19_24_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371888308","file1":"1371888189","file0":"1371888126","file4":"1371888551","file5":"1371888669","file3":"1371888425"},"map_files_photo_id_array":[{"photo_id":"1371888669","filename":"file5"},{"photo_id":"1371888308","filename":"file2"},{"photo_id":"1371888551","filename":"file4"},{"photo_id":"1371888189","filename":"file1"},{"photo_id":"1371888126","filename":"file0"},{"photo_id":"1371888425","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371888126":["hashtag1","hashtag2"]},{"1371888551":["hashtag1","hashtag2"]},{"1371888425":["hashtag1","hashtag2"]},{"1371888308":["hashtag1","hashtag2"]},{"1371888669":["hashtag1","hashtag2"]},{"1371888189":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371888126, 1371888551, 1371888425, 1371888308, 1371888669, 1371888189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.405250549316406 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 13:59:02.889535
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/17/image_10072025_18_17_13_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/18/16/image_10072025_18_17_04_10644.jpg', 2), ('/home/nano/Desktop/images/10072025/18/16/image_10072025_18_16_23_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/18/16/image_10072025_18_16_13_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/18/15/image_10072025_18_15_34_10643.jpg', 2), ('/home/nano/Desktop/images/10072025/18/15/image_10072025_18_15_23_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/17/image_10072025_18_17_13_9651.jpg', '/home/nano/Desktop/images/10072025/18/16/image_10072025_18_17_04_10644.jpg', '/home/nano/Desktop/images/10072025/18/16/image_10072025_18_16_23_9639.jpg', '/home/nano/Desktop/images/10072025/18/16/image_10072025_18_16_13_9651.jpg', '/home/nano/Desktop/images/10072025/18/15/image_10072025_18_15_34_10643.jpg', '/home/nano/Desktop/images/10072025/18/15/image_10072025_18_15_23_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/17/image_10072025_18_17_13_9651.jpg
/home/nano/Desktop/images/10072025/18/16/image_10072025_18_17_04_10644.jpg
/home/nano/Desktop/images/10072025/18/16/image_10072025_18_16_23_9639.jpg
/home/nano/Desktop/images/10072025/18/16/image_10072025_18_16_13_9651.jpg
/home/nano/Desktop/images/10072025/18/15/image_10072025_18_15_34_10643.jpg
/home/nano/Desktop/images/10072025/18/15/image_10072025_18_15_23_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371889448","1371889349","1371889301","1371889732","1371889659","1371889565"],"photo_ids_order":["1371889301","1371889349","1371889448","1371889565","1371889659","1371889732"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/652b743bbde7d9b73691a1434cb8aee3.jpg","text":"TemporaryFile(/tmp/multipartBody2098388254221313152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321606282,"filename":"image_10072025_18_16_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21e23bd43bdfd77c1d0399dae9dd045f.jpg","text":"TemporaryFile(/tmp/multipartBody863289580017768252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321606282,"filename":"image_10072025_18_17_04_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8fc9d1f0fceb3b92a15ebf513bc18f9.jpg","text":"TemporaryFile(/tmp/multipartBody2917549147476066913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321606282,"filename":"image_10072025_18_17_13_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee3817250ac8d97a21f8ffc617320d69.jpg","text":"TemporaryFile(/tmp/multipartBody4994983885626195191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321606282,"filename":"image_10072025_18_15_23_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31f4f9490939600c428f19e154c0289f.jpg","text":"TemporaryFile(/tmp/multipartBody4803004786809062341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321606282,"filename":"image_10072025_18_15_34_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b41c17691eb831a05e488964dc88d33.jpg","text":"TemporaryFile(/tmp/multipartBody5728845489740519715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321606282,"filename":"image_10072025_18_16_13_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371889448","file1":"1371889349","file0":"1371889301","file4":"1371889659","file5":"1371889732","file3":"1371889565"},"map_files_photo_id_array":[{"photo_id":"1371889732","filename":"file5"},{"photo_id":"1371889448","filename":"file2"},{"photo_id":"1371889659","filename":"file4"},{"photo_id":"1371889349","filename":"file1"},{"photo_id":"1371889301","filename":"file0"},{"photo_id":"1371889565","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371889448":["hashtag1","hashtag2"]},{"1371889349":["hashtag1","hashtag2"]},{"1371889301":["hashtag1","hashtag2"]},{"1371889732":["hashtag1","hashtag2"]},{"1371889659":["hashtag1","hashtag2"]},{"1371889565":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371889448, 1371889349, 1371889301, 1371889732, 1371889659, 1371889565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.6546950340271 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:00:16.932298
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/00/image_12072025_14_00_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/00/image_12072025_14_00_23_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/13/59/image_12072025_13_59_44_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/13/59/image_12072025_13_59_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/13/59/image_12072025_13_59_14_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/13/58/image_12072025_13_59_04_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/00/image_12072025_14_00_34_10648.jpg', '/home/nano/Desktop/images/12072025/14/00/image_12072025_14_00_23_9643.jpg', '/home/nano/Desktop/images/12072025/13/59/image_12072025_13_59_44_9645.jpg', '/home/nano/Desktop/images/12072025/13/59/image_12072025_13_59_34_10650.jpg', '/home/nano/Desktop/images/12072025/13/59/image_12072025_13_59_14_9649.jpg', '/home/nano/Desktop/images/12072025/13/58/image_12072025_13_59_04_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/00/image_12072025_14_00_34_10648.jpg
/home/nano/Desktop/images/12072025/14/00/image_12072025_14_00_23_9643.jpg
/home/nano/Desktop/images/12072025/13/59/image_12072025_13_59_44_9645.jpg
/home/nano/Desktop/images/12072025/13/59/image_12072025_13_59_34_10650.jpg
/home/nano/Desktop/images/12072025/13/59/image_12072025_13_59_14_9649.jpg
/home/nano/Desktop/images/12072025/13/58/image_12072025_13_59_04_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371889844","1371889792","1371889774","1371889819","1371889776","1371889778"],"photo_ids_order":["1371889774","1371889776","1371889778","1371889792","1371889819","1371889844"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11957c2c75a32a32ed2410d731f8e04f.jpg","text":"TemporaryFile(/tmp/multipartBody3938560974235152832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321678766,"filename":"image_12072025_13_59_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a99c9855042aa4346a8f3ace50a8b3b.jpg","text":"TemporaryFile(/tmp/multipartBody5195895048062779358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321678766,"filename":"image_12072025_13_59_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a59dfd102b3183f4ebe198357b64848.jpg","text":"TemporaryFile(/tmp/multipartBody5007618064862873092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321678766,"filename":"image_12072025_14_00_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/755f6dc754fcb3bca5b55e6d20fa71a8.jpg","text":"TemporaryFile(/tmp/multipartBody443237799695613706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321678766,"filename":"image_12072025_13_59_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/074bc48c585045b68716bd42792fb4ee.jpg","text":"TemporaryFile(/tmp/multipartBody5099657508648888930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321678766,"filename":"image_12072025_14_00_23_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e25bce9f4b1b8c6260634a89929781aa.jpg","text":"TemporaryFile(/tmp/multipartBody4274923393194107873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321678766,"filename":"image_12072025_13_59_44_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371889778","file1":"1371889776","file0":"1371889774","file4":"1371889819","file5":"1371889844","file3":"1371889792"},"map_files_photo_id_array":[{"photo_id":"1371889844","filename":"file5"},{"photo_id":"1371889778","filename":"file2"},{"photo_id":"1371889819","filename":"file4"},{"photo_id":"1371889776","filename":"file1"},{"photo_id":"1371889774","filename":"file0"},{"photo_id":"1371889792","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371889844":["hashtag1","hashtag2"]},{"1371889792":["hashtag1","hashtag2"]},{"1371889774":["hashtag1","hashtag2"]},{"1371889819":["hashtag1","hashtag2"]},{"1371889776":["hashtag1","hashtag2"]},{"1371889778":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371889844, 1371889792, 1371889774, 1371889819, 1371889776, 1371889778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1842041015625 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:01:02.791489
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_53_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_44_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_34_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_23_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_14_9677.jpg', 2), ('/home/nano/Desktop/images/12072025/13/57/image_12072025_13_57_34_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_53_9645.jpg', '/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_44_9646.jpg', '/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_34_10657.jpg', '/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_23_9671.jpg', '/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_14_9677.jpg', '/home/nano/Desktop/images/12072025/13/57/image_12072025_13_57_34_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_53_9645.jpg
/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_44_9646.jpg
/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_34_10657.jpg
/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_23_9671.jpg
/home/nano/Desktop/images/12072025/13/58/image_12072025_13_58_14_9677.jpg
/home/nano/Desktop/images/12072025/13/57/image_12072025_13_57_34_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371889975","1371889983","1371890017","1371890005","1371889982","1371890019"],"photo_ids_order":["1371889975","1371889982","1371889983","1371890005","1371890017","1371890019"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed6ef54fa615375ecdf111b0288fdd4a.jpg","text":"TemporaryFile(/tmp/multipartBody3527242967748942390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321724285,"filename":"image_12072025_13_58_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17e83d8f29c73eeda6b9692f41fb1d6d.jpg","text":"TemporaryFile(/tmp/multipartBody4572912515395448639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321724285,"filename":"image_12072025_13_58_34_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aaebae45ebf4450fd1bfac4b33e2f1b2.jpg","text":"TemporaryFile(/tmp/multipartBody6555657980978134620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321724285,"filename":"image_12072025_13_58_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f66c15a0f2456856db972d2f58645338.jpg","text":"TemporaryFile(/tmp/multipartBody6086471312780632782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321724285,"filename":"image_12072025_13_58_23_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5901cca7a50860c11b41bf18ff668fd4.jpg","text":"TemporaryFile(/tmp/multipartBody1518887065454588845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321724285,"filename":"image_12072025_13_58_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a852c12e1bccdb9684956652e9bcca68.jpg","text":"TemporaryFile(/tmp/multipartBody5724168964178202928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321724285,"filename":"image_12072025_13_57_34_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371889983","file1":"1371889982","file0":"1371889975","file4":"1371890017","file5":"1371890019","file3":"1371890005"},"map_files_photo_id_array":[{"photo_id":"1371890019","filename":"file5"},{"photo_id":"1371889983","filename":"file2"},{"photo_id":"1371890017","filename":"file4"},{"photo_id":"1371889982","filename":"file1"},{"photo_id":"1371889975","filename":"file0"},{"photo_id":"1371890005","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371889975":["hashtag1","hashtag2"]},{"1371889983":["hashtag1","hashtag2"]},{"1371890017":["hashtag1","hashtag2"]},{"1371890005":["hashtag1","hashtag2"]},{"1371889982":["hashtag1","hashtag2"]},{"1371890019":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371889975, 1371889983, 1371890017, 1371890005, 1371889982, 1371890019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.189438343048096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:01:47.049814
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/01/image_12072025_14_01_23_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/14/01/image_12072025_14_01_14_9702.jpg', 2), ('/home/nano/Desktop/images/12072025/14/00/image_12072025_14_00_54_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/01/image_12072025_14_01_23_9662.jpg', '/home/nano/Desktop/images/12072025/14/01/image_12072025_14_01_14_9702.jpg', '/home/nano/Desktop/images/12072025/14/00/image_12072025_14_00_54_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/01/image_12072025_14_01_23_9662.jpg
/home/nano/Desktop/images/12072025/14/01/image_12072025_14_01_14_9702.jpg
/home/nano/Desktop/images/12072025/14/00/image_12072025_14_00_54_10661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890066","1371890063","1371890065"],"photo_ids_order":["1371890063","1371890065","1371890066"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4912f360e2e780b3a38d532d2dd781fe.jpg","text":"TemporaryFile(/tmp/multipartBody7157693365503438862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321768383,"filename":"image_12072025_14_00_54_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5e0a37ce0494aca9f8c3b24b0580150.jpg","text":"TemporaryFile(/tmp/multipartBody808683224498824864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321768383,"filename":"image_12072025_14_01_23_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2371e31af5ca659292fd448c477d7b9.jpg","text":"TemporaryFile(/tmp/multipartBody4766057019294013221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321768383,"filename":"image_12072025_14_01_14_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890066","file1":"1371890065","file0":"1371890063"},"map_files_photo_id_array":[{"photo_id":"1371890066","filename":"file2"},{"photo_id":"1371890065","filename":"file1"},{"photo_id":"1371890063","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890066":["hashtag1","hashtag2"]},{"1371890063":["hashtag1","hashtag2"]},{"1371890065":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890066, 1371890063, 1371890065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.315214157104492 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:02:17.157409
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/02/image_12072025_14_02_44_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/14/02/image_12072025_14_02_14_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/14/01/image_12072025_14_02_04_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/14/01/image_12072025_14_01_54_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/02/image_12072025_14_02_44_9663.jpg', '/home/nano/Desktop/images/12072025/14/02/image_12072025_14_02_14_9659.jpg', '/home/nano/Desktop/images/12072025/14/01/image_12072025_14_02_04_9647.jpg', '/home/nano/Desktop/images/12072025/14/01/image_12072025_14_01_54_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/02/image_12072025_14_02_44_9663.jpg
/home/nano/Desktop/images/12072025/14/02/image_12072025_14_02_14_9659.jpg
/home/nano/Desktop/images/12072025/14/01/image_12072025_14_02_04_9647.jpg
/home/nano/Desktop/images/12072025/14/01/image_12072025_14_01_54_10659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890072","1371890075","1371890077","1371890073"],"photo_ids_order":["1371890072","1371890073","1371890075","1371890077"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98c5ce6143a44818a616d5b574f9a562.jpg","text":"TemporaryFile(/tmp/multipartBody6544093770932893550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321798586,"filename":"image_12072025_14_02_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/579c906e5b64194616093d406ad276e8.jpg","text":"TemporaryFile(/tmp/multipartBody7068418026921555963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321798586,"filename":"image_12072025_14_02_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79ea15fc64ded2360de3245edc7ea473.jpg","text":"TemporaryFile(/tmp/multipartBody624967854053477902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321798586,"filename":"image_12072025_14_01_54_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d8e0dcca1daf81ee162346085f5c08c.jpg","text":"TemporaryFile(/tmp/multipartBody9065349700473164649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321798586,"filename":"image_12072025_14_02_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890075","file1":"1371890073","file0":"1371890072","file3":"1371890077"},"map_files_photo_id_array":[{"photo_id":"1371890075","filename":"file2"},{"photo_id":"1371890073","filename":"file1"},{"photo_id":"1371890072","filename":"file0"},{"photo_id":"1371890077","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890072":["hashtag1","hashtag2"]},{"1371890075":["hashtag1","hashtag2"]},{"1371890077":["hashtag1","hashtag2"]},{"1371890073":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890072, 1371890075, 1371890077, 1371890073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.894692182540894 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:02:47.161467
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/14/image_10072025_18_14_23_9672.jpg', 2), ('/home/nano/Desktop/images/10072025/18/14/image_10072025_18_14_14_10671.jpg', 2), ('/home/nano/Desktop/images/10072025/18/13/image_10072025_18_14_03_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/18/13/image_10072025_18_13_53_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/13/image_10072025_18_13_44_10648.jpg', 2), ('/home/nano/Desktop/images/10072025/18/12/image_10072025_18_13_03_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/14/image_10072025_18_14_23_9672.jpg', '/home/nano/Desktop/images/10072025/18/14/image_10072025_18_14_14_10671.jpg', '/home/nano/Desktop/images/10072025/18/13/image_10072025_18_14_03_9636.jpg', '/home/nano/Desktop/images/10072025/18/13/image_10072025_18_13_53_9632.jpg', '/home/nano/Desktop/images/10072025/18/13/image_10072025_18_13_44_10648.jpg', '/home/nano/Desktop/images/10072025/18/12/image_10072025_18_13_03_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/14/image_10072025_18_14_23_9672.jpg
/home/nano/Desktop/images/10072025/18/14/image_10072025_18_14_14_10671.jpg
/home/nano/Desktop/images/10072025/18/13/image_10072025_18_14_03_9636.jpg
/home/nano/Desktop/images/10072025/18/13/image_10072025_18_13_53_9632.jpg
/home/nano/Desktop/images/10072025/18/13/image_10072025_18_13_44_10648.jpg
/home/nano/Desktop/images/10072025/18/12/image_10072025_18_13_03_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890084","1371890087","1371890081","1371890083","1371890086","1371890085"],"photo_ids_order":["1371890081","1371890083","1371890084","1371890085","1371890086","1371890087"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5e19d61df0747f3af6b211e123ab3a6.jpg","text":"TemporaryFile(/tmp/multipartBody6067084748331786357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321830028,"filename":"image_10072025_18_14_03_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a1cf38723d826a5f76fb7f3d398170b.jpg","text":"TemporaryFile(/tmp/multipartBody7139978678210711556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321830028,"filename":"image_10072025_18_13_03_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6fd975860c328883139654cd80c28baa.jpg","text":"TemporaryFile(/tmp/multipartBody9103467796896528217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321830028,"filename":"image_10072025_18_14_23_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7c14568f4a95c40381443bd06bceb31.jpg","text":"TemporaryFile(/tmp/multipartBody8321748678735449584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321830028,"filename":"image_10072025_18_14_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/180db4b18a63cb1990071c1477804058.jpg","text":"TemporaryFile(/tmp/multipartBody4860841732860331455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321830028,"filename":"image_10072025_18_13_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b3e81136e9c30bbb145bf097f2bf118.jpg","text":"TemporaryFile(/tmp/multipartBody5289887925254283751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321830028,"filename":"image_10072025_18_13_53_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890084","file1":"1371890083","file0":"1371890081","file4":"1371890086","file5":"1371890087","file3":"1371890085"},"map_files_photo_id_array":[{"photo_id":"1371890087","filename":"file5"},{"photo_id":"1371890084","filename":"file2"},{"photo_id":"1371890086","filename":"file4"},{"photo_id":"1371890083","filename":"file1"},{"photo_id":"1371890081","filename":"file0"},{"photo_id":"1371890085","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890084":["hashtag1","hashtag2"]},{"1371890087":["hashtag1","hashtag2"]},{"1371890081":["hashtag1","hashtag2"]},{"1371890083":["hashtag1","hashtag2"]},{"1371890086":["hashtag1","hashtag2"]},{"1371890085":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890084, 1371890087, 1371890081, 1371890083, 1371890086, 1371890085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08697986602783 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:03:32.275220
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/03/image_12072025_14_03_34_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/14/03/image_12072025_14_03_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/14/03/image_12072025_14_03_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/14/02/image_12072025_14_03_04_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/14/02/image_12072025_14_02_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/03/image_12072025_14_03_34_9661.jpg', '/home/nano/Desktop/images/12072025/14/03/image_12072025_14_03_24_10649.jpg', '/home/nano/Desktop/images/12072025/14/03/image_12072025_14_03_13_9657.jpg', '/home/nano/Desktop/images/12072025/14/02/image_12072025_14_03_04_9657.jpg', '/home/nano/Desktop/images/12072025/14/02/image_12072025_14_02_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/03/image_12072025_14_03_34_9661.jpg
/home/nano/Desktop/images/12072025/14/03/image_12072025_14_03_24_10649.jpg
/home/nano/Desktop/images/12072025/14/03/image_12072025_14_03_13_9657.jpg
/home/nano/Desktop/images/12072025/14/02/image_12072025_14_03_04_9657.jpg
/home/nano/Desktop/images/12072025/14/02/image_12072025_14_02_54_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890109","1371890117","1371890095","1371890101","1371890130"],"photo_ids_order":["1371890095","1371890101","1371890109","1371890117","1371890130"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac972ace1279dd04c873363b84af7470.jpg","text":"TemporaryFile(/tmp/multipartBody4596648866316796828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321873829,"filename":"image_12072025_14_03_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e4031d9794237816bcf77ae3cea107a.jpg","text":"TemporaryFile(/tmp/multipartBody7112671022693921355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321873829,"filename":"image_12072025_14_03_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/363a590bc9581daa68cdeb651a6bf2bb.jpg","text":"TemporaryFile(/tmp/multipartBody6082812665130255069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321873829,"filename":"image_12072025_14_03_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20b5acf13126926da5e29d5da059ecd5.jpg","text":"TemporaryFile(/tmp/multipartBody3501908351107805573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321873829,"filename":"image_12072025_14_03_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1792dac95fcdb8e80759fc108194cfa8.jpg","text":"TemporaryFile(/tmp/multipartBody1814752694303264975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321873829,"filename":"image_12072025_14_02_54_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890109","file1":"1371890101","file0":"1371890095","file4":"1371890130","file3":"1371890117"},"map_files_photo_id_array":[{"photo_id":"1371890109","filename":"file2"},{"photo_id":"1371890130","filename":"file4"},{"photo_id":"1371890101","filename":"file1"},{"photo_id":"1371890095","filename":"file0"},{"photo_id":"1371890117","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890109":["hashtag1","hashtag2"]},{"1371890117":["hashtag1","hashtag2"]},{"1371890095":["hashtag1","hashtag2"]},{"1371890101":["hashtag1","hashtag2"]},{"1371890130":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890109, 1371890117, 1371890095, 1371890101, 1371890130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.90114116668701 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:04:17.374502
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/04/image_12072025_14_04_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/14/03/image_12072025_14_04_04_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/14/03/image_12072025_14_03_54_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/04/image_12072025_14_04_13_9656.jpg', '/home/nano/Desktop/images/12072025/14/03/image_12072025_14_04_04_9652.jpg', '/home/nano/Desktop/images/12072025/14/03/image_12072025_14_03_54_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/04/image_12072025_14_04_13_9656.jpg
/home/nano/Desktop/images/12072025/14/03/image_12072025_14_04_04_9652.jpg
/home/nano/Desktop/images/12072025/14/03/image_12072025_14_03_54_10670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890147","1371890144","1371890145"],"photo_ids_order":["1371890144","1371890145","1371890147"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a05e5779a666cd444a38459d1d722081.jpg","text":"TemporaryFile(/tmp/multipartBody6559145323391675269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321918410,"filename":"image_12072025_14_03_54_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d76d4a7d12d1c78e7ee8fe95c46c60a.jpg","text":"TemporaryFile(/tmp/multipartBody1902903368501810552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321918410,"filename":"image_12072025_14_04_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d109d9ed010933b11fb48aba7cec7c8.jpg","text":"TemporaryFile(/tmp/multipartBody132276938754649722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321918410,"filename":"image_12072025_14_04_04_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890147","file1":"1371890145","file0":"1371890144"},"map_files_photo_id_array":[{"photo_id":"1371890147","filename":"file2"},{"photo_id":"1371890145","filename":"file1"},{"photo_id":"1371890144","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890147":["hashtag1","hashtag2"]},{"1371890144":["hashtag1","hashtag2"]},{"1371890145":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890147, 1371890144, 1371890145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.196569681167603 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:04:47.376841
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_54_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_44_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_33_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_24_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_14_10682.jpg', 2), ('/home/nano/Desktop/images/10072025/18/11/image_10072025_18_12_03_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_54_9632.jpg', '/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_44_10640.jpg', '/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_33_9637.jpg', '/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_24_9648.jpg', '/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_14_10682.jpg', '/home/nano/Desktop/images/10072025/18/11/image_10072025_18_12_03_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_54_9632.jpg
/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_44_10640.jpg
/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_33_9637.jpg
/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_24_9648.jpg
/home/nano/Desktop/images/10072025/18/12/image_10072025_18_12_14_10682.jpg
/home/nano/Desktop/images/10072025/18/11/image_10072025_18_12_03_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890159","1371890150","1371890152","1371890154","1371890157","1371890151"],"photo_ids_order":["1371890150","1371890151","1371890152","1371890154","1371890157","1371890159"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0aee430cdf45c5be7a1064dcbe12d5f7.jpg","text":"TemporaryFile(/tmp/multipartBody7854443834176359828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321950270,"filename":"image_10072025_18_12_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fddf0321a768e6c68981469d509e18f7.jpg","text":"TemporaryFile(/tmp/multipartBody3197068066107093515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321950270,"filename":"image_10072025_18_12_54_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d95e4c11265830f9bd6e2feb70fd5959.jpg","text":"TemporaryFile(/tmp/multipartBody4977988863421459951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321950270,"filename":"image_10072025_18_12_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b086a345a786c2d61aa1a82e61a227a.jpg","text":"TemporaryFile(/tmp/multipartBody4606021756432295975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321950270,"filename":"image_10072025_18_12_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/736dc571bfeecbb9322206edd2b732dc.jpg","text":"TemporaryFile(/tmp/multipartBody6234987086773105502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321950270,"filename":"image_10072025_18_12_14_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c82f989cbc5fb4b681872c2ba79e31a.jpg","text":"TemporaryFile(/tmp/multipartBody2290654616895789065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321950270,"filename":"image_10072025_18_12_44_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890152","file1":"1371890151","file0":"1371890150","file4":"1371890157","file5":"1371890159","file3":"1371890154"},"map_files_photo_id_array":[{"photo_id":"1371890159","filename":"file5"},{"photo_id":"1371890152","filename":"file2"},{"photo_id":"1371890157","filename":"file4"},{"photo_id":"1371890151","filename":"file1"},{"photo_id":"1371890150","filename":"file0"},{"photo_id":"1371890154","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890159":["hashtag1","hashtag2"]},{"1371890150":["hashtag1","hashtag2"]},{"1371890152":["hashtag1","hashtag2"]},{"1371890154":["hashtag1","hashtag2"]},{"1371890157":["hashtag1","hashtag2"]},{"1371890151":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890159, 1371890150, 1371890152, 1371890154, 1371890157, 1371890151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39198565483093 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:05:32.500547
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_43_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_34_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_24_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_13_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/14/04/image_12072025_14_05_04_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/14/04/image_12072025_14_04_54_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_43_9638.jpg', '/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_34_9648.jpg', '/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_24_10667.jpg', '/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_13_9659.jpg', '/home/nano/Desktop/images/12072025/14/04/image_12072025_14_05_04_9651.jpg', '/home/nano/Desktop/images/12072025/14/04/image_12072025_14_04_54_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_43_9638.jpg
/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_34_9648.jpg
/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_24_10667.jpg
/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_13_9659.jpg
/home/nano/Desktop/images/12072025/14/04/image_12072025_14_05_04_9651.jpg
/home/nano/Desktop/images/12072025/14/04/image_12072025_14_04_54_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890171","1371890168","1371890170","1371890167","1371890172","1371890166"],"photo_ids_order":["1371890166","1371890167","1371890168","1371890170","1371890171","1371890172"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d327bfe58543f1b650f2f76f214fee78.jpg","text":"TemporaryFile(/tmp/multipartBody3079841839014810649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321994034,"filename":"image_12072025_14_05_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59896b68afad5d918f8e1075dceca24e.jpg","text":"TemporaryFile(/tmp/multipartBody8426875442140297260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321994034,"filename":"image_12072025_14_05_24_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09264345aad5e56bb86523e4252b3f25.jpg","text":"TemporaryFile(/tmp/multipartBody7570772852486693176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321994034,"filename":"image_12072025_14_05_13_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9928b25537867e71745ba235b50979e3.jpg","text":"TemporaryFile(/tmp/multipartBody2753519155800587375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321994034,"filename":"image_12072025_14_05_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d25719bed2915f2a93cd56e4339f306.jpg","text":"TemporaryFile(/tmp/multipartBody3491916701136899869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321994034,"filename":"image_12072025_14_04_54_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/058dec8627ebdbf9aaaeaf7c325d30d9.jpg","text":"TemporaryFile(/tmp/multipartBody2634770864469819381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752321994034,"filename":"image_12072025_14_05_43_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890168","file1":"1371890167","file0":"1371890166","file4":"1371890171","file5":"1371890172","file3":"1371890170"},"map_files_photo_id_array":[{"photo_id":"1371890172","filename":"file5"},{"photo_id":"1371890168","filename":"file2"},{"photo_id":"1371890171","filename":"file4"},{"photo_id":"1371890167","filename":"file1"},{"photo_id":"1371890166","filename":"file0"},{"photo_id":"1371890170","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890171":["hashtag1","hashtag2"]},{"1371890168":["hashtag1","hashtag2"]},{"1371890170":["hashtag1","hashtag2"]},{"1371890167":["hashtag1","hashtag2"]},{"1371890172":["hashtag1","hashtag2"]},{"1371890166":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890171, 1371890168, 1371890170, 1371890167, 1371890172, 1371890166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.330976724624634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:06:17.593189
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/06/image_12072025_14_06_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/14/05/image_12072025_14_06_04_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_54_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/06/image_12072025_14_06_24_9637.jpg', '/home/nano/Desktop/images/12072025/14/05/image_12072025_14_06_04_9654.jpg', '/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/06/image_12072025_14_06_24_9637.jpg
/home/nano/Desktop/images/12072025/14/05/image_12072025_14_06_04_9654.jpg
/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_54_10653.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.251873254776001 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:06:32.588621
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/06/image_12072025_14_06_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/14/05/image_12072025_14_06_04_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_54_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/06/image_12072025_14_06_24_9637.jpg', '/home/nano/Desktop/images/12072025/14/05/image_12072025_14_06_04_9654.jpg', '/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/06/image_12072025_14_06_24_9637.jpg
/home/nano/Desktop/images/12072025/14/05/image_12072025_14_06_04_9654.jpg
/home/nano/Desktop/images/12072025/14/05/image_12072025_14_05_54_10653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890180","1371890179","1371890178"],"photo_ids_order":["1371890178","1371890179","1371890180"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e723fad5e71c72e918e50698ebdb2f10.jpg","text":"TemporaryFile(/tmp/multipartBody5930179463723459241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322053585,"filename":"image_12072025_14_05_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4004b6f5f13392ba1b1498ca1c86147d.jpg","text":"TemporaryFile(/tmp/multipartBody5712419182865609292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322053585,"filename":"image_12072025_14_06_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f3c5bdefb917eab11c75f6dacda49d3.jpg","text":"TemporaryFile(/tmp/multipartBody5375383599433080527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322053585,"filename":"image_12072025_14_06_24_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890180","file1":"1371890179","file0":"1371890178"},"map_files_photo_id_array":[{"photo_id":"1371890180","filename":"file2"},{"photo_id":"1371890179","filename":"file1"},{"photo_id":"1371890178","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890180":["hashtag1","hashtag2"]},{"1371890179":["hashtag1","hashtag2"]},{"1371890178":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890180, 1371890179, 1371890178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.47692084312439 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:07:03.289925
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/11/image_10072025_18_11_54_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/18/11/image_10072025_18_11_44_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/18/11/image_10072025_18_11_13_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/18/10/image_10072025_18_11_03_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/18/10/image_10072025_18_10_54_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/18/10/image_10072025_18_10_43_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/11/image_10072025_18_11_54_9634.jpg', '/home/nano/Desktop/images/10072025/18/11/image_10072025_18_11_44_10645.jpg', '/home/nano/Desktop/images/10072025/18/11/image_10072025_18_11_13_9646.jpg', '/home/nano/Desktop/images/10072025/18/10/image_10072025_18_11_03_9635.jpg', '/home/nano/Desktop/images/10072025/18/10/image_10072025_18_10_54_10641.jpg', '/home/nano/Desktop/images/10072025/18/10/image_10072025_18_10_43_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/11/image_10072025_18_11_54_9634.jpg
/home/nano/Desktop/images/10072025/18/11/image_10072025_18_11_44_10645.jpg
/home/nano/Desktop/images/10072025/18/11/image_10072025_18_11_13_9646.jpg
/home/nano/Desktop/images/10072025/18/10/image_10072025_18_11_03_9635.jpg
/home/nano/Desktop/images/10072025/18/10/image_10072025_18_10_54_10641.jpg
/home/nano/Desktop/images/10072025/18/10/image_10072025_18_10_43_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890192","1371890186","1371890188","1371890191","1371890190","1371890193"],"photo_ids_order":["1371890186","1371890188","1371890190","1371890191","1371890192","1371890193"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a7518745d1c5874a6c87e667df7222a.jpg","text":"TemporaryFile(/tmp/multipartBody5838544989065133219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322086342,"filename":"image_10072025_18_10_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ac7abaeedf20ebcc9198630a26e39ff.jpg","text":"TemporaryFile(/tmp/multipartBody747839166458508668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322086342,"filename":"image_10072025_18_11_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56944e446c31d3028d91a61665fd69cd.jpg","text":"TemporaryFile(/tmp/multipartBody7509604128914996705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322086342,"filename":"image_10072025_18_11_44_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9537345deec07b916852222a42772ff4.jpg","text":"TemporaryFile(/tmp/multipartBody1470195199573875324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322086342,"filename":"image_10072025_18_11_03_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7170c86b3274f2d6b528f1432768a0f6.jpg","text":"TemporaryFile(/tmp/multipartBody2619029087881386829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322086342,"filename":"image_10072025_18_11_13_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e52455b410f34f9102db1560259ce351.jpg","text":"TemporaryFile(/tmp/multipartBody4816093941433229456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322086342,"filename":"image_10072025_18_10_43_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890190","file1":"1371890188","file0":"1371890186","file4":"1371890192","file5":"1371890193","file3":"1371890191"},"map_files_photo_id_array":[{"photo_id":"1371890193","filename":"file5"},{"photo_id":"1371890190","filename":"file2"},{"photo_id":"1371890192","filename":"file4"},{"photo_id":"1371890188","filename":"file1"},{"photo_id":"1371890186","filename":"file0"},{"photo_id":"1371890191","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890192":["hashtag1","hashtag2"]},{"1371890186":["hashtag1","hashtag2"]},{"1371890188":["hashtag1","hashtag2"]},{"1371890191":["hashtag1","hashtag2"]},{"1371890190":["hashtag1","hashtag2"]},{"1371890193":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890192, 1371890186, 1371890188, 1371890191, 1371890190, 1371890193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.913737058639526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:07:47.727258
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_34_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_14_10676.jpg', 2), ('/home/nano/Desktop/images/12072025/14/06/image_12072025_14_07_04_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/14/06/image_12072025_14_06_34_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_44_10648.jpg', '/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_34_9648.jpg', '/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_14_10676.jpg', '/home/nano/Desktop/images/12072025/14/06/image_12072025_14_07_04_9663.jpg', '/home/nano/Desktop/images/12072025/14/06/image_12072025_14_06_34_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_44_10648.jpg
/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_34_9648.jpg
/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_14_10676.jpg
/home/nano/Desktop/images/12072025/14/06/image_12072025_14_07_04_9663.jpg
/home/nano/Desktop/images/12072025/14/06/image_12072025_14_06_34_9642.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2777419090270996 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:08:02.327209
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_34_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_14_10676.jpg', 2), ('/home/nano/Desktop/images/12072025/14/06/image_12072025_14_07_04_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/14/06/image_12072025_14_06_34_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_44_10648.jpg', '/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_34_9648.jpg', '/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_14_10676.jpg', '/home/nano/Desktop/images/12072025/14/06/image_12072025_14_07_04_9663.jpg', '/home/nano/Desktop/images/12072025/14/06/image_12072025_14_06_34_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_44_10648.jpg
/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_34_9648.jpg
/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_14_10676.jpg
/home/nano/Desktop/images/12072025/14/06/image_12072025_14_07_04_9663.jpg
/home/nano/Desktop/images/12072025/14/06/image_12072025_14_06_34_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890210","1371890207","1371890209","1371890211","1371890205"],"photo_ids_order":["1371890205","1371890207","1371890209","1371890210","1371890211"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a0557163c52b004ef2cbe08147dae1f.jpg","text":"TemporaryFile(/tmp/multipartBody6618675836709145048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322143891,"filename":"image_12072025_14_07_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be5ecd9e94a3dfd9fecc0801cf749d48.jpg","text":"TemporaryFile(/tmp/multipartBody3018590471770474674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322143891,"filename":"image_12072025_14_07_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6979cbbd5e3a9b96f3f4436aabe699ae.jpg","text":"TemporaryFile(/tmp/multipartBody3361085409548438318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322143891,"filename":"image_12072025_14_07_14_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d6aa87818f95e267a3f9f70f6de72a8.jpg","text":"TemporaryFile(/tmp/multipartBody2367862624637880436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322143891,"filename":"image_12072025_14_06_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66dbd36525bb39298875570faf49e4f3.jpg","text":"TemporaryFile(/tmp/multipartBody8594229839301514399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322143891,"filename":"image_12072025_14_07_44_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890209","file1":"1371890207","file0":"1371890205","file4":"1371890211","file3":"1371890210"},"map_files_photo_id_array":[{"photo_id":"1371890209","filename":"file2"},{"photo_id":"1371890211","filename":"file4"},{"photo_id":"1371890207","filename":"file1"},{"photo_id":"1371890205","filename":"file0"},{"photo_id":"1371890210","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890210":["hashtag1","hashtag2"]},{"1371890207":["hashtag1","hashtag2"]},{"1371890209":["hashtag1","hashtag2"]},{"1371890211":["hashtag1","hashtag2"]},{"1371890205":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890210, 1371890207, 1371890209, 1371890211, 1371890205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.307883977890015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:08:31.832678
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/08/image_12072025_14_08_24_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/14/08/image_12072025_14_08_14_10686.jpg', 2), ('/home/nano/Desktop/images/12072025/14/07/image_12072025_14_08_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/08/image_12072025_14_08_24_9647.jpg', '/home/nano/Desktop/images/12072025/14/08/image_12072025_14_08_14_10686.jpg', '/home/nano/Desktop/images/12072025/14/07/image_12072025_14_08_03_9642.jpg', '/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/08/image_12072025_14_08_24_9647.jpg
/home/nano/Desktop/images/12072025/14/08/image_12072025_14_08_14_10686.jpg
/home/nano/Desktop/images/12072025/14/07/image_12072025_14_08_03_9642.jpg
/home/nano/Desktop/images/12072025/14/07/image_12072025_14_07_54_9656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890214","1371890213","1371890212","1371890217"],"photo_ids_order":["1371890212","1371890213","1371890214","1371890217"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/565679748514fce913de602e4e621d13.jpg","text":"TemporaryFile(/tmp/multipartBody8776464403929738391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322173049,"filename":"image_12072025_14_08_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a406b3c792402f3e1e13bab9a845730f.jpg","text":"TemporaryFile(/tmp/multipartBody5252341080093759916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322173049,"filename":"image_12072025_14_08_14_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b11cd91417051f96eb3cea60779fe70e.jpg","text":"TemporaryFile(/tmp/multipartBody2570422209857421736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322173049,"filename":"image_12072025_14_08_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d0cc87d9ed714ba9026e40c5ff2ef74.jpg","text":"TemporaryFile(/tmp/multipartBody5181348933900435269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322173049,"filename":"image_12072025_14_07_54_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890214","file1":"1371890213","file0":"1371890212","file3":"1371890217"},"map_files_photo_id_array":[{"photo_id":"1371890214","filename":"file2"},{"photo_id":"1371890213","filename":"file1"},{"photo_id":"1371890212","filename":"file0"},{"photo_id":"1371890217","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890214":["hashtag1","hashtag2"]},{"1371890213":["hashtag1","hashtag2"]},{"1371890212":["hashtag1","hashtag2"]},{"1371890217":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890214, 1371890213, 1371890212, 1371890217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.491121530532837 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:09:02.984097
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/10/image_10072025_18_10_24_10650.jpg', 2), ('/home/nano/Desktop/images/10072025/18/10/image_10072025_18_10_13_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/18/09/image_10072025_18_09_43_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/18/09/image_10072025_18_09_13_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/18/08/image_10072025_18_09_04_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/18/07/image_10072025_18_07_53_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/10/image_10072025_18_10_24_10650.jpg', '/home/nano/Desktop/images/10072025/18/10/image_10072025_18_10_13_9656.jpg', '/home/nano/Desktop/images/10072025/18/09/image_10072025_18_09_43_9628.jpg', '/home/nano/Desktop/images/10072025/18/09/image_10072025_18_09_13_9644.jpg', '/home/nano/Desktop/images/10072025/18/08/image_10072025_18_09_04_10637.jpg', '/home/nano/Desktop/images/10072025/18/07/image_10072025_18_07_53_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/10/image_10072025_18_10_24_10650.jpg
/home/nano/Desktop/images/10072025/18/10/image_10072025_18_10_13_9656.jpg
/home/nano/Desktop/images/10072025/18/09/image_10072025_18_09_43_9628.jpg
/home/nano/Desktop/images/10072025/18/09/image_10072025_18_09_13_9644.jpg
/home/nano/Desktop/images/10072025/18/08/image_10072025_18_09_04_10637.jpg
/home/nano/Desktop/images/10072025/18/07/image_10072025_18_07_53_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890222","1371890230","1371890224","1371890227","1371890229","1371890232"],"photo_ids_order":["1371890222","1371890224","1371890227","1371890229","1371890230","1371890232"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6b62542f67e468992e7c912d0d9946d.jpg","text":"TemporaryFile(/tmp/multipartBody1360386668902172311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322205986,"filename":"image_10072025_18_10_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c13261e22a17db9344f7df6ab7379401.jpg","text":"TemporaryFile(/tmp/multipartBody8823119720664127623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322205986,"filename":"image_10072025_18_09_04_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfd53f3a564684bc57440e95fa956bee.jpg","text":"TemporaryFile(/tmp/multipartBody1068073294865669895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322205986,"filename":"image_10072025_18_10_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f05eda520508801eeb675cb6e62c5c5.jpg","text":"TemporaryFile(/tmp/multipartBody840825511798092343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322205986,"filename":"image_10072025_18_09_43_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba9c4210dc154e09e14210e09cd2f794.jpg","text":"TemporaryFile(/tmp/multipartBody7160775809725114382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322205986,"filename":"image_10072025_18_09_13_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc00b3d8f1c94974ae793169c49a8cd5.jpg","text":"TemporaryFile(/tmp/multipartBody5595208738083992336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322205986,"filename":"image_10072025_18_07_53_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890227","file1":"1371890224","file0":"1371890222","file4":"1371890230","file5":"1371890232","file3":"1371890229"},"map_files_photo_id_array":[{"photo_id":"1371890232","filename":"file5"},{"photo_id":"1371890227","filename":"file2"},{"photo_id":"1371890230","filename":"file4"},{"photo_id":"1371890224","filename":"file1"},{"photo_id":"1371890222","filename":"file0"},{"photo_id":"1371890229","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890222":["hashtag1","hashtag2"]},{"1371890230":["hashtag1","hashtag2"]},{"1371890224":["hashtag1","hashtag2"]},{"1371890227":["hashtag1","hashtag2"]},{"1371890229":["hashtag1","hashtag2"]},{"1371890232":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890222, 1371890230, 1371890224, 1371890227, 1371890229, 1371890232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.266318559646606 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:09:46.963251
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/09/image_12072025_14_09_33_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/14/08/image_12072025_14_08_33_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/09/image_12072025_14_09_33_9649.jpg', '/home/nano/Desktop/images/12072025/14/08/image_12072025_14_08_33_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/09/image_12072025_14_09_33_9649.jpg
/home/nano/Desktop/images/12072025/14/08/image_12072025_14_08_33_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890240","1371890238"],"photo_ids_order":["1371890238","1371890240"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c3ceb6c83b9d7f3b7fcbd5c567ce0126.jpg","text":"TemporaryFile(/tmp/multipartBody5903769222968023193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322247979,"filename":"image_12072025_14_08_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8109105e9b3cee7c252bcf81b8ca7b0.jpg","text":"TemporaryFile(/tmp/multipartBody5089721884601959935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322247979,"filename":"image_12072025_14_09_33_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371890240","file0":"1371890238"},"map_files_photo_id_array":[{"photo_id":"1371890240","filename":"file1"},{"photo_id":"1371890238","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890240":["hashtag1","hashtag2"]},{"1371890238":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890240, 1371890238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.783174276351929 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:10:17.063692
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/10/image_12072025_14_10_14_9676.jpg', 2), ('/home/nano/Desktop/images/12072025/14/09/image_12072025_14_09_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/10/image_12072025_14_10_14_9676.jpg', '/home/nano/Desktop/images/12072025/14/09/image_12072025_14_09_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/10/image_12072025_14_10_14_9676.jpg
/home/nano/Desktop/images/12072025/14/09/image_12072025_14_09_54_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890246","1371890245"],"photo_ids_order":["1371890245","1371890246"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a71f21bf468f4d25a1df281f20a80e1d.jpg","text":"TemporaryFile(/tmp/multipartBody4901685938539618562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322277957,"filename":"image_12072025_14_09_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2702d697a95438181a4b6618d1241952.jpg","text":"TemporaryFile(/tmp/multipartBody742117700692689523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322277957,"filename":"image_12072025_14_10_14_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371890246","file0":"1371890245"},"map_files_photo_id_array":[{"photo_id":"1371890246","filename":"file1"},{"photo_id":"1371890245","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890246":["hashtag1","hashtag2"]},{"1371890245":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890246, 1371890245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 21.92400550842285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:10:47.044579
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/07/image_10072025_18_07_44_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/07/image_10072025_18_07_23_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/18/07/image_10072025_18_07_14_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/18/06/image_10072025_18_07_03_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/18/06/image_10072025_18_06_44_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/18/06/image_10072025_18_06_24_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/07/image_10072025_18_07_44_10632.jpg', '/home/nano/Desktop/images/10072025/18/07/image_10072025_18_07_23_9623.jpg', '/home/nano/Desktop/images/10072025/18/07/image_10072025_18_07_14_10658.jpg', '/home/nano/Desktop/images/10072025/18/06/image_10072025_18_07_03_9635.jpg', '/home/nano/Desktop/images/10072025/18/06/image_10072025_18_06_44_10637.jpg', '/home/nano/Desktop/images/10072025/18/06/image_10072025_18_06_24_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/07/image_10072025_18_07_44_10632.jpg
/home/nano/Desktop/images/10072025/18/07/image_10072025_18_07_23_9623.jpg
/home/nano/Desktop/images/10072025/18/07/image_10072025_18_07_14_10658.jpg
/home/nano/Desktop/images/10072025/18/06/image_10072025_18_07_03_9635.jpg
/home/nano/Desktop/images/10072025/18/06/image_10072025_18_06_44_10637.jpg
/home/nano/Desktop/images/10072025/18/06/image_10072025_18_06_24_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890258","1371890252","1371890260","1371890254","1371890262","1371890256"],"photo_ids_order":["1371890252","1371890254","1371890256","1371890258","1371890260","1371890262"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b745769e22112ca589fbcb7c48cfe08f.jpg","text":"TemporaryFile(/tmp/multipartBody2159113091574838108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322310577,"filename":"image_10072025_18_07_03_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24a300a3e1f62c4162d032bd0e5462a0.jpg","text":"TemporaryFile(/tmp/multipartBody6809790170926703436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322310577,"filename":"image_10072025_18_07_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/759da82d043c0bebfc64923a177b9eed.jpg","text":"TemporaryFile(/tmp/multipartBody5998014402631130698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322310577,"filename":"image_10072025_18_06_44_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f5e818ec82d27b5b860702a8914be28.jpg","text":"TemporaryFile(/tmp/multipartBody5996540811869630228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322310577,"filename":"image_10072025_18_07_23_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92ac3d45e53b6ddd2268db339cc138d4.jpg","text":"TemporaryFile(/tmp/multipartBody6339571254277021577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322310577,"filename":"image_10072025_18_06_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0be7c68d0f44be4529b39a6e8492c66a.jpg","text":"TemporaryFile(/tmp/multipartBody7399893696973136051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322310577,"filename":"image_10072025_18_07_14_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890256","file1":"1371890254","file0":"1371890252","file4":"1371890260","file5":"1371890262","file3":"1371890258"},"map_files_photo_id_array":[{"photo_id":"1371890262","filename":"file5"},{"photo_id":"1371890256","filename":"file2"},{"photo_id":"1371890260","filename":"file4"},{"photo_id":"1371890254","filename":"file1"},{"photo_id":"1371890252","filename":"file0"},{"photo_id":"1371890258","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890258":["hashtag1","hashtag2"]},{"1371890252":["hashtag1","hashtag2"]},{"1371890260":["hashtag1","hashtag2"]},{"1371890254":["hashtag1","hashtag2"]},{"1371890262":["hashtag1","hashtag2"]},{"1371890256":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890258, 1371890252, 1371890260, 1371890254, 1371890262, 1371890256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.45658206939697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:12:02.776072
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/05/image_10072025_18_05_24_10648.jpg', 2), ('/home/nano/Desktop/images/10072025/18/05/image_10072025_18_05_13_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/18/04/image_10072025_18_05_04_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_54_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_43_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_34_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/05/image_10072025_18_05_24_10648.jpg', '/home/nano/Desktop/images/10072025/18/05/image_10072025_18_05_13_9644.jpg', '/home/nano/Desktop/images/10072025/18/04/image_10072025_18_05_04_9634.jpg', '/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_54_10632.jpg', '/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_43_9623.jpg', '/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_34_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/05/image_10072025_18_05_24_10648.jpg
/home/nano/Desktop/images/10072025/18/05/image_10072025_18_05_13_9644.jpg
/home/nano/Desktop/images/10072025/18/04/image_10072025_18_05_04_9634.jpg
/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_54_10632.jpg
/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_43_9623.jpg
/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_34_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890270","1371890269","1371890266","1371890271","1371890265","1371890268"],"photo_ids_order":["1371890265","1371890266","1371890268","1371890269","1371890270","1371890271"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41f49eb28a7eec34d359736785ab35ce.jpg","text":"TemporaryFile(/tmp/multipartBody5246025152526685005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322385825,"filename":"image_10072025_18_04_43_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90144ff0c9a1be0e424d70b088a40e02.jpg","text":"TemporaryFile(/tmp/multipartBody4322789079585822815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322385825,"filename":"image_10072025_18_04_54_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a148e170d27a0417e6a7e5f0bea47eac.jpg","text":"TemporaryFile(/tmp/multipartBody3104730873090064237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322385825,"filename":"image_10072025_18_05_13_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/212440c52b0c9a7b642637c07c8f6eaf.jpg","text":"TemporaryFile(/tmp/multipartBody8574441218956818629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322385825,"filename":"image_10072025_18_04_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/960083a1c2deaeceed80159130221c38.jpg","text":"TemporaryFile(/tmp/multipartBody6134657450108574355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322385825,"filename":"image_10072025_18_05_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0214f636229ac45f10c6f2e4af638145.jpg","text":"TemporaryFile(/tmp/multipartBody2858257755526187040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322385825,"filename":"image_10072025_18_05_04_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890268","file1":"1371890266","file0":"1371890265","file4":"1371890270","file5":"1371890271","file3":"1371890269"},"map_files_photo_id_array":[{"photo_id":"1371890271","filename":"file5"},{"photo_id":"1371890268","filename":"file2"},{"photo_id":"1371890270","filename":"file4"},{"photo_id":"1371890266","filename":"file1"},{"photo_id":"1371890265","filename":"file0"},{"photo_id":"1371890269","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890270":["hashtag1","hashtag2"]},{"1371890269":["hashtag1","hashtag2"]},{"1371890266":["hashtag1","hashtag2"]},{"1371890271":["hashtag1","hashtag2"]},{"1371890265":["hashtag1","hashtag2"]},{"1371890268":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890270, 1371890269, 1371890266, 1371890271, 1371890265, 1371890268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93544268608093 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:12:47.235523
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_44_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_34_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_14_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/14/11/image_12072025_14_12_04_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/14/10/image_12072025_14_10_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_44_9642.jpg', '/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_34_10651.jpg', '/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_23_9638.jpg', '/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_14_9651.jpg', '/home/nano/Desktop/images/12072025/14/11/image_12072025_14_12_04_10663.jpg', '/home/nano/Desktop/images/12072025/14/10/image_12072025_14_10_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_44_9642.jpg
/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_34_10651.jpg
/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_23_9638.jpg
/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_14_9651.jpg
/home/nano/Desktop/images/12072025/14/11/image_12072025_14_12_04_10663.jpg
/home/nano/Desktop/images/12072025/14/10/image_12072025_14_10_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890285","1371890279","1371890288","1371890287","1371890290","1371890283"],"photo_ids_order":["1371890279","1371890283","1371890285","1371890287","1371890288","1371890290"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96b3801faac45afb1b4d97c4ea3682f6.jpg","text":"TemporaryFile(/tmp/multipartBody4031594073303474943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322428853,"filename":"image_12072025_14_12_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a242fba5ce18aaaf1bda76c3ba664da.jpg","text":"TemporaryFile(/tmp/multipartBody8345217272599637871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322428853,"filename":"image_12072025_14_12_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ffa92c051d3524baefea79c14d73e8a.jpg","text":"TemporaryFile(/tmp/multipartBody3642933706393814260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322428853,"filename":"image_12072025_14_12_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff4a4ede9e1702f432bd465056f6c11e.jpg","text":"TemporaryFile(/tmp/multipartBody7754083185730698913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322428853,"filename":"image_12072025_14_12_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a87ae90e295a46fc4b2bd7f2c5b86057.jpg","text":"TemporaryFile(/tmp/multipartBody1387039418070919691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322428853,"filename":"image_12072025_14_10_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbe0e985843adddd0567d5a564f34746.jpg","text":"TemporaryFile(/tmp/multipartBody2604012044977813307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322428853,"filename":"image_12072025_14_12_34_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890285","file1":"1371890283","file0":"1371890279","file4":"1371890288","file5":"1371890290","file3":"1371890287"},"map_files_photo_id_array":[{"photo_id":"1371890290","filename":"file5"},{"photo_id":"1371890285","filename":"file2"},{"photo_id":"1371890288","filename":"file4"},{"photo_id":"1371890283","filename":"file1"},{"photo_id":"1371890279","filename":"file0"},{"photo_id":"1371890287","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890285":["hashtag1","hashtag2"]},{"1371890279":["hashtag1","hashtag2"]},{"1371890288":["hashtag1","hashtag2"]},{"1371890287":["hashtag1","hashtag2"]},{"1371890290":["hashtag1","hashtag2"]},{"1371890283":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890285, 1371890279, 1371890288, 1371890287, 1371890290, 1371890283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.857731342315674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:13:32.344273
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_44_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_23_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/14/12/image_12072025_14_13_04_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_53_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_44_9642.jpg', '/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_34_10650.jpg', '/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_23_9667.jpg', '/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_14_9658.jpg', '/home/nano/Desktop/images/12072025/14/12/image_12072025_14_13_04_10664.jpg', '/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_53_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_44_9642.jpg
/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_34_10650.jpg
/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_23_9667.jpg
/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_14_9658.jpg
/home/nano/Desktop/images/12072025/14/12/image_12072025_14_13_04_10664.jpg
/home/nano/Desktop/images/12072025/14/12/image_12072025_14_12_53_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890301","1371890303","1371890296","1371890305","1371890298","1371890294"],"photo_ids_order":["1371890294","1371890296","1371890298","1371890301","1371890303","1371890305"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0fea563a3c41b58c0458f94068ce1545.jpg","text":"TemporaryFile(/tmp/multipartBody2594277211783571269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322474048,"filename":"image_12072025_14_13_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0e90b462112286951eb395dd3be8ff5.jpg","text":"TemporaryFile(/tmp/multipartBody5030945014975661947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322474048,"filename":"image_12072025_14_13_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/caf0b66307b63cff63824abd837b4f0b.jpg","text":"TemporaryFile(/tmp/multipartBody297038994367806200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322474048,"filename":"image_12072025_14_13_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bf46e8aed5896c2ec86f8ea3b2fe370.jpg","text":"TemporaryFile(/tmp/multipartBody1854334343095271468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322474048,"filename":"image_12072025_14_12_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/965e19ce676e53b28ee824dc6685c9f5.jpg","text":"TemporaryFile(/tmp/multipartBody4063908986997202831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322474048,"filename":"image_12072025_14_13_23_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef2a23f16bb0ccdbcefefe73a34cb669.jpg","text":"TemporaryFile(/tmp/multipartBody5757757741452632081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322474048,"filename":"image_12072025_14_13_44_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890298","file1":"1371890296","file0":"1371890294","file4":"1371890303","file5":"1371890305","file3":"1371890301"},"map_files_photo_id_array":[{"photo_id":"1371890305","filename":"file5"},{"photo_id":"1371890298","filename":"file2"},{"photo_id":"1371890303","filename":"file4"},{"photo_id":"1371890296","filename":"file1"},{"photo_id":"1371890294","filename":"file0"},{"photo_id":"1371890301","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890301":["hashtag1","hashtag2"]},{"1371890303":["hashtag1","hashtag2"]},{"1371890296":["hashtag1","hashtag2"]},{"1371890305":["hashtag1","hashtag2"]},{"1371890298":["hashtag1","hashtag2"]},{"1371890294":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890301, 1371890303, 1371890296, 1371890305, 1371890298, 1371890294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.538839101791382 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:14:17.439580
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_34_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_24_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_14_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/14/13/image_12072025_14_14_04_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_34_9642.jpg', '/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_24_10666.jpg', '/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_14_9665.jpg', '/home/nano/Desktop/images/12072025/14/13/image_12072025_14_14_04_9656.jpg', '/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_34_9642.jpg
/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_24_10666.jpg
/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_14_9665.jpg
/home/nano/Desktop/images/12072025/14/13/image_12072025_14_14_04_9656.jpg
/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_54_10649.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3543720245361328 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:14:32.429134
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_34_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_24_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_14_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/14/13/image_12072025_14_14_04_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_34_9642.jpg', '/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_24_10666.jpg', '/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_14_9665.jpg', '/home/nano/Desktop/images/12072025/14/13/image_12072025_14_14_04_9656.jpg', '/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_34_9642.jpg
/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_24_10666.jpg
/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_14_9665.jpg
/home/nano/Desktop/images/12072025/14/13/image_12072025_14_14_04_9656.jpg
/home/nano/Desktop/images/12072025/14/13/image_12072025_14_13_54_10649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890318","1371890326","1371890320","1371890322","1371890325"],"photo_ids_order":["1371890318","1371890320","1371890322","1371890325","1371890326"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/008e08ccb3e55e9d4907e3832c5351b4.jpg","text":"TemporaryFile(/tmp/multipartBody8569600100585005517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322533731,"filename":"image_12072025_14_14_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34d3dec1125605bb5e332aa5be72434f.jpg","text":"TemporaryFile(/tmp/multipartBody4265745384597498527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322533731,"filename":"image_12072025_14_13_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a73aacb0684751d03b3d27a93622b5a4.jpg","text":"TemporaryFile(/tmp/multipartBody5795966380762662852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322533731,"filename":"image_12072025_14_14_24_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d169937d3390426ea5ea7ba8f6e48b27.jpg","text":"TemporaryFile(/tmp/multipartBody3822947096173608478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322533731,"filename":"image_12072025_14_14_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf8e8ff755f1aba120dd3f6229de4a96.jpg","text":"TemporaryFile(/tmp/multipartBody6610522323560966442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322533731,"filename":"image_12072025_14_14_04_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890322","file1":"1371890320","file0":"1371890318","file4":"1371890326","file3":"1371890325"},"map_files_photo_id_array":[{"photo_id":"1371890322","filename":"file2"},{"photo_id":"1371890326","filename":"file4"},{"photo_id":"1371890320","filename":"file1"},{"photo_id":"1371890318","filename":"file0"},{"photo_id":"1371890325","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890318":["hashtag1","hashtag2"]},{"1371890326":["hashtag1","hashtag2"]},{"1371890320":["hashtag1","hashtag2"]},{"1371890322":["hashtag1","hashtag2"]},{"1371890325":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890318, 1371890326, 1371890320, 1371890322, 1371890325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.345163583755493 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:15:03.314710
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_24_10631.jpg', 2), ('/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_13_9640.jpg', 2), ('/home/nano/Desktop/images/10072025/18/03/image_10072025_18_04_04_10630.jpg', 2), ('/home/nano/Desktop/images/10072025/18/03/image_10072025_18_03_53_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/18/03/image_10072025_18_03_43_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/18/03/image_10072025_18_03_14_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_24_10631.jpg', '/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_13_9640.jpg', '/home/nano/Desktop/images/10072025/18/03/image_10072025_18_04_04_10630.jpg', '/home/nano/Desktop/images/10072025/18/03/image_10072025_18_03_53_9624.jpg', '/home/nano/Desktop/images/10072025/18/03/image_10072025_18_03_43_9633.jpg', '/home/nano/Desktop/images/10072025/18/03/image_10072025_18_03_14_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_24_10631.jpg
/home/nano/Desktop/images/10072025/18/04/image_10072025_18_04_13_9640.jpg
/home/nano/Desktop/images/10072025/18/03/image_10072025_18_04_04_10630.jpg
/home/nano/Desktop/images/10072025/18/03/image_10072025_18_03_53_9624.jpg
/home/nano/Desktop/images/10072025/18/03/image_10072025_18_03_43_9633.jpg
/home/nano/Desktop/images/10072025/18/03/image_10072025_18_03_14_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890339","1371890330","1371890336","1371890338","1371890332","1371890334"],"photo_ids_order":["1371890330","1371890332","1371890334","1371890336","1371890338","1371890339"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a6bd9c4a554e7a4431eb4c7746fe446.jpg","text":"TemporaryFile(/tmp/multipartBody3795651566419084144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322566218,"filename":"image_10072025_18_03_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52e6cd7c7a8dd2c1b974a589d6a6cb8b.jpg","text":"TemporaryFile(/tmp/multipartBody4433592271481338954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322566218,"filename":"image_10072025_18_04_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7aa917ff07e5869b183251d12984b874.jpg","text":"TemporaryFile(/tmp/multipartBody2810110766732999622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322566218,"filename":"image_10072025_18_03_53_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d8908df274cf4d98f94677d36bbedde.jpg","text":"TemporaryFile(/tmp/multipartBody8377353475411284729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322566218,"filename":"image_10072025_18_03_43_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32859fcb7bb831792f66eb7208dbe1fb.jpg","text":"TemporaryFile(/tmp/multipartBody8469411279609171472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322566218,"filename":"image_10072025_18_04_13_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e165d03a91ff25449570302be4d29b19.jpg","text":"TemporaryFile(/tmp/multipartBody8438359086569928043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322566218,"filename":"image_10072025_18_04_04_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890334","file1":"1371890332","file0":"1371890330","file4":"1371890338","file5":"1371890339","file3":"1371890336"},"map_files_photo_id_array":[{"photo_id":"1371890339","filename":"file5"},{"photo_id":"1371890334","filename":"file2"},{"photo_id":"1371890338","filename":"file4"},{"photo_id":"1371890332","filename":"file1"},{"photo_id":"1371890330","filename":"file0"},{"photo_id":"1371890336","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890339":["hashtag1","hashtag2"]},{"1371890330":["hashtag1","hashtag2"]},{"1371890336":["hashtag1","hashtag2"]},{"1371890338":["hashtag1","hashtag2"]},{"1371890332":["hashtag1","hashtag2"]},{"1371890334":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890339, 1371890330, 1371890336, 1371890338, 1371890332, 1371890334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.960901737213135 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:15:47.533382
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/15/image_12072025_14_15_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/14/15/image_12072025_14_15_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/14/15/image_12072025_14_15_14_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/14/14/image_12072025_14_15_04_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/15/image_12072025_14_15_43_9640.jpg', '/home/nano/Desktop/images/12072025/14/15/image_12072025_14_15_34_9639.jpg', '/home/nano/Desktop/images/12072025/14/15/image_12072025_14_15_14_9660.jpg', '/home/nano/Desktop/images/12072025/14/14/image_12072025_14_15_04_9646.jpg', '/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_54_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/15/image_12072025_14_15_43_9640.jpg
/home/nano/Desktop/images/12072025/14/15/image_12072025_14_15_34_9639.jpg
/home/nano/Desktop/images/12072025/14/15/image_12072025_14_15_14_9660.jpg
/home/nano/Desktop/images/12072025/14/14/image_12072025_14_15_04_9646.jpg
/home/nano/Desktop/images/12072025/14/14/image_12072025_14_14_54_10646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890348","1371890350","1371890352","1371890346","1371890343"],"photo_ids_order":["1371890343","1371890346","1371890348","1371890350","1371890352"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e68444d9c3b7b6d6b792f618f7e2c538.jpg","text":"TemporaryFile(/tmp/multipartBody3023984757890185166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322609363,"filename":"image_12072025_14_15_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6c2b6eae802edad347734f5aed290ba.jpg","text":"TemporaryFile(/tmp/multipartBody1039952919618583424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322609363,"filename":"image_12072025_14_15_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ed0addac96f39f2423df2266eb43075.jpg","text":"TemporaryFile(/tmp/multipartBody4828614421233419304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322609363,"filename":"image_12072025_14_14_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f3ce61546d05783f906d3eb6a59ba2d.jpg","text":"TemporaryFile(/tmp/multipartBody2966798799987740631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322609363,"filename":"image_12072025_14_15_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40d709c56d67e842ce34c030c3128eab.jpg","text":"TemporaryFile(/tmp/multipartBody5383210049371921031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322609363,"filename":"image_12072025_14_15_43_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890348","file1":"1371890346","file0":"1371890343","file4":"1371890352","file3":"1371890350"},"map_files_photo_id_array":[{"photo_id":"1371890348","filename":"file2"},{"photo_id":"1371890352","filename":"file4"},{"photo_id":"1371890346","filename":"file1"},{"photo_id":"1371890343","filename":"file0"},{"photo_id":"1371890350","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890348":["hashtag1","hashtag2"]},{"1371890350":["hashtag1","hashtag2"]},{"1371890352":["hashtag1","hashtag2"]},{"1371890346":["hashtag1","hashtag2"]},{"1371890343":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890348, 1371890350, 1371890352, 1371890346, 1371890343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.540125370025635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:16:17.668936
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/16/image_12072025_14_16_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/14/16/image_12072025_14_16_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/16/image_12072025_14_16_13_9679.jpg', 2), ('/home/nano/Desktop/images/12072025/14/15/image_12072025_14_16_04_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/14/15/image_12072025_14_15_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/16/image_12072025_14_16_34_9639.jpg', '/home/nano/Desktop/images/12072025/14/16/image_12072025_14_16_24_10648.jpg', '/home/nano/Desktop/images/12072025/14/16/image_12072025_14_16_13_9679.jpg', '/home/nano/Desktop/images/12072025/14/15/image_12072025_14_16_04_9647.jpg', '/home/nano/Desktop/images/12072025/14/15/image_12072025_14_15_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/16/image_12072025_14_16_34_9639.jpg
/home/nano/Desktop/images/12072025/14/16/image_12072025_14_16_24_10648.jpg
/home/nano/Desktop/images/12072025/14/16/image_12072025_14_16_13_9679.jpg
/home/nano/Desktop/images/12072025/14/15/image_12072025_14_16_04_9647.jpg
/home/nano/Desktop/images/12072025/14/15/image_12072025_14_15_54_10649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890357","1371890360","1371890362","1371890356","1371890358"],"photo_ids_order":["1371890356","1371890357","1371890358","1371890360","1371890362"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f267897eb9c6556f8ef788b77d673f0.jpg","text":"TemporaryFile(/tmp/multipartBody1929118436834677804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322638977,"filename":"image_12072025_14_16_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f0224fbaaed594966925bb089e06c4d.jpg","text":"TemporaryFile(/tmp/multipartBody8925543458114540743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322638977,"filename":"image_12072025_14_16_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd87fad9e8c7f9412a1e2b4936f320bf.jpg","text":"TemporaryFile(/tmp/multipartBody188046812605669426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322638977,"filename":"image_12072025_14_15_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f97d49295c59cee77fecabe84a37d460.jpg","text":"TemporaryFile(/tmp/multipartBody2958033139989636609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322638977,"filename":"image_12072025_14_16_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ea4a075a9903217f585046119d2cbb3.jpg","text":"TemporaryFile(/tmp/multipartBody4072324328607244820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322638977,"filename":"image_12072025_14_16_13_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890358","file1":"1371890357","file0":"1371890356","file4":"1371890362","file3":"1371890360"},"map_files_photo_id_array":[{"photo_id":"1371890358","filename":"file2"},{"photo_id":"1371890362","filename":"file4"},{"photo_id":"1371890357","filename":"file1"},{"photo_id":"1371890356","filename":"file0"},{"photo_id":"1371890360","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890357":["hashtag1","hashtag2"]},{"1371890360":["hashtag1","hashtag2"]},{"1371890362":["hashtag1","hashtag2"]},{"1371890356":["hashtag1","hashtag2"]},{"1371890358":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890357, 1371890360, 1371890362, 1371890356, 1371890358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.787199020385742 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:16:47.666390
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/02/image_10072025_18_02_53_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/18/02/image_10072025_18_02_44_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/18/02/image_10072025_18_02_14_9670.jpg', 2), ('/home/nano/Desktop/images/10072025/18/01/image_10072025_18_02_04_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/18/01/image_10072025_18_01_14_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/18/00/image_10072025_18_01_03_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/02/image_10072025_18_02_53_9634.jpg', '/home/nano/Desktop/images/10072025/18/02/image_10072025_18_02_44_9633.jpg', '/home/nano/Desktop/images/10072025/18/02/image_10072025_18_02_14_9670.jpg', '/home/nano/Desktop/images/10072025/18/01/image_10072025_18_02_04_10645.jpg', '/home/nano/Desktop/images/10072025/18/01/image_10072025_18_01_14_10654.jpg', '/home/nano/Desktop/images/10072025/18/00/image_10072025_18_01_03_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/02/image_10072025_18_02_53_9634.jpg
/home/nano/Desktop/images/10072025/18/02/image_10072025_18_02_44_9633.jpg
/home/nano/Desktop/images/10072025/18/02/image_10072025_18_02_14_9670.jpg
/home/nano/Desktop/images/10072025/18/01/image_10072025_18_02_04_10645.jpg
/home/nano/Desktop/images/10072025/18/01/image_10072025_18_01_14_10654.jpg
/home/nano/Desktop/images/10072025/18/00/image_10072025_18_01_03_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890372","1371890366","1371890369","1371890374","1371890367","1371890376"],"photo_ids_order":["1371890366","1371890367","1371890369","1371890372","1371890374","1371890376"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34ff55ec96e052a94481352dc21d3b2a.jpg","text":"TemporaryFile(/tmp/multipartBody9089225427258423167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322670470,"filename":"image_10072025_18_02_04_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/264ab1cf8cc10b83e88a5e3daea084d1.jpg","text":"TemporaryFile(/tmp/multipartBody7017052485856749742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322670470,"filename":"image_10072025_18_02_53_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c851458fcd00320836ff217f9d3497df.jpg","text":"TemporaryFile(/tmp/multipartBody6111006994428197949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322670470,"filename":"image_10072025_18_02_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d77805e48c6dc7d5b36deb9a7e218fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5874990531535782528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322670470,"filename":"image_10072025_18_01_14_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b441ab4f280b5779d525db7aa8bd5b8.jpg","text":"TemporaryFile(/tmp/multipartBody3943663825638898425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322670470,"filename":"image_10072025_18_02_44_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85b5acb484d01ef1d8765eb954751997.jpg","text":"TemporaryFile(/tmp/multipartBody4726473222360148189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322670470,"filename":"image_10072025_18_01_03_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890369","file1":"1371890367","file0":"1371890366","file4":"1371890374","file5":"1371890376","file3":"1371890372"},"map_files_photo_id_array":[{"photo_id":"1371890376","filename":"file5"},{"photo_id":"1371890369","filename":"file2"},{"photo_id":"1371890374","filename":"file4"},{"photo_id":"1371890367","filename":"file1"},{"photo_id":"1371890366","filename":"file0"},{"photo_id":"1371890372","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890372":["hashtag1","hashtag2"]},{"1371890366":["hashtag1","hashtag2"]},{"1371890369":["hashtag1","hashtag2"]},{"1371890374":["hashtag1","hashtag2"]},{"1371890367":["hashtag1","hashtag2"]},{"1371890376":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890372, 1371890366, 1371890369, 1371890374, 1371890367, 1371890376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.489359617233276 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:17:31.776940
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_44_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_34_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_24_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_13_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/14/16/image_12072025_14_17_04_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/14/16/image_12072025_14_16_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_44_10650.jpg', '/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_34_9646.jpg', '/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_24_10665.jpg', '/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_13_9662.jpg', '/home/nano/Desktop/images/12072025/14/16/image_12072025_14_17_04_9643.jpg', '/home/nano/Desktop/images/12072025/14/16/image_12072025_14_16_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_44_10650.jpg
/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_34_9646.jpg
/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_24_10665.jpg
/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_13_9662.jpg
/home/nano/Desktop/images/12072025/14/16/image_12072025_14_17_04_9643.jpg
/home/nano/Desktop/images/12072025/14/16/image_12072025_14_16_54_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890381","1371890384","1371890386","1371890380","1371890379","1371890388"],"photo_ids_order":["1371890379","1371890380","1371890381","1371890384","1371890386","1371890388"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa63b84677afba712094e15bbaa14682.jpg","text":"TemporaryFile(/tmp/multipartBody478070195568010224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322713779,"filename":"image_12072025_14_17_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa2c5e61ebd949cacfe6423c8c89b411.jpg","text":"TemporaryFile(/tmp/multipartBody6534942179072268177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322713779,"filename":"image_12072025_14_17_13_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/712d05bd83314ed97ab445771b1eafa7.jpg","text":"TemporaryFile(/tmp/multipartBody1573235820681714235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322713779,"filename":"image_12072025_14_17_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a56d901f892ff4db9a7778272919641d.jpg","text":"TemporaryFile(/tmp/multipartBody9136281789915465549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322713779,"filename":"image_12072025_14_17_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ce45c5da81f48e872d0dab68a7a3f10.jpg","text":"TemporaryFile(/tmp/multipartBody2153006060688074078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322713779,"filename":"image_12072025_14_17_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e580242ad10f3adbbb87bceb49a2da60.jpg","text":"TemporaryFile(/tmp/multipartBody2500740151756529785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322713779,"filename":"image_12072025_14_16_54_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890381","file1":"1371890380","file0":"1371890379","file4":"1371890386","file5":"1371890388","file3":"1371890384"},"map_files_photo_id_array":[{"photo_id":"1371890388","filename":"file5"},{"photo_id":"1371890381","filename":"file2"},{"photo_id":"1371890386","filename":"file4"},{"photo_id":"1371890380","filename":"file1"},{"photo_id":"1371890379","filename":"file0"},{"photo_id":"1371890384","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890381":["hashtag1","hashtag2"]},{"1371890384":["hashtag1","hashtag2"]},{"1371890386":["hashtag1","hashtag2"]},{"1371890380":["hashtag1","hashtag2"]},{"1371890379":["hashtag1","hashtag2"]},{"1371890388":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890381, 1371890384, 1371890386, 1371890380, 1371890379, 1371890388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80661749839783 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:18:16.918650
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/18/image_12072025_14_18_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/14/18/image_12072025_14_18_24_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/17/image_12072025_14_18_04_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_54_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/18/image_12072025_14_18_34_9638.jpg', '/home/nano/Desktop/images/12072025/14/18/image_12072025_14_18_24_9642.jpg', '/home/nano/Desktop/images/12072025/14/17/image_12072025_14_18_04_9657.jpg', '/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_54_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/18/image_12072025_14_18_34_9638.jpg
/home/nano/Desktop/images/12072025/14/18/image_12072025_14_18_24_9642.jpg
/home/nano/Desktop/images/12072025/14/17/image_12072025_14_18_04_9657.jpg
/home/nano/Desktop/images/12072025/14/17/image_12072025_14_17_54_9650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890398","1371890395","1371890397","1371890400"],"photo_ids_order":["1371890395","1371890397","1371890398","1371890400"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4789cb9255124c6626123c9d51c63ad.jpg","text":"TemporaryFile(/tmp/multipartBody1592141216505090652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322758394,"filename":"image_12072025_14_18_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c214236c5940cd88f70983e4113c0996.jpg","text":"TemporaryFile(/tmp/multipartBody2334024070952439275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322758394,"filename":"image_12072025_14_18_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dcc32d18106009ae09a3f3c6b8d5c77f.jpg","text":"TemporaryFile(/tmp/multipartBody6511875491291528530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322758394,"filename":"image_12072025_14_18_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b73d402872c6ca9b1ae4879882390b1.jpg","text":"TemporaryFile(/tmp/multipartBody8171862092681598160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322758394,"filename":"image_12072025_14_17_54_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890398","file1":"1371890397","file0":"1371890395","file3":"1371890400"},"map_files_photo_id_array":[{"photo_id":"1371890398","filename":"file2"},{"photo_id":"1371890397","filename":"file1"},{"photo_id":"1371890395","filename":"file0"},{"photo_id":"1371890400","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890398":["hashtag1","hashtag2"]},{"1371890395":["hashtag1","hashtag2"]},{"1371890397":["hashtag1","hashtag2"]},{"1371890400":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890398, 1371890395, 1371890397, 1371890400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.33608651161194 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:18:46.891237
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/18/00/image_10072025_18_00_54_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/18/00/image_10072025_18_00_33_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/18/00/image_10072025_18_00_14_10684.jpg', 2), ('/home/nano/Desktop/images/10072025/17/59/image_10072025_18_00_03_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/17/59/image_10072025_17_59_33_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/17/59/image_10072025_17_59_24_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/18/00/image_10072025_18_00_54_9625.jpg', '/home/nano/Desktop/images/10072025/18/00/image_10072025_18_00_33_9628.jpg', '/home/nano/Desktop/images/10072025/18/00/image_10072025_18_00_14_10684.jpg', '/home/nano/Desktop/images/10072025/17/59/image_10072025_18_00_03_9628.jpg', '/home/nano/Desktop/images/10072025/17/59/image_10072025_17_59_33_9624.jpg', '/home/nano/Desktop/images/10072025/17/59/image_10072025_17_59_24_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/18/00/image_10072025_18_00_54_9625.jpg
/home/nano/Desktop/images/10072025/18/00/image_10072025_18_00_33_9628.jpg
/home/nano/Desktop/images/10072025/18/00/image_10072025_18_00_14_10684.jpg
/home/nano/Desktop/images/10072025/17/59/image_10072025_18_00_03_9628.jpg
/home/nano/Desktop/images/10072025/17/59/image_10072025_17_59_33_9624.jpg
/home/nano/Desktop/images/10072025/17/59/image_10072025_17_59_24_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890406","1371890411","1371890408","1371890410","1371890404","1371890413"],"photo_ids_order":["1371890404","1371890406","1371890408","1371890410","1371890411","1371890413"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ab6448087a6b124b8c29eb3addd0759.jpg","text":"TemporaryFile(/tmp/multipartBody2710671991690382336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322790898,"filename":"image_10072025_18_00_33_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8cef9a2e9ac1d082b9a96129eb83f29.jpg","text":"TemporaryFile(/tmp/multipartBody1007746030839315623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322790898,"filename":"image_10072025_17_59_33_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb6a28d17b0fc0d40960f60a651f9717.jpg","text":"TemporaryFile(/tmp/multipartBody3306754735454596979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322790898,"filename":"image_10072025_18_00_14_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc6c968503bf5408281f5eae53a89600.jpg","text":"TemporaryFile(/tmp/multipartBody4121616434715187964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322790898,"filename":"image_10072025_18_00_03_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff8cf5b547321041a36870eac3acf80c.jpg","text":"TemporaryFile(/tmp/multipartBody8724145862054448840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322790898,"filename":"image_10072025_18_00_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4815c89e4b4c09e595cebbdbcae5221.jpg","text":"TemporaryFile(/tmp/multipartBody8186378353463142119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322790898,"filename":"image_10072025_17_59_24_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890408","file1":"1371890406","file0":"1371890404","file4":"1371890411","file5":"1371890413","file3":"1371890410"},"map_files_photo_id_array":[{"photo_id":"1371890413","filename":"file5"},{"photo_id":"1371890408","filename":"file2"},{"photo_id":"1371890411","filename":"file4"},{"photo_id":"1371890406","filename":"file1"},{"photo_id":"1371890404","filename":"file0"},{"photo_id":"1371890410","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890406":["hashtag1","hashtag2"]},{"1371890411":["hashtag1","hashtag2"]},{"1371890408":["hashtag1","hashtag2"]},{"1371890410":["hashtag1","hashtag2"]},{"1371890404":["hashtag1","hashtag2"]},{"1371890413":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890406, 1371890411, 1371890408, 1371890410, 1371890404, 1371890413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20313048362732 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:19:32.012557
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_33_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_24_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_14_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/14/18/image_12072025_14_18_54_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_44_10648.jpg', '/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_33_9636.jpg', '/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_24_9642.jpg', '/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_14_10674.jpg', '/home/nano/Desktop/images/12072025/14/18/image_12072025_14_18_54_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_44_10648.jpg
/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_33_9636.jpg
/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_24_9642.jpg
/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_14_10674.jpg
/home/nano/Desktop/images/12072025/14/18/image_12072025_14_18_54_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890422","1371890425","1371890427","1371890415","1371890418"],"photo_ids_order":["1371890415","1371890418","1371890422","1371890425","1371890427"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6fc77a4925e27ca9391179bcf691e2c.jpg","text":"TemporaryFile(/tmp/multipartBody7020030968426822998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322833448,"filename":"image_12072025_14_19_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc1d206fa41f2f9f65017f24ef340624.jpg","text":"TemporaryFile(/tmp/multipartBody6321198637374044563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322833448,"filename":"image_12072025_14_19_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f665525379b811e84e8ed155a3a9385.jpg","text":"TemporaryFile(/tmp/multipartBody8916943784689294036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322833448,"filename":"image_12072025_14_18_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dfbfeb31d8c6cebcb8a6164a6a6aee60.jpg","text":"TemporaryFile(/tmp/multipartBody2025750666310159624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322833448,"filename":"image_12072025_14_19_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a671152f8ab343992e09c96beb0dc1ee.jpg","text":"TemporaryFile(/tmp/multipartBody3185630056575348993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322833448,"filename":"image_12072025_14_19_33_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890422","file1":"1371890418","file0":"1371890415","file4":"1371890427","file3":"1371890425"},"map_files_photo_id_array":[{"photo_id":"1371890422","filename":"file2"},{"photo_id":"1371890427","filename":"file4"},{"photo_id":"1371890418","filename":"file1"},{"photo_id":"1371890415","filename":"file0"},{"photo_id":"1371890425","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890422":["hashtag1","hashtag2"]},{"1371890425":["hashtag1","hashtag2"]},{"1371890427":["hashtag1","hashtag2"]},{"1371890415":["hashtag1","hashtag2"]},{"1371890418":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890422, 1371890425, 1371890427, 1371890415, 1371890418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 55.24458336830139 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:20:32.179068
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_44_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_33_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_24_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_14_10685.jpg', 2), ('/home/nano/Desktop/images/12072025/14/19/image_12072025_14_20_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_54_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_44_10652.jpg', '/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_33_9641.jpg', '/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_24_9659.jpg', '/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_14_10685.jpg', '/home/nano/Desktop/images/12072025/14/19/image_12072025_14_20_03_9643.jpg', '/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_44_10652.jpg
/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_33_9641.jpg
/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_24_9659.jpg
/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_14_10685.jpg
/home/nano/Desktop/images/12072025/14/19/image_12072025_14_20_03_9643.jpg
/home/nano/Desktop/images/12072025/14/19/image_12072025_14_19_54_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890438","1371890432","1371890435","1371890434","1371890433","1371890436"],"photo_ids_order":["1371890432","1371890433","1371890434","1371890435","1371890436","1371890438"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d42462deae00446bf4e4fc8a6dd5d28.jpg","text":"TemporaryFile(/tmp/multipartBody6461026181890122988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322894031,"filename":"image_12072025_14_19_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/151d5a458075a98754b5028def310ddc.jpg","text":"TemporaryFile(/tmp/multipartBody7211290916934061633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322894031,"filename":"image_12072025_14_20_44_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e437e8c1a507cfdffcbddf4d7c5e82fb.jpg","text":"TemporaryFile(/tmp/multipartBody6917470345947004602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322894031,"filename":"image_12072025_14_20_14_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/157e16e40f9f3e51c3258712b1ddbec4.jpg","text":"TemporaryFile(/tmp/multipartBody4038048768817694266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322894031,"filename":"image_12072025_14_20_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe48fa0a8ee0e31bd5a434102c631204.jpg","text":"TemporaryFile(/tmp/multipartBody6365554114076232111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322894031,"filename":"image_12072025_14_20_33_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8cd74639c5b8d7d18c1cba8238e89624.jpg","text":"TemporaryFile(/tmp/multipartBody2667427351617555102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322894031,"filename":"image_12072025_14_20_03_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890434","file1":"1371890433","file0":"1371890432","file4":"1371890436","file5":"1371890438","file3":"1371890435"},"map_files_photo_id_array":[{"photo_id":"1371890438","filename":"file5"},{"photo_id":"1371890434","filename":"file2"},{"photo_id":"1371890436","filename":"file4"},{"photo_id":"1371890433","filename":"file1"},{"photo_id":"1371890432","filename":"file0"},{"photo_id":"1371890435","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890438":["hashtag1","hashtag2"]},{"1371890432":["hashtag1","hashtag2"]},{"1371890435":["hashtag1","hashtag2"]},{"1371890434":["hashtag1","hashtag2"]},{"1371890433":["hashtag1","hashtag2"]},{"1371890436":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890438, 1371890432, 1371890435, 1371890434, 1371890433, 1371890436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.8909969329834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:21:17.245863
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_44_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_33_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_24_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_14_10678.jpg', 2), ('/home/nano/Desktop/images/12072025/14/20/image_12072025_14_21_03_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_44_10656.jpg', '/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_33_9639.jpg', '/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_24_9642.jpg', '/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_14_10678.jpg', '/home/nano/Desktop/images/12072025/14/20/image_12072025_14_21_03_9638.jpg', '/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_44_10656.jpg
/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_33_9639.jpg
/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_24_9642.jpg
/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_14_10678.jpg
/home/nano/Desktop/images/12072025/14/20/image_12072025_14_21_03_9638.jpg
/home/nano/Desktop/images/12072025/14/20/image_12072025_14_20_54_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890450","1371890444","1371890447","1371890449","1371890446","1371890442"],"photo_ids_order":["1371890442","1371890444","1371890446","1371890447","1371890449","1371890450"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be93edb52d577f9b38de56230d91fa95.jpg","text":"TemporaryFile(/tmp/multipartBody566235459824815696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322938869,"filename":"image_12072025_14_20_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4fe31e6205b82bbe81ee8ec88b897ec.jpg","text":"TemporaryFile(/tmp/multipartBody5267467731149816754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322938869,"filename":"image_12072025_14_21_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/330f026ccdde785ff6fb21eaf3fc9dac.jpg","text":"TemporaryFile(/tmp/multipartBody858542732616232882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322938869,"filename":"image_12072025_14_21_14_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2b934c8ea5bd6e2b31c4581d73086df.jpg","text":"TemporaryFile(/tmp/multipartBody702886178959170638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322938869,"filename":"image_12072025_14_21_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0da64b75fca8631f50158009b3e318c6.jpg","text":"TemporaryFile(/tmp/multipartBody8745184171920825525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322938869,"filename":"image_12072025_14_21_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa891cd4bc76cb2f9a7cfda0831f3a4a.jpg","text":"TemporaryFile(/tmp/multipartBody6851378072608101108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322938869,"filename":"image_12072025_14_21_44_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890446","file1":"1371890444","file0":"1371890442","file4":"1371890449","file5":"1371890450","file3":"1371890447"},"map_files_photo_id_array":[{"photo_id":"1371890450","filename":"file5"},{"photo_id":"1371890446","filename":"file2"},{"photo_id":"1371890449","filename":"file4"},{"photo_id":"1371890444","filename":"file1"},{"photo_id":"1371890442","filename":"file0"},{"photo_id":"1371890447","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890450":["hashtag1","hashtag2"]},{"1371890444":["hashtag1","hashtag2"]},{"1371890447":["hashtag1","hashtag2"]},{"1371890449":["hashtag1","hashtag2"]},{"1371890446":["hashtag1","hashtag2"]},{"1371890442":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890450, 1371890444, 1371890447, 1371890449, 1371890446, 1371890442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51725506782532 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:22:02.688772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/58/image_10072025_17_59_04_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/58/image_10072025_17_58_43_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/17/58/image_10072025_17_58_34_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/17/58/image_10072025_17_58_13_9642.jpg', 2), ('/home/nano/Desktop/images/10072025/17/57/image_10072025_17_58_04_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/17/57/image_10072025_17_57_53_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/58/image_10072025_17_59_04_9626.jpg', '/home/nano/Desktop/images/10072025/17/58/image_10072025_17_58_43_9625.jpg', '/home/nano/Desktop/images/10072025/17/58/image_10072025_17_58_34_10639.jpg', '/home/nano/Desktop/images/10072025/17/58/image_10072025_17_58_13_9642.jpg', '/home/nano/Desktop/images/10072025/17/57/image_10072025_17_58_04_10664.jpg', '/home/nano/Desktop/images/10072025/17/57/image_10072025_17_57_53_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/58/image_10072025_17_59_04_9626.jpg
/home/nano/Desktop/images/10072025/17/58/image_10072025_17_58_43_9625.jpg
/home/nano/Desktop/images/10072025/17/58/image_10072025_17_58_34_10639.jpg
/home/nano/Desktop/images/10072025/17/58/image_10072025_17_58_13_9642.jpg
/home/nano/Desktop/images/10072025/17/57/image_10072025_17_58_04_10664.jpg
/home/nano/Desktop/images/10072025/17/57/image_10072025_17_57_53_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890465","1371890468","1371890470","1371890467","1371890461","1371890463"],"photo_ids_order":["1371890461","1371890463","1371890465","1371890467","1371890468","1371890470"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6efdf5e7f00ab039a01245b1b2bb17e4.jpg","text":"TemporaryFile(/tmp/multipartBody1420039694583079250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322985378,"filename":"image_10072025_17_58_34_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74716ad578b170e2b20f91df5802bdf3.jpg","text":"TemporaryFile(/tmp/multipartBody5877387343494508000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322985378,"filename":"image_10072025_17_58_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/457a52467048a2e8be0029800f9691b4.jpg","text":"TemporaryFile(/tmp/multipartBody6968436643299278076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322985378,"filename":"image_10072025_17_57_53_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41b0e3baa16638888f84d7dcc141a749.jpg","text":"TemporaryFile(/tmp/multipartBody2219998151936605104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322985378,"filename":"image_10072025_17_58_13_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/600d2680338354f350148ef878fd16e7.jpg","text":"TemporaryFile(/tmp/multipartBody7930154374144819785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322985378,"filename":"image_10072025_17_59_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d278be9095f66d6c12723284ee1a6c26.jpg","text":"TemporaryFile(/tmp/multipartBody3562652541752824029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752322985378,"filename":"image_10072025_17_58_43_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890465","file1":"1371890463","file0":"1371890461","file4":"1371890468","file5":"1371890470","file3":"1371890467"},"map_files_photo_id_array":[{"photo_id":"1371890470","filename":"file5"},{"photo_id":"1371890465","filename":"file2"},{"photo_id":"1371890468","filename":"file4"},{"photo_id":"1371890463","filename":"file1"},{"photo_id":"1371890461","filename":"file0"},{"photo_id":"1371890467","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890465":["hashtag1","hashtag2"]},{"1371890468":["hashtag1","hashtag2"]},{"1371890470":["hashtag1","hashtag2"]},{"1371890467":["hashtag1","hashtag2"]},{"1371890461":["hashtag1","hashtag2"]},{"1371890463":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890465, 1371890468, 1371890470, 1371890467, 1371890461, 1371890463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47300624847412 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:22:47.294353
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/22/image_12072025_14_22_44_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/14/22/image_12072025_14_22_24_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/22/image_12072025_14_22_14_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/14/21/image_12072025_14_22_04_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_54_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/22/image_12072025_14_22_44_9655.jpg', '/home/nano/Desktop/images/12072025/14/22/image_12072025_14_22_24_9642.jpg', '/home/nano/Desktop/images/12072025/14/22/image_12072025_14_22_14_9664.jpg', '/home/nano/Desktop/images/12072025/14/21/image_12072025_14_22_04_10669.jpg', '/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_54_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/22/image_12072025_14_22_44_9655.jpg
/home/nano/Desktop/images/12072025/14/22/image_12072025_14_22_24_9642.jpg
/home/nano/Desktop/images/12072025/14/22/image_12072025_14_22_14_9664.jpg
/home/nano/Desktop/images/12072025/14/21/image_12072025_14_22_04_10669.jpg
/home/nano/Desktop/images/12072025/14/21/image_12072025_14_21_54_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890483","1371890477","1371890479","1371890481","1371890475"],"photo_ids_order":["1371890475","1371890477","1371890479","1371890481","1371890483"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bacdb7422d900ab9de93f6e9d30daee0.jpg","text":"TemporaryFile(/tmp/multipartBody1543851808523960882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323028761,"filename":"image_12072025_14_21_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80a66db4f56083bf30be465aefe8c239.jpg","text":"TemporaryFile(/tmp/multipartBody1290666368390744361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323028761,"filename":"image_12072025_14_22_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/815a6b7323309bad670346b60d521c00.jpg","text":"TemporaryFile(/tmp/multipartBody1564362128217608159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323028761,"filename":"image_12072025_14_22_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6138947c875f4f5aeedba34d0d4a7477.jpg","text":"TemporaryFile(/tmp/multipartBody7618578843766702393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323028761,"filename":"image_12072025_14_22_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb1529b2cc1b581183505d222088c650.jpg","text":"TemporaryFile(/tmp/multipartBody3173605639450080085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323028761,"filename":"image_12072025_14_22_44_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890479","file1":"1371890477","file0":"1371890475","file4":"1371890483","file3":"1371890481"},"map_files_photo_id_array":[{"photo_id":"1371890479","filename":"file2"},{"photo_id":"1371890483","filename":"file4"},{"photo_id":"1371890477","filename":"file1"},{"photo_id":"1371890475","filename":"file0"},{"photo_id":"1371890481","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890483":["hashtag1","hashtag2"]},{"1371890477":["hashtag1","hashtag2"]},{"1371890479":["hashtag1","hashtag2"]},{"1371890481":["hashtag1","hashtag2"]},{"1371890475":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890483, 1371890477, 1371890479, 1371890481, 1371890475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.42517328262329 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:23:17.371801
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_44_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_24_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_14_9700.jpg', 2), ('/home/nano/Desktop/images/12072025/14/22/image_12072025_14_23_04_10692.jpg', 2), ('/home/nano/Desktop/images/12072025/14/22/image_12072025_14_22_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_44_9637.jpg', '/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_34_10647.jpg', '/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_24_9649.jpg', '/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_14_9700.jpg', '/home/nano/Desktop/images/12072025/14/22/image_12072025_14_23_04_10692.jpg', '/home/nano/Desktop/images/12072025/14/22/image_12072025_14_22_54_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_44_9637.jpg
/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_34_10647.jpg
/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_24_9649.jpg
/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_14_9700.jpg
/home/nano/Desktop/images/12072025/14/22/image_12072025_14_23_04_10692.jpg
/home/nano/Desktop/images/12072025/14/22/image_12072025_14_22_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890489","1371890491","1371890488","1371890490","1371890493","1371890492"],"photo_ids_order":["1371890488","1371890489","1371890490","1371890491","1371890492","1371890493"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a8d8f141db049f36906e961429e00ab.jpg","text":"TemporaryFile(/tmp/multipartBody6909005026554633404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323059011,"filename":"image_12072025_14_23_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e33941bc564f11fbf1df36ca48b0350.jpg","text":"TemporaryFile(/tmp/multipartBody6426669466776770421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323059011,"filename":"image_12072025_14_23_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/224925329d7a0b230a773e8dfe5051da.jpg","text":"TemporaryFile(/tmp/multipartBody8228995683163064650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323059011,"filename":"image_12072025_14_23_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3526c55d957a61d743aa4e101721ad32.jpg","text":"TemporaryFile(/tmp/multipartBody1386395323291817947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323059011,"filename":"image_12072025_14_23_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1cfe9785351f824ee9b0de6dfaf72ec6.jpg","text":"TemporaryFile(/tmp/multipartBody8902242222105782697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323059011,"filename":"image_12072025_14_22_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/272837d2b290d27cc719dfdc7f03f48b.jpg","text":"TemporaryFile(/tmp/multipartBody886314617191842146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323059011,"filename":"image_12072025_14_23_04_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890490","file1":"1371890489","file0":"1371890488","file4":"1371890492","file5":"1371890493","file3":"1371890491"},"map_files_photo_id_array":[{"photo_id":"1371890493","filename":"file5"},{"photo_id":"1371890490","filename":"file2"},{"photo_id":"1371890492","filename":"file4"},{"photo_id":"1371890489","filename":"file1"},{"photo_id":"1371890488","filename":"file0"},{"photo_id":"1371890491","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890489":["hashtag1","hashtag2"]},{"1371890491":["hashtag1","hashtag2"]},{"1371890488":["hashtag1","hashtag2"]},{"1371890490":["hashtag1","hashtag2"]},{"1371890493":["hashtag1","hashtag2"]},{"1371890492":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890489, 1371890491, 1371890488, 1371890490, 1371890493, 1371890492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.642399072647095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:24:03.380701
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/23/image_12072025_14_24_04_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/23/image_12072025_14_24_04_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/23/image_12072025_14_24_04_10649.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890499"],"photo_id":"1371890499","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52c47c970955543c89c1cbff38a96ee6.jpg","text":"TemporaryFile(/tmp/multipartBody3596093460483762962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323104174,"filename":"image_12072025_14_24_04_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371890499"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371890499"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.942326068878174 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:24:17.509916
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_44_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_23_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_14_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_54_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_44_9649.jpg', '/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_34_10650.jpg', '/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_23_9647.jpg', '/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_14_9666.jpg', '/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_54_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_44_9649.jpg
/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_34_10650.jpg
/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_23_9647.jpg
/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_14_9666.jpg
/home/nano/Desktop/images/12072025/14/23/image_12072025_14_23_54_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890510","1371890504","1371890506","1371890509","1371890508"],"photo_ids_order":["1371890504","1371890506","1371890508","1371890509","1371890510"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4cc027f771a052e66e0dd6b91e8c2241.jpg","text":"TemporaryFile(/tmp/multipartBody5607913918616988254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323118827,"filename":"image_12072025_14_23_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cb019a64db810e5bff2f01ba6035ccc.jpg","text":"TemporaryFile(/tmp/multipartBody4199551711392834031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323118827,"filename":"image_12072025_14_24_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fbcdb1b7160c719ed129f6a9614c936.jpg","text":"TemporaryFile(/tmp/multipartBody5221634779697298566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323118827,"filename":"image_12072025_14_24_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aeaa635a1ba19db00e88f8550a638dab.jpg","text":"TemporaryFile(/tmp/multipartBody8324698562539290436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323118827,"filename":"image_12072025_14_24_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7020b4a3df6ac2b3eb84cf0197ee9087.jpg","text":"TemporaryFile(/tmp/multipartBody7317514120117484075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323118827,"filename":"image_12072025_14_24_23_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890508","file1":"1371890506","file0":"1371890504","file4":"1371890510","file3":"1371890509"},"map_files_photo_id_array":[{"photo_id":"1371890508","filename":"file2"},{"photo_id":"1371890510","filename":"file4"},{"photo_id":"1371890506","filename":"file1"},{"photo_id":"1371890504","filename":"file0"},{"photo_id":"1371890509","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890510":["hashtag1","hashtag2"]},{"1371890504":["hashtag1","hashtag2"]},{"1371890506":["hashtag1","hashtag2"]},{"1371890509":["hashtag1","hashtag2"]},{"1371890508":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890510, 1371890504, 1371890506, 1371890509, 1371890508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.05940008163452 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:24:47.515660
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/57/image_10072025_17_57_34_10643.jpg', 2), ('/home/nano/Desktop/images/10072025/17/57/image_10072025_17_57_23_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/57/image_10072025_17_57_14_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/17/56/image_10072025_17_57_04_10667.jpg', 2), ('/home/nano/Desktop/images/10072025/17/56/image_10072025_17_56_53_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/17/56/image_10072025_17_56_44_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/57/image_10072025_17_57_34_10643.jpg', '/home/nano/Desktop/images/10072025/17/57/image_10072025_17_57_23_9626.jpg', '/home/nano/Desktop/images/10072025/17/57/image_10072025_17_57_14_9650.jpg', '/home/nano/Desktop/images/10072025/17/56/image_10072025_17_57_04_10667.jpg', '/home/nano/Desktop/images/10072025/17/56/image_10072025_17_56_53_9629.jpg', '/home/nano/Desktop/images/10072025/17/56/image_10072025_17_56_44_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/57/image_10072025_17_57_34_10643.jpg
/home/nano/Desktop/images/10072025/17/57/image_10072025_17_57_23_9626.jpg
/home/nano/Desktop/images/10072025/17/57/image_10072025_17_57_14_9650.jpg
/home/nano/Desktop/images/10072025/17/56/image_10072025_17_57_04_10667.jpg
/home/nano/Desktop/images/10072025/17/56/image_10072025_17_56_53_9629.jpg
/home/nano/Desktop/images/10072025/17/56/image_10072025_17_56_44_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890522","1371890516","1371890518","1371890520","1371890514","1371890523"],"photo_ids_order":["1371890514","1371890516","1371890518","1371890520","1371890522","1371890523"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/109de15bd769a6805e74cdafa88f0849.jpg","text":"TemporaryFile(/tmp/multipartBody4761877753509581796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323150241,"filename":"image_10072025_17_56_53_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c9eb573ee75866bfe1c31eb089a594c.jpg","text":"TemporaryFile(/tmp/multipartBody7861410086375952848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323150241,"filename":"image_10072025_17_57_23_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4791b3f9b412594f5f07e0b90c3d5612.jpg","text":"TemporaryFile(/tmp/multipartBody3904844051002470642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323150241,"filename":"image_10072025_17_57_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/727a8c3c9feb6acfc023511982adf87a.jpg","text":"TemporaryFile(/tmp/multipartBody4437845522657229781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323150241,"filename":"image_10072025_17_57_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e80e3b45067cb111974705871f292e14.jpg","text":"TemporaryFile(/tmp/multipartBody1764714630026641797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323150241,"filename":"image_10072025_17_57_34_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/715156aed34badb006ca19d7648a6d5c.jpg","text":"TemporaryFile(/tmp/multipartBody6756590574763861939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323150241,"filename":"image_10072025_17_56_44_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890518","file1":"1371890516","file0":"1371890514","file4":"1371890522","file5":"1371890523","file3":"1371890520"},"map_files_photo_id_array":[{"photo_id":"1371890523","filename":"file5"},{"photo_id":"1371890518","filename":"file2"},{"photo_id":"1371890522","filename":"file4"},{"photo_id":"1371890516","filename":"file1"},{"photo_id":"1371890514","filename":"file0"},{"photo_id":"1371890520","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890522":["hashtag1","hashtag2"]},{"1371890516":["hashtag1","hashtag2"]},{"1371890518":["hashtag1","hashtag2"]},{"1371890520":["hashtag1","hashtag2"]},{"1371890514":["hashtag1","hashtag2"]},{"1371890523":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890522, 1371890516, 1371890518, 1371890520, 1371890514, 1371890523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05940270423889 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:25:32.640740
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/25/image_12072025_14_25_14_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/14/24/image_12072025_14_25_04_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_53_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/25/image_12072025_14_25_14_9661.jpg', '/home/nano/Desktop/images/12072025/14/24/image_12072025_14_25_04_10651.jpg', '/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_53_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/25/image_12072025_14_25_14_9661.jpg
/home/nano/Desktop/images/12072025/14/24/image_12072025_14_25_04_10651.jpg
/home/nano/Desktop/images/12072025/14/24/image_12072025_14_24_53_9656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890531","1371890527","1371890529"],"photo_ids_order":["1371890527","1371890529","1371890531"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/69bd01701d4935a0104c31ff81b7b3ec.jpg","text":"TemporaryFile(/tmp/multipartBody5170124678006731878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323193793,"filename":"image_12072025_14_24_53_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/339b97d2cee3436dfae06c1acb7a4ad4.jpg","text":"TemporaryFile(/tmp/multipartBody5027028855009549490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323193793,"filename":"image_12072025_14_25_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc91b9d66dd951e777df643f12a20741.jpg","text":"TemporaryFile(/tmp/multipartBody9166154873929492180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323193793,"filename":"image_12072025_14_25_04_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890531","file1":"1371890529","file0":"1371890527"},"map_files_photo_id_array":[{"photo_id":"1371890531","filename":"file2"},{"photo_id":"1371890529","filename":"file1"},{"photo_id":"1371890527","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890531":["hashtag1","hashtag2"]},{"1371890527":["hashtag1","hashtag2"]},{"1371890529":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890531, 1371890527, 1371890529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.51664662361145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:26:03.288579
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/56/image_10072025_17_56_34_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/17/56/image_10072025_17_56_23_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/17/55/image_10072025_17_55_44_10644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/55/image_10072025_17_55_33_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/17/55/image_10072025_17_55_24_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/55/image_10072025_17_55_14_10681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/56/image_10072025_17_56_34_10647.jpg', '/home/nano/Desktop/images/10072025/17/56/image_10072025_17_56_23_9634.jpg', '/home/nano/Desktop/images/10072025/17/55/image_10072025_17_55_44_10644.jpg', '/home/nano/Desktop/images/10072025/17/55/image_10072025_17_55_33_9628.jpg', '/home/nano/Desktop/images/10072025/17/55/image_10072025_17_55_24_9644.jpg', '/home/nano/Desktop/images/10072025/17/55/image_10072025_17_55_14_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/56/image_10072025_17_56_34_10647.jpg
/home/nano/Desktop/images/10072025/17/56/image_10072025_17_56_23_9634.jpg
/home/nano/Desktop/images/10072025/17/55/image_10072025_17_55_44_10644.jpg
/home/nano/Desktop/images/10072025/17/55/image_10072025_17_55_33_9628.jpg
/home/nano/Desktop/images/10072025/17/55/image_10072025_17_55_24_9644.jpg
/home/nano/Desktop/images/10072025/17/55/image_10072025_17_55_14_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890555","1371890543","1371890546","1371890554","1371890550","1371890553"],"photo_ids_order":["1371890543","1371890546","1371890550","1371890553","1371890554","1371890555"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a34706095000e2fc7c7e20c1b71fdfe0.jpg","text":"TemporaryFile(/tmp/multipartBody2826100400438484757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323226065,"filename":"image_10072025_17_55_14_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a68f31773da23f3c3aec37c97dd0e89.jpg","text":"TemporaryFile(/tmp/multipartBody6063317390844097657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323226065,"filename":"image_10072025_17_56_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7d9ee0ae84f84abf8ced2d72d5d02ac.jpg","text":"TemporaryFile(/tmp/multipartBody5854027200155760476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323226065,"filename":"image_10072025_17_56_23_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c852569d42577dbc15d1b3de147e6faa.jpg","text":"TemporaryFile(/tmp/multipartBody1873782224342691251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323226065,"filename":"image_10072025_17_55_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dfc833966b4403e8e5a526025996ebf4.jpg","text":"TemporaryFile(/tmp/multipartBody3415080769660908081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323226065,"filename":"image_10072025_17_55_44_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/822ddc6e493ac2bee88e42fc22d4951c.jpg","text":"TemporaryFile(/tmp/multipartBody8677638099892617013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323226065,"filename":"image_10072025_17_55_33_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890550","file1":"1371890546","file0":"1371890543","file4":"1371890554","file5":"1371890555","file3":"1371890553"},"map_files_photo_id_array":[{"photo_id":"1371890555","filename":"file5"},{"photo_id":"1371890550","filename":"file2"},{"photo_id":"1371890554","filename":"file4"},{"photo_id":"1371890546","filename":"file1"},{"photo_id":"1371890543","filename":"file0"},{"photo_id":"1371890553","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890555":["hashtag1","hashtag2"]},{"1371890543":["hashtag1","hashtag2"]},{"1371890546":["hashtag1","hashtag2"]},{"1371890554":["hashtag1","hashtag2"]},{"1371890550":["hashtag1","hashtag2"]},{"1371890553":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890555, 1371890543, 1371890546, 1371890554, 1371890550, 1371890553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15551805496216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:26:47.762872
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_44_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_34_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_24_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_14_9677.jpg', 2), ('/home/nano/Desktop/images/12072025/14/25/image_12072025_14_26_04_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/14/25/image_12072025_14_25_53_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_44_9638.jpg', '/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_34_9651.jpg', '/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_24_10651.jpg', '/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_14_9677.jpg', '/home/nano/Desktop/images/12072025/14/25/image_12072025_14_26_04_10654.jpg', '/home/nano/Desktop/images/12072025/14/25/image_12072025_14_25_53_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_44_9638.jpg
/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_34_9651.jpg
/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_24_10651.jpg
/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_14_9677.jpg
/home/nano/Desktop/images/12072025/14/25/image_12072025_14_26_04_10654.jpg
/home/nano/Desktop/images/12072025/14/25/image_12072025_14_25_53_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890564","1371890558","1371890566","1371890560","1371890562","1371890568"],"photo_ids_order":["1371890558","1371890560","1371890562","1371890564","1371890566","1371890568"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68117a2e9ed5c5b7dfce1c0db0b5e65e.jpg","text":"TemporaryFile(/tmp/multipartBody5615361526867266292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323269668,"filename":"image_12072025_14_26_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9c0e43ba60c7561761bdd8b6478a52e.jpg","text":"TemporaryFile(/tmp/multipartBody1371626977080257383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323269668,"filename":"image_12072025_14_26_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73ad35d1b12de9f4c53bf00598010212.jpg","text":"TemporaryFile(/tmp/multipartBody8956515618681650530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323269668,"filename":"image_12072025_14_26_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0132b19e22dc07001553575a1a5f90e2.jpg","text":"TemporaryFile(/tmp/multipartBody4667079491030340044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323269668,"filename":"image_12072025_14_26_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1d73bdd46cff617fef14a9ace0ada59.jpg","text":"TemporaryFile(/tmp/multipartBody2713256439573941414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323269668,"filename":"image_12072025_14_26_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f8f9dd9d99f9c1e16cbb885226b4316.jpg","text":"TemporaryFile(/tmp/multipartBody4322595977901173011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323269668,"filename":"image_12072025_14_25_53_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890562","file1":"1371890560","file0":"1371890558","file4":"1371890566","file5":"1371890568","file3":"1371890564"},"map_files_photo_id_array":[{"photo_id":"1371890568","filename":"file5"},{"photo_id":"1371890562","filename":"file2"},{"photo_id":"1371890566","filename":"file4"},{"photo_id":"1371890560","filename":"file1"},{"photo_id":"1371890558","filename":"file0"},{"photo_id":"1371890564","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890564":["hashtag1","hashtag2"]},{"1371890558":["hashtag1","hashtag2"]},{"1371890566":["hashtag1","hashtag2"]},{"1371890560":["hashtag1","hashtag2"]},{"1371890562":["hashtag1","hashtag2"]},{"1371890568":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890564, 1371890558, 1371890566, 1371890560, 1371890562, 1371890568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15426254272461 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:27:31.849423
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_44_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_34_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_24_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_14_9676.jpg', 2), ('/home/nano/Desktop/images/12072025/14/26/image_12072025_14_27_04_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_44_9646.jpg', '/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_34_9642.jpg', '/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_24_10651.jpg', '/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_14_9676.jpg', '/home/nano/Desktop/images/12072025/14/26/image_12072025_14_27_04_9656.jpg', '/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_44_9646.jpg
/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_34_9642.jpg
/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_24_10651.jpg
/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_14_9676.jpg
/home/nano/Desktop/images/12072025/14/26/image_12072025_14_27_04_9656.jpg
/home/nano/Desktop/images/12072025/14/26/image_12072025_14_26_54_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890576","1371890579","1371890575","1371890583","1371890586","1371890574"],"photo_ids_order":["1371890574","1371890575","1371890576","1371890579","1371890583","1371890586"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dcaba237325126ed0aa772c16f389979.jpg","text":"TemporaryFile(/tmp/multipartBody485516776536761184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323313293,"filename":"image_12072025_14_27_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88af37ff820bdf61f974b63f88924000.jpg","text":"TemporaryFile(/tmp/multipartBody8177044737831051469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323313293,"filename":"image_12072025_14_27_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3da56539d2ecce09ab4fc795e5db474.jpg","text":"TemporaryFile(/tmp/multipartBody7420774195796540975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323313293,"filename":"image_12072025_14_27_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/49a103b5dd4be9b79fb5889c62db5022.jpg","text":"TemporaryFile(/tmp/multipartBody1588302322795178895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323313293,"filename":"image_12072025_14_27_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09fe6fe6ffe968244726de62a2bb1699.jpg","text":"TemporaryFile(/tmp/multipartBody4529642350652065868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323313293,"filename":"image_12072025_14_26_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3dbdd77527141c05c998a60aca218264.jpg","text":"TemporaryFile(/tmp/multipartBody5296124567906987985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323313293,"filename":"image_12072025_14_27_44_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890576","file1":"1371890575","file0":"1371890574","file4":"1371890583","file5":"1371890586","file3":"1371890579"},"map_files_photo_id_array":[{"photo_id":"1371890586","filename":"file5"},{"photo_id":"1371890576","filename":"file2"},{"photo_id":"1371890583","filename":"file4"},{"photo_id":"1371890575","filename":"file1"},{"photo_id":"1371890574","filename":"file0"},{"photo_id":"1371890579","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890576":["hashtag1","hashtag2"]},{"1371890579":["hashtag1","hashtag2"]},{"1371890575":["hashtag1","hashtag2"]},{"1371890583":["hashtag1","hashtag2"]},{"1371890586":["hashtag1","hashtag2"]},{"1371890574":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890576, 1371890579, 1371890575, 1371890583, 1371890586, 1371890574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97316384315491 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:28:17.013698
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_43_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_34_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_24_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_14_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/14/27/image_12072025_14_28_04_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_54_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_43_9646.jpg', '/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_34_9645.jpg', '/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_24_10652.jpg', '/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_14_9662.jpg', '/home/nano/Desktop/images/12072025/14/27/image_12072025_14_28_04_9671.jpg', '/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_54_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_43_9646.jpg
/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_34_9645.jpg
/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_24_10652.jpg
/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_14_9662.jpg
/home/nano/Desktop/images/12072025/14/27/image_12072025_14_28_04_9671.jpg
/home/nano/Desktop/images/12072025/14/27/image_12072025_14_27_54_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890594","1371890597","1371890593","1371890595","1371890598","1371890592"],"photo_ids_order":["1371890592","1371890593","1371890594","1371890595","1371890597","1371890598"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4956bf8ebb4e0fd1208eb28c11ca735.jpg","text":"TemporaryFile(/tmp/multipartBody6090750025736757293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323358469,"filename":"image_12072025_14_28_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d0be6769c6fb7d6c7e043521b1341f9.jpg","text":"TemporaryFile(/tmp/multipartBody3243659208762994687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323358469,"filename":"image_12072025_14_28_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/abf173da56f47f156cf92babb662e1ca.jpg","text":"TemporaryFile(/tmp/multipartBody2043294706106261913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323358469,"filename":"image_12072025_14_28_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac0b34be87e0a7dc27e5baf225ec7eb8.jpg","text":"TemporaryFile(/tmp/multipartBody2270913439069050602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323358469,"filename":"image_12072025_14_28_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51bb0b2eab46329688b1ee1df1ab7b01.jpg","text":"TemporaryFile(/tmp/multipartBody4197731004229593528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323358469,"filename":"image_12072025_14_27_54_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7bb79b1f7aeec6cde87648c34b48d8be.jpg","text":"TemporaryFile(/tmp/multipartBody6848523638649178785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323358469,"filename":"image_12072025_14_28_43_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890594","file1":"1371890593","file0":"1371890592","file4":"1371890597","file5":"1371890598","file3":"1371890595"},"map_files_photo_id_array":[{"photo_id":"1371890598","filename":"file5"},{"photo_id":"1371890594","filename":"file2"},{"photo_id":"1371890597","filename":"file4"},{"photo_id":"1371890593","filename":"file1"},{"photo_id":"1371890592","filename":"file0"},{"photo_id":"1371890595","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890594":["hashtag1","hashtag2"]},{"1371890597":["hashtag1","hashtag2"]},{"1371890593":["hashtag1","hashtag2"]},{"1371890595":["hashtag1","hashtag2"]},{"1371890598":["hashtag1","hashtag2"]},{"1371890592":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890594, 1371890597, 1371890593, 1371890595, 1371890598, 1371890592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.52936267852783 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:29:17.045559
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_43_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_34_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_24_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_13_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/14/28/image_12072025_14_29_04_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_54_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_43_9635.jpg', '/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_34_9641.jpg', '/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_24_10652.jpg', '/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_13_9683.jpg', '/home/nano/Desktop/images/12072025/14/28/image_12072025_14_29_04_9661.jpg', '/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_54_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_43_9635.jpg
/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_34_9641.jpg
/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_24_10652.jpg
/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_13_9683.jpg
/home/nano/Desktop/images/12072025/14/28/image_12072025_14_29_04_9661.jpg
/home/nano/Desktop/images/12072025/14/28/image_12072025_14_28_54_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890604","1371890612","1371890609","1371890603","1371890611","1371890613"],"photo_ids_order":["1371890603","1371890604","1371890609","1371890611","1371890612","1371890613"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e248ad5fc037cfa90cff075bd90a9efc.jpg","text":"TemporaryFile(/tmp/multipartBody5251833881501052546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323418406,"filename":"image_12072025_14_29_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/205d8da4cff37810a574b4963a155b6c.jpg","text":"TemporaryFile(/tmp/multipartBody3686192646262852175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323418406,"filename":"image_12072025_14_29_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b01d7d92a7b4779d651cac8e52127e1b.jpg","text":"TemporaryFile(/tmp/multipartBody5406254141499087301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323418406,"filename":"image_12072025_14_29_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/350296d63c46359939b5dd84c08d45e9.jpg","text":"TemporaryFile(/tmp/multipartBody6355943700971578725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323418406,"filename":"image_12072025_14_29_43_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df5bbeedcfc38e1e5dbc11fc368c2eed.jpg","text":"TemporaryFile(/tmp/multipartBody4716846652783763632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323418406,"filename":"image_12072025_14_29_13_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17f3fd38d48e379a976f786ddc4501ef.jpg","text":"TemporaryFile(/tmp/multipartBody6155056137593850338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323418406,"filename":"image_12072025_14_28_54_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890609","file1":"1371890604","file0":"1371890603","file4":"1371890612","file5":"1371890613","file3":"1371890611"},"map_files_photo_id_array":[{"photo_id":"1371890613","filename":"file5"},{"photo_id":"1371890609","filename":"file2"},{"photo_id":"1371890612","filename":"file4"},{"photo_id":"1371890604","filename":"file1"},{"photo_id":"1371890603","filename":"file0"},{"photo_id":"1371890611","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890604":["hashtag1","hashtag2"]},{"1371890612":["hashtag1","hashtag2"]},{"1371890609":["hashtag1","hashtag2"]},{"1371890603":["hashtag1","hashtag2"]},{"1371890611":["hashtag1","hashtag2"]},{"1371890613":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890604, 1371890612, 1371890609, 1371890603, 1371890611, 1371890613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.73425340652466 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:30:17.154427
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/30/image_12072025_14_30_34_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/14/30/image_12072025_14_30_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/30/image_12072025_14_30_13_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/14/29/image_12072025_14_30_04_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_54_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/30/image_12072025_14_30_34_9667.jpg', '/home/nano/Desktop/images/12072025/14/30/image_12072025_14_30_24_10648.jpg', '/home/nano/Desktop/images/12072025/14/30/image_12072025_14_30_13_9665.jpg', '/home/nano/Desktop/images/12072025/14/29/image_12072025_14_30_04_9642.jpg', '/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_54_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/30/image_12072025_14_30_34_9667.jpg
/home/nano/Desktop/images/12072025/14/30/image_12072025_14_30_24_10648.jpg
/home/nano/Desktop/images/12072025/14/30/image_12072025_14_30_13_9665.jpg
/home/nano/Desktop/images/12072025/14/29/image_12072025_14_30_04_9642.jpg
/home/nano/Desktop/images/12072025/14/29/image_12072025_14_29_54_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890618","1371890615","1371890620","1371890614","1371890616"],"photo_ids_order":["1371890614","1371890615","1371890616","1371890618","1371890620"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7e7340e44c4600de6b9aeb225873985.jpg","text":"TemporaryFile(/tmp/multipartBody5591961861707802960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323478730,"filename":"image_12072025_14_30_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8979a90842a7cf2fae9cc4281282bb3b.jpg","text":"TemporaryFile(/tmp/multipartBody260016161314133668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323478730,"filename":"image_12072025_14_30_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f540cc584f0f77dd80d29181124c736c.jpg","text":"TemporaryFile(/tmp/multipartBody290198086041640342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323478730,"filename":"image_12072025_14_29_54_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30cd99845dab5730d186b3322065f964.jpg","text":"TemporaryFile(/tmp/multipartBody4646844328483069650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323478730,"filename":"image_12072025_14_30_34_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f75dfad912d7100fdbfa450efb3719c.jpg","text":"TemporaryFile(/tmp/multipartBody2804761092998727559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323478730,"filename":"image_12072025_14_30_13_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890616","file1":"1371890615","file0":"1371890614","file4":"1371890620","file3":"1371890618"},"map_files_photo_id_array":[{"photo_id":"1371890616","filename":"file2"},{"photo_id":"1371890620","filename":"file4"},{"photo_id":"1371890615","filename":"file1"},{"photo_id":"1371890614","filename":"file0"},{"photo_id":"1371890618","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890618":["hashtag1","hashtag2"]},{"1371890615":["hashtag1","hashtag2"]},{"1371890620":["hashtag1","hashtag2"]},{"1371890614":["hashtag1","hashtag2"]},{"1371890616":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890618, 1371890615, 1371890620, 1371890614, 1371890616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.607860803604126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:31:02.876600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/54/image_10072025_17_55_03_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/54/image_10072025_17_54_54_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/17/54/image_10072025_17_54_44_10644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/54/image_10072025_17_54_24_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/17/53/image_10072025_17_54_03_9640.jpg', 2), ('/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_54_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/54/image_10072025_17_55_03_9633.jpg', '/home/nano/Desktop/images/10072025/17/54/image_10072025_17_54_54_9643.jpg', '/home/nano/Desktop/images/10072025/17/54/image_10072025_17_54_44_10644.jpg', '/home/nano/Desktop/images/10072025/17/54/image_10072025_17_54_24_9637.jpg', '/home/nano/Desktop/images/10072025/17/53/image_10072025_17_54_03_9640.jpg', '/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_54_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/54/image_10072025_17_55_03_9633.jpg
/home/nano/Desktop/images/10072025/17/54/image_10072025_17_54_54_9643.jpg
/home/nano/Desktop/images/10072025/17/54/image_10072025_17_54_44_10644.jpg
/home/nano/Desktop/images/10072025/17/54/image_10072025_17_54_24_9637.jpg
/home/nano/Desktop/images/10072025/17/53/image_10072025_17_54_03_9640.jpg
/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_54_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890633","1371890668","1371890743","1371890716","1371890691","1371890640"],"photo_ids_order":["1371890633","1371890640","1371890668","1371890691","1371890716","1371890743"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e37c6dab130d118d2a52b9d0a3f92c53.jpg","text":"TemporaryFile(/tmp/multipartBody4589558906054572684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323525645,"filename":"image_10072025_17_55_03_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d29db37bbe9cd4e3dbe90f96e30b9efc.jpg","text":"TemporaryFile(/tmp/multipartBody602976347482585837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323525645,"filename":"image_10072025_17_54_44_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b7a8d8a83272193d6b68751d70b8d11.jpg","text":"TemporaryFile(/tmp/multipartBody1418153228619067526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323525645,"filename":"image_10072025_17_53_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e754b6e0758767cd540a61d757d62ee.jpg","text":"TemporaryFile(/tmp/multipartBody7459934728506111493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323525645,"filename":"image_10072025_17_54_03_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9757ac9f10826fbc5f01c8778865b452.jpg","text":"TemporaryFile(/tmp/multipartBody521760127117717458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323525645,"filename":"image_10072025_17_54_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/767885cd062bcef13133a1f04754ad68.jpg","text":"TemporaryFile(/tmp/multipartBody5937861415040401726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323525645,"filename":"image_10072025_17_54_54_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890668","file1":"1371890640","file0":"1371890633","file4":"1371890716","file5":"1371890743","file3":"1371890691"},"map_files_photo_id_array":[{"photo_id":"1371890743","filename":"file5"},{"photo_id":"1371890668","filename":"file2"},{"photo_id":"1371890716","filename":"file4"},{"photo_id":"1371890640","filename":"file1"},{"photo_id":"1371890633","filename":"file0"},{"photo_id":"1371890691","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371890633":["hashtag1","hashtag2"]},{"1371890668":["hashtag1","hashtag2"]},{"1371890743":["hashtag1","hashtag2"]},{"1371890716":["hashtag1","hashtag2"]},{"1371890691":["hashtag1","hashtag2"]},{"1371890640":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371890633, 1371890668, 1371890743, 1371890716, 1371890691, 1371890640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06303071975708 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:31:47.237908
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_34_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_24_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_14_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/14/30/image_12072025_14_31_04_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/14/30/image_12072025_14_30_54_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_44_10649.jpg', '/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_34_9659.jpg', '/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_24_9645.jpg', '/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_14_10671.jpg', '/home/nano/Desktop/images/12072025/14/30/image_12072025_14_31_04_9646.jpg', '/home/nano/Desktop/images/12072025/14/30/image_12072025_14_30_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_44_10649.jpg
/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_34_9659.jpg
/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_24_9645.jpg
/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_14_10671.jpg
/home/nano/Desktop/images/12072025/14/30/image_12072025_14_31_04_9646.jpg
/home/nano/Desktop/images/12072025/14/30/image_12072025_14_30_54_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890873","1371890837","1371890924","1371890902","1371890835","1371890850"],"photo_ids_order":["1371890835","1371890837","1371890850","1371890873","1371890902","1371890924"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd8bf224fe66876acea3f8084bc7671f.jpg","text":"TemporaryFile(/tmp/multipartBody9104282432783619331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323568565,"filename":"image_12072025_14_31_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4dd05a158424545f8be361bbe48b28bc.jpg","text":"TemporaryFile(/tmp/multipartBody3776940833498578421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323568565,"filename":"image_12072025_14_31_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/739718d8c6c002485869560541a7ce87.jpg","text":"TemporaryFile(/tmp/multipartBody8980466070895577560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323568565,"filename":"image_12072025_14_30_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40f2ec00b533a10c4f3103095f3915c6.jpg","text":"TemporaryFile(/tmp/multipartBody2334535365127755815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323568565,"filename":"image_12072025_14_31_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b306c0d0550887b94c3e3b5b43b43c65.jpg","text":"TemporaryFile(/tmp/multipartBody1613346816440629029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323568565,"filename":"image_12072025_14_31_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52e8476803839a418035dcbcd854e42a.jpg","text":"TemporaryFile(/tmp/multipartBody5769821083730663859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323568565,"filename":"image_12072025_14_31_24_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890850","file1":"1371890837","file0":"1371890835","file4":"1371890902","file5":"1371890924","file3":"1371890873"},"map_files_photo_id_array":[{"photo_id":"1371890924","filename":"file5"},{"photo_id":"1371890850","filename":"file2"},{"photo_id":"1371890902","filename":"file4"},{"photo_id":"1371890837","filename":"file1"},{"photo_id":"1371890835","filename":"file0"},{"photo_id":"1371890873","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890873":["hashtag1","hashtag2"]},{"1371890837":["hashtag1","hashtag2"]},{"1371890924":["hashtag1","hashtag2"]},{"1371890902":["hashtag1","hashtag2"]},{"1371890835":["hashtag1","hashtag2"]},{"1371890850":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890873, 1371890837, 1371890924, 1371890902, 1371890835, 1371890850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.904237270355225 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:32:32.347595
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_44_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_14_10686.jpg', 2), ('/home/nano/Desktop/images/12072025/14/31/image_12072025_14_32_04_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_44_10657.jpg', '/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_33_9640.jpg', '/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_24_9638.jpg', '/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_14_10686.jpg', '/home/nano/Desktop/images/12072025/14/31/image_12072025_14_32_04_9659.jpg', '/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_54_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_44_10657.jpg
/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_33_9640.jpg
/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_24_9638.jpg
/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_14_10686.jpg
/home/nano/Desktop/images/12072025/14/31/image_12072025_14_32_04_9659.jpg
/home/nano/Desktop/images/12072025/14/31/image_12072025_14_31_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371890999","1371890998","1371890997","1371891003","1371891006","1371891000"],"photo_ids_order":["1371890997","1371890998","1371890999","1371891000","1371891003","1371891006"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b48f1a9ea4aec83fafe499b10718dbf7.jpg","text":"TemporaryFile(/tmp/multipartBody6295037328190758310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323614023,"filename":"image_12072025_14_32_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad44582df372fe6ec46d7ce29ce2b50c.jpg","text":"TemporaryFile(/tmp/multipartBody8964366190231802977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323614023,"filename":"image_12072025_14_32_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37772bb1e7a12a39028aaeb6c3ee406a.jpg","text":"TemporaryFile(/tmp/multipartBody8290019893263352587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323614023,"filename":"image_12072025_14_32_44_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eafe7f2c37249845e76ddbcdb0243e69.jpg","text":"TemporaryFile(/tmp/multipartBody8053962696585483258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323614023,"filename":"image_12072025_14_32_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/643afdba61a4daa875576bbf2346c17e.jpg","text":"TemporaryFile(/tmp/multipartBody6419755039736639864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323614023,"filename":"image_12072025_14_31_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ac4ecd789e2f57664b5e3f03575f7d0.jpg","text":"TemporaryFile(/tmp/multipartBody1596121916652182104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323614023,"filename":"image_12072025_14_32_14_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371890999","file1":"1371890998","file0":"1371890997","file4":"1371891003","file5":"1371891006","file3":"1371891000"},"map_files_photo_id_array":[{"photo_id":"1371891006","filename":"file5"},{"photo_id":"1371890999","filename":"file2"},{"photo_id":"1371891003","filename":"file4"},{"photo_id":"1371890998","filename":"file1"},{"photo_id":"1371890997","filename":"file0"},{"photo_id":"1371891000","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371890999":["hashtag1","hashtag2"]},{"1371890998":["hashtag1","hashtag2"]},{"1371890997":["hashtag1","hashtag2"]},{"1371891003":["hashtag1","hashtag2"]},{"1371891006":["hashtag1","hashtag2"]},{"1371891000":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371890999, 1371890998, 1371890997, 1371891003, 1371891006, 1371891000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56980347633362 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:33:17.462786
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/33/image_12072025_14_33_44_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/14/33/image_12072025_14_33_24_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/33/image_12072025_14_33_14_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/14/32/image_12072025_14_33_03_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_54_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/33/image_12072025_14_33_44_10657.jpg', '/home/nano/Desktop/images/12072025/14/33/image_12072025_14_33_24_9642.jpg', '/home/nano/Desktop/images/12072025/14/33/image_12072025_14_33_14_10671.jpg', '/home/nano/Desktop/images/12072025/14/32/image_12072025_14_33_03_9658.jpg', '/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_54_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/33/image_12072025_14_33_44_10657.jpg
/home/nano/Desktop/images/12072025/14/33/image_12072025_14_33_24_9642.jpg
/home/nano/Desktop/images/12072025/14/33/image_12072025_14_33_14_10671.jpg
/home/nano/Desktop/images/12072025/14/32/image_12072025_14_33_03_9658.jpg
/home/nano/Desktop/images/12072025/14/32/image_12072025_14_32_54_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891041","1371891043","1371891040","1371891042","1371891039"],"photo_ids_order":["1371891039","1371891040","1371891041","1371891042","1371891043"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04f3b8190635e8017f11f66cd5064296.jpg","text":"TemporaryFile(/tmp/multipartBody5215613173620294796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323658787,"filename":"image_12072025_14_33_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e2832b6df32834592dcbccbfab62b9a.jpg","text":"TemporaryFile(/tmp/multipartBody2431381756966182111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323658787,"filename":"image_12072025_14_32_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe50e229bc99b019abaa9d67258c40f4.jpg","text":"TemporaryFile(/tmp/multipartBody506657749388617180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323658787,"filename":"image_12072025_14_33_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ed353520e831f7351a810352b954aa5.jpg","text":"TemporaryFile(/tmp/multipartBody6171853033931317047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323658787,"filename":"image_12072025_14_33_03_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/739dbaf10cfdbd72684f8a23df6da470.jpg","text":"TemporaryFile(/tmp/multipartBody8106522291633175598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323658787,"filename":"image_12072025_14_33_44_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891041","file1":"1371891040","file0":"1371891039","file4":"1371891043","file3":"1371891042"},"map_files_photo_id_array":[{"photo_id":"1371891041","filename":"file2"},{"photo_id":"1371891043","filename":"file4"},{"photo_id":"1371891040","filename":"file1"},{"photo_id":"1371891039","filename":"file0"},{"photo_id":"1371891042","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891041":["hashtag1","hashtag2"]},{"1371891043":["hashtag1","hashtag2"]},{"1371891040":["hashtag1","hashtag2"]},{"1371891042":["hashtag1","hashtag2"]},{"1371891039":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891041, 1371891043, 1371891040, 1371891042, 1371891039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.0820951461792 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:33:47.450146
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_43_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_33_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/52/image_10072025_17_53_04_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_54_10644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_43_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_34_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_43_9634.jpg', '/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_33_9633.jpg', '/home/nano/Desktop/images/10072025/17/52/image_10072025_17_53_04_9633.jpg', '/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_54_10644.jpg', '/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_43_9625.jpg', '/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_34_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_43_9634.jpg
/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_33_9633.jpg
/home/nano/Desktop/images/10072025/17/52/image_10072025_17_53_04_9633.jpg
/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_54_10644.jpg
/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_43_9625.jpg
/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_34_9635.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.750282049179077 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:34:03.236571
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_43_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_33_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/52/image_10072025_17_53_04_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_54_10644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_43_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_34_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_43_9634.jpg', '/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_33_9633.jpg', '/home/nano/Desktop/images/10072025/17/52/image_10072025_17_53_04_9633.jpg', '/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_54_10644.jpg', '/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_43_9625.jpg', '/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_34_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_43_9634.jpg
/home/nano/Desktop/images/10072025/17/53/image_10072025_17_53_33_9633.jpg
/home/nano/Desktop/images/10072025/17/52/image_10072025_17_53_04_9633.jpg
/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_54_10644.jpg
/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_43_9625.jpg
/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_34_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891067","1371891064","1371891066","1371891060","1371891062","1371891065"],"photo_ids_order":["1371891060","1371891062","1371891064","1371891065","1371891066","1371891067"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d490b9b5cbb38d5e28286a2daee386bc.jpg","text":"TemporaryFile(/tmp/multipartBody7317198765088543343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323706251,"filename":"image_10072025_17_52_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37360b3ad6b355a6c40d41d2db904b30.jpg","text":"TemporaryFile(/tmp/multipartBody2867667090204029104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323706251,"filename":"image_10072025_17_53_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47a846e4d706431b31fcb6d3608bc74a.jpg","text":"TemporaryFile(/tmp/multipartBody5673038302705505460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323706251,"filename":"image_10072025_17_52_43_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00a668214ff2ffef26be2a056458b7aa.jpg","text":"TemporaryFile(/tmp/multipartBody3661407583803421039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323706251,"filename":"image_10072025_17_53_43_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/916ba42d06d1fdd98ceb3186dc28db9d.jpg","text":"TemporaryFile(/tmp/multipartBody8904675945790194077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323706251,"filename":"image_10072025_17_53_33_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/510c82971fd2289a7329f7beefe69fd3.jpg","text":"TemporaryFile(/tmp/multipartBody3225353868832203078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323706251,"filename":"image_10072025_17_52_54_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891064","file1":"1371891062","file0":"1371891060","file4":"1371891066","file5":"1371891067","file3":"1371891065"},"map_files_photo_id_array":[{"photo_id":"1371891067","filename":"file5"},{"photo_id":"1371891064","filename":"file2"},{"photo_id":"1371891066","filename":"file4"},{"photo_id":"1371891062","filename":"file1"},{"photo_id":"1371891060","filename":"file0"},{"photo_id":"1371891065","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371891067":["hashtag1","hashtag2"]},{"1371891064":["hashtag1","hashtag2"]},{"1371891066":["hashtag1","hashtag2"]},{"1371891060":["hashtag1","hashtag2"]},{"1371891062":["hashtag1","hashtag2"]},{"1371891065":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371891067, 1371891064, 1371891066, 1371891060, 1371891062, 1371891065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55241847038269 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:34:47.574319
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_33_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_24_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_14_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/14/33/image_12072025_14_33_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_44_10648.jpg', '/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_33_9644.jpg', '/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_24_9640.jpg', '/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_14_10669.jpg', '/home/nano/Desktop/images/12072025/14/33/image_12072025_14_33_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_44_10648.jpg
/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_33_9644.jpg
/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_24_9640.jpg
/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_14_10669.jpg
/home/nano/Desktop/images/12072025/14/33/image_12072025_14_33_54_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891074","1371891073","1371891069","1371891077","1371891071"],"photo_ids_order":["1371891069","1371891071","1371891073","1371891074","1371891077"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25ce9110b079427552c694469f82b19f.jpg","text":"TemporaryFile(/tmp/multipartBody3684097550984347791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323748939,"filename":"image_12072025_14_34_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9a116766d0c81c29d319eb3bc6241a1.jpg","text":"TemporaryFile(/tmp/multipartBody6770055193368442448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323748939,"filename":"image_12072025_14_34_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/830f29ace7340779d9223a7eea85b97a.jpg","text":"TemporaryFile(/tmp/multipartBody6509342242374635524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323748939,"filename":"image_12072025_14_34_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd94b0554479e4e5477555acfadaad39.jpg","text":"TemporaryFile(/tmp/multipartBody7250321468110343415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323748939,"filename":"image_12072025_14_33_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bcbf04c0b311f1b89ffb28a48b5a8f37.jpg","text":"TemporaryFile(/tmp/multipartBody3203763232281316108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323748939,"filename":"image_12072025_14_34_33_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891073","file1":"1371891071","file0":"1371891069","file4":"1371891077","file3":"1371891074"},"map_files_photo_id_array":[{"photo_id":"1371891073","filename":"file2"},{"photo_id":"1371891077","filename":"file4"},{"photo_id":"1371891071","filename":"file1"},{"photo_id":"1371891069","filename":"file0"},{"photo_id":"1371891074","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891074":["hashtag1","hashtag2"]},{"1371891073":["hashtag1","hashtag2"]},{"1371891069":["hashtag1","hashtag2"]},{"1371891077":["hashtag1","hashtag2"]},{"1371891071":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891074, 1371891073, 1371891069, 1371891077, 1371891071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.169631481170654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:35:17.648504
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_44_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_24_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_14_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/14/34/image_12072025_14_35_04_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_54_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_44_9644.jpg', '/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_34_10653.jpg', '/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_24_9646.jpg', '/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_14_9669.jpg', '/home/nano/Desktop/images/12072025/14/34/image_12072025_14_35_04_10674.jpg', '/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_54_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_44_9644.jpg
/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_34_10653.jpg
/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_24_9646.jpg
/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_14_9669.jpg
/home/nano/Desktop/images/12072025/14/34/image_12072025_14_35_04_10674.jpg
/home/nano/Desktop/images/12072025/14/34/image_12072025_14_34_54_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891085","1371891088","1371891084","1371891087","1371891083","1371891086"],"photo_ids_order":["1371891083","1371891084","1371891085","1371891086","1371891087","1371891088"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc916daf73bc468b6df3ce62b7386243.jpg","text":"TemporaryFile(/tmp/multipartBody8602241853134782537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323779035,"filename":"image_12072025_14_35_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a726af65ee3448f7cf6f5ed9f7c4c842.jpg","text":"TemporaryFile(/tmp/multipartBody1037897502590551012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323779035,"filename":"image_12072025_14_34_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16cb814cb21ffdf8fa60507a2d393732.jpg","text":"TemporaryFile(/tmp/multipartBody8404819032889840650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323779035,"filename":"image_12072025_14_35_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f558fda6ff88941fddf2e8a06021ef62.jpg","text":"TemporaryFile(/tmp/multipartBody2672117529675461133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323779035,"filename":"image_12072025_14_35_04_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c7661f6ecb6a79f7892c175664b6928.jpg","text":"TemporaryFile(/tmp/multipartBody2272515364503653376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323779035,"filename":"image_12072025_14_35_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3284352f5c59069fbff50ce15dba300c.jpg","text":"TemporaryFile(/tmp/multipartBody800028119433417758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323779035,"filename":"image_12072025_14_35_14_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891085","file1":"1371891084","file0":"1371891083","file4":"1371891087","file5":"1371891088","file3":"1371891086"},"map_files_photo_id_array":[{"photo_id":"1371891088","filename":"file5"},{"photo_id":"1371891085","filename":"file2"},{"photo_id":"1371891087","filename":"file4"},{"photo_id":"1371891084","filename":"file1"},{"photo_id":"1371891083","filename":"file0"},{"photo_id":"1371891086","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891085":["hashtag1","hashtag2"]},{"1371891088":["hashtag1","hashtag2"]},{"1371891084":["hashtag1","hashtag2"]},{"1371891087":["hashtag1","hashtag2"]},{"1371891083":["hashtag1","hashtag2"]},{"1371891086":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891085, 1371891088, 1371891084, 1371891087, 1371891083, 1371891086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.770160913467407 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:36:03.209026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_24_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_13_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/17/51/image_10072025_17_52_04_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_43_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_23_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_14_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_24_10638.jpg', '/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_13_9646.jpg', '/home/nano/Desktop/images/10072025/17/51/image_10072025_17_52_04_9639.jpg', '/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_43_9626.jpg', '/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_23_9626.jpg', '/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_14_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_24_10638.jpg
/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_13_9646.jpg
/home/nano/Desktop/images/10072025/17/51/image_10072025_17_52_04_9639.jpg
/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_43_9626.jpg
/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_23_9626.jpg
/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_14_9642.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.771181106567383 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:36:17.734490
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/36/image_12072025_14_36_44_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/36/image_12072025_14_36_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/14/36/image_12072025_14_36_24_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/35/image_12072025_14_36_04_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/36/image_12072025_14_36_44_9642.jpg', '/home/nano/Desktop/images/12072025/14/36/image_12072025_14_36_34_10653.jpg', '/home/nano/Desktop/images/12072025/14/36/image_12072025_14_36_24_9648.jpg', '/home/nano/Desktop/images/12072025/14/35/image_12072025_14_36_04_10659.jpg', '/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/36/image_12072025_14_36_44_9642.jpg
/home/nano/Desktop/images/12072025/14/36/image_12072025_14_36_34_10653.jpg
/home/nano/Desktop/images/12072025/14/36/image_12072025_14_36_24_9648.jpg
/home/nano/Desktop/images/12072025/14/35/image_12072025_14_36_04_10659.jpg
/home/nano/Desktop/images/12072025/14/35/image_12072025_14_35_54_9656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891107","1371891101","1371891106","1371891103","1371891105"],"photo_ids_order":["1371891101","1371891103","1371891105","1371891106","1371891107"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6b6dd8cf15f1f6ef6d04cf887bf3658.jpg","text":"TemporaryFile(/tmp/multipartBody5931264274245261766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323838927,"filename":"image_12072025_14_35_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0fde7158891c5da5d4e07f96d0f74b2a.jpg","text":"TemporaryFile(/tmp/multipartBody5385954908801091297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323838927,"filename":"image_12072025_14_36_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cc9061b96c0457200bf3cee2ad66668.jpg","text":"TemporaryFile(/tmp/multipartBody7297038419160165714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323838927,"filename":"image_12072025_14_36_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/933e1ed2a9879221ff3f9245b3bfd06a.jpg","text":"TemporaryFile(/tmp/multipartBody3868224664999250367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323838927,"filename":"image_12072025_14_36_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ce39c46710babda681183b52e1b0484.jpg","text":"TemporaryFile(/tmp/multipartBody1606816709436467985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323838927,"filename":"image_12072025_14_36_24_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891105","file1":"1371891103","file0":"1371891101","file4":"1371891107","file3":"1371891106"},"map_files_photo_id_array":[{"photo_id":"1371891105","filename":"file2"},{"photo_id":"1371891107","filename":"file4"},{"photo_id":"1371891103","filename":"file1"},{"photo_id":"1371891101","filename":"file0"},{"photo_id":"1371891106","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891107":["hashtag1","hashtag2"]},{"1371891101":["hashtag1","hashtag2"]},{"1371891106":["hashtag1","hashtag2"]},{"1371891103":["hashtag1","hashtag2"]},{"1371891105":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891107, 1371891101, 1371891106, 1371891103, 1371891105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.039963483810425 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:36:47.762339
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_24_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_13_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/17/51/image_10072025_17_52_04_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_43_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_23_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_14_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_24_10638.jpg', '/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_13_9646.jpg', '/home/nano/Desktop/images/10072025/17/51/image_10072025_17_52_04_9639.jpg', '/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_43_9626.jpg', '/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_23_9626.jpg', '/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_14_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_24_10638.jpg
/home/nano/Desktop/images/10072025/17/52/image_10072025_17_52_13_9646.jpg
/home/nano/Desktop/images/10072025/17/51/image_10072025_17_52_04_9639.jpg
/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_43_9626.jpg
/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_23_9626.jpg
/home/nano/Desktop/images/10072025/17/51/image_10072025_17_51_14_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891113","1371891122","1371891116","1371891118","1371891120","1371891111"],"photo_ids_order":["1371891111","1371891113","1371891116","1371891118","1371891120","1371891122"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ccabc2df5ba9660ca2b697e6a7db8e8e.jpg","text":"TemporaryFile(/tmp/multipartBody3998956882255416705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323870677,"filename":"image_10072025_17_52_13_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1dd3fb1246a44c8868e190cd6d54655b.jpg","text":"TemporaryFile(/tmp/multipartBody1066339751113357417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323870677,"filename":"image_10072025_17_51_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82a8bf14b7f478c399553a5928de2bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3444679049031911437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323870677,"filename":"image_10072025_17_52_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a194c03ff5217cabe25f0029b4b2de3.jpg","text":"TemporaryFile(/tmp/multipartBody1300748054316483604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323870677,"filename":"image_10072025_17_51_43_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/caaef7785b1284c2b1ca72a8e8a646bc.jpg","text":"TemporaryFile(/tmp/multipartBody2607207714223965191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323870677,"filename":"image_10072025_17_51_23_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f383df1a03e0320b11fb784c7f79ce4.jpg","text":"TemporaryFile(/tmp/multipartBody4260631541906241726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323870677,"filename":"image_10072025_17_52_24_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891116","file1":"1371891113","file0":"1371891111","file4":"1371891120","file5":"1371891122","file3":"1371891118"},"map_files_photo_id_array":[{"photo_id":"1371891122","filename":"file5"},{"photo_id":"1371891116","filename":"file2"},{"photo_id":"1371891120","filename":"file4"},{"photo_id":"1371891113","filename":"file1"},{"photo_id":"1371891111","filename":"file0"},{"photo_id":"1371891118","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371891113":["hashtag1","hashtag2"]},{"1371891122":["hashtag1","hashtag2"]},{"1371891116":["hashtag1","hashtag2"]},{"1371891118":["hashtag1","hashtag2"]},{"1371891120":["hashtag1","hashtag2"]},{"1371891111":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371891113, 1371891122, 1371891116, 1371891118, 1371891120, 1371891111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.193469524383545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:37:31.874539
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_44_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_23_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_14_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/14/36/image_12072025_14_37_04_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/14/36/image_12072025_14_36_53_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_44_9643.jpg', '/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_34_10650.jpg', '/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_23_9657.jpg', '/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_14_9668.jpg', '/home/nano/Desktop/images/12072025/14/36/image_12072025_14_37_04_10677.jpg', '/home/nano/Desktop/images/12072025/14/36/image_12072025_14_36_53_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_44_9643.jpg
/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_34_10650.jpg
/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_23_9657.jpg
/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_14_9668.jpg
/home/nano/Desktop/images/12072025/14/36/image_12072025_14_37_04_10677.jpg
/home/nano/Desktop/images/12072025/14/36/image_12072025_14_36_53_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891131","1371891125","1371891128","1371891124","1371891133","1371891127"],"photo_ids_order":["1371891124","1371891125","1371891127","1371891128","1371891131","1371891133"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c95ee09b16b912a744c6eac2fdbfb65.jpg","text":"TemporaryFile(/tmp/multipartBody2234201307894579856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323913440,"filename":"image_12072025_14_37_04_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0973a6ace103a41b0c939603742f0ef4.jpg","text":"TemporaryFile(/tmp/multipartBody2657370627254480500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323913440,"filename":"image_12072025_14_37_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba566b3adf733ff6790f2773f6868286.jpg","text":"TemporaryFile(/tmp/multipartBody7775343630772378564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323913440,"filename":"image_12072025_14_37_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78b06340db60b1e5e5af89975325e051.jpg","text":"TemporaryFile(/tmp/multipartBody2117956317249531543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323913440,"filename":"image_12072025_14_37_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3971c3cd737fa7405b9055ac90bcaa93.jpg","text":"TemporaryFile(/tmp/multipartBody4403678041424986768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323913440,"filename":"image_12072025_14_36_53_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed50b425a51f6da4c541141bd1cfc013.jpg","text":"TemporaryFile(/tmp/multipartBody5353796794429784551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323913440,"filename":"image_12072025_14_37_23_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891127","file1":"1371891125","file0":"1371891124","file4":"1371891131","file5":"1371891133","file3":"1371891128"},"map_files_photo_id_array":[{"photo_id":"1371891133","filename":"file5"},{"photo_id":"1371891127","filename":"file2"},{"photo_id":"1371891131","filename":"file4"},{"photo_id":"1371891125","filename":"file1"},{"photo_id":"1371891124","filename":"file0"},{"photo_id":"1371891128","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891131":["hashtag1","hashtag2"]},{"1371891125":["hashtag1","hashtag2"]},{"1371891128":["hashtag1","hashtag2"]},{"1371891124":["hashtag1","hashtag2"]},{"1371891133":["hashtag1","hashtag2"]},{"1371891127":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891131, 1371891125, 1371891128, 1371891124, 1371891133, 1371891127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.137038469314575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:38:31.977884
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_44_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_34_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_23_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_14_9697.jpg', 2), ('/home/nano/Desktop/images/12072025/14/37/image_12072025_14_38_04_10692.jpg', 2), ('/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_53_9669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_44_9648.jpg', '/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_34_10657.jpg', '/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_23_9648.jpg', '/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_14_9697.jpg', '/home/nano/Desktop/images/12072025/14/37/image_12072025_14_38_04_10692.jpg', '/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_53_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_44_9648.jpg
/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_34_10657.jpg
/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_23_9648.jpg
/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_14_9697.jpg
/home/nano/Desktop/images/12072025/14/37/image_12072025_14_38_04_10692.jpg
/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_53_9669.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.538407564163208 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:38:46.992370
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_44_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_34_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_23_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_14_9697.jpg', 2), ('/home/nano/Desktop/images/12072025/14/37/image_12072025_14_38_04_10692.jpg', 2), ('/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_53_9669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_44_9648.jpg', '/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_34_10657.jpg', '/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_23_9648.jpg', '/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_14_9697.jpg', '/home/nano/Desktop/images/12072025/14/37/image_12072025_14_38_04_10692.jpg', '/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_53_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_44_9648.jpg
/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_34_10657.jpg
/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_23_9648.jpg
/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_14_9697.jpg
/home/nano/Desktop/images/12072025/14/37/image_12072025_14_38_04_10692.jpg
/home/nano/Desktop/images/12072025/14/37/image_12072025_14_37_53_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891146","1371891149","1371891142","1371891145","1371891147","1371891144"],"photo_ids_order":["1371891142","1371891144","1371891145","1371891146","1371891147","1371891149"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d48831ee218024cb738336f1a674b21.jpg","text":"TemporaryFile(/tmp/multipartBody7290541457553458743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323988343,"filename":"image_12072025_14_38_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db514eb499d124d1c9e26b3fb8fb0442.jpg","text":"TemporaryFile(/tmp/multipartBody1220347921781351604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323988343,"filename":"image_12072025_14_37_53_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f78a979f9df96029efab51f150a5d47.jpg","text":"TemporaryFile(/tmp/multipartBody2206552943147612575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323988343,"filename":"image_12072025_14_38_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d11ad7abcd2dc21ae9de2397b76d6bd.jpg","text":"TemporaryFile(/tmp/multipartBody8907397347782847199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323988343,"filename":"image_12072025_14_38_23_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/221529970c68fc911c932b760f2ef1d3.jpg","text":"TemporaryFile(/tmp/multipartBody2462527777247945234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323988343,"filename":"image_12072025_14_38_04_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa119485b953f22859a46bdf54c27bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5190845747359738490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752323988343,"filename":"image_12072025_14_38_34_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891145","file1":"1371891144","file0":"1371891142","file4":"1371891147","file5":"1371891149","file3":"1371891146"},"map_files_photo_id_array":[{"photo_id":"1371891149","filename":"file5"},{"photo_id":"1371891145","filename":"file2"},{"photo_id":"1371891147","filename":"file4"},{"photo_id":"1371891144","filename":"file1"},{"photo_id":"1371891142","filename":"file0"},{"photo_id":"1371891146","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891146":["hashtag1","hashtag2"]},{"1371891149":["hashtag1","hashtag2"]},{"1371891142":["hashtag1","hashtag2"]},{"1371891145":["hashtag1","hashtag2"]},{"1371891147":["hashtag1","hashtag2"]},{"1371891144":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891146, 1371891149, 1371891142, 1371891145, 1371891147, 1371891144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.454340934753418 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:39:32.088352
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_44_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_34_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_23_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_14_9682.jpg', 2), ('/home/nano/Desktop/images/12072025/14/38/image_12072025_14_39_04_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_53_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_44_9642.jpg', '/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_34_10669.jpg', '/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_23_9649.jpg', '/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_14_9682.jpg', '/home/nano/Desktop/images/12072025/14/38/image_12072025_14_39_04_10677.jpg', '/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_53_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_44_9642.jpg
/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_34_10669.jpg
/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_23_9649.jpg
/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_14_9682.jpg
/home/nano/Desktop/images/12072025/14/38/image_12072025_14_39_04_10677.jpg
/home/nano/Desktop/images/12072025/14/38/image_12072025_14_38_53_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891160","1371891165","1371891159","1371891168","1371891162","1371891161"],"photo_ids_order":["1371891159","1371891160","1371891161","1371891162","1371891165","1371891168"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41c090dbefbb67ab945bb65105ada158.jpg","text":"TemporaryFile(/tmp/multipartBody4812127677859900325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324033655,"filename":"image_12072025_14_39_34_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c888833176cb9da5a109a52b8fb861c.jpg","text":"TemporaryFile(/tmp/multipartBody1615988339175974292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324033655,"filename":"image_12072025_14_39_04_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9a0a373ff1bb6d9749c43b120d982f5.jpg","text":"TemporaryFile(/tmp/multipartBody2919251997082785459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324033655,"filename":"image_12072025_14_39_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf1d184f81c84b2e964592264b8f44b5.jpg","text":"TemporaryFile(/tmp/multipartBody7102166711255609742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324033655,"filename":"image_12072025_14_38_53_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bdb7f2340034e0e1890de854cf757e0.jpg","text":"TemporaryFile(/tmp/multipartBody6173452260858334868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324033655,"filename":"image_12072025_14_39_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20c51b6a653173986d5417d3b22b1acc.jpg","text":"TemporaryFile(/tmp/multipartBody7148006258013079180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324033655,"filename":"image_12072025_14_39_23_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891161","file1":"1371891160","file0":"1371891159","file4":"1371891165","file5":"1371891168","file3":"1371891162"},"map_files_photo_id_array":[{"photo_id":"1371891168","filename":"file5"},{"photo_id":"1371891161","filename":"file2"},{"photo_id":"1371891165","filename":"file4"},{"photo_id":"1371891160","filename":"file1"},{"photo_id":"1371891159","filename":"file0"},{"photo_id":"1371891162","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891160":["hashtag1","hashtag2"]},{"1371891165":["hashtag1","hashtag2"]},{"1371891159":["hashtag1","hashtag2"]},{"1371891168":["hashtag1","hashtag2"]},{"1371891162":["hashtag1","hashtag2"]},{"1371891161":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891160, 1371891165, 1371891159, 1371891168, 1371891162, 1371891161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90297317504883 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:40:17.210452
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/40/image_12072025_14_40_34_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/14/40/image_12072025_14_40_23_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/14/40/image_12072025_14_40_14_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/14/39/image_12072025_14_40_04_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/40/image_12072025_14_40_34_10660.jpg', '/home/nano/Desktop/images/12072025/14/40/image_12072025_14_40_23_9653.jpg', '/home/nano/Desktop/images/12072025/14/40/image_12072025_14_40_14_9669.jpg', '/home/nano/Desktop/images/12072025/14/39/image_12072025_14_40_04_10677.jpg', '/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/40/image_12072025_14_40_34_10660.jpg
/home/nano/Desktop/images/12072025/14/40/image_12072025_14_40_23_9653.jpg
/home/nano/Desktop/images/12072025/14/40/image_12072025_14_40_14_9669.jpg
/home/nano/Desktop/images/12072025/14/39/image_12072025_14_40_04_10677.jpg
/home/nano/Desktop/images/12072025/14/39/image_12072025_14_39_53_9644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891181","1371891180","1371891188","1371891191","1371891185"],"photo_ids_order":["1371891180","1371891181","1371891185","1371891188","1371891191"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94a848c3ee6715e668bb7c6d54786052.jpg","text":"TemporaryFile(/tmp/multipartBody878019605255553659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324078903,"filename":"image_12072025_14_40_23_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb8d23d1278ab595dbe170ab78eaa98a.jpg","text":"TemporaryFile(/tmp/multipartBody7078317859544085971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324078903,"filename":"image_12072025_14_40_34_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c619790642aed3f73b9c6aff97d38a66.jpg","text":"TemporaryFile(/tmp/multipartBody2795469077659868205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324078903,"filename":"image_12072025_14_40_04_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/334eb3c9085202f15e4f5652be371ae4.jpg","text":"TemporaryFile(/tmp/multipartBody4772004207833375823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324078903,"filename":"image_12072025_14_39_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3daa1e64e51393a636c8bd3624456bcc.jpg","text":"TemporaryFile(/tmp/multipartBody1454818961690775798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324078903,"filename":"image_12072025_14_40_14_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891185","file1":"1371891181","file0":"1371891180","file4":"1371891191","file3":"1371891188"},"map_files_photo_id_array":[{"photo_id":"1371891185","filename":"file2"},{"photo_id":"1371891191","filename":"file4"},{"photo_id":"1371891181","filename":"file1"},{"photo_id":"1371891180","filename":"file0"},{"photo_id":"1371891188","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891181":["hashtag1","hashtag2"]},{"1371891180":["hashtag1","hashtag2"]},{"1371891188":["hashtag1","hashtag2"]},{"1371891191":["hashtag1","hashtag2"]},{"1371891185":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891181, 1371891180, 1371891188, 1371891191, 1371891185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.144757986068726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:40:47.228987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/50/image_10072025_17_51_04_10651.jpg', 2), ('/home/nano/Desktop/images/10072025/17/50/image_10072025_17_50_44_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/50/image_10072025_17_50_34_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/17/50/image_10072025_17_50_23_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/17/50/image_10072025_17_50_14_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/49/image_10072025_17_50_04_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/50/image_10072025_17_51_04_10651.jpg', '/home/nano/Desktop/images/10072025/17/50/image_10072025_17_50_44_9626.jpg', '/home/nano/Desktop/images/10072025/17/50/image_10072025_17_50_34_10645.jpg', '/home/nano/Desktop/images/10072025/17/50/image_10072025_17_50_23_9625.jpg', '/home/nano/Desktop/images/10072025/17/50/image_10072025_17_50_14_9644.jpg', '/home/nano/Desktop/images/10072025/17/49/image_10072025_17_50_04_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/50/image_10072025_17_51_04_10651.jpg
/home/nano/Desktop/images/10072025/17/50/image_10072025_17_50_44_9626.jpg
/home/nano/Desktop/images/10072025/17/50/image_10072025_17_50_34_10645.jpg
/home/nano/Desktop/images/10072025/17/50/image_10072025_17_50_23_9625.jpg
/home/nano/Desktop/images/10072025/17/50/image_10072025_17_50_14_9644.jpg
/home/nano/Desktop/images/10072025/17/49/image_10072025_17_50_04_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891206","1371891200","1371891203","1371891210","1371891194","1371891197"],"photo_ids_order":["1371891194","1371891197","1371891200","1371891203","1371891206","1371891210"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6630e93f1d2b2b7f2d998f051952a78.jpg","text":"TemporaryFile(/tmp/multipartBody1105931486706050469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324110021,"filename":"image_10072025_17_50_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c838692746b1625ee7cb0d149f2eeb7f.jpg","text":"TemporaryFile(/tmp/multipartBody1975273137974971326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324110021,"filename":"image_10072025_17_50_34_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c009e2de6115fcd2af7a1af1b7cecfcf.jpg","text":"TemporaryFile(/tmp/multipartBody4619360171607685037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324110021,"filename":"image_10072025_17_50_23_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa2031ed00287e3b418b2d0e7fa0e8b6.jpg","text":"TemporaryFile(/tmp/multipartBody8155502380104347054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324110021,"filename":"image_10072025_17_50_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b08c3bc277991ac08121a82c7801270a.jpg","text":"TemporaryFile(/tmp/multipartBody8765909632098577633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324110021,"filename":"image_10072025_17_51_04_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/167a4b0b61db0c8e30956e0e1eaea03a.jpg","text":"TemporaryFile(/tmp/multipartBody7244909786876410815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324110021,"filename":"image_10072025_17_50_44_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891200","file1":"1371891197","file0":"1371891194","file4":"1371891206","file5":"1371891210","file3":"1371891203"},"map_files_photo_id_array":[{"photo_id":"1371891210","filename":"file5"},{"photo_id":"1371891200","filename":"file2"},{"photo_id":"1371891206","filename":"file4"},{"photo_id":"1371891197","filename":"file1"},{"photo_id":"1371891194","filename":"file0"},{"photo_id":"1371891203","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371891206":["hashtag1","hashtag2"]},{"1371891200":["hashtag1","hashtag2"]},{"1371891203":["hashtag1","hashtag2"]},{"1371891210":["hashtag1","hashtag2"]},{"1371891194":["hashtag1","hashtag2"]},{"1371891197":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371891206, 1371891200, 1371891203, 1371891210, 1371891194, 1371891197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.426450967788696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:41:32.305112
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/41/image_12072025_14_41_23_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/14/41/image_12072025_14_41_14_9674.jpg', 2), ('/home/nano/Desktop/images/12072025/14/40/image_12072025_14_41_04_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/14/40/image_12072025_14_40_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/41/image_12072025_14_41_23_9639.jpg', '/home/nano/Desktop/images/12072025/14/41/image_12072025_14_41_14_9674.jpg', '/home/nano/Desktop/images/12072025/14/40/image_12072025_14_41_04_10675.jpg', '/home/nano/Desktop/images/12072025/14/40/image_12072025_14_40_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/41/image_12072025_14_41_23_9639.jpg
/home/nano/Desktop/images/12072025/14/41/image_12072025_14_41_14_9674.jpg
/home/nano/Desktop/images/12072025/14/40/image_12072025_14_41_04_10675.jpg
/home/nano/Desktop/images/12072025/14/40/image_12072025_14_40_44_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891215","1371891217","1371891214","1371891213"],"photo_ids_order":["1371891213","1371891214","1371891215","1371891217"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c263f63ad11067a8d767014c6286c821.jpg","text":"TemporaryFile(/tmp/multipartBody9084203634501088766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324153494,"filename":"image_12072025_14_41_04_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06c4bf04ce3d0e6f008702e20f12ea9f.jpg","text":"TemporaryFile(/tmp/multipartBody3971454323671695715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324153494,"filename":"image_12072025_14_40_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42cd31bfaa00e309e38f34b30f88fdb0.jpg","text":"TemporaryFile(/tmp/multipartBody2733190032098959649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324153494,"filename":"image_12072025_14_41_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d1c42ce4e9d90bebb3731791f3eaf43.jpg","text":"TemporaryFile(/tmp/multipartBody5309358310169069102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324153494,"filename":"image_12072025_14_41_23_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891215","file1":"1371891214","file0":"1371891213","file3":"1371891217"},"map_files_photo_id_array":[{"photo_id":"1371891215","filename":"file2"},{"photo_id":"1371891214","filename":"file1"},{"photo_id":"1371891213","filename":"file0"},{"photo_id":"1371891217","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891215":["hashtag1","hashtag2"]},{"1371891217":["hashtag1","hashtag2"]},{"1371891214":["hashtag1","hashtag2"]},{"1371891213":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891215, 1371891217, 1371891214, 1371891213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.83200478553772 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:42:02.995271
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_24_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_24_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_24_10665.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891222"],"photo_id":"1371891222","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8096a81e6f05fdd7819fc28042ac60a4.jpg","text":"TemporaryFile(/tmp/multipartBody1832588308061220366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324183601,"filename":"image_12072025_14_42_24_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371891222"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371891222"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.352233409881592 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:42:17.403162
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_34_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_14_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/14/41/image_12072025_14_42_04_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/14/41/image_12072025_14_41_54_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_44_9639.jpg', '/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_34_9639.jpg', '/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_14_9662.jpg', '/home/nano/Desktop/images/12072025/14/41/image_12072025_14_42_04_9658.jpg', '/home/nano/Desktop/images/12072025/14/41/image_12072025_14_41_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_44_9639.jpg
/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_34_9639.jpg
/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_14_9662.jpg
/home/nano/Desktop/images/12072025/14/41/image_12072025_14_42_04_9658.jpg
/home/nano/Desktop/images/12072025/14/41/image_12072025_14_41_54_10653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891227","1371891229","1371891226","1371891228","1371891225"],"photo_ids_order":["1371891225","1371891226","1371891227","1371891228","1371891229"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa4c3116f8756e450ebd93865553e8ca.jpg","text":"TemporaryFile(/tmp/multipartBody8414476852862763329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324198682,"filename":"image_12072025_14_42_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b11440793dd6288eebf6117a499fc393.jpg","text":"TemporaryFile(/tmp/multipartBody3429809895776568793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324198682,"filename":"image_12072025_14_41_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0c9364dd44202ff3bf21a45c7d8cee4.jpg","text":"TemporaryFile(/tmp/multipartBody4187692693163688406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324198682,"filename":"image_12072025_14_42_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/670120dbfa03e564b7cd76a8abfa9366.jpg","text":"TemporaryFile(/tmp/multipartBody6669521592112372959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324198682,"filename":"image_12072025_14_42_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b48c0fb8b12dbd46d4536e0174dbf9bc.jpg","text":"TemporaryFile(/tmp/multipartBody1935169033811208961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324198682,"filename":"image_12072025_14_42_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891227","file1":"1371891226","file0":"1371891225","file4":"1371891229","file3":"1371891228"},"map_files_photo_id_array":[{"photo_id":"1371891227","filename":"file2"},{"photo_id":"1371891229","filename":"file4"},{"photo_id":"1371891226","filename":"file1"},{"photo_id":"1371891225","filename":"file0"},{"photo_id":"1371891228","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891227":["hashtag1","hashtag2"]},{"1371891229":["hashtag1","hashtag2"]},{"1371891226":["hashtag1","hashtag2"]},{"1371891228":["hashtag1","hashtag2"]},{"1371891225":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891227, 1371891229, 1371891226, 1371891228, 1371891225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.291860818862915 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:43:03.080370
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/49/image_10072025_17_49_44_10643.jpg', 2), ('/home/nano/Desktop/images/10072025/17/49/image_10072025_17_49_33_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/17/49/image_10072025_17_49_23_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/17/49/image_10072025_17_49_14_10662.jpg', 2), ('/home/nano/Desktop/images/10072025/17/48/image_10072025_17_49_03_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/17/48/image_10072025_17_48_54_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/49/image_10072025_17_49_44_10643.jpg', '/home/nano/Desktop/images/10072025/17/49/image_10072025_17_49_33_9646.jpg', '/home/nano/Desktop/images/10072025/17/49/image_10072025_17_49_23_9627.jpg', '/home/nano/Desktop/images/10072025/17/49/image_10072025_17_49_14_10662.jpg', '/home/nano/Desktop/images/10072025/17/48/image_10072025_17_49_03_9641.jpg', '/home/nano/Desktop/images/10072025/17/48/image_10072025_17_48_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/49/image_10072025_17_49_44_10643.jpg
/home/nano/Desktop/images/10072025/17/49/image_10072025_17_49_33_9646.jpg
/home/nano/Desktop/images/10072025/17/49/image_10072025_17_49_23_9627.jpg
/home/nano/Desktop/images/10072025/17/49/image_10072025_17_49_14_10662.jpg
/home/nano/Desktop/images/10072025/17/48/image_10072025_17_49_03_9641.jpg
/home/nano/Desktop/images/10072025/17/48/image_10072025_17_48_54_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891245","1371891248","1371891247","1371891246","1371891240","1371891243"],"photo_ids_order":["1371891240","1371891243","1371891245","1371891246","1371891247","1371891248"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6eba4d3ef58072206432e8dcb79e0a0f.jpg","text":"TemporaryFile(/tmp/multipartBody6900531835135458714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324245430,"filename":"image_10072025_17_49_23_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9af48693aec85713e11b37d4c1cee0d8.jpg","text":"TemporaryFile(/tmp/multipartBody5531512563773593681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324245430,"filename":"image_10072025_17_48_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e930c51630fb9c2db0facf85f9c344f.jpg","text":"TemporaryFile(/tmp/multipartBody515960301167050600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324245430,"filename":"image_10072025_17_49_03_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce3a5e5582317231266cc5f68182588b.jpg","text":"TemporaryFile(/tmp/multipartBody177463766016560391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324245430,"filename":"image_10072025_17_49_14_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5df731a59d29e4ef33fdbfd61e47c45.jpg","text":"TemporaryFile(/tmp/multipartBody7994186969709920833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324245430,"filename":"image_10072025_17_49_44_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7391cf6939a18cb4a6619c7f141e4cce.jpg","text":"TemporaryFile(/tmp/multipartBody6502155760520430394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324245430,"filename":"image_10072025_17_49_33_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891245","file1":"1371891243","file0":"1371891240","file4":"1371891247","file5":"1371891248","file3":"1371891246"},"map_files_photo_id_array":[{"photo_id":"1371891248","filename":"file5"},{"photo_id":"1371891245","filename":"file2"},{"photo_id":"1371891247","filename":"file4"},{"photo_id":"1371891243","filename":"file1"},{"photo_id":"1371891240","filename":"file0"},{"photo_id":"1371891246","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371891245":["hashtag1","hashtag2"]},{"1371891248":["hashtag1","hashtag2"]},{"1371891247":["hashtag1","hashtag2"]},{"1371891246":["hashtag1","hashtag2"]},{"1371891240":["hashtag1","hashtag2"]},{"1371891243":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371891245, 1371891248, 1371891247, 1371891246, 1371891240, 1371891243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.373244762420654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:43:47.530167
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/43/image_12072025_14_43_34_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/43/image_12072025_14_43_34_9644.jpg', '/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/43/image_12072025_14_43_34_9644.jpg
/home/nano/Desktop/images/12072025/14/42/image_12072025_14_42_54_10654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891251","1371891253"],"photo_ids_order":["1371891251","1371891253"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55bff8ba69fc5b247743c3f32b9cf288.jpg","text":"TemporaryFile(/tmp/multipartBody8852030520647628128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324288615,"filename":"image_12072025_14_43_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/410fa64065d78cf4b871cc15ab17be05.jpg","text":"TemporaryFile(/tmp/multipartBody4300088859233819720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324288615,"filename":"image_12072025_14_42_54_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371891253","file0":"1371891251"},"map_files_photo_id_array":[{"photo_id":"1371891253","filename":"file1"},{"photo_id":"1371891251","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891251":["hashtag1","hashtag2"]},{"1371891253":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891251, 1371891253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.983311414718628 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:44:17.677082
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_24_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_13_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/14/43/image_12072025_14_44_04_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/14/43/image_12072025_14_43_54_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_24_10658.jpg', '/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_13_9671.jpg', '/home/nano/Desktop/images/12072025/14/43/image_12072025_14_44_04_9644.jpg', '/home/nano/Desktop/images/12072025/14/43/image_12072025_14_43_54_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_24_10658.jpg
/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_13_9671.jpg
/home/nano/Desktop/images/12072025/14/43/image_12072025_14_44_04_9644.jpg
/home/nano/Desktop/images/12072025/14/43/image_12072025_14_43_54_10652.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1565337181091309 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:44:32.665773
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_24_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_13_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/14/43/image_12072025_14_44_04_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/14/43/image_12072025_14_43_54_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_24_10658.jpg', '/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_13_9671.jpg', '/home/nano/Desktop/images/12072025/14/43/image_12072025_14_44_04_9644.jpg', '/home/nano/Desktop/images/12072025/14/43/image_12072025_14_43_54_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_24_10658.jpg
/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_13_9671.jpg
/home/nano/Desktop/images/12072025/14/43/image_12072025_14_44_04_9644.jpg
/home/nano/Desktop/images/12072025/14/43/image_12072025_14_43_54_10652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891266","1371891265","1371891264","1371891263"],"photo_ids_order":["1371891263","1371891264","1371891265","1371891266"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2502bcb8583bfc97d3741063ac33ed13.jpg","text":"TemporaryFile(/tmp/multipartBody8092865082619827946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324333717,"filename":"image_12072025_14_43_54_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6015ae63e90bc3984f1e502255fe626.jpg","text":"TemporaryFile(/tmp/multipartBody5177131706653863289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324333717,"filename":"image_12072025_14_44_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0175a055a1045977df0f5530e13fc5bc.jpg","text":"TemporaryFile(/tmp/multipartBody5938406340165590406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324333717,"filename":"image_12072025_14_44_13_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae15735b71098b82d33fcf60bdbf01a4.jpg","text":"TemporaryFile(/tmp/multipartBody1394927982497331825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324333717,"filename":"image_12072025_14_44_24_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891265","file1":"1371891264","file0":"1371891263","file3":"1371891266"},"map_files_photo_id_array":[{"photo_id":"1371891265","filename":"file2"},{"photo_id":"1371891264","filename":"file1"},{"photo_id":"1371891263","filename":"file0"},{"photo_id":"1371891266","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891266":["hashtag1","hashtag2"]},{"1371891265":["hashtag1","hashtag2"]},{"1371891264":["hashtag1","hashtag2"]},{"1371891263":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891266, 1371891265, 1371891264, 1371891263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.2987163066864 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:45:03.475223
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/48/image_10072025_17_48_44_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/17/48/image_10072025_17_48_33_9642.jpg', 2), ('/home/nano/Desktop/images/10072025/17/48/image_10072025_17_48_14_10659.jpg', 2), ('/home/nano/Desktop/images/10072025/17/47/image_10072025_17_48_03_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_54_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_43_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/48/image_10072025_17_48_44_10636.jpg', '/home/nano/Desktop/images/10072025/17/48/image_10072025_17_48_33_9642.jpg', '/home/nano/Desktop/images/10072025/17/48/image_10072025_17_48_14_10659.jpg', '/home/nano/Desktop/images/10072025/17/47/image_10072025_17_48_03_9637.jpg', '/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_54_10645.jpg', '/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_43_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/48/image_10072025_17_48_44_10636.jpg
/home/nano/Desktop/images/10072025/17/48/image_10072025_17_48_33_9642.jpg
/home/nano/Desktop/images/10072025/17/48/image_10072025_17_48_14_10659.jpg
/home/nano/Desktop/images/10072025/17/47/image_10072025_17_48_03_9637.jpg
/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_54_10645.jpg
/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_43_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891274","1371891277","1371891276","1371891279","1371891272","1371891278"],"photo_ids_order":["1371891272","1371891274","1371891276","1371891277","1371891278","1371891279"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5d21fbad3b131e2fe023728f2ce05d7.jpg","text":"TemporaryFile(/tmp/multipartBody4488194398536607966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324367167,"filename":"image_10072025_17_48_33_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b25cf26633658f94b993c3ac5ad00859.jpg","text":"TemporaryFile(/tmp/multipartBody1563759822322276932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324367167,"filename":"image_10072025_17_48_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d740fea052d4bd7f075c2087e2d67af.jpg","text":"TemporaryFile(/tmp/multipartBody5971851124637585836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324367167,"filename":"image_10072025_17_48_14_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99af30ea15847cd22142724200647394.jpg","text":"TemporaryFile(/tmp/multipartBody2111932998452455773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324367167,"filename":"image_10072025_17_47_43_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0fd969899d6f91f15ebcfa17d32565c9.jpg","text":"TemporaryFile(/tmp/multipartBody5220140720412675859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324367167,"filename":"image_10072025_17_48_44_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34c146c669537b19a747b752903faf36.jpg","text":"TemporaryFile(/tmp/multipartBody9079626234076364397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324367167,"filename":"image_10072025_17_47_54_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891276","file1":"1371891274","file0":"1371891272","file4":"1371891278","file5":"1371891279","file3":"1371891277"},"map_files_photo_id_array":[{"photo_id":"1371891279","filename":"file5"},{"photo_id":"1371891276","filename":"file2"},{"photo_id":"1371891278","filename":"file4"},{"photo_id":"1371891274","filename":"file1"},{"photo_id":"1371891272","filename":"file0"},{"photo_id":"1371891277","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371891274":["hashtag1","hashtag2"]},{"1371891277":["hashtag1","hashtag2"]},{"1371891276":["hashtag1","hashtag2"]},{"1371891279":["hashtag1","hashtag2"]},{"1371891272":["hashtag1","hashtag2"]},{"1371891278":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371891274, 1371891277, 1371891276, 1371891279, 1371891272, 1371891278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53775215148926 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:45:47.767714
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_34_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_34_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_43_9640.jpg', '/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_34_9644.jpg', '/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_24_10648.jpg', '/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_43_9640.jpg
/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_34_9644.jpg
/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_24_10648.jpg
/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_34_9638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6824798583984375 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:46:02.200427
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_34_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_34_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_43_9640.jpg', '/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_34_9644.jpg', '/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_24_10648.jpg', '/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_43_9640.jpg
/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_34_9644.jpg
/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_24_10648.jpg
/home/nano/Desktop/images/12072025/14/44/image_12072025_14_44_34_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891301","1371891297","1371891303","1371891293"],"photo_ids_order":["1371891293","1371891297","1371891301","1371891303"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43c1e66e616769fb0ff895d8fa8c21dd.jpg","text":"TemporaryFile(/tmp/multipartBody2702703716214674642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324423966,"filename":"image_12072025_14_45_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/110d10897d39594835c3b0d5a99d8398.jpg","text":"TemporaryFile(/tmp/multipartBody1264528502884431341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324423966,"filename":"image_12072025_14_45_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/759cb3ad21abb614ce19705ce8c8739a.jpg","text":"TemporaryFile(/tmp/multipartBody3033073845021587841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324423966,"filename":"image_12072025_14_44_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7b749902fa6ed894a6aa88e2f14626f.jpg","text":"TemporaryFile(/tmp/multipartBody2934433196498515064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324423966,"filename":"image_12072025_14_45_43_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891301","file1":"1371891297","file0":"1371891293","file3":"1371891303"},"map_files_photo_id_array":[{"photo_id":"1371891301","filename":"file2"},{"photo_id":"1371891297","filename":"file1"},{"photo_id":"1371891293","filename":"file0"},{"photo_id":"1371891303","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891301":["hashtag1","hashtag2"]},{"1371891297":["hashtag1","hashtag2"]},{"1371891303":["hashtag1","hashtag2"]},{"1371891293":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891301, 1371891297, 1371891303, 1371891293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.591177463531494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:46:31.839899
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_44_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_34_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_13_9698.jpg', 2), ('/home/nano/Desktop/images/12072025/14/45/image_12072025_14_46_04_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_44_10674.jpg', '/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_34_9640.jpg', '/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_24_10648.jpg', '/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_13_9698.jpg', '/home/nano/Desktop/images/12072025/14/45/image_12072025_14_46_04_9670.jpg', '/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_44_10674.jpg
/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_34_9640.jpg
/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_24_10648.jpg
/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_13_9698.jpg
/home/nano/Desktop/images/12072025/14/45/image_12072025_14_46_04_9670.jpg
/home/nano/Desktop/images/12072025/14/45/image_12072025_14_45_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891314","1371891308","1371891310","1371891307","1371891315","1371891318"],"photo_ids_order":["1371891307","1371891308","1371891310","1371891314","1371891315","1371891318"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa68a8dc5bdcccbea7298e9ea107a8f0.jpg","text":"TemporaryFile(/tmp/multipartBody9151166845450200871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324453723,"filename":"image_12072025_14_46_13_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a49373f5ad48bba711666a7c66d1e002.jpg","text":"TemporaryFile(/tmp/multipartBody7060632797385451145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324453723,"filename":"image_12072025_14_46_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d091ba90e7d5b2d6a9bbc59c4d3c3544.jpg","text":"TemporaryFile(/tmp/multipartBody352030702173076762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324453723,"filename":"image_12072025_14_46_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03054830e577190c13c04ca2ceaca44d.jpg","text":"TemporaryFile(/tmp/multipartBody7559203631821981544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324453723,"filename":"image_12072025_14_46_44_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3fbba6a195c3e30361e78309697b173.jpg","text":"TemporaryFile(/tmp/multipartBody3301457366418793987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324453723,"filename":"image_12072025_14_46_04_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e3c888a25f49d7748f7f6f7aaec1f8d.jpg","text":"TemporaryFile(/tmp/multipartBody3113318815158568958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324453723,"filename":"image_12072025_14_45_54_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891310","file1":"1371891308","file0":"1371891307","file4":"1371891315","file5":"1371891318","file3":"1371891314"},"map_files_photo_id_array":[{"photo_id":"1371891318","filename":"file5"},{"photo_id":"1371891310","filename":"file2"},{"photo_id":"1371891315","filename":"file4"},{"photo_id":"1371891308","filename":"file1"},{"photo_id":"1371891307","filename":"file0"},{"photo_id":"1371891314","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891314":["hashtag1","hashtag2"]},{"1371891308":["hashtag1","hashtag2"]},{"1371891310":["hashtag1","hashtag2"]},{"1371891307":["hashtag1","hashtag2"]},{"1371891315":["hashtag1","hashtag2"]},{"1371891318":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891314, 1371891308, 1371891310, 1371891307, 1371891315, 1371891318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.711566925048828 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:47:16.926852
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/47/image_12072025_14_47_24_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/14/47/image_12072025_14_47_14_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/14/46/image_12072025_14_47_04_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/47/image_12072025_14_47_24_9641.jpg', '/home/nano/Desktop/images/12072025/14/47/image_12072025_14_47_14_10668.jpg', '/home/nano/Desktop/images/12072025/14/46/image_12072025_14_47_04_9639.jpg', '/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/47/image_12072025_14_47_24_9641.jpg
/home/nano/Desktop/images/12072025/14/47/image_12072025_14_47_14_10668.jpg
/home/nano/Desktop/images/12072025/14/46/image_12072025_14_47_04_9639.jpg
/home/nano/Desktop/images/12072025/14/46/image_12072025_14_46_54_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891323","1371891326","1371891325","1371891324"],"photo_ids_order":["1371891323","1371891324","1371891325","1371891326"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cdee131f1d211990236771799c1c4bee.jpg","text":"TemporaryFile(/tmp/multipartBody6936622449776774017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324498340,"filename":"image_12072025_14_47_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07129463762d89af1a3655cc70225fff.jpg","text":"TemporaryFile(/tmp/multipartBody2380348867541633765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324498340,"filename":"image_12072025_14_46_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/990fcd2fe941de4637f0fe00b3083e1c.jpg","text":"TemporaryFile(/tmp/multipartBody6233320289825474021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324498340,"filename":"image_12072025_14_47_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3574602463c9f4fb640087740a92150.jpg","text":"TemporaryFile(/tmp/multipartBody8035223555454885137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324498340,"filename":"image_12072025_14_47_14_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891325","file1":"1371891324","file0":"1371891323","file3":"1371891326"},"map_files_photo_id_array":[{"photo_id":"1371891325","filename":"file2"},{"photo_id":"1371891324","filename":"file1"},{"photo_id":"1371891323","filename":"file0"},{"photo_id":"1371891326","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891323":["hashtag1","hashtag2"]},{"1371891326":["hashtag1","hashtag2"]},{"1371891325":["hashtag1","hashtag2"]},{"1371891324":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891323, 1371891326, 1371891325, 1371891324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.199835062026978 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:47:46.960151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_33_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_24_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_13_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/46/image_10072025_17_47_04_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/17/46/image_10072025_17_46_54_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/17/46/image_10072025_17_46_43_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_33_9626.jpg', '/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_24_10636.jpg', '/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_13_9644.jpg', '/home/nano/Desktop/images/10072025/17/46/image_10072025_17_47_04_9636.jpg', '/home/nano/Desktop/images/10072025/17/46/image_10072025_17_46_54_10638.jpg', '/home/nano/Desktop/images/10072025/17/46/image_10072025_17_46_43_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_33_9626.jpg
/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_24_10636.jpg
/home/nano/Desktop/images/10072025/17/47/image_10072025_17_47_13_9644.jpg
/home/nano/Desktop/images/10072025/17/46/image_10072025_17_47_04_9636.jpg
/home/nano/Desktop/images/10072025/17/46/image_10072025_17_46_54_10638.jpg
/home/nano/Desktop/images/10072025/17/46/image_10072025_17_46_43_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891338","1371891340","1371891337","1371891331","1371891333","1371891335"],"photo_ids_order":["1371891331","1371891333","1371891335","1371891337","1371891338","1371891340"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90c746e1273500d8149b2d004e6892c0.jpg","text":"TemporaryFile(/tmp/multipartBody7398375084017803501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324530572,"filename":"image_10072025_17_46_54_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76774ac46810257bc5599d393288d48a.jpg","text":"TemporaryFile(/tmp/multipartBody7795262699722544569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324530572,"filename":"image_10072025_17_46_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50f895740be13cf03642f6b0c77317e5.jpg","text":"TemporaryFile(/tmp/multipartBody1597297683171048365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324530572,"filename":"image_10072025_17_47_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87ee392d4f1d3f56624f2762308b4447.jpg","text":"TemporaryFile(/tmp/multipartBody4506503035693236309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324530572,"filename":"image_10072025_17_47_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b37f42609971d82783211db1f6b1ce2c.jpg","text":"TemporaryFile(/tmp/multipartBody7832376617621260463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324530572,"filename":"image_10072025_17_47_24_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e03f80834c776a3c5b2ba5ccdba797f.jpg","text":"TemporaryFile(/tmp/multipartBody1116170280881514725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324530572,"filename":"image_10072025_17_47_13_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891335","file1":"1371891333","file0":"1371891331","file4":"1371891338","file5":"1371891340","file3":"1371891337"},"map_files_photo_id_array":[{"photo_id":"1371891340","filename":"file5"},{"photo_id":"1371891335","filename":"file2"},{"photo_id":"1371891338","filename":"file4"},{"photo_id":"1371891333","filename":"file1"},{"photo_id":"1371891331","filename":"file0"},{"photo_id":"1371891337","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371891338":["hashtag1","hashtag2"]},{"1371891340":["hashtag1","hashtag2"]},{"1371891337":["hashtag1","hashtag2"]},{"1371891331":["hashtag1","hashtag2"]},{"1371891333":["hashtag1","hashtag2"]},{"1371891335":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371891338, 1371891340, 1371891337, 1371891331, 1371891333, 1371891335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84748291969299 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:48:32.065076
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_44_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_33_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_24_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_14_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/14/47/image_12072025_14_48_03_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/14/47/image_12072025_14_47_34_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_44_10659.jpg', '/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_33_9641.jpg', '/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_24_9642.jpg', '/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_14_10674.jpg', '/home/nano/Desktop/images/12072025/14/47/image_12072025_14_48_03_9661.jpg', '/home/nano/Desktop/images/12072025/14/47/image_12072025_14_47_34_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_44_10659.jpg
/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_33_9641.jpg
/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_24_9642.jpg
/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_14_10674.jpg
/home/nano/Desktop/images/12072025/14/47/image_12072025_14_48_03_9661.jpg
/home/nano/Desktop/images/12072025/14/47/image_12072025_14_47_34_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891346","1371891349","1371891343","1371891351","1371891342","1371891353"],"photo_ids_order":["1371891342","1371891343","1371891346","1371891349","1371891351","1371891353"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c627920a91454a8359b785f4e9c7404.jpg","text":"TemporaryFile(/tmp/multipartBody476434805020449202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324574119,"filename":"image_12072025_14_48_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eec7ba445a670723b8718e56ae06713a.jpg","text":"TemporaryFile(/tmp/multipartBody1528763261295075529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324574119,"filename":"image_12072025_14_48_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8c6d5ed5dad6506e980c845b701c8a6.jpg","text":"TemporaryFile(/tmp/multipartBody2012878438982543892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324574119,"filename":"image_12072025_14_48_33_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e87623b251f9aaf2039d72a23809d6b.jpg","text":"TemporaryFile(/tmp/multipartBody6737155550323863442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324574119,"filename":"image_12072025_14_48_03_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90455dceb3324e6473f008c07656b79e.jpg","text":"TemporaryFile(/tmp/multipartBody6325803761776787846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324574119,"filename":"image_12072025_14_48_44_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46c031d0c0f8911c54b9db86a19c8410.jpg","text":"TemporaryFile(/tmp/multipartBody1438498053868311632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324574119,"filename":"image_12072025_14_47_34_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891346","file1":"1371891343","file0":"1371891342","file4":"1371891351","file5":"1371891353","file3":"1371891349"},"map_files_photo_id_array":[{"photo_id":"1371891353","filename":"file5"},{"photo_id":"1371891346","filename":"file2"},{"photo_id":"1371891351","filename":"file4"},{"photo_id":"1371891343","filename":"file1"},{"photo_id":"1371891342","filename":"file0"},{"photo_id":"1371891349","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891346":["hashtag1","hashtag2"]},{"1371891349":["hashtag1","hashtag2"]},{"1371891343":["hashtag1","hashtag2"]},{"1371891351":["hashtag1","hashtag2"]},{"1371891342":["hashtag1","hashtag2"]},{"1371891353":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891346, 1371891349, 1371891343, 1371891351, 1371891342, 1371891353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.27261424064636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:49:47.151561
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_44_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_33_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_24_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/14/48/image_12072025_14_49_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_54_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_44_10652.jpg', '/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_33_9640.jpg', '/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_24_9643.jpg', '/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_14_10667.jpg', '/home/nano/Desktop/images/12072025/14/48/image_12072025_14_49_03_9642.jpg', '/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_54_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_44_10652.jpg
/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_33_9640.jpg
/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_24_9643.jpg
/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_14_10667.jpg
/home/nano/Desktop/images/12072025/14/48/image_12072025_14_49_03_9642.jpg
/home/nano/Desktop/images/12072025/14/48/image_12072025_14_48_54_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891370","1371891364","1371891361","1371891366","1371891368","1371891362"],"photo_ids_order":["1371891361","1371891362","1371891364","1371891366","1371891368","1371891370"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e7b64b4c9d2837d86e2c0c30525e699.jpg","text":"TemporaryFile(/tmp/multipartBody3196231902369762933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324649097,"filename":"image_12072025_14_48_54_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2b0296c024e1d579c459bce059a2b91.jpg","text":"TemporaryFile(/tmp/multipartBody4880526747175608881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324649097,"filename":"image_12072025_14_49_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/219b20b9d416957b5016a0c108ca2c4d.jpg","text":"TemporaryFile(/tmp/multipartBody7888563476386900412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324649097,"filename":"image_12072025_14_49_44_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a029225a5682c10281fd51274a31254.jpg","text":"TemporaryFile(/tmp/multipartBody3849566977115881784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324649097,"filename":"image_12072025_14_49_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86704a388a89df4cb4795a39847c2a90.jpg","text":"TemporaryFile(/tmp/multipartBody1066012732891044106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324649097,"filename":"image_12072025_14_49_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e26c6530250f20033e8bead8755cb3a3.jpg","text":"TemporaryFile(/tmp/multipartBody8668559538585849345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324649097,"filename":"image_12072025_14_49_33_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891364","file1":"1371891362","file0":"1371891361","file4":"1371891368","file5":"1371891370","file3":"1371891366"},"map_files_photo_id_array":[{"photo_id":"1371891370","filename":"file5"},{"photo_id":"1371891364","filename":"file2"},{"photo_id":"1371891368","filename":"file4"},{"photo_id":"1371891362","filename":"file1"},{"photo_id":"1371891361","filename":"file0"},{"photo_id":"1371891366","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891370":["hashtag1","hashtag2"]},{"1371891364":["hashtag1","hashtag2"]},{"1371891361":["hashtag1","hashtag2"]},{"1371891366":["hashtag1","hashtag2"]},{"1371891368":["hashtag1","hashtag2"]},{"1371891362":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891370, 1371891364, 1371891361, 1371891366, 1371891368, 1371891362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.0087103843689 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:50:47.256332
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_44_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_24_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_14_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/14/49/image_12072025_14_50_04_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_44_9656.jpg', '/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_34_10648.jpg', '/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_24_9644.jpg', '/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_14_9657.jpg', '/home/nano/Desktop/images/12072025/14/49/image_12072025_14_50_04_10663.jpg', '/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_54_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_44_9656.jpg
/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_34_10648.jpg
/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_24_9644.jpg
/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_14_9657.jpg
/home/nano/Desktop/images/12072025/14/49/image_12072025_14_50_04_10663.jpg
/home/nano/Desktop/images/12072025/14/49/image_12072025_14_49_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891379","1371891381","1371891384","1371891386","1371891383","1371891377"],"photo_ids_order":["1371891377","1371891379","1371891381","1371891383","1371891384","1371891386"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da4b2859f6565877903421a28521f21e.jpg","text":"TemporaryFile(/tmp/multipartBody8657625934068017310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324709334,"filename":"image_12072025_14_50_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88a293650d1b1d2c7c8eae7efafbe636.jpg","text":"TemporaryFile(/tmp/multipartBody8319203834438039616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324709334,"filename":"image_12072025_14_50_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30aaeaaddefbfc3ff51bdd9f084e6aee.jpg","text":"TemporaryFile(/tmp/multipartBody1157187350057420882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324709334,"filename":"image_12072025_14_50_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b5c52fc2128374b4de4f1ed75b6afd1.jpg","text":"TemporaryFile(/tmp/multipartBody1425661133892636644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324709334,"filename":"image_12072025_14_49_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b0013e041a0b2b2a08c56d20e386027.jpg","text":"TemporaryFile(/tmp/multipartBody789787013479735077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324709334,"filename":"image_12072025_14_50_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd2eaa79f4ef1c111b1be321b738b58e.jpg","text":"TemporaryFile(/tmp/multipartBody2883039238944840245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324709334,"filename":"image_12072025_14_50_44_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891381","file1":"1371891379","file0":"1371891377","file4":"1371891384","file5":"1371891386","file3":"1371891383"},"map_files_photo_id_array":[{"photo_id":"1371891386","filename":"file5"},{"photo_id":"1371891381","filename":"file2"},{"photo_id":"1371891384","filename":"file4"},{"photo_id":"1371891379","filename":"file1"},{"photo_id":"1371891377","filename":"file0"},{"photo_id":"1371891383","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891379":["hashtag1","hashtag2"]},{"1371891381":["hashtag1","hashtag2"]},{"1371891384":["hashtag1","hashtag2"]},{"1371891386":["hashtag1","hashtag2"]},{"1371891383":["hashtag1","hashtag2"]},{"1371891377":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891379, 1371891381, 1371891384, 1371891386, 1371891383, 1371891377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62524938583374 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:51:32.355456
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_44_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_24_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_14_9678.jpg', 2), ('/home/nano/Desktop/images/12072025/14/50/image_12072025_14_51_04_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_44_9650.jpg', '/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_34_10649.jpg', '/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_24_9642.jpg', '/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_14_9678.jpg', '/home/nano/Desktop/images/12072025/14/50/image_12072025_14_51_04_10659.jpg', '/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_44_9650.jpg
/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_34_10649.jpg
/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_24_9642.jpg
/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_14_9678.jpg
/home/nano/Desktop/images/12072025/14/50/image_12072025_14_51_04_10659.jpg
/home/nano/Desktop/images/12072025/14/50/image_12072025_14_50_54_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891397","1371891401","1371891391","1371891394","1371891399","1371891392"],"photo_ids_order":["1371891391","1371891392","1371891394","1371891397","1371891399","1371891401"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61d36f3742e4fb8a643741bd1d570d66.jpg","text":"TemporaryFile(/tmp/multipartBody4284712556052594621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324754722,"filename":"image_12072025_14_51_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bbc4b1bd3bf351265f284343bad72aeb.jpg","text":"TemporaryFile(/tmp/multipartBody37623749935029705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324754722,"filename":"image_12072025_14_50_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23b2ebd425f06f4a266dbe0d34261821.jpg","text":"TemporaryFile(/tmp/multipartBody3461636962105327049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324754722,"filename":"image_12072025_14_51_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea3be6cb0533619c91c04f8e8827a41e.jpg","text":"TemporaryFile(/tmp/multipartBody2046129599639182037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324754722,"filename":"image_12072025_14_51_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d73c8c25665955fd3819182875be325.jpg","text":"TemporaryFile(/tmp/multipartBody8782354035511725865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324754722,"filename":"image_12072025_14_51_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb07b2d8603479f6785a200261c8aa4e.jpg","text":"TemporaryFile(/tmp/multipartBody8182531497248659274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324754722,"filename":"image_12072025_14_51_34_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891394","file1":"1371891392","file0":"1371891391","file4":"1371891399","file5":"1371891401","file3":"1371891397"},"map_files_photo_id_array":[{"photo_id":"1371891401","filename":"file5"},{"photo_id":"1371891394","filename":"file2"},{"photo_id":"1371891399","filename":"file4"},{"photo_id":"1371891392","filename":"file1"},{"photo_id":"1371891391","filename":"file0"},{"photo_id":"1371891397","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891397":["hashtag1","hashtag2"]},{"1371891401":["hashtag1","hashtag2"]},{"1371891391":["hashtag1","hashtag2"]},{"1371891394":["hashtag1","hashtag2"]},{"1371891399":["hashtag1","hashtag2"]},{"1371891392":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891397, 1371891401, 1371891391, 1371891394, 1371891399, 1371891392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08423042297363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:52:17.468432
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_44_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_23_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_14_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/14/51/image_12072025_14_52_04_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_44_9647.jpg', '/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_34_10650.jpg', '/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_23_9643.jpg', '/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_14_9664.jpg', '/home/nano/Desktop/images/12072025/14/51/image_12072025_14_52_04_10674.jpg', '/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_44_9647.jpg
/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_34_10650.jpg
/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_23_9643.jpg
/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_14_9664.jpg
/home/nano/Desktop/images/12072025/14/51/image_12072025_14_52_04_10674.jpg
/home/nano/Desktop/images/12072025/14/51/image_12072025_14_51_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891413","1371891409","1371891412","1371891411","1371891414","1371891408"],"photo_ids_order":["1371891408","1371891409","1371891411","1371891412","1371891413","1371891414"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b6fb9cd4114ab5ab84bcdeea45aad55.jpg","text":"TemporaryFile(/tmp/multipartBody6082306257465495334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324799585,"filename":"image_12072025_14_52_04_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3bb178f765cedc7d6a0f638637cf7ad.jpg","text":"TemporaryFile(/tmp/multipartBody4682063387521617530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324799585,"filename":"image_12072025_14_52_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f0783c4725b260071eae1d5c85e3eb2.jpg","text":"TemporaryFile(/tmp/multipartBody304934506671353408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324799585,"filename":"image_12072025_14_52_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a326366513935bc5010803a3658041de.jpg","text":"TemporaryFile(/tmp/multipartBody6876596907513646821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324799585,"filename":"image_12072025_14_52_23_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f768586edbc523181919909046f56534.jpg","text":"TemporaryFile(/tmp/multipartBody6415550115999852347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324799585,"filename":"image_12072025_14_51_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23628a3a0f0a5bf85e1a91e8a0c85725.jpg","text":"TemporaryFile(/tmp/multipartBody20016012626751024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324799585,"filename":"image_12072025_14_52_44_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891411","file1":"1371891409","file0":"1371891408","file4":"1371891413","file5":"1371891414","file3":"1371891412"},"map_files_photo_id_array":[{"photo_id":"1371891414","filename":"file5"},{"photo_id":"1371891411","filename":"file2"},{"photo_id":"1371891413","filename":"file4"},{"photo_id":"1371891409","filename":"file1"},{"photo_id":"1371891408","filename":"file0"},{"photo_id":"1371891412","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891413":["hashtag1","hashtag2"]},{"1371891409":["hashtag1","hashtag2"]},{"1371891412":["hashtag1","hashtag2"]},{"1371891411":["hashtag1","hashtag2"]},{"1371891414":["hashtag1","hashtag2"]},{"1371891408":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891413, 1371891409, 1371891412, 1371891411, 1371891414, 1371891408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41742420196533 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:53:03.283028
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/46/image_10072025_17_46_24_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/17/45/image_10072025_17_46_04_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_53_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_43_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_34_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_23_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/46/image_10072025_17_46_24_10641.jpg', '/home/nano/Desktop/images/10072025/17/45/image_10072025_17_46_04_10637.jpg', '/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_53_9626.jpg', '/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_43_9626.jpg', '/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_34_10637.jpg', '/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_23_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/46/image_10072025_17_46_24_10641.jpg
/home/nano/Desktop/images/10072025/17/45/image_10072025_17_46_04_10637.jpg
/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_53_9626.jpg
/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_43_9626.jpg
/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_34_10637.jpg
/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_23_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891424","1371891432","1371891426","1371891435","1371891429","1371891434"],"photo_ids_order":["1371891424","1371891426","1371891429","1371891432","1371891434","1371891435"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33de0643cb2c195567b3bd3e169af5c7.jpg","text":"TemporaryFile(/tmp/multipartBody3616926045216188720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324846816,"filename":"image_10072025_17_46_24_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf98002fbbabed2acbfb64d363a3ce56.jpg","text":"TemporaryFile(/tmp/multipartBody3005439010432607705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324846816,"filename":"image_10072025_17_45_43_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7f8e89e265664251eb5065d4c330c43.jpg","text":"TemporaryFile(/tmp/multipartBody4978303990238097712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324846816,"filename":"image_10072025_17_46_04_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1e71a169499561a6257557d406d1cd3.jpg","text":"TemporaryFile(/tmp/multipartBody1542510757147531192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324846816,"filename":"image_10072025_17_45_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f19716ff509731dd65e2671456bd4171.jpg","text":"TemporaryFile(/tmp/multipartBody7228742163141657663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324846816,"filename":"image_10072025_17_45_53_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23828ab3862c3df60c6c73422fd55ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5541203677069358683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324846816,"filename":"image_10072025_17_45_34_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891429","file1":"1371891426","file0":"1371891424","file4":"1371891434","file5":"1371891435","file3":"1371891432"},"map_files_photo_id_array":[{"photo_id":"1371891435","filename":"file5"},{"photo_id":"1371891429","filename":"file2"},{"photo_id":"1371891434","filename":"file4"},{"photo_id":"1371891426","filename":"file1"},{"photo_id":"1371891424","filename":"file0"},{"photo_id":"1371891432","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371891424":["hashtag1","hashtag2"]},{"1371891432":["hashtag1","hashtag2"]},{"1371891426":["hashtag1","hashtag2"]},{"1371891435":["hashtag1","hashtag2"]},{"1371891429":["hashtag1","hashtag2"]},{"1371891434":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371891424, 1371891432, 1371891426, 1371891435, 1371891429, 1371891434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26832032203674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:53:47.596822
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/53/image_12072025_14_53_23_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/14/53/image_12072025_14_53_14_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/53/image_12072025_14_53_23_9643.jpg', '/home/nano/Desktop/images/12072025/14/53/image_12072025_14_53_14_9662.jpg', '/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/53/image_12072025_14_53_23_9643.jpg
/home/nano/Desktop/images/12072025/14/53/image_12072025_14_53_14_9662.jpg
/home/nano/Desktop/images/12072025/14/52/image_12072025_14_52_53_9644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891445","1371891442","1371891447"],"photo_ids_order":["1371891442","1371891445","1371891447"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86727f212adb11d08bb5f203f033df9c.jpg","text":"TemporaryFile(/tmp/multipartBody4576217185474197399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324888992,"filename":"image_12072025_14_53_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07a97b49ba35146adce5bda7e0648407.jpg","text":"TemporaryFile(/tmp/multipartBody5911084532938638101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324888992,"filename":"image_12072025_14_53_23_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6f053fbf37ab195cd6bdc7dc856d754.jpg","text":"TemporaryFile(/tmp/multipartBody6485648513509727038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324888992,"filename":"image_12072025_14_52_53_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891447","file1":"1371891445","file0":"1371891442"},"map_files_photo_id_array":[{"photo_id":"1371891447","filename":"file2"},{"photo_id":"1371891445","filename":"file1"},{"photo_id":"1371891442","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891445":["hashtag1","hashtag2"]},{"1371891442":["hashtag1","hashtag2"]},{"1371891447":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891445, 1371891442, 1371891447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.42041778564453 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:54:17.713960
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/54/image_12072025_14_54_44_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/14/54/image_12072025_14_54_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/14/54/image_12072025_14_54_23_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/14/53/image_12072025_14_54_04_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/14/53/image_12072025_14_53_53_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/54/image_12072025_14_54_44_9640.jpg', '/home/nano/Desktop/images/12072025/14/54/image_12072025_14_54_34_10648.jpg', '/home/nano/Desktop/images/12072025/14/54/image_12072025_14_54_23_9641.jpg', '/home/nano/Desktop/images/12072025/14/53/image_12072025_14_54_04_10664.jpg', '/home/nano/Desktop/images/12072025/14/53/image_12072025_14_53_53_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/54/image_12072025_14_54_44_9640.jpg
/home/nano/Desktop/images/12072025/14/54/image_12072025_14_54_34_10648.jpg
/home/nano/Desktop/images/12072025/14/54/image_12072025_14_54_23_9641.jpg
/home/nano/Desktop/images/12072025/14/53/image_12072025_14_54_04_10664.jpg
/home/nano/Desktop/images/12072025/14/53/image_12072025_14_53_53_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891460","1371891457","1371891453","1371891452","1371891455"],"photo_ids_order":["1371891452","1371891453","1371891455","1371891457","1371891460"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e386bd23c19826ff97f40aec24a4970.jpg","text":"TemporaryFile(/tmp/multipartBody4674018263080852692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324919765,"filename":"image_12072025_14_53_53_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fed57175770fb8a3085a0bd27f417dc4.jpg","text":"TemporaryFile(/tmp/multipartBody9045551403782365512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324919765,"filename":"image_12072025_14_54_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10ebba6a9d4849f7d3682032a0cd372f.jpg","text":"TemporaryFile(/tmp/multipartBody3743429085325872692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324919765,"filename":"image_12072025_14_54_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89a1463339044302512df021cd67f1d7.jpg","text":"TemporaryFile(/tmp/multipartBody262937251195828476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324919765,"filename":"image_12072025_14_54_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be2bc118a351299d0f1c358e8d87e830.jpg","text":"TemporaryFile(/tmp/multipartBody1135618493958565647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324919765,"filename":"image_12072025_14_54_23_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891455","file1":"1371891453","file0":"1371891452","file4":"1371891460","file3":"1371891457"},"map_files_photo_id_array":[{"photo_id":"1371891455","filename":"file2"},{"photo_id":"1371891460","filename":"file4"},{"photo_id":"1371891453","filename":"file1"},{"photo_id":"1371891452","filename":"file0"},{"photo_id":"1371891457","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891460":["hashtag1","hashtag2"]},{"1371891457":["hashtag1","hashtag2"]},{"1371891453":["hashtag1","hashtag2"]},{"1371891452":["hashtag1","hashtag2"]},{"1371891455":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891460, 1371891457, 1371891453, 1371891452, 1371891455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.96362853050232 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:54:47.715606
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_14_9658.jpg', 2), ('/home/nano/Desktop/images/10072025/17/44/image_10072025_17_45_04_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_53_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_44_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_34_10644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_23_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_14_9658.jpg', '/home/nano/Desktop/images/10072025/17/44/image_10072025_17_45_04_10656.jpg', '/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_53_9634.jpg', '/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_44_9635.jpg', '/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_34_10644.jpg', '/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_23_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/45/image_10072025_17_45_14_9658.jpg
/home/nano/Desktop/images/10072025/17/44/image_10072025_17_45_04_10656.jpg
/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_53_9634.jpg
/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_44_9635.jpg
/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_34_10644.jpg
/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_23_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891469","1371891474","1371891477","1371891471","1371891465","1371891467"],"photo_ids_order":["1371891465","1371891467","1371891469","1371891471","1371891474","1371891477"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d98ec858444cf3df5add6747323fb699.jpg","text":"TemporaryFile(/tmp/multipartBody2774977307000177617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324950949,"filename":"image_10072025_17_44_53_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d826b93c79a1fdcfbed99777b80dc2a.jpg","text":"TemporaryFile(/tmp/multipartBody2981767609736203034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324950949,"filename":"image_10072025_17_44_34_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d17cbb2c9765cb0a4896574d768e0f4.jpg","text":"TemporaryFile(/tmp/multipartBody9132272964442911596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324950949,"filename":"image_10072025_17_44_23_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a43dca7cc8caf7bbb6a6cc39972c56f.jpg","text":"TemporaryFile(/tmp/multipartBody2534242096151107401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324950949,"filename":"image_10072025_17_44_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7e208d90cfebd46887aedb2b91fbf81.jpg","text":"TemporaryFile(/tmp/multipartBody2839076473195204443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324950949,"filename":"image_10072025_17_45_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ad9ddeaf86bf4dc1d75b0da26d98f48.jpg","text":"TemporaryFile(/tmp/multipartBody2640044204476008200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324950949,"filename":"image_10072025_17_45_04_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891469","file1":"1371891467","file0":"1371891465","file4":"1371891474","file5":"1371891477","file3":"1371891471"},"map_files_photo_id_array":[{"photo_id":"1371891477","filename":"file5"},{"photo_id":"1371891469","filename":"file2"},{"photo_id":"1371891474","filename":"file4"},{"photo_id":"1371891467","filename":"file1"},{"photo_id":"1371891465","filename":"file0"},{"photo_id":"1371891471","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371891469":["hashtag1","hashtag2"]},{"1371891474":["hashtag1","hashtag2"]},{"1371891477":["hashtag1","hashtag2"]},{"1371891471":["hashtag1","hashtag2"]},{"1371891465":["hashtag1","hashtag2"]},{"1371891467":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371891469, 1371891474, 1371891477, 1371891471, 1371891465, 1371891467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.098782777786255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:55:31.799908
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_44_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_34_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_24_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_14_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/14/54/image_12072025_14_54_54_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_44_9646.jpg', '/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_34_9642.jpg', '/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_24_10652.jpg', '/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_14_9665.jpg', '/home/nano/Desktop/images/12072025/14/54/image_12072025_14_54_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_44_9646.jpg
/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_34_9642.jpg
/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_24_10652.jpg
/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_14_9665.jpg
/home/nano/Desktop/images/12072025/14/54/image_12072025_14_54_54_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891487","1371891480","1371891485","1371891479","1371891482"],"photo_ids_order":["1371891479","1371891480","1371891482","1371891485","1371891487"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1991ad0b60b72f32264157803406f03.jpg","text":"TemporaryFile(/tmp/multipartBody3978727569922138604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324994067,"filename":"image_12072025_14_54_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/199c6b0cef48b9739fcb52309e6b5bad.jpg","text":"TemporaryFile(/tmp/multipartBody6735811295354309800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324994067,"filename":"image_12072025_14_55_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/783ca2e49d229e0f8ea101a6a7f153c3.jpg","text":"TemporaryFile(/tmp/multipartBody2217929595502496153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324994067,"filename":"image_12072025_14_55_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c20dddf38ede0d50d5ad47a996f3807c.jpg","text":"TemporaryFile(/tmp/multipartBody8086010441380398004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324994067,"filename":"image_12072025_14_55_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56b8c59080401411aaa6dd74846d4b20.jpg","text":"TemporaryFile(/tmp/multipartBody8994460798086295399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752324994067,"filename":"image_12072025_14_55_24_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891482","file1":"1371891480","file0":"1371891479","file4":"1371891487","file3":"1371891485"},"map_files_photo_id_array":[{"photo_id":"1371891482","filename":"file2"},{"photo_id":"1371891487","filename":"file4"},{"photo_id":"1371891480","filename":"file1"},{"photo_id":"1371891479","filename":"file0"},{"photo_id":"1371891485","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891487":["hashtag1","hashtag2"]},{"1371891480":["hashtag1","hashtag2"]},{"1371891485":["hashtag1","hashtag2"]},{"1371891479":["hashtag1","hashtag2"]},{"1371891482":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891487, 1371891480, 1371891485, 1371891479, 1371891482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.1613073348999 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:56:16.914400
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_43_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_34_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_24_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_14_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_54_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_43_9658.jpg', '/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_34_9653.jpg', '/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_24_10652.jpg', '/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_14_9661.jpg', '/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_54_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_43_9658.jpg
/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_34_9653.jpg
/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_24_10652.jpg
/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_14_9661.jpg
/home/nano/Desktop/images/12072025/14/55/image_12072025_14_55_54_10660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371891662","1371891638","1371891613","1371891590","1371891686"],"photo_ids_order":["1371891590","1371891613","1371891638","1371891662","1371891686"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50c004e9bc81fe20224d42d09df14b45.jpg","text":"TemporaryFile(/tmp/multipartBody4868634093236565921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325039525,"filename":"image_12072025_14_56_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/931d334088e93063e85c30e3dd093f0a.jpg","text":"TemporaryFile(/tmp/multipartBody5029842888332631459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325039525,"filename":"image_12072025_14_56_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9ca41432c4f6891bef72f10ab09e93a.jpg","text":"TemporaryFile(/tmp/multipartBody7709995925716802791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325039525,"filename":"image_12072025_14_56_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b360dd9ba16339c0a935a753aced0559.jpg","text":"TemporaryFile(/tmp/multipartBody546096688556481050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325039525,"filename":"image_12072025_14_56_43_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9194aaae66d0f27460c96a9eb8d99298.jpg","text":"TemporaryFile(/tmp/multipartBody2363089544950001958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325039525,"filename":"image_12072025_14_55_54_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891638","file1":"1371891613","file0":"1371891590","file4":"1371891686","file3":"1371891662"},"map_files_photo_id_array":[{"photo_id":"1371891638","filename":"file2"},{"photo_id":"1371891686","filename":"file4"},{"photo_id":"1371891613","filename":"file1"},{"photo_id":"1371891590","filename":"file0"},{"photo_id":"1371891662","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371891662":["hashtag1","hashtag2"]},{"1371891638":["hashtag1","hashtag2"]},{"1371891613":["hashtag1","hashtag2"]},{"1371891590":["hashtag1","hashtag2"]},{"1371891686":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371891662, 1371891638, 1371891613, 1371891590, 1371891686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.788636445999146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:56:46.892728
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_14_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_53_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_44_10635.jpg', 2), ('/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_33_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_23_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_14_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_14_9655.jpg', '/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_53_9646.jpg', '/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_44_10635.jpg', '/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_33_9628.jpg', '/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_23_9625.jpg', '/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_14_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/44/image_10072025_17_44_14_9655.jpg
/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_53_9646.jpg
/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_44_10635.jpg
/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_33_9628.jpg
/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_23_9625.jpg
/home/nano/Desktop/images/10072025/17/43/image_10072025_17_43_14_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371892001","1371891970","1371891877","1371891922","1371891826","1371891782"],"photo_ids_order":["1371891782","1371891826","1371891877","1371891922","1371891970","1371892001"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af9748567a4c7044e380c77012629353.jpg","text":"TemporaryFile(/tmp/multipartBody8739167003758326916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325069983,"filename":"image_10072025_17_43_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff5c54d5d6cc6e641902876892dfe4ad.jpg","text":"TemporaryFile(/tmp/multipartBody1641088000101539986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325069983,"filename":"image_10072025_17_43_23_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b03381859816afa05e9cac720344ca4e.jpg","text":"TemporaryFile(/tmp/multipartBody5103193226321572151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325069983,"filename":"image_10072025_17_43_44_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1dd295fd9004d7013ac7acccf746422a.jpg","text":"TemporaryFile(/tmp/multipartBody2629768311218340742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325069983,"filename":"image_10072025_17_43_33_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e88ece7dd04d39e802d082f61adde7c1.jpg","text":"TemporaryFile(/tmp/multipartBody8513859497787034168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325069983,"filename":"image_10072025_17_43_53_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2ed59fb41c3682f39f035776ef770f4.jpg","text":"TemporaryFile(/tmp/multipartBody5340433855055989042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325069983,"filename":"image_10072025_17_44_14_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371891877","file1":"1371891826","file0":"1371891782","file4":"1371891970","file5":"1371892001","file3":"1371891922"},"map_files_photo_id_array":[{"photo_id":"1371892001","filename":"file5"},{"photo_id":"1371891877","filename":"file2"},{"photo_id":"1371891970","filename":"file4"},{"photo_id":"1371891826","filename":"file1"},{"photo_id":"1371891782","filename":"file0"},{"photo_id":"1371891922","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371892001":["hashtag1","hashtag2"]},{"1371891970":["hashtag1","hashtag2"]},{"1371891877":["hashtag1","hashtag2"]},{"1371891922":["hashtag1","hashtag2"]},{"1371891826":["hashtag1","hashtag2"]},{"1371891782":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371892001, 1371891970, 1371891877, 1371891922, 1371891826, 1371891782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.341352224349976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:57:31.987214
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_34_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_24_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/14/56/image_12072025_14_57_04_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_54_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_43_9640.jpg', '/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_34_9650.jpg', '/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_24_10650.jpg', '/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_13_9658.jpg', '/home/nano/Desktop/images/12072025/14/56/image_12072025_14_57_04_9656.jpg', '/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_43_9640.jpg
/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_34_9650.jpg
/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_24_10650.jpg
/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_13_9658.jpg
/home/nano/Desktop/images/12072025/14/56/image_12072025_14_57_04_9656.jpg
/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_54_10653.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:58:17.187771
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/58/image_12072025_14_58_43_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/58/image_12072025_14_58_34_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/58/image_12072025_14_58_24_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_54_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_43_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_34_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/58/image_12072025_14_58_43_9642.jpg', '/home/nano/Desktop/images/12072025/14/58/image_12072025_14_58_34_9642.jpg', '/home/nano/Desktop/images/12072025/14/58/image_12072025_14_58_24_10656.jpg', '/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_54_10674.jpg', '/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_43_9640.jpg', '/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_34_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/58/image_12072025_14_58_43_9642.jpg
/home/nano/Desktop/images/12072025/14/58/image_12072025_14_58_34_9642.jpg
/home/nano/Desktop/images/12072025/14/58/image_12072025_14_58_24_10656.jpg
/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_54_10674.jpg
/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_43_9640.jpg
/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_34_9650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371892459","1371892525","1371892545","1371892524","1371892509","1371892418"],"photo_ids_order":["1371892418","1371892459","1371892509","1371892524","1371892525","1371892545"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/118019c26d48588e4a2669910bafa350.jpg","text":"TemporaryFile(/tmp/multipartBody3612963140664978374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325160020,"filename":"image_12072025_14_58_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ace856b1e71ed302c1e0f10aa347188e.jpg","text":"TemporaryFile(/tmp/multipartBody8829806307011662476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325160020,"filename":"image_12072025_14_57_43_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67ce6496d0dd18582647e49a66056d67.jpg","text":"TemporaryFile(/tmp/multipartBody2549009270317404118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325160020,"filename":"image_12072025_14_57_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25294b7770edcaa0d0173190d1a41a7f.jpg","text":"TemporaryFile(/tmp/multipartBody8411093407357403065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325160020,"filename":"image_12072025_14_57_54_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f666fa89e0640569a0d8e158e01b1fb4.jpg","text":"TemporaryFile(/tmp/multipartBody7568829965480232071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325160020,"filename":"image_12072025_14_58_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0c5ff11e47043b5543f7afdfd9f09df.jpg","text":"TemporaryFile(/tmp/multipartBody5945026200202269866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325160020,"filename":"image_12072025_14_58_43_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371892509","file1":"1371892459","file0":"1371892418","file4":"1371892525","file5":"1371892545","file3":"1371892524"},"map_files_photo_id_array":[{"photo_id":"1371892545","filename":"file5"},{"photo_id":"1371892509","filename":"file2"},{"photo_id":"1371892525","filename":"file4"},{"photo_id":"1371892459","filename":"file1"},{"photo_id":"1371892418","filename":"file0"},{"photo_id":"1371892524","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371892459":["hashtag1","hashtag2"]},{"1371892525":["hashtag1","hashtag2"]},{"1371892545":["hashtag1","hashtag2"]},{"1371892524":["hashtag1","hashtag2"]},{"1371892509":["hashtag1","hashtag2"]},{"1371892418":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371892459, 1371892525, 1371892545, 1371892524, 1371892509, 1371892418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.45826077461243 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 14:59:17.312207
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_34_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_24_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/14/58/image_12072025_14_59_04_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/14/58/image_12072025_14_58_54_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_44_10649.jpg', '/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_34_9642.jpg', '/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_24_10652.jpg', '/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_13_9656.jpg', '/home/nano/Desktop/images/12072025/14/58/image_12072025_14_59_04_9651.jpg', '/home/nano/Desktop/images/12072025/14/58/image_12072025_14_58_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_44_10649.jpg
/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_34_9642.jpg
/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_24_10652.jpg
/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_13_9656.jpg
/home/nano/Desktop/images/12072025/14/58/image_12072025_14_59_04_9651.jpg
/home/nano/Desktop/images/12072025/14/58/image_12072025_14_58_54_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371892604","1371892603","1371892606","1371892609","1371892600","1371892610"],"photo_ids_order":["1371892600","1371892603","1371892604","1371892606","1371892609","1371892610"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8bea403784efef2852f4174ab44a2384.jpg","text":"TemporaryFile(/tmp/multipartBody1065992341501124298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325219246,"filename":"image_12072025_14_59_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14e8064f4f6485c8dd9689df9fb764c5.jpg","text":"TemporaryFile(/tmp/multipartBody2297560093410411486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325219246,"filename":"image_12072025_14_59_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2cffc64f43a3a03a202708e01b1596a.jpg","text":"TemporaryFile(/tmp/multipartBody9167069369222649950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325219246,"filename":"image_12072025_14_59_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5c0425ee268795ab6e3acdbc96e7706.jpg","text":"TemporaryFile(/tmp/multipartBody3482068951514929918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325219246,"filename":"image_12072025_14_59_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c49bcf9df84aedadf198a4aee4837b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3042194232766496447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325219246,"filename":"image_12072025_14_59_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7122f38cb868823788f18b2f87770e7.jpg","text":"TemporaryFile(/tmp/multipartBody7978494021619755145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325219246,"filename":"image_12072025_14_58_54_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371892604","file1":"1371892603","file0":"1371892600","file4":"1371892609","file5":"1371892610","file3":"1371892606"},"map_files_photo_id_array":[{"photo_id":"1371892610","filename":"file5"},{"photo_id":"1371892604","filename":"file2"},{"photo_id":"1371892609","filename":"file4"},{"photo_id":"1371892603","filename":"file1"},{"photo_id":"1371892600","filename":"file0"},{"photo_id":"1371892606","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371892604":["hashtag1","hashtag2"]},{"1371892603":["hashtag1","hashtag2"]},{"1371892606":["hashtag1","hashtag2"]},{"1371892609":["hashtag1","hashtag2"]},{"1371892600":["hashtag1","hashtag2"]},{"1371892610":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371892604, 1371892603, 1371892606, 1371892609, 1371892600, 1371892610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.57201075553894 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:00:02.859479
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_24_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/14/56/image_12072025_14_57_04_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_54_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_24_10650.jpg', '/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_13_9658.jpg', '/home/nano/Desktop/images/12072025/14/56/image_12072025_14_57_04_9656.jpg', '/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_24_10650.jpg
/home/nano/Desktop/images/12072025/14/57/image_12072025_14_57_13_9658.jpg
/home/nano/Desktop/images/12072025/14/56/image_12072025_14_57_04_9656.jpg
/home/nano/Desktop/images/12072025/14/56/image_12072025_14_56_54_10653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371892677","1371892653","1371892626","1371892628"],"photo_ids_order":["1371892626","1371892628","1371892653","1371892677"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9da868914c3c6931e0d17d96ac13cf18.jpg","text":"TemporaryFile(/tmp/multipartBody995757513601906570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325264253,"filename":"image_12072025_14_56_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8cb948b66c56314cfd7ce57c4cd50d2c.jpg","text":"TemporaryFile(/tmp/multipartBody9063494731600839470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325264253,"filename":"image_12072025_14_57_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c68339edde938f4d1862c4a9fdcef91.jpg","text":"TemporaryFile(/tmp/multipartBody6088486402816535739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325264253,"filename":"image_12072025_14_57_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2a00f62d3f640eaec43f0f7c0f68b55.jpg","text":"TemporaryFile(/tmp/multipartBody5999826267392119657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325264253,"filename":"image_12072025_14_57_13_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371892653","file1":"1371892628","file0":"1371892626","file3":"1371892677"},"map_files_photo_id_array":[{"photo_id":"1371892653","filename":"file2"},{"photo_id":"1371892628","filename":"file1"},{"photo_id":"1371892626","filename":"file0"},{"photo_id":"1371892677","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371892677":["hashtag1","hashtag2"]},{"1371892653":["hashtag1","hashtag2"]},{"1371892626":["hashtag1","hashtag2"]},{"1371892628":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371892677, 1371892653, 1371892626, 1371892628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.253109455108643 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:00:32.422470
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/00/image_12072025_15_00_44_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/15/00/image_12072025_15_00_24_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/15/00/image_12072025_15_00_14_10690.jpg', 2), ('/home/nano/Desktop/images/12072025/14/59/image_12072025_15_00_04_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/00/image_12072025_15_00_44_10667.jpg', '/home/nano/Desktop/images/12072025/15/00/image_12072025_15_00_24_9657.jpg', '/home/nano/Desktop/images/12072025/15/00/image_12072025_15_00_14_10690.jpg', '/home/nano/Desktop/images/12072025/14/59/image_12072025_15_00_04_9663.jpg', '/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/00/image_12072025_15_00_44_10667.jpg
/home/nano/Desktop/images/12072025/15/00/image_12072025_15_00_24_9657.jpg
/home/nano/Desktop/images/12072025/15/00/image_12072025_15_00_14_10690.jpg
/home/nano/Desktop/images/12072025/14/59/image_12072025_15_00_04_9663.jpg
/home/nano/Desktop/images/12072025/14/59/image_12072025_14_59_54_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371892812","1371892836","1371892787","1371892889","1371892862"],"photo_ids_order":["1371892787","1371892812","1371892836","1371892862","1371892889"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad836ab41f681ec58cbe7536085a6529.jpg","text":"TemporaryFile(/tmp/multipartBody8758142241867346931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325293616,"filename":"image_12072025_15_00_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3d81e05c127778074e110cf12995be3.jpg","text":"TemporaryFile(/tmp/multipartBody9191240055633859436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325293616,"filename":"image_12072025_15_00_14_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/abf76a6db25ea1a94cc4ac5b02491709.jpg","text":"TemporaryFile(/tmp/multipartBody6338626697145934790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325293616,"filename":"image_12072025_15_00_44_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3eb345121b99123df264c1a77211d76.jpg","text":"TemporaryFile(/tmp/multipartBody1997929854688721240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325293616,"filename":"image_12072025_14_59_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3740afe9387ab6ed04579568ec87feed.jpg","text":"TemporaryFile(/tmp/multipartBody5221729516894629353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325293616,"filename":"image_12072025_15_00_04_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371892836","file1":"1371892812","file0":"1371892787","file4":"1371892889","file3":"1371892862"},"map_files_photo_id_array":[{"photo_id":"1371892836","filename":"file2"},{"photo_id":"1371892889","filename":"file4"},{"photo_id":"1371892812","filename":"file1"},{"photo_id":"1371892787","filename":"file0"},{"photo_id":"1371892862","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371892812":["hashtag1","hashtag2"]},{"1371892836":["hashtag1","hashtag2"]},{"1371892787":["hashtag1","hashtag2"]},{"1371892889":["hashtag1","hashtag2"]},{"1371892862":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371892812, 1371892836, 1371892787, 1371892889, 1371892862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.655130624771118 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:01:03.122898
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/42/image_10072025_17_43_03_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_54_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_44_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_33_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_24_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_14_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/42/image_10072025_17_43_03_9638.jpg', '/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_54_9635.jpg', '/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_44_10636.jpg', '/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_33_9632.jpg', '/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_24_9634.jpg', '/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_14_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/42/image_10072025_17_43_03_9638.jpg
/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_54_9635.jpg
/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_44_10636.jpg
/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_33_9632.jpg
/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_24_9634.jpg
/home/nano/Desktop/images/10072025/17/42/image_10072025_17_42_14_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371893110","1371893014","1371893061","1371893270","1371893165","1371893219"],"photo_ids_order":["1371893014","1371893061","1371893110","1371893165","1371893219","1371893270"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f51d4b477bdc43561e586b298482b7d5.jpg","text":"TemporaryFile(/tmp/multipartBody2889373555162997966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325327229,"filename":"image_10072025_17_42_44_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c01c81c5b40c06af5c1ed0e91f3a3bd.jpg","text":"TemporaryFile(/tmp/multipartBody654205943750414332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325327229,"filename":"image_10072025_17_43_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83ae1f6d34b34b91f77977d5106c4794.jpg","text":"TemporaryFile(/tmp/multipartBody3712432118627022593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325327229,"filename":"image_10072025_17_42_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f40c4c0d3ed7ad78923a0c8acd40c14f.jpg","text":"TemporaryFile(/tmp/multipartBody8504268098916007187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325327229,"filename":"image_10072025_17_42_14_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa21468d3db9fe152af9057ff127bde2.jpg","text":"TemporaryFile(/tmp/multipartBody5104700288658415658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325327229,"filename":"image_10072025_17_42_33_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4eebc930421fc4e5f11af1c2757be3d.jpg","text":"TemporaryFile(/tmp/multipartBody1944805404437907250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325327229,"filename":"image_10072025_17_42_24_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371893110","file1":"1371893061","file0":"1371893014","file4":"1371893219","file5":"1371893270","file3":"1371893165"},"map_files_photo_id_array":[{"photo_id":"1371893270","filename":"file5"},{"photo_id":"1371893110","filename":"file2"},{"photo_id":"1371893219","filename":"file4"},{"photo_id":"1371893061","filename":"file1"},{"photo_id":"1371893014","filename":"file0"},{"photo_id":"1371893165","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371893110":["hashtag1","hashtag2"]},{"1371893014":["hashtag1","hashtag2"]},{"1371893061":["hashtag1","hashtag2"]},{"1371893270":["hashtag1","hashtag2"]},{"1371893165":["hashtag1","hashtag2"]},{"1371893219":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371893110, 1371893014, 1371893061, 1371893270, 1371893165, 1371893219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.757725954055786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:01:47.514558
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/01/image_12072025_15_01_44_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/15/01/image_12072025_15_01_34_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/15/01/image_12072025_15_01_14_10696.jpg', 2), ('/home/nano/Desktop/images/12072025/15/00/image_12072025_15_01_04_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/15/00/image_12072025_15_00_54_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/01/image_12072025_15_01_44_10653.jpg', '/home/nano/Desktop/images/12072025/15/01/image_12072025_15_01_34_9668.jpg', '/home/nano/Desktop/images/12072025/15/01/image_12072025_15_01_14_10696.jpg', '/home/nano/Desktop/images/12072025/15/00/image_12072025_15_01_04_9649.jpg', '/home/nano/Desktop/images/12072025/15/00/image_12072025_15_00_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/01/image_12072025_15_01_44_10653.jpg
/home/nano/Desktop/images/12072025/15/01/image_12072025_15_01_34_9668.jpg
/home/nano/Desktop/images/12072025/15/01/image_12072025_15_01_14_10696.jpg
/home/nano/Desktop/images/12072025/15/00/image_12072025_15_01_04_9649.jpg
/home/nano/Desktop/images/12072025/15/00/image_12072025_15_00_54_9658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371893592","1371893477","1371893564","1371893525","1371893632"],"photo_ids_order":["1371893477","1371893525","1371893564","1371893592","1371893632"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/334fecaf8e1cb9b0e5a737a5e383bcd9.jpg","text":"TemporaryFile(/tmp/multipartBody4126648719924615565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325368820,"filename":"image_12072025_15_01_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba041bde91046a33ca7931cb6906ff60.jpg","text":"TemporaryFile(/tmp/multipartBody3174130705796775201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325368820,"filename":"image_12072025_15_01_44_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6120a1c85387af1ee786e045b6f986a9.jpg","text":"TemporaryFile(/tmp/multipartBody7828818745454510643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325368820,"filename":"image_12072025_15_01_14_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/524171a60de5cfb609b7cb71923566b0.jpg","text":"TemporaryFile(/tmp/multipartBody8939198649709189469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325368820,"filename":"image_12072025_15_01_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/057828ad19a4f1edc197dada8c8c5478.jpg","text":"TemporaryFile(/tmp/multipartBody1255087320935313949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325368820,"filename":"image_12072025_15_00_54_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371893564","file1":"1371893525","file0":"1371893477","file4":"1371893632","file3":"1371893592"},"map_files_photo_id_array":[{"photo_id":"1371893564","filename":"file2"},{"photo_id":"1371893632","filename":"file4"},{"photo_id":"1371893525","filename":"file1"},{"photo_id":"1371893477","filename":"file0"},{"photo_id":"1371893592","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371893592":["hashtag1","hashtag2"]},{"1371893477":["hashtag1","hashtag2"]},{"1371893564":["hashtag1","hashtag2"]},{"1371893525":["hashtag1","hashtag2"]},{"1371893632":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371893592, 1371893477, 1371893564, 1371893525, 1371893632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.930214881896973 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:02:17.641440
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_43_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_34_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_24_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_13_9694.jpg', 2), ('/home/nano/Desktop/images/12072025/15/01/image_12072025_15_02_04_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/15/01/image_12072025_15_01_54_9858.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_43_9645.jpg', '/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_34_9642.jpg', '/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_24_10670.jpg', '/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_13_9694.jpg', '/home/nano/Desktop/images/12072025/15/01/image_12072025_15_02_04_9671.jpg', '/home/nano/Desktop/images/12072025/15/01/image_12072025_15_01_54_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_43_9645.jpg
/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_34_9642.jpg
/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_24_10670.jpg
/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_13_9694.jpg
/home/nano/Desktop/images/12072025/15/01/image_12072025_15_02_04_9671.jpg
/home/nano/Desktop/images/12072025/15/01/image_12072025_15_01_54_9858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371893812","1371893751","1371893811","1371893795","1371893814","1371893816"],"photo_ids_order":["1371893751","1371893795","1371893811","1371893812","1371893814","1371893816"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1a072cab8d5d34e514106962a666df8.jpg","text":"TemporaryFile(/tmp/multipartBody823388254100318765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325399617,"filename":"image_12072025_15_02_13_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d9a48f44b1abc3ee227fe4dbb02a1b6.jpg","text":"TemporaryFile(/tmp/multipartBody2201056622854769973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325399617,"filename":"image_12072025_15_02_43_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fb6f0a6b63db74306fa8616dde4519b.jpg","text":"TemporaryFile(/tmp/multipartBody5060617887151719586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325399617,"filename":"image_12072025_15_02_24_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50ffc6acc7514ed1dce17316b745711c.jpg","text":"TemporaryFile(/tmp/multipartBody5898591101953266562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325399617,"filename":"image_12072025_15_02_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f2ceafd83b04a8cd84a3256ba43106d.jpg","text":"TemporaryFile(/tmp/multipartBody1352116469909077034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325399617,"filename":"image_12072025_15_02_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f37bb7261dac9eaaaada149755ddc185.jpg","text":"TemporaryFile(/tmp/multipartBody4033503173968936531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325399617,"filename":"image_12072025_15_01_54_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371893811","file1":"1371893795","file0":"1371893751","file4":"1371893814","file5":"1371893816","file3":"1371893812"},"map_files_photo_id_array":[{"photo_id":"1371893816","filename":"file5"},{"photo_id":"1371893811","filename":"file2"},{"photo_id":"1371893814","filename":"file4"},{"photo_id":"1371893795","filename":"file1"},{"photo_id":"1371893751","filename":"file0"},{"photo_id":"1371893812","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371893812":["hashtag1","hashtag2"]},{"1371893751":["hashtag1","hashtag2"]},{"1371893811":["hashtag1","hashtag2"]},{"1371893795":["hashtag1","hashtag2"]},{"1371893814":["hashtag1","hashtag2"]},{"1371893816":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371893812, 1371893751, 1371893811, 1371893795, 1371893814, 1371893816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87421631813049 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:03:03.276679
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/41/image_10072025_17_42_03_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/17/41/image_10072025_17_41_54_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/17/41/image_10072025_17_41_33_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/17/41/image_10072025_17_41_13_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/17/40/image_10072025_17_41_03_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_54_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/41/image_10072025_17_42_03_9639.jpg', '/home/nano/Desktop/images/10072025/17/41/image_10072025_17_41_54_9628.jpg', '/home/nano/Desktop/images/10072025/17/41/image_10072025_17_41_33_9635.jpg', '/home/nano/Desktop/images/10072025/17/41/image_10072025_17_41_13_9648.jpg', '/home/nano/Desktop/images/10072025/17/40/image_10072025_17_41_03_9631.jpg', '/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_54_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/41/image_10072025_17_42_03_9639.jpg
/home/nano/Desktop/images/10072025/17/41/image_10072025_17_41_54_9628.jpg
/home/nano/Desktop/images/10072025/17/41/image_10072025_17_41_33_9635.jpg
/home/nano/Desktop/images/10072025/17/41/image_10072025_17_41_13_9648.jpg
/home/nano/Desktop/images/10072025/17/40/image_10072025_17_41_03_9631.jpg
/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_54_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371893947","1371893970","1371893996","1371893899","1371893923","1371893872"],"photo_ids_order":["1371893872","1371893899","1371893923","1371893947","1371893970","1371893996"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/486c3ade9cdc1bb0619a6914fa7bdbf8.jpg","text":"TemporaryFile(/tmp/multipartBody6640015712334342137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325447259,"filename":"image_10072025_17_41_13_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4176a599c0e7e44311e07a97f3a5645e.jpg","text":"TemporaryFile(/tmp/multipartBody8030432862542659164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325447259,"filename":"image_10072025_17_41_03_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92e29e02111208026eb2c6c1365f4a17.jpg","text":"TemporaryFile(/tmp/multipartBody624877813290580483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325447259,"filename":"image_10072025_17_40_54_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d426e5330cf31c1614d444c4b4a9ecc.jpg","text":"TemporaryFile(/tmp/multipartBody6698394748271803415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325447259,"filename":"image_10072025_17_41_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a1aaed29d9a72961f27791563d5334b.jpg","text":"TemporaryFile(/tmp/multipartBody6485400302682140041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325447259,"filename":"image_10072025_17_41_33_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d0e14a6175e02a481e39c985b46e4bc.jpg","text":"TemporaryFile(/tmp/multipartBody6609851707556442695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325447259,"filename":"image_10072025_17_42_03_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371893923","file1":"1371893899","file0":"1371893872","file4":"1371893970","file5":"1371893996","file3":"1371893947"},"map_files_photo_id_array":[{"photo_id":"1371893996","filename":"file5"},{"photo_id":"1371893923","filename":"file2"},{"photo_id":"1371893970","filename":"file4"},{"photo_id":"1371893899","filename":"file1"},{"photo_id":"1371893872","filename":"file0"},{"photo_id":"1371893947","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371893947":["hashtag1","hashtag2"]},{"1371893970":["hashtag1","hashtag2"]},{"1371893996":["hashtag1","hashtag2"]},{"1371893899":["hashtag1","hashtag2"]},{"1371893923":["hashtag1","hashtag2"]},{"1371893872":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371893947, 1371893970, 1371893996, 1371893899, 1371893923, 1371893872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.869993686676025 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:03:47.735972
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_43_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_34_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_24_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_13_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/15/02/image_12072025_15_03_04_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_54_10682.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_43_9655.jpg', '/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_34_9643.jpg', '/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_24_10658.jpg', '/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_13_9661.jpg', '/home/nano/Desktop/images/12072025/15/02/image_12072025_15_03_04_9650.jpg', '/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_54_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_43_9655.jpg
/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_34_9643.jpg
/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_24_10658.jpg
/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_13_9661.jpg
/home/nano/Desktop/images/12072025/15/02/image_12072025_15_03_04_9650.jpg
/home/nano/Desktop/images/12072025/15/02/image_12072025_15_02_54_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894048","1371894074","1371894044","1371894122","1371894121","1371894103"],"photo_ids_order":["1371894044","1371894048","1371894074","1371894103","1371894121","1371894122"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b57c5783cf25fec5a6882cd8f5caed87.jpg","text":"TemporaryFile(/tmp/multipartBody1550178906335317048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325489935,"filename":"image_12072025_15_03_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9797044ebe707cb21dfeb1882709a8e.jpg","text":"TemporaryFile(/tmp/multipartBody3996646725303384464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325489935,"filename":"image_12072025_15_03_24_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bee1345039bed7cbdd94d56e35331bd7.jpg","text":"TemporaryFile(/tmp/multipartBody6429423010393013038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325489935,"filename":"image_12072025_15_03_43_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/121d58ed307348b145e8ccc3c71dc0ec.jpg","text":"TemporaryFile(/tmp/multipartBody6436108136267600988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325489935,"filename":"image_12072025_15_02_54_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c92268186824c75b5d26ee138c2d776f.jpg","text":"TemporaryFile(/tmp/multipartBody1614157285670769279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325489935,"filename":"image_12072025_15_03_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b4a5076c31e1045e3beafdb8fd26695.jpg","text":"TemporaryFile(/tmp/multipartBody9107067147943869635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325489935,"filename":"image_12072025_15_03_13_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894074","file1":"1371894048","file0":"1371894044","file4":"1371894121","file5":"1371894122","file3":"1371894103"},"map_files_photo_id_array":[{"photo_id":"1371894122","filename":"file5"},{"photo_id":"1371894074","filename":"file2"},{"photo_id":"1371894121","filename":"file4"},{"photo_id":"1371894048","filename":"file1"},{"photo_id":"1371894044","filename":"file0"},{"photo_id":"1371894103","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894048":["hashtag1","hashtag2"]},{"1371894074":["hashtag1","hashtag2"]},{"1371894044":["hashtag1","hashtag2"]},{"1371894122":["hashtag1","hashtag2"]},{"1371894121":["hashtag1","hashtag2"]},{"1371894103":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894048, 1371894074, 1371894044, 1371894122, 1371894121, 1371894103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00921154022217 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:04:31.836394
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/04/image_12072025_15_04_44_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/15/04/image_12072025_15_04_34_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/15/04/image_12072025_15_04_24_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/15/03/image_12072025_15_04_04_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_54_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/04/image_12072025_15_04_44_10655.jpg', '/home/nano/Desktop/images/12072025/15/04/image_12072025_15_04_34_9659.jpg', '/home/nano/Desktop/images/12072025/15/04/image_12072025_15_04_24_10650.jpg', '/home/nano/Desktop/images/12072025/15/03/image_12072025_15_04_04_9644.jpg', '/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/04/image_12072025_15_04_44_10655.jpg
/home/nano/Desktop/images/12072025/15/04/image_12072025_15_04_34_9659.jpg
/home/nano/Desktop/images/12072025/15/04/image_12072025_15_04_24_10650.jpg
/home/nano/Desktop/images/12072025/15/03/image_12072025_15_04_04_9644.jpg
/home/nano/Desktop/images/12072025/15/03/image_12072025_15_03_54_10653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894192","1371894194","1371894197","1371894200","1371894189"],"photo_ids_order":["1371894189","1371894192","1371894194","1371894197","1371894200"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6eadf77a916cedece92c3335b95833ea.jpg","text":"TemporaryFile(/tmp/multipartBody4304136631952846639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325534024,"filename":"image_12072025_15_04_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1134a23f16fe84dbfae43ca2b2c05728.jpg","text":"TemporaryFile(/tmp/multipartBody78037255756405005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325534024,"filename":"image_12072025_15_04_24_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66abfcec3d9e3915f650ea6280ff23ec.jpg","text":"TemporaryFile(/tmp/multipartBody8218294989782230075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325534024,"filename":"image_12072025_15_04_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/541836d0ca14eb2df9c7934e3e92c426.jpg","text":"TemporaryFile(/tmp/multipartBody5674419534414472353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325534024,"filename":"image_12072025_15_03_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23b04132cc118d9d3eedc8338f4c018c.jpg","text":"TemporaryFile(/tmp/multipartBody5391444998415076058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325534024,"filename":"image_12072025_15_04_44_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894194","file1":"1371894192","file0":"1371894189","file4":"1371894200","file3":"1371894197"},"map_files_photo_id_array":[{"photo_id":"1371894194","filename":"file2"},{"photo_id":"1371894200","filename":"file4"},{"photo_id":"1371894192","filename":"file1"},{"photo_id":"1371894189","filename":"file0"},{"photo_id":"1371894197","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894192":["hashtag1","hashtag2"]},{"1371894194":["hashtag1","hashtag2"]},{"1371894197":["hashtag1","hashtag2"]},{"1371894200":["hashtag1","hashtag2"]},{"1371894189":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894192, 1371894194, 1371894197, 1371894200, 1371894189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.277343273162842 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:05:02.658677
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_43_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_34_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_24_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_13_9642.jpg', 2), ('/home/nano/Desktop/images/10072025/17/39/image_10072025_17_40_04_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_43_9627.jpg', '/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_34_9630.jpg', '/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_24_10633.jpg', '/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_13_9642.jpg', '/home/nano/Desktop/images/10072025/17/39/image_10072025_17_40_04_9630.jpg', '/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_43_9627.jpg
/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_34_9630.jpg
/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_24_10633.jpg
/home/nano/Desktop/images/10072025/17/40/image_10072025_17_40_13_9642.jpg
/home/nano/Desktop/images/10072025/17/39/image_10072025_17_40_04_9630.jpg
/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_54_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894214","1371894208","1371894213","1371894212","1371894209","1371894211"],"photo_ids_order":["1371894208","1371894209","1371894211","1371894212","1371894213","1371894214"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b70088b93442290d46509a957c2174f0.jpg","text":"TemporaryFile(/tmp/multipartBody7348293671993411708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325566436,"filename":"image_10072025_17_39_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0fea1e0b32ea2b01004d73d91035c3f4.jpg","text":"TemporaryFile(/tmp/multipartBody3030930898206892925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325566436,"filename":"image_10072025_17_40_43_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc6d07036c5a352336797f6046ad1384.jpg","text":"TemporaryFile(/tmp/multipartBody3803650398862656378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325566436,"filename":"image_10072025_17_40_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7a8b4637c9f4892b66f45a95cbb6e51.jpg","text":"TemporaryFile(/tmp/multipartBody56899953262729240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325566436,"filename":"image_10072025_17_40_13_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5612cada37a111119231674476ff1470.jpg","text":"TemporaryFile(/tmp/multipartBody319281899044784907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325566436,"filename":"image_10072025_17_40_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b56c252ba087eb5b212db959da89382.jpg","text":"TemporaryFile(/tmp/multipartBody2073802897275246999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325566436,"filename":"image_10072025_17_40_24_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894211","file1":"1371894209","file0":"1371894208","file4":"1371894213","file5":"1371894214","file3":"1371894212"},"map_files_photo_id_array":[{"photo_id":"1371894214","filename":"file5"},{"photo_id":"1371894211","filename":"file2"},{"photo_id":"1371894213","filename":"file4"},{"photo_id":"1371894209","filename":"file1"},{"photo_id":"1371894208","filename":"file0"},{"photo_id":"1371894212","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371894214":["hashtag1","hashtag2"]},{"1371894208":["hashtag1","hashtag2"]},{"1371894213":["hashtag1","hashtag2"]},{"1371894212":["hashtag1","hashtag2"]},{"1371894209":["hashtag1","hashtag2"]},{"1371894211":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371894214, 1371894208, 1371894213, 1371894212, 1371894209, 1371894211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01188015937805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:05:46.955888
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_44_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_34_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_24_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/15/04/image_12072025_15_05_04_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/15/04/image_12072025_15_04_54_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_44_10654.jpg', '/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_34_9643.jpg', '/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_24_9641.jpg', '/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_14_10667.jpg', '/home/nano/Desktop/images/12072025/15/04/image_12072025_15_05_04_9657.jpg', '/home/nano/Desktop/images/12072025/15/04/image_12072025_15_04_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_44_10654.jpg
/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_34_9643.jpg
/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_24_9641.jpg
/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_14_10667.jpg
/home/nano/Desktop/images/12072025/15/04/image_12072025_15_05_04_9657.jpg
/home/nano/Desktop/images/12072025/15/04/image_12072025_15_04_54_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894231","1371894225","1371894222","1371894227","1371894229","1371894232"],"photo_ids_order":["1371894222","1371894225","1371894227","1371894229","1371894231","1371894232"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e368620db9910243ffcfacaf195848ab.jpg","text":"TemporaryFile(/tmp/multipartBody7031881510101632434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325609320,"filename":"image_12072025_15_05_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61971e630440c350196ab465ee9805b7.jpg","text":"TemporaryFile(/tmp/multipartBody6909689426056358325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325609320,"filename":"image_12072025_15_05_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7e68fc904ef7485763a49c539f07b61.jpg","text":"TemporaryFile(/tmp/multipartBody2734364340591017720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325609320,"filename":"image_12072025_15_05_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/179464c972ebab615dafb23bc76db54f.jpg","text":"TemporaryFile(/tmp/multipartBody4063623812285833190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325609320,"filename":"image_12072025_15_05_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1372497de16c968dd1e3fa4ad8b8f4a.jpg","text":"TemporaryFile(/tmp/multipartBody2222978494820170126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325609320,"filename":"image_12072025_15_05_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/978bf0c6958e15c804a1bdc0f74049d5.jpg","text":"TemporaryFile(/tmp/multipartBody1077034167161632119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325609320,"filename":"image_12072025_15_04_54_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894227","file1":"1371894225","file0":"1371894222","file4":"1371894231","file5":"1371894232","file3":"1371894229"},"map_files_photo_id_array":[{"photo_id":"1371894232","filename":"file5"},{"photo_id":"1371894227","filename":"file2"},{"photo_id":"1371894231","filename":"file4"},{"photo_id":"1371894225","filename":"file1"},{"photo_id":"1371894222","filename":"file0"},{"photo_id":"1371894229","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894231":["hashtag1","hashtag2"]},{"1371894225":["hashtag1","hashtag2"]},{"1371894222":["hashtag1","hashtag2"]},{"1371894227":["hashtag1","hashtag2"]},{"1371894229":["hashtag1","hashtag2"]},{"1371894232":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894231, 1371894225, 1371894222, 1371894227, 1371894229, 1371894232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60548257827759 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:06:32.092243
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_44_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_33_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_24_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_14_10678.jpg', 2), ('/home/nano/Desktop/images/12072025/15/05/image_12072025_15_06_04_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_54_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_44_10648.jpg', '/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_33_9650.jpg', '/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_24_9640.jpg', '/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_14_10678.jpg', '/home/nano/Desktop/images/12072025/15/05/image_12072025_15_06_04_9657.jpg', '/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_44_10648.jpg
/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_33_9650.jpg
/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_24_9640.jpg
/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_14_10678.jpg
/home/nano/Desktop/images/12072025/15/05/image_12072025_15_06_04_9657.jpg
/home/nano/Desktop/images/12072025/15/05/image_12072025_15_05_54_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894246","1371894242","1371894236","1371894239","1371894248","1371894238"],"photo_ids_order":["1371894236","1371894238","1371894239","1371894242","1371894246","1371894248"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e24f6fa787bfecf682dc8357cb6b0831.jpg","text":"TemporaryFile(/tmp/multipartBody1998507854834534157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325654057,"filename":"image_12072025_15_06_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae12a57dc3bcf1c40ae89714bdbcd9d1.jpg","text":"TemporaryFile(/tmp/multipartBody2821543614635036884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325654057,"filename":"image_12072025_15_06_14_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/938559dc6a7e165311876b4c12a8451c.jpg","text":"TemporaryFile(/tmp/multipartBody8196444968663599950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325654057,"filename":"image_12072025_15_06_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef4c0cd28159796e75c29e2b0a34a505.jpg","text":"TemporaryFile(/tmp/multipartBody7213782382128528914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325654057,"filename":"image_12072025_15_06_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c19a939311e8ccba845b756d15a91fe.jpg","text":"TemporaryFile(/tmp/multipartBody2733275318963681081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325654057,"filename":"image_12072025_15_05_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b3bc753dbb1f9b0af4b5f12fcf6b3ce.jpg","text":"TemporaryFile(/tmp/multipartBody269785807880533818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325654057,"filename":"image_12072025_15_06_33_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894239","file1":"1371894238","file0":"1371894236","file4":"1371894246","file5":"1371894248","file3":"1371894242"},"map_files_photo_id_array":[{"photo_id":"1371894248","filename":"file5"},{"photo_id":"1371894239","filename":"file2"},{"photo_id":"1371894246","filename":"file4"},{"photo_id":"1371894238","filename":"file1"},{"photo_id":"1371894236","filename":"file0"},{"photo_id":"1371894242","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894246":["hashtag1","hashtag2"]},{"1371894242":["hashtag1","hashtag2"]},{"1371894236":["hashtag1","hashtag2"]},{"1371894239":["hashtag1","hashtag2"]},{"1371894248":["hashtag1","hashtag2"]},{"1371894238":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894246, 1371894242, 1371894236, 1371894239, 1371894248, 1371894238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.172475814819336 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:07:17.168795
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_44_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_33_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_24_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_14_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/15/06/image_12072025_15_07_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_44_10655.jpg', '/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_33_9642.jpg', '/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_24_9639.jpg', '/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_14_10673.jpg', '/home/nano/Desktop/images/12072025/15/06/image_12072025_15_07_03_9643.jpg', '/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_54_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_44_10655.jpg
/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_33_9642.jpg
/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_24_9639.jpg
/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_14_10673.jpg
/home/nano/Desktop/images/12072025/15/06/image_12072025_15_07_03_9643.jpg
/home/nano/Desktop/images/12072025/15/06/image_12072025_15_06_54_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894270","1371894267","1371894255","1371894260","1371894263","1371894257"],"photo_ids_order":["1371894255","1371894257","1371894260","1371894263","1371894267","1371894270"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a31f9e80a146cde78e8dfc0b8af657ab.jpg","text":"TemporaryFile(/tmp/multipartBody4667348384492302634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325699087,"filename":"image_12072025_15_06_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02bd11e0f626e37110e2e91d2783947a.jpg","text":"TemporaryFile(/tmp/multipartBody3700764186120850970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325699087,"filename":"image_12072025_15_07_03_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/edae985272909641508c07b69f587763.jpg","text":"TemporaryFile(/tmp/multipartBody8304519183427977754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325699087,"filename":"image_12072025_15_07_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5a894d75a3f7503eecabb34673a36db.jpg","text":"TemporaryFile(/tmp/multipartBody4404735806364413671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325699087,"filename":"image_12072025_15_07_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd6074756fee980397a0ca55ad4011b4.jpg","text":"TemporaryFile(/tmp/multipartBody6293984088739123768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325699087,"filename":"image_12072025_15_07_14_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a5090329163ae7f62350f470ee27d77.jpg","text":"TemporaryFile(/tmp/multipartBody7498174338314914446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325699087,"filename":"image_12072025_15_07_33_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894260","file1":"1371894257","file0":"1371894255","file4":"1371894267","file5":"1371894270","file3":"1371894263"},"map_files_photo_id_array":[{"photo_id":"1371894270","filename":"file5"},{"photo_id":"1371894260","filename":"file2"},{"photo_id":"1371894267","filename":"file4"},{"photo_id":"1371894257","filename":"file1"},{"photo_id":"1371894255","filename":"file0"},{"photo_id":"1371894263","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894270":["hashtag1","hashtag2"]},{"1371894267":["hashtag1","hashtag2"]},{"1371894255":["hashtag1","hashtag2"]},{"1371894260":["hashtag1","hashtag2"]},{"1371894263":["hashtag1","hashtag2"]},{"1371894257":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894270, 1371894267, 1371894255, 1371894260, 1371894263, 1371894257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.9253613948822 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:08:32.285958
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/08/image_12072025_15_08_44_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/15/08/image_12072025_15_08_24_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/15/08/image_12072025_15_08_14_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/15/07/image_12072025_15_08_03_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/08/image_12072025_15_08_44_9649.jpg', '/home/nano/Desktop/images/12072025/15/08/image_12072025_15_08_24_9639.jpg', '/home/nano/Desktop/images/12072025/15/08/image_12072025_15_08_14_10675.jpg', '/home/nano/Desktop/images/12072025/15/07/image_12072025_15_08_03_9660.jpg', '/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/08/image_12072025_15_08_44_9649.jpg
/home/nano/Desktop/images/12072025/15/08/image_12072025_15_08_24_9639.jpg
/home/nano/Desktop/images/12072025/15/08/image_12072025_15_08_14_10675.jpg
/home/nano/Desktop/images/12072025/15/07/image_12072025_15_08_03_9660.jpg
/home/nano/Desktop/images/12072025/15/07/image_12072025_15_07_54_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894281","1371894284","1371894278","1371894283","1371894280"],"photo_ids_order":["1371894278","1371894280","1371894281","1371894283","1371894284"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4dfdce6eac38c0537a817faabdd34395.jpg","text":"TemporaryFile(/tmp/multipartBody2118188297998818656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325774443,"filename":"image_12072025_15_08_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e559629638f5865b6a7a41c176ceb7f.jpg","text":"TemporaryFile(/tmp/multipartBody3420026879475402512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325774443,"filename":"image_12072025_15_07_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc417424099c01e6cc0a936ee0452ec1.jpg","text":"TemporaryFile(/tmp/multipartBody7972984536897257140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325774443,"filename":"image_12072025_15_08_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa27315c799dbbfc318bd678f1af4b18.jpg","text":"TemporaryFile(/tmp/multipartBody7933916763100860406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325774443,"filename":"image_12072025_15_08_03_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b45fef3d4fc9babde85dcc5b97ebd20b.jpg","text":"TemporaryFile(/tmp/multipartBody7296566110629223872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325774443,"filename":"image_12072025_15_08_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894281","file1":"1371894280","file0":"1371894278","file4":"1371894284","file3":"1371894283"},"map_files_photo_id_array":[{"photo_id":"1371894281","filename":"file2"},{"photo_id":"1371894284","filename":"file4"},{"photo_id":"1371894280","filename":"file1"},{"photo_id":"1371894278","filename":"file0"},{"photo_id":"1371894283","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894281":["hashtag1","hashtag2"]},{"1371894284":["hashtag1","hashtag2"]},{"1371894278":["hashtag1","hashtag2"]},{"1371894283":["hashtag1","hashtag2"]},{"1371894280":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894281, 1371894284, 1371894278, 1371894283, 1371894280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.197611331939697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:09:03.335431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_43_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_34_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_23_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_14_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/38/image_10072025_17_39_04_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_53_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_43_9625.jpg', '/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_34_10638.jpg', '/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_23_9624.jpg', '/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_14_9644.jpg', '/home/nano/Desktop/images/10072025/17/38/image_10072025_17_39_04_10638.jpg', '/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_53_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_43_9625.jpg
/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_34_10638.jpg
/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_23_9624.jpg
/home/nano/Desktop/images/10072025/17/39/image_10072025_17_39_14_9644.jpg
/home/nano/Desktop/images/10072025/17/38/image_10072025_17_39_04_10638.jpg
/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_53_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894300","1371894299","1371894295","1371894302","1371894292","1371894304"],"photo_ids_order":["1371894292","1371894295","1371894299","1371894300","1371894302","1371894304"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35657a64418ce8e40ea63de8116c592f.jpg","text":"TemporaryFile(/tmp/multipartBody1703925691241256951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325807483,"filename":"image_10072025_17_39_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94f8ce481063f91a6f268524cdd86414.jpg","text":"TemporaryFile(/tmp/multipartBody8322039518722232502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325807483,"filename":"image_10072025_17_39_23_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/921f503a4367374c3a1fd2e7804b4fa8.jpg","text":"TemporaryFile(/tmp/multipartBody8455569059983833968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325807483,"filename":"image_10072025_17_39_34_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c00e0412050ac1c4742ca8bd7ced136a.jpg","text":"TemporaryFile(/tmp/multipartBody5998770486094416957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325807483,"filename":"image_10072025_17_39_04_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6579a6955eb2cc17c1e5cee242458176.jpg","text":"TemporaryFile(/tmp/multipartBody1256876266501311058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325807483,"filename":"image_10072025_17_39_43_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/992604ee98487ba210754221652fb0b9.jpg","text":"TemporaryFile(/tmp/multipartBody8591765465549989818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325807483,"filename":"image_10072025_17_38_53_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894299","file1":"1371894295","file0":"1371894292","file4":"1371894302","file5":"1371894304","file3":"1371894300"},"map_files_photo_id_array":[{"photo_id":"1371894304","filename":"file5"},{"photo_id":"1371894299","filename":"file2"},{"photo_id":"1371894302","filename":"file4"},{"photo_id":"1371894295","filename":"file1"},{"photo_id":"1371894292","filename":"file0"},{"photo_id":"1371894300","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371894300":["hashtag1","hashtag2"]},{"1371894299":["hashtag1","hashtag2"]},{"1371894295":["hashtag1","hashtag2"]},{"1371894302":["hashtag1","hashtag2"]},{"1371894292":["hashtag1","hashtag2"]},{"1371894304":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371894300, 1371894299, 1371894295, 1371894302, 1371894292, 1371894304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95951581001282 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:09:47.378569
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_54_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_34_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_24_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_14_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/15/08/image_12072025_15_09_04_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/15/08/image_12072025_15_08_54_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_54_9637.jpg', '/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_34_10674.jpg', '/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_24_9636.jpg', '/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_14_9668.jpg', '/home/nano/Desktop/images/12072025/15/08/image_12072025_15_09_04_10652.jpg', '/home/nano/Desktop/images/12072025/15/08/image_12072025_15_08_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_54_9637.jpg
/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_34_10674.jpg
/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_24_9636.jpg
/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_14_9668.jpg
/home/nano/Desktop/images/12072025/15/08/image_12072025_15_09_04_10652.jpg
/home/nano/Desktop/images/12072025/15/08/image_12072025_15_08_54_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894321","1371894318","1371894331","1371894328","1371894322","1371894325"],"photo_ids_order":["1371894318","1371894321","1371894322","1371894325","1371894328","1371894331"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e23cc9407172ddc9b6055afb128b0b0.jpg","text":"TemporaryFile(/tmp/multipartBody3746628624512531166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325849360,"filename":"image_12072025_15_09_34_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f502f7ac4357aa45e1fad6a2bf89ec4.jpg","text":"TemporaryFile(/tmp/multipartBody545160628749003498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325849360,"filename":"image_12072025_15_09_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfeeb17248e264bf91b2d7391995263d.jpg","text":"TemporaryFile(/tmp/multipartBody8091315579834620198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325849360,"filename":"image_12072025_15_08_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/838e66906313288c6b35070d18e3c657.jpg","text":"TemporaryFile(/tmp/multipartBody6725499105514203161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325849360,"filename":"image_12072025_15_09_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af6303da122990b98da88901c73c72df.jpg","text":"TemporaryFile(/tmp/multipartBody1488372070386688302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325849360,"filename":"image_12072025_15_09_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba00a4727d1a51729e58819646a23b39.jpg","text":"TemporaryFile(/tmp/multipartBody8584934168488317413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325849360,"filename":"image_12072025_15_09_14_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894322","file1":"1371894321","file0":"1371894318","file4":"1371894328","file5":"1371894331","file3":"1371894325"},"map_files_photo_id_array":[{"photo_id":"1371894331","filename":"file5"},{"photo_id":"1371894322","filename":"file2"},{"photo_id":"1371894328","filename":"file4"},{"photo_id":"1371894321","filename":"file1"},{"photo_id":"1371894318","filename":"file0"},{"photo_id":"1371894325","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894321":["hashtag1","hashtag2"]},{"1371894318":["hashtag1","hashtag2"]},{"1371894331":["hashtag1","hashtag2"]},{"1371894328":["hashtag1","hashtag2"]},{"1371894322":["hashtag1","hashtag2"]},{"1371894325":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894321, 1371894318, 1371894331, 1371894328, 1371894322, 1371894325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.087955951690674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:10:32.474851
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_44_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_34_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_23_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_14_9673.jpg', 2), ('/home/nano/Desktop/images/12072025/15/09/image_12072025_15_10_04_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_44_9644.jpg', '/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_34_10652.jpg', '/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_23_9646.jpg', '/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_14_9673.jpg', '/home/nano/Desktop/images/12072025/15/09/image_12072025_15_10_04_10667.jpg', '/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_44_9644.jpg
/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_34_10652.jpg
/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_23_9646.jpg
/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_14_9673.jpg
/home/nano/Desktop/images/12072025/15/09/image_12072025_15_10_04_10667.jpg
/home/nano/Desktop/images/12072025/15/09/image_12072025_15_09_44_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894342","1371894345","1371894348","1371894341","1371894347","1371894340"],"photo_ids_order":["1371894340","1371894341","1371894342","1371894345","1371894347","1371894348"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f77118749eeb728ce7c0b629c08262a.jpg","text":"TemporaryFile(/tmp/multipartBody8191396422714781253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325895077,"filename":"image_12072025_15_10_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e282f26c0c17efa0b727ac5606d6cdc.jpg","text":"TemporaryFile(/tmp/multipartBody7727542850055259498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325895077,"filename":"image_12072025_15_10_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7ecc087658155b153059443551b1df8.jpg","text":"TemporaryFile(/tmp/multipartBody700753505773302461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325895077,"filename":"image_12072025_15_09_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab944935eba8a62f9b87b6af977b6bf7.jpg","text":"TemporaryFile(/tmp/multipartBody3466255382318634353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325895077,"filename":"image_12072025_15_10_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d6486a4c5429d2f2146cd23c682da8f.jpg","text":"TemporaryFile(/tmp/multipartBody7465119293225375061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325895077,"filename":"image_12072025_15_10_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f75a03e913f9f8c352a5a36a23615ed.jpg","text":"TemporaryFile(/tmp/multipartBody980279599154053742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325895077,"filename":"image_12072025_15_10_44_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894342","file1":"1371894341","file0":"1371894340","file4":"1371894347","file5":"1371894348","file3":"1371894345"},"map_files_photo_id_array":[{"photo_id":"1371894348","filename":"file5"},{"photo_id":"1371894342","filename":"file2"},{"photo_id":"1371894347","filename":"file4"},{"photo_id":"1371894341","filename":"file1"},{"photo_id":"1371894340","filename":"file0"},{"photo_id":"1371894345","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894342":["hashtag1","hashtag2"]},{"1371894345":["hashtag1","hashtag2"]},{"1371894348":["hashtag1","hashtag2"]},{"1371894341":["hashtag1","hashtag2"]},{"1371894347":["hashtag1","hashtag2"]},{"1371894340":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894342, 1371894345, 1371894348, 1371894341, 1371894347, 1371894340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46821188926697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:11:17.608825
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_34_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_23_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_14_9685.jpg', 2), ('/home/nano/Desktop/images/12072025/15/10/image_12072025_15_11_04_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_34_10662.jpg', '/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_23_9645.jpg', '/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_14_9685.jpg', '/home/nano/Desktop/images/12072025/15/10/image_12072025_15_11_04_10669.jpg', '/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_34_10662.jpg
/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_23_9645.jpg
/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_14_9685.jpg
/home/nano/Desktop/images/12072025/15/10/image_12072025_15_11_04_10669.jpg
/home/nano/Desktop/images/12072025/15/10/image_12072025_15_10_53_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894360","1371894363","1371894366","1371894356","1371894359"],"photo_ids_order":["1371894356","1371894359","1371894360","1371894363","1371894366"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e61645622c1dd76cb84ab558143446f0.jpg","text":"TemporaryFile(/tmp/multipartBody9211321809211232525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325939622,"filename":"image_12072025_15_11_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e5ff9d9db1da6fb4fcf7834c7c876e3.jpg","text":"TemporaryFile(/tmp/multipartBody7379800119676299198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325939622,"filename":"image_12072025_15_11_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8944e42ee15f33edbb07ecca0e84d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody4251951860646810508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325939622,"filename":"image_12072025_15_10_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e012d7c41ad288613a5f055b37d3afdf.jpg","text":"TemporaryFile(/tmp/multipartBody3885426423944176004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325939622,"filename":"image_12072025_15_11_34_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa19ff5948d1ccc6cbd06f6507fe65ae.jpg","text":"TemporaryFile(/tmp/multipartBody4370190056342817686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325939622,"filename":"image_12072025_15_11_23_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894360","file1":"1371894359","file0":"1371894356","file4":"1371894366","file3":"1371894363"},"map_files_photo_id_array":[{"photo_id":"1371894360","filename":"file2"},{"photo_id":"1371894366","filename":"file4"},{"photo_id":"1371894359","filename":"file1"},{"photo_id":"1371894356","filename":"file0"},{"photo_id":"1371894363","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894360":["hashtag1","hashtag2"]},{"1371894363":["hashtag1","hashtag2"]},{"1371894366":["hashtag1","hashtag2"]},{"1371894356":["hashtag1","hashtag2"]},{"1371894359":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894360, 1371894363, 1371894366, 1371894356, 1371894359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.069199800491333 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:11:47.651179
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_44_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_34_10650.jpg', 2), ('/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_23_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_14_10663.jpg', 2), ('/home/nano/Desktop/images/10072025/17/37/image_10072025_17_38_03_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_53_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_44_9624.jpg', '/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_34_10650.jpg', '/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_23_9624.jpg', '/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_14_10663.jpg', '/home/nano/Desktop/images/10072025/17/37/image_10072025_17_38_03_9637.jpg', '/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_53_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_44_9624.jpg
/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_34_10650.jpg
/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_23_9624.jpg
/home/nano/Desktop/images/10072025/17/38/image_10072025_17_38_14_10663.jpg
/home/nano/Desktop/images/10072025/17/37/image_10072025_17_38_03_9637.jpg
/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_53_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894381","1371894375","1371894372","1371894377","1371894379","1371894373"],"photo_ids_order":["1371894372","1371894373","1371894375","1371894377","1371894379","1371894381"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72c74678e97f28138fc8319c09779668.jpg","text":"TemporaryFile(/tmp/multipartBody3260089298694581891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325971026,"filename":"image_10072025_17_37_53_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c872f01af4c1434df5fcf9e29b9f1495.jpg","text":"TemporaryFile(/tmp/multipartBody5657216998991863370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325971026,"filename":"image_10072025_17_38_23_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe314c9194ff06b63ba2fe4e609c962f.jpg","text":"TemporaryFile(/tmp/multipartBody6933959443015532695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325971026,"filename":"image_10072025_17_38_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f134e75e4b14ef6765209212320dacec.jpg","text":"TemporaryFile(/tmp/multipartBody292358995958017014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325971026,"filename":"image_10072025_17_38_14_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/616faab0fde99d027c4a34556e6778ba.jpg","text":"TemporaryFile(/tmp/multipartBody3001734062702334009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325971026,"filename":"image_10072025_17_38_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dac45fd861700eda2734c12ec1cc9261.jpg","text":"TemporaryFile(/tmp/multipartBody6834732619439263608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752325971026,"filename":"image_10072025_17_38_34_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894375","file1":"1371894373","file0":"1371894372","file4":"1371894379","file5":"1371894381","file3":"1371894377"},"map_files_photo_id_array":[{"photo_id":"1371894381","filename":"file5"},{"photo_id":"1371894375","filename":"file2"},{"photo_id":"1371894379","filename":"file4"},{"photo_id":"1371894373","filename":"file1"},{"photo_id":"1371894372","filename":"file0"},{"photo_id":"1371894377","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371894381":["hashtag1","hashtag2"]},{"1371894375":["hashtag1","hashtag2"]},{"1371894372":["hashtag1","hashtag2"]},{"1371894377":["hashtag1","hashtag2"]},{"1371894379":["hashtag1","hashtag2"]},{"1371894373":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371894381, 1371894375, 1371894372, 1371894377, 1371894379, 1371894373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71534299850464 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:12:32.747047
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_44_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_23_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_14_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_44_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_44_9647.jpg', '/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_34_10650.jpg', '/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_23_9646.jpg', '/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_14_9670.jpg', '/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_44_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_44_9647.jpg
/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_34_10650.jpg
/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_23_9646.jpg
/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_14_9670.jpg
/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_44_9665.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.142148494720459 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:12:47.740129
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_44_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_23_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_14_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_44_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_44_9647.jpg', '/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_34_10650.jpg', '/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_23_9646.jpg', '/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_14_9670.jpg', '/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_44_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_44_9647.jpg
/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_34_10650.jpg
/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_23_9646.jpg
/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_14_9670.jpg
/home/nano/Desktop/images/12072025/15/11/image_12072025_15_11_44_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894399","1371894405","1371894402","1371894407","1371894409"],"photo_ids_order":["1371894399","1371894402","1371894405","1371894407","1371894409"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df1afad00c609e14ff05dadf8fc2f065.jpg","text":"TemporaryFile(/tmp/multipartBody8023473881967711637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326030262,"filename":"image_12072025_15_12_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d11499117db36c8752b052fa5b7283ce.jpg","text":"TemporaryFile(/tmp/multipartBody693550742074781025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326030262,"filename":"image_12072025_15_12_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18308d706782cf465fd076912be36013.jpg","text":"TemporaryFile(/tmp/multipartBody7513784835285925340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326030262,"filename":"image_12072025_15_12_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4106db351c60ad305d3f777b6012381f.jpg","text":"TemporaryFile(/tmp/multipartBody4372347170289452855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326030262,"filename":"image_12072025_15_12_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09cc0ec2f980ac921ab13420d9ac9dd6.jpg","text":"TemporaryFile(/tmp/multipartBody8484111696877406427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326030262,"filename":"image_12072025_15_11_44_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894405","file1":"1371894402","file0":"1371894399","file4":"1371894409","file3":"1371894407"},"map_files_photo_id_array":[{"photo_id":"1371894405","filename":"file2"},{"photo_id":"1371894409","filename":"file4"},{"photo_id":"1371894402","filename":"file1"},{"photo_id":"1371894399","filename":"file0"},{"photo_id":"1371894407","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894399":["hashtag1","hashtag2"]},{"1371894405":["hashtag1","hashtag2"]},{"1371894402":["hashtag1","hashtag2"]},{"1371894407":["hashtag1","hashtag2"]},{"1371894409":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894399, 1371894405, 1371894402, 1371894407, 1371894409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.17495107650757 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:13:31.872111
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_44_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_34_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_14_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/15/12/image_12072025_15_13_04_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_53_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_44_9625.jpg', '/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_34_9608.jpg', '/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_24_10647.jpg', '/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_14_9659.jpg', '/home/nano/Desktop/images/12072025/15/12/image_12072025_15_13_04_10663.jpg', '/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_53_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_44_9625.jpg
/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_34_9608.jpg
/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_24_10647.jpg
/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_14_9659.jpg
/home/nano/Desktop/images/12072025/15/12/image_12072025_15_13_04_10663.jpg
/home/nano/Desktop/images/12072025/15/12/image_12072025_15_12_53_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894423","1371894417","1371894425","1371894419","1371894413","1371894415"],"photo_ids_order":["1371894413","1371894415","1371894417","1371894419","1371894423","1371894425"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/555f080fb8ad99db4471aa8467d2be6f.jpg","text":"TemporaryFile(/tmp/multipartBody9205244946745432297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326074654,"filename":"image_12072025_15_13_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b0372264dcae289142bb25e8fc3e19d.jpg","text":"TemporaryFile(/tmp/multipartBody5594638139906471157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326074654,"filename":"image_12072025_15_13_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/587f1f61244928fb9ec12a3ce82b3727.jpg","text":"TemporaryFile(/tmp/multipartBody5987814694184624248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326074654,"filename":"image_12072025_15_12_53_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac4ecddb691527618486717934aa6515.jpg","text":"TemporaryFile(/tmp/multipartBody1490265604385728277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326074654,"filename":"image_12072025_15_13_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3b87013f403262eb9f576b7e1af66c2.jpg","text":"TemporaryFile(/tmp/multipartBody8136437502950889824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326074654,"filename":"image_12072025_15_13_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b842fb78202654177db177da0eeaf51.jpg","text":"TemporaryFile(/tmp/multipartBody8749909843242741746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326074654,"filename":"image_12072025_15_13_34_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894417","file1":"1371894415","file0":"1371894413","file4":"1371894423","file5":"1371894425","file3":"1371894419"},"map_files_photo_id_array":[{"photo_id":"1371894425","filename":"file5"},{"photo_id":"1371894417","filename":"file2"},{"photo_id":"1371894423","filename":"file4"},{"photo_id":"1371894415","filename":"file1"},{"photo_id":"1371894413","filename":"file0"},{"photo_id":"1371894419","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894423":["hashtag1","hashtag2"]},{"1371894417":["hashtag1","hashtag2"]},{"1371894425":["hashtag1","hashtag2"]},{"1371894419":["hashtag1","hashtag2"]},{"1371894413":["hashtag1","hashtag2"]},{"1371894415":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894423, 1371894417, 1371894425, 1371894419, 1371894413, 1371894415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.667927742004395 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:14:17.073422
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_43_9688.jpg', 2), ('/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_34_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_13_9677.jpg', 2), ('/home/nano/Desktop/images/12072025/15/13/image_12072025_15_14_04_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_54_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_43_9688.jpg', '/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_34_9615.jpg', '/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_24_10625.jpg', '/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_13_9677.jpg', '/home/nano/Desktop/images/12072025/15/13/image_12072025_15_14_04_9623.jpg', '/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_54_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_43_9688.jpg
/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_34_9615.jpg
/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_24_10625.jpg
/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_13_9677.jpg
/home/nano/Desktop/images/12072025/15/13/image_12072025_15_14_04_9623.jpg
/home/nano/Desktop/images/12072025/15/13/image_12072025_15_13_54_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894441","1371894444","1371894438","1371894446","1371894443","1371894437"],"photo_ids_order":["1371894437","1371894438","1371894441","1371894443","1371894444","1371894446"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84b225eee2931c9d5d17aaefca5a3f04.jpg","text":"TemporaryFile(/tmp/multipartBody3859062635555963017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326119590,"filename":"image_12072025_15_14_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d61a3d23f01c414bf32f4b705432d4c.jpg","text":"TemporaryFile(/tmp/multipartBody2037192443424043735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326119590,"filename":"image_12072025_15_14_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40754297b5494818acaf506323f0b415.jpg","text":"TemporaryFile(/tmp/multipartBody7366973743972556397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326119590,"filename":"image_12072025_15_14_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/807aef919d16c4ef79e178c1ac01d4e2.jpg","text":"TemporaryFile(/tmp/multipartBody2041023125049921899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326119590,"filename":"image_12072025_15_13_54_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80e305efab279966ff177a10dd739b2b.jpg","text":"TemporaryFile(/tmp/multipartBody1899966109639658319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326119590,"filename":"image_12072025_15_14_13_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba51491043bf80732cef573443ed7c06.jpg","text":"TemporaryFile(/tmp/multipartBody5751098254788050424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326119590,"filename":"image_12072025_15_14_43_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894441","file1":"1371894438","file0":"1371894437","file4":"1371894444","file5":"1371894446","file3":"1371894443"},"map_files_photo_id_array":[{"photo_id":"1371894446","filename":"file5"},{"photo_id":"1371894441","filename":"file2"},{"photo_id":"1371894444","filename":"file4"},{"photo_id":"1371894438","filename":"file1"},{"photo_id":"1371894437","filename":"file0"},{"photo_id":"1371894443","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894441":["hashtag1","hashtag2"]},{"1371894444":["hashtag1","hashtag2"]},{"1371894438":["hashtag1","hashtag2"]},{"1371894446":["hashtag1","hashtag2"]},{"1371894443":["hashtag1","hashtag2"]},{"1371894437":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894441, 1371894444, 1371894438, 1371894446, 1371894443, 1371894437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46025466918945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:15:02.768805
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_44_10653.jpg', 2), ('/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_33_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_24_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_14_10677.jpg', 2), ('/home/nano/Desktop/images/10072025/17/36/image_10072025_17_37_03_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/17/36/image_10072025_17_36_54_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_44_10653.jpg', '/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_33_9626.jpg', '/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_24_9632.jpg', '/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_14_10677.jpg', '/home/nano/Desktop/images/10072025/17/36/image_10072025_17_37_03_9637.jpg', '/home/nano/Desktop/images/10072025/17/36/image_10072025_17_36_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_44_10653.jpg
/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_33_9626.jpg
/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_24_9632.jpg
/home/nano/Desktop/images/10072025/17/37/image_10072025_17_37_14_10677.jpg
/home/nano/Desktop/images/10072025/17/36/image_10072025_17_37_03_9637.jpg
/home/nano/Desktop/images/10072025/17/36/image_10072025_17_36_54_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894473","1371894467","1371894463","1371894457","1371894469","1371894460"],"photo_ids_order":["1371894457","1371894460","1371894463","1371894467","1371894469","1371894473"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ffe3bdb1220bae3cc087592f110bda1c.jpg","text":"TemporaryFile(/tmp/multipartBody9042516854358595161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326166031,"filename":"image_10072025_17_36_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eabb595ef40e082a234bf13062cf25b0.jpg","text":"TemporaryFile(/tmp/multipartBody8257399273194290852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326166031,"filename":"image_10072025_17_37_14_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab841ef5b9b2b8deb02da125a8a07f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4930337699505415771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326166031,"filename":"image_10072025_17_37_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6c4d97152a9356af099593384599844.jpg","text":"TemporaryFile(/tmp/multipartBody8389150283429569535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326166031,"filename":"image_10072025_17_37_44_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e779d9f99db3d933d8850c01ba0112b9.jpg","text":"TemporaryFile(/tmp/multipartBody6331339745370942711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326166031,"filename":"image_10072025_17_37_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3c4b329f61d2790ea82660b2ad2abc5.jpg","text":"TemporaryFile(/tmp/multipartBody7953714621359475546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326166031,"filename":"image_10072025_17_37_33_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894463","file1":"1371894460","file0":"1371894457","file4":"1371894469","file5":"1371894473","file3":"1371894467"},"map_files_photo_id_array":[{"photo_id":"1371894473","filename":"file5"},{"photo_id":"1371894463","filename":"file2"},{"photo_id":"1371894469","filename":"file4"},{"photo_id":"1371894460","filename":"file1"},{"photo_id":"1371894457","filename":"file0"},{"photo_id":"1371894467","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371894473":["hashtag1","hashtag2"]},{"1371894467":["hashtag1","hashtag2"]},{"1371894463":["hashtag1","hashtag2"]},{"1371894457":["hashtag1","hashtag2"]},{"1371894469":["hashtag1","hashtag2"]},{"1371894460":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371894473, 1371894467, 1371894463, 1371894457, 1371894469, 1371894460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.498175859451294 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:16:17.197512
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/16/image_12072025_15_16_34_10602.jpg', 2), ('/home/nano/Desktop/images/12072025/15/16/image_12072025_15_16_24_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/15/16/image_12072025_15_16_14_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/15/15/image_12072025_15_16_03_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_54_9588.jpg', 2), ('/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_44_10597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/16/image_12072025_15_16_34_10602.jpg', '/home/nano/Desktop/images/12072025/15/16/image_12072025_15_16_24_9596.jpg', '/home/nano/Desktop/images/12072025/15/16/image_12072025_15_16_14_10633.jpg', '/home/nano/Desktop/images/12072025/15/15/image_12072025_15_16_03_9615.jpg', '/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_54_9588.jpg', '/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_44_10597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/16/image_12072025_15_16_34_10602.jpg
/home/nano/Desktop/images/12072025/15/16/image_12072025_15_16_24_9596.jpg
/home/nano/Desktop/images/12072025/15/16/image_12072025_15_16_14_10633.jpg
/home/nano/Desktop/images/12072025/15/15/image_12072025_15_16_03_9615.jpg
/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_54_9588.jpg
/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_44_10597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894495","1371894482","1371894491","1371894484","1371894487","1371894492"],"photo_ids_order":["1371894482","1371894484","1371894487","1371894491","1371894492","1371894495"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5cf38fe9c1461e2f2079b3cb4eceb4aa.jpg","text":"TemporaryFile(/tmp/multipartBody2959425141964224913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326239761,"filename":"image_12072025_15_15_44_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3e8b4c21b3aa772617b19c49fae2cff.jpg","text":"TemporaryFile(/tmp/multipartBody3810416789367371724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326239761,"filename":"image_12072025_15_16_34_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46e3caa43c46331c687c03e51ce64ca6.jpg","text":"TemporaryFile(/tmp/multipartBody2254001783120414741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326239761,"filename":"image_12072025_15_16_03_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8b69a8b5437a70ca7ef7d0be30c51ba.jpg","text":"TemporaryFile(/tmp/multipartBody7887848646070182016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326239761,"filename":"image_12072025_15_16_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b7eea13fabe458b243ceaed48a4c8b5.jpg","text":"TemporaryFile(/tmp/multipartBody503752493212135199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326239761,"filename":"image_12072025_15_16_14_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2744c20f4528bdc6680458e19373b439.jpg","text":"TemporaryFile(/tmp/multipartBody10880046364575964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326239761,"filename":"image_12072025_15_15_54_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894487","file1":"1371894484","file0":"1371894482","file4":"1371894492","file5":"1371894495","file3":"1371894491"},"map_files_photo_id_array":[{"photo_id":"1371894495","filename":"file5"},{"photo_id":"1371894487","filename":"file2"},{"photo_id":"1371894492","filename":"file4"},{"photo_id":"1371894484","filename":"file1"},{"photo_id":"1371894482","filename":"file0"},{"photo_id":"1371894491","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894495":["hashtag1","hashtag2"]},{"1371894482":["hashtag1","hashtag2"]},{"1371894491":["hashtag1","hashtag2"]},{"1371894484":["hashtag1","hashtag2"]},{"1371894487":["hashtag1","hashtag2"]},{"1371894492":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894495, 1371894482, 1371894491, 1371894484, 1371894487, 1371894492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.66779804229736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:17:17.270641
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_43_9588.jpg', 2), ('/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_34_9590.jpg', 2), ('/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_24_10600.jpg', 2), ('/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_14_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/15/16/image_12072025_15_17_04_10601.jpg', 2), ('/home/nano/Desktop/images/12072025/15/16/image_12072025_15_16_44_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_43_9588.jpg', '/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_34_9590.jpg', '/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_24_10600.jpg', '/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_14_9634.jpg', '/home/nano/Desktop/images/12072025/15/16/image_12072025_15_17_04_10601.jpg', '/home/nano/Desktop/images/12072025/15/16/image_12072025_15_16_44_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_43_9588.jpg
/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_34_9590.jpg
/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_24_10600.jpg
/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_14_9634.jpg
/home/nano/Desktop/images/12072025/15/16/image_12072025_15_17_04_10601.jpg
/home/nano/Desktop/images/12072025/15/16/image_12072025_15_16_44_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894505","1371894513","1371894507","1371894516","1371894511","1371894502"],"photo_ids_order":["1371894502","1371894505","1371894507","1371894511","1371894513","1371894516"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47b040985f67d19841909585d83e833c.jpg","text":"TemporaryFile(/tmp/multipartBody4568967989936686542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326298751,"filename":"image_12072025_15_17_34_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/509525105b99fe29875ab2b20a5595a6.jpg","text":"TemporaryFile(/tmp/multipartBody3161961853141661588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326298751,"filename":"image_12072025_15_17_04_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8577c9d641e5ea7c70b260d1abb7e75f.jpg","text":"TemporaryFile(/tmp/multipartBody6165155106225888929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326298751,"filename":"image_12072025_15_17_24_10600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efcd2399c73fb3a6c69af472fcc3f7be.jpg","text":"TemporaryFile(/tmp/multipartBody7718483444689949837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326298751,"filename":"image_12072025_15_16_44_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0042a40bdfdf6c0d49bc08e0ef075ea9.jpg","text":"TemporaryFile(/tmp/multipartBody7190318433993088066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326298751,"filename":"image_12072025_15_17_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8949eccd673e114f6c238cb935aa6c6.jpg","text":"TemporaryFile(/tmp/multipartBody7723299099986386914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326298751,"filename":"image_12072025_15_17_43_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894507","file1":"1371894505","file0":"1371894502","file4":"1371894513","file5":"1371894516","file3":"1371894511"},"map_files_photo_id_array":[{"photo_id":"1371894516","filename":"file5"},{"photo_id":"1371894507","filename":"file2"},{"photo_id":"1371894513","filename":"file4"},{"photo_id":"1371894505","filename":"file1"},{"photo_id":"1371894502","filename":"file0"},{"photo_id":"1371894511","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894505":["hashtag1","hashtag2"]},{"1371894513":["hashtag1","hashtag2"]},{"1371894507":["hashtag1","hashtag2"]},{"1371894516":["hashtag1","hashtag2"]},{"1371894511":["hashtag1","hashtag2"]},{"1371894502":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894505, 1371894513, 1371894507, 1371894516, 1371894511, 1371894502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.4248297214508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:18:32.421902
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_44_10598.jpg', 2), ('/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_33_9589.jpg', 2), ('/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_24_9586.jpg', 2), ('/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_14_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/15/17/image_12072025_15_18_04_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_54_10598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_44_10598.jpg', '/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_33_9589.jpg', '/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_24_9586.jpg', '/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_14_10617.jpg', '/home/nano/Desktop/images/12072025/15/17/image_12072025_15_18_04_9597.jpg', '/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_54_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_44_10598.jpg
/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_33_9589.jpg
/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_24_9586.jpg
/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_14_10617.jpg
/home/nano/Desktop/images/12072025/15/17/image_12072025_15_18_04_9597.jpg
/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_54_10598.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8807718753814697 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:18:47.432647
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_44_10598.jpg', 2), ('/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_33_9589.jpg', 2), ('/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_24_9586.jpg', 2), ('/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_14_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/15/17/image_12072025_15_18_04_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_54_10598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_44_10598.jpg', '/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_33_9589.jpg', '/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_24_9586.jpg', '/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_14_10617.jpg', '/home/nano/Desktop/images/12072025/15/17/image_12072025_15_18_04_9597.jpg', '/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_54_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_44_10598.jpg
/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_33_9589.jpg
/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_24_9586.jpg
/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_14_10617.jpg
/home/nano/Desktop/images/12072025/15/17/image_12072025_15_18_04_9597.jpg
/home/nano/Desktop/images/12072025/15/17/image_12072025_15_17_54_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894536","1371894550","1371894544","1371894538","1371894547","1371894541"],"photo_ids_order":["1371894536","1371894538","1371894541","1371894544","1371894547","1371894550"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14eb231486753bf687d2b132f43baa88.jpg","text":"TemporaryFile(/tmp/multipartBody8532702106108201451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326389364,"filename":"image_12072025_15_18_44_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d29abbaedc80e004d86ecbd9ca218681.jpg","text":"TemporaryFile(/tmp/multipartBody474836631949247955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326389364,"filename":"image_12072025_15_17_54_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54036d5edf2c4c46f09a4a2588eea41d.jpg","text":"TemporaryFile(/tmp/multipartBody4709628253923987563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326389364,"filename":"image_12072025_15_18_14_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3944d7e108f3ad432831e294a87957e1.jpg","text":"TemporaryFile(/tmp/multipartBody3009038924427598789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326389364,"filename":"image_12072025_15_18_33_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/478bbd1180205f7abaee83a471368299.jpg","text":"TemporaryFile(/tmp/multipartBody1488654157994274425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326389364,"filename":"image_12072025_15_18_04_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19eba42c19adb98bb2b15562c47a6d99.jpg","text":"TemporaryFile(/tmp/multipartBody8323128719569585158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326389364,"filename":"image_12072025_15_18_24_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894541","file1":"1371894538","file0":"1371894536","file4":"1371894547","file5":"1371894550","file3":"1371894544"},"map_files_photo_id_array":[{"photo_id":"1371894550","filename":"file5"},{"photo_id":"1371894541","filename":"file2"},{"photo_id":"1371894547","filename":"file4"},{"photo_id":"1371894538","filename":"file1"},{"photo_id":"1371894536","filename":"file0"},{"photo_id":"1371894544","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894536":["hashtag1","hashtag2"]},{"1371894550":["hashtag1","hashtag2"]},{"1371894544":["hashtag1","hashtag2"]},{"1371894538":["hashtag1","hashtag2"]},{"1371894547":["hashtag1","hashtag2"]},{"1371894541":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894536, 1371894550, 1371894544, 1371894538, 1371894547, 1371894541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60124850273132 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:19:32.547328
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_44_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_34_10601.jpg', 2), ('/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_23_9584.jpg', 2), ('/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_14_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/15/18/image_12072025_15_19_04_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_54_9589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_44_9597.jpg', '/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_34_10601.jpg', '/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_23_9584.jpg', '/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_14_9609.jpg', '/home/nano/Desktop/images/12072025/15/18/image_12072025_15_19_04_10613.jpg', '/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_54_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_44_9597.jpg
/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_34_10601.jpg
/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_23_9584.jpg
/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_14_9609.jpg
/home/nano/Desktop/images/12072025/15/18/image_12072025_15_19_04_10613.jpg
/home/nano/Desktop/images/12072025/15/18/image_12072025_15_18_54_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894576","1371894558","1371894572","1371894557","1371894574","1371894559"],"photo_ids_order":["1371894557","1371894558","1371894559","1371894572","1371894574","1371894576"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7328849c22e773c4212cd5d22c721d44.jpg","text":"TemporaryFile(/tmp/multipartBody1321464942772722465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326434407,"filename":"image_12072025_15_18_54_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efab512a0630107160dcb65bd04e2399.jpg","text":"TemporaryFile(/tmp/multipartBody4964047352778868066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326434407,"filename":"image_12072025_15_19_34_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8265c542506513d2746f62248b7feaf.jpg","text":"TemporaryFile(/tmp/multipartBody2077026384007378737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326434407,"filename":"image_12072025_15_19_14_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c4a784fefe0a0cf4ce5b4685cccce16.jpg","text":"TemporaryFile(/tmp/multipartBody6432299969787604060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326434407,"filename":"image_12072025_15_19_44_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82482b5354fdbdac6854828f51822a18.jpg","text":"TemporaryFile(/tmp/multipartBody8536336190493304129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326434407,"filename":"image_12072025_15_19_04_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/189e7ea04f18aacb3ce6b1699e227202.jpg","text":"TemporaryFile(/tmp/multipartBody4361086233912945804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326434407,"filename":"image_12072025_15_19_23_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894559","file1":"1371894558","file0":"1371894557","file4":"1371894574","file5":"1371894576","file3":"1371894572"},"map_files_photo_id_array":[{"photo_id":"1371894576","filename":"file5"},{"photo_id":"1371894559","filename":"file2"},{"photo_id":"1371894574","filename":"file4"},{"photo_id":"1371894558","filename":"file1"},{"photo_id":"1371894557","filename":"file0"},{"photo_id":"1371894572","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894576":["hashtag1","hashtag2"]},{"1371894558":["hashtag1","hashtag2"]},{"1371894572":["hashtag1","hashtag2"]},{"1371894557":["hashtag1","hashtag2"]},{"1371894574":["hashtag1","hashtag2"]},{"1371894559":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894576, 1371894558, 1371894572, 1371894557, 1371894574, 1371894559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.61238694190979 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:20:17.667604
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_44_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_34_9586.jpg', 2), ('/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_24_10595.jpg', 2), ('/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_13_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/15/19/image_12072025_15_20_04_9586.jpg', 2), ('/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_54_10596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_44_10628.jpg', '/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_34_9586.jpg', '/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_24_10595.jpg', '/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_13_9606.jpg', '/home/nano/Desktop/images/12072025/15/19/image_12072025_15_20_04_9586.jpg', '/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_54_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_44_10628.jpg
/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_34_9586.jpg
/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_24_10595.jpg
/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_13_9606.jpg
/home/nano/Desktop/images/12072025/15/19/image_12072025_15_20_04_9586.jpg
/home/nano/Desktop/images/12072025/15/19/image_12072025_15_19_54_10596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894588","1371894590","1371894584","1371894587","1371894589","1371894586"],"photo_ids_order":["1371894584","1371894586","1371894587","1371894588","1371894589","1371894590"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c6ae6315d9a4a75ed821ac2e5a67135.jpg","text":"TemporaryFile(/tmp/multipartBody504848101814888368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326479509,"filename":"image_12072025_15_20_13_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4ae6921a2fabd21f62f957555007666.jpg","text":"TemporaryFile(/tmp/multipartBody954824473358389954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326479509,"filename":"image_12072025_15_19_54_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb31f802c3b5568d5b09d4489dfc4dcf.jpg","text":"TemporaryFile(/tmp/multipartBody5019171612731502384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326479509,"filename":"image_12072025_15_20_44_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4cba6fc4f0d5142a85c1c6ebb3c0cee8.jpg","text":"TemporaryFile(/tmp/multipartBody2828736244127314162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326479509,"filename":"image_12072025_15_20_24_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cee988201a881d52182f256f743bb9c7.jpg","text":"TemporaryFile(/tmp/multipartBody3321672149020404472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326479509,"filename":"image_12072025_15_20_04_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b568d2843f83bb980c6c1f2f58ea7983.jpg","text":"TemporaryFile(/tmp/multipartBody3601228439204945688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326479509,"filename":"image_12072025_15_20_34_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894587","file1":"1371894586","file0":"1371894584","file4":"1371894589","file5":"1371894590","file3":"1371894588"},"map_files_photo_id_array":[{"photo_id":"1371894590","filename":"file5"},{"photo_id":"1371894587","filename":"file2"},{"photo_id":"1371894589","filename":"file4"},{"photo_id":"1371894586","filename":"file1"},{"photo_id":"1371894584","filename":"file0"},{"photo_id":"1371894588","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894588":["hashtag1","hashtag2"]},{"1371894590":["hashtag1","hashtag2"]},{"1371894584":["hashtag1","hashtag2"]},{"1371894587":["hashtag1","hashtag2"]},{"1371894589":["hashtag1","hashtag2"]},{"1371894586":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894588, 1371894590, 1371894584, 1371894587, 1371894589, 1371894586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4192214012146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:21:03.309416
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_34_9585.jpg', 2), ('/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_24_10599.jpg', 2), ('/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_13_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/15/14/image_12072025_15_15_04_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_54_10719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_34_9585.jpg', '/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_24_10599.jpg', '/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_13_9614.jpg', '/home/nano/Desktop/images/12072025/15/14/image_12072025_15_15_04_9651.jpg', '/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_54_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_34_9585.jpg
/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_24_10599.jpg
/home/nano/Desktop/images/12072025/15/15/image_12072025_15_15_13_9614.jpg
/home/nano/Desktop/images/12072025/15/14/image_12072025_15_15_04_9651.jpg
/home/nano/Desktop/images/12072025/15/14/image_12072025_15_14_54_10719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894604","1371894605","1371894598","1371894607","1371894601"],"photo_ids_order":["1371894598","1371894601","1371894604","1371894605","1371894607"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf2beba0227fd7e2f5ebd43ea82d5077.jpg","text":"TemporaryFile(/tmp/multipartBody1513709222541807379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326524879,"filename":"image_12072025_15_15_13_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39c8e55f27506dadb33e1a44b398f02f.jpg","text":"TemporaryFile(/tmp/multipartBody5733278201255792904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326524879,"filename":"image_12072025_15_15_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/934920b8c0600f56c634de00749122c1.jpg","text":"TemporaryFile(/tmp/multipartBody7634184516204431671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326524879,"filename":"image_12072025_15_15_34_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb2cf0b390558da7415ee8a2e2fed961.jpg","text":"TemporaryFile(/tmp/multipartBody2491541255524697808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326524879,"filename":"image_12072025_15_14_54_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d08233d4469517320b2e2c7853d500f.jpg","text":"TemporaryFile(/tmp/multipartBody3428225377702138522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326524879,"filename":"image_12072025_15_15_24_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894604","file1":"1371894601","file0":"1371894598","file4":"1371894607","file3":"1371894605"},"map_files_photo_id_array":[{"photo_id":"1371894604","filename":"file2"},{"photo_id":"1371894607","filename":"file4"},{"photo_id":"1371894601","filename":"file1"},{"photo_id":"1371894598","filename":"file0"},{"photo_id":"1371894605","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894604":["hashtag1","hashtag2"]},{"1371894605":["hashtag1","hashtag2"]},{"1371894598":["hashtag1","hashtag2"]},{"1371894607":["hashtag1","hashtag2"]},{"1371894601":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894604, 1371894605, 1371894598, 1371894607, 1371894601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.543910264968872 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:21:32.735655
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_44_9586.jpg', 2), ('/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_34_10597.jpg', 2), ('/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_24_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_14_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/15/20/image_12072025_15_21_03_9595.jpg', 2), ('/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_54_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_44_9586.jpg', '/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_34_10597.jpg', '/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_24_9596.jpg', '/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_14_10630.jpg', '/home/nano/Desktop/images/12072025/15/20/image_12072025_15_21_03_9595.jpg', '/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_54_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_44_9586.jpg
/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_34_10597.jpg
/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_24_9596.jpg
/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_14_10630.jpg
/home/nano/Desktop/images/12072025/15/20/image_12072025_15_21_03_9595.jpg
/home/nano/Desktop/images/12072025/15/20/image_12072025_15_20_54_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894624","1371894612","1371894615","1371894619","1371894610","1371894622"],"photo_ids_order":["1371894610","1371894612","1371894615","1371894619","1371894622","1371894624"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f02f9612702f38a5fc2148a35162fe8e.jpg","text":"TemporaryFile(/tmp/multipartBody7016474241198413322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326554206,"filename":"image_12072025_15_20_54_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b3f3396b99e793c10b906149d00c717.jpg","text":"TemporaryFile(/tmp/multipartBody9133846619327996660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326554206,"filename":"image_12072025_15_21_34_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1bc2931b62cff621282a6996c5cf0ceb.jpg","text":"TemporaryFile(/tmp/multipartBody7759863500106698603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326554206,"filename":"image_12072025_15_21_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa3d5a64fccd8361659f0e435d8fda2d.jpg","text":"TemporaryFile(/tmp/multipartBody7277719379597805563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326554206,"filename":"image_12072025_15_21_14_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae6923bf5a49c07bb2d532099db7cd56.jpg","text":"TemporaryFile(/tmp/multipartBody4790437745572793988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326554206,"filename":"image_12072025_15_21_44_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95dedcba5bfb4c1b70a374a1a21259ae.jpg","text":"TemporaryFile(/tmp/multipartBody6051143217157475713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326554206,"filename":"image_12072025_15_21_03_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894615","file1":"1371894612","file0":"1371894610","file4":"1371894622","file5":"1371894624","file3":"1371894619"},"map_files_photo_id_array":[{"photo_id":"1371894624","filename":"file5"},{"photo_id":"1371894615","filename":"file2"},{"photo_id":"1371894622","filename":"file4"},{"photo_id":"1371894612","filename":"file1"},{"photo_id":"1371894610","filename":"file0"},{"photo_id":"1371894619","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894624":["hashtag1","hashtag2"]},{"1371894612":["hashtag1","hashtag2"]},{"1371894615":["hashtag1","hashtag2"]},{"1371894619":["hashtag1","hashtag2"]},{"1371894610":["hashtag1","hashtag2"]},{"1371894622":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894624, 1371894612, 1371894615, 1371894619, 1371894610, 1371894622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.311315059661865 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:22:16.846203
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_43_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_34_9588.jpg', 2), ('/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_24_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_14_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/15/21/image_12072025_15_22_04_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_53_9587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_43_9592.jpg', '/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_34_9588.jpg', '/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_24_10613.jpg', '/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_14_9613.jpg', '/home/nano/Desktop/images/12072025/15/21/image_12072025_15_22_04_10610.jpg', '/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_53_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_43_9592.jpg
/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_34_9588.jpg
/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_24_10613.jpg
/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_14_9613.jpg
/home/nano/Desktop/images/12072025/15/21/image_12072025_15_22_04_10610.jpg
/home/nano/Desktop/images/12072025/15/21/image_12072025_15_21_53_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894633","1371894636","1371894630","1371894637","1371894631","1371894634"],"photo_ids_order":["1371894630","1371894631","1371894633","1371894634","1371894636","1371894637"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b527d4f7e8231f0df67fc688348646c.jpg","text":"TemporaryFile(/tmp/multipartBody8605885695741185626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326598690,"filename":"image_12072025_15_22_24_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98fe0b22e579ba25581ffeb9d9bf7648.jpg","text":"TemporaryFile(/tmp/multipartBody7318013106397159708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326598690,"filename":"image_12072025_15_22_04_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15e89911f5d085b6880ccb829ff26117.jpg","text":"TemporaryFile(/tmp/multipartBody1639770636437076939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326598690,"filename":"image_12072025_15_22_43_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2641760f46c8791fb5ed9f69f7a96f50.jpg","text":"TemporaryFile(/tmp/multipartBody2849934086258484358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326598690,"filename":"image_12072025_15_21_53_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f491e54268574da25cb343e455f3ba75.jpg","text":"TemporaryFile(/tmp/multipartBody5950826745071539749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326598690,"filename":"image_12072025_15_22_34_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c36456d4634235551e7f336a4fa7961d.jpg","text":"TemporaryFile(/tmp/multipartBody9068989913631721816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326598690,"filename":"image_12072025_15_22_14_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894633","file1":"1371894631","file0":"1371894630","file4":"1371894636","file5":"1371894637","file3":"1371894634"},"map_files_photo_id_array":[{"photo_id":"1371894637","filename":"file5"},{"photo_id":"1371894633","filename":"file2"},{"photo_id":"1371894636","filename":"file4"},{"photo_id":"1371894631","filename":"file1"},{"photo_id":"1371894630","filename":"file0"},{"photo_id":"1371894634","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894633":["hashtag1","hashtag2"]},{"1371894636":["hashtag1","hashtag2"]},{"1371894630":["hashtag1","hashtag2"]},{"1371894637":["hashtag1","hashtag2"]},{"1371894631":["hashtag1","hashtag2"]},{"1371894634":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894633, 1371894636, 1371894630, 1371894637, 1371894631, 1371894634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40230584144592 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:23:02.525233
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/36/image_10072025_17_36_44_10634.jpg', 2), ('/home/nano/Desktop/images/10072025/17/36/image_10072025_17_36_24_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/17/36/image_10072025_17_36_14_10653.jpg', 2), ('/home/nano/Desktop/images/10072025/17/35/image_10072025_17_36_03_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/35/image_10072025_17_35_54_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/17/35/image_10072025_17_35_43_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/36/image_10072025_17_36_44_10634.jpg', '/home/nano/Desktop/images/10072025/17/36/image_10072025_17_36_24_9629.jpg', '/home/nano/Desktop/images/10072025/17/36/image_10072025_17_36_14_10653.jpg', '/home/nano/Desktop/images/10072025/17/35/image_10072025_17_36_03_9644.jpg', '/home/nano/Desktop/images/10072025/17/35/image_10072025_17_35_54_10639.jpg', '/home/nano/Desktop/images/10072025/17/35/image_10072025_17_35_43_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/36/image_10072025_17_36_44_10634.jpg
/home/nano/Desktop/images/10072025/17/36/image_10072025_17_36_24_9629.jpg
/home/nano/Desktop/images/10072025/17/36/image_10072025_17_36_14_10653.jpg
/home/nano/Desktop/images/10072025/17/35/image_10072025_17_36_03_9644.jpg
/home/nano/Desktop/images/10072025/17/35/image_10072025_17_35_54_10639.jpg
/home/nano/Desktop/images/10072025/17/35/image_10072025_17_35_43_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894651","1371894654","1371894648","1371894657","1371894652","1371894646"],"photo_ids_order":["1371894646","1371894648","1371894651","1371894652","1371894654","1371894657"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fda37459a4bf630b22e688d31a6f2fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8008441483779381442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326646270,"filename":"image_10072025_17_36_14_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7c6c3e8f54dd0fd3d183b324c351c47.jpg","text":"TemporaryFile(/tmp/multipartBody7046572488439783717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326646270,"filename":"image_10072025_17_35_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1612809c3a710411ec88690863dfff99.jpg","text":"TemporaryFile(/tmp/multipartBody553335656453445036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326646270,"filename":"image_10072025_17_36_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f80bb073fd52d56de61a19d553b8e56.jpg","text":"TemporaryFile(/tmp/multipartBody4008433394529189646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326646270,"filename":"image_10072025_17_35_43_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6741984ce9a4f66276877656c8e2561d.jpg","text":"TemporaryFile(/tmp/multipartBody5427316194494842731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326646270,"filename":"image_10072025_17_36_03_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a93260dab7a07598eebac573ec775695.jpg","text":"TemporaryFile(/tmp/multipartBody6529410824375004860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326646270,"filename":"image_10072025_17_36_44_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894651","file1":"1371894648","file0":"1371894646","file4":"1371894654","file5":"1371894657","file3":"1371894652"},"map_files_photo_id_array":[{"photo_id":"1371894657","filename":"file5"},{"photo_id":"1371894651","filename":"file2"},{"photo_id":"1371894654","filename":"file4"},{"photo_id":"1371894648","filename":"file1"},{"photo_id":"1371894646","filename":"file0"},{"photo_id":"1371894652","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371894651":["hashtag1","hashtag2"]},{"1371894654":["hashtag1","hashtag2"]},{"1371894648":["hashtag1","hashtag2"]},{"1371894657":["hashtag1","hashtag2"]},{"1371894652":["hashtag1","hashtag2"]},{"1371894646":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371894651, 1371894654, 1371894648, 1371894657, 1371894652, 1371894646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78125977516174 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:23:46.957341
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_44_10596.jpg', 2), ('/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_33_9590.jpg', 2), ('/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_24_9589.jpg', 2), ('/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_14_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/15/22/image_12072025_15_23_04_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_54_10598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_44_10596.jpg', '/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_33_9590.jpg', '/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_24_9589.jpg', '/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_14_10615.jpg', '/home/nano/Desktop/images/12072025/15/22/image_12072025_15_23_04_9606.jpg', '/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_54_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_44_10596.jpg
/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_33_9590.jpg
/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_24_9589.jpg
/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_14_10615.jpg
/home/nano/Desktop/images/12072025/15/22/image_12072025_15_23_04_9606.jpg
/home/nano/Desktop/images/12072025/15/22/image_12072025_15_22_54_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894675","1371894669","1371894665","1371894673","1371894670","1371894667"],"photo_ids_order":["1371894665","1371894667","1371894669","1371894670","1371894673","1371894675"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/785cdda9b455548742d49384bd5325d9.jpg","text":"TemporaryFile(/tmp/multipartBody1880882482224615230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326689140,"filename":"image_12072025_15_22_54_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/749984ca363afb49b30da8a318fcbcfa.jpg","text":"TemporaryFile(/tmp/multipartBody2516267717126578145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326689140,"filename":"image_12072025_15_23_24_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1589c148a4256d631e24e65033c8d1c2.jpg","text":"TemporaryFile(/tmp/multipartBody6378956844150415720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326689140,"filename":"image_12072025_15_23_44_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ea463511b5d0589e23bea288b8f82b6.jpg","text":"TemporaryFile(/tmp/multipartBody2532935840086238739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326689140,"filename":"image_12072025_15_23_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79dd9c6524165c87d98ee80615eed274.jpg","text":"TemporaryFile(/tmp/multipartBody3166330908001117865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326689140,"filename":"image_12072025_15_23_14_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/faaeff4fb64114675ce540499f071d60.jpg","text":"TemporaryFile(/tmp/multipartBody2369591474129538153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326689140,"filename":"image_12072025_15_23_33_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894669","file1":"1371894667","file0":"1371894665","file4":"1371894673","file5":"1371894675","file3":"1371894670"},"map_files_photo_id_array":[{"photo_id":"1371894675","filename":"file5"},{"photo_id":"1371894669","filename":"file2"},{"photo_id":"1371894673","filename":"file4"},{"photo_id":"1371894667","filename":"file1"},{"photo_id":"1371894665","filename":"file0"},{"photo_id":"1371894670","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894675":["hashtag1","hashtag2"]},{"1371894669":["hashtag1","hashtag2"]},{"1371894665":["hashtag1","hashtag2"]},{"1371894673":["hashtag1","hashtag2"]},{"1371894670":["hashtag1","hashtag2"]},{"1371894667":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894675, 1371894669, 1371894665, 1371894673, 1371894670, 1371894667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17384958267212 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:24:32.039271
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_44_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_34_10598.jpg', 2), ('/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_23_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_14_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/15/23/image_12072025_15_24_04_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_54_9593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_44_9593.jpg', '/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_34_10598.jpg', '/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_23_9592.jpg', '/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_14_9648.jpg', '/home/nano/Desktop/images/12072025/15/23/image_12072025_15_24_04_10617.jpg', '/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_54_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_44_9593.jpg
/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_34_10598.jpg
/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_23_9592.jpg
/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_14_9648.jpg
/home/nano/Desktop/images/12072025/15/23/image_12072025_15_24_04_10617.jpg
/home/nano/Desktop/images/12072025/15/23/image_12072025_15_23_54_9593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894687","1371894681","1371894680","1371894682","1371894685","1371894684"],"photo_ids_order":["1371894680","1371894681","1371894682","1371894684","1371894685","1371894687"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07892749f064656b672e8d779dbc03de.jpg","text":"TemporaryFile(/tmp/multipartBody6379191301739225250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326733815,"filename":"image_12072025_15_23_54_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4eb17aa2027a24a9c376421b04545ed2.jpg","text":"TemporaryFile(/tmp/multipartBody5650097461118246314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326733815,"filename":"image_12072025_15_24_34_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a11f0491943dc33efc5f989c46492012.jpg","text":"TemporaryFile(/tmp/multipartBody6182820682696341766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326733815,"filename":"image_12072025_15_24_44_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e96223aa6b8eef65fab9baef54be685.jpg","text":"TemporaryFile(/tmp/multipartBody6007962037181248872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326733815,"filename":"image_12072025_15_24_23_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f39493d78e9b88b036ea813cd4e4afc.jpg","text":"TemporaryFile(/tmp/multipartBody3666430565645050845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326733815,"filename":"image_12072025_15_24_04_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5581a48e04f8bbdba33c4b0c4d7805d.jpg","text":"TemporaryFile(/tmp/multipartBody2434774612782922185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326733815,"filename":"image_12072025_15_24_14_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894682","file1":"1371894681","file0":"1371894680","file4":"1371894685","file5":"1371894687","file3":"1371894684"},"map_files_photo_id_array":[{"photo_id":"1371894687","filename":"file5"},{"photo_id":"1371894682","filename":"file2"},{"photo_id":"1371894685","filename":"file4"},{"photo_id":"1371894681","filename":"file1"},{"photo_id":"1371894680","filename":"file0"},{"photo_id":"1371894684","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894687":["hashtag1","hashtag2"]},{"1371894681":["hashtag1","hashtag2"]},{"1371894680":["hashtag1","hashtag2"]},{"1371894682":["hashtag1","hashtag2"]},{"1371894685":["hashtag1","hashtag2"]},{"1371894684":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894687, 1371894681, 1371894680, 1371894682, 1371894685, 1371894684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31063508987427 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:25:17.167798
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_44_9819.jpg', 2), ('/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_34_9744.jpg', 2), ('/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_24_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_14_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/15/24/image_12072025_15_25_04_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_54_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_44_9819.jpg', '/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_34_9744.jpg', '/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_24_10619.jpg', '/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_14_9623.jpg', '/home/nano/Desktop/images/12072025/15/24/image_12072025_15_25_04_9657.jpg', '/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_54_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_44_9819.jpg
/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_34_9744.jpg
/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_24_10619.jpg
/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_14_9623.jpg
/home/nano/Desktop/images/12072025/15/24/image_12072025_15_25_04_9657.jpg
/home/nano/Desktop/images/12072025/15/24/image_12072025_15_24_54_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894702","1371894698","1371894692","1371894694","1371894696","1371894700"],"photo_ids_order":["1371894692","1371894694","1371894696","1371894698","1371894700","1371894702"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c8124aef60474b2178fb41da9151c46.jpg","text":"TemporaryFile(/tmp/multipartBody247028475431013718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326779619,"filename":"image_12072025_15_24_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aeaaadfc98f1a5c34700b3671b69a6ab.jpg","text":"TemporaryFile(/tmp/multipartBody5786769739677652789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326779619,"filename":"image_12072025_15_25_14_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13fb13123cb1cdae4659b7c4ed76d6ce.jpg","text":"TemporaryFile(/tmp/multipartBody9032893620950532970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326779619,"filename":"image_12072025_15_25_44_9819.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0863bc61a8e87464108c4bda367c64ed.jpg","text":"TemporaryFile(/tmp/multipartBody109648408854030791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326779619,"filename":"image_12072025_15_25_34_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc8aa7e0f5fa73075d544fc973aa8a28.jpg","text":"TemporaryFile(/tmp/multipartBody5009317137724198173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326779619,"filename":"image_12072025_15_25_24_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89b6c192082d655e0ecb8260e7b6cab6.jpg","text":"TemporaryFile(/tmp/multipartBody4938982397813736704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326779619,"filename":"image_12072025_15_25_04_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894696","file1":"1371894694","file0":"1371894692","file4":"1371894700","file5":"1371894702","file3":"1371894698"},"map_files_photo_id_array":[{"photo_id":"1371894702","filename":"file5"},{"photo_id":"1371894696","filename":"file2"},{"photo_id":"1371894700","filename":"file4"},{"photo_id":"1371894694","filename":"file1"},{"photo_id":"1371894692","filename":"file0"},{"photo_id":"1371894698","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894702":["hashtag1","hashtag2"]},{"1371894698":["hashtag1","hashtag2"]},{"1371894692":["hashtag1","hashtag2"]},{"1371894694":["hashtag1","hashtag2"]},{"1371894696":["hashtag1","hashtag2"]},{"1371894700":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894702, 1371894698, 1371894692, 1371894694, 1371894696, 1371894700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08729338645935 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:26:02.784670
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/35/image_10072025_17_35_33_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/17/34/image_10072025_17_35_04_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_54_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_43_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_34_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_24_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/35/image_10072025_17_35_33_9624.jpg', '/home/nano/Desktop/images/10072025/17/34/image_10072025_17_35_04_9638.jpg', '/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_54_10632.jpg', '/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_43_9623.jpg', '/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_34_9627.jpg', '/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_24_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/35/image_10072025_17_35_33_9624.jpg
/home/nano/Desktop/images/10072025/17/34/image_10072025_17_35_04_9638.jpg
/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_54_10632.jpg
/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_43_9623.jpg
/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_34_9627.jpg
/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_24_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894720","1371894714","1371894722","1371894716","1371894718","1371894721"],"photo_ids_order":["1371894714","1371894716","1371894718","1371894720","1371894721","1371894722"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba8557ac6b2de883be1b00014f16bd63.jpg","text":"TemporaryFile(/tmp/multipartBody4441055738936608568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326826411,"filename":"image_10072025_17_34_43_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03b1f9f9474c0d19ab99c8555c548fd4.jpg","text":"TemporaryFile(/tmp/multipartBody4583603479282615579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326826411,"filename":"image_10072025_17_35_33_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2b296772877ce0653d167947a888b85.jpg","text":"TemporaryFile(/tmp/multipartBody2476273253590508827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326826411,"filename":"image_10072025_17_34_24_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac3d8a9ac218f51b9c6d5062687753d7.jpg","text":"TemporaryFile(/tmp/multipartBody138810953713457596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326826411,"filename":"image_10072025_17_35_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e59583f3b7bbc90e56b7549f3b18e6eb.jpg","text":"TemporaryFile(/tmp/multipartBody5015980965298776654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326826411,"filename":"image_10072025_17_34_54_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b57abb30299ea2f83fc18a05c120d7d.jpg","text":"TemporaryFile(/tmp/multipartBody4574977273042724319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326826411,"filename":"image_10072025_17_34_34_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894718","file1":"1371894716","file0":"1371894714","file4":"1371894721","file5":"1371894722","file3":"1371894720"},"map_files_photo_id_array":[{"photo_id":"1371894722","filename":"file5"},{"photo_id":"1371894718","filename":"file2"},{"photo_id":"1371894721","filename":"file4"},{"photo_id":"1371894716","filename":"file1"},{"photo_id":"1371894714","filename":"file0"},{"photo_id":"1371894720","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371894720":["hashtag1","hashtag2"]},{"1371894714":["hashtag1","hashtag2"]},{"1371894722":["hashtag1","hashtag2"]},{"1371894716":["hashtag1","hashtag2"]},{"1371894718":["hashtag1","hashtag2"]},{"1371894721":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371894720, 1371894714, 1371894722, 1371894716, 1371894718, 1371894721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74115705490112 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:26:47.295049
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_44_9824.jpg', 2), ('/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_34_9818.jpg', 2), ('/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_24_9819.jpg', 2), ('/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_14_9761.jpg', 2), ('/home/nano/Desktop/images/12072025/15/25/image_12072025_15_26_04_10815.jpg', 2), ('/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_53_9772.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_44_9824.jpg', '/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_34_9818.jpg', '/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_24_9819.jpg', '/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_14_9761.jpg', '/home/nano/Desktop/images/12072025/15/25/image_12072025_15_26_04_10815.jpg', '/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_53_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_44_9824.jpg
/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_34_9818.jpg
/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_24_9819.jpg
/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_14_9761.jpg
/home/nano/Desktop/images/12072025/15/25/image_12072025_15_26_04_10815.jpg
/home/nano/Desktop/images/12072025/15/25/image_12072025_15_25_53_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894735","1371894729","1371894737","1371894739","1371894730","1371894733"],"photo_ids_order":["1371894729","1371894730","1371894733","1371894735","1371894737","1371894739"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c887474bcddaaaed4b3ec8961e8ae191.jpg","text":"TemporaryFile(/tmp/multipartBody7671917426203824452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326870738,"filename":"image_12072025_15_26_14_9761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fcf7c7e5a2984e0096c470937d8c20a.jpg","text":"TemporaryFile(/tmp/multipartBody7766284436048306626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326870738,"filename":"image_12072025_15_26_44_9824.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8e3d9ee2133bc17d728d291fa60c23c.jpg","text":"TemporaryFile(/tmp/multipartBody6835785103439968169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326870738,"filename":"image_12072025_15_26_04_10815.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b9c9a48795a327cf2480653734102c0.jpg","text":"TemporaryFile(/tmp/multipartBody173567355918690764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326870738,"filename":"image_12072025_15_25_53_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c33c391682d9e2d5af373863c7a24e03.jpg","text":"TemporaryFile(/tmp/multipartBody6128342142744565193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326870738,"filename":"image_12072025_15_26_34_9818.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24b971affd65f5f4170244f3f49fd1ca.jpg","text":"TemporaryFile(/tmp/multipartBody8785991426236677915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326870738,"filename":"image_12072025_15_26_24_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894733","file1":"1371894730","file0":"1371894729","file4":"1371894737","file5":"1371894739","file3":"1371894735"},"map_files_photo_id_array":[{"photo_id":"1371894739","filename":"file5"},{"photo_id":"1371894733","filename":"file2"},{"photo_id":"1371894737","filename":"file4"},{"photo_id":"1371894730","filename":"file1"},{"photo_id":"1371894729","filename":"file0"},{"photo_id":"1371894735","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894735":["hashtag1","hashtag2"]},{"1371894729":["hashtag1","hashtag2"]},{"1371894737":["hashtag1","hashtag2"]},{"1371894739":["hashtag1","hashtag2"]},{"1371894730":["hashtag1","hashtag2"]},{"1371894733":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894735, 1371894729, 1371894737, 1371894739, 1371894730, 1371894733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9880530834198 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:27:32.402125
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_43_9779.jpg', 2), ('/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_34_9821.jpg', 2), ('/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_24_9815.jpg', 2), ('/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_14_9829.jpg', 2), ('/home/nano/Desktop/images/12072025/15/26/image_12072025_15_27_04_10748.jpg', 2), ('/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_53_9821.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_43_9779.jpg', '/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_34_9821.jpg', '/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_24_9815.jpg', '/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_14_9829.jpg', '/home/nano/Desktop/images/12072025/15/26/image_12072025_15_27_04_10748.jpg', '/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_53_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_43_9779.jpg
/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_34_9821.jpg
/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_24_9815.jpg
/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_14_9829.jpg
/home/nano/Desktop/images/12072025/15/26/image_12072025_15_27_04_10748.jpg
/home/nano/Desktop/images/12072025/15/26/image_12072025_15_26_53_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894747","1371894743","1371894752","1371894755","1371894749","1371894745"],"photo_ids_order":["1371894743","1371894745","1371894747","1371894749","1371894752","1371894755"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66b659cbe21a88db312da5452ca2d2bc.jpg","text":"TemporaryFile(/tmp/multipartBody6483023378434370551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326916898,"filename":"image_12072025_15_27_24_9815.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73063e2b23d1741a018494aba5abaaf5.jpg","text":"TemporaryFile(/tmp/multipartBody1513238862560248415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326916898,"filename":"image_12072025_15_27_43_9779.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/257e7cd56022526be30338730dc424d5.jpg","text":"TemporaryFile(/tmp/multipartBody8970596414697727879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326916898,"filename":"image_12072025_15_27_04_10748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e34954f4969c00f5b751319193753f72.jpg","text":"TemporaryFile(/tmp/multipartBody2527401718709505253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326916898,"filename":"image_12072025_15_26_53_9821.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a7fa756f97c34c4ad8264d3578e47f6.jpg","text":"TemporaryFile(/tmp/multipartBody1616388132587539433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326916898,"filename":"image_12072025_15_27_14_9829.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fd51dcd50b86a17eb4aee6e359a72ee.jpg","text":"TemporaryFile(/tmp/multipartBody6099689995638561385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326916898,"filename":"image_12072025_15_27_34_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894747","file1":"1371894745","file0":"1371894743","file4":"1371894752","file5":"1371894755","file3":"1371894749"},"map_files_photo_id_array":[{"photo_id":"1371894755","filename":"file5"},{"photo_id":"1371894747","filename":"file2"},{"photo_id":"1371894752","filename":"file4"},{"photo_id":"1371894745","filename":"file1"},{"photo_id":"1371894743","filename":"file0"},{"photo_id":"1371894749","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894747":["hashtag1","hashtag2"]},{"1371894743":["hashtag1","hashtag2"]},{"1371894752":["hashtag1","hashtag2"]},{"1371894755":["hashtag1","hashtag2"]},{"1371894749":["hashtag1","hashtag2"]},{"1371894745":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894747, 1371894743, 1371894752, 1371894755, 1371894749, 1371894745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49181938171387 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:28:17.529164
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_44_9755.jpg', 2), ('/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_34_10729.jpg', 2), ('/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_23_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_14_9731.jpg', 2), ('/home/nano/Desktop/images/12072025/15/27/image_12072025_15_28_04_9830.jpg', 2), ('/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_54_10866.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_44_9755.jpg', '/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_34_10729.jpg', '/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_23_9665.jpg', '/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_14_9731.jpg', '/home/nano/Desktop/images/12072025/15/27/image_12072025_15_28_04_9830.jpg', '/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_54_10866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_44_9755.jpg
/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_34_10729.jpg
/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_23_9665.jpg
/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_14_9731.jpg
/home/nano/Desktop/images/12072025/15/27/image_12072025_15_28_04_9830.jpg
/home/nano/Desktop/images/12072025/15/27/image_12072025_15_27_54_10866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894765","1371894768","1371894770","1371894767","1371894766","1371894769"],"photo_ids_order":["1371894765","1371894766","1371894767","1371894768","1371894769","1371894770"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1eaecff841047f34827f45915cff8bc3.jpg","text":"TemporaryFile(/tmp/multipartBody7554621653432494279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326961234,"filename":"image_12072025_15_28_44_9755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93bb90191f15c4f1f01181596d6c964f.jpg","text":"TemporaryFile(/tmp/multipartBody1051029654848907308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326961234,"filename":"image_12072025_15_28_14_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1b8c2a84a50549da41320ab3bbf0353.jpg","text":"TemporaryFile(/tmp/multipartBody8014681025555135339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326961234,"filename":"image_12072025_15_27_54_10866.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bb6586cd07ad2778f43f8ecfd86d3c6.jpg","text":"TemporaryFile(/tmp/multipartBody967510046998066223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326961234,"filename":"image_12072025_15_28_23_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8df6941b9d82e8eb7ed7f1a0e2dcaa05.jpg","text":"TemporaryFile(/tmp/multipartBody8344723853608201141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326961234,"filename":"image_12072025_15_28_34_10729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/956dfcfe027d935a6208820a4a240f72.jpg","text":"TemporaryFile(/tmp/multipartBody9199366590489705096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752326961234,"filename":"image_12072025_15_28_04_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894767","file1":"1371894766","file0":"1371894765","file4":"1371894769","file5":"1371894770","file3":"1371894768"},"map_files_photo_id_array":[{"photo_id":"1371894770","filename":"file5"},{"photo_id":"1371894767","filename":"file2"},{"photo_id":"1371894769","filename":"file4"},{"photo_id":"1371894766","filename":"file1"},{"photo_id":"1371894765","filename":"file0"},{"photo_id":"1371894768","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894765":["hashtag1","hashtag2"]},{"1371894768":["hashtag1","hashtag2"]},{"1371894770":["hashtag1","hashtag2"]},{"1371894767":["hashtag1","hashtag2"]},{"1371894766":["hashtag1","hashtag2"]},{"1371894769":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894765, 1371894768, 1371894770, 1371894767, 1371894766, 1371894769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81666922569275 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:29:03.800976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_13_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/17/33/image_10072025_17_34_04_10650.jpg', 2), ('/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_53_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_43_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_34_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_23_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_13_9655.jpg', '/home/nano/Desktop/images/10072025/17/33/image_10072025_17_34_04_10650.jpg', '/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_53_9623.jpg', '/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_43_9625.jpg', '/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_34_10633.jpg', '/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_23_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/34/image_10072025_17_34_13_9655.jpg
/home/nano/Desktop/images/10072025/17/33/image_10072025_17_34_04_10650.jpg
/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_53_9623.jpg
/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_43_9625.jpg
/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_34_10633.jpg
/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_23_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894786","1371894780","1371894782","1371894784","1371894781","1371894778"],"photo_ids_order":["1371894778","1371894780","1371894781","1371894782","1371894784","1371894786"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f9f0187b02284fb5e2dd4980943384c.jpg","text":"TemporaryFile(/tmp/multipartBody6396668524845501345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327007590,"filename":"image_10072025_17_33_23_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5dd1148b6637c5266ce374839ed4aa79.jpg","text":"TemporaryFile(/tmp/multipartBody5817280678743324226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327007590,"filename":"image_10072025_17_34_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/405a99cab0072b365cb9621a4a22b21f.jpg","text":"TemporaryFile(/tmp/multipartBody3780123416976432592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327007590,"filename":"image_10072025_17_33_43_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d586c0c51875bca027b8c7681f248124.jpg","text":"TemporaryFile(/tmp/multipartBody1204442600995129234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327007590,"filename":"image_10072025_17_33_34_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/acc26999ca9cb004a6da2ea7c9e788e5.jpg","text":"TemporaryFile(/tmp/multipartBody6384678837950312122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327007590,"filename":"image_10072025_17_33_53_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad9a073c9ecc282dfe96a44e645d9f56.jpg","text":"TemporaryFile(/tmp/multipartBody7588904386210467010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327007590,"filename":"image_10072025_17_34_13_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894781","file1":"1371894780","file0":"1371894778","file4":"1371894784","file5":"1371894786","file3":"1371894782"},"map_files_photo_id_array":[{"photo_id":"1371894786","filename":"file5"},{"photo_id":"1371894781","filename":"file2"},{"photo_id":"1371894784","filename":"file4"},{"photo_id":"1371894780","filename":"file1"},{"photo_id":"1371894778","filename":"file0"},{"photo_id":"1371894782","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371894786":["hashtag1","hashtag2"]},{"1371894780":["hashtag1","hashtag2"]},{"1371894782":["hashtag1","hashtag2"]},{"1371894784":["hashtag1","hashtag2"]},{"1371894781":["hashtag1","hashtag2"]},{"1371894778":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371894786, 1371894780, 1371894782, 1371894784, 1371894781, 1371894778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.694923400878906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:29:47.657453
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_44_10725.jpg', 2), ('/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_33_9700.jpg', 2), ('/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_24_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_14_10703.jpg', 2), ('/home/nano/Desktop/images/12072025/15/28/image_12072025_15_29_03_9694.jpg', 2), ('/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_54_9713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_44_10725.jpg', '/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_33_9700.jpg', '/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_24_9645.jpg', '/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_14_10703.jpg', '/home/nano/Desktop/images/12072025/15/28/image_12072025_15_29_03_9694.jpg', '/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_54_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_44_10725.jpg
/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_33_9700.jpg
/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_24_9645.jpg
/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_14_10703.jpg
/home/nano/Desktop/images/12072025/15/28/image_12072025_15_29_03_9694.jpg
/home/nano/Desktop/images/12072025/15/28/image_12072025_15_28_54_9713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894816","1371894807","1371894809","1371894818","1371894811","1371894814"],"photo_ids_order":["1371894807","1371894809","1371894811","1371894814","1371894816","1371894818"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cffee3668a73748562c2b994eb12d34.jpg","text":"TemporaryFile(/tmp/multipartBody5273417035930414911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327049731,"filename":"image_12072025_15_29_03_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf1fe78af09d1ec818be7f565fcdab77.jpg","text":"TemporaryFile(/tmp/multipartBody8784016990513725991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327049731,"filename":"image_12072025_15_29_44_10725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a159430b4fbdf89626068ffcac34ee3a.jpg","text":"TemporaryFile(/tmp/multipartBody3156602658593422125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327049731,"filename":"image_12072025_15_29_33_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6da9ad11417f6d5a7a7ce44a7d87f4fe.jpg","text":"TemporaryFile(/tmp/multipartBody1315751916021295744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327049731,"filename":"image_12072025_15_28_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ce2e1f503a5123a96c23ced5690434d.jpg","text":"TemporaryFile(/tmp/multipartBody7296442174728488404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327049731,"filename":"image_12072025_15_29_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ccb9860e8e5b4ef423e028e8687fbba.jpg","text":"TemporaryFile(/tmp/multipartBody4456290644956793658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327049731,"filename":"image_12072025_15_29_14_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894811","file1":"1371894809","file0":"1371894807","file4":"1371894816","file5":"1371894818","file3":"1371894814"},"map_files_photo_id_array":[{"photo_id":"1371894818","filename":"file5"},{"photo_id":"1371894811","filename":"file2"},{"photo_id":"1371894816","filename":"file4"},{"photo_id":"1371894809","filename":"file1"},{"photo_id":"1371894807","filename":"file0"},{"photo_id":"1371894814","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894816":["hashtag1","hashtag2"]},{"1371894807":["hashtag1","hashtag2"]},{"1371894809":["hashtag1","hashtag2"]},{"1371894818":["hashtag1","hashtag2"]},{"1371894811":["hashtag1","hashtag2"]},{"1371894814":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894816, 1371894807, 1371894809, 1371894818, 1371894811, 1371894814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.19912362098694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:30:32.763548
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_44_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_34_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_24_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_14_10701.jpg', 2), ('/home/nano/Desktop/images/12072025/15/29/image_12072025_15_30_04_9724.jpg', 2), ('/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_54_9742.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_44_10642.jpg', '/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_34_9636.jpg', '/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_24_9633.jpg', '/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_14_10701.jpg', '/home/nano/Desktop/images/12072025/15/29/image_12072025_15_30_04_9724.jpg', '/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_54_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_44_10642.jpg
/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_34_9636.jpg
/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_24_9633.jpg
/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_14_10701.jpg
/home/nano/Desktop/images/12072025/15/29/image_12072025_15_30_04_9724.jpg
/home/nano/Desktop/images/12072025/15/29/image_12072025_15_29_54_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894828","1371894822","1371894830","1371894824","1371894827","1371894823"],"photo_ids_order":["1371894822","1371894823","1371894824","1371894827","1371894828","1371894830"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ead9461b3a86351436314bd9016df954.jpg","text":"TemporaryFile(/tmp/multipartBody393595705821026453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327094617,"filename":"image_12072025_15_30_04_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cce66e418354a4ad9de557e59352210f.jpg","text":"TemporaryFile(/tmp/multipartBody4247909951791060786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327094617,"filename":"image_12072025_15_30_44_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f39de7bc5f07e126e14894ae7132075.jpg","text":"TemporaryFile(/tmp/multipartBody634015574638269554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327094617,"filename":"image_12072025_15_29_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ffc75b593db09a69e00f36a5f52010d6.jpg","text":"TemporaryFile(/tmp/multipartBody7517977263362153543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327094617,"filename":"image_12072025_15_30_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c79af7cd2b21cbf8828ef11f72e650b.jpg","text":"TemporaryFile(/tmp/multipartBody9222144385033641631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327094617,"filename":"image_12072025_15_30_14_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45245ec11255fbc8c1e73c45aaa05a79.jpg","text":"TemporaryFile(/tmp/multipartBody3451891018407266933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327094617,"filename":"image_12072025_15_30_34_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894824","file1":"1371894823","file0":"1371894822","file4":"1371894828","file5":"1371894830","file3":"1371894827"},"map_files_photo_id_array":[{"photo_id":"1371894830","filename":"file5"},{"photo_id":"1371894824","filename":"file2"},{"photo_id":"1371894828","filename":"file4"},{"photo_id":"1371894823","filename":"file1"},{"photo_id":"1371894822","filename":"file0"},{"photo_id":"1371894827","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894828":["hashtag1","hashtag2"]},{"1371894822":["hashtag1","hashtag2"]},{"1371894830":["hashtag1","hashtag2"]},{"1371894824":["hashtag1","hashtag2"]},{"1371894827":["hashtag1","hashtag2"]},{"1371894823":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894828, 1371894822, 1371894830, 1371894824, 1371894827, 1371894823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10777449607849 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:31:16.930132
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_44_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_33_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_24_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_14_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/15/30/image_12072025_15_31_03_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_54_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_44_10632.jpg', '/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_33_9642.jpg', '/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_24_9625.jpg', '/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_14_10662.jpg', '/home/nano/Desktop/images/12072025/15/30/image_12072025_15_31_03_9643.jpg', '/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_54_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_44_10632.jpg
/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_33_9642.jpg
/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_24_9625.jpg
/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_14_10662.jpg
/home/nano/Desktop/images/12072025/15/30/image_12072025_15_31_03_9643.jpg
/home/nano/Desktop/images/12072025/15/30/image_12072025_15_30_54_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894843","1371894837","1371894842","1371894839","1371894836","1371894841"],"photo_ids_order":["1371894836","1371894837","1371894839","1371894841","1371894842","1371894843"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e2c2f474d2113429b32c441802bc160.jpg","text":"TemporaryFile(/tmp/multipartBody6619225214440546350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327138992,"filename":"image_12072025_15_30_54_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b01e761b54f24e251850184a6b71d36e.jpg","text":"TemporaryFile(/tmp/multipartBody5235669163368323842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327138992,"filename":"image_12072025_15_31_33_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9bf6dd40b27453a3d3bb9524b41f300.jpg","text":"TemporaryFile(/tmp/multipartBody8828642059242321979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327138992,"filename":"image_12072025_15_31_03_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06219d2d11463a72a236530d7dc41d98.jpg","text":"TemporaryFile(/tmp/multipartBody2370288916330030468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327138992,"filename":"image_12072025_15_31_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20d6bf494f9b4e09ed74518c87f05f33.jpg","text":"TemporaryFile(/tmp/multipartBody4890368922603620016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327138992,"filename":"image_12072025_15_31_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c951498ac336625c4bf3b586ab057697.jpg","text":"TemporaryFile(/tmp/multipartBody125441492920128274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327138992,"filename":"image_12072025_15_31_14_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894839","file1":"1371894837","file0":"1371894836","file4":"1371894842","file5":"1371894843","file3":"1371894841"},"map_files_photo_id_array":[{"photo_id":"1371894843","filename":"file5"},{"photo_id":"1371894839","filename":"file2"},{"photo_id":"1371894842","filename":"file4"},{"photo_id":"1371894837","filename":"file1"},{"photo_id":"1371894836","filename":"file0"},{"photo_id":"1371894841","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894843":["hashtag1","hashtag2"]},{"1371894837":["hashtag1","hashtag2"]},{"1371894842":["hashtag1","hashtag2"]},{"1371894839":["hashtag1","hashtag2"]},{"1371894836":["hashtag1","hashtag2"]},{"1371894841":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894843, 1371894837, 1371894842, 1371894839, 1371894836, 1371894841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.865609407424927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:32:02.324191
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_14_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/17/32/image_10072025_17_33_04_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/17/32/image_10072025_17_32_53_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/17/32/image_10072025_17_32_44_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/17/32/image_10072025_17_32_34_10635.jpg', 2), ('/home/nano/Desktop/images/10072025/17/32/image_10072025_17_32_23_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_14_9651.jpg', '/home/nano/Desktop/images/10072025/17/32/image_10072025_17_33_04_10661.jpg', '/home/nano/Desktop/images/10072025/17/32/image_10072025_17_32_53_9630.jpg', '/home/nano/Desktop/images/10072025/17/32/image_10072025_17_32_44_9623.jpg', '/home/nano/Desktop/images/10072025/17/32/image_10072025_17_32_34_10635.jpg', '/home/nano/Desktop/images/10072025/17/32/image_10072025_17_32_23_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/33/image_10072025_17_33_14_9651.jpg
/home/nano/Desktop/images/10072025/17/32/image_10072025_17_33_04_10661.jpg
/home/nano/Desktop/images/10072025/17/32/image_10072025_17_32_53_9630.jpg
/home/nano/Desktop/images/10072025/17/32/image_10072025_17_32_44_9623.jpg
/home/nano/Desktop/images/10072025/17/32/image_10072025_17_32_34_10635.jpg
/home/nano/Desktop/images/10072025/17/32/image_10072025_17_32_23_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894858","1371894855","1371894860","1371894863","1371894856","1371894859"],"photo_ids_order":["1371894855","1371894856","1371894858","1371894859","1371894860","1371894863"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18522ff7cf0eee9b93edfeca30f11bcb.jpg","text":"TemporaryFile(/tmp/multipartBody2264107596603198307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327186379,"filename":"image_10072025_17_32_53_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/252398214fca129763b0c616f40dfa7f.jpg","text":"TemporaryFile(/tmp/multipartBody4210155533168600162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327186379,"filename":"image_10072025_17_33_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b74f650de15bbe97e08bca6d92a1b91.jpg","text":"TemporaryFile(/tmp/multipartBody1119286841586896912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327186379,"filename":"image_10072025_17_32_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80b428f807b0b84669b91684649ebfcd.jpg","text":"TemporaryFile(/tmp/multipartBody7576326810116823042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327186379,"filename":"image_10072025_17_32_23_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/788656afadd9ba0c2ed9cb4f6b1dc648.jpg","text":"TemporaryFile(/tmp/multipartBody1652962965862433882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327186379,"filename":"image_10072025_17_33_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4ecc14f7f8ed0ecc18a5b1b4451beb5.jpg","text":"TemporaryFile(/tmp/multipartBody1505497115918606374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327186379,"filename":"image_10072025_17_32_44_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894858","file1":"1371894856","file0":"1371894855","file4":"1371894860","file5":"1371894863","file3":"1371894859"},"map_files_photo_id_array":[{"photo_id":"1371894863","filename":"file5"},{"photo_id":"1371894858","filename":"file2"},{"photo_id":"1371894860","filename":"file4"},{"photo_id":"1371894856","filename":"file1"},{"photo_id":"1371894855","filename":"file0"},{"photo_id":"1371894859","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371894858":["hashtag1","hashtag2"]},{"1371894855":["hashtag1","hashtag2"]},{"1371894860":["hashtag1","hashtag2"]},{"1371894863":["hashtag1","hashtag2"]},{"1371894856":["hashtag1","hashtag2"]},{"1371894859":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371894858, 1371894855, 1371894860, 1371894863, 1371894856, 1371894859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.408068895339966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:32:46.973902
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_44_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_34_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_24_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/15/31/image_12072025_15_32_04_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_44_9614.jpg', '/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_34_10634.jpg', '/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_24_9629.jpg', '/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_14_9658.jpg', '/home/nano/Desktop/images/12072025/15/31/image_12072025_15_32_04_10651.jpg', '/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_44_9614.jpg
/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_34_10634.jpg
/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_24_9629.jpg
/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_14_9658.jpg
/home/nano/Desktop/images/12072025/15/31/image_12072025_15_32_04_10651.jpg
/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_54_9638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.11604642868042 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:33:02.589971
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_44_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_34_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_24_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/15/31/image_12072025_15_32_04_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_44_9614.jpg', '/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_34_10634.jpg', '/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_24_9629.jpg', '/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_14_9658.jpg', '/home/nano/Desktop/images/12072025/15/31/image_12072025_15_32_04_10651.jpg', '/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_44_9614.jpg
/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_34_10634.jpg
/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_24_9629.jpg
/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_14_9658.jpg
/home/nano/Desktop/images/12072025/15/31/image_12072025_15_32_04_10651.jpg
/home/nano/Desktop/images/12072025/15/31/image_12072025_15_31_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894893","1371894887","1371894884","1371894889","1371894880","1371894882"],"photo_ids_order":["1371894880","1371894882","1371894884","1371894887","1371894889","1371894893"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/587cd2c7924c53502afaa89ef7cc245e.jpg","text":"TemporaryFile(/tmp/multipartBody2242477204828470065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327244132,"filename":"image_12072025_15_31_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/579d6909c8347b2fafa0d5b29017b782.jpg","text":"TemporaryFile(/tmp/multipartBody2354668917394233730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327244132,"filename":"image_12072025_15_32_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62e42ddc72e91c25757da3e084671650.jpg","text":"TemporaryFile(/tmp/multipartBody7357213842456177848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327244132,"filename":"image_12072025_15_32_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33d74012c1fa2fa2fce74231e0a1697f.jpg","text":"TemporaryFile(/tmp/multipartBody2847650547913359423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327244132,"filename":"image_12072025_15_32_04_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1cf521754c541a616524fa36f146677.jpg","text":"TemporaryFile(/tmp/multipartBody3448594979201753009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327244132,"filename":"image_12072025_15_32_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd95a972946bd9a58f798c83b5c33af3.jpg","text":"TemporaryFile(/tmp/multipartBody6351634741298725800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327244132,"filename":"image_12072025_15_32_34_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894884","file1":"1371894882","file0":"1371894880","file4":"1371894889","file5":"1371894893","file3":"1371894887"},"map_files_photo_id_array":[{"photo_id":"1371894893","filename":"file5"},{"photo_id":"1371894884","filename":"file2"},{"photo_id":"1371894889","filename":"file4"},{"photo_id":"1371894882","filename":"file1"},{"photo_id":"1371894880","filename":"file0"},{"photo_id":"1371894887","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894893":["hashtag1","hashtag2"]},{"1371894887":["hashtag1","hashtag2"]},{"1371894884":["hashtag1","hashtag2"]},{"1371894889":["hashtag1","hashtag2"]},{"1371894880":["hashtag1","hashtag2"]},{"1371894882":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894893, 1371894887, 1371894884, 1371894889, 1371894880, 1371894882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.65581679344177 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:34:17.181378
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_43_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_34_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_24_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_14_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/15/33/image_12072025_15_34_04_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_54_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_43_9623.jpg', '/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_34_9613.jpg', '/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_24_10621.jpg', '/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_14_9671.jpg', '/home/nano/Desktop/images/12072025/15/33/image_12072025_15_34_04_9657.jpg', '/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_54_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_43_9623.jpg
/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_34_9613.jpg
/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_24_10621.jpg
/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_14_9671.jpg
/home/nano/Desktop/images/12072025/15/33/image_12072025_15_34_04_9657.jpg
/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_54_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894899","1371894906","1371894908","1371894910","1371894904","1371894913"],"photo_ids_order":["1371894899","1371894904","1371894906","1371894908","1371894910","1371894913"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5eb14d3a3dfb891ba852c2172bff9133.jpg","text":"TemporaryFile(/tmp/multipartBody1952423954219337107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327319051,"filename":"image_12072025_15_34_43_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ca4ab4d6f6f6fafeed45015bef295c5.jpg","text":"TemporaryFile(/tmp/multipartBody6479225218433788869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327319051,"filename":"image_12072025_15_34_24_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e724872a4b20434878547f10a7657b3f.jpg","text":"TemporaryFile(/tmp/multipartBody5788738518232420201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327319051,"filename":"image_12072025_15_34_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1659688d408f9881ba268e3350f1329f.jpg","text":"TemporaryFile(/tmp/multipartBody696083848165421337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327319051,"filename":"image_12072025_15_34_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da25b7d04eecabe5678dfcc77ff3f7cf.jpg","text":"TemporaryFile(/tmp/multipartBody5144181441753730331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327319051,"filename":"image_12072025_15_34_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd97d051354294faeea36279a53fd17e.jpg","text":"TemporaryFile(/tmp/multipartBody8649754947416646314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327319051,"filename":"image_12072025_15_33_54_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894906","file1":"1371894904","file0":"1371894899","file4":"1371894910","file5":"1371894913","file3":"1371894908"},"map_files_photo_id_array":[{"photo_id":"1371894913","filename":"file5"},{"photo_id":"1371894906","filename":"file2"},{"photo_id":"1371894910","filename":"file4"},{"photo_id":"1371894904","filename":"file1"},{"photo_id":"1371894899","filename":"file0"},{"photo_id":"1371894908","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894899":["hashtag1","hashtag2"]},{"1371894906":["hashtag1","hashtag2"]},{"1371894908":["hashtag1","hashtag2"]},{"1371894910":["hashtag1","hashtag2"]},{"1371894904":["hashtag1","hashtag2"]},{"1371894913":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894899, 1371894906, 1371894908, 1371894910, 1371894904, 1371894913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.956799030303955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:35:02.968191
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_44_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_34_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_23_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_14_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/15/32/image_12072025_15_33_04_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_53_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_44_9622.jpg', '/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_34_10633.jpg', '/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_23_9623.jpg', '/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_14_9644.jpg', '/home/nano/Desktop/images/12072025/15/32/image_12072025_15_33_04_10664.jpg', '/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_53_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_44_9622.jpg
/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_34_10633.jpg
/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_23_9623.jpg
/home/nano/Desktop/images/12072025/15/33/image_12072025_15_33_14_9644.jpg
/home/nano/Desktop/images/12072025/15/32/image_12072025_15_33_04_10664.jpg
/home/nano/Desktop/images/12072025/15/32/image_12072025_15_32_53_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894930","1371894924","1371894926","1371894934","1371894928","1371894922"],"photo_ids_order":["1371894922","1371894924","1371894926","1371894928","1371894930","1371894934"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/750ba9ecb509d11e9c8b664b36e8ba01.jpg","text":"TemporaryFile(/tmp/multipartBody2608710857876471678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327364723,"filename":"image_12072025_15_33_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fef8b26b4697778a6c7a46fbcfae20c8.jpg","text":"TemporaryFile(/tmp/multipartBody3621580765475249809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327364723,"filename":"image_12072025_15_33_34_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9070896c50a4f6cb37cc2946128f1f9.jpg","text":"TemporaryFile(/tmp/multipartBody7450596429081210917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327364723,"filename":"image_12072025_15_33_23_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b539f8ae9a649de6de80e18c25195c8d.jpg","text":"TemporaryFile(/tmp/multipartBody3651950261207553667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327364723,"filename":"image_12072025_15_32_53_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c3f1d49e359f7020b92c8ecbceb1e0cb.jpg","text":"TemporaryFile(/tmp/multipartBody6565677414585753599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327364723,"filename":"image_12072025_15_33_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ffc5aa17e269fc67f00709e0e2298074.jpg","text":"TemporaryFile(/tmp/multipartBody7977188134866368554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327364723,"filename":"image_12072025_15_33_44_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894926","file1":"1371894924","file0":"1371894922","file4":"1371894930","file5":"1371894934","file3":"1371894928"},"map_files_photo_id_array":[{"photo_id":"1371894934","filename":"file5"},{"photo_id":"1371894926","filename":"file2"},{"photo_id":"1371894930","filename":"file4"},{"photo_id":"1371894924","filename":"file1"},{"photo_id":"1371894922","filename":"file0"},{"photo_id":"1371894928","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894930":["hashtag1","hashtag2"]},{"1371894924":["hashtag1","hashtag2"]},{"1371894926":["hashtag1","hashtag2"]},{"1371894934":["hashtag1","hashtag2"]},{"1371894928":["hashtag1","hashtag2"]},{"1371894922":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894930, 1371894924, 1371894926, 1371894934, 1371894928, 1371894922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.071136713027954 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:35:47.285109
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/35/image_12072025_15_35_44_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/15/35/image_12072025_15_35_24_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/15/35/image_12072025_15_35_13_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/15/34/image_12072025_15_35_04_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/35/image_12072025_15_35_44_10630.jpg', '/home/nano/Desktop/images/12072025/15/35/image_12072025_15_35_24_10638.jpg', '/home/nano/Desktop/images/12072025/15/35/image_12072025_15_35_13_9648.jpg', '/home/nano/Desktop/images/12072025/15/34/image_12072025_15_35_04_9623.jpg', '/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/35/image_12072025_15_35_44_10630.jpg
/home/nano/Desktop/images/12072025/15/35/image_12072025_15_35_24_10638.jpg
/home/nano/Desktop/images/12072025/15/35/image_12072025_15_35_13_9648.jpg
/home/nano/Desktop/images/12072025/15/34/image_12072025_15_35_04_9623.jpg
/home/nano/Desktop/images/12072025/15/34/image_12072025_15_34_54_10654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894945","1371894948","1371894941","1371894949","1371894943"],"photo_ids_order":["1371894941","1371894943","1371894945","1371894948","1371894949"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f244ffa0a0ad41ad0fd4dc00b872cd07.jpg","text":"TemporaryFile(/tmp/multipartBody7164010148002918207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327409209,"filename":"image_12072025_15_35_13_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18f4081579bc7b01641729c60d78bb37.jpg","text":"TemporaryFile(/tmp/multipartBody6571927478293352143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327409209,"filename":"image_12072025_15_35_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c65b523cb1abbaa883248f97f585308e.jpg","text":"TemporaryFile(/tmp/multipartBody8783290795454869507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327409209,"filename":"image_12072025_15_35_44_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22f3ec92f276076753924e908a6e720d.jpg","text":"TemporaryFile(/tmp/multipartBody7534860371686747143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327409209,"filename":"image_12072025_15_34_54_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09a1549efb71d44cdf31cd6dad253d6e.jpg","text":"TemporaryFile(/tmp/multipartBody4859418985368746778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327409209,"filename":"image_12072025_15_35_24_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894945","file1":"1371894943","file0":"1371894941","file4":"1371894949","file3":"1371894948"},"map_files_photo_id_array":[{"photo_id":"1371894945","filename":"file2"},{"photo_id":"1371894949","filename":"file4"},{"photo_id":"1371894943","filename":"file1"},{"photo_id":"1371894941","filename":"file0"},{"photo_id":"1371894948","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894945":["hashtag1","hashtag2"]},{"1371894948":["hashtag1","hashtag2"]},{"1371894941":["hashtag1","hashtag2"]},{"1371894949":["hashtag1","hashtag2"]},{"1371894943":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894945, 1371894948, 1371894941, 1371894949, 1371894943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.03676676750183 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:36:17.446688
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_44_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_33_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_24_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_14_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/15/35/image_12072025_15_36_04_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/15/35/image_12072025_15_35_54_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_44_10650.jpg', '/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_33_9618.jpg', '/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_24_9629.jpg', '/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_14_10652.jpg', '/home/nano/Desktop/images/12072025/15/35/image_12072025_15_36_04_9622.jpg', '/home/nano/Desktop/images/12072025/15/35/image_12072025_15_35_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_44_10650.jpg
/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_33_9618.jpg
/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_24_9629.jpg
/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_14_10652.jpg
/home/nano/Desktop/images/12072025/15/35/image_12072025_15_36_04_9622.jpg
/home/nano/Desktop/images/12072025/15/35/image_12072025_15_35_54_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894957","1371894956","1371894953","1371894952","1371894955","1371894958"],"photo_ids_order":["1371894952","1371894953","1371894955","1371894956","1371894957","1371894958"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b155508949f5cd225a88082fbda3df1.jpg","text":"TemporaryFile(/tmp/multipartBody3412002503452102279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327439545,"filename":"image_12072025_15_36_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aeccd87682a866a325b9811025ce1185.jpg","text":"TemporaryFile(/tmp/multipartBody2094391687642301648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327439545,"filename":"image_12072025_15_36_14_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/602ef879d752486c163befcce67799fe.jpg","text":"TemporaryFile(/tmp/multipartBody5827928339097159791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327439545,"filename":"image_12072025_15_36_33_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f74488f4c555da96c0009135802fe2e.jpg","text":"TemporaryFile(/tmp/multipartBody4005737787475038269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327439545,"filename":"image_12072025_15_36_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9467446e9304c9d3768c7e6cd367509.jpg","text":"TemporaryFile(/tmp/multipartBody6384276573559144867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327439545,"filename":"image_12072025_15_36_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39ee5169bd92a87fd76ae58ac18df9be.jpg","text":"TemporaryFile(/tmp/multipartBody2538001919227986802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327439545,"filename":"image_12072025_15_35_54_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894955","file1":"1371894953","file0":"1371894952","file4":"1371894957","file5":"1371894958","file3":"1371894956"},"map_files_photo_id_array":[{"photo_id":"1371894958","filename":"file5"},{"photo_id":"1371894955","filename":"file2"},{"photo_id":"1371894957","filename":"file4"},{"photo_id":"1371894953","filename":"file1"},{"photo_id":"1371894952","filename":"file0"},{"photo_id":"1371894956","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894957":["hashtag1","hashtag2"]},{"1371894956":["hashtag1","hashtag2"]},{"1371894953":["hashtag1","hashtag2"]},{"1371894952":["hashtag1","hashtag2"]},{"1371894955":["hashtag1","hashtag2"]},{"1371894958":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894957, 1371894956, 1371894953, 1371894952, 1371894955, 1371894958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.92496681213379 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:37:03.254854
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/31/image_10072025_17_32_03_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/17/31/image_10072025_17_31_53_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/17/31/image_10072025_17_31_24_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/31/image_10072025_17_31_14_10652.jpg', 2), ('/home/nano/Desktop/images/10072025/17/30/image_10072025_17_31_03_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/30/image_10072025_17_30_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/31/image_10072025_17_32_03_9638.jpg', '/home/nano/Desktop/images/10072025/17/31/image_10072025_17_31_53_9630.jpg', '/home/nano/Desktop/images/10072025/17/31/image_10072025_17_31_24_9644.jpg', '/home/nano/Desktop/images/10072025/17/31/image_10072025_17_31_14_10652.jpg', '/home/nano/Desktop/images/10072025/17/30/image_10072025_17_31_03_9644.jpg', '/home/nano/Desktop/images/10072025/17/30/image_10072025_17_30_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/31/image_10072025_17_32_03_9638.jpg
/home/nano/Desktop/images/10072025/17/31/image_10072025_17_31_53_9630.jpg
/home/nano/Desktop/images/10072025/17/31/image_10072025_17_31_24_9644.jpg
/home/nano/Desktop/images/10072025/17/31/image_10072025_17_31_14_10652.jpg
/home/nano/Desktop/images/10072025/17/30/image_10072025_17_31_03_9644.jpg
/home/nano/Desktop/images/10072025/17/30/image_10072025_17_30_54_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894972","1371894966","1371894969","1371894968","1371894965","1371894970"],"photo_ids_order":["1371894965","1371894966","1371894968","1371894969","1371894970","1371894972"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1981f3a9d5debd0d1da7122f99a7a6f1.jpg","text":"TemporaryFile(/tmp/multipartBody6133565269023863113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327486663,"filename":"image_10072025_17_30_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd95e3e829a6c46173a3fe7d700dd5e6.jpg","text":"TemporaryFile(/tmp/multipartBody9217315977235205724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327486663,"filename":"image_10072025_17_31_53_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/442b2884bb02ae1587f8f13883386dc6.jpg","text":"TemporaryFile(/tmp/multipartBody8465412239652047103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327486663,"filename":"image_10072025_17_31_14_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ab29c646703a3ec9b8ec60d2e521cb7.jpg","text":"TemporaryFile(/tmp/multipartBody4975349404260495689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327486663,"filename":"image_10072025_17_31_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc1e2d4164a31b050650837b59b28759.jpg","text":"TemporaryFile(/tmp/multipartBody7219766279125458871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327486663,"filename":"image_10072025_17_32_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ecabb9e8519255b92212ad1a1d6c36a.jpg","text":"TemporaryFile(/tmp/multipartBody7160347445304891804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327486663,"filename":"image_10072025_17_31_03_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894968","file1":"1371894966","file0":"1371894965","file4":"1371894970","file5":"1371894972","file3":"1371894969"},"map_files_photo_id_array":[{"photo_id":"1371894972","filename":"file5"},{"photo_id":"1371894968","filename":"file2"},{"photo_id":"1371894970","filename":"file4"},{"photo_id":"1371894966","filename":"file1"},{"photo_id":"1371894965","filename":"file0"},{"photo_id":"1371894969","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371894972":["hashtag1","hashtag2"]},{"1371894966":["hashtag1","hashtag2"]},{"1371894969":["hashtag1","hashtag2"]},{"1371894968":["hashtag1","hashtag2"]},{"1371894965":["hashtag1","hashtag2"]},{"1371894970":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371894972, 1371894966, 1371894969, 1371894968, 1371894965, 1371894970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34064221382141 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:37:47.559187
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_44_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_33_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_24_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_14_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/15/36/image_12072025_15_37_03_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_54_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_44_10637.jpg', '/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_33_9632.jpg', '/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_24_9627.jpg', '/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_14_10661.jpg', '/home/nano/Desktop/images/12072025/15/36/image_12072025_15_37_03_9648.jpg', '/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_44_10637.jpg
/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_33_9632.jpg
/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_24_9627.jpg
/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_14_10661.jpg
/home/nano/Desktop/images/12072025/15/36/image_12072025_15_37_03_9648.jpg
/home/nano/Desktop/images/12072025/15/36/image_12072025_15_36_54_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894990","1371894978","1371894986","1371894983","1371894988","1371894981"],"photo_ids_order":["1371894978","1371894981","1371894983","1371894986","1371894988","1371894990"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c73bd17c4d15f0ed415f5c474cab3db.jpg","text":"TemporaryFile(/tmp/multipartBody5539139421754149890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327529271,"filename":"image_12072025_15_36_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/247b04c08d20429d8b40b8a905e04cd4.jpg","text":"TemporaryFile(/tmp/multipartBody1637503115194882447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327529271,"filename":"image_12072025_15_37_44_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d836d4fc826da3d14f993f66c4ac07b.jpg","text":"TemporaryFile(/tmp/multipartBody6376022141520158709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327529271,"filename":"image_12072025_15_37_14_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cda84cc4adb1ee512ee8ae5643f6e451.jpg","text":"TemporaryFile(/tmp/multipartBody6147564450884771384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327529271,"filename":"image_12072025_15_37_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0265ba8cb55f487d0648e1d337679eaa.jpg","text":"TemporaryFile(/tmp/multipartBody6066334773012210501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327529271,"filename":"image_12072025_15_37_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07adbc1a14602fe2cdc8c5197a750e41.jpg","text":"TemporaryFile(/tmp/multipartBody5473380144256318700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327529271,"filename":"image_12072025_15_37_33_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894983","file1":"1371894981","file0":"1371894978","file4":"1371894988","file5":"1371894990","file3":"1371894986"},"map_files_photo_id_array":[{"photo_id":"1371894990","filename":"file5"},{"photo_id":"1371894983","filename":"file2"},{"photo_id":"1371894988","filename":"file4"},{"photo_id":"1371894981","filename":"file1"},{"photo_id":"1371894978","filename":"file0"},{"photo_id":"1371894986","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894990":["hashtag1","hashtag2"]},{"1371894978":["hashtag1","hashtag2"]},{"1371894986":["hashtag1","hashtag2"]},{"1371894983":["hashtag1","hashtag2"]},{"1371894988":["hashtag1","hashtag2"]},{"1371894981":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894990, 1371894978, 1371894986, 1371894983, 1371894988, 1371894981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.825478076934814 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:38:32.667994
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_44_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_34_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_24_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_14_9676.jpg', 2), ('/home/nano/Desktop/images/12072025/15/37/image_12072025_15_38_04_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_44_9624.jpg', '/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_34_10640.jpg', '/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_24_9623.jpg', '/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_14_9676.jpg', '/home/nano/Desktop/images/12072025/15/37/image_12072025_15_38_04_10653.jpg', '/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_44_9624.jpg
/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_34_10640.jpg
/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_24_9623.jpg
/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_14_9676.jpg
/home/nano/Desktop/images/12072025/15/37/image_12072025_15_38_04_10653.jpg
/home/nano/Desktop/images/12072025/15/37/image_12072025_15_37_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371894999","1371895002","1371894995","1371895004","1371894997","1371895006"],"photo_ids_order":["1371894995","1371894997","1371894999","1371895002","1371895004","1371895006"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a5a4015d45569b4f452b56bc71e4b7e.jpg","text":"TemporaryFile(/tmp/multipartBody6584093629649518269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327574653,"filename":"image_12072025_15_38_24_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6336a211642da304a57cf6220ea621a.jpg","text":"TemporaryFile(/tmp/multipartBody2714043836191308308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327574653,"filename":"image_12072025_15_38_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ebff6c03d013b5a241e77d711ba12528.jpg","text":"TemporaryFile(/tmp/multipartBody1615352242205263768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327574653,"filename":"image_12072025_15_38_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24d202e0f72b850d33ad63d28a92c046.jpg","text":"TemporaryFile(/tmp/multipartBody6809765716562949095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327574653,"filename":"image_12072025_15_38_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5fa0d3faff7571cd7915cfe2a587433.jpg","text":"TemporaryFile(/tmp/multipartBody1797340399983546149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327574653,"filename":"image_12072025_15_38_34_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5738650dc072e845dba6c87bdc0f35b4.jpg","text":"TemporaryFile(/tmp/multipartBody6539861230590490400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327574653,"filename":"image_12072025_15_37_54_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371894999","file1":"1371894997","file0":"1371894995","file4":"1371895004","file5":"1371895006","file3":"1371895002"},"map_files_photo_id_array":[{"photo_id":"1371895006","filename":"file5"},{"photo_id":"1371894999","filename":"file2"},{"photo_id":"1371895004","filename":"file4"},{"photo_id":"1371894997","filename":"file1"},{"photo_id":"1371894995","filename":"file0"},{"photo_id":"1371895002","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371894999":["hashtag1","hashtag2"]},{"1371895002":["hashtag1","hashtag2"]},{"1371894995":["hashtag1","hashtag2"]},{"1371895004":["hashtag1","hashtag2"]},{"1371894997":["hashtag1","hashtag2"]},{"1371895006":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371894999, 1371895002, 1371894995, 1371895004, 1371894997, 1371895006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.261032819747925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:39:17.767441
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_44_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_34_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_23_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_14_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/15/38/image_12072025_15_39_04_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_53_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_44_9614.jpg', '/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_34_10633.jpg', '/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_23_9627.jpg', '/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_14_9633.jpg', '/home/nano/Desktop/images/12072025/15/38/image_12072025_15_39_04_10634.jpg', '/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_53_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_44_9614.jpg
/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_34_10633.jpg
/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_23_9627.jpg
/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_14_9633.jpg
/home/nano/Desktop/images/12072025/15/38/image_12072025_15_39_04_10634.jpg
/home/nano/Desktop/images/12072025/15/38/image_12072025_15_38_53_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895014","1371895017","1371895019","1371895013","1371895016","1371895018"],"photo_ids_order":["1371895013","1371895014","1371895016","1371895017","1371895018","1371895019"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e811cb24799908e1edf0625102fa3bca.jpg","text":"TemporaryFile(/tmp/multipartBody8563165408556067307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327619548,"filename":"image_12072025_15_39_34_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8f00d318d1444f8da377e7264bf7c47.jpg","text":"TemporaryFile(/tmp/multipartBody5492577058206869746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327619548,"filename":"image_12072025_15_39_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c29a96eb31035a6daffdfe32ecc6128.jpg","text":"TemporaryFile(/tmp/multipartBody3893110930302132817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327619548,"filename":"image_12072025_15_38_53_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b05dbdae9334032f4d1300f63d786666.jpg","text":"TemporaryFile(/tmp/multipartBody1225553458765079699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327619548,"filename":"image_12072025_15_39_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/497b3bfb3a27f558fa50fb27ba29c60a.jpg","text":"TemporaryFile(/tmp/multipartBody2535964229843407741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327619548,"filename":"image_12072025_15_39_23_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19e953a2ccd37be4cd5a41a10827f950.jpg","text":"TemporaryFile(/tmp/multipartBody3103534584236605731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327619548,"filename":"image_12072025_15_39_04_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895016","file1":"1371895014","file0":"1371895013","file4":"1371895018","file5":"1371895019","file3":"1371895017"},"map_files_photo_id_array":[{"photo_id":"1371895019","filename":"file5"},{"photo_id":"1371895016","filename":"file2"},{"photo_id":"1371895018","filename":"file4"},{"photo_id":"1371895014","filename":"file1"},{"photo_id":"1371895013","filename":"file0"},{"photo_id":"1371895017","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895014":["hashtag1","hashtag2"]},{"1371895017":["hashtag1","hashtag2"]},{"1371895019":["hashtag1","hashtag2"]},{"1371895013":["hashtag1","hashtag2"]},{"1371895016":["hashtag1","hashtag2"]},{"1371895018":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895014, 1371895017, 1371895019, 1371895013, 1371895016, 1371895018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04647183418274 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:40:02.312004
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/30/image_10072025_17_30_44_10635.jpg', 2), ('/home/nano/Desktop/images/10072025/17/30/image_10072025_17_30_24_10652.jpg', 2), ('/home/nano/Desktop/images/10072025/17/29/image_10072025_17_30_03_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/17/29/image_10072025_17_29_54_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/17/29/image_10072025_17_29_34_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/29/image_10072025_17_29_24_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/30/image_10072025_17_30_44_10635.jpg', '/home/nano/Desktop/images/10072025/17/30/image_10072025_17_30_24_10652.jpg', '/home/nano/Desktop/images/10072025/17/29/image_10072025_17_30_03_9628.jpg', '/home/nano/Desktop/images/10072025/17/29/image_10072025_17_29_54_10638.jpg', '/home/nano/Desktop/images/10072025/17/29/image_10072025_17_29_34_9633.jpg', '/home/nano/Desktop/images/10072025/17/29/image_10072025_17_29_24_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/30/image_10072025_17_30_44_10635.jpg
/home/nano/Desktop/images/10072025/17/30/image_10072025_17_30_24_10652.jpg
/home/nano/Desktop/images/10072025/17/29/image_10072025_17_30_03_9628.jpg
/home/nano/Desktop/images/10072025/17/29/image_10072025_17_29_54_10638.jpg
/home/nano/Desktop/images/10072025/17/29/image_10072025_17_29_34_9633.jpg
/home/nano/Desktop/images/10072025/17/29/image_10072025_17_29_24_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895032","1371895035","1371895040","1371895037","1371895030","1371895038"],"photo_ids_order":["1371895030","1371895032","1371895035","1371895037","1371895038","1371895040"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/134445a01ad0cf8ff4c6d693ff5bc61f.jpg","text":"TemporaryFile(/tmp/multipartBody1119813999288230560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327665768,"filename":"image_10072025_17_30_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90186e2cdae6c5d323a3b84943abff49.jpg","text":"TemporaryFile(/tmp/multipartBody5338768590406937691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327665768,"filename":"image_10072025_17_30_03_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c670d06f2a95ae27b5c88961fa53bdb.jpg","text":"TemporaryFile(/tmp/multipartBody5394886547314589446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327665768,"filename":"image_10072025_17_29_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d3aa1a952b633f80411b5fec42ca4c2.jpg","text":"TemporaryFile(/tmp/multipartBody1734102779130487515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327665768,"filename":"image_10072025_17_29_54_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9380ea42f7c41d49f83236ab7287bb3.jpg","text":"TemporaryFile(/tmp/multipartBody9220629968439673546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327665768,"filename":"image_10072025_17_30_44_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9625cd181663f7ec82a12f95039ac676.jpg","text":"TemporaryFile(/tmp/multipartBody5406420658577068070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327665768,"filename":"image_10072025_17_29_34_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895035","file1":"1371895032","file0":"1371895030","file4":"1371895038","file5":"1371895040","file3":"1371895037"},"map_files_photo_id_array":[{"photo_id":"1371895040","filename":"file5"},{"photo_id":"1371895035","filename":"file2"},{"photo_id":"1371895038","filename":"file4"},{"photo_id":"1371895032","filename":"file1"},{"photo_id":"1371895030","filename":"file0"},{"photo_id":"1371895037","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371895032":["hashtag1","hashtag2"]},{"1371895035":["hashtag1","hashtag2"]},{"1371895040":["hashtag1","hashtag2"]},{"1371895037":["hashtag1","hashtag2"]},{"1371895030":["hashtag1","hashtag2"]},{"1371895038":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371895032, 1371895035, 1371895040, 1371895037, 1371895030, 1371895038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31487464904785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:40:46.859613
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_43_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_34_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_24_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_14_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/15/39/image_12072025_15_40_04_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_54_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_43_9626.jpg', '/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_34_9654.jpg', '/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_24_10640.jpg', '/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_14_9645.jpg', '/home/nano/Desktop/images/12072025/15/39/image_12072025_15_40_04_9656.jpg', '/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_54_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_43_9626.jpg
/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_34_9654.jpg
/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_24_10640.jpg
/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_14_9645.jpg
/home/nano/Desktop/images/12072025/15/39/image_12072025_15_40_04_9656.jpg
/home/nano/Desktop/images/12072025/15/39/image_12072025_15_39_54_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895047","1371895052","1371895045","1371895060","1371895057","1371895050"],"photo_ids_order":["1371895045","1371895047","1371895050","1371895052","1371895057","1371895060"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8d2fb0b4fa6d5a529d2057ac7d31a35.jpg","text":"TemporaryFile(/tmp/multipartBody890924400264947258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327708606,"filename":"image_12072025_15_40_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/777a63f6eefc51479b44b1f833d2dba2.jpg","text":"TemporaryFile(/tmp/multipartBody892585716397355092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327708606,"filename":"image_12072025_15_40_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4464e2bfa21593f4b492f9bccf80e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1258114414937518736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327708606,"filename":"image_12072025_15_40_43_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6722b09fc51ddb96487477afbb41a4ad.jpg","text":"TemporaryFile(/tmp/multipartBody1624195284929378600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327708606,"filename":"image_12072025_15_39_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba3087c3c28b38f24a0154e13a4cba1c.jpg","text":"TemporaryFile(/tmp/multipartBody5150385627529860021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327708606,"filename":"image_12072025_15_40_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4209343ad8bdd875433a6017c7975048.jpg","text":"TemporaryFile(/tmp/multipartBody3933617097038405976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327708606,"filename":"image_12072025_15_40_24_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895050","file1":"1371895047","file0":"1371895045","file4":"1371895057","file5":"1371895060","file3":"1371895052"},"map_files_photo_id_array":[{"photo_id":"1371895060","filename":"file5"},{"photo_id":"1371895050","filename":"file2"},{"photo_id":"1371895057","filename":"file4"},{"photo_id":"1371895047","filename":"file1"},{"photo_id":"1371895045","filename":"file0"},{"photo_id":"1371895052","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895047":["hashtag1","hashtag2"]},{"1371895052":["hashtag1","hashtag2"]},{"1371895045":["hashtag1","hashtag2"]},{"1371895060":["hashtag1","hashtag2"]},{"1371895057":["hashtag1","hashtag2"]},{"1371895050":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895047, 1371895052, 1371895045, 1371895060, 1371895057, 1371895050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.479479789733887 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:41:31.965283
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_43_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_34_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_24_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_13_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/15/40/image_12072025_15_41_04_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_54_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_43_9634.jpg', '/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_34_9629.jpg', '/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_24_10632.jpg', '/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_13_9647.jpg', '/home/nano/Desktop/images/12072025/15/40/image_12072025_15_41_04_9667.jpg', '/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_54_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_43_9634.jpg
/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_34_9629.jpg
/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_24_10632.jpg
/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_13_9647.jpg
/home/nano/Desktop/images/12072025/15/40/image_12072025_15_41_04_9667.jpg
/home/nano/Desktop/images/12072025/15/40/image_12072025_15_40_54_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895067","1371895075","1371895069","1371895074","1371895071","1371895065"],"photo_ids_order":["1371895065","1371895067","1371895069","1371895071","1371895074","1371895075"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ff02ad9a46625e84aa1ab5f476ad484.jpg","text":"TemporaryFile(/tmp/multipartBody1977918590638126176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327753912,"filename":"image_12072025_15_41_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e28a659bb8ee3ca0f1f480d5d05839c.jpg","text":"TemporaryFile(/tmp/multipartBody664268399633963559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327753912,"filename":"image_12072025_15_40_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/500b26e4a8a407fbb83915ce80c88a46.jpg","text":"TemporaryFile(/tmp/multipartBody7166813630119461902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327753912,"filename":"image_12072025_15_41_24_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e82abf34e37a24adaa2e38a14112bbf.jpg","text":"TemporaryFile(/tmp/multipartBody5315112346000574436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327753912,"filename":"image_12072025_15_41_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a19540eccab8b50cf1cfc4a0201b4f95.jpg","text":"TemporaryFile(/tmp/multipartBody604064817368873991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327753912,"filename":"image_12072025_15_41_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7dd23a33d1ce2660d16c6caa1e7a81a1.jpg","text":"TemporaryFile(/tmp/multipartBody5177017218612482696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327753912,"filename":"image_12072025_15_41_43_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895069","file1":"1371895067","file0":"1371895065","file4":"1371895074","file5":"1371895075","file3":"1371895071"},"map_files_photo_id_array":[{"photo_id":"1371895075","filename":"file5"},{"photo_id":"1371895069","filename":"file2"},{"photo_id":"1371895074","filename":"file4"},{"photo_id":"1371895067","filename":"file1"},{"photo_id":"1371895065","filename":"file0"},{"photo_id":"1371895071","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895067":["hashtag1","hashtag2"]},{"1371895075":["hashtag1","hashtag2"]},{"1371895069":["hashtag1","hashtag2"]},{"1371895074":["hashtag1","hashtag2"]},{"1371895071":["hashtag1","hashtag2"]},{"1371895065":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895067, 1371895075, 1371895069, 1371895074, 1371895071, 1371895065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.585196495056152 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:42:17.048602
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_44_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_33_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_24_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/15/41/image_12072025_15_42_04_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_54_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_44_10640.jpg', '/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_33_9619.jpg', '/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_24_9621.jpg', '/home/nano/Desktop/images/12072025/15/41/image_12072025_15_42_04_9623.jpg', '/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_54_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_44_10640.jpg
/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_33_9619.jpg
/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_24_9621.jpg
/home/nano/Desktop/images/12072025/15/41/image_12072025_15_42_04_9623.jpg
/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_54_10634.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7240002155303955 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:42:32.063872
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_44_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_33_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_24_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/15/41/image_12072025_15_42_04_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_54_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_44_10640.jpg', '/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_33_9619.jpg', '/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_24_9621.jpg', '/home/nano/Desktop/images/12072025/15/41/image_12072025_15_42_04_9623.jpg', '/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_54_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_44_10640.jpg
/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_33_9619.jpg
/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_24_9621.jpg
/home/nano/Desktop/images/12072025/15/41/image_12072025_15_42_04_9623.jpg
/home/nano/Desktop/images/12072025/15/41/image_12072025_15_41_54_10634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895088","1371895090","1371895084","1371895092","1371895086"],"photo_ids_order":["1371895084","1371895086","1371895088","1371895090","1371895092"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c861ed19e62e39ab1d9a37600e34669.jpg","text":"TemporaryFile(/tmp/multipartBody7194271729370259635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327813380,"filename":"image_12072025_15_42_24_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a4c68676748b9c4521e1f7a2c5cab58.jpg","text":"TemporaryFile(/tmp/multipartBody5087723030020844168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327813380,"filename":"image_12072025_15_42_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0e3b5ca794d84265bcac4077ec978bd.jpg","text":"TemporaryFile(/tmp/multipartBody7812835939265437887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327813380,"filename":"image_12072025_15_42_44_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f13b33135405d3118ad452dbd935c781.jpg","text":"TemporaryFile(/tmp/multipartBody5249450174537643138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327813380,"filename":"image_12072025_15_41_54_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a84ea911cc133516929607cb494efb4.jpg","text":"TemporaryFile(/tmp/multipartBody5275329043059501213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327813380,"filename":"image_12072025_15_42_33_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895088","file1":"1371895086","file0":"1371895084","file4":"1371895092","file3":"1371895090"},"map_files_photo_id_array":[{"photo_id":"1371895088","filename":"file2"},{"photo_id":"1371895092","filename":"file4"},{"photo_id":"1371895086","filename":"file1"},{"photo_id":"1371895084","filename":"file0"},{"photo_id":"1371895090","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895088":["hashtag1","hashtag2"]},{"1371895090":["hashtag1","hashtag2"]},{"1371895084":["hashtag1","hashtag2"]},{"1371895092":["hashtag1","hashtag2"]},{"1371895086":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895088, 1371895090, 1371895084, 1371895092, 1371895086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.44022250175476 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:43:02.762688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/29/image_10072025_17_29_13_9668.jpg', 2), ('/home/nano/Desktop/images/10072025/17/28/image_10072025_17_29_04_9658.jpg', 2), ('/home/nano/Desktop/images/10072025/17/28/image_10072025_17_28_54_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/17/28/image_10072025_17_28_34_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/17/28/image_10072025_17_28_24_10634.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_28_04_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/29/image_10072025_17_29_13_9668.jpg', '/home/nano/Desktop/images/10072025/17/28/image_10072025_17_29_04_9658.jpg', '/home/nano/Desktop/images/10072025/17/28/image_10072025_17_28_54_10636.jpg', '/home/nano/Desktop/images/10072025/17/28/image_10072025_17_28_34_9625.jpg', '/home/nano/Desktop/images/10072025/17/28/image_10072025_17_28_24_10634.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_28_04_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/29/image_10072025_17_29_13_9668.jpg
/home/nano/Desktop/images/10072025/17/28/image_10072025_17_29_04_9658.jpg
/home/nano/Desktop/images/10072025/17/28/image_10072025_17_28_54_10636.jpg
/home/nano/Desktop/images/10072025/17/28/image_10072025_17_28_34_9625.jpg
/home/nano/Desktop/images/10072025/17/28/image_10072025_17_28_24_10634.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_28_04_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895097","1371895094","1371895103","1371895100","1371895099","1371895095"],"photo_ids_order":["1371895094","1371895095","1371895097","1371895099","1371895100","1371895103"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a7dec9d58b5dd5803af583507626ff1.jpg","text":"TemporaryFile(/tmp/multipartBody2433071251691808554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327846210,"filename":"image_10072025_17_28_54_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3330b38738c61dab9af8d8eec6d1ab97.jpg","text":"TemporaryFile(/tmp/multipartBody1816351826550288433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327846210,"filename":"image_10072025_17_29_13_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eeb487c8609e9d67263ef1a93b3768ed.jpg","text":"TemporaryFile(/tmp/multipartBody5292673879302194554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327846210,"filename":"image_10072025_17_28_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98e81c78ee8b5ced72a0e304b012d0f5.jpg","text":"TemporaryFile(/tmp/multipartBody8260848738020397633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327846210,"filename":"image_10072025_17_28_24_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b14b35800c162ef3de30bf41aaefaad.jpg","text":"TemporaryFile(/tmp/multipartBody1262333425486090944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327846210,"filename":"image_10072025_17_28_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6cd2b614d17b877a5447900a9aa68a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2120062416223267710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327846210,"filename":"image_10072025_17_29_04_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895097","file1":"1371895095","file0":"1371895094","file4":"1371895100","file5":"1371895103","file3":"1371895099"},"map_files_photo_id_array":[{"photo_id":"1371895103","filename":"file5"},{"photo_id":"1371895097","filename":"file2"},{"photo_id":"1371895100","filename":"file4"},{"photo_id":"1371895095","filename":"file1"},{"photo_id":"1371895094","filename":"file0"},{"photo_id":"1371895099","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371895097":["hashtag1","hashtag2"]},{"1371895094":["hashtag1","hashtag2"]},{"1371895103":["hashtag1","hashtag2"]},{"1371895100":["hashtag1","hashtag2"]},{"1371895099":["hashtag1","hashtag2"]},{"1371895095":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371895097, 1371895094, 1371895103, 1371895100, 1371895099, 1371895095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.5000536441803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:43:47.155574
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_44_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_34_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_24_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_14_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/15/42/image_12072025_15_43_03_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_44_9626.jpg', '/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_34_10646.jpg', '/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_24_9632.jpg', '/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_14_10650.jpg', '/home/nano/Desktop/images/12072025/15/42/image_12072025_15_43_03_9631.jpg', '/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_44_9626.jpg
/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_34_10646.jpg
/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_24_9632.jpg
/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_14_10650.jpg
/home/nano/Desktop/images/12072025/15/42/image_12072025_15_43_03_9631.jpg
/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_54_9634.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6620793342590332 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:44:03.038618
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_44_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_34_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_24_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_14_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/15/42/image_12072025_15_43_03_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_44_9626.jpg', '/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_34_10646.jpg', '/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_24_9632.jpg', '/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_14_10650.jpg', '/home/nano/Desktop/images/12072025/15/42/image_12072025_15_43_03_9631.jpg', '/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_44_9626.jpg
/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_34_10646.jpg
/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_24_9632.jpg
/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_14_10650.jpg
/home/nano/Desktop/images/12072025/15/42/image_12072025_15_43_03_9631.jpg
/home/nano/Desktop/images/12072025/15/42/image_12072025_15_42_54_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895125","1371895128","1371895127","1371895129","1371895120","1371895123"],"photo_ids_order":["1371895120","1371895123","1371895125","1371895127","1371895128","1371895129"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f3e913ca97d63f43a74acfc8ed63606.jpg","text":"TemporaryFile(/tmp/multipartBody7051001972325815917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327904685,"filename":"image_12072025_15_43_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f6daf16e94b5d21f6eaaa5ecade6c6a.jpg","text":"TemporaryFile(/tmp/multipartBody4031577891662596938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327904685,"filename":"image_12072025_15_43_03_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74df987242eb89ddbc2445b210daf7b2.jpg","text":"TemporaryFile(/tmp/multipartBody3865367476321295144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327904685,"filename":"image_12072025_15_43_14_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8b2ddddae5b268f1447574d413949b1.jpg","text":"TemporaryFile(/tmp/multipartBody168983338662396367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327904685,"filename":"image_12072025_15_42_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86012147d070ce58bd5e1ba2539ef8e2.jpg","text":"TemporaryFile(/tmp/multipartBody4959529942471775545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327904685,"filename":"image_12072025_15_43_44_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a60cf402fe2547e5a59ea571796d6da.jpg","text":"TemporaryFile(/tmp/multipartBody7006910405587406974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327904685,"filename":"image_12072025_15_43_34_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895125","file1":"1371895123","file0":"1371895120","file4":"1371895128","file5":"1371895129","file3":"1371895127"},"map_files_photo_id_array":[{"photo_id":"1371895129","filename":"file5"},{"photo_id":"1371895125","filename":"file2"},{"photo_id":"1371895128","filename":"file4"},{"photo_id":"1371895123","filename":"file1"},{"photo_id":"1371895120","filename":"file0"},{"photo_id":"1371895127","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895125":["hashtag1","hashtag2"]},{"1371895128":["hashtag1","hashtag2"]},{"1371895127":["hashtag1","hashtag2"]},{"1371895129":["hashtag1","hashtag2"]},{"1371895120":["hashtag1","hashtag2"]},{"1371895123":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895125, 1371895128, 1371895127, 1371895129, 1371895120, 1371895123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.213790893554688 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:44:47.263373
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/44/image_12072025_15_44_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/15/44/image_12072025_15_44_24_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/15/44/image_12072025_15_44_14_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/15/43/image_12072025_15_44_04_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/44/image_12072025_15_44_34_10653.jpg', '/home/nano/Desktop/images/12072025/15/44/image_12072025_15_44_24_9638.jpg', '/home/nano/Desktop/images/12072025/15/44/image_12072025_15_44_14_9655.jpg', '/home/nano/Desktop/images/12072025/15/43/image_12072025_15_44_04_10670.jpg', '/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/44/image_12072025_15_44_34_10653.jpg
/home/nano/Desktop/images/12072025/15/44/image_12072025_15_44_24_9638.jpg
/home/nano/Desktop/images/12072025/15/44/image_12072025_15_44_14_9655.jpg
/home/nano/Desktop/images/12072025/15/43/image_12072025_15_44_04_10670.jpg
/home/nano/Desktop/images/12072025/15/43/image_12072025_15_43_54_9618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895134","1371895133","1371895136","1371895135","1371895137"],"photo_ids_order":["1371895133","1371895134","1371895135","1371895136","1371895137"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e67616eb6999be5f0d8a561b02231593.jpg","text":"TemporaryFile(/tmp/multipartBody3957090680367903056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327948800,"filename":"image_12072025_15_44_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15434403660715046ff48efc6f5c8e39.jpg","text":"TemporaryFile(/tmp/multipartBody3724297980625193668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327948800,"filename":"image_12072025_15_44_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/276c5199415818025a1cd238320acdaf.jpg","text":"TemporaryFile(/tmp/multipartBody6655178905627218291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327948800,"filename":"image_12072025_15_44_04_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21416eb43cc20b22faa5bae0b6198d6e.jpg","text":"TemporaryFile(/tmp/multipartBody6764700347444535905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327948800,"filename":"image_12072025_15_44_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6598d29a7c01856320979c903f0506cd.jpg","text":"TemporaryFile(/tmp/multipartBody2033338451310944284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327948800,"filename":"image_12072025_15_43_54_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895135","file1":"1371895134","file0":"1371895133","file4":"1371895137","file3":"1371895136"},"map_files_photo_id_array":[{"photo_id":"1371895135","filename":"file2"},{"photo_id":"1371895137","filename":"file4"},{"photo_id":"1371895134","filename":"file1"},{"photo_id":"1371895133","filename":"file0"},{"photo_id":"1371895136","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895134":["hashtag1","hashtag2"]},{"1371895133":["hashtag1","hashtag2"]},{"1371895136":["hashtag1","hashtag2"]},{"1371895135":["hashtag1","hashtag2"]},{"1371895137":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895134, 1371895133, 1371895136, 1371895135, 1371895137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.47622513771057 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:45:17.355416
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_44_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_23_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_14_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/15/44/image_12072025_15_45_04_10663.jpg', 2), ('/home/nano/Desktop/images/12072025/15/44/image_12072025_15_44_53_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_44_9627.jpg', '/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_34_10649.jpg', '/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_23_9646.jpg', '/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_14_9669.jpg', '/home/nano/Desktop/images/12072025/15/44/image_12072025_15_45_04_10663.jpg', '/home/nano/Desktop/images/12072025/15/44/image_12072025_15_44_53_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_44_9627.jpg
/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_34_10649.jpg
/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_23_9646.jpg
/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_14_9669.jpg
/home/nano/Desktop/images/12072025/15/44/image_12072025_15_45_04_10663.jpg
/home/nano/Desktop/images/12072025/15/44/image_12072025_15_44_53_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895149","1371895145","1371895150","1371895147","1371895141","1371895143"],"photo_ids_order":["1371895141","1371895143","1371895145","1371895147","1371895149","1371895150"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19bd0f06b3f040f9cc317a9c3d0f1294.jpg","text":"TemporaryFile(/tmp/multipartBody4966660959478920853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327979094,"filename":"image_12072025_15_45_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/114dae2cb606ef8057744cfadf9a9df3.jpg","text":"TemporaryFile(/tmp/multipartBody7902126993198297291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327979094,"filename":"image_12072025_15_45_23_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7b83bc6b80563d82f7f16aeec2e3add.jpg","text":"TemporaryFile(/tmp/multipartBody6472531903839603582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327979094,"filename":"image_12072025_15_44_53_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21d50715eca2e14f8e6c14a7835f932e.jpg","text":"TemporaryFile(/tmp/multipartBody4793045410682633465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327979094,"filename":"image_12072025_15_45_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9d0ca261d43f5202a6c570cc52049d6.jpg","text":"TemporaryFile(/tmp/multipartBody5518681131835034145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327979094,"filename":"image_12072025_15_45_44_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a0c6b46b0e1aa9410584c2e69e7e2f4.jpg","text":"TemporaryFile(/tmp/multipartBody3864120533037277964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752327979094,"filename":"image_12072025_15_45_34_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895145","file1":"1371895143","file0":"1371895141","file4":"1371895149","file5":"1371895150","file3":"1371895147"},"map_files_photo_id_array":[{"photo_id":"1371895150","filename":"file5"},{"photo_id":"1371895145","filename":"file2"},{"photo_id":"1371895149","filename":"file4"},{"photo_id":"1371895143","filename":"file1"},{"photo_id":"1371895141","filename":"file0"},{"photo_id":"1371895147","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895149":["hashtag1","hashtag2"]},{"1371895145":["hashtag1","hashtag2"]},{"1371895150":["hashtag1","hashtag2"]},{"1371895147":["hashtag1","hashtag2"]},{"1371895141":["hashtag1","hashtag2"]},{"1371895143":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895149, 1371895145, 1371895150, 1371895147, 1371895141, 1371895143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.419862747192383 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:46:03.039686
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_53_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_43_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_34_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_23_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_14_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/17/26/image_10072025_17_27_04_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_53_9623.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_43_9633.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_34_10657.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_23_9625.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_14_9649.jpg', '/home/nano/Desktop/images/10072025/17/26/image_10072025_17_27_04_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_53_9623.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_43_9633.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_34_10657.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_23_9625.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_14_9649.jpg
/home/nano/Desktop/images/10072025/17/26/image_10072025_17_27_04_10655.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.260714054107666 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:46:17.458444
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_43_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_34_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_24_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_14_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/15/45/image_12072025_15_46_04_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_43_9624.jpg', '/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_34_9620.jpg', '/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_24_10642.jpg', '/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_14_9645.jpg', '/home/nano/Desktop/images/12072025/15/45/image_12072025_15_46_04_9634.jpg', '/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_43_9624.jpg
/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_34_9620.jpg
/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_24_10642.jpg
/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_14_9645.jpg
/home/nano/Desktop/images/12072025/15/45/image_12072025_15_46_04_9634.jpg
/home/nano/Desktop/images/12072025/15/45/image_12072025_15_45_54_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895167","1371895166","1371895163","1371895165","1371895161","1371895158"],"photo_ids_order":["1371895158","1371895161","1371895163","1371895165","1371895166","1371895167"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61ac3baf80c0941781bebeeb2ee4730e.jpg","text":"TemporaryFile(/tmp/multipartBody1716435346465516175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328039078,"filename":"image_12072025_15_45_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c587093bc19170677c6d1d131aa2b2a0.jpg","text":"TemporaryFile(/tmp/multipartBody5483235183714391870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328039078,"filename":"image_12072025_15_46_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5e8ec59659a426c446dd6d5b27be1ad.jpg","text":"TemporaryFile(/tmp/multipartBody4648880938714718567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328039078,"filename":"image_12072025_15_46_24_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1443b440dd309471baa1bb17cb975020.jpg","text":"TemporaryFile(/tmp/multipartBody5947490790309160105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328039078,"filename":"image_12072025_15_46_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9df6c0e9d5919bec4b3620a01b9c4f7.jpg","text":"TemporaryFile(/tmp/multipartBody2131919667358425778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328039078,"filename":"image_12072025_15_46_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4d78bd34c2fabd82c651597df7022b0.jpg","text":"TemporaryFile(/tmp/multipartBody8368839821405262176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328039078,"filename":"image_12072025_15_46_43_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895163","file1":"1371895161","file0":"1371895158","file4":"1371895166","file5":"1371895167","file3":"1371895165"},"map_files_photo_id_array":[{"photo_id":"1371895167","filename":"file5"},{"photo_id":"1371895163","filename":"file2"},{"photo_id":"1371895166","filename":"file4"},{"photo_id":"1371895161","filename":"file1"},{"photo_id":"1371895158","filename":"file0"},{"photo_id":"1371895165","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895167":["hashtag1","hashtag2"]},{"1371895166":["hashtag1","hashtag2"]},{"1371895163":["hashtag1","hashtag2"]},{"1371895165":["hashtag1","hashtag2"]},{"1371895161":["hashtag1","hashtag2"]},{"1371895158":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895167, 1371895166, 1371895163, 1371895165, 1371895161, 1371895158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.891252279281616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:47:03.235662
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_53_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_43_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_34_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_23_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_14_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/17/26/image_10072025_17_27_04_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_53_9623.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_43_9633.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_34_10657.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_23_9625.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_14_9649.jpg', '/home/nano/Desktop/images/10072025/17/26/image_10072025_17_27_04_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_53_9623.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_43_9633.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_34_10657.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_23_9625.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_14_9649.jpg
/home/nano/Desktop/images/10072025/17/26/image_10072025_17_27_04_10655.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.332534074783325 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:47:17.559225
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_34_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_24_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_13_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/15/46/image_12072025_15_47_04_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_54_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_34_9623.jpg', '/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_24_10637.jpg', '/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_13_9663.jpg', '/home/nano/Desktop/images/12072025/15/46/image_12072025_15_47_04_9636.jpg', '/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_54_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_34_9623.jpg
/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_24_10637.jpg
/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_13_9663.jpg
/home/nano/Desktop/images/12072025/15/46/image_12072025_15_47_04_9636.jpg
/home/nano/Desktop/images/12072025/15/46/image_12072025_15_46_54_10633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895184","1371895180","1371895183","1371895177","1371895182"],"photo_ids_order":["1371895177","1371895180","1371895182","1371895183","1371895184"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2596a7c4ee49f2ec5c48627c91c4aed8.jpg","text":"TemporaryFile(/tmp/multipartBody4079279132448271300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328098810,"filename":"image_12072025_15_46_54_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4550a4198cb4a40f89126650318f5f00.jpg","text":"TemporaryFile(/tmp/multipartBody1694842255316712849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328098810,"filename":"image_12072025_15_47_24_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26f8b49bce91c9f014d805c21f193711.jpg","text":"TemporaryFile(/tmp/multipartBody239984690193756081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328098810,"filename":"image_12072025_15_47_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76be0bcc18db0536174de3d43a9abb81.jpg","text":"TemporaryFile(/tmp/multipartBody3004625689513998465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328098810,"filename":"image_12072025_15_47_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c3eefb712083b7aef6cf1d6fc06eebb4.jpg","text":"TemporaryFile(/tmp/multipartBody2492570078151147595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328098810,"filename":"image_12072025_15_47_13_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895182","file1":"1371895180","file0":"1371895177","file4":"1371895184","file3":"1371895183"},"map_files_photo_id_array":[{"photo_id":"1371895182","filename":"file2"},{"photo_id":"1371895184","filename":"file4"},{"photo_id":"1371895180","filename":"file1"},{"photo_id":"1371895177","filename":"file0"},{"photo_id":"1371895183","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895184":["hashtag1","hashtag2"]},{"1371895180":["hashtag1","hashtag2"]},{"1371895183":["hashtag1","hashtag2"]},{"1371895177":["hashtag1","hashtag2"]},{"1371895182":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895184, 1371895180, 1371895183, 1371895177, 1371895182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.712549209594727 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:47:47.561212
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_53_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_43_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_34_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_23_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_14_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/17/26/image_10072025_17_27_04_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_53_9623.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_43_9633.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_34_10657.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_23_9625.jpg', '/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_14_9649.jpg', '/home/nano/Desktop/images/10072025/17/26/image_10072025_17_27_04_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_53_9623.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_43_9633.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_34_10657.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_23_9625.jpg
/home/nano/Desktop/images/10072025/17/27/image_10072025_17_27_14_9649.jpg
/home/nano/Desktop/images/10072025/17/26/image_10072025_17_27_04_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895200","1371895190","1371895189","1371895192","1371895194","1371895197"],"photo_ids_order":["1371895189","1371895190","1371895192","1371895194","1371895197","1371895200"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b537edd7df9f9ecb7d3205a239da7565.jpg","text":"TemporaryFile(/tmp/multipartBody7297192422755847828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328131327,"filename":"image_10072025_17_27_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c83f499bb6d52b7c9d0370df4f0f8844.jpg","text":"TemporaryFile(/tmp/multipartBody7152136636302406055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328131327,"filename":"image_10072025_17_27_43_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7270755a292266acc4088378cd85312.jpg","text":"TemporaryFile(/tmp/multipartBody4997091504637365406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328131327,"filename":"image_10072025_17_27_53_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe0d5ffb32177ea96b34d71a0759bb53.jpg","text":"TemporaryFile(/tmp/multipartBody6101018416941865958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328131327,"filename":"image_10072025_17_27_34_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9524317bd55b4a804a51cb8346545f04.jpg","text":"TemporaryFile(/tmp/multipartBody8030402658418054789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328131327,"filename":"image_10072025_17_27_23_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6944269e9a759ad39406765ee1f34ae3.jpg","text":"TemporaryFile(/tmp/multipartBody721755316950437647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328131327,"filename":"image_10072025_17_27_14_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895192","file1":"1371895190","file0":"1371895189","file4":"1371895197","file5":"1371895200","file3":"1371895194"},"map_files_photo_id_array":[{"photo_id":"1371895200","filename":"file5"},{"photo_id":"1371895192","filename":"file2"},{"photo_id":"1371895197","filename":"file4"},{"photo_id":"1371895190","filename":"file1"},{"photo_id":"1371895189","filename":"file0"},{"photo_id":"1371895194","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371895200":["hashtag1","hashtag2"]},{"1371895190":["hashtag1","hashtag2"]},{"1371895189":["hashtag1","hashtag2"]},{"1371895192":["hashtag1","hashtag2"]},{"1371895194":["hashtag1","hashtag2"]},{"1371895197":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371895200, 1371895190, 1371895189, 1371895192, 1371895194, 1371895197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.694591760635376 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:48:32.650532
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_44_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_33_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_24_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_14_10684.jpg', 2), ('/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_44_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_44_10631.jpg', '/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_33_9624.jpg', '/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_24_9614.jpg', '/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_14_10684.jpg', '/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_44_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_44_10631.jpg
/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_33_9624.jpg
/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_24_9614.jpg
/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_14_10684.jpg
/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_44_10630.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2251079082489014 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:48:47.656312
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_44_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_33_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_24_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_14_10684.jpg', 2), ('/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_44_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_44_10631.jpg', '/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_33_9624.jpg', '/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_24_9614.jpg', '/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_14_10684.jpg', '/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_44_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_44_10631.jpg
/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_33_9624.jpg
/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_24_9614.jpg
/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_14_10684.jpg
/home/nano/Desktop/images/12072025/15/47/image_12072025_15_47_44_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895206","1371895214","1371895217","1371895211","1371895208"],"photo_ids_order":["1371895206","1371895208","1371895211","1371895214","1371895217"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2dec6294744afa51e0f216810511b99b.jpg","text":"TemporaryFile(/tmp/multipartBody5120852156805249720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328189560,"filename":"image_12072025_15_48_44_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1917b2be8ec13e86066444896bdc0467.jpg","text":"TemporaryFile(/tmp/multipartBody3682956259121851966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328189560,"filename":"image_12072025_15_48_14_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bcce2bbe7f46f596fc919d4803b01a7d.jpg","text":"TemporaryFile(/tmp/multipartBody4021847348096002210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328189560,"filename":"image_12072025_15_47_44_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9b75233480bdb9454e1a17f4b07fb53.jpg","text":"TemporaryFile(/tmp/multipartBody6608640154896216222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328189560,"filename":"image_12072025_15_48_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c92132b66df3836fc84b061012ef1c8e.jpg","text":"TemporaryFile(/tmp/multipartBody196356510656629642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328189560,"filename":"image_12072025_15_48_33_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895211","file1":"1371895208","file0":"1371895206","file4":"1371895217","file3":"1371895214"},"map_files_photo_id_array":[{"photo_id":"1371895211","filename":"file2"},{"photo_id":"1371895217","filename":"file4"},{"photo_id":"1371895208","filename":"file1"},{"photo_id":"1371895206","filename":"file0"},{"photo_id":"1371895214","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895206":["hashtag1","hashtag2"]},{"1371895214":["hashtag1","hashtag2"]},{"1371895217":["hashtag1","hashtag2"]},{"1371895211":["hashtag1","hashtag2"]},{"1371895208":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895206, 1371895214, 1371895217, 1371895211, 1371895208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.680450916290283 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:49:31.799051
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_44_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_33_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_24_9733.jpg', 2), ('/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_14_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/15/48/image_12072025_15_49_03_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_44_10630.jpg', '/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_33_9633.jpg', '/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_24_9733.jpg', '/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_14_10665.jpg', '/home/nano/Desktop/images/12072025/15/48/image_12072025_15_49_03_9639.jpg', '/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_44_10630.jpg
/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_33_9633.jpg
/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_24_9733.jpg
/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_14_10665.jpg
/home/nano/Desktop/images/12072025/15/48/image_12072025_15_49_03_9639.jpg
/home/nano/Desktop/images/12072025/15/48/image_12072025_15_48_54_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895224","1371895232","1371895235","1371895229","1371895238","1371895228"],"photo_ids_order":["1371895224","1371895228","1371895229","1371895232","1371895235","1371895238"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4d2df1f91bc29b5a2bd9086f5aaf33f.jpg","text":"TemporaryFile(/tmp/multipartBody3193248447478630911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328233587,"filename":"image_12072025_15_49_44_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8aa6504919f1ef8ba5de28a31736536a.jpg","text":"TemporaryFile(/tmp/multipartBody7484209184142782927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328233587,"filename":"image_12072025_15_49_14_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fbd6b933a34a3edb24f5352e5445efce.jpg","text":"TemporaryFile(/tmp/multipartBody958758220707578508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328233587,"filename":"image_12072025_15_49_03_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b72c35ecff90c13f05f4a62364fc8ae0.jpg","text":"TemporaryFile(/tmp/multipartBody7169755577922658890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328233587,"filename":"image_12072025_15_49_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac9ef4706bb7d62d1deaae3566414c45.jpg","text":"TemporaryFile(/tmp/multipartBody1593843665789392242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328233587,"filename":"image_12072025_15_48_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b3b652dcad2f32d8f6cd723d0a5b7c3.jpg","text":"TemporaryFile(/tmp/multipartBody7836018218536825485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328233587,"filename":"image_12072025_15_49_33_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895229","file1":"1371895228","file0":"1371895224","file4":"1371895235","file5":"1371895238","file3":"1371895232"},"map_files_photo_id_array":[{"photo_id":"1371895238","filename":"file5"},{"photo_id":"1371895229","filename":"file2"},{"photo_id":"1371895235","filename":"file4"},{"photo_id":"1371895228","filename":"file1"},{"photo_id":"1371895224","filename":"file0"},{"photo_id":"1371895232","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895224":["hashtag1","hashtag2"]},{"1371895232":["hashtag1","hashtag2"]},{"1371895235":["hashtag1","hashtag2"]},{"1371895229":["hashtag1","hashtag2"]},{"1371895238":["hashtag1","hashtag2"]},{"1371895228":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895224, 1371895232, 1371895235, 1371895229, 1371895238, 1371895228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.6709361076355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:50:46.856190
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_33_9686.jpg', 2), ('/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_24_9685.jpg', 2), ('/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_14_10681.jpg', 2), ('/home/nano/Desktop/images/12072025/15/49/image_12072025_15_50_03_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_54_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_44_10647.jpg', '/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_33_9686.jpg', '/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_24_9685.jpg', '/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_14_10681.jpg', '/home/nano/Desktop/images/12072025/15/49/image_12072025_15_50_03_9670.jpg', '/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_54_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_44_10647.jpg
/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_33_9686.jpg
/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_24_9685.jpg
/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_14_10681.jpg
/home/nano/Desktop/images/12072025/15/49/image_12072025_15_50_03_9670.jpg
/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_54_9615.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8755650520324707 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:51:02.632630
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_33_9686.jpg', 2), ('/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_24_9685.jpg', 2), ('/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_14_10681.jpg', 2), ('/home/nano/Desktop/images/12072025/15/49/image_12072025_15_50_03_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_54_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_44_10647.jpg', '/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_33_9686.jpg', '/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_24_9685.jpg', '/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_14_10681.jpg', '/home/nano/Desktop/images/12072025/15/49/image_12072025_15_50_03_9670.jpg', '/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_54_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_44_10647.jpg
/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_33_9686.jpg
/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_24_9685.jpg
/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_14_10681.jpg
/home/nano/Desktop/images/12072025/15/49/image_12072025_15_50_03_9670.jpg
/home/nano/Desktop/images/12072025/15/49/image_12072025_15_49_54_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895251","1371895259","1371895255","1371895254","1371895263","1371895257"],"photo_ids_order":["1371895251","1371895254","1371895255","1371895257","1371895259","1371895263"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26ee599ffe9cf150d6c2400b45c53657.jpg","text":"TemporaryFile(/tmp/multipartBody5316029835939042822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328325005,"filename":"image_12072025_15_50_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd01df283dd0ac3e1bcad922b5e3257a.jpg","text":"TemporaryFile(/tmp/multipartBody13725528062662915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328325005,"filename":"image_12072025_15_50_03_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/49a36b7e1953d00069efcd85b40dfd62.jpg","text":"TemporaryFile(/tmp/multipartBody8892916784023155084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328325005,"filename":"image_12072025_15_50_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/056ebc920e7f30cb6667839f3730c050.jpg","text":"TemporaryFile(/tmp/multipartBody5723915000873790313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328325005,"filename":"image_12072025_15_50_33_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ee32c637847925b13a723f83f962352.jpg","text":"TemporaryFile(/tmp/multipartBody3879045066811142270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328325005,"filename":"image_12072025_15_49_54_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5028564c86904fee6a751a3a03b4d491.jpg","text":"TemporaryFile(/tmp/multipartBody8746032924683019975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328325005,"filename":"image_12072025_15_50_14_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895255","file1":"1371895254","file0":"1371895251","file4":"1371895259","file5":"1371895263","file3":"1371895257"},"map_files_photo_id_array":[{"photo_id":"1371895263","filename":"file5"},{"photo_id":"1371895255","filename":"file2"},{"photo_id":"1371895259","filename":"file4"},{"photo_id":"1371895254","filename":"file1"},{"photo_id":"1371895251","filename":"file0"},{"photo_id":"1371895257","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895251":["hashtag1","hashtag2"]},{"1371895259":["hashtag1","hashtag2"]},{"1371895255":["hashtag1","hashtag2"]},{"1371895254":["hashtag1","hashtag2"]},{"1371895263":["hashtag1","hashtag2"]},{"1371895257":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895251, 1371895259, 1371895255, 1371895254, 1371895263, 1371895257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.674142360687256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:51:46.969669
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_44_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_33_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_24_9692.jpg', 2), ('/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_14_10707.jpg', 2), ('/home/nano/Desktop/images/12072025/15/50/image_12072025_15_51_03_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_54_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_44_10669.jpg', '/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_33_9651.jpg', '/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_24_9692.jpg', '/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_14_10707.jpg', '/home/nano/Desktop/images/12072025/15/50/image_12072025_15_51_03_9683.jpg', '/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_54_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_44_10669.jpg
/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_33_9651.jpg
/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_24_9692.jpg
/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_14_10707.jpg
/home/nano/Desktop/images/12072025/15/50/image_12072025_15_51_03_9683.jpg
/home/nano/Desktop/images/12072025/15/50/image_12072025_15_50_54_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895283","1371895280","1371895279","1371895281","1371895275","1371895278"],"photo_ids_order":["1371895275","1371895278","1371895279","1371895280","1371895281","1371895283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3edc341d77513f1a45e061ed5c828223.jpg","text":"TemporaryFile(/tmp/multipartBody6933973380293456165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328370070,"filename":"image_12072025_15_50_54_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6dd559ba8c078cdf9becd19e17cbcc60.jpg","text":"TemporaryFile(/tmp/multipartBody3199683507791544751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328370070,"filename":"image_12072025_15_51_14_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c92af54553a7845d162dc87be3b0b2d.jpg","text":"TemporaryFile(/tmp/multipartBody2418723001078150203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328370070,"filename":"image_12072025_15_51_24_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31326ace58e8549670e0cbcf4218de06.jpg","text":"TemporaryFile(/tmp/multipartBody7110051359706276284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328370070,"filename":"image_12072025_15_51_03_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d7c665cacf9abea311f74b5e667dbba.jpg","text":"TemporaryFile(/tmp/multipartBody8925373696527671709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328370070,"filename":"image_12072025_15_51_44_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d55de0ea9eb9154b7906530581c1e979.jpg","text":"TemporaryFile(/tmp/multipartBody5136972347982075006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328370070,"filename":"image_12072025_15_51_33_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895279","file1":"1371895278","file0":"1371895275","file4":"1371895281","file5":"1371895283","file3":"1371895280"},"map_files_photo_id_array":[{"photo_id":"1371895283","filename":"file5"},{"photo_id":"1371895279","filename":"file2"},{"photo_id":"1371895281","filename":"file4"},{"photo_id":"1371895278","filename":"file1"},{"photo_id":"1371895275","filename":"file0"},{"photo_id":"1371895280","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895283":["hashtag1","hashtag2"]},{"1371895280":["hashtag1","hashtag2"]},{"1371895279":["hashtag1","hashtag2"]},{"1371895281":["hashtag1","hashtag2"]},{"1371895275":["hashtag1","hashtag2"]},{"1371895278":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895283, 1371895280, 1371895279, 1371895281, 1371895275, 1371895278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.799073934555054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:52:32.115050
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_44_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_33_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_24_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_14_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/15/51/image_12072025_15_52_03_9718.jpg', 2), ('/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_54_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_44_10667.jpg', '/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_33_9644.jpg', '/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_24_9610.jpg', '/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_14_10641.jpg', '/home/nano/Desktop/images/12072025/15/51/image_12072025_15_52_03_9718.jpg', '/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_54_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_44_10667.jpg
/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_33_9644.jpg
/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_24_9610.jpg
/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_14_10641.jpg
/home/nano/Desktop/images/12072025/15/51/image_12072025_15_52_03_9718.jpg
/home/nano/Desktop/images/12072025/15/51/image_12072025_15_51_54_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895302","1371895294","1371895307","1371895291","1371895299","1371895296"],"photo_ids_order":["1371895291","1371895294","1371895296","1371895299","1371895302","1371895307"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/342dd08131e727027df93e31ab7dbc20.jpg","text":"TemporaryFile(/tmp/multipartBody2270538129441799486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328414773,"filename":"image_12072025_15_52_03_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4cbac1ba803d9bd6d09967e97f1a6050.jpg","text":"TemporaryFile(/tmp/multipartBody7555670911254632964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328414773,"filename":"image_12072025_15_52_33_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e66eb61458660bb7fac29ce35e9f18b.jpg","text":"TemporaryFile(/tmp/multipartBody2983708394899331602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328414773,"filename":"image_12072025_15_51_54_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e151179017b0524e82dc262de5b051b4.jpg","text":"TemporaryFile(/tmp/multipartBody1482763784585314492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328414773,"filename":"image_12072025_15_52_44_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64fe5d1885c124ada2bbececf5a918aa.jpg","text":"TemporaryFile(/tmp/multipartBody1290637704841551396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328414773,"filename":"image_12072025_15_52_14_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ace897882c4042abb1c70c32a4b0ecae.jpg","text":"TemporaryFile(/tmp/multipartBody2508224125075889747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328414773,"filename":"image_12072025_15_52_24_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895296","file1":"1371895294","file0":"1371895291","file4":"1371895302","file5":"1371895307","file3":"1371895299"},"map_files_photo_id_array":[{"photo_id":"1371895307","filename":"file5"},{"photo_id":"1371895296","filename":"file2"},{"photo_id":"1371895302","filename":"file4"},{"photo_id":"1371895294","filename":"file1"},{"photo_id":"1371895291","filename":"file0"},{"photo_id":"1371895299","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895302":["hashtag1","hashtag2"]},{"1371895294":["hashtag1","hashtag2"]},{"1371895307":["hashtag1","hashtag2"]},{"1371895291":["hashtag1","hashtag2"]},{"1371895299":["hashtag1","hashtag2"]},{"1371895296":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895302, 1371895294, 1371895307, 1371895291, 1371895299, 1371895296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.088215351104736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:53:17.227807
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_44_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_33_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_24_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_14_9706.jpg', 2), ('/home/nano/Desktop/images/12072025/15/52/image_12072025_15_53_04_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_54_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_44_10654.jpg', '/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_33_9657.jpg', '/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_24_9657.jpg', '/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_14_9706.jpg', '/home/nano/Desktop/images/12072025/15/52/image_12072025_15_53_04_10645.jpg', '/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_54_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_44_10654.jpg
/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_33_9657.jpg
/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_24_9657.jpg
/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_14_9706.jpg
/home/nano/Desktop/images/12072025/15/52/image_12072025_15_53_04_10645.jpg
/home/nano/Desktop/images/12072025/15/52/image_12072025_15_52_54_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895314","1371895322","1371895310","1371895312","1371895321","1371895318"],"photo_ids_order":["1371895310","1371895312","1371895314","1371895318","1371895321","1371895322"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/209a8700781e216d3edcb5fe754ffc31.jpg","text":"TemporaryFile(/tmp/multipartBody5346787052894275023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328459831,"filename":"image_12072025_15_53_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/897bb8ac6f06c57f60e6b452e3b83b79.jpg","text":"TemporaryFile(/tmp/multipartBody49699249386221315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328459831,"filename":"image_12072025_15_52_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3aee54c3e98c3b9b0a5e778c2a90923b.jpg","text":"TemporaryFile(/tmp/multipartBody5738383489099362048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328459831,"filename":"image_12072025_15_53_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c91128bfe8c1a30851d46e5d24bce72.jpg","text":"TemporaryFile(/tmp/multipartBody9029816333947241838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328459831,"filename":"image_12072025_15_53_33_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/456d9e18415469424e1dd99b89386f5b.jpg","text":"TemporaryFile(/tmp/multipartBody402909011262241715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328459831,"filename":"image_12072025_15_53_04_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d93952b71bc01a6d95fd009200bd0bd6.jpg","text":"TemporaryFile(/tmp/multipartBody8962267828265222058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328459831,"filename":"image_12072025_15_53_14_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895314","file1":"1371895312","file0":"1371895310","file4":"1371895321","file5":"1371895322","file3":"1371895318"},"map_files_photo_id_array":[{"photo_id":"1371895322","filename":"file5"},{"photo_id":"1371895314","filename":"file2"},{"photo_id":"1371895321","filename":"file4"},{"photo_id":"1371895312","filename":"file1"},{"photo_id":"1371895310","filename":"file0"},{"photo_id":"1371895318","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895314":["hashtag1","hashtag2"]},{"1371895322":["hashtag1","hashtag2"]},{"1371895310":["hashtag1","hashtag2"]},{"1371895312":["hashtag1","hashtag2"]},{"1371895321":["hashtag1","hashtag2"]},{"1371895318":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895314, 1371895322, 1371895310, 1371895312, 1371895321, 1371895318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99913668632507 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:54:03.238369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/26/image_10072025_17_26_53_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/26/image_10072025_17_26_44_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/17/26/image_10072025_17_26_34_10642.jpg', 2), ('/home/nano/Desktop/images/10072025/17/25/image_10072025_17_25_53_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/17/25/image_10072025_17_25_44_10634.jpg', 2), ('/home/nano/Desktop/images/10072025/17/25/image_10072025_17_25_33_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/26/image_10072025_17_26_53_9633.jpg', '/home/nano/Desktop/images/10072025/17/26/image_10072025_17_26_44_9631.jpg', '/home/nano/Desktop/images/10072025/17/26/image_10072025_17_26_34_10642.jpg', '/home/nano/Desktop/images/10072025/17/25/image_10072025_17_25_53_9623.jpg', '/home/nano/Desktop/images/10072025/17/25/image_10072025_17_25_44_10634.jpg', '/home/nano/Desktop/images/10072025/17/25/image_10072025_17_25_33_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/26/image_10072025_17_26_53_9633.jpg
/home/nano/Desktop/images/10072025/17/26/image_10072025_17_26_44_9631.jpg
/home/nano/Desktop/images/10072025/17/26/image_10072025_17_26_34_10642.jpg
/home/nano/Desktop/images/10072025/17/25/image_10072025_17_25_53_9623.jpg
/home/nano/Desktop/images/10072025/17/25/image_10072025_17_25_44_10634.jpg
/home/nano/Desktop/images/10072025/17/25/image_10072025_17_25_33_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895344","1371895338","1371895340","1371895342","1371895345","1371895347"],"photo_ids_order":["1371895338","1371895340","1371895342","1371895344","1371895345","1371895347"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/976742d41bc3955215d07488835ec578.jpg","text":"TemporaryFile(/tmp/multipartBody6284155525822523824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328506542,"filename":"image_10072025_17_25_53_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b67da5aaf73962b86bb1cc76d14c71b.jpg","text":"TemporaryFile(/tmp/multipartBody1733691280135194720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328506542,"filename":"image_10072025_17_26_53_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3bc15569d8f768b06e08a2d2900dad4f.jpg","text":"TemporaryFile(/tmp/multipartBody3669231497813453152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328506542,"filename":"image_10072025_17_26_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f00a610a718ef59ccf755afc1c38fc6.jpg","text":"TemporaryFile(/tmp/multipartBody9088810468824094478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328506542,"filename":"image_10072025_17_26_34_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/340e6c3f7a5ece3eefca0bcf04ac20e0.jpg","text":"TemporaryFile(/tmp/multipartBody7094882572727011215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328506542,"filename":"image_10072025_17_25_44_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28a630145b438cdaf4e62a08fe8ba2e7.jpg","text":"TemporaryFile(/tmp/multipartBody202190836927333560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328506542,"filename":"image_10072025_17_25_33_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895342","file1":"1371895340","file0":"1371895338","file4":"1371895345","file5":"1371895347","file3":"1371895344"},"map_files_photo_id_array":[{"photo_id":"1371895347","filename":"file5"},{"photo_id":"1371895342","filename":"file2"},{"photo_id":"1371895345","filename":"file4"},{"photo_id":"1371895340","filename":"file1"},{"photo_id":"1371895338","filename":"file0"},{"photo_id":"1371895344","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371895344":["hashtag1","hashtag2"]},{"1371895338":["hashtag1","hashtag2"]},{"1371895340":["hashtag1","hashtag2"]},{"1371895342":["hashtag1","hashtag2"]},{"1371895345":["hashtag1","hashtag2"]},{"1371895347":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371895344, 1371895338, 1371895340, 1371895342, 1371895345, 1371895347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8943305015564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:54:47.270509
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/54/image_12072025_15_54_44_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/15/54/image_12072025_15_54_34_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/15/54/image_12072025_15_54_24_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/15/53/image_12072025_15_54_04_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/54/image_12072025_15_54_44_9622.jpg', '/home/nano/Desktop/images/12072025/15/54/image_12072025_15_54_34_10632.jpg', '/home/nano/Desktop/images/12072025/15/54/image_12072025_15_54_24_9616.jpg', '/home/nano/Desktop/images/12072025/15/53/image_12072025_15_54_04_10651.jpg', '/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/54/image_12072025_15_54_44_9622.jpg
/home/nano/Desktop/images/12072025/15/54/image_12072025_15_54_34_10632.jpg
/home/nano/Desktop/images/12072025/15/54/image_12072025_15_54_24_9616.jpg
/home/nano/Desktop/images/12072025/15/53/image_12072025_15_54_04_10651.jpg
/home/nano/Desktop/images/12072025/15/53/image_12072025_15_53_54_9619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895359","1371895352","1371895357","1371895354","1371895356"],"photo_ids_order":["1371895352","1371895354","1371895356","1371895357","1371895359"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e18abe0c012ed5e1215acd416cea74e3.jpg","text":"TemporaryFile(/tmp/multipartBody8794763999673356289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328548846,"filename":"image_12072025_15_53_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d03226e08884c59c4038a8cb375f5414.jpg","text":"TemporaryFile(/tmp/multipartBody7923010033289247040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328548846,"filename":"image_12072025_15_54_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f9830e225309d9d03fc423b3bd40c16.jpg","text":"TemporaryFile(/tmp/multipartBody6351387539076893525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328548846,"filename":"image_12072025_15_54_04_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a732f7e9af22c00748417198e988141.jpg","text":"TemporaryFile(/tmp/multipartBody1826484158536760081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328548846,"filename":"image_12072025_15_54_34_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f32e693a69ea237f8aaa84952689ff9e.jpg","text":"TemporaryFile(/tmp/multipartBody6126992273447209753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328548846,"filename":"image_12072025_15_54_24_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895356","file1":"1371895354","file0":"1371895352","file4":"1371895359","file3":"1371895357"},"map_files_photo_id_array":[{"photo_id":"1371895356","filename":"file2"},{"photo_id":"1371895359","filename":"file4"},{"photo_id":"1371895354","filename":"file1"},{"photo_id":"1371895352","filename":"file0"},{"photo_id":"1371895357","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895359":["hashtag1","hashtag2"]},{"1371895352":["hashtag1","hashtag2"]},{"1371895357":["hashtag1","hashtag2"]},{"1371895354":["hashtag1","hashtag2"]},{"1371895356":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895359, 1371895352, 1371895357, 1371895354, 1371895356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.289798259735107 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:55:17.354393
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_44_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_34_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_23_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_14_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/15/54/image_12072025_15_55_04_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/15/54/image_12072025_15_54_53_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_44_9624.jpg', '/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_34_10617.jpg', '/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_23_9626.jpg', '/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_14_9640.jpg', '/home/nano/Desktop/images/12072025/15/54/image_12072025_15_55_04_10659.jpg', '/home/nano/Desktop/images/12072025/15/54/image_12072025_15_54_53_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_44_9624.jpg
/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_34_10617.jpg
/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_23_9626.jpg
/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_14_9640.jpg
/home/nano/Desktop/images/12072025/15/54/image_12072025_15_55_04_10659.jpg
/home/nano/Desktop/images/12072025/15/54/image_12072025_15_54_53_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895370","1371895367","1371895363","1371895372","1371895365","1371895368"],"photo_ids_order":["1371895363","1371895365","1371895367","1371895368","1371895370","1371895372"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81eec537703f62056c328b6ba96e48f4.jpg","text":"TemporaryFile(/tmp/multipartBody6123371208670318778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328578830,"filename":"image_12072025_15_55_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89b8ca896a0d32288550c9a8feeaca7b.jpg","text":"TemporaryFile(/tmp/multipartBody3569783667374264902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328578830,"filename":"image_12072025_15_55_23_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d4e01c004a278ffe19e9c8e2d0c2271.jpg","text":"TemporaryFile(/tmp/multipartBody1329360604315537647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328578830,"filename":"image_12072025_15_55_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aeb7765eb82cc749ec0767abcf5f97cb.jpg","text":"TemporaryFile(/tmp/multipartBody5952152074110210706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328578830,"filename":"image_12072025_15_54_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f328d2a9a4a2808697a6a31e1cf3f9af.jpg","text":"TemporaryFile(/tmp/multipartBody5798608688391890381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328578830,"filename":"image_12072025_15_55_34_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7868c54ce2bcdc24a690a3f56cdb54dc.jpg","text":"TemporaryFile(/tmp/multipartBody3057099749135969288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328578830,"filename":"image_12072025_15_55_14_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895367","file1":"1371895365","file0":"1371895363","file4":"1371895370","file5":"1371895372","file3":"1371895368"},"map_files_photo_id_array":[{"photo_id":"1371895372","filename":"file5"},{"photo_id":"1371895367","filename":"file2"},{"photo_id":"1371895370","filename":"file4"},{"photo_id":"1371895365","filename":"file1"},{"photo_id":"1371895363","filename":"file0"},{"photo_id":"1371895368","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895370":["hashtag1","hashtag2"]},{"1371895367":["hashtag1","hashtag2"]},{"1371895363":["hashtag1","hashtag2"]},{"1371895372":["hashtag1","hashtag2"]},{"1371895365":["hashtag1","hashtag2"]},{"1371895368":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895370, 1371895367, 1371895363, 1371895372, 1371895365, 1371895368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79354238510132 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:56:03.079167
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/25/image_10072025_17_25_14_10651.jpg', 2), ('/home/nano/Desktop/images/10072025/17/24/image_10072025_17_25_03_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/17/24/image_10072025_17_24_54_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/17/24/image_10072025_17_24_44_10634.jpg', 2), ('/home/nano/Desktop/images/10072025/17/24/image_10072025_17_24_33_9644.jpg', 2), ('/home/nano/Desktop/images/10072025/17/23/image_10072025_17_24_03_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/25/image_10072025_17_25_14_10651.jpg', '/home/nano/Desktop/images/10072025/17/24/image_10072025_17_25_03_9636.jpg', '/home/nano/Desktop/images/10072025/17/24/image_10072025_17_24_54_9627.jpg', '/home/nano/Desktop/images/10072025/17/24/image_10072025_17_24_44_10634.jpg', '/home/nano/Desktop/images/10072025/17/24/image_10072025_17_24_33_9644.jpg', '/home/nano/Desktop/images/10072025/17/23/image_10072025_17_24_03_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/25/image_10072025_17_25_14_10651.jpg
/home/nano/Desktop/images/10072025/17/24/image_10072025_17_25_03_9636.jpg
/home/nano/Desktop/images/10072025/17/24/image_10072025_17_24_54_9627.jpg
/home/nano/Desktop/images/10072025/17/24/image_10072025_17_24_44_10634.jpg
/home/nano/Desktop/images/10072025/17/24/image_10072025_17_24_33_9644.jpg
/home/nano/Desktop/images/10072025/17/23/image_10072025_17_24_03_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895382","1371895385","1371895384","1371895378","1371895383","1371895380"],"photo_ids_order":["1371895378","1371895380","1371895382","1371895383","1371895384","1371895385"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89eebd91a90ef74497879d94f2a3b3c0.jpg","text":"TemporaryFile(/tmp/multipartBody279734703242854383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328626119,"filename":"image_10072025_17_24_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27671f8855a8056b9e96b79d2f658f8b.jpg","text":"TemporaryFile(/tmp/multipartBody1389305947332163171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328626119,"filename":"image_10072025_17_24_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/833dc045237e6861b540a7bcbd102f4d.jpg","text":"TemporaryFile(/tmp/multipartBody6061917938450465892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328626119,"filename":"image_10072025_17_24_33_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d73fc328792443c70590bd7ca40a00d.jpg","text":"TemporaryFile(/tmp/multipartBody410302318569458613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328626119,"filename":"image_10072025_17_25_14_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20553ba56c6d0d87697ff6f7b46d2188.jpg","text":"TemporaryFile(/tmp/multipartBody8240298650384099595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328626119,"filename":"image_10072025_17_24_44_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8809210fa49c8fe7169c986fdf6bb29c.jpg","text":"TemporaryFile(/tmp/multipartBody5429489079981102747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328626119,"filename":"image_10072025_17_25_03_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895382","file1":"1371895380","file0":"1371895378","file4":"1371895384","file5":"1371895385","file3":"1371895383"},"map_files_photo_id_array":[{"photo_id":"1371895385","filename":"file5"},{"photo_id":"1371895382","filename":"file2"},{"photo_id":"1371895384","filename":"file4"},{"photo_id":"1371895380","filename":"file1"},{"photo_id":"1371895378","filename":"file0"},{"photo_id":"1371895383","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371895382":["hashtag1","hashtag2"]},{"1371895385":["hashtag1","hashtag2"]},{"1371895384":["hashtag1","hashtag2"]},{"1371895378":["hashtag1","hashtag2"]},{"1371895383":["hashtag1","hashtag2"]},{"1371895380":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371895382, 1371895385, 1371895384, 1371895378, 1371895383, 1371895380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.744349479675293 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:56:47.460090
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_44_9723.jpg', 2), ('/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_34_9762.jpg', 2), ('/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_24_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_14_9682.jpg', 2), ('/home/nano/Desktop/images/12072025/15/55/image_12072025_15_56_04_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_54_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_44_9723.jpg', '/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_34_9762.jpg', '/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_24_10635.jpg', '/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_14_9682.jpg', '/home/nano/Desktop/images/12072025/15/55/image_12072025_15_56_04_9637.jpg', '/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_54_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_44_9723.jpg
/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_34_9762.jpg
/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_24_10635.jpg
/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_14_9682.jpg
/home/nano/Desktop/images/12072025/15/55/image_12072025_15_56_04_9637.jpg
/home/nano/Desktop/images/12072025/15/55/image_12072025_15_55_54_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371895397","1371895400","1371895403","1371895393","1371895405","1371895395"],"photo_ids_order":["1371895393","1371895395","1371895397","1371895400","1371895403","1371895405"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30fe64b484e7bfc8447807ca1a96238e.jpg","text":"TemporaryFile(/tmp/multipartBody590986293663878526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328669798,"filename":"image_12072025_15_56_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59a7750718ccdcee015ccd2f07e6194d.jpg","text":"TemporaryFile(/tmp/multipartBody4623969703379555512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328669798,"filename":"image_12072025_15_56_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6ba0cbb800786f0deb19f8fa425b0fe.jpg","text":"TemporaryFile(/tmp/multipartBody5785446188990324963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328669798,"filename":"image_12072025_15_56_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76ad3fdaa3f8058ddeb8d8a86f2df6fe.jpg","text":"TemporaryFile(/tmp/multipartBody3425919481055638122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328669798,"filename":"image_12072025_15_56_44_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc969ccfb9863f4328671b5f58f10f07.jpg","text":"TemporaryFile(/tmp/multipartBody9054104100418556010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328669798,"filename":"image_12072025_15_55_54_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52666642f553dc87fece2527cd5fa2f1.jpg","text":"TemporaryFile(/tmp/multipartBody7170744300140486807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328669798,"filename":"image_12072025_15_56_34_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371895397","file1":"1371895395","file0":"1371895393","file4":"1371895403","file5":"1371895405","file3":"1371895400"},"map_files_photo_id_array":[{"photo_id":"1371895405","filename":"file5"},{"photo_id":"1371895397","filename":"file2"},{"photo_id":"1371895403","filename":"file4"},{"photo_id":"1371895395","filename":"file1"},{"photo_id":"1371895393","filename":"file0"},{"photo_id":"1371895400","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371895397":["hashtag1","hashtag2"]},{"1371895400":["hashtag1","hashtag2"]},{"1371895403":["hashtag1","hashtag2"]},{"1371895393":["hashtag1","hashtag2"]},{"1371895405":["hashtag1","hashtag2"]},{"1371895395":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371895397, 1371895400, 1371895403, 1371895393, 1371895405, 1371895395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03550124168396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:57:32.613294
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_44_9753.jpg', 2), ('/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_34_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/15/56/image_12072025_15_57_04_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_53_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_44_9753.jpg', '/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_34_9619.jpg', '/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_24_10648.jpg', '/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_14_9658.jpg', '/home/nano/Desktop/images/12072025/15/56/image_12072025_15_57_04_10667.jpg', '/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_53_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_44_9753.jpg
/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_34_9619.jpg
/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_24_10648.jpg
/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_14_9658.jpg
/home/nano/Desktop/images/12072025/15/56/image_12072025_15_57_04_10667.jpg
/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_53_9655.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:59:02.578250
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_44_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_34_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_23_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_14_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/15/57/image_12072025_15_58_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_53_9689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_44_9596.jpg', '/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_34_10633.jpg', '/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_23_9632.jpg', '/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_14_9670.jpg', '/home/nano/Desktop/images/12072025/15/57/image_12072025_15_58_04_10661.jpg', '/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_53_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_44_9596.jpg
/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_34_10633.jpg
/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_23_9632.jpg
/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_14_9670.jpg
/home/nano/Desktop/images/12072025/15/57/image_12072025_15_58_04_10661.jpg
/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_53_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371896176","1371895981","1371896082","1371896229","1371896130","1371896031"],"photo_ids_order":["1371895981","1371896031","1371896082","1371896130","1371896176","1371896229"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dda586aa1cf5c58496adb6369b5a32c4.jpg","text":"TemporaryFile(/tmp/multipartBody5046804014711080751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328804006,"filename":"image_12072025_15_58_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/850345ecc94aadd9b48b658bff05c14a.jpg","text":"TemporaryFile(/tmp/multipartBody5522449808075849809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328804006,"filename":"image_12072025_15_58_44_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c99d49891f44eb18bdaf26d0ac7911c0.jpg","text":"TemporaryFile(/tmp/multipartBody8628210885026152900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328804006,"filename":"image_12072025_15_58_23_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ebbf186e9665415453c7b7a1ec3c1ffe.jpg","text":"TemporaryFile(/tmp/multipartBody5821902127635556567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328804006,"filename":"image_12072025_15_57_53_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aae0df3f9d1ae7560ca895ebe289dfbe.jpg","text":"TemporaryFile(/tmp/multipartBody6368972496433357834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328804006,"filename":"image_12072025_15_58_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2646be7a32d09888e0ac953fe5367285.jpg","text":"TemporaryFile(/tmp/multipartBody6044793962575676265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328804006,"filename":"image_12072025_15_58_34_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371896082","file1":"1371896031","file0":"1371895981","file4":"1371896176","file5":"1371896229","file3":"1371896130"},"map_files_photo_id_array":[{"photo_id":"1371896229","filename":"file5"},{"photo_id":"1371896082","filename":"file2"},{"photo_id":"1371896176","filename":"file4"},{"photo_id":"1371896031","filename":"file1"},{"photo_id":"1371895981","filename":"file0"},{"photo_id":"1371896130","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371896176":["hashtag1","hashtag2"]},{"1371895981":["hashtag1","hashtag2"]},{"1371896082":["hashtag1","hashtag2"]},{"1371896229":["hashtag1","hashtag2"]},{"1371896130":["hashtag1","hashtag2"]},{"1371896031":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371896176, 1371895981, 1371896082, 1371896229, 1371896130, 1371896031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.662993907928467 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 15:59:46.894767
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_44_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_34_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_24_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_13_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/15/58/image_12072025_15_59_04_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_54_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_44_10612.jpg', '/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_34_9619.jpg', '/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_24_10629.jpg', '/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_13_9612.jpg', '/home/nano/Desktop/images/12072025/15/58/image_12072025_15_59_04_9611.jpg', '/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_54_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_44_10612.jpg
/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_34_9619.jpg
/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_24_10629.jpg
/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_13_9612.jpg
/home/nano/Desktop/images/12072025/15/58/image_12072025_15_59_04_9611.jpg
/home/nano/Desktop/images/12072025/15/58/image_12072025_15_58_54_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371896714","1371896636","1371896587","1371896539","1371896688","1371896664"],"photo_ids_order":["1371896539","1371896587","1371896636","1371896664","1371896688","1371896714"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/906f1cc3744efe581c9d72786958b5ff.jpg","text":"TemporaryFile(/tmp/multipartBody701704217982723584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328848116,"filename":"image_12072025_15_58_54_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31837412e14988b6301b82a54bf15c2f.jpg","text":"TemporaryFile(/tmp/multipartBody4299056174895394742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328848116,"filename":"image_12072025_15_59_24_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fd6257a32ed4281f91f58c61d29fc2f.jpg","text":"TemporaryFile(/tmp/multipartBody8697210779238252319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328848116,"filename":"image_12072025_15_59_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09a803c0170685b3efc2a6899cfb188e.jpg","text":"TemporaryFile(/tmp/multipartBody1609796728446227872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328848116,"filename":"image_12072025_15_59_44_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1fe8a19abca1b1ebd010213ed10b10f.jpg","text":"TemporaryFile(/tmp/multipartBody3898317386955850514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328848116,"filename":"image_12072025_15_59_04_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efc8b45e76d9549ac3b280f215c9c98b.jpg","text":"TemporaryFile(/tmp/multipartBody1038811469035600870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328848116,"filename":"image_12072025_15_59_13_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371896636","file1":"1371896587","file0":"1371896539","file4":"1371896688","file5":"1371896714","file3":"1371896664"},"map_files_photo_id_array":[{"photo_id":"1371896714","filename":"file5"},{"photo_id":"1371896636","filename":"file2"},{"photo_id":"1371896688","filename":"file4"},{"photo_id":"1371896587","filename":"file1"},{"photo_id":"1371896539","filename":"file0"},{"photo_id":"1371896664","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371896714":["hashtag1","hashtag2"]},{"1371896636":["hashtag1","hashtag2"]},{"1371896587":["hashtag1","hashtag2"]},{"1371896539":["hashtag1","hashtag2"]},{"1371896688":["hashtag1","hashtag2"]},{"1371896664":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371896714, 1371896636, 1371896587, 1371896539, 1371896688, 1371896664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.685940504074097 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:00:32.010987
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/00/image_12072025_16_00_44_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/16/00/image_12072025_16_00_24_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/16/00/image_12072025_16_00_14_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/15/59/image_12072025_16_00_03_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_54_9595.jpg', 2), ('/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_44_9753.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/00/image_12072025_16_00_44_10618.jpg', '/home/nano/Desktop/images/12072025/16/00/image_12072025_16_00_24_9610.jpg', '/home/nano/Desktop/images/12072025/16/00/image_12072025_16_00_14_10628.jpg', '/home/nano/Desktop/images/12072025/15/59/image_12072025_16_00_03_9613.jpg', '/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_54_9595.jpg', '/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_44_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/00/image_12072025_16_00_44_10618.jpg
/home/nano/Desktop/images/12072025/16/00/image_12072025_16_00_24_9610.jpg
/home/nano/Desktop/images/12072025/16/00/image_12072025_16_00_14_10628.jpg
/home/nano/Desktop/images/12072025/15/59/image_12072025_16_00_03_9613.jpg
/home/nano/Desktop/images/12072025/15/59/image_12072025_15_59_54_9595.jpg
/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_44_9753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371897367","1371897220","1371897291","1371897147","1371897080","1371897461"],"photo_ids_order":["1371897080","1371897147","1371897220","1371897291","1371897367","1371897461"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ea7ec69d50339b2870008b52798bff5.jpg","text":"TemporaryFile(/tmp/multipartBody954589574046199186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328893456,"filename":"image_12072025_15_59_54_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3638102e58beebfe6b8f3aecd79224e.jpg","text":"TemporaryFile(/tmp/multipartBody2573166159252900793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328893456,"filename":"image_12072025_16_00_14_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/784c2c8101e37f08eca4a02461c1a45b.jpg","text":"TemporaryFile(/tmp/multipartBody6902065775010236319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328893456,"filename":"image_12072025_16_00_03_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea7637a6c9872289fc679f14abc5c563.jpg","text":"TemporaryFile(/tmp/multipartBody731270719139819797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328893456,"filename":"image_12072025_16_00_24_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9841e114433855c3ba7c6811e660b74.jpg","text":"TemporaryFile(/tmp/multipartBody2437963284302030569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328893456,"filename":"image_12072025_16_00_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4bf927463f4461ea3a8714694b05efad.jpg","text":"TemporaryFile(/tmp/multipartBody6922242086954745779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328893456,"filename":"image_12072025_15_57_44_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371897220","file1":"1371897147","file0":"1371897080","file4":"1371897367","file5":"1371897461","file3":"1371897291"},"map_files_photo_id_array":[{"photo_id":"1371897461","filename":"file5"},{"photo_id":"1371897220","filename":"file2"},{"photo_id":"1371897367","filename":"file4"},{"photo_id":"1371897147","filename":"file1"},{"photo_id":"1371897080","filename":"file0"},{"photo_id":"1371897291","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371897367":["hashtag1","hashtag2"]},{"1371897220":["hashtag1","hashtag2"]},{"1371897291":["hashtag1","hashtag2"]},{"1371897147":["hashtag1","hashtag2"]},{"1371897080":["hashtag1","hashtag2"]},{"1371897461":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371897367, 1371897220, 1371897291, 1371897147, 1371897080, 1371897461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.984100818634033 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:01:17.073905
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_44_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_23_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_14_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/16/00/image_12072025_16_01_04_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/16/00/image_12072025_16_00_54_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_34_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_44_9602.jpg', '/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_23_9604.jpg', '/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_14_9654.jpg', '/home/nano/Desktop/images/12072025/16/00/image_12072025_16_01_04_10627.jpg', '/home/nano/Desktop/images/12072025/16/00/image_12072025_16_00_54_9625.jpg', '/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_34_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_44_9602.jpg
/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_23_9604.jpg
/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_14_9654.jpg
/home/nano/Desktop/images/12072025/16/00/image_12072025_16_01_04_10627.jpg
/home/nano/Desktop/images/12072025/16/00/image_12072025_16_00_54_9625.jpg
/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_34_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371898267","1371898132","1371898188","1371897919","1371897972","1371898061"],"photo_ids_order":["1371897919","1371897972","1371898061","1371898132","1371898188","1371898267"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b28c115a475b730dedd678d7672a6278.jpg","text":"TemporaryFile(/tmp/multipartBody8757379109734862402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328938470,"filename":"image_12072025_15_57_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5832ecb64db81e69ace5671d5cff3943.jpg","text":"TemporaryFile(/tmp/multipartBody4975626206721221090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328938470,"filename":"image_12072025_16_01_04_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c36d399122409ad4ac090a339f76a934.jpg","text":"TemporaryFile(/tmp/multipartBody1753495788714054222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328938470,"filename":"image_12072025_16_00_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78a6ec12ef887143802a1ef2a7c52623.jpg","text":"TemporaryFile(/tmp/multipartBody6992476769799188291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328938470,"filename":"image_12072025_16_01_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9002997c57a2d410b0ba22acae806a9c.jpg","text":"TemporaryFile(/tmp/multipartBody6317960267275319551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328938470,"filename":"image_12072025_16_01_23_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98c7ff7e800c53221205288b602db80c.jpg","text":"TemporaryFile(/tmp/multipartBody9141110570083667768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328938470,"filename":"image_12072025_16_01_14_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371898061","file1":"1371897972","file0":"1371897919","file4":"1371898188","file5":"1371898267","file3":"1371898132"},"map_files_photo_id_array":[{"photo_id":"1371898267","filename":"file5"},{"photo_id":"1371898061","filename":"file2"},{"photo_id":"1371898188","filename":"file4"},{"photo_id":"1371897972","filename":"file1"},{"photo_id":"1371897919","filename":"file0"},{"photo_id":"1371898132","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371898267":["hashtag1","hashtag2"]},{"1371898132":["hashtag1","hashtag2"]},{"1371898188":["hashtag1","hashtag2"]},{"1371897919":["hashtag1","hashtag2"]},{"1371897972":["hashtag1","hashtag2"]},{"1371898061":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371898267, 1371898132, 1371898188, 1371897919, 1371897972, 1371898061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.983165740966797 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:02:02.920533
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/15/56/image_12072025_15_57_04_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_53_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_24_10648.jpg', '/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_14_9658.jpg', '/home/nano/Desktop/images/12072025/15/56/image_12072025_15_57_04_10667.jpg', '/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_53_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_24_10648.jpg
/home/nano/Desktop/images/12072025/15/57/image_12072025_15_57_14_9658.jpg
/home/nano/Desktop/images/12072025/15/56/image_12072025_15_57_04_10667.jpg
/home/nano/Desktop/images/12072025/15/56/image_12072025_15_56_53_9655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371898723","1371898650","1371898587","1371898529"],"photo_ids_order":["1371898529","1371898587","1371898650","1371898723"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e7edf43d5d9505c025c07176bd689d5.jpg","text":"TemporaryFile(/tmp/multipartBody5629272941318288395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328983987,"filename":"image_12072025_15_56_53_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c16768402c0d4fb1f6d36f70bfdfae28.jpg","text":"TemporaryFile(/tmp/multipartBody796505681961368826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328983987,"filename":"image_12072025_15_57_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/307ce8a493cd45de53214392d664b16b.jpg","text":"TemporaryFile(/tmp/multipartBody4142753528902715247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328983987,"filename":"image_12072025_15_57_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c14b5d3d008e63639f712983a5b84ca.jpg","text":"TemporaryFile(/tmp/multipartBody7192679976714575915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752328983987,"filename":"image_12072025_15_57_24_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371898650","file1":"1371898587","file0":"1371898529","file3":"1371898723"},"map_files_photo_id_array":[{"photo_id":"1371898650","filename":"file2"},{"photo_id":"1371898587","filename":"file1"},{"photo_id":"1371898529","filename":"file0"},{"photo_id":"1371898723","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371898723":["hashtag1","hashtag2"]},{"1371898650":["hashtag1","hashtag2"]},{"1371898587":["hashtag1","hashtag2"]},{"1371898529":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371898723, 1371898650, 1371898587, 1371898529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.567184686660767 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:02:32.268737
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_44_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_34_9762.jpg', 2), ('/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_24_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_14_9689.jpg', 2), ('/home/nano/Desktop/images/12072025/16/01/image_12072025_16_02_04_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_54_10596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_44_9683.jpg', '/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_34_9762.jpg', '/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_24_10673.jpg', '/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_14_9689.jpg', '/home/nano/Desktop/images/12072025/16/01/image_12072025_16_02_04_9604.jpg', '/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_54_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_44_9683.jpg
/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_34_9762.jpg
/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_24_10673.jpg
/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_14_9689.jpg
/home/nano/Desktop/images/12072025/16/01/image_12072025_16_02_04_9604.jpg
/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_54_10596.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.670304536819458 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:02:47.198165
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_44_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_34_9762.jpg', 2), ('/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_24_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_14_9689.jpg', 2), ('/home/nano/Desktop/images/12072025/16/01/image_12072025_16_02_04_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_54_10596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_44_9683.jpg', '/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_34_9762.jpg', '/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_24_10673.jpg', '/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_14_9689.jpg', '/home/nano/Desktop/images/12072025/16/01/image_12072025_16_02_04_9604.jpg', '/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_54_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_44_9683.jpg
/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_34_9762.jpg
/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_24_10673.jpg
/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_14_9689.jpg
/home/nano/Desktop/images/12072025/16/01/image_12072025_16_02_04_9604.jpg
/home/nano/Desktop/images/12072025/16/01/image_12072025_16_01_54_10596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371898966","1371898977","1371898962","1371899013","1371899021","1371899003"],"photo_ids_order":["1371898962","1371898966","1371898977","1371899003","1371899013","1371899021"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2077cf79228792d37a03aa20a2b243e7.jpg","text":"TemporaryFile(/tmp/multipartBody6892209580784943056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329028711,"filename":"image_12072025_16_02_34_9762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/683c6e0df58ffdd05b5f7b04cb8ac6e1.jpg","text":"TemporaryFile(/tmp/multipartBody129690381859079715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329028711,"filename":"image_12072025_16_02_24_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d2315e859edae11a5da8dc44d1d2164.jpg","text":"TemporaryFile(/tmp/multipartBody1649500657461158062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329028711,"filename":"image_12072025_16_02_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03598467e6a552336074fa122ed08e88.jpg","text":"TemporaryFile(/tmp/multipartBody4901619682053724507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329028711,"filename":"image_12072025_16_02_04_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0906f87723226853a8dd67df9d3af697.jpg","text":"TemporaryFile(/tmp/multipartBody7294939212120212584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329028711,"filename":"image_12072025_16_01_54_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0c9a0d38b48234319e810a7e9d5cd35.jpg","text":"TemporaryFile(/tmp/multipartBody2912101789440177482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329028711,"filename":"image_12072025_16_02_14_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371898977","file1":"1371898966","file0":"1371898962","file4":"1371899013","file5":"1371899021","file3":"1371899003"},"map_files_photo_id_array":[{"photo_id":"1371899021","filename":"file5"},{"photo_id":"1371898977","filename":"file2"},{"photo_id":"1371899013","filename":"file4"},{"photo_id":"1371898966","filename":"file1"},{"photo_id":"1371898962","filename":"file0"},{"photo_id":"1371899003","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371898966":["hashtag1","hashtag2"]},{"1371898977":["hashtag1","hashtag2"]},{"1371898962":["hashtag1","hashtag2"]},{"1371899013":["hashtag1","hashtag2"]},{"1371899021":["hashtag1","hashtag2"]},{"1371899003":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371898966, 1371898977, 1371898962, 1371899013, 1371899021, 1371899003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.030749559402466 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:03:32.326373
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_44_9687.jpg', 2), ('/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_34_10700.jpg', 2), ('/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_24_9678.jpg', 2), ('/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_14_9723.jpg', 2), ('/home/nano/Desktop/images/12072025/16/02/image_12072025_16_03_04_10742.jpg', 2), ('/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_53_9692.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_44_9687.jpg', '/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_34_10700.jpg', '/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_24_9678.jpg', '/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_14_9723.jpg', '/home/nano/Desktop/images/12072025/16/02/image_12072025_16_03_04_10742.jpg', '/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_53_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_44_9687.jpg
/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_34_10700.jpg
/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_24_9678.jpg
/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_14_9723.jpg
/home/nano/Desktop/images/12072025/16/02/image_12072025_16_03_04_10742.jpg
/home/nano/Desktop/images/12072025/16/02/image_12072025_16_02_53_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899302","1371899295","1371899244","1371899304","1371899306","1371899269"],"photo_ids_order":["1371899244","1371899269","1371899295","1371899302","1371899304","1371899306"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e843a96bd46b3a3cd5be36390ccd6185.jpg","text":"TemporaryFile(/tmp/multipartBody1950639836881702899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329074202,"filename":"image_12072025_16_03_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e01909179b7eed264ca511a62b62ca19.jpg","text":"TemporaryFile(/tmp/multipartBody8315685286161306029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329074202,"filename":"image_12072025_16_03_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54c5b9f81dc37e3a37d60e16c9a03917.jpg","text":"TemporaryFile(/tmp/multipartBody5787640596166395429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329074202,"filename":"image_12072025_16_03_44_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d87e0372d10184384f67fa1584760f62.jpg","text":"TemporaryFile(/tmp/multipartBody6545767638033565345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329074202,"filename":"image_12072025_16_03_04_10742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55636eccb940f023f60e39a8cc9a2b9a.jpg","text":"TemporaryFile(/tmp/multipartBody4173278186259542464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329074202,"filename":"image_12072025_16_02_53_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e799db458dc9e457930ebe6a878bf0d.jpg","text":"TemporaryFile(/tmp/multipartBody1928945378999701340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329074202,"filename":"image_12072025_16_03_34_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899295","file1":"1371899269","file0":"1371899244","file4":"1371899304","file5":"1371899306","file3":"1371899302"},"map_files_photo_id_array":[{"photo_id":"1371899306","filename":"file5"},{"photo_id":"1371899295","filename":"file2"},{"photo_id":"1371899304","filename":"file4"},{"photo_id":"1371899269","filename":"file1"},{"photo_id":"1371899244","filename":"file0"},{"photo_id":"1371899302","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899302":["hashtag1","hashtag2"]},{"1371899295":["hashtag1","hashtag2"]},{"1371899244":["hashtag1","hashtag2"]},{"1371899304":["hashtag1","hashtag2"]},{"1371899306":["hashtag1","hashtag2"]},{"1371899269":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899302, 1371899295, 1371899244, 1371899304, 1371899306, 1371899269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34264039993286 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:04:17.412941
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_44_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_33_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_24_9673.jpg', 2), ('/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_14_10769.jpg', 2), ('/home/nano/Desktop/images/12072025/16/03/image_12072025_16_04_03_9698.jpg', 2), ('/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_54_9760.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_44_10629.jpg', '/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_33_9669.jpg', '/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_24_9673.jpg', '/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_14_10769.jpg', '/home/nano/Desktop/images/12072025/16/03/image_12072025_16_04_03_9698.jpg', '/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_54_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_44_10629.jpg
/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_33_9669.jpg
/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_24_9673.jpg
/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_14_10769.jpg
/home/nano/Desktop/images/12072025/16/03/image_12072025_16_04_03_9698.jpg
/home/nano/Desktop/images/12072025/16/03/image_12072025_16_03_54_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899437","1371899427","1371899406","1371899436","1371899383","1371899434"],"photo_ids_order":["1371899383","1371899406","1371899427","1371899434","1371899436","1371899437"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/110a516c72dde9fcaff057a2e55f97f0.jpg","text":"TemporaryFile(/tmp/multipartBody8272655851384663439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329119097,"filename":"image_12072025_16_03_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1825234a3bbb602bbeedfbd5a17fd560.jpg","text":"TemporaryFile(/tmp/multipartBody5882676428075157788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329119097,"filename":"image_12072025_16_04_24_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f2044d3bbdb2fdbdf3f5682c1460a19.jpg","text":"TemporaryFile(/tmp/multipartBody8061579231382177381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329119097,"filename":"image_12072025_16_04_33_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf1e803f77930f8d215768df88d9240e.jpg","text":"TemporaryFile(/tmp/multipartBody625725972274599484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329119097,"filename":"image_12072025_16_04_03_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7709e4af812ad7f066fca7b38bee4a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1098051208453841122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329119097,"filename":"image_12072025_16_04_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c119633d3005dffc392a6639e6ffc9b4.jpg","text":"TemporaryFile(/tmp/multipartBody2912116595466679669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329119097,"filename":"image_12072025_16_04_14_10769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899427","file1":"1371899406","file0":"1371899383","file4":"1371899436","file5":"1371899437","file3":"1371899434"},"map_files_photo_id_array":[{"photo_id":"1371899437","filename":"file5"},{"photo_id":"1371899427","filename":"file2"},{"photo_id":"1371899436","filename":"file4"},{"photo_id":"1371899406","filename":"file1"},{"photo_id":"1371899383","filename":"file0"},{"photo_id":"1371899434","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899437":["hashtag1","hashtag2"]},{"1371899427":["hashtag1","hashtag2"]},{"1371899406":["hashtag1","hashtag2"]},{"1371899436":["hashtag1","hashtag2"]},{"1371899383":["hashtag1","hashtag2"]},{"1371899434":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899437, 1371899427, 1371899406, 1371899436, 1371899383, 1371899434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.48532772064209 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:05:03.161060
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/23/image_10072025_17_23_43_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/23/image_10072025_17_23_34_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/23/image_10072025_17_23_13_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/17/22/image_10072025_17_23_04_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/17/22/image_10072025_17_22_54_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/17/22/image_10072025_17_22_34_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/23/image_10072025_17_23_43_9626.jpg', '/home/nano/Desktop/images/10072025/17/23/image_10072025_17_23_34_9633.jpg', '/home/nano/Desktop/images/10072025/17/23/image_10072025_17_23_13_9661.jpg', '/home/nano/Desktop/images/10072025/17/22/image_10072025_17_23_04_9639.jpg', '/home/nano/Desktop/images/10072025/17/22/image_10072025_17_22_54_10637.jpg', '/home/nano/Desktop/images/10072025/17/22/image_10072025_17_22_34_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/23/image_10072025_17_23_43_9626.jpg
/home/nano/Desktop/images/10072025/17/23/image_10072025_17_23_34_9633.jpg
/home/nano/Desktop/images/10072025/17/23/image_10072025_17_23_13_9661.jpg
/home/nano/Desktop/images/10072025/17/22/image_10072025_17_23_04_9639.jpg
/home/nano/Desktop/images/10072025/17/22/image_10072025_17_22_54_10637.jpg
/home/nano/Desktop/images/10072025/17/22/image_10072025_17_22_34_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899451","1371899445","1371899447","1371899450","1371899452","1371899449"],"photo_ids_order":["1371899445","1371899447","1371899449","1371899450","1371899451","1371899452"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3aa13e8b9fc0ab613b8c627d056c7bac.jpg","text":"TemporaryFile(/tmp/multipartBody3530153259208498455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329165980,"filename":"image_10072025_17_22_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/daf38d3125c143ea6949bf8a5c75822d.jpg","text":"TemporaryFile(/tmp/multipartBody1886126671403434299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329165980,"filename":"image_10072025_17_23_43_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/085df9a50a7f9867d393c9908415f9c4.jpg","text":"TemporaryFile(/tmp/multipartBody4467717100156358804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329165980,"filename":"image_10072025_17_23_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1267bd698fcceafeebe9576770bfdcc7.jpg","text":"TemporaryFile(/tmp/multipartBody6351966458782374156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329165980,"filename":"image_10072025_17_23_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c10fe1d79d5da572fc61563895253372.jpg","text":"TemporaryFile(/tmp/multipartBody144757834286567236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329165980,"filename":"image_10072025_17_22_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf11511f560603cc7a5ee2b8e1006912.jpg","text":"TemporaryFile(/tmp/multipartBody4718683133824752701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329165980,"filename":"image_10072025_17_23_13_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899449","file1":"1371899447","file0":"1371899445","file4":"1371899451","file5":"1371899452","file3":"1371899450"},"map_files_photo_id_array":[{"photo_id":"1371899452","filename":"file5"},{"photo_id":"1371899449","filename":"file2"},{"photo_id":"1371899451","filename":"file4"},{"photo_id":"1371899447","filename":"file1"},{"photo_id":"1371899445","filename":"file0"},{"photo_id":"1371899450","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371899451":["hashtag1","hashtag2"]},{"1371899445":["hashtag1","hashtag2"]},{"1371899447":["hashtag1","hashtag2"]},{"1371899450":["hashtag1","hashtag2"]},{"1371899452":["hashtag1","hashtag2"]},{"1371899449":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371899451, 1371899445, 1371899447, 1371899450, 1371899452, 1371899449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38731122016907 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:05:47.534109
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_44_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_24_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_14_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_44_9614.jpg', '/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_34_10623.jpg', '/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_24_9609.jpg', '/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_14_10644.jpg', '/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_44_9614.jpg
/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_34_10623.jpg
/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_24_9609.jpg
/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_14_10644.jpg
/home/nano/Desktop/images/12072025/16/04/image_12072025_16_04_54_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899460","1371899463","1371899462","1371899456","1371899458"],"photo_ids_order":["1371899456","1371899458","1371899460","1371899462","1371899463"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aff84fc8b8bc92c8a97739595f659feb.jpg","text":"TemporaryFile(/tmp/multipartBody5926839990289979063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329208855,"filename":"image_12072025_16_05_24_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a819cddf51a08cf9d5c7e3c7e1b827ce.jpg","text":"TemporaryFile(/tmp/multipartBody3190055866249261390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329208855,"filename":"image_12072025_16_04_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac0284abf615b0d9def51fb9ca91a276.jpg","text":"TemporaryFile(/tmp/multipartBody5808533153388001461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329208855,"filename":"image_12072025_16_05_14_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee5446cdbe1740b5474fcbb422dde047.jpg","text":"TemporaryFile(/tmp/multipartBody6142390904168883459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329208855,"filename":"image_12072025_16_05_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7b1895728ce5104b5c1f81df8885097.jpg","text":"TemporaryFile(/tmp/multipartBody9201547798656619076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329208855,"filename":"image_12072025_16_05_34_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899460","file1":"1371899458","file0":"1371899456","file4":"1371899463","file3":"1371899462"},"map_files_photo_id_array":[{"photo_id":"1371899460","filename":"file2"},{"photo_id":"1371899463","filename":"file4"},{"photo_id":"1371899458","filename":"file1"},{"photo_id":"1371899456","filename":"file0"},{"photo_id":"1371899462","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899460":["hashtag1","hashtag2"]},{"1371899463":["hashtag1","hashtag2"]},{"1371899462":["hashtag1","hashtag2"]},{"1371899456":["hashtag1","hashtag2"]},{"1371899458":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899460, 1371899463, 1371899462, 1371899456, 1371899458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.970837354660034 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:06:17.619595
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_34_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_23_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_14_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/16/05/image_12072025_16_06_04_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_53_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_44_9616.jpg', '/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_34_10630.jpg', '/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_23_9630.jpg', '/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_14_9657.jpg', '/home/nano/Desktop/images/12072025/16/05/image_12072025_16_06_04_10634.jpg', '/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_53_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_44_9616.jpg
/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_34_10630.jpg
/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_23_9630.jpg
/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_14_9657.jpg
/home/nano/Desktop/images/12072025/16/05/image_12072025_16_06_04_10634.jpg
/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_53_9613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.984891414642334 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:06:32.657839
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_34_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_23_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_14_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/16/05/image_12072025_16_06_04_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_53_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_44_9616.jpg', '/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_34_10630.jpg', '/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_23_9630.jpg', '/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_14_9657.jpg', '/home/nano/Desktop/images/12072025/16/05/image_12072025_16_06_04_10634.jpg', '/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_53_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_44_9616.jpg
/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_34_10630.jpg
/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_23_9630.jpg
/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_14_9657.jpg
/home/nano/Desktop/images/12072025/16/05/image_12072025_16_06_04_10634.jpg
/home/nano/Desktop/images/12072025/16/05/image_12072025_16_05_53_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899481","1371899475","1371899484","1371899478","1371899483","1371899477"],"photo_ids_order":["1371899475","1371899477","1371899478","1371899481","1371899483","1371899484"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32c1c49f719320f55c9c416c7b030f13.jpg","text":"TemporaryFile(/tmp/multipartBody4174970878398844314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329254182,"filename":"image_12072025_16_06_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c1d0981e0f277c728343d4a75412ec3.jpg","text":"TemporaryFile(/tmp/multipartBody2460217152096886695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329254182,"filename":"image_12072025_16_06_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/479bf00b5d35cf8a4672e7d75b8c9020.jpg","text":"TemporaryFile(/tmp/multipartBody1693675228060617496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329254182,"filename":"image_12072025_16_05_53_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fde5f777ee7e97176b9dfef0d4f1231.jpg","text":"TemporaryFile(/tmp/multipartBody1925962455024866105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329254182,"filename":"image_12072025_16_06_23_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e7b963d7dd0d70825c901e8602dd690.jpg","text":"TemporaryFile(/tmp/multipartBody3121830798620267053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329254182,"filename":"image_12072025_16_06_04_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09f838b30bffa69b3ec2645948e046f4.jpg","text":"TemporaryFile(/tmp/multipartBody9024357139182252024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329254182,"filename":"image_12072025_16_06_34_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899478","file1":"1371899477","file0":"1371899475","file4":"1371899483","file5":"1371899484","file3":"1371899481"},"map_files_photo_id_array":[{"photo_id":"1371899484","filename":"file5"},{"photo_id":"1371899478","filename":"file2"},{"photo_id":"1371899483","filename":"file4"},{"photo_id":"1371899477","filename":"file1"},{"photo_id":"1371899475","filename":"file0"},{"photo_id":"1371899481","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899481":["hashtag1","hashtag2"]},{"1371899475":["hashtag1","hashtag2"]},{"1371899484":["hashtag1","hashtag2"]},{"1371899478":["hashtag1","hashtag2"]},{"1371899483":["hashtag1","hashtag2"]},{"1371899477":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899481, 1371899475, 1371899484, 1371899478, 1371899483, 1371899477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.740605115890503 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:07:16.807344
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_43_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_34_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_24_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_13_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/16/06/image_12072025_16_07_04_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_43_9628.jpg', '/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_34_9620.jpg', '/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_24_10631.jpg', '/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_13_9631.jpg', '/home/nano/Desktop/images/12072025/16/06/image_12072025_16_07_04_9628.jpg', '/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_43_9628.jpg
/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_34_9620.jpg
/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_24_10631.jpg
/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_13_9631.jpg
/home/nano/Desktop/images/12072025/16/06/image_12072025_16_07_04_9628.jpg
/home/nano/Desktop/images/12072025/16/06/image_12072025_16_06_54_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899496","1371899499","1371899490","1371899494","1371899491","1371899488"],"photo_ids_order":["1371899488","1371899490","1371899491","1371899494","1371899496","1371899499"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10dd4b0b9cc72646320aa259acb527c6.jpg","text":"TemporaryFile(/tmp/multipartBody8941494705621064659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329298450,"filename":"image_12072025_16_07_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85d70282406d110bdc3e8fe48f8f945f.jpg","text":"TemporaryFile(/tmp/multipartBody8382353698505158249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329298450,"filename":"image_12072025_16_06_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b99ba68b905e7916a0becb2ebec110b.jpg","text":"TemporaryFile(/tmp/multipartBody2430757507551287918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329298450,"filename":"image_12072025_16_07_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee4daef32dc8a0697f23f6c62c811e33.jpg","text":"TemporaryFile(/tmp/multipartBody6208632293458551537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329298450,"filename":"image_12072025_16_07_13_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78c4ffe2ce870ca2c38c466144ba0eba.jpg","text":"TemporaryFile(/tmp/multipartBody7626615832518295157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329298450,"filename":"image_12072025_16_07_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7501da8a569378cb2348418b39e3fcf.jpg","text":"TemporaryFile(/tmp/multipartBody6973224997307444536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329298450,"filename":"image_12072025_16_07_43_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899491","file1":"1371899490","file0":"1371899488","file4":"1371899496","file5":"1371899499","file3":"1371899494"},"map_files_photo_id_array":[{"photo_id":"1371899499","filename":"file5"},{"photo_id":"1371899491","filename":"file2"},{"photo_id":"1371899496","filename":"file4"},{"photo_id":"1371899490","filename":"file1"},{"photo_id":"1371899488","filename":"file0"},{"photo_id":"1371899494","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899496":["hashtag1","hashtag2"]},{"1371899499":["hashtag1","hashtag2"]},{"1371899490":["hashtag1","hashtag2"]},{"1371899494":["hashtag1","hashtag2"]},{"1371899491":["hashtag1","hashtag2"]},{"1371899488":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899496, 1371899499, 1371899490, 1371899494, 1371899491, 1371899488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.86343502998352 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:08:31.926832
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_44_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_34_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_24_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_14_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/16/07/image_12072025_16_08_04_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_54_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_44_10636.jpg', '/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_34_9626.jpg', '/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_24_9633.jpg', '/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_14_10647.jpg', '/home/nano/Desktop/images/12072025/16/07/image_12072025_16_08_04_9617.jpg', '/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_54_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_44_10636.jpg
/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_34_9626.jpg
/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_24_9633.jpg
/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_14_10647.jpg
/home/nano/Desktop/images/12072025/16/07/image_12072025_16_08_04_9617.jpg
/home/nano/Desktop/images/12072025/16/07/image_12072025_16_07_54_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899509","1371899506","1371899511","1371899505","1371899507","1371899512"],"photo_ids_order":["1371899505","1371899506","1371899507","1371899509","1371899511","1371899512"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f2152e0c60350e8dcd9484284f9e6f5.jpg","text":"TemporaryFile(/tmp/multipartBody4981742440193291248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329374052,"filename":"image_12072025_16_08_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb31d9cc725604a9f486fd3d25362f6a.jpg","text":"TemporaryFile(/tmp/multipartBody7502218430788363367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329374052,"filename":"image_12072025_16_08_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f09bcf9ae099aec2e919a3fc2a2d3b6b.jpg","text":"TemporaryFile(/tmp/multipartBody3812172813546407013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329374052,"filename":"image_12072025_16_08_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c703d0f1ff80547f102fcc603e54e9a2.jpg","text":"TemporaryFile(/tmp/multipartBody8781280404405457454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329374052,"filename":"image_12072025_16_08_44_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba1a1d72d1ae7583697fffa16dae3304.jpg","text":"TemporaryFile(/tmp/multipartBody5214885199607521198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329374052,"filename":"image_12072025_16_08_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e9b005c4e1af4b8c17296d41ae370a6.jpg","text":"TemporaryFile(/tmp/multipartBody2671170503900734248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329374052,"filename":"image_12072025_16_07_54_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899507","file1":"1371899506","file0":"1371899505","file4":"1371899511","file5":"1371899512","file3":"1371899509"},"map_files_photo_id_array":[{"photo_id":"1371899512","filename":"file5"},{"photo_id":"1371899507","filename":"file2"},{"photo_id":"1371899511","filename":"file4"},{"photo_id":"1371899506","filename":"file1"},{"photo_id":"1371899505","filename":"file0"},{"photo_id":"1371899509","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899509":["hashtag1","hashtag2"]},{"1371899506":["hashtag1","hashtag2"]},{"1371899511":["hashtag1","hashtag2"]},{"1371899505":["hashtag1","hashtag2"]},{"1371899507":["hashtag1","hashtag2"]},{"1371899512":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899509, 1371899506, 1371899511, 1371899505, 1371899507, 1371899512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.533021688461304 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:09:17.036080
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_33_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_24_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_14_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/16/08/image_12072025_16_09_03_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_54_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_33_9624.jpg', '/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_24_9629.jpg', '/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_14_10643.jpg', '/home/nano/Desktop/images/12072025/16/08/image_12072025_16_09_03_9616.jpg', '/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_54_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_33_9624.jpg
/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_24_9629.jpg
/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_14_10643.jpg
/home/nano/Desktop/images/12072025/16/08/image_12072025_16_09_03_9616.jpg
/home/nano/Desktop/images/12072025/16/08/image_12072025_16_08_54_9622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899521","1371899523","1371899526","1371899520","1371899525"],"photo_ids_order":["1371899520","1371899521","1371899523","1371899525","1371899526"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7dee57975b73896bbc95dc1e5f27f23b.jpg","text":"TemporaryFile(/tmp/multipartBody7503888778128290727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329418532,"filename":"image_12072025_16_09_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89a8a222e7a1183fa84731d0bf23a288.jpg","text":"TemporaryFile(/tmp/multipartBody624991452313709005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329418532,"filename":"image_12072025_16_09_14_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31f014626afe817e5e92a7741fc5eee8.jpg","text":"TemporaryFile(/tmp/multipartBody5506930974708039478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329418532,"filename":"image_12072025_16_08_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e171eac2fdba50214e02a25e21c5029.jpg","text":"TemporaryFile(/tmp/multipartBody2124795550804325840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329418532,"filename":"image_12072025_16_09_33_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb3908363926b30ddc4da15703880f42.jpg","text":"TemporaryFile(/tmp/multipartBody5228978221909119269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329418532,"filename":"image_12072025_16_09_03_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899523","file1":"1371899521","file0":"1371899520","file4":"1371899526","file3":"1371899525"},"map_files_photo_id_array":[{"photo_id":"1371899523","filename":"file2"},{"photo_id":"1371899526","filename":"file4"},{"photo_id":"1371899521","filename":"file1"},{"photo_id":"1371899520","filename":"file0"},{"photo_id":"1371899525","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899521":["hashtag1","hashtag2"]},{"1371899523":["hashtag1","hashtag2"]},{"1371899526":["hashtag1","hashtag2"]},{"1371899520":["hashtag1","hashtag2"]},{"1371899525":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899521, 1371899523, 1371899526, 1371899520, 1371899525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.544552326202393 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:09:47.049271
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/22/image_10072025_17_22_24_10635.jpg', 2), ('/home/nano/Desktop/images/10072025/17/22/image_10072025_17_22_13_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_53_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_43_9600.jpg', 2), ('/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_34_10615.jpg', 2), ('/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_23_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/22/image_10072025_17_22_24_10635.jpg', '/home/nano/Desktop/images/10072025/17/22/image_10072025_17_22_13_9647.jpg', '/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_53_9624.jpg', '/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_43_9600.jpg', '/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_34_10615.jpg', '/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_23_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/22/image_10072025_17_22_24_10635.jpg
/home/nano/Desktop/images/10072025/17/22/image_10072025_17_22_13_9647.jpg
/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_53_9624.jpg
/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_43_9600.jpg
/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_34_10615.jpg
/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_23_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899536","1371899541","1371899538","1371899549","1371899551","1371899545"],"photo_ids_order":["1371899536","1371899538","1371899541","1371899545","1371899549","1371899551"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/701a53442e417054cc326c1227b53cae.jpg","text":"TemporaryFile(/tmp/multipartBody1519912287290681258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329450164,"filename":"image_10072025_17_22_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5256b871f25c0c49b11078aee7eb9ab.jpg","text":"TemporaryFile(/tmp/multipartBody6162863636899268303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329450164,"filename":"image_10072025_17_21_53_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6700f2f130d22178a5b54cf4fd9d9864.jpg","text":"TemporaryFile(/tmp/multipartBody888090562672266549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329450164,"filename":"image_10072025_17_22_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae4b78162bb6f23289b2bd80f4d2f756.jpg","text":"TemporaryFile(/tmp/multipartBody181252399047014017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329450164,"filename":"image_10072025_17_21_34_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2853f73e3844d26316b7bfeefcc15de4.jpg","text":"TemporaryFile(/tmp/multipartBody4239142409439275679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329450164,"filename":"image_10072025_17_21_23_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e9adb278e6f62bc688f4a777c579903.jpg","text":"TemporaryFile(/tmp/multipartBody3548190562440073125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329450164,"filename":"image_10072025_17_21_43_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899541","file1":"1371899538","file0":"1371899536","file4":"1371899549","file5":"1371899551","file3":"1371899545"},"map_files_photo_id_array":[{"photo_id":"1371899551","filename":"file5"},{"photo_id":"1371899541","filename":"file2"},{"photo_id":"1371899549","filename":"file4"},{"photo_id":"1371899538","filename":"file1"},{"photo_id":"1371899536","filename":"file0"},{"photo_id":"1371899545","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371899536":["hashtag1","hashtag2"]},{"1371899541":["hashtag1","hashtag2"]},{"1371899538":["hashtag1","hashtag2"]},{"1371899549":["hashtag1","hashtag2"]},{"1371899551":["hashtag1","hashtag2"]},{"1371899545":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371899536, 1371899541, 1371899538, 1371899549, 1371899551, 1371899545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68255543708801 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:10:32.167094
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_44_10752.jpg', 2), ('/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_33_9727.jpg', 2), ('/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_24_9735.jpg', 2), ('/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_14_9704.jpg', 2), ('/home/nano/Desktop/images/12072025/16/09/image_12072025_16_10_04_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_44_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_44_10752.jpg', '/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_33_9727.jpg', '/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_24_9735.jpg', '/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_14_9704.jpg', '/home/nano/Desktop/images/12072025/16/09/image_12072025_16_10_04_10642.jpg', '/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_44_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_44_10752.jpg
/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_33_9727.jpg
/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_24_9735.jpg
/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_14_9704.jpg
/home/nano/Desktop/images/12072025/16/09/image_12072025_16_10_04_10642.jpg
/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_44_10631.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5554251670837402 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:10:47.166687
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_44_10752.jpg', 2), ('/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_33_9727.jpg', 2), ('/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_24_9735.jpg', 2), ('/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_14_9704.jpg', 2), ('/home/nano/Desktop/images/12072025/16/09/image_12072025_16_10_04_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_44_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_44_10752.jpg', '/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_33_9727.jpg', '/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_24_9735.jpg', '/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_14_9704.jpg', '/home/nano/Desktop/images/12072025/16/09/image_12072025_16_10_04_10642.jpg', '/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_44_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_44_10752.jpg
/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_33_9727.jpg
/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_24_9735.jpg
/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_14_9704.jpg
/home/nano/Desktop/images/12072025/16/09/image_12072025_16_10_04_10642.jpg
/home/nano/Desktop/images/12072025/16/09/image_12072025_16_09_44_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899568","1371899571","1371899575","1371899563","1371899572","1371899566"],"photo_ids_order":["1371899563","1371899566","1371899568","1371899571","1371899572","1371899575"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c62757e9f8c1c337a89869dc6a6b5fb1.jpg","text":"TemporaryFile(/tmp/multipartBody160144370864218315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329509070,"filename":"image_12072025_16_10_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1304a48451059d093db1c504bb1a8f18.jpg","text":"TemporaryFile(/tmp/multipartBody866827203765646229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329509070,"filename":"image_12072025_16_10_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f3eeb47152d0c7aaaf8b36c2495c320.jpg","text":"TemporaryFile(/tmp/multipartBody5251408056641715438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329509070,"filename":"image_12072025_16_09_44_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a2cbcf52b3ae015c99bca6446ae8427.jpg","text":"TemporaryFile(/tmp/multipartBody6067879422917201924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329509070,"filename":"image_12072025_16_10_44_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98765653f4c0bc4ea81241c83de8c7e9.jpg","text":"TemporaryFile(/tmp/multipartBody8144570504060823228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329509070,"filename":"image_12072025_16_10_04_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3eb0412745e4b66a44b392fc6602f258.jpg","text":"TemporaryFile(/tmp/multipartBody656019267343181029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329509070,"filename":"image_12072025_16_10_33_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899568","file1":"1371899566","file0":"1371899563","file4":"1371899572","file5":"1371899575","file3":"1371899571"},"map_files_photo_id_array":[{"photo_id":"1371899575","filename":"file5"},{"photo_id":"1371899568","filename":"file2"},{"photo_id":"1371899572","filename":"file4"},{"photo_id":"1371899566","filename":"file1"},{"photo_id":"1371899563","filename":"file0"},{"photo_id":"1371899571","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899568":["hashtag1","hashtag2"]},{"1371899571":["hashtag1","hashtag2"]},{"1371899575":["hashtag1","hashtag2"]},{"1371899563":["hashtag1","hashtag2"]},{"1371899572":["hashtag1","hashtag2"]},{"1371899566":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899568, 1371899571, 1371899575, 1371899563, 1371899572, 1371899566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27198934555054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:11:32.283139
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_43_9735.jpg', 2), ('/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_34_9725.jpg', 2), ('/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_24_9716.jpg', 2), ('/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_14_10723.jpg', 2), ('/home/nano/Desktop/images/12072025/16/10/image_12072025_16_11_04_9709.jpg', 2), ('/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_54_9678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_43_9735.jpg', '/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_34_9725.jpg', '/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_24_9716.jpg', '/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_14_10723.jpg', '/home/nano/Desktop/images/12072025/16/10/image_12072025_16_11_04_9709.jpg', '/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_54_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_43_9735.jpg
/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_34_9725.jpg
/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_24_9716.jpg
/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_14_10723.jpg
/home/nano/Desktop/images/12072025/16/10/image_12072025_16_11_04_9709.jpg
/home/nano/Desktop/images/12072025/16/10/image_12072025_16_10_54_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899586","1371899580","1371899582","1371899579","1371899584","1371899578"],"photo_ids_order":["1371899578","1371899579","1371899580","1371899582","1371899584","1371899586"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/119bdd667a4f0e99b9486c8533617b02.jpg","text":"TemporaryFile(/tmp/multipartBody7486582794697340343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329554788,"filename":"image_12072025_16_10_54_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed5f3bbd226d5a80906a8f57b53f0fe2.jpg","text":"TemporaryFile(/tmp/multipartBody9191180362749584704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329554788,"filename":"image_12072025_16_11_24_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/584f78e8eb606f602590bbc6b2fc6594.jpg","text":"TemporaryFile(/tmp/multipartBody2990996906934855717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329554788,"filename":"image_12072025_16_11_14_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/116ec91c0fd1cb4144e28e9b2ee59740.jpg","text":"TemporaryFile(/tmp/multipartBody1964273580504863389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329554788,"filename":"image_12072025_16_11_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/897238e42e8876a70294a183df630e68.jpg","text":"TemporaryFile(/tmp/multipartBody8692773641856980101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329554788,"filename":"image_12072025_16_11_04_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45132cf97db60c7cb52920fc51caf58a.jpg","text":"TemporaryFile(/tmp/multipartBody3652759878206420851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329554788,"filename":"image_12072025_16_11_43_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899580","file1":"1371899579","file0":"1371899578","file4":"1371899584","file5":"1371899586","file3":"1371899582"},"map_files_photo_id_array":[{"photo_id":"1371899586","filename":"file5"},{"photo_id":"1371899580","filename":"file2"},{"photo_id":"1371899584","filename":"file4"},{"photo_id":"1371899579","filename":"file1"},{"photo_id":"1371899578","filename":"file0"},{"photo_id":"1371899582","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899586":["hashtag1","hashtag2"]},{"1371899580":["hashtag1","hashtag2"]},{"1371899582":["hashtag1","hashtag2"]},{"1371899579":["hashtag1","hashtag2"]},{"1371899584":["hashtag1","hashtag2"]},{"1371899578":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899586, 1371899580, 1371899582, 1371899579, 1371899584, 1371899578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.944445371627808 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:12:17.365975
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_44_9725.jpg', 2), ('/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_34_10758.jpg', 2), ('/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_23_9721.jpg', 2), ('/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_14_9744.jpg', 2), ('/home/nano/Desktop/images/12072025/16/11/image_12072025_16_12_04_9738.jpg', 2), ('/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_54_10752.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_44_9725.jpg', '/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_34_10758.jpg', '/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_23_9721.jpg', '/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_14_9744.jpg', '/home/nano/Desktop/images/12072025/16/11/image_12072025_16_12_04_9738.jpg', '/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_54_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_44_9725.jpg
/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_34_10758.jpg
/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_23_9721.jpg
/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_14_9744.jpg
/home/nano/Desktop/images/12072025/16/11/image_12072025_16_12_04_9738.jpg
/home/nano/Desktop/images/12072025/16/11/image_12072025_16_11_54_10752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899598","1371899595","1371899597","1371899600","1371899596","1371899599"],"photo_ids_order":["1371899595","1371899596","1371899597","1371899598","1371899599","1371899600"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d32482c7992db2759954f8c7c23defc.jpg","text":"TemporaryFile(/tmp/multipartBody4129928538319718605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329599827,"filename":"image_12072025_16_12_14_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ff6c9c8eec54c73ff49b18a936dd9bf.jpg","text":"TemporaryFile(/tmp/multipartBody3643832988748498634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329599827,"filename":"image_12072025_16_12_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2da1619fbb3b1159f76bab9feea0d5a4.jpg","text":"TemporaryFile(/tmp/multipartBody7842266281471688845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329599827,"filename":"image_12072025_16_12_23_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/058594b4fbbe08c67dc77782becb8d2d.jpg","text":"TemporaryFile(/tmp/multipartBody5951433666409859136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329599827,"filename":"image_12072025_16_11_54_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7707ded2b2e4de1914a8b6b512941452.jpg","text":"TemporaryFile(/tmp/multipartBody5267000114148343752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329599827,"filename":"image_12072025_16_12_34_10758.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a7e738af01148c1263bbe11bc163c15.jpg","text":"TemporaryFile(/tmp/multipartBody2487821795890822107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329599827,"filename":"image_12072025_16_12_04_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899597","file1":"1371899596","file0":"1371899595","file4":"1371899599","file5":"1371899600","file3":"1371899598"},"map_files_photo_id_array":[{"photo_id":"1371899600","filename":"file5"},{"photo_id":"1371899597","filename":"file2"},{"photo_id":"1371899599","filename":"file4"},{"photo_id":"1371899596","filename":"file1"},{"photo_id":"1371899595","filename":"file0"},{"photo_id":"1371899598","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899598":["hashtag1","hashtag2"]},{"1371899595":["hashtag1","hashtag2"]},{"1371899597":["hashtag1","hashtag2"]},{"1371899600":["hashtag1","hashtag2"]},{"1371899596":["hashtag1","hashtag2"]},{"1371899599":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899598, 1371899595, 1371899597, 1371899600, 1371899596, 1371899599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12740683555603 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:13:03.119652
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_14_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/17/20/image_10072025_17_21_04_10622.jpg', 2), ('/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_53_9605.jpg', 2), ('/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_44_10626.jpg', 2), ('/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_33_9621.jpg', 2), ('/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_24_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_14_9632.jpg', '/home/nano/Desktop/images/10072025/17/20/image_10072025_17_21_04_10622.jpg', '/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_53_9605.jpg', '/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_44_10626.jpg', '/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_33_9621.jpg', '/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_24_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/21/image_10072025_17_21_14_9632.jpg
/home/nano/Desktop/images/10072025/17/20/image_10072025_17_21_04_10622.jpg
/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_53_9605.jpg
/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_44_10626.jpg
/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_33_9621.jpg
/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_24_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899608","1371899613","1371899615","1371899609","1371899612","1371899611"],"photo_ids_order":["1371899608","1371899609","1371899611","1371899612","1371899613","1371899615"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27d6de91479190fdfaf1311a33618c4e.jpg","text":"TemporaryFile(/tmp/multipartBody2479496751445996375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329647250,"filename":"image_10072025_17_21_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c78cc67b476704d6bae19db10f2fd8f.jpg","text":"TemporaryFile(/tmp/multipartBody6152761834592215562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329647250,"filename":"image_10072025_17_20_33_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e446702d7f916d268f3d4e4040a10631.jpg","text":"TemporaryFile(/tmp/multipartBody9211558742489682286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329647250,"filename":"image_10072025_17_20_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44075315db159adacba4a8f0a3bfe7bc.jpg","text":"TemporaryFile(/tmp/multipartBody1082049751554461167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329647250,"filename":"image_10072025_17_21_04_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef965569025110950de81986627353f7.jpg","text":"TemporaryFile(/tmp/multipartBody6421343191611675626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329647250,"filename":"image_10072025_17_20_44_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a85a935cedf7a2ddddd79a3b58a7d3e5.jpg","text":"TemporaryFile(/tmp/multipartBody626467004957099601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329647250,"filename":"image_10072025_17_20_53_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899611","file1":"1371899609","file0":"1371899608","file4":"1371899613","file5":"1371899615","file3":"1371899612"},"map_files_photo_id_array":[{"photo_id":"1371899615","filename":"file5"},{"photo_id":"1371899611","filename":"file2"},{"photo_id":"1371899613","filename":"file4"},{"photo_id":"1371899609","filename":"file1"},{"photo_id":"1371899608","filename":"file0"},{"photo_id":"1371899612","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371899608":["hashtag1","hashtag2"]},{"1371899613":["hashtag1","hashtag2"]},{"1371899615":["hashtag1","hashtag2"]},{"1371899609":["hashtag1","hashtag2"]},{"1371899612":["hashtag1","hashtag2"]},{"1371899611":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371899608, 1371899613, 1371899615, 1371899609, 1371899612, 1371899611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60285758972168 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:13:47.463113
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_44_10739.jpg', 2), ('/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_33_9687.jpg', 2), ('/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_24_9739.jpg', 2), ('/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_14_10744.jpg', 2), ('/home/nano/Desktop/images/12072025/16/12/image_12072025_16_13_03_9730.jpg', 2), ('/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_54_9712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_44_10739.jpg', '/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_33_9687.jpg', '/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_24_9739.jpg', '/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_14_10744.jpg', '/home/nano/Desktop/images/12072025/16/12/image_12072025_16_13_03_9730.jpg', '/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_54_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_44_10739.jpg
/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_33_9687.jpg
/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_24_9739.jpg
/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_14_10744.jpg
/home/nano/Desktop/images/12072025/16/12/image_12072025_16_13_03_9730.jpg
/home/nano/Desktop/images/12072025/16/12/image_12072025_16_12_54_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899623","1371899625","1371899634","1371899633","1371899627","1371899630"],"photo_ids_order":["1371899623","1371899625","1371899627","1371899630","1371899633","1371899634"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5823a2f0f708bc71c9480eb3f8f7256.jpg","text":"TemporaryFile(/tmp/multipartBody5516525395198000438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329690129,"filename":"image_12072025_16_13_44_10739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78201778b32b4f6626838f546ef54842.jpg","text":"TemporaryFile(/tmp/multipartBody8379744149019441407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329690129,"filename":"image_12072025_16_13_33_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75d788be91219d38956415de8411931b.jpg","text":"TemporaryFile(/tmp/multipartBody3795086836100191940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329690129,"filename":"image_12072025_16_12_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b632a651f3ec5640aeadb099c32f348.jpg","text":"TemporaryFile(/tmp/multipartBody7764294853492210269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329690129,"filename":"image_12072025_16_13_03_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9e8212cb14d3a6c958bd8571561d601.jpg","text":"TemporaryFile(/tmp/multipartBody5330420274376679359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329690129,"filename":"image_12072025_16_13_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cec02a8ff97209ae780832f1009c45c0.jpg","text":"TemporaryFile(/tmp/multipartBody3292757291104082760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329690129,"filename":"image_12072025_16_13_14_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899627","file1":"1371899625","file0":"1371899623","file4":"1371899633","file5":"1371899634","file3":"1371899630"},"map_files_photo_id_array":[{"photo_id":"1371899634","filename":"file5"},{"photo_id":"1371899627","filename":"file2"},{"photo_id":"1371899633","filename":"file4"},{"photo_id":"1371899625","filename":"file1"},{"photo_id":"1371899623","filename":"file0"},{"photo_id":"1371899630","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899623":["hashtag1","hashtag2"]},{"1371899625":["hashtag1","hashtag2"]},{"1371899634":["hashtag1","hashtag2"]},{"1371899633":["hashtag1","hashtag2"]},{"1371899627":["hashtag1","hashtag2"]},{"1371899630":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899623, 1371899625, 1371899634, 1371899633, 1371899627, 1371899630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29274868965149 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:14:32.588683
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_44_9703.jpg', 2), ('/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_34_9725.jpg', 2), ('/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_24_10682.jpg', 2), ('/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_13_9743.jpg', 2), ('/home/nano/Desktop/images/12072025/16/13/image_12072025_16_14_04_9737.jpg', 2), ('/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_54_9745.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_44_9703.jpg', '/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_34_9725.jpg', '/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_24_10682.jpg', '/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_13_9743.jpg', '/home/nano/Desktop/images/12072025/16/13/image_12072025_16_14_04_9737.jpg', '/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_54_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_44_9703.jpg
/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_34_9725.jpg
/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_24_10682.jpg
/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_13_9743.jpg
/home/nano/Desktop/images/12072025/16/13/image_12072025_16_14_04_9737.jpg
/home/nano/Desktop/images/12072025/16/13/image_12072025_16_13_54_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899641","1371899640","1371899646","1371899644","1371899638","1371899647"],"photo_ids_order":["1371899638","1371899640","1371899641","1371899644","1371899646","1371899647"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df35a211c94d28ea5b936f26d80f2f64.jpg","text":"TemporaryFile(/tmp/multipartBody4419009916403475560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329734802,"filename":"image_12072025_16_14_24_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c84bf96f3a58f942c97d7deac7b708f8.jpg","text":"TemporaryFile(/tmp/multipartBody836761283540215678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329734802,"filename":"image_12072025_16_14_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2d841244b04055202dead6b584271bb.jpg","text":"TemporaryFile(/tmp/multipartBody2031543891879708921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329734802,"filename":"image_12072025_16_14_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afc06961549798735fa75d201898108a.jpg","text":"TemporaryFile(/tmp/multipartBody2394904843615196631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329734802,"filename":"image_12072025_16_14_13_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e198dbc6398a28fd5b362ed7d20dbb44.jpg","text":"TemporaryFile(/tmp/multipartBody5749665984485288892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329734802,"filename":"image_12072025_16_14_44_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd354d7654e00b4874926731dd53fbd7.jpg","text":"TemporaryFile(/tmp/multipartBody1915168733585388783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329734802,"filename":"image_12072025_16_13_54_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899641","file1":"1371899640","file0":"1371899638","file4":"1371899646","file5":"1371899647","file3":"1371899644"},"map_files_photo_id_array":[{"photo_id":"1371899647","filename":"file5"},{"photo_id":"1371899641","filename":"file2"},{"photo_id":"1371899646","filename":"file4"},{"photo_id":"1371899640","filename":"file1"},{"photo_id":"1371899638","filename":"file0"},{"photo_id":"1371899644","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899641":["hashtag1","hashtag2"]},{"1371899640":["hashtag1","hashtag2"]},{"1371899646":["hashtag1","hashtag2"]},{"1371899644":["hashtag1","hashtag2"]},{"1371899638":["hashtag1","hashtag2"]},{"1371899647":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899641, 1371899640, 1371899646, 1371899644, 1371899638, 1371899647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67718696594238 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:15:17.705854
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_44_9700.jpg', 2), ('/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_34_10754.jpg', 2), ('/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_23_9735.jpg', 2), ('/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_14_9765.jpg', 2), ('/home/nano/Desktop/images/12072025/16/14/image_12072025_16_15_04_9730.jpg', 2), ('/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_54_10709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_44_9700.jpg', '/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_34_10754.jpg', '/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_23_9735.jpg', '/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_14_9765.jpg', '/home/nano/Desktop/images/12072025/16/14/image_12072025_16_15_04_9730.jpg', '/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_54_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_44_9700.jpg
/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_34_10754.jpg
/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_23_9735.jpg
/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_14_9765.jpg
/home/nano/Desktop/images/12072025/16/14/image_12072025_16_15_04_9730.jpg
/home/nano/Desktop/images/12072025/16/14/image_12072025_16_14_54_10709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899658","1371899660","1371899654","1371899657","1371899656","1371899659"],"photo_ids_order":["1371899654","1371899656","1371899657","1371899658","1371899659","1371899660"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7df68e55dc7f2a388036aa0dda978729.jpg","text":"TemporaryFile(/tmp/multipartBody5502564176156148519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329781590,"filename":"image_12072025_16_15_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36de3a388b8348cb9a7f8f05543f5e50.jpg","text":"TemporaryFile(/tmp/multipartBody1923176318699301416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329781590,"filename":"image_12072025_16_14_54_10709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55f85e1670cedc2973552e92331a61ca.jpg","text":"TemporaryFile(/tmp/multipartBody3784792240729186665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329781590,"filename":"image_12072025_16_15_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d62a6955942648a0431bdd25c7d6a5fe.jpg","text":"TemporaryFile(/tmp/multipartBody2624467228539373299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329781590,"filename":"image_12072025_16_15_23_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a63dde173af232b0c97f700d3c87344.jpg","text":"TemporaryFile(/tmp/multipartBody6937487567087271148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329781590,"filename":"image_12072025_16_15_34_10754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b381e8195f91cccad695773781dec78.jpg","text":"TemporaryFile(/tmp/multipartBody222110964487375746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329781590,"filename":"image_12072025_16_15_04_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899657","file1":"1371899656","file0":"1371899654","file4":"1371899659","file5":"1371899660","file3":"1371899658"},"map_files_photo_id_array":[{"photo_id":"1371899660","filename":"file5"},{"photo_id":"1371899657","filename":"file2"},{"photo_id":"1371899659","filename":"file4"},{"photo_id":"1371899656","filename":"file1"},{"photo_id":"1371899654","filename":"file0"},{"photo_id":"1371899658","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899658":["hashtag1","hashtag2"]},{"1371899660":["hashtag1","hashtag2"]},{"1371899654":["hashtag1","hashtag2"]},{"1371899657":["hashtag1","hashtag2"]},{"1371899656":["hashtag1","hashtag2"]},{"1371899659":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899658, 1371899660, 1371899654, 1371899657, 1371899656, 1371899659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.531193256378174 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:16:02.349086
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_14_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/17/19/image_10072025_17_20_03_9611.jpg', 2), ('/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_54_10629.jpg', 2), ('/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_43_9605.jpg', 2), ('/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_33_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_24_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_14_10637.jpg', '/home/nano/Desktop/images/10072025/17/19/image_10072025_17_20_03_9611.jpg', '/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_54_10629.jpg', '/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_43_9605.jpg', '/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_33_9613.jpg', '/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_24_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/20/image_10072025_17_20_14_10637.jpg
/home/nano/Desktop/images/10072025/17/19/image_10072025_17_20_03_9611.jpg
/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_54_10629.jpg
/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_43_9605.jpg
/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_33_9613.jpg
/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_24_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899679","1371899673","1371899682","1371899675","1371899680","1371899677"],"photo_ids_order":["1371899673","1371899675","1371899677","1371899679","1371899680","1371899682"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92c97a1c31badaa04549b0699722273c.jpg","text":"TemporaryFile(/tmp/multipartBody5421895348579864592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329825840,"filename":"image_10072025_17_19_43_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e139b7d4fc5cddc637ff3d93220bdf75.jpg","text":"TemporaryFile(/tmp/multipartBody1247544891030401517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329825840,"filename":"image_10072025_17_20_14_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc2a8928f452085f2e4b2b5529d18d0a.jpg","text":"TemporaryFile(/tmp/multipartBody5228057994657950946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329825840,"filename":"image_10072025_17_19_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc1a4c877ab6663bff792b7efdbe4838.jpg","text":"TemporaryFile(/tmp/multipartBody6323333480854818126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329825840,"filename":"image_10072025_17_20_03_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54dd8674fbb59857de19a88972b3bb04.jpg","text":"TemporaryFile(/tmp/multipartBody5828641968106906711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329825840,"filename":"image_10072025_17_19_33_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66b59e5fbd60a8e9a4323651c4dc9a74.jpg","text":"TemporaryFile(/tmp/multipartBody3015510468197619415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329825840,"filename":"image_10072025_17_19_54_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899677","file1":"1371899675","file0":"1371899673","file4":"1371899680","file5":"1371899682","file3":"1371899679"},"map_files_photo_id_array":[{"photo_id":"1371899682","filename":"file5"},{"photo_id":"1371899677","filename":"file2"},{"photo_id":"1371899680","filename":"file4"},{"photo_id":"1371899675","filename":"file1"},{"photo_id":"1371899673","filename":"file0"},{"photo_id":"1371899679","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371899679":["hashtag1","hashtag2"]},{"1371899673":["hashtag1","hashtag2"]},{"1371899682":["hashtag1","hashtag2"]},{"1371899675":["hashtag1","hashtag2"]},{"1371899680":["hashtag1","hashtag2"]},{"1371899677":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371899679, 1371899673, 1371899682, 1371899675, 1371899680, 1371899677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.958998441696167 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:16:46.808034
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_44_9693.jpg', 2), ('/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_34_9806.jpg', 2), ('/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_24_9815.jpg', 2), ('/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_14_10857.jpg', 2), ('/home/nano/Desktop/images/12072025/16/15/image_12072025_16_16_03_9721.jpg', 2), ('/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_54_9682.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_44_9693.jpg', '/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_34_9806.jpg', '/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_24_9815.jpg', '/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_14_10857.jpg', '/home/nano/Desktop/images/12072025/16/15/image_12072025_16_16_03_9721.jpg', '/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_54_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_44_9693.jpg
/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_34_9806.jpg
/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_24_9815.jpg
/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_14_10857.jpg
/home/nano/Desktop/images/12072025/16/15/image_12072025_16_16_03_9721.jpg
/home/nano/Desktop/images/12072025/16/15/image_12072025_16_15_54_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899685","1371899694","1371899688","1371899690","1371899692","1371899686"],"photo_ids_order":["1371899685","1371899686","1371899688","1371899690","1371899692","1371899694"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/245d7d1240b809d3b17cc34b85df99a1.jpg","text":"TemporaryFile(/tmp/multipartBody6722157445213675995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329869371,"filename":"image_12072025_16_16_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/127e3f64e9f85b6cd5407a15c7cbcf27.jpg","text":"TemporaryFile(/tmp/multipartBody7632557808527438867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329869371,"filename":"image_12072025_16_15_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18170da8dc2c3c7565b873e007e1b3a3.jpg","text":"TemporaryFile(/tmp/multipartBody1923533764067019779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329869371,"filename":"image_12072025_16_16_24_9815.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38c08e4e66a97c4810c70eaa80dc69c2.jpg","text":"TemporaryFile(/tmp/multipartBody636347461798667689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329869371,"filename":"image_12072025_16_16_14_10857.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/767e74783a0f623e88dc8161f3a1c6bc.jpg","text":"TemporaryFile(/tmp/multipartBody5477969663383282447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329869371,"filename":"image_12072025_16_16_03_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0828ce0066c91c97721181b17abef3ee.jpg","text":"TemporaryFile(/tmp/multipartBody5852182344535192720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329869371,"filename":"image_12072025_16_16_34_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899688","file1":"1371899686","file0":"1371899685","file4":"1371899692","file5":"1371899694","file3":"1371899690"},"map_files_photo_id_array":[{"photo_id":"1371899694","filename":"file5"},{"photo_id":"1371899688","filename":"file2"},{"photo_id":"1371899692","filename":"file4"},{"photo_id":"1371899686","filename":"file1"},{"photo_id":"1371899685","filename":"file0"},{"photo_id":"1371899690","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899685":["hashtag1","hashtag2"]},{"1371899694":["hashtag1","hashtag2"]},{"1371899688":["hashtag1","hashtag2"]},{"1371899690":["hashtag1","hashtag2"]},{"1371899692":["hashtag1","hashtag2"]},{"1371899686":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899685, 1371899694, 1371899688, 1371899690, 1371899692, 1371899686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90844392776489 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:17:31.936414
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_44_9691.jpg', 2), ('/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_34_10733.jpg', 2), ('/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_23_9690.jpg', 2), ('/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_14_9759.jpg', 2), ('/home/nano/Desktop/images/12072025/16/16/image_12072025_16_17_04_9723.jpg', 2), ('/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_54_10740.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_44_9691.jpg', '/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_34_10733.jpg', '/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_23_9690.jpg', '/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_14_9759.jpg', '/home/nano/Desktop/images/12072025/16/16/image_12072025_16_17_04_9723.jpg', '/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_54_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_44_9691.jpg
/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_34_10733.jpg
/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_23_9690.jpg
/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_14_9759.jpg
/home/nano/Desktop/images/12072025/16/16/image_12072025_16_17_04_9723.jpg
/home/nano/Desktop/images/12072025/16/16/image_12072025_16_16_54_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899697","1371899701","1371899696","1371899700","1371899702","1371899698"],"photo_ids_order":["1371899696","1371899697","1371899698","1371899700","1371899701","1371899702"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb08610dde0c7d23d0176a9195f4b737.jpg","text":"TemporaryFile(/tmp/multipartBody1879562186671903165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329914547,"filename":"image_12072025_16_17_34_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f361cf798a65f1f40a297e8c903728a.jpg","text":"TemporaryFile(/tmp/multipartBody9058692036025386643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329914547,"filename":"image_12072025_16_17_04_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f99f45f0835f75d2f962d83eec67b468.jpg","text":"TemporaryFile(/tmp/multipartBody2641365974871771585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329914547,"filename":"image_12072025_16_17_44_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e394f37981bf023ab7a551de54daa327.jpg","text":"TemporaryFile(/tmp/multipartBody4522152586518873840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329914547,"filename":"image_12072025_16_17_14_9759.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c139af24ae91582fb8b68eb649483b0.jpg","text":"TemporaryFile(/tmp/multipartBody7468358750000462647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329914547,"filename":"image_12072025_16_16_54_10740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/286b24d695a21a7a1494610a94a1b176.jpg","text":"TemporaryFile(/tmp/multipartBody3616279574539612591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329914547,"filename":"image_12072025_16_17_23_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899698","file1":"1371899697","file0":"1371899696","file4":"1371899701","file5":"1371899702","file3":"1371899700"},"map_files_photo_id_array":[{"photo_id":"1371899702","filename":"file5"},{"photo_id":"1371899698","filename":"file2"},{"photo_id":"1371899701","filename":"file4"},{"photo_id":"1371899697","filename":"file1"},{"photo_id":"1371899696","filename":"file0"},{"photo_id":"1371899700","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899697":["hashtag1","hashtag2"]},{"1371899701":["hashtag1","hashtag2"]},{"1371899696":["hashtag1","hashtag2"]},{"1371899700":["hashtag1","hashtag2"]},{"1371899702":["hashtag1","hashtag2"]},{"1371899698":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899697, 1371899701, 1371899696, 1371899700, 1371899702, 1371899698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99334526062012 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:18:17.011348
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_43_9764.jpg', 2), ('/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_34_9718.jpg', 2), ('/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_24_9716.jpg', 2), ('/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_14_10769.jpg', 2), ('/home/nano/Desktop/images/12072025/16/17/image_12072025_16_18_03_9732.jpg', 2), ('/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_54_9734.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_43_9764.jpg', '/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_34_9718.jpg', '/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_24_9716.jpg', '/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_14_10769.jpg', '/home/nano/Desktop/images/12072025/16/17/image_12072025_16_18_03_9732.jpg', '/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_54_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_43_9764.jpg
/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_34_9718.jpg
/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_24_9716.jpg
/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_14_10769.jpg
/home/nano/Desktop/images/12072025/16/17/image_12072025_16_18_03_9732.jpg
/home/nano/Desktop/images/12072025/16/17/image_12072025_16_17_54_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899707","1371899704","1371899718","1371899714","1371899723","1371899710"],"photo_ids_order":["1371899704","1371899707","1371899710","1371899714","1371899718","1371899723"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6d31728810db7dde138f0dfa202c5b3.jpg","text":"TemporaryFile(/tmp/multipartBody1658613348675951435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329959317,"filename":"image_12072025_16_18_34_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f222e7b2c81d9a9502e0ea6f2902750.jpg","text":"TemporaryFile(/tmp/multipartBody6556788283637807725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329959317,"filename":"image_12072025_16_18_43_9764.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bdfa64d90c2b1175ed9f36cbda811091.jpg","text":"TemporaryFile(/tmp/multipartBody8102202109307590903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329959317,"filename":"image_12072025_16_18_03_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0e48c366b7e9d8cad4f00c617edc74c.jpg","text":"TemporaryFile(/tmp/multipartBody3702395172056207978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329959317,"filename":"image_12072025_16_18_14_10769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/428e4af0862568fbf400c4015c0d3d14.jpg","text":"TemporaryFile(/tmp/multipartBody3777122571331289628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329959317,"filename":"image_12072025_16_17_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd05d780e30a1e593436f492d208f70f.jpg","text":"TemporaryFile(/tmp/multipartBody4315975244440166105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752329959317,"filename":"image_12072025_16_18_24_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899710","file1":"1371899707","file0":"1371899704","file4":"1371899718","file5":"1371899723","file3":"1371899714"},"map_files_photo_id_array":[{"photo_id":"1371899723","filename":"file5"},{"photo_id":"1371899710","filename":"file2"},{"photo_id":"1371899718","filename":"file4"},{"photo_id":"1371899707","filename":"file1"},{"photo_id":"1371899704","filename":"file0"},{"photo_id":"1371899714","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899707":["hashtag1","hashtag2"]},{"1371899704":["hashtag1","hashtag2"]},{"1371899718":["hashtag1","hashtag2"]},{"1371899714":["hashtag1","hashtag2"]},{"1371899723":["hashtag1","hashtag2"]},{"1371899710":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899707, 1371899704, 1371899718, 1371899714, 1371899723, 1371899710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.06028032302856 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:19:32.113725
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_44_9708.jpg', 2), ('/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_34_10815.jpg', 2), ('/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_23_9820.jpg', 2), ('/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_14_9754.jpg', 2), ('/home/nano/Desktop/images/12072025/16/18/image_12072025_16_19_04_9730.jpg', 2), ('/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_54_10739.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_44_9708.jpg', '/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_34_10815.jpg', '/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_23_9820.jpg', '/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_14_9754.jpg', '/home/nano/Desktop/images/12072025/16/18/image_12072025_16_19_04_9730.jpg', '/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_54_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_44_9708.jpg
/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_34_10815.jpg
/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_23_9820.jpg
/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_14_9754.jpg
/home/nano/Desktop/images/12072025/16/18/image_12072025_16_19_04_9730.jpg
/home/nano/Desktop/images/12072025/16/18/image_12072025_16_18_54_10739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899740","1371899742","1371899732","1371899729","1371899738","1371899737"],"photo_ids_order":["1371899729","1371899732","1371899737","1371899738","1371899740","1371899742"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fc9635061519303054382eeb20b0858.jpg","text":"TemporaryFile(/tmp/multipartBody1080390289491965477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330034674,"filename":"image_12072025_16_19_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26184e684d2aaef94b6c607f42724ff7.jpg","text":"TemporaryFile(/tmp/multipartBody8644985237899733432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330034674,"filename":"image_12072025_16_18_54_10739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55b6900e875a953ef8b028dbe3bd81fc.jpg","text":"TemporaryFile(/tmp/multipartBody4425773986102710352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330034674,"filename":"image_12072025_16_19_34_10815.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6cc16cdd7465b8d8e44ea1d2926e141d.jpg","text":"TemporaryFile(/tmp/multipartBody5571948579776265026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330034674,"filename":"image_12072025_16_19_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9aae618efabc5ea484e03181552b9500.jpg","text":"TemporaryFile(/tmp/multipartBody318503463493826527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330034674,"filename":"image_12072025_16_19_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82d073702d78d089f89424a3904052ad.jpg","text":"TemporaryFile(/tmp/multipartBody4663018614818169030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330034674,"filename":"image_12072025_16_19_23_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899737","file1":"1371899732","file0":"1371899729","file4":"1371899740","file5":"1371899742","file3":"1371899738"},"map_files_photo_id_array":[{"photo_id":"1371899742","filename":"file5"},{"photo_id":"1371899737","filename":"file2"},{"photo_id":"1371899740","filename":"file4"},{"photo_id":"1371899732","filename":"file1"},{"photo_id":"1371899729","filename":"file0"},{"photo_id":"1371899738","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899740":["hashtag1","hashtag2"]},{"1371899742":["hashtag1","hashtag2"]},{"1371899732":["hashtag1","hashtag2"]},{"1371899729":["hashtag1","hashtag2"]},{"1371899738":["hashtag1","hashtag2"]},{"1371899737":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899740, 1371899742, 1371899732, 1371899729, 1371899738, 1371899737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48422193527222 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:20:17.208755
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_44_10730.jpg', 2), ('/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_33_9706.jpg', 2), ('/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_24_9689.jpg', 2), ('/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_14_10726.jpg', 2), ('/home/nano/Desktop/images/12072025/16/19/image_12072025_16_20_03_9723.jpg', 2), ('/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_54_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_44_10730.jpg', '/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_33_9706.jpg', '/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_24_9689.jpg', '/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_14_10726.jpg', '/home/nano/Desktop/images/12072025/16/19/image_12072025_16_20_03_9723.jpg', '/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_54_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_44_10730.jpg
/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_33_9706.jpg
/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_24_9689.jpg
/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_14_10726.jpg
/home/nano/Desktop/images/12072025/16/19/image_12072025_16_20_03_9723.jpg
/home/nano/Desktop/images/12072025/16/19/image_12072025_16_19_54_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899754","1371899757","1371899759","1371899756","1371899755","1371899758"],"photo_ids_order":["1371899754","1371899755","1371899756","1371899757","1371899758","1371899759"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34e1a3a4559dcd3944fbe65a851c5d1d.jpg","text":"TemporaryFile(/tmp/multipartBody8253362946359595783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330079845,"filename":"image_12072025_16_20_44_10730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9eefe5fe4dbc28b5752760d3fcc899f.jpg","text":"TemporaryFile(/tmp/multipartBody5342637997130367836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330079845,"filename":"image_12072025_16_20_14_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/866494b857d19ec400ec41534503c46c.jpg","text":"TemporaryFile(/tmp/multipartBody1700448394290917261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330079845,"filename":"image_12072025_16_19_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33a7b6172cfb810b1025c22df1353526.jpg","text":"TemporaryFile(/tmp/multipartBody2552528616287062303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330079845,"filename":"image_12072025_16_20_24_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d826e2fc1d7a8ca44c020658150a90a.jpg","text":"TemporaryFile(/tmp/multipartBody2806763015128080528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330079845,"filename":"image_12072025_16_20_33_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b44e727af6f77c16dfb3d264dbadec8.jpg","text":"TemporaryFile(/tmp/multipartBody6968011089392969741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330079845,"filename":"image_12072025_16_20_03_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899756","file1":"1371899755","file0":"1371899754","file4":"1371899758","file5":"1371899759","file3":"1371899757"},"map_files_photo_id_array":[{"photo_id":"1371899759","filename":"file5"},{"photo_id":"1371899756","filename":"file2"},{"photo_id":"1371899758","filename":"file4"},{"photo_id":"1371899755","filename":"file1"},{"photo_id":"1371899754","filename":"file0"},{"photo_id":"1371899757","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899754":["hashtag1","hashtag2"]},{"1371899757":["hashtag1","hashtag2"]},{"1371899759":["hashtag1","hashtag2"]},{"1371899756":["hashtag1","hashtag2"]},{"1371899755":["hashtag1","hashtag2"]},{"1371899758":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899754, 1371899757, 1371899759, 1371899756, 1371899755, 1371899758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30607795715332 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:21:03.036868
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_13_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/17/18/image_10072025_17_19_04_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_54_10621.jpg', 2), ('/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_43_9606.jpg', 2), ('/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_34_10629.jpg', 2), ('/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_23_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_13_9641.jpg', '/home/nano/Desktop/images/10072025/17/18/image_10072025_17_19_04_9613.jpg', '/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_54_10621.jpg', '/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_43_9606.jpg', '/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_34_10629.jpg', '/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_23_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/19/image_10072025_17_19_13_9641.jpg
/home/nano/Desktop/images/10072025/17/18/image_10072025_17_19_04_9613.jpg
/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_54_10621.jpg
/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_43_9606.jpg
/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_34_10629.jpg
/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_23_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899772","1371899766","1371899775","1371899774","1371899768","1371899770"],"photo_ids_order":["1371899766","1371899768","1371899770","1371899772","1371899774","1371899775"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9def1315554e722b7a77017a46113b0.jpg","text":"TemporaryFile(/tmp/multipartBody4865587668690733292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330126556,"filename":"image_10072025_17_18_43_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4bf2a564de070eeb40611b308336d9bd.jpg","text":"TemporaryFile(/tmp/multipartBody7066997133254472250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330126556,"filename":"image_10072025_17_19_13_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f71f61cc5c54b63698e573d7454b469.jpg","text":"TemporaryFile(/tmp/multipartBody6937703406968308097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330126556,"filename":"image_10072025_17_18_23_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a8232f5da57bfa239cf867298128804.jpg","text":"TemporaryFile(/tmp/multipartBody8822869730109745021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330126556,"filename":"image_10072025_17_18_34_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a20972a4d1d0c45dba6568392f12168c.jpg","text":"TemporaryFile(/tmp/multipartBody2357478768880683450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330126556,"filename":"image_10072025_17_19_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0d2ff26ad6b02c25fd15e3e73f92635.jpg","text":"TemporaryFile(/tmp/multipartBody804630485357512486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330126556,"filename":"image_10072025_17_18_54_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899770","file1":"1371899768","file0":"1371899766","file4":"1371899774","file5":"1371899775","file3":"1371899772"},"map_files_photo_id_array":[{"photo_id":"1371899775","filename":"file5"},{"photo_id":"1371899770","filename":"file2"},{"photo_id":"1371899774","filename":"file4"},{"photo_id":"1371899768","filename":"file1"},{"photo_id":"1371899766","filename":"file0"},{"photo_id":"1371899772","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371899772":["hashtag1","hashtag2"]},{"1371899766":["hashtag1","hashtag2"]},{"1371899775":["hashtag1","hashtag2"]},{"1371899774":["hashtag1","hashtag2"]},{"1371899768":["hashtag1","hashtag2"]},{"1371899770":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371899772, 1371899766, 1371899775, 1371899774, 1371899768, 1371899770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.144153356552124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:21:47.340367
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_43_9697.jpg', 2), ('/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_34_9693.jpg', 2), ('/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_24_10737.jpg', 2), ('/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_13_9742.jpg', 2), ('/home/nano/Desktop/images/12072025/16/20/image_12072025_16_21_04_9697.jpg', 2), ('/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_54_9749.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_43_9697.jpg', '/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_34_9693.jpg', '/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_24_10737.jpg', '/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_13_9742.jpg', '/home/nano/Desktop/images/12072025/16/20/image_12072025_16_21_04_9697.jpg', '/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_54_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_43_9697.jpg
/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_34_9693.jpg
/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_24_10737.jpg
/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_13_9742.jpg
/home/nano/Desktop/images/12072025/16/20/image_12072025_16_21_04_9697.jpg
/home/nano/Desktop/images/12072025/16/20/image_12072025_16_20_54_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899790","1371899784","1371899781","1371899786","1371899791","1371899788"],"photo_ids_order":["1371899781","1371899784","1371899786","1371899788","1371899790","1371899791"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ccdbcdc847b6e6dae31a2bb2922570e.jpg","text":"TemporaryFile(/tmp/multipartBody7598103675964241839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330169848,"filename":"image_12072025_16_21_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4bea1cbc98602c6968ecb3bc726fa716.jpg","text":"TemporaryFile(/tmp/multipartBody451613046426625734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330169848,"filename":"image_12072025_16_21_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/05478218f4da89a2ee132b8bf66e550f.jpg","text":"TemporaryFile(/tmp/multipartBody2933175066888911988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330169848,"filename":"image_12072025_16_21_43_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7aeac3218ad43642cb3fd4e6e8aac82c.jpg","text":"TemporaryFile(/tmp/multipartBody8052736417398572677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330169848,"filename":"image_12072025_16_21_24_10737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43dfe74434ccb8dd4d3cf062c98d5cbc.jpg","text":"TemporaryFile(/tmp/multipartBody2855708860606041104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330169848,"filename":"image_12072025_16_20_54_9749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1477ce625c78eed210e39cfde97943b9.jpg","text":"TemporaryFile(/tmp/multipartBody8592525073215753790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330169848,"filename":"image_12072025_16_21_13_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899786","file1":"1371899784","file0":"1371899781","file4":"1371899790","file5":"1371899791","file3":"1371899788"},"map_files_photo_id_array":[{"photo_id":"1371899791","filename":"file5"},{"photo_id":"1371899786","filename":"file2"},{"photo_id":"1371899790","filename":"file4"},{"photo_id":"1371899784","filename":"file1"},{"photo_id":"1371899781","filename":"file0"},{"photo_id":"1371899788","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899790":["hashtag1","hashtag2"]},{"1371899784":["hashtag1","hashtag2"]},{"1371899781":["hashtag1","hashtag2"]},{"1371899786":["hashtag1","hashtag2"]},{"1371899791":["hashtag1","hashtag2"]},{"1371899788":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899790, 1371899784, 1371899781, 1371899786, 1371899791, 1371899788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.313939571380615 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:22:32.468691
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_24_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_13_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/16/21/image_12072025_16_22_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_54_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_44_10622.jpg', '/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_34_9611.jpg', '/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_24_10634.jpg', '/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_13_9645.jpg', '/home/nano/Desktop/images/12072025/16/21/image_12072025_16_22_04_9626.jpg', '/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_54_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_44_10622.jpg
/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_34_9611.jpg
/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_24_10634.jpg
/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_13_9645.jpg
/home/nano/Desktop/images/12072025/16/21/image_12072025_16_22_04_9626.jpg
/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_54_10634.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8805298805236816 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:22:47.397550
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_24_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_13_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/16/21/image_12072025_16_22_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_54_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_44_10622.jpg', '/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_34_9611.jpg', '/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_24_10634.jpg', '/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_13_9645.jpg', '/home/nano/Desktop/images/12072025/16/21/image_12072025_16_22_04_9626.jpg', '/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_54_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_44_10622.jpg
/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_34_9611.jpg
/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_24_10634.jpg
/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_13_9645.jpg
/home/nano/Desktop/images/12072025/16/21/image_12072025_16_22_04_9626.jpg
/home/nano/Desktop/images/12072025/16/21/image_12072025_16_21_54_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899809","1371899803","1371899811","1371899813","1371899807","1371899816"],"photo_ids_order":["1371899803","1371899807","1371899809","1371899811","1371899813","1371899816"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a6ae28c00c2fb656c7e18530f324758.jpg","text":"TemporaryFile(/tmp/multipartBody4817415286867431346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330228861,"filename":"image_12072025_16_22_24_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c581c834ad6409d4f5c7ebd392bb0bcf.jpg","text":"TemporaryFile(/tmp/multipartBody6542225821461121161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330228861,"filename":"image_12072025_16_22_44_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0836360e600557aa1af6d3cf6462969.jpg","text":"TemporaryFile(/tmp/multipartBody62432252215962823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330228861,"filename":"image_12072025_16_22_13_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c81c55de5a4810e73a36c80f4dfda6b.jpg","text":"TemporaryFile(/tmp/multipartBody3556086166622562258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330228861,"filename":"image_12072025_16_22_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba164f07d69a3a7a6df4c2df0c66d21c.jpg","text":"TemporaryFile(/tmp/multipartBody680743397866174665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330228861,"filename":"image_12072025_16_22_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eda57e14008ff61a776660498aebb99f.jpg","text":"TemporaryFile(/tmp/multipartBody2116493013475202288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330228861,"filename":"image_12072025_16_21_54_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899809","file1":"1371899807","file0":"1371899803","file4":"1371899813","file5":"1371899816","file3":"1371899811"},"map_files_photo_id_array":[{"photo_id":"1371899816","filename":"file5"},{"photo_id":"1371899809","filename":"file2"},{"photo_id":"1371899813","filename":"file4"},{"photo_id":"1371899807","filename":"file1"},{"photo_id":"1371899803","filename":"file0"},{"photo_id":"1371899811","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899809":["hashtag1","hashtag2"]},{"1371899803":["hashtag1","hashtag2"]},{"1371899811":["hashtag1","hashtag2"]},{"1371899813":["hashtag1","hashtag2"]},{"1371899807":["hashtag1","hashtag2"]},{"1371899816":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899809, 1371899803, 1371899811, 1371899813, 1371899807, 1371899816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.159381866455078 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:23:32.508859
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_44_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_33_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_24_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_14_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/16/22/image_12072025_16_23_03_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_54_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_44_10616.jpg', '/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_33_9605.jpg', '/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_24_9610.jpg', '/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_14_10648.jpg', '/home/nano/Desktop/images/12072025/16/22/image_12072025_16_23_03_9619.jpg', '/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_54_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_44_10616.jpg
/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_33_9605.jpg
/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_24_9610.jpg
/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_14_10648.jpg
/home/nano/Desktop/images/12072025/16/22/image_12072025_16_23_03_9619.jpg
/home/nano/Desktop/images/12072025/16/22/image_12072025_16_22_54_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899827","1371899823","1371899831","1371899822","1371899830","1371899824"],"photo_ids_order":["1371899822","1371899823","1371899824","1371899827","1371899830","1371899831"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7ad57ee4b874f74244be727df335448.jpg","text":"TemporaryFile(/tmp/multipartBody4361752647571637466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330274321,"filename":"image_12072025_16_23_14_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7da81608b09c5853bce633faaae000a.jpg","text":"TemporaryFile(/tmp/multipartBody31644674758825288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330274321,"filename":"image_12072025_16_23_33_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4eeb055f6facc5c3031d4b0b6aa1eed4.jpg","text":"TemporaryFile(/tmp/multipartBody4045400331820425683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330274321,"filename":"image_12072025_16_22_54_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7318bc3747552cdbe7115c761a01a16e.jpg","text":"TemporaryFile(/tmp/multipartBody2642359401394231489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330274321,"filename":"image_12072025_16_23_44_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d0f6e03d61d4ce4de84e05c566f0bb8.jpg","text":"TemporaryFile(/tmp/multipartBody1576618465927162122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330274321,"filename":"image_12072025_16_23_03_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d084a146e5bf012e1771bbe82e1d9b22.jpg","text":"TemporaryFile(/tmp/multipartBody186057562810670674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330274321,"filename":"image_12072025_16_23_24_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899824","file1":"1371899823","file0":"1371899822","file4":"1371899830","file5":"1371899831","file3":"1371899827"},"map_files_photo_id_array":[{"photo_id":"1371899831","filename":"file5"},{"photo_id":"1371899824","filename":"file2"},{"photo_id":"1371899830","filename":"file4"},{"photo_id":"1371899823","filename":"file1"},{"photo_id":"1371899822","filename":"file0"},{"photo_id":"1371899827","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899827":["hashtag1","hashtag2"]},{"1371899823":["hashtag1","hashtag2"]},{"1371899831":["hashtag1","hashtag2"]},{"1371899822":["hashtag1","hashtag2"]},{"1371899830":["hashtag1","hashtag2"]},{"1371899824":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899827, 1371899823, 1371899831, 1371899822, 1371899830, 1371899824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.674192428588867 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:24:17.658415
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_44_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_24_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_14_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/16/23/image_12072025_16_24_04_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_44_9665.jpg', '/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_34_10647.jpg', '/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_24_9622.jpg', '/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_14_9643.jpg', '/home/nano/Desktop/images/12072025/16/23/image_12072025_16_24_04_10660.jpg', '/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_44_9665.jpg
/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_34_10647.jpg
/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_24_9622.jpg
/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_14_9643.jpg
/home/nano/Desktop/images/12072025/16/23/image_12072025_16_24_04_10660.jpg
/home/nano/Desktop/images/12072025/16/23/image_12072025_16_23_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899838","1371899840","1371899837","1371899842","1371899836","1371899839"],"photo_ids_order":["1371899836","1371899837","1371899838","1371899839","1371899840","1371899842"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a6b211ac70f53d57b6995e2ef1a6ac8.jpg","text":"TemporaryFile(/tmp/multipartBody2643362518387556670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330319880,"filename":"image_12072025_16_24_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/890b13d7e254940acbbb84c51d6c455c.jpg","text":"TemporaryFile(/tmp/multipartBody2234497150596842237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330319880,"filename":"image_12072025_16_24_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9738b318bcc618291bb79ab5e0673107.jpg","text":"TemporaryFile(/tmp/multipartBody448205191021705843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330319880,"filename":"image_12072025_16_24_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e996ff3da79a7e2dfc8a7f2f1c25944c.jpg","text":"TemporaryFile(/tmp/multipartBody3868681736568876558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330319880,"filename":"image_12072025_16_23_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d35d456fed1069d6d39e9f6c1e173a3d.jpg","text":"TemporaryFile(/tmp/multipartBody4208988681461630754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330319880,"filename":"image_12072025_16_24_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09a374f9014e06d75ec1f618ff66ccfc.jpg","text":"TemporaryFile(/tmp/multipartBody524262536744069889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330319880,"filename":"image_12072025_16_24_14_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899838","file1":"1371899837","file0":"1371899836","file4":"1371899840","file5":"1371899842","file3":"1371899839"},"map_files_photo_id_array":[{"photo_id":"1371899842","filename":"file5"},{"photo_id":"1371899838","filename":"file2"},{"photo_id":"1371899840","filename":"file4"},{"photo_id":"1371899837","filename":"file1"},{"photo_id":"1371899836","filename":"file0"},{"photo_id":"1371899839","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899838":["hashtag1","hashtag2"]},{"1371899840":["hashtag1","hashtag2"]},{"1371899837":["hashtag1","hashtag2"]},{"1371899842":["hashtag1","hashtag2"]},{"1371899836":["hashtag1","hashtag2"]},{"1371899839":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899838, 1371899840, 1371899837, 1371899842, 1371899836, 1371899839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61593461036682 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:25:03.293556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_13_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/17/17/image_10072025_17_18_04_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_53_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_44_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_34_10650.jpg', 2), ('/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_23_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_13_9643.jpg', '/home/nano/Desktop/images/10072025/17/17/image_10072025_17_18_04_10647.jpg', '/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_53_9615.jpg', '/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_44_9666.jpg', '/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_34_10650.jpg', '/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_23_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/18/image_10072025_17_18_13_9643.jpg
/home/nano/Desktop/images/10072025/17/17/image_10072025_17_18_04_10647.jpg
/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_53_9615.jpg
/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_44_9666.jpg
/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_34_10650.jpg
/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_23_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899850","1371899853","1371899856","1371899849","1371899854","1371899851"],"photo_ids_order":["1371899849","1371899850","1371899851","1371899853","1371899854","1371899856"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64cab6d567fd1acd35c33fa2ab6fc215.jpg","text":"TemporaryFile(/tmp/multipartBody4364795975922529523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330366786,"filename":"image_10072025_17_18_04_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a78eb2191f1a60d11991ffc4e859cad.jpg","text":"TemporaryFile(/tmp/multipartBody6919249098102175243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330366786,"filename":"image_10072025_17_17_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be34b8c125d47eb40a67bee611c21914.jpg","text":"TemporaryFile(/tmp/multipartBody7712056153642621509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330366786,"filename":"image_10072025_17_17_23_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/358c7a4d7e68e1ada8214634680b4820.jpg","text":"TemporaryFile(/tmp/multipartBody2778666179639408283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330366786,"filename":"image_10072025_17_18_13_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4cc1c25b2972d3989adbefdd58e1ebd.jpg","text":"TemporaryFile(/tmp/multipartBody464209747914080116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330366786,"filename":"image_10072025_17_17_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c59bb34024f1dff12d21cf1d495c187.jpg","text":"TemporaryFile(/tmp/multipartBody1836005360088691714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330366786,"filename":"image_10072025_17_17_53_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899851","file1":"1371899850","file0":"1371899849","file4":"1371899854","file5":"1371899856","file3":"1371899853"},"map_files_photo_id_array":[{"photo_id":"1371899856","filename":"file5"},{"photo_id":"1371899851","filename":"file2"},{"photo_id":"1371899854","filename":"file4"},{"photo_id":"1371899850","filename":"file1"},{"photo_id":"1371899849","filename":"file0"},{"photo_id":"1371899853","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371899850":["hashtag1","hashtag2"]},{"1371899853":["hashtag1","hashtag2"]},{"1371899856":["hashtag1","hashtag2"]},{"1371899849":["hashtag1","hashtag2"]},{"1371899854":["hashtag1","hashtag2"]},{"1371899851":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371899850, 1371899853, 1371899856, 1371899849, 1371899854, 1371899851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29662775993347 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:25:47.727379
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_44_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_34_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_23_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_14_9677.jpg', 2), ('/home/nano/Desktop/images/12072025/16/24/image_12072025_16_25_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_53_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_44_9657.jpg', '/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_34_10665.jpg', '/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_23_9638.jpg', '/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_14_9677.jpg', '/home/nano/Desktop/images/12072025/16/24/image_12072025_16_25_04_10657.jpg', '/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_53_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_44_9657.jpg
/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_34_10665.jpg
/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_23_9638.jpg
/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_14_9677.jpg
/home/nano/Desktop/images/12072025/16/24/image_12072025_16_25_04_10657.jpg
/home/nano/Desktop/images/12072025/16/24/image_12072025_16_24_53_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899871","1371899868","1371899862","1371899864","1371899873","1371899866"],"photo_ids_order":["1371899862","1371899864","1371899866","1371899868","1371899871","1371899873"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8471b02c45d86ecfb5298f5444debda3.jpg","text":"TemporaryFile(/tmp/multipartBody2506021173391265598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330409855,"filename":"image_12072025_16_25_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be15c1b7f44ec9aee218a65f0bc0aaca.jpg","text":"TemporaryFile(/tmp/multipartBody2069186604550610347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330409855,"filename":"image_12072025_16_25_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3bccec228d325f639c037fdaaed03d9.jpg","text":"TemporaryFile(/tmp/multipartBody4998588184627933993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330409855,"filename":"image_12072025_16_25_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9c35192d18f4253e74e376dce53b4c2.jpg","text":"TemporaryFile(/tmp/multipartBody9121990821229552484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330409855,"filename":"image_12072025_16_25_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5dcfdb89d38445f913a74e71fef590e.jpg","text":"TemporaryFile(/tmp/multipartBody379877467745580347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330409855,"filename":"image_12072025_16_24_53_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6d0187b82761ae2bdd31cff9bbe305a.jpg","text":"TemporaryFile(/tmp/multipartBody1454258461827524219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330409855,"filename":"image_12072025_16_25_23_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899866","file1":"1371899864","file0":"1371899862","file4":"1371899871","file5":"1371899873","file3":"1371899868"},"map_files_photo_id_array":[{"photo_id":"1371899873","filename":"file5"},{"photo_id":"1371899866","filename":"file2"},{"photo_id":"1371899871","filename":"file4"},{"photo_id":"1371899864","filename":"file1"},{"photo_id":"1371899862","filename":"file0"},{"photo_id":"1371899868","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899871":["hashtag1","hashtag2"]},{"1371899868":["hashtag1","hashtag2"]},{"1371899862":["hashtag1","hashtag2"]},{"1371899864":["hashtag1","hashtag2"]},{"1371899873":["hashtag1","hashtag2"]},{"1371899866":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899871, 1371899868, 1371899862, 1371899864, 1371899873, 1371899866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.943286418914795 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:26:31.812003
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_44_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_34_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_23_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_14_9696.jpg', 2), ('/home/nano/Desktop/images/12072025/16/25/image_12072025_16_26_04_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_53_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_44_9651.jpg', '/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_34_10665.jpg', '/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_23_9641.jpg', '/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_14_9696.jpg', '/home/nano/Desktop/images/12072025/16/25/image_12072025_16_26_04_10677.jpg', '/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_53_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_44_9651.jpg
/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_34_10665.jpg
/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_23_9641.jpg
/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_14_9696.jpg
/home/nano/Desktop/images/12072025/16/25/image_12072025_16_26_04_10677.jpg
/home/nano/Desktop/images/12072025/16/25/image_12072025_16_25_53_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899883","1371899877","1371899876","1371899884","1371899881","1371899878"],"photo_ids_order":["1371899876","1371899877","1371899878","1371899881","1371899883","1371899884"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6038535a189d87db6f8fdbddfca8e59d.jpg","text":"TemporaryFile(/tmp/multipartBody3618408743879153816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330454062,"filename":"image_12072025_16_26_04_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8dd9f996c2d832cc1352ae92627c49a8.jpg","text":"TemporaryFile(/tmp/multipartBody7713923454120896857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330454062,"filename":"image_12072025_16_26_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aaafd0ccd536f6d84a5568b04cc6116c.jpg","text":"TemporaryFile(/tmp/multipartBody3142900932192937937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330454062,"filename":"image_12072025_16_26_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a1d56c7eab0474780f479785451cd93.jpg","text":"TemporaryFile(/tmp/multipartBody5771158175071043243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330454062,"filename":"image_12072025_16_25_53_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44edc52e682992220f2f225f3525b9e7.jpg","text":"TemporaryFile(/tmp/multipartBody5347435989034680794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330454062,"filename":"image_12072025_16_26_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6feed4b1b373cc508871313192c00fb.jpg","text":"TemporaryFile(/tmp/multipartBody4074794105746886899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330454062,"filename":"image_12072025_16_26_23_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899878","file1":"1371899877","file0":"1371899876","file4":"1371899883","file5":"1371899884","file3":"1371899881"},"map_files_photo_id_array":[{"photo_id":"1371899884","filename":"file5"},{"photo_id":"1371899878","filename":"file2"},{"photo_id":"1371899883","filename":"file4"},{"photo_id":"1371899877","filename":"file1"},{"photo_id":"1371899876","filename":"file0"},{"photo_id":"1371899881","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899883":["hashtag1","hashtag2"]},{"1371899877":["hashtag1","hashtag2"]},{"1371899876":["hashtag1","hashtag2"]},{"1371899884":["hashtag1","hashtag2"]},{"1371899881":["hashtag1","hashtag2"]},{"1371899878":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899883, 1371899877, 1371899876, 1371899884, 1371899881, 1371899878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22706341743469 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:27:16.990827
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_44_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_34_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_24_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_14_9756.jpg', 2), ('/home/nano/Desktop/images/12072025/16/26/image_12072025_16_27_04_10747.jpg', 2), ('/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_53_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_44_9645.jpg', '/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_34_10661.jpg', '/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_24_9644.jpg', '/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_14_9756.jpg', '/home/nano/Desktop/images/12072025/16/26/image_12072025_16_27_04_10747.jpg', '/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_53_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_44_9645.jpg
/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_34_10661.jpg
/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_24_9644.jpg
/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_14_9756.jpg
/home/nano/Desktop/images/12072025/16/26/image_12072025_16_27_04_10747.jpg
/home/nano/Desktop/images/12072025/16/26/image_12072025_16_26_53_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899895","1371899894","1371899897","1371899891","1371899893","1371899896"],"photo_ids_order":["1371899891","1371899893","1371899894","1371899895","1371899896","1371899897"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7f30bcc98ba80974d4926f188aaaea8.jpg","text":"TemporaryFile(/tmp/multipartBody1843336212167029261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330500035,"filename":"image_12072025_16_27_14_9756.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff2bc32e08f06fbb840bfa0673e5a26e.jpg","text":"TemporaryFile(/tmp/multipartBody4624471572516264966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330500035,"filename":"image_12072025_16_27_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9528c932b3aab9504e043257a7e5c512.jpg","text":"TemporaryFile(/tmp/multipartBody7674670451912956087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330500035,"filename":"image_12072025_16_26_53_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72954a7f9ebc86daa7870e62be2a46ff.jpg","text":"TemporaryFile(/tmp/multipartBody4165438300192794863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330500035,"filename":"image_12072025_16_27_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34826ddc85c17e84a2096d17e6419e47.jpg","text":"TemporaryFile(/tmp/multipartBody9012131369640593267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330500035,"filename":"image_12072025_16_27_34_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f142434a17c35e3b6a9fe1a4f9a4648.jpg","text":"TemporaryFile(/tmp/multipartBody8000803889483677167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330500035,"filename":"image_12072025_16_27_04_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899894","file1":"1371899893","file0":"1371899891","file4":"1371899896","file5":"1371899897","file3":"1371899895"},"map_files_photo_id_array":[{"photo_id":"1371899897","filename":"file5"},{"photo_id":"1371899894","filename":"file2"},{"photo_id":"1371899896","filename":"file4"},{"photo_id":"1371899893","filename":"file1"},{"photo_id":"1371899891","filename":"file0"},{"photo_id":"1371899895","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899895":["hashtag1","hashtag2"]},{"1371899894":["hashtag1","hashtag2"]},{"1371899897":["hashtag1","hashtag2"]},{"1371899891":["hashtag1","hashtag2"]},{"1371899893":["hashtag1","hashtag2"]},{"1371899896":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899895, 1371899894, 1371899897, 1371899891, 1371899893, 1371899896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.943350076675415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:28:02.640536
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_14_9640.jpg', 2), ('/home/nano/Desktop/images/10072025/17/16/image_10072025_17_17_04_10707.jpg', 2), ('/home/nano/Desktop/images/10072025/17/16/image_10072025_17_16_53_9700.jpg', 2), ('/home/nano/Desktop/images/10072025/17/16/image_10072025_17_16_13_9738.jpg', 2), ('/home/nano/Desktop/images/10072025/17/15/image_10072025_17_16_04_9741.jpg', 2), ('/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_54_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_14_9640.jpg', '/home/nano/Desktop/images/10072025/17/16/image_10072025_17_17_04_10707.jpg', '/home/nano/Desktop/images/10072025/17/16/image_10072025_17_16_53_9700.jpg', '/home/nano/Desktop/images/10072025/17/16/image_10072025_17_16_13_9738.jpg', '/home/nano/Desktop/images/10072025/17/15/image_10072025_17_16_04_9741.jpg', '/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_54_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/17/image_10072025_17_17_14_9640.jpg
/home/nano/Desktop/images/10072025/17/16/image_10072025_17_17_04_10707.jpg
/home/nano/Desktop/images/10072025/17/16/image_10072025_17_16_53_9700.jpg
/home/nano/Desktop/images/10072025/17/16/image_10072025_17_16_13_9738.jpg
/home/nano/Desktop/images/10072025/17/15/image_10072025_17_16_04_9741.jpg
/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_54_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899911","1371899914","1371899913","1371899915","1371899909","1371899918"],"photo_ids_order":["1371899909","1371899911","1371899913","1371899914","1371899915","1371899918"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ad25fab8099e4c7175b54ef7ec91b7c.jpg","text":"TemporaryFile(/tmp/multipartBody5161090607242958817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330546042,"filename":"image_10072025_17_17_04_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/662eb2471826c335b9311bba96e37f4e.jpg","text":"TemporaryFile(/tmp/multipartBody490038662991323792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330546042,"filename":"image_10072025_17_16_13_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/948ffbff31c5038af006f7ac18c8ffea.jpg","text":"TemporaryFile(/tmp/multipartBody8223927556977638797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330546042,"filename":"image_10072025_17_16_53_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e0628f0c6686d8765e647b9dc5e683c.jpg","text":"TemporaryFile(/tmp/multipartBody3320235174289235566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330546042,"filename":"image_10072025_17_16_04_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8eb5bad987f00efa6fc9a77321316ba6.jpg","text":"TemporaryFile(/tmp/multipartBody4680027193323643037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330546042,"filename":"image_10072025_17_17_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/150e57f70f2b8377d326cc3e898d7316.jpg","text":"TemporaryFile(/tmp/multipartBody7442299925691312533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330546042,"filename":"image_10072025_17_15_54_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899913","file1":"1371899911","file0":"1371899909","file4":"1371899915","file5":"1371899918","file3":"1371899914"},"map_files_photo_id_array":[{"photo_id":"1371899918","filename":"file5"},{"photo_id":"1371899913","filename":"file2"},{"photo_id":"1371899915","filename":"file4"},{"photo_id":"1371899911","filename":"file1"},{"photo_id":"1371899909","filename":"file0"},{"photo_id":"1371899914","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371899911":["hashtag1","hashtag2"]},{"1371899914":["hashtag1","hashtag2"]},{"1371899913":["hashtag1","hashtag2"]},{"1371899915":["hashtag1","hashtag2"]},{"1371899909":["hashtag1","hashtag2"]},{"1371899918":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371899911, 1371899914, 1371899913, 1371899915, 1371899909, 1371899918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02532196044922 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:28:47.103847
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_44_9782.jpg', 2), ('/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_34_10786.jpg', 2), ('/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_24_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_14_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/16/27/image_12072025_16_28_04_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_54_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_44_9782.jpg', '/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_34_10786.jpg', '/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_24_9657.jpg', '/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_14_9670.jpg', '/home/nano/Desktop/images/12072025/16/27/image_12072025_16_28_04_10654.jpg', '/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_44_9782.jpg
/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_34_10786.jpg
/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_24_9657.jpg
/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_14_9670.jpg
/home/nano/Desktop/images/12072025/16/27/image_12072025_16_28_04_10654.jpg
/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_54_9658.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.240665912628174 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:29:03.104345
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_44_9782.jpg', 2), ('/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_34_10786.jpg', 2), ('/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_24_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_14_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/16/27/image_12072025_16_28_04_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_54_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_44_9782.jpg', '/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_34_10786.jpg', '/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_24_9657.jpg', '/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_14_9670.jpg', '/home/nano/Desktop/images/12072025/16/27/image_12072025_16_28_04_10654.jpg', '/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_44_9782.jpg
/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_34_10786.jpg
/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_24_9657.jpg
/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_14_9670.jpg
/home/nano/Desktop/images/12072025/16/27/image_12072025_16_28_04_10654.jpg
/home/nano/Desktop/images/12072025/16/27/image_12072025_16_27_54_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899932","1371899931","1371899934","1371899937","1371899935","1371899929"],"photo_ids_order":["1371899929","1371899931","1371899932","1371899934","1371899935","1371899937"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac8fcf8d4d701d2e348bbc429033629c.jpg","text":"TemporaryFile(/tmp/multipartBody501569750984249534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330605035,"filename":"image_12072025_16_28_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efd941d50bd0f096f55f5021e50d9e25.jpg","text":"TemporaryFile(/tmp/multipartBody9022076553146315348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330605035,"filename":"image_12072025_16_28_34_10786.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9ec088705aa6ff84dd5bfb4c9af55ff.jpg","text":"TemporaryFile(/tmp/multipartBody3033536207777412122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330605035,"filename":"image_12072025_16_28_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c04a098d33d46dddd99ce517b97f9c80.jpg","text":"TemporaryFile(/tmp/multipartBody8397517258764226777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330605035,"filename":"image_12072025_16_27_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d2deeea197b63872dea0e1073b6a0ea.jpg","text":"TemporaryFile(/tmp/multipartBody6739185508876792172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330605035,"filename":"image_12072025_16_28_04_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d14645f9090ee246d92966bc5652b1d1.jpg","text":"TemporaryFile(/tmp/multipartBody7188478290435962117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330605035,"filename":"image_12072025_16_28_44_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899932","file1":"1371899931","file0":"1371899929","file4":"1371899935","file5":"1371899937","file3":"1371899934"},"map_files_photo_id_array":[{"photo_id":"1371899937","filename":"file5"},{"photo_id":"1371899932","filename":"file2"},{"photo_id":"1371899935","filename":"file4"},{"photo_id":"1371899931","filename":"file1"},{"photo_id":"1371899929","filename":"file0"},{"photo_id":"1371899934","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899932":["hashtag1","hashtag2"]},{"1371899931":["hashtag1","hashtag2"]},{"1371899934":["hashtag1","hashtag2"]},{"1371899937":["hashtag1","hashtag2"]},{"1371899935":["hashtag1","hashtag2"]},{"1371899929":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899932, 1371899931, 1371899934, 1371899937, 1371899935, 1371899929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79369568824768 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:29:47.214133
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_43_9675.jpg', 2), ('/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_34_9729.jpg', 2), ('/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_24_9681.jpg', 2), ('/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_14_10818.jpg', 2), ('/home/nano/Desktop/images/12072025/16/28/image_12072025_16_29_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_54_9687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_43_9675.jpg', '/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_34_9729.jpg', '/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_24_9681.jpg', '/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_14_10818.jpg', '/home/nano/Desktop/images/12072025/16/28/image_12072025_16_29_03_9654.jpg', '/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_54_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_43_9675.jpg
/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_34_9729.jpg
/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_24_9681.jpg
/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_14_10818.jpg
/home/nano/Desktop/images/12072025/16/28/image_12072025_16_29_03_9654.jpg
/home/nano/Desktop/images/12072025/16/28/image_12072025_16_28_54_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899952","1371899951","1371899954","1371899948","1371899953","1371899950"],"photo_ids_order":["1371899948","1371899950","1371899951","1371899952","1371899953","1371899954"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5798feb48ed64c1cc018e197fb16aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4341821906136004601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330649628,"filename":"image_12072025_16_29_14_10818.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fecea2df26902ab5bb13aeff1c4a5ed.jpg","text":"TemporaryFile(/tmp/multipartBody5033255821810003724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330649628,"filename":"image_12072025_16_29_24_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c3825ca15d0c845ba8d66a6a2efcc35.jpg","text":"TemporaryFile(/tmp/multipartBody58988565999349078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330649628,"filename":"image_12072025_16_28_54_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee39e236df5de8c4347d9a76f552e8e5.jpg","text":"TemporaryFile(/tmp/multipartBody6364415102648111704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330649628,"filename":"image_12072025_16_29_43_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4efad71d46b80face4a56bb5a30bc054.jpg","text":"TemporaryFile(/tmp/multipartBody9124700977903443748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330649628,"filename":"image_12072025_16_29_03_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7bf996b7a4557948be52f8d4f51933f3.jpg","text":"TemporaryFile(/tmp/multipartBody6942902470839619331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330649628,"filename":"image_12072025_16_29_34_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899951","file1":"1371899950","file0":"1371899948","file4":"1371899953","file5":"1371899954","file3":"1371899952"},"map_files_photo_id_array":[{"photo_id":"1371899954","filename":"file5"},{"photo_id":"1371899951","filename":"file2"},{"photo_id":"1371899953","filename":"file4"},{"photo_id":"1371899950","filename":"file1"},{"photo_id":"1371899948","filename":"file0"},{"photo_id":"1371899952","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899952":["hashtag1","hashtag2"]},{"1371899951":["hashtag1","hashtag2"]},{"1371899954":["hashtag1","hashtag2"]},{"1371899948":["hashtag1","hashtag2"]},{"1371899953":["hashtag1","hashtag2"]},{"1371899950":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899952, 1371899951, 1371899954, 1371899948, 1371899953, 1371899950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.659424781799316 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:30:32.309118
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_44_9681.jpg', 2), ('/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_34_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_24_10678.jpg', 2), ('/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_14_9749.jpg', 2), ('/home/nano/Desktop/images/12072025/16/29/image_12072025_16_30_04_9756.jpg', 2), ('/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_54_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_44_9681.jpg', '/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_34_9653.jpg', '/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_24_10678.jpg', '/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_14_9749.jpg', '/home/nano/Desktop/images/12072025/16/29/image_12072025_16_30_04_9756.jpg', '/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_54_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_44_9681.jpg
/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_34_9653.jpg
/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_24_10678.jpg
/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_14_9749.jpg
/home/nano/Desktop/images/12072025/16/29/image_12072025_16_30_04_9756.jpg
/home/nano/Desktop/images/12072025/16/29/image_12072025_16_29_54_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899970","1371899964","1371899973","1371899963","1371899966","1371899974"],"photo_ids_order":["1371899963","1371899964","1371899966","1371899970","1371899973","1371899974"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da36b67cf1eea801f97f03c6f2c5e0a3.jpg","text":"TemporaryFile(/tmp/multipartBody2563034356989869156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330694622,"filename":"image_12072025_16_30_14_9749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3110a252c8a52f7d214cd4100b377955.jpg","text":"TemporaryFile(/tmp/multipartBody53024254938409064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330694622,"filename":"image_12072025_16_30_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/467a9b4122c6ee511d699305ef70e156.jpg","text":"TemporaryFile(/tmp/multipartBody2458171911450580709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330694622,"filename":"image_12072025_16_30_04_9756.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e228b7d31653d6755ff474e27696006.jpg","text":"TemporaryFile(/tmp/multipartBody8772658774039637177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330694622,"filename":"image_12072025_16_30_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e682e34533f4b9bcd4637b04acb7f612.jpg","text":"TemporaryFile(/tmp/multipartBody6593248491947127313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330694622,"filename":"image_12072025_16_30_24_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/899b0c3cae0e207b37643893b0e5115f.jpg","text":"TemporaryFile(/tmp/multipartBody2996936602567312475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330694622,"filename":"image_12072025_16_29_54_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899966","file1":"1371899964","file0":"1371899963","file4":"1371899973","file5":"1371899974","file3":"1371899970"},"map_files_photo_id_array":[{"photo_id":"1371899974","filename":"file5"},{"photo_id":"1371899966","filename":"file2"},{"photo_id":"1371899973","filename":"file4"},{"photo_id":"1371899964","filename":"file1"},{"photo_id":"1371899963","filename":"file0"},{"photo_id":"1371899970","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899970":["hashtag1","hashtag2"]},{"1371899964":["hashtag1","hashtag2"]},{"1371899973":["hashtag1","hashtag2"]},{"1371899963":["hashtag1","hashtag2"]},{"1371899966":["hashtag1","hashtag2"]},{"1371899974":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899970, 1371899964, 1371899973, 1371899963, 1371899966, 1371899974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14249014854431 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:31:17.386719
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_43_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_34_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_24_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_14_9676.jpg', 2), ('/home/nano/Desktop/images/12072025/16/30/image_12072025_16_31_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_54_10674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_43_9637.jpg', '/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_34_9646.jpg', '/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_24_10636.jpg', '/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_14_9676.jpg', '/home/nano/Desktop/images/12072025/16/30/image_12072025_16_31_04_9645.jpg', '/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_54_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_43_9637.jpg
/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_34_9646.jpg
/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_24_10636.jpg
/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_14_9676.jpg
/home/nano/Desktop/images/12072025/16/30/image_12072025_16_31_04_9645.jpg
/home/nano/Desktop/images/12072025/16/30/image_12072025_16_30_54_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371899982","1371899985","1371899979","1371899987","1371899984","1371899980"],"photo_ids_order":["1371899979","1371899980","1371899982","1371899984","1371899985","1371899987"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43740295822c3c29d1be8979425d33a5.jpg","text":"TemporaryFile(/tmp/multipartBody4141944882662933578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330739247,"filename":"image_12072025_16_31_24_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b486f314ca79d875fdeea468c2dd4de.jpg","text":"TemporaryFile(/tmp/multipartBody5713062251155407271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330739247,"filename":"image_12072025_16_31_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd577174d0e36e790f8456b1a0ba9511.jpg","text":"TemporaryFile(/tmp/multipartBody9158635345477327001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330739247,"filename":"image_12072025_16_31_43_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31a75fad4af30ee0a7038fbb47a33823.jpg","text":"TemporaryFile(/tmp/multipartBody3327987090082462627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330739247,"filename":"image_12072025_16_30_54_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d85ed8aacba78b3aae71f88058f897c.jpg","text":"TemporaryFile(/tmp/multipartBody1604105814842564899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330739247,"filename":"image_12072025_16_31_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2527f116492ba7e9f2b6542d691213c9.jpg","text":"TemporaryFile(/tmp/multipartBody1920289469635834993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330739247,"filename":"image_12072025_16_31_34_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371899982","file1":"1371899980","file0":"1371899979","file4":"1371899985","file5":"1371899987","file3":"1371899984"},"map_files_photo_id_array":[{"photo_id":"1371899987","filename":"file5"},{"photo_id":"1371899982","filename":"file2"},{"photo_id":"1371899985","filename":"file4"},{"photo_id":"1371899980","filename":"file1"},{"photo_id":"1371899979","filename":"file0"},{"photo_id":"1371899984","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371899982":["hashtag1","hashtag2"]},{"1371899985":["hashtag1","hashtag2"]},{"1371899979":["hashtag1","hashtag2"]},{"1371899987":["hashtag1","hashtag2"]},{"1371899984":["hashtag1","hashtag2"]},{"1371899980":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371899982, 1371899985, 1371899979, 1371899987, 1371899984, 1371899980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.21032953262329 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:32:03.155645
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_43_9748.jpg', 2), ('/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_34_9721.jpg', 2), ('/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_24_10742.jpg', 2), ('/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_13_9733.jpg', 2), ('/home/nano/Desktop/images/10072025/17/14/image_10072025_17_15_03_9716.jpg', 2), ('/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_54_9703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_43_9748.jpg', '/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_34_9721.jpg', '/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_24_10742.jpg', '/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_13_9733.jpg', '/home/nano/Desktop/images/10072025/17/14/image_10072025_17_15_03_9716.jpg', '/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_54_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_43_9748.jpg
/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_34_9721.jpg
/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_24_10742.jpg
/home/nano/Desktop/images/10072025/17/15/image_10072025_17_15_13_9733.jpg
/home/nano/Desktop/images/10072025/17/14/image_10072025_17_15_03_9716.jpg
/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_54_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900006","1371899997","1371900000","1371900002","1371900008","1371900004"],"photo_ids_order":["1371899997","1371900000","1371900002","1371900004","1371900006","1371900008"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d90f4f60030031ac4396bcb20aa86745.jpg","text":"TemporaryFile(/tmp/multipartBody3771208066618698328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330787192,"filename":"image_10072025_17_15_03_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e893852f912423314be364c7ad22a73.jpg","text":"TemporaryFile(/tmp/multipartBody9005051812975299946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330787192,"filename":"image_10072025_17_15_43_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa4c62e4b3f334d32349d2697167ef6e.jpg","text":"TemporaryFile(/tmp/multipartBody5791667357638770574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330787192,"filename":"image_10072025_17_15_34_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37e9be36a77aad2ce7a091fb4cb63dc1.jpg","text":"TemporaryFile(/tmp/multipartBody4226745426480277892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330787192,"filename":"image_10072025_17_15_24_10742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24b78a75a119fa557f4d938cc13a6e91.jpg","text":"TemporaryFile(/tmp/multipartBody8664363281711236953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330787192,"filename":"image_10072025_17_14_54_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f5df7495212a52527ec6290ed28d35a.jpg","text":"TemporaryFile(/tmp/multipartBody8672638126981093580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330787192,"filename":"image_10072025_17_15_13_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900002","file1":"1371900000","file0":"1371899997","file4":"1371900006","file5":"1371900008","file3":"1371900004"},"map_files_photo_id_array":[{"photo_id":"1371900008","filename":"file5"},{"photo_id":"1371900002","filename":"file2"},{"photo_id":"1371900006","filename":"file4"},{"photo_id":"1371900000","filename":"file1"},{"photo_id":"1371899997","filename":"file0"},{"photo_id":"1371900004","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371900006":["hashtag1","hashtag2"]},{"1371899997":["hashtag1","hashtag2"]},{"1371900000":["hashtag1","hashtag2"]},{"1371900002":["hashtag1","hashtag2"]},{"1371900008":["hashtag1","hashtag2"]},{"1371900004":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371900006, 1371899997, 1371900000, 1371900002, 1371900008, 1371900004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54092001914978 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:32:47.536121
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_43_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_34_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_24_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/16/31/image_12072025_16_32_04_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_54_10754.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_43_9636.jpg', '/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_34_9637.jpg', '/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_24_10651.jpg', '/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_13_9656.jpg', '/home/nano/Desktop/images/12072025/16/31/image_12072025_16_32_04_9642.jpg', '/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_54_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_43_9636.jpg
/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_34_9637.jpg
/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_24_10651.jpg
/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_13_9656.jpg
/home/nano/Desktop/images/12072025/16/31/image_12072025_16_32_04_9642.jpg
/home/nano/Desktop/images/12072025/16/31/image_12072025_16_31_54_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900018","1371900015","1371900020","1371900017","1371900013","1371900016"],"photo_ids_order":["1371900013","1371900015","1371900016","1371900017","1371900018","1371900020"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11ce27e3e06cbea952d43327ba871ba9.jpg","text":"TemporaryFile(/tmp/multipartBody2525789614494825874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330829552,"filename":"image_12072025_16_32_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf2e61c09fa05b4898414149b74494ac.jpg","text":"TemporaryFile(/tmp/multipartBody4220765994748606287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330829552,"filename":"image_12072025_16_32_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/880a8169e6a7762b7983e4cb5f3a3fca.jpg","text":"TemporaryFile(/tmp/multipartBody2520342694787601247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330829552,"filename":"image_12072025_16_31_54_10754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3948a22a3a522c9898b1e8739d8cd8d8.jpg","text":"TemporaryFile(/tmp/multipartBody8842175175817072541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330829552,"filename":"image_12072025_16_32_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3add62165eb8e7539d5a7c93e3513c4.jpg","text":"TemporaryFile(/tmp/multipartBody6065662957135273505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330829552,"filename":"image_12072025_16_32_43_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2ca4bf72eba672a0a34e7f75ba10045.jpg","text":"TemporaryFile(/tmp/multipartBody7182327476694904084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330829552,"filename":"image_12072025_16_32_24_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900016","file1":"1371900015","file0":"1371900013","file4":"1371900018","file5":"1371900020","file3":"1371900017"},"map_files_photo_id_array":[{"photo_id":"1371900020","filename":"file5"},{"photo_id":"1371900016","filename":"file2"},{"photo_id":"1371900018","filename":"file4"},{"photo_id":"1371900015","filename":"file1"},{"photo_id":"1371900013","filename":"file0"},{"photo_id":"1371900017","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900018":["hashtag1","hashtag2"]},{"1371900015":["hashtag1","hashtag2"]},{"1371900020":["hashtag1","hashtag2"]},{"1371900017":["hashtag1","hashtag2"]},{"1371900013":["hashtag1","hashtag2"]},{"1371900016":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900018, 1371900015, 1371900020, 1371900017, 1371900013, 1371900016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.343175649642944 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:33:32.611148
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_44_9720.jpg', 2), ('/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_34_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_23_9710.jpg', 2), ('/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_14_9748.jpg', 2), ('/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_54_10724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_44_9720.jpg', '/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_34_10665.jpg', '/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_23_9710.jpg', '/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_14_9748.jpg', '/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_54_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_44_9720.jpg
/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_34_10665.jpg
/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_23_9710.jpg
/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_14_9748.jpg
/home/nano/Desktop/images/12072025/16/32/image_12072025_16_32_54_10724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900030","1371900033","1371900035","1371900029","1371900037"],"photo_ids_order":["1371900029","1371900030","1371900033","1371900035","1371900037"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b04a7ef0915b10e1590459174acfde2c.jpg","text":"TemporaryFile(/tmp/multipartBody6793431617173800502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330874928,"filename":"image_12072025_16_33_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9d225d83fe734d186b965d9588fd1cb.jpg","text":"TemporaryFile(/tmp/multipartBody6353549406041776664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330874928,"filename":"image_12072025_16_33_23_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2d46d6f3de1d05abdf3b172aa2db887.jpg","text":"TemporaryFile(/tmp/multipartBody4928608209926060331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330874928,"filename":"image_12072025_16_33_14_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cba427407053ffe9ed442c829d125a5e.jpg","text":"TemporaryFile(/tmp/multipartBody5767596410662440054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330874928,"filename":"image_12072025_16_33_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a41883bcf11bb5d5ce3d16cff7175cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5331192927474617558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330874928,"filename":"image_12072025_16_32_54_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900033","file1":"1371900030","file0":"1371900029","file4":"1371900037","file3":"1371900035"},"map_files_photo_id_array":[{"photo_id":"1371900033","filename":"file2"},{"photo_id":"1371900037","filename":"file4"},{"photo_id":"1371900030","filename":"file1"},{"photo_id":"1371900029","filename":"file0"},{"photo_id":"1371900035","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900030":["hashtag1","hashtag2"]},{"1371900033":["hashtag1","hashtag2"]},{"1371900035":["hashtag1","hashtag2"]},{"1371900029":["hashtag1","hashtag2"]},{"1371900037":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900030, 1371900033, 1371900035, 1371900029, 1371900037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.38907289505005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:34:03.683449
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_44_10669.jpg', 2), ('/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_33_9715.jpg', 2), ('/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_24_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_14_10684.jpg', 2), ('/home/nano/Desktop/images/10072025/17/13/image_10072025_17_14_03_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_44_10669.jpg', '/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_33_9715.jpg', '/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_24_9637.jpg', '/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_14_10684.jpg', '/home/nano/Desktop/images/10072025/17/13/image_10072025_17_14_03_9627.jpg', '/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_44_10669.jpg
/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_33_9715.jpg
/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_24_9637.jpg
/home/nano/Desktop/images/10072025/17/14/image_10072025_17_14_14_10684.jpg
/home/nano/Desktop/images/10072025/17/13/image_10072025_17_14_03_9627.jpg
/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_54_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900045","1371900039","1371900041","1371900038","1371900040","1371900042"],"photo_ids_order":["1371900038","1371900039","1371900040","1371900041","1371900042","1371900045"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da400acffbfd0fd7b03af383839f0352.jpg","text":"TemporaryFile(/tmp/multipartBody9112184525987083242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330907496,"filename":"image_10072025_17_13_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4dbae359b4de50eb2cca514393ea82b4.jpg","text":"TemporaryFile(/tmp/multipartBody4599905207580393853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330907496,"filename":"image_10072025_17_14_33_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5b5aed26bc7f024cbc644b6a462b665.jpg","text":"TemporaryFile(/tmp/multipartBody4443273078506082603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330907496,"filename":"image_10072025_17_14_14_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/939c1cb6a184d201bb67e0336c30a1cb.jpg","text":"TemporaryFile(/tmp/multipartBody1533204343569023017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330907496,"filename":"image_10072025_17_14_44_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea5a9cbebbe2f535d0348422f0b4dbd1.jpg","text":"TemporaryFile(/tmp/multipartBody1867439518043866884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330907496,"filename":"image_10072025_17_14_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72d49667fe555aad41363a6ba7560a9f.jpg","text":"TemporaryFile(/tmp/multipartBody8435006416445741565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330907496,"filename":"image_10072025_17_14_03_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900040","file1":"1371900039","file0":"1371900038","file4":"1371900042","file5":"1371900045","file3":"1371900041"},"map_files_photo_id_array":[{"photo_id":"1371900045","filename":"file5"},{"photo_id":"1371900040","filename":"file2"},{"photo_id":"1371900042","filename":"file4"},{"photo_id":"1371900039","filename":"file1"},{"photo_id":"1371900038","filename":"file0"},{"photo_id":"1371900041","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371900045":["hashtag1","hashtag2"]},{"1371900039":["hashtag1","hashtag2"]},{"1371900041":["hashtag1","hashtag2"]},{"1371900038":["hashtag1","hashtag2"]},{"1371900040":["hashtag1","hashtag2"]},{"1371900042":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371900045, 1371900039, 1371900041, 1371900038, 1371900040, 1371900042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27580428123474 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:34:47.742167
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_34_10744.jpg', 2), ('/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_23_9727.jpg', 2), ('/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_14_9691.jpg', 2), ('/home/nano/Desktop/images/12072025/16/33/image_12072025_16_34_04_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_53_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_44_9639.jpg', '/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_34_10744.jpg', '/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_23_9727.jpg', '/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_14_9691.jpg', '/home/nano/Desktop/images/12072025/16/33/image_12072025_16_34_04_10677.jpg', '/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_53_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_44_9639.jpg
/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_34_10744.jpg
/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_23_9727.jpg
/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_14_9691.jpg
/home/nano/Desktop/images/12072025/16/33/image_12072025_16_34_04_10677.jpg
/home/nano/Desktop/images/12072025/16/33/image_12072025_16_33_53_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900053","1371900062","1371900056","1371900059","1371900060","1371900054"],"photo_ids_order":["1371900053","1371900054","1371900056","1371900059","1371900060","1371900062"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b162da2c477237df897bb65cec359de.jpg","text":"TemporaryFile(/tmp/multipartBody240502409469354024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330949860,"filename":"image_12072025_16_34_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80ed37d1eada2cb03dc0c026d37238cc.jpg","text":"TemporaryFile(/tmp/multipartBody4681180800515412062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330949860,"filename":"image_12072025_16_33_53_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60a639d823d535e10cf3daa0b3d78a02.jpg","text":"TemporaryFile(/tmp/multipartBody1478855957741950035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330949860,"filename":"image_12072025_16_34_23_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c97e1ee72face5ee367d8f6b14493c71.jpg","text":"TemporaryFile(/tmp/multipartBody1289489572735448127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330949860,"filename":"image_12072025_16_34_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4033658e460c1950805700ac6f9103d5.jpg","text":"TemporaryFile(/tmp/multipartBody5163928889101575329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330949860,"filename":"image_12072025_16_34_04_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f2218c7f94f6ce2e8b7ebc41bb1d77e.jpg","text":"TemporaryFile(/tmp/multipartBody4812593160441021352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330949860,"filename":"image_12072025_16_34_34_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900056","file1":"1371900054","file0":"1371900053","file4":"1371900060","file5":"1371900062","file3":"1371900059"},"map_files_photo_id_array":[{"photo_id":"1371900062","filename":"file5"},{"photo_id":"1371900056","filename":"file2"},{"photo_id":"1371900060","filename":"file4"},{"photo_id":"1371900054","filename":"file1"},{"photo_id":"1371900053","filename":"file0"},{"photo_id":"1371900059","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900053":["hashtag1","hashtag2"]},{"1371900062":["hashtag1","hashtag2"]},{"1371900056":["hashtag1","hashtag2"]},{"1371900059":["hashtag1","hashtag2"]},{"1371900060":["hashtag1","hashtag2"]},{"1371900054":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900053, 1371900062, 1371900056, 1371900059, 1371900060, 1371900054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.81177496910095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:35:31.893996
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_44_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_24_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_14_9700.jpg', 2), ('/home/nano/Desktop/images/12072025/16/34/image_12072025_16_35_04_10686.jpg', 2), ('/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_53_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_44_9653.jpg', '/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_34_10648.jpg', '/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_24_9643.jpg', '/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_14_9700.jpg', '/home/nano/Desktop/images/12072025/16/34/image_12072025_16_35_04_10686.jpg', '/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_53_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_44_9653.jpg
/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_34_10648.jpg
/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_24_9643.jpg
/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_14_9700.jpg
/home/nano/Desktop/images/12072025/16/34/image_12072025_16_35_04_10686.jpg
/home/nano/Desktop/images/12072025/16/34/image_12072025_16_34_53_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900071","1371900065","1371900074","1371900076","1371900067","1371900069"],"photo_ids_order":["1371900065","1371900067","1371900069","1371900071","1371900074","1371900076"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4706ae202fcafe8d6207f8047a15fa6.jpg","text":"TemporaryFile(/tmp/multipartBody337261357254452848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330994452,"filename":"image_12072025_16_35_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb4215f784c55b75e617f0dfc200cb3c.jpg","text":"TemporaryFile(/tmp/multipartBody7136431046852650521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330994452,"filename":"image_12072025_16_35_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ecb9841833e05c4e57fadf819f7e735a.jpg","text":"TemporaryFile(/tmp/multipartBody4651817638506161634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330994452,"filename":"image_12072025_16_35_04_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce90906c242d95e0f3c8e6ac2c1e49bd.jpg","text":"TemporaryFile(/tmp/multipartBody5598674751405733722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330994452,"filename":"image_12072025_16_34_53_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/914395c9a7ad25e7ba9f9725117a4ff7.jpg","text":"TemporaryFile(/tmp/multipartBody6840055480637725998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330994452,"filename":"image_12072025_16_35_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d4769979a8c25f70c921d1f99ac5f87.jpg","text":"TemporaryFile(/tmp/multipartBody751091589995221852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752330994452,"filename":"image_12072025_16_35_24_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900069","file1":"1371900067","file0":"1371900065","file4":"1371900074","file5":"1371900076","file3":"1371900071"},"map_files_photo_id_array":[{"photo_id":"1371900076","filename":"file5"},{"photo_id":"1371900069","filename":"file2"},{"photo_id":"1371900074","filename":"file4"},{"photo_id":"1371900067","filename":"file1"},{"photo_id":"1371900065","filename":"file0"},{"photo_id":"1371900071","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900071":["hashtag1","hashtag2"]},{"1371900065":["hashtag1","hashtag2"]},{"1371900074":["hashtag1","hashtag2"]},{"1371900076":["hashtag1","hashtag2"]},{"1371900067":["hashtag1","hashtag2"]},{"1371900069":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900071, 1371900065, 1371900074, 1371900076, 1371900067, 1371900069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.125128507614136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:36:16.920019
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_44_10787.jpg', 2), ('/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_33_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_24_9724.jpg', 2), ('/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_14_9750.jpg', 2), ('/home/nano/Desktop/images/12072025/16/35/image_12072025_16_36_04_10740.jpg', 2), ('/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_54_9718.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_44_10787.jpg', '/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_33_9653.jpg', '/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_24_9724.jpg', '/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_14_9750.jpg', '/home/nano/Desktop/images/12072025/16/35/image_12072025_16_36_04_10740.jpg', '/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_44_10787.jpg
/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_33_9653.jpg
/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_24_9724.jpg
/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_14_9750.jpg
/home/nano/Desktop/images/12072025/16/35/image_12072025_16_36_04_10740.jpg
/home/nano/Desktop/images/12072025/16/35/image_12072025_16_35_54_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900080","1371900077","1371900082","1371900079","1371900081","1371900078"],"photo_ids_order":["1371900077","1371900078","1371900079","1371900080","1371900081","1371900082"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9f563ec2c8d2cc7d0c8ab7bd20004bd.jpg","text":"TemporaryFile(/tmp/multipartBody3762978285997297222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331040224,"filename":"image_12072025_16_36_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb250c7e54d09596a231316e4cc98709.jpg","text":"TemporaryFile(/tmp/multipartBody595012624817899572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331040224,"filename":"image_12072025_16_36_44_10787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6f601122ced2dc3e469153936b5382d.jpg","text":"TemporaryFile(/tmp/multipartBody8112329015918430129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331040224,"filename":"image_12072025_16_35_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/995b6c501806e930f9674cff2f99e9e8.jpg","text":"TemporaryFile(/tmp/multipartBody2102119052594378043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331040224,"filename":"image_12072025_16_36_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5d43c8a767eb620a318306679b75189.jpg","text":"TemporaryFile(/tmp/multipartBody4013796339015059007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331040224,"filename":"image_12072025_16_36_04_10740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/253b39783f9cbbfdacfa065332362b32.jpg","text":"TemporaryFile(/tmp/multipartBody271950679651571227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331040224,"filename":"image_12072025_16_36_33_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900079","file1":"1371900078","file0":"1371900077","file4":"1371900081","file5":"1371900082","file3":"1371900080"},"map_files_photo_id_array":[{"photo_id":"1371900082","filename":"file5"},{"photo_id":"1371900079","filename":"file2"},{"photo_id":"1371900081","filename":"file4"},{"photo_id":"1371900078","filename":"file1"},{"photo_id":"1371900077","filename":"file0"},{"photo_id":"1371900080","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900080":["hashtag1","hashtag2"]},{"1371900077":["hashtag1","hashtag2"]},{"1371900082":["hashtag1","hashtag2"]},{"1371900079":["hashtag1","hashtag2"]},{"1371900081":["hashtag1","hashtag2"]},{"1371900078":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900080, 1371900077, 1371900082, 1371900079, 1371900081, 1371900078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93548631668091 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:37:02.751283
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_44_10619.jpg', 2), ('/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_33_9611.jpg', 2), ('/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_24_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_13_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/17/12/image_10072025_17_13_04_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_44_10619.jpg', '/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_33_9611.jpg', '/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_24_10636.jpg', '/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_13_9645.jpg', '/home/nano/Desktop/images/10072025/17/12/image_10072025_17_13_04_9654.jpg', '/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_44_10619.jpg
/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_33_9611.jpg
/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_24_10636.jpg
/home/nano/Desktop/images/10072025/17/13/image_10072025_17_13_13_9645.jpg
/home/nano/Desktop/images/10072025/17/12/image_10072025_17_13_04_9654.jpg
/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900092","1371900086","1371900089","1371900093","1371900087","1371900096"],"photo_ids_order":["1371900086","1371900087","1371900089","1371900092","1371900093","1371900096"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7588e51e48ed05c14bd8caa17aae148.jpg","text":"TemporaryFile(/tmp/multipartBody5141578123617486162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331085940,"filename":"image_10072025_17_13_13_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b415ff47701fb7aec90b934f7252e092.jpg","text":"TemporaryFile(/tmp/multipartBody505187676358953692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331085940,"filename":"image_10072025_17_13_44_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/048d6ab0a710d8824706238c30eabca2.jpg","text":"TemporaryFile(/tmp/multipartBody7916110451637619275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331085940,"filename":"image_10072025_17_13_24_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3ce2c3bb052fad4efb47c2bde4f8054.jpg","text":"TemporaryFile(/tmp/multipartBody6587556972772144587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331085940,"filename":"image_10072025_17_13_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ceb9e9246473543786e1439ff342000c.jpg","text":"TemporaryFile(/tmp/multipartBody61309100366326678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331085940,"filename":"image_10072025_17_13_33_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f822d46ec6ed5f5e565b42dfdd96e85.jpg","text":"TemporaryFile(/tmp/multipartBody3004927756588467522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331085940,"filename":"image_10072025_17_12_54_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900089","file1":"1371900087","file0":"1371900086","file4":"1371900093","file5":"1371900096","file3":"1371900092"},"map_files_photo_id_array":[{"photo_id":"1371900096","filename":"file5"},{"photo_id":"1371900089","filename":"file2"},{"photo_id":"1371900093","filename":"file4"},{"photo_id":"1371900087","filename":"file1"},{"photo_id":"1371900086","filename":"file0"},{"photo_id":"1371900092","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371900092":["hashtag1","hashtag2"]},{"1371900086":["hashtag1","hashtag2"]},{"1371900089":["hashtag1","hashtag2"]},{"1371900093":["hashtag1","hashtag2"]},{"1371900087":["hashtag1","hashtag2"]},{"1371900096":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371900092, 1371900086, 1371900089, 1371900093, 1371900087, 1371900096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.141249656677246 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:37:47.075467
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_44_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_34_9899.jpg', 2), ('/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_24_10680.jpg', 2), ('/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_13_9775.jpg', 2), ('/home/nano/Desktop/images/12072025/16/36/image_12072025_16_37_04_9733.jpg', 2), ('/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_54_9751.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_44_9627.jpg', '/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_34_9899.jpg', '/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_24_10680.jpg', '/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_13_9775.jpg', '/home/nano/Desktop/images/12072025/16/36/image_12072025_16_37_04_9733.jpg', '/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_54_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_44_9627.jpg
/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_34_9899.jpg
/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_24_10680.jpg
/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_13_9775.jpg
/home/nano/Desktop/images/12072025/16/36/image_12072025_16_37_04_9733.jpg
/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_54_9751.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.251769542694092 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:38:02.710756
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_44_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_34_9899.jpg', 2), ('/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_24_10680.jpg', 2), ('/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_13_9775.jpg', 2), ('/home/nano/Desktop/images/12072025/16/36/image_12072025_16_37_04_9733.jpg', 2), ('/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_54_9751.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_44_9627.jpg', '/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_34_9899.jpg', '/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_24_10680.jpg', '/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_13_9775.jpg', '/home/nano/Desktop/images/12072025/16/36/image_12072025_16_37_04_9733.jpg', '/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_54_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_44_9627.jpg
/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_34_9899.jpg
/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_24_10680.jpg
/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_13_9775.jpg
/home/nano/Desktop/images/12072025/16/36/image_12072025_16_37_04_9733.jpg
/home/nano/Desktop/images/12072025/16/36/image_12072025_16_36_54_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900111","1371900120","1371900114","1371900116","1371900119","1371900118"],"photo_ids_order":["1371900111","1371900114","1371900116","1371900118","1371900119","1371900120"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed875d901e2d16cd7b4fd0c8628d2443.jpg","text":"TemporaryFile(/tmp/multipartBody297043257087618038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331144697,"filename":"image_12072025_16_37_44_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74ae47b9fddc0f9823dbd1e9710bc26a.jpg","text":"TemporaryFile(/tmp/multipartBody2009357369798135719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331144697,"filename":"image_12072025_16_36_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07d00f7f18f1731c89c0b2c685b15f73.jpg","text":"TemporaryFile(/tmp/multipartBody11293271645243543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331144697,"filename":"image_12072025_16_37_34_9899.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0460a2e62c812babd60249951367462.jpg","text":"TemporaryFile(/tmp/multipartBody4109591146293289433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331144697,"filename":"image_12072025_16_37_24_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2acea65cd58df66063cbe32163742bf2.jpg","text":"TemporaryFile(/tmp/multipartBody6285161587560666722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331144697,"filename":"image_12072025_16_37_04_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6fe864708ee08f13b5f0673b002e10f3.jpg","text":"TemporaryFile(/tmp/multipartBody3685444930620945054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331144697,"filename":"image_12072025_16_37_13_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900116","file1":"1371900114","file0":"1371900111","file4":"1371900119","file5":"1371900120","file3":"1371900118"},"map_files_photo_id_array":[{"photo_id":"1371900120","filename":"file5"},{"photo_id":"1371900116","filename":"file2"},{"photo_id":"1371900119","filename":"file4"},{"photo_id":"1371900114","filename":"file1"},{"photo_id":"1371900111","filename":"file0"},{"photo_id":"1371900118","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900111":["hashtag1","hashtag2"]},{"1371900120":["hashtag1","hashtag2"]},{"1371900114":["hashtag1","hashtag2"]},{"1371900116":["hashtag1","hashtag2"]},{"1371900119":["hashtag1","hashtag2"]},{"1371900118":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900111, 1371900120, 1371900114, 1371900116, 1371900119, 1371900118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.389387369155884 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:38:47.153037
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_44_10740.jpg', 2), ('/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_33_9728.jpg', 2), ('/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_24_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_14_9773.jpg', 2), ('/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_53_9755.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_44_10740.jpg', '/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_33_9728.jpg', '/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_24_9657.jpg', '/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_14_9773.jpg', '/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_53_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_44_10740.jpg
/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_33_9728.jpg
/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_24_9657.jpg
/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_14_9773.jpg
/home/nano/Desktop/images/12072025/16/37/image_12072025_16_37_53_9755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900126","1371900129","1371900122","1371900127","1371900124"],"photo_ids_order":["1371900122","1371900124","1371900126","1371900127","1371900129"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52fc65fa501ed98b285ad944974b8273.jpg","text":"TemporaryFile(/tmp/multipartBody769110452955374892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331189256,"filename":"image_12072025_16_38_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4b4b0e8844d58f027de6bd7bb576d6e.jpg","text":"TemporaryFile(/tmp/multipartBody9095803869430852920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331189256,"filename":"image_12072025_16_37_53_9755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/edb3c5a980c55f064cedfa8b912e4434.jpg","text":"TemporaryFile(/tmp/multipartBody2948179779283478765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331189256,"filename":"image_12072025_16_38_44_10740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5632d9d6add2869e4d7a4352c6ce91b.jpg","text":"TemporaryFile(/tmp/multipartBody6010173437099029416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331189256,"filename":"image_12072025_16_38_14_9773.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/237caabd92256d821f3498886f369283.jpg","text":"TemporaryFile(/tmp/multipartBody2422148638192716672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331189256,"filename":"image_12072025_16_38_33_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900126","file1":"1371900124","file0":"1371900122","file4":"1371900129","file3":"1371900127"},"map_files_photo_id_array":[{"photo_id":"1371900126","filename":"file2"},{"photo_id":"1371900129","filename":"file4"},{"photo_id":"1371900124","filename":"file1"},{"photo_id":"1371900122","filename":"file0"},{"photo_id":"1371900127","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900126":["hashtag1","hashtag2"]},{"1371900129":["hashtag1","hashtag2"]},{"1371900122":["hashtag1","hashtag2"]},{"1371900127":["hashtag1","hashtag2"]},{"1371900124":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900126, 1371900129, 1371900122, 1371900127, 1371900124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.818117380142212 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:39:17.257226
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_44_10700.jpg', 2), ('/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_33_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_24_9674.jpg', 2), ('/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_14_10662.jpg', 2), ('/home/nano/Desktop/images/12072025/16/38/image_12072025_16_39_03_9719.jpg', 2), ('/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_44_10700.jpg', '/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_33_9634.jpg', '/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_24_9674.jpg', '/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_14_10662.jpg', '/home/nano/Desktop/images/12072025/16/38/image_12072025_16_39_03_9719.jpg', '/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_44_10700.jpg
/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_33_9634.jpg
/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_24_9674.jpg
/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_14_10662.jpg
/home/nano/Desktop/images/12072025/16/38/image_12072025_16_39_03_9719.jpg
/home/nano/Desktop/images/12072025/16/38/image_12072025_16_38_54_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900138","1371900132","1371900134","1371900133","1371900136","1371900135"],"photo_ids_order":["1371900132","1371900133","1371900134","1371900135","1371900136","1371900138"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a467f94fc45e715c972e23ab72d73afd.jpg","text":"TemporaryFile(/tmp/multipartBody6062895427609157397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331219028,"filename":"image_12072025_16_38_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ee6290d74e3d727a2783694bb12a140.jpg","text":"TemporaryFile(/tmp/multipartBody2249274468245477397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331219028,"filename":"image_12072025_16_39_44_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/223761484ab655e141c8107ced9c9827.jpg","text":"TemporaryFile(/tmp/multipartBody2789136574541788678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331219028,"filename":"image_12072025_16_39_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f79a2fa83ee3dadad03f52844db74a77.jpg","text":"TemporaryFile(/tmp/multipartBody3236631464986909828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331219028,"filename":"image_12072025_16_39_33_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73906f6d348c1b7fbb75f6be7d42b3ae.jpg","text":"TemporaryFile(/tmp/multipartBody793942773676772188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331219028,"filename":"image_12072025_16_39_03_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01c0fd30e596c33cf7176fc55210344a.jpg","text":"TemporaryFile(/tmp/multipartBody7916694407364858868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331219028,"filename":"image_12072025_16_39_14_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900134","file1":"1371900133","file0":"1371900132","file4":"1371900136","file5":"1371900138","file3":"1371900135"},"map_files_photo_id_array":[{"photo_id":"1371900138","filename":"file5"},{"photo_id":"1371900134","filename":"file2"},{"photo_id":"1371900136","filename":"file4"},{"photo_id":"1371900133","filename":"file1"},{"photo_id":"1371900132","filename":"file0"},{"photo_id":"1371900135","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900138":["hashtag1","hashtag2"]},{"1371900132":["hashtag1","hashtag2"]},{"1371900134":["hashtag1","hashtag2"]},{"1371900133":["hashtag1","hashtag2"]},{"1371900136":["hashtag1","hashtag2"]},{"1371900135":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900138, 1371900132, 1371900134, 1371900133, 1371900136, 1371900135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43355441093445 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:40:02.906570
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_44_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_44_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_44_10668.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900150"],"photo_id":"1371900150","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/165c8547573333db10bd20740b3bf283.jpg","text":"TemporaryFile(/tmp/multipartBody8320853724376325866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331263779,"filename":"image_12072025_16_40_44_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371900150"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371900150"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.074025392532349 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:40:17.384142
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_33_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_24_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/16/39/image_12072025_16_40_03_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_33_9620.jpg', '/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_24_9639.jpg', '/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_14_10667.jpg', '/home/nano/Desktop/images/12072025/16/39/image_12072025_16_40_03_9667.jpg', '/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_33_9620.jpg
/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_24_9639.jpg
/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_14_10667.jpg
/home/nano/Desktop/images/12072025/16/39/image_12072025_16_40_03_9667.jpg
/home/nano/Desktop/images/12072025/16/39/image_12072025_16_39_54_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900161","1371900158","1371900163","1371900160","1371900156"],"photo_ids_order":["1371900156","1371900158","1371900160","1371900161","1371900163"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d7f82b8356e33aa72ba6a5f5c3375c0.jpg","text":"TemporaryFile(/tmp/multipartBody2277625583473343613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331278801,"filename":"image_12072025_16_40_03_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95b5bb40260fde7bce63e97e8f96a038.jpg","text":"TemporaryFile(/tmp/multipartBody1760356643604934338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331278801,"filename":"image_12072025_16_40_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/336b5a94acf47f10f253c9e9aee56a24.jpg","text":"TemporaryFile(/tmp/multipartBody3803014534550629805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331278801,"filename":"image_12072025_16_39_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46207beda842a67bb8e0d3119d35a7d6.jpg","text":"TemporaryFile(/tmp/multipartBody2272251670617803015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331278801,"filename":"image_12072025_16_40_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3bb298b2950d885557350b618c3988d.jpg","text":"TemporaryFile(/tmp/multipartBody9187372334617961519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331278801,"filename":"image_12072025_16_40_33_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900160","file1":"1371900158","file0":"1371900156","file4":"1371900163","file3":"1371900161"},"map_files_photo_id_array":[{"photo_id":"1371900160","filename":"file2"},{"photo_id":"1371900163","filename":"file4"},{"photo_id":"1371900158","filename":"file1"},{"photo_id":"1371900156","filename":"file0"},{"photo_id":"1371900161","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900161":["hashtag1","hashtag2"]},{"1371900158":["hashtag1","hashtag2"]},{"1371900163":["hashtag1","hashtag2"]},{"1371900160":["hashtag1","hashtag2"]},{"1371900156":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900161, 1371900158, 1371900163, 1371900160, 1371900156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.006511926651 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:40:47.397481
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_43_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_34_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_24_10653.jpg', 2), ('/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_13_9668.jpg', 2), ('/home/nano/Desktop/images/10072025/17/11/image_10072025_17_12_04_9672.jpg', 2), ('/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_54_10675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_43_9619.jpg', '/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_34_9650.jpg', '/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_24_10653.jpg', '/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_13_9668.jpg', '/home/nano/Desktop/images/10072025/17/11/image_10072025_17_12_04_9672.jpg', '/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_54_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_43_9619.jpg
/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_34_9650.jpg
/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_24_10653.jpg
/home/nano/Desktop/images/10072025/17/12/image_10072025_17_12_13_9668.jpg
/home/nano/Desktop/images/10072025/17/11/image_10072025_17_12_04_9672.jpg
/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_54_10675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900179","1371900170","1371900173","1371900175","1371900171","1371900177"],"photo_ids_order":["1371900170","1371900171","1371900173","1371900175","1371900177","1371900179"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39b05686620c6a1a85daf64f0263006b.jpg","text":"TemporaryFile(/tmp/multipartBody3002740034109321896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331310605,"filename":"image_10072025_17_11_54_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e20c02ead9d24960606b3a3c44a3f7cf.jpg","text":"TemporaryFile(/tmp/multipartBody1309918052702695684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331310605,"filename":"image_10072025_17_12_43_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f270091473491b4109209439be4a8ae2.jpg","text":"TemporaryFile(/tmp/multipartBody1402730690222241573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331310605,"filename":"image_10072025_17_12_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/faed0f754bb1563fc3bce361ad370ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8331215580036205934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331310605,"filename":"image_10072025_17_12_13_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/999ed1bbf6f24d4bc34750ff45e8b109.jpg","text":"TemporaryFile(/tmp/multipartBody4604393103331538064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331310605,"filename":"image_10072025_17_12_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9805a0a2e66d336816fa60ae7ef5f418.jpg","text":"TemporaryFile(/tmp/multipartBody2165902340661350642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331310605,"filename":"image_10072025_17_12_04_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900173","file1":"1371900171","file0":"1371900170","file4":"1371900177","file5":"1371900179","file3":"1371900175"},"map_files_photo_id_array":[{"photo_id":"1371900179","filename":"file5"},{"photo_id":"1371900173","filename":"file2"},{"photo_id":"1371900177","filename":"file4"},{"photo_id":"1371900171","filename":"file1"},{"photo_id":"1371900170","filename":"file0"},{"photo_id":"1371900175","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371900179":["hashtag1","hashtag2"]},{"1371900170":["hashtag1","hashtag2"]},{"1371900173":["hashtag1","hashtag2"]},{"1371900175":["hashtag1","hashtag2"]},{"1371900171":["hashtag1","hashtag2"]},{"1371900177":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371900179, 1371900170, 1371900173, 1371900175, 1371900171, 1371900177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45902633666992 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:41:32.485820
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_44_9717.jpg', 2), ('/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_34_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_24_9688.jpg', 2), ('/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_14_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/16/40/image_12072025_16_41_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_54_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_44_9717.jpg', '/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_34_10615.jpg', '/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_24_9688.jpg', '/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_14_10660.jpg', '/home/nano/Desktop/images/12072025/16/40/image_12072025_16_41_03_9654.jpg', '/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_54_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_44_9717.jpg
/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_34_10615.jpg
/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_24_9688.jpg
/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_14_10660.jpg
/home/nano/Desktop/images/12072025/16/40/image_12072025_16_41_03_9654.jpg
/home/nano/Desktop/images/12072025/16/40/image_12072025_16_40_54_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900182","1371900187","1371900181","1371900184","1371900186","1371900180"],"photo_ids_order":["1371900180","1371900181","1371900182","1371900184","1371900186","1371900187"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7472188fce74f7a17b9d5deb3d5ef2fc.jpg","text":"TemporaryFile(/tmp/multipartBody5796761795052871089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331354416,"filename":"image_12072025_16_41_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07beb16a61851666f45f89c4efdb156c.jpg","text":"TemporaryFile(/tmp/multipartBody5561922924823350648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331354416,"filename":"image_12072025_16_40_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38b4b32e9d853f1eaf3db7b8be631179.jpg","text":"TemporaryFile(/tmp/multipartBody8226872838771276049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331354416,"filename":"image_12072025_16_41_34_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbfa16d4e9bfa9d0242c0d5e9bdae666.jpg","text":"TemporaryFile(/tmp/multipartBody3319854075275778212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331354416,"filename":"image_12072025_16_41_14_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37b06dfa29fcb115bb18202d0e4e33fa.jpg","text":"TemporaryFile(/tmp/multipartBody3564245394880241077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331354416,"filename":"image_12072025_16_41_03_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16b00592fa39c0313ba6a492850f664f.jpg","text":"TemporaryFile(/tmp/multipartBody9219537721155508613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331354416,"filename":"image_12072025_16_41_44_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900182","file1":"1371900181","file0":"1371900180","file4":"1371900186","file5":"1371900187","file3":"1371900184"},"map_files_photo_id_array":[{"photo_id":"1371900187","filename":"file5"},{"photo_id":"1371900182","filename":"file2"},{"photo_id":"1371900186","filename":"file4"},{"photo_id":"1371900181","filename":"file1"},{"photo_id":"1371900180","filename":"file0"},{"photo_id":"1371900184","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900182":["hashtag1","hashtag2"]},{"1371900187":["hashtag1","hashtag2"]},{"1371900181":["hashtag1","hashtag2"]},{"1371900184":["hashtag1","hashtag2"]},{"1371900186":["hashtag1","hashtag2"]},{"1371900180":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900182, 1371900187, 1371900181, 1371900184, 1371900186, 1371900180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.601768732070923 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:42:17.596990
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_44_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_34_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_24_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_14_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/16/41/image_12072025_16_42_04_10695.jpg', 2), ('/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_54_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_44_9615.jpg', '/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_34_10621.jpg', '/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_24_9617.jpg', '/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_14_9645.jpg', '/home/nano/Desktop/images/12072025/16/41/image_12072025_16_42_04_10695.jpg', '/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_54_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_44_9615.jpg
/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_34_10621.jpg
/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_24_9617.jpg
/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_14_9645.jpg
/home/nano/Desktop/images/12072025/16/41/image_12072025_16_42_04_10695.jpg
/home/nano/Desktop/images/12072025/16/41/image_12072025_16_41_54_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900191","1371900194","1371900188","1371900193","1371900196","1371900189"],"photo_ids_order":["1371900188","1371900189","1371900191","1371900193","1371900194","1371900196"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12a1374db13feca7d2d229cf7aeeca36.jpg","text":"TemporaryFile(/tmp/multipartBody6852625649170596671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331399557,"filename":"image_12072025_16_42_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ce4aa2f5545c2aed1a7d42bea96192f.jpg","text":"TemporaryFile(/tmp/multipartBody1883800146467992616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331399557,"filename":"image_12072025_16_42_04_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/245b14788000a76287a8e2ff2cd2ca31.jpg","text":"TemporaryFile(/tmp/multipartBody5804311551611176702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331399557,"filename":"image_12072025_16_42_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0456fcf053af69115ae75c778802385.jpg","text":"TemporaryFile(/tmp/multipartBody7753346060445494671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331399557,"filename":"image_12072025_16_42_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60f95a97fe0252d0fed34f4499e99a81.jpg","text":"TemporaryFile(/tmp/multipartBody8976336008663265215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331399557,"filename":"image_12072025_16_41_54_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c6873b9b6cc10ddb4a477760a5b4071.jpg","text":"TemporaryFile(/tmp/multipartBody1459747926953463052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331399557,"filename":"image_12072025_16_42_34_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900191","file1":"1371900189","file0":"1371900188","file4":"1371900194","file5":"1371900196","file3":"1371900193"},"map_files_photo_id_array":[{"photo_id":"1371900196","filename":"file5"},{"photo_id":"1371900191","filename":"file2"},{"photo_id":"1371900194","filename":"file4"},{"photo_id":"1371900189","filename":"file1"},{"photo_id":"1371900188","filename":"file0"},{"photo_id":"1371900193","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900191":["hashtag1","hashtag2"]},{"1371900194":["hashtag1","hashtag2"]},{"1371900188":["hashtag1","hashtag2"]},{"1371900193":["hashtag1","hashtag2"]},{"1371900196":["hashtag1","hashtag2"]},{"1371900189":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900191, 1371900194, 1371900188, 1371900193, 1371900196, 1371900189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19004154205322 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:43:03.421673
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_43_9621.jpg', 2), ('/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_34_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_24_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_13_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/17/10/image_10072025_17_11_04_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_53_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_43_9621.jpg', '/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_34_9653.jpg', '/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_24_10645.jpg', '/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_13_9656.jpg', '/home/nano/Desktop/images/10072025/17/10/image_10072025_17_11_04_10647.jpg', '/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_53_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_43_9621.jpg
/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_34_9653.jpg
/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_24_10645.jpg
/home/nano/Desktop/images/10072025/17/11/image_10072025_17_11_13_9656.jpg
/home/nano/Desktop/images/10072025/17/10/image_10072025_17_11_04_10647.jpg
/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_53_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900204","1371900207","1371900209","1371900206","1371900211","1371900208"],"photo_ids_order":["1371900204","1371900206","1371900207","1371900208","1371900209","1371900211"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95e1ffde53d8474b74711ea770c3116e.jpg","text":"TemporaryFile(/tmp/multipartBody5968836027329687725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331446847,"filename":"image_10072025_17_11_43_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f927c7799284e9556b6f72ebb80f09a5.jpg","text":"TemporaryFile(/tmp/multipartBody4975867397046950684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331446847,"filename":"image_10072025_17_11_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28bafcf024fb376496538a4d78e78f4f.jpg","text":"TemporaryFile(/tmp/multipartBody7817339995651454775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331446847,"filename":"image_10072025_17_11_04_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/292ff9f8967133141a0f6d9e85f9cea7.jpg","text":"TemporaryFile(/tmp/multipartBody3415150838557355447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331446847,"filename":"image_10072025_17_11_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22f7d6f4dc2184d8a4666aebc66ac73a.jpg","text":"TemporaryFile(/tmp/multipartBody36935674976041694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331446847,"filename":"image_10072025_17_10_53_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fab84e193cbb3ef926125510f5767de4.jpg","text":"TemporaryFile(/tmp/multipartBody1702084979475833803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331446847,"filename":"image_10072025_17_11_13_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900207","file1":"1371900206","file0":"1371900204","file4":"1371900209","file5":"1371900211","file3":"1371900208"},"map_files_photo_id_array":[{"photo_id":"1371900211","filename":"file5"},{"photo_id":"1371900207","filename":"file2"},{"photo_id":"1371900209","filename":"file4"},{"photo_id":"1371900206","filename":"file1"},{"photo_id":"1371900204","filename":"file0"},{"photo_id":"1371900208","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371900204":["hashtag1","hashtag2"]},{"1371900207":["hashtag1","hashtag2"]},{"1371900209":["hashtag1","hashtag2"]},{"1371900206":["hashtag1","hashtag2"]},{"1371900211":["hashtag1","hashtag2"]},{"1371900208":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371900204, 1371900207, 1371900209, 1371900206, 1371900211, 1371900208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13587188720703 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:43:47.690047
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_44_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_34_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_23_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_14_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/16/42/image_12072025_16_43_04_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_53_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_44_9630.jpg', '/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_34_10655.jpg', '/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_23_9640.jpg', '/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_14_9644.jpg', '/home/nano/Desktop/images/12072025/16/42/image_12072025_16_43_04_10639.jpg', '/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_53_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_44_9630.jpg
/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_34_10655.jpg
/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_23_9640.jpg
/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_14_9644.jpg
/home/nano/Desktop/images/12072025/16/42/image_12072025_16_43_04_10639.jpg
/home/nano/Desktop/images/12072025/16/42/image_12072025_16_42_53_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900230","1371900224","1371900223","1371900232","1371900226","1371900229"],"photo_ids_order":["1371900223","1371900224","1371900226","1371900229","1371900230","1371900232"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/736fc49a2a5c7377011b0691598a06c7.jpg","text":"TemporaryFile(/tmp/multipartBody4911255016915397260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331489696,"filename":"image_12072025_16_43_04_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b6613b650091814d96dfd5f374cbc85.jpg","text":"TemporaryFile(/tmp/multipartBody399974793440274164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331489696,"filename":"image_12072025_16_43_34_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c99dfa65e94f4444c9d87f408dc0cf6f.jpg","text":"TemporaryFile(/tmp/multipartBody537601872846433165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331489696,"filename":"image_12072025_16_43_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c0349471602fe8b6934daddaadabfd6.jpg","text":"TemporaryFile(/tmp/multipartBody2185310506391848971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331489696,"filename":"image_12072025_16_42_53_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41a980e912f126bf554a00690eb3ae17.jpg","text":"TemporaryFile(/tmp/multipartBody2446777370463416685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331489696,"filename":"image_12072025_16_43_23_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3b496de73deedd4eba846db4fc15714.jpg","text":"TemporaryFile(/tmp/multipartBody7870324218920893960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331489696,"filename":"image_12072025_16_43_14_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900226","file1":"1371900224","file0":"1371900223","file4":"1371900230","file5":"1371900232","file3":"1371900229"},"map_files_photo_id_array":[{"photo_id":"1371900232","filename":"file5"},{"photo_id":"1371900226","filename":"file2"},{"photo_id":"1371900230","filename":"file4"},{"photo_id":"1371900224","filename":"file1"},{"photo_id":"1371900223","filename":"file0"},{"photo_id":"1371900229","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900230":["hashtag1","hashtag2"]},{"1371900224":["hashtag1","hashtag2"]},{"1371900223":["hashtag1","hashtag2"]},{"1371900232":["hashtag1","hashtag2"]},{"1371900226":["hashtag1","hashtag2"]},{"1371900229":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900230, 1371900224, 1371900223, 1371900232, 1371900226, 1371900229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14967322349548 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:44:31.806941
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_34_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_24_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_14_9680.jpg', 2), ('/home/nano/Desktop/images/12072025/16/43/image_12072025_16_44_04_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_54_10674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_44_9616.jpg', '/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_34_9633.jpg', '/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_24_10633.jpg', '/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_14_9680.jpg', '/home/nano/Desktop/images/12072025/16/43/image_12072025_16_44_04_9657.jpg', '/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_54_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_44_9616.jpg
/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_34_9633.jpg
/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_24_10633.jpg
/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_14_9680.jpg
/home/nano/Desktop/images/12072025/16/43/image_12072025_16_44_04_9657.jpg
/home/nano/Desktop/images/12072025/16/43/image_12072025_16_43_54_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900243","1371900237","1371900236","1371900239","1371900241","1371900238"],"photo_ids_order":["1371900236","1371900237","1371900238","1371900239","1371900241","1371900243"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/309796eb1d77c6f58712e39498017f26.jpg","text":"TemporaryFile(/tmp/multipartBody9427823194023004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331533500,"filename":"image_12072025_16_43_54_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a671fd98a0729e89d05afaf9a20ada7b.jpg","text":"TemporaryFile(/tmp/multipartBody4918872741033519735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331533500,"filename":"image_12072025_16_44_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/410854f1db280da04ec57f82aeeda11d.jpg","text":"TemporaryFile(/tmp/multipartBody5375068204411029528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331533500,"filename":"image_12072025_16_44_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab1fd915f0761e31baacd1b59b37638f.jpg","text":"TemporaryFile(/tmp/multipartBody8921510400741752382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331533500,"filename":"image_12072025_16_44_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/febc9b0784a86e0e1a96378bd4ffeb49.jpg","text":"TemporaryFile(/tmp/multipartBody8208187959529752841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331533500,"filename":"image_12072025_16_44_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fbb6d8f9cec55411afc797c985313f6b.jpg","text":"TemporaryFile(/tmp/multipartBody2663080173391650625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331533500,"filename":"image_12072025_16_44_24_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900238","file1":"1371900237","file0":"1371900236","file4":"1371900241","file5":"1371900243","file3":"1371900239"},"map_files_photo_id_array":[{"photo_id":"1371900243","filename":"file5"},{"photo_id":"1371900238","filename":"file2"},{"photo_id":"1371900241","filename":"file4"},{"photo_id":"1371900237","filename":"file1"},{"photo_id":"1371900236","filename":"file0"},{"photo_id":"1371900239","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900243":["hashtag1","hashtag2"]},{"1371900237":["hashtag1","hashtag2"]},{"1371900236":["hashtag1","hashtag2"]},{"1371900239":["hashtag1","hashtag2"]},{"1371900241":["hashtag1","hashtag2"]},{"1371900238":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900243, 1371900237, 1371900236, 1371900239, 1371900241, 1371900238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.52608299255371 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:45:16.914640
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_43_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_34_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_24_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_13_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/16/44/image_12072025_16_45_04_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_54_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_43_9615.jpg', '/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_34_9621.jpg', '/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_24_10632.jpg', '/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_13_9628.jpg', '/home/nano/Desktop/images/12072025/16/44/image_12072025_16_45_04_9649.jpg', '/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_54_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_43_9615.jpg
/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_34_9621.jpg
/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_24_10632.jpg
/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_13_9628.jpg
/home/nano/Desktop/images/12072025/16/44/image_12072025_16_45_04_9649.jpg
/home/nano/Desktop/images/12072025/16/44/image_12072025_16_44_54_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900258","1371900251","1371900254","1371900257","1371900256","1371900253"],"photo_ids_order":["1371900251","1371900253","1371900254","1371900256","1371900257","1371900258"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23cede4e8ee2b26b5b22c695c2056b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5184027964398906988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331578831,"filename":"image_12072025_16_44_54_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d86a5c8114561cf70e947c82dac05c5f.jpg","text":"TemporaryFile(/tmp/multipartBody2694148469375562924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331578831,"filename":"image_12072025_16_45_43_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41ded4d08c0271c9c1ad2a53dce614c5.jpg","text":"TemporaryFile(/tmp/multipartBody4136940637264157603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331578831,"filename":"image_12072025_16_45_24_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/050077ec061dc0ed2e729ce0ce191c45.jpg","text":"TemporaryFile(/tmp/multipartBody558556361905010788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331578831,"filename":"image_12072025_16_45_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80b223b4c73a069880b09b58df5b216f.jpg","text":"TemporaryFile(/tmp/multipartBody7723431595515688044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331578831,"filename":"image_12072025_16_45_13_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a21296edb80af67a625f1bf1408a1b9.jpg","text":"TemporaryFile(/tmp/multipartBody1251217591086070013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331578831,"filename":"image_12072025_16_45_34_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900254","file1":"1371900253","file0":"1371900251","file4":"1371900257","file5":"1371900258","file3":"1371900256"},"map_files_photo_id_array":[{"photo_id":"1371900258","filename":"file5"},{"photo_id":"1371900254","filename":"file2"},{"photo_id":"1371900257","filename":"file4"},{"photo_id":"1371900253","filename":"file1"},{"photo_id":"1371900251","filename":"file0"},{"photo_id":"1371900256","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900258":["hashtag1","hashtag2"]},{"1371900251":["hashtag1","hashtag2"]},{"1371900254":["hashtag1","hashtag2"]},{"1371900257":["hashtag1","hashtag2"]},{"1371900256":["hashtag1","hashtag2"]},{"1371900253":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900258, 1371900251, 1371900254, 1371900257, 1371900256, 1371900253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.83304762840271 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:46:02.581512
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_43_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_34_10649.jpg', 2), ('/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_23_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_13_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/17/09/image_10072025_17_10_04_10673.jpg', 2), ('/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_53_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_43_9657.jpg', '/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_34_10649.jpg', '/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_23_9624.jpg', '/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_13_9661.jpg', '/home/nano/Desktop/images/10072025/17/09/image_10072025_17_10_04_10673.jpg', '/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_53_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_43_9657.jpg
/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_34_10649.jpg
/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_23_9624.jpg
/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_13_9661.jpg
/home/nano/Desktop/images/10072025/17/09/image_10072025_17_10_04_10673.jpg
/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_53_9654.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.130060434341431 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:46:17.020965
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_34_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_24_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_14_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/16/45/image_12072025_16_46_04_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_54_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_44_10621.jpg', '/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_34_9619.jpg', '/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_24_9609.jpg', '/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_14_10674.jpg', '/home/nano/Desktop/images/12072025/16/45/image_12072025_16_46_04_9655.jpg', '/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_54_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_44_10621.jpg
/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_34_9619.jpg
/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_24_9609.jpg
/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_14_10674.jpg
/home/nano/Desktop/images/12072025/16/45/image_12072025_16_46_04_9655.jpg
/home/nano/Desktop/images/12072025/16/45/image_12072025_16_45_54_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900281","1371900278","1371900280","1371900283","1371900273","1371900276"],"photo_ids_order":["1371900273","1371900276","1371900278","1371900280","1371900281","1371900283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d42fb593e1a034083684793e6df2b738.jpg","text":"TemporaryFile(/tmp/multipartBody4365872683132736269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331640173,"filename":"image_12072025_16_46_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa07b20cb106d8753f7314e7900a4a77.jpg","text":"TemporaryFile(/tmp/multipartBody6276531951930346410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331640173,"filename":"image_12072025_16_46_24_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7423e0b5ae07eb793e8497f251017aad.jpg","text":"TemporaryFile(/tmp/multipartBody7463061636872501396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331640173,"filename":"image_12072025_16_46_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b93c58dacb3e3ed16e030556a0a6485f.jpg","text":"TemporaryFile(/tmp/multipartBody6407830103782964245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331640173,"filename":"image_12072025_16_45_54_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9277f8f31a4040f0c8b6ec799b16ace3.jpg","text":"TemporaryFile(/tmp/multipartBody4156377481725110937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331640173,"filename":"image_12072025_16_46_44_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/579c03cd9f6af3a258200cd702501c44.jpg","text":"TemporaryFile(/tmp/multipartBody5475615064326866042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331640173,"filename":"image_12072025_16_46_34_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900278","file1":"1371900276","file0":"1371900273","file4":"1371900281","file5":"1371900283","file3":"1371900280"},"map_files_photo_id_array":[{"photo_id":"1371900283","filename":"file5"},{"photo_id":"1371900278","filename":"file2"},{"photo_id":"1371900281","filename":"file4"},{"photo_id":"1371900276","filename":"file1"},{"photo_id":"1371900273","filename":"file0"},{"photo_id":"1371900280","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900281":["hashtag1","hashtag2"]},{"1371900278":["hashtag1","hashtag2"]},{"1371900280":["hashtag1","hashtag2"]},{"1371900283":["hashtag1","hashtag2"]},{"1371900273":["hashtag1","hashtag2"]},{"1371900276":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900281, 1371900278, 1371900280, 1371900283, 1371900273, 1371900276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15542006492615 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:47:02.650174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_43_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_34_10649.jpg', 2), ('/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_23_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_13_9661.jpg', 2), ('/home/nano/Desktop/images/10072025/17/09/image_10072025_17_10_04_10673.jpg', 2), ('/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_53_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_43_9657.jpg', '/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_34_10649.jpg', '/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_23_9624.jpg', '/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_13_9661.jpg', '/home/nano/Desktop/images/10072025/17/09/image_10072025_17_10_04_10673.jpg', '/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_53_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_43_9657.jpg
/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_34_10649.jpg
/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_23_9624.jpg
/home/nano/Desktop/images/10072025/17/10/image_10072025_17_10_13_9661.jpg
/home/nano/Desktop/images/10072025/17/09/image_10072025_17_10_04_10673.jpg
/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_53_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900293","1371900296","1371900290","1371900295","1371900291","1371900294"],"photo_ids_order":["1371900290","1371900291","1371900293","1371900294","1371900295","1371900296"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b128e24aedc6ed8330a1b47d627a667c.jpg","text":"TemporaryFile(/tmp/multipartBody3055698012243598999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331686109,"filename":"image_10072025_17_10_23_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ae4ed87ed22a33a7f69a925d355282f.jpg","text":"TemporaryFile(/tmp/multipartBody250644075879742696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331686109,"filename":"image_10072025_17_09_53_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/606bcc0a0417bd42e1ba076cce67f72b.jpg","text":"TemporaryFile(/tmp/multipartBody2014508629300369300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331686109,"filename":"image_10072025_17_10_43_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51d609d3c53958de6eda87266d20e7b4.jpg","text":"TemporaryFile(/tmp/multipartBody3782081187584861529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331686109,"filename":"image_10072025_17_10_04_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51e25c1bc378c4c689c73f290cdaf433.jpg","text":"TemporaryFile(/tmp/multipartBody2183190993159470341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331686109,"filename":"image_10072025_17_10_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09248c1949ee3e6cb464053887809b89.jpg","text":"TemporaryFile(/tmp/multipartBody8805377760384211437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331686109,"filename":"image_10072025_17_10_13_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900293","file1":"1371900291","file0":"1371900290","file4":"1371900295","file5":"1371900296","file3":"1371900294"},"map_files_photo_id_array":[{"photo_id":"1371900296","filename":"file5"},{"photo_id":"1371900293","filename":"file2"},{"photo_id":"1371900295","filename":"file4"},{"photo_id":"1371900291","filename":"file1"},{"photo_id":"1371900290","filename":"file0"},{"photo_id":"1371900294","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371900293":["hashtag1","hashtag2"]},{"1371900296":["hashtag1","hashtag2"]},{"1371900290":["hashtag1","hashtag2"]},{"1371900295":["hashtag1","hashtag2"]},{"1371900291":["hashtag1","hashtag2"]},{"1371900294":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371900293, 1371900296, 1371900290, 1371900295, 1371900291, 1371900294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22077941894531 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:47:47.117152
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_44_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_33_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_24_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_14_10672.jpg', 2), ('/home/nano/Desktop/images/12072025/16/46/image_12072025_16_47_03_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_44_10670.jpg', '/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_33_9647.jpg', '/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_24_9667.jpg', '/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_14_10672.jpg', '/home/nano/Desktop/images/12072025/16/46/image_12072025_16_47_03_9629.jpg', '/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_44_10670.jpg
/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_33_9647.jpg
/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_24_9667.jpg
/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_14_10672.jpg
/home/nano/Desktop/images/12072025/16/46/image_12072025_16_47_03_9629.jpg
/home/nano/Desktop/images/12072025/16/46/image_12072025_16_46_54_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900303","1371900309","1371900299","1371900304","1371900307","1371900301"],"photo_ids_order":["1371900299","1371900301","1371900303","1371900304","1371900307","1371900309"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3b8ee120467da47fe397fba5dd91b6c.jpg","text":"TemporaryFile(/tmp/multipartBody5755029182426999238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331729449,"filename":"image_12072025_16_47_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b41ed0fb141cc47ef69f2b3786ab947b.jpg","text":"TemporaryFile(/tmp/multipartBody3819856705493620268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331729449,"filename":"image_12072025_16_46_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e4e87710a965ef62077a002d1186381.jpg","text":"TemporaryFile(/tmp/multipartBody855226911487426295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331729449,"filename":"image_12072025_16_47_44_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d847582749d94a40fcbc1d970efeb2ab.jpg","text":"TemporaryFile(/tmp/multipartBody5152119161319408937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331729449,"filename":"image_12072025_16_47_14_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/372659095a63fb5e03ae9d6ce64b6052.jpg","text":"TemporaryFile(/tmp/multipartBody3282489660696607915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331729449,"filename":"image_12072025_16_47_03_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/420870be291371ac6973110e164ca962.jpg","text":"TemporaryFile(/tmp/multipartBody7415956847885456818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331729449,"filename":"image_12072025_16_47_33_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900303","file1":"1371900301","file0":"1371900299","file4":"1371900307","file5":"1371900309","file3":"1371900304"},"map_files_photo_id_array":[{"photo_id":"1371900309","filename":"file5"},{"photo_id":"1371900303","filename":"file2"},{"photo_id":"1371900307","filename":"file4"},{"photo_id":"1371900301","filename":"file1"},{"photo_id":"1371900299","filename":"file0"},{"photo_id":"1371900304","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900303":["hashtag1","hashtag2"]},{"1371900309":["hashtag1","hashtag2"]},{"1371900299":["hashtag1","hashtag2"]},{"1371900304":["hashtag1","hashtag2"]},{"1371900307":["hashtag1","hashtag2"]},{"1371900301":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900303, 1371900309, 1371900299, 1371900304, 1371900307, 1371900301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.840245246887207 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:48:32.247602
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_44_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_33_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_14_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/16/47/image_12072025_16_48_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_54_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_44_10652.jpg', '/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_33_9641.jpg', '/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_24_9608.jpg', '/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_14_10675.jpg', '/home/nano/Desktop/images/12072025/16/47/image_12072025_16_48_03_9654.jpg', '/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_54_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_44_10652.jpg
/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_33_9641.jpg
/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_24_9608.jpg
/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_14_10675.jpg
/home/nano/Desktop/images/12072025/16/47/image_12072025_16_48_03_9654.jpg
/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_54_9680.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.685439109802246 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:48:47.208768
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_44_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_33_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_14_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/16/47/image_12072025_16_48_03_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_54_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_44_10652.jpg', '/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_33_9641.jpg', '/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_24_9608.jpg', '/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_14_10675.jpg', '/home/nano/Desktop/images/12072025/16/47/image_12072025_16_48_03_9654.jpg', '/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_54_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_44_10652.jpg
/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_33_9641.jpg
/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_24_9608.jpg
/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_14_10675.jpg
/home/nano/Desktop/images/12072025/16/47/image_12072025_16_48_03_9654.jpg
/home/nano/Desktop/images/12072025/16/47/image_12072025_16_47_54_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900330","1371900326","1371900320","1371900323","1371900325","1371900328"],"photo_ids_order":["1371900320","1371900323","1371900325","1371900326","1371900328","1371900330"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a2b2f9efedff1d785c0f5c227098e90.jpg","text":"TemporaryFile(/tmp/multipartBody8078872837137456201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331788773,"filename":"image_12072025_16_47_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7679e59a4105128fa2fda62af2a6eb06.jpg","text":"TemporaryFile(/tmp/multipartBody6132644699438477846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331788773,"filename":"image_12072025_16_48_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0417e61cea87ecd71e92a5b42569b357.jpg","text":"TemporaryFile(/tmp/multipartBody8768346897724704962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331788773,"filename":"image_12072025_16_48_44_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/49e9b6036f51b46f692524cd63039b87.jpg","text":"TemporaryFile(/tmp/multipartBody8583541703471459570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331788773,"filename":"image_12072025_16_48_33_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4c006a2019f5a97e0f76946d09d299f.jpg","text":"TemporaryFile(/tmp/multipartBody814751537590809697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331788773,"filename":"image_12072025_16_48_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78ef84086ae2ab0a1fecb43212047d4f.jpg","text":"TemporaryFile(/tmp/multipartBody3537242124937376642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331788773,"filename":"image_12072025_16_48_03_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900325","file1":"1371900323","file0":"1371900320","file4":"1371900328","file5":"1371900330","file3":"1371900326"},"map_files_photo_id_array":[{"photo_id":"1371900330","filename":"file5"},{"photo_id":"1371900325","filename":"file2"},{"photo_id":"1371900328","filename":"file4"},{"photo_id":"1371900323","filename":"file1"},{"photo_id":"1371900320","filename":"file0"},{"photo_id":"1371900326","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900330":["hashtag1","hashtag2"]},{"1371900326":["hashtag1","hashtag2"]},{"1371900320":["hashtag1","hashtag2"]},{"1371900323":["hashtag1","hashtag2"]},{"1371900325":["hashtag1","hashtag2"]},{"1371900328":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900330, 1371900326, 1371900320, 1371900323, 1371900325, 1371900328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.571383237838745 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:49:32.395377
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_53_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_34_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_24_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/16/48/image_12072025_16_49_04_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_54_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_53_9646.jpg', '/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_34_10628.jpg', '/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_24_9596.jpg', '/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_14_9658.jpg', '/home/nano/Desktop/images/12072025/16/48/image_12072025_16_49_04_10673.jpg', '/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_54_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_53_9646.jpg
/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_34_10628.jpg
/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_24_9596.jpg
/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_14_9658.jpg
/home/nano/Desktop/images/12072025/16/48/image_12072025_16_49_04_10673.jpg
/home/nano/Desktop/images/12072025/16/48/image_12072025_16_48_54_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900336","1371900350","1371900335","1371900349","1371900352","1371900334"],"photo_ids_order":["1371900334","1371900335","1371900336","1371900349","1371900350","1371900352"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ab8366f52495d9d5bb19cb55374adbb.jpg","text":"TemporaryFile(/tmp/multipartBody7437335866284990336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331834262,"filename":"image_12072025_16_49_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8262ffffa90946c69455c7ad13ab39e6.jpg","text":"TemporaryFile(/tmp/multipartBody5690924249390317170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331834262,"filename":"image_12072025_16_49_04_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de5721429b1222589ef1b9d44c2b41ea.jpg","text":"TemporaryFile(/tmp/multipartBody1774279240814273561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331834262,"filename":"image_12072025_16_49_34_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0d8ead951500589cf5af5997b1f54b2.jpg","text":"TemporaryFile(/tmp/multipartBody164297060508054725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331834262,"filename":"image_12072025_16_49_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9872b36d976a61f47602f2e9e9e07043.jpg","text":"TemporaryFile(/tmp/multipartBody7245644752742500334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331834262,"filename":"image_12072025_16_48_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a697a434f026c5ce3a126df72daee11b.jpg","text":"TemporaryFile(/tmp/multipartBody5021176020056900099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331834262,"filename":"image_12072025_16_49_53_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900336","file1":"1371900335","file0":"1371900334","file4":"1371900350","file5":"1371900352","file3":"1371900349"},"map_files_photo_id_array":[{"photo_id":"1371900352","filename":"file5"},{"photo_id":"1371900336","filename":"file2"},{"photo_id":"1371900350","filename":"file4"},{"photo_id":"1371900335","filename":"file1"},{"photo_id":"1371900334","filename":"file0"},{"photo_id":"1371900349","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900336":["hashtag1","hashtag2"]},{"1371900350":["hashtag1","hashtag2"]},{"1371900335":["hashtag1","hashtag2"]},{"1371900349":["hashtag1","hashtag2"]},{"1371900352":["hashtag1","hashtag2"]},{"1371900334":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900336, 1371900350, 1371900335, 1371900349, 1371900352, 1371900334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.748063564300537 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:50:17.481464
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_44_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_34_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_24_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_14_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/16/49/image_12072025_16_50_04_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_44_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_44_9604.jpg', '/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_34_9603.jpg', '/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_24_10612.jpg', '/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_14_9619.jpg', '/home/nano/Desktop/images/12072025/16/49/image_12072025_16_50_04_10622.jpg', '/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_44_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_44_9604.jpg
/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_34_9603.jpg
/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_24_10612.jpg
/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_14_9619.jpg
/home/nano/Desktop/images/12072025/16/49/image_12072025_16_50_04_10622.jpg
/home/nano/Desktop/images/12072025/16/49/image_12072025_16_49_44_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900363","1371900362","1371900365","1371900361","1371900364","1371900366"],"photo_ids_order":["1371900361","1371900362","1371900363","1371900364","1371900365","1371900366"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cdf444e8670543542abab9114f41a668.jpg","text":"TemporaryFile(/tmp/multipartBody2301607553099462759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331879146,"filename":"image_12072025_16_50_24_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/079565eed8cb33dbf456d46d0df2357c.jpg","text":"TemporaryFile(/tmp/multipartBody2406978034488679568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331879146,"filename":"image_12072025_16_50_34_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5b61baf9e529861fabdbf2e64a9b224.jpg","text":"TemporaryFile(/tmp/multipartBody4497176611469379645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331879146,"filename":"image_12072025_16_50_04_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b65b46b3de0ca293ba7aca3b33df4750.jpg","text":"TemporaryFile(/tmp/multipartBody7028575475476348602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331879146,"filename":"image_12072025_16_50_44_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c4d469c9201f042c04022aff2fbc05a.jpg","text":"TemporaryFile(/tmp/multipartBody3996311595560237370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331879146,"filename":"image_12072025_16_50_14_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d46aaa62a94dfac5e3ad80c08c467978.jpg","text":"TemporaryFile(/tmp/multipartBody4783442070081482756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331879146,"filename":"image_12072025_16_49_44_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900363","file1":"1371900362","file0":"1371900361","file4":"1371900365","file5":"1371900366","file3":"1371900364"},"map_files_photo_id_array":[{"photo_id":"1371900366","filename":"file5"},{"photo_id":"1371900363","filename":"file2"},{"photo_id":"1371900365","filename":"file4"},{"photo_id":"1371900362","filename":"file1"},{"photo_id":"1371900361","filename":"file0"},{"photo_id":"1371900364","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900363":["hashtag1","hashtag2"]},{"1371900362":["hashtag1","hashtag2"]},{"1371900365":["hashtag1","hashtag2"]},{"1371900361":["hashtag1","hashtag2"]},{"1371900364":["hashtag1","hashtag2"]},{"1371900366":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900363, 1371900362, 1371900365, 1371900361, 1371900364, 1371900366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51604437828064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:51:03.065964
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_44_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_34_10672.jpg', 2), ('/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_23_9666.jpg', 2), ('/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_14_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/17/08/image_10072025_17_09_04_10671.jpg', 2), ('/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_53_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_44_9645.jpg', '/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_34_10672.jpg', '/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_23_9666.jpg', '/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_14_9665.jpg', '/home/nano/Desktop/images/10072025/17/08/image_10072025_17_09_04_10671.jpg', '/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_53_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_44_9645.jpg
/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_34_10672.jpg
/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_23_9666.jpg
/home/nano/Desktop/images/10072025/17/09/image_10072025_17_09_14_9665.jpg
/home/nano/Desktop/images/10072025/17/08/image_10072025_17_09_04_10671.jpg
/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_53_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900380","1371900383","1371900386","1371900384","1371900378","1371900375"],"photo_ids_order":["1371900375","1371900378","1371900380","1371900383","1371900384","1371900386"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5dfc932b7a516a8cd0f7c794212de154.jpg","text":"TemporaryFile(/tmp/multipartBody9061547099580666696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331926296,"filename":"image_10072025_17_09_23_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0cd77d41774d2751609fe22fef7252f3.jpg","text":"TemporaryFile(/tmp/multipartBody1851817903225262496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331926296,"filename":"image_10072025_17_09_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf4c8b6a7055dbfd31736ea2d7a6a68b.jpg","text":"TemporaryFile(/tmp/multipartBody575654087488994734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331926296,"filename":"image_10072025_17_08_53_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f375ced15886e08a3df68de636873690.jpg","text":"TemporaryFile(/tmp/multipartBody8490609128585187838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331926296,"filename":"image_10072025_17_09_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee30984d0ce7844d3b3633af4dcb145c.jpg","text":"TemporaryFile(/tmp/multipartBody7137934993607904582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331926296,"filename":"image_10072025_17_09_34_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8663bd719947efbb4dc5925236d60127.jpg","text":"TemporaryFile(/tmp/multipartBody4982444588060180325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331926296,"filename":"image_10072025_17_09_44_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900380","file1":"1371900378","file0":"1371900375","file4":"1371900384","file5":"1371900386","file3":"1371900383"},"map_files_photo_id_array":[{"photo_id":"1371900386","filename":"file5"},{"photo_id":"1371900380","filename":"file2"},{"photo_id":"1371900384","filename":"file4"},{"photo_id":"1371900378","filename":"file1"},{"photo_id":"1371900375","filename":"file0"},{"photo_id":"1371900383","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371900380":["hashtag1","hashtag2"]},{"1371900383":["hashtag1","hashtag2"]},{"1371900386":["hashtag1","hashtag2"]},{"1371900384":["hashtag1","hashtag2"]},{"1371900378":["hashtag1","hashtag2"]},{"1371900375":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371900380, 1371900383, 1371900386, 1371900384, 1371900378, 1371900375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86839818954468 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:51:47.549845
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_34_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_24_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_13_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/16/50/image_12072025_16_51_04_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_54_10614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_44_10622.jpg', '/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_34_9613.jpg', '/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_24_10631.jpg', '/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_13_9623.jpg', '/home/nano/Desktop/images/12072025/16/50/image_12072025_16_51_04_9613.jpg', '/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_54_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_44_10622.jpg
/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_34_9613.jpg
/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_24_10631.jpg
/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_13_9623.jpg
/home/nano/Desktop/images/12072025/16/50/image_12072025_16_51_04_9613.jpg
/home/nano/Desktop/images/12072025/16/50/image_12072025_16_50_54_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900392","1371900395","1371900401","1371900397","1371900399","1371900390"],"photo_ids_order":["1371900390","1371900392","1371900395","1371900397","1371900399","1371900401"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1075cf1005136a382b48cdf86a6e8aef.jpg","text":"TemporaryFile(/tmp/multipartBody3618515877756578510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331969305,"filename":"image_12072025_16_51_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66f4707ee70fa9016d77ae5eeacb7056.jpg","text":"TemporaryFile(/tmp/multipartBody5453113053347550006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331969305,"filename":"image_12072025_16_51_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c758caeef119ebbc1962674809bbf89.jpg","text":"TemporaryFile(/tmp/multipartBody6230517773184623545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331969305,"filename":"image_12072025_16_50_54_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8e28c45b272b649159df76a957faf24.jpg","text":"TemporaryFile(/tmp/multipartBody6478875280876764610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331969305,"filename":"image_12072025_16_51_13_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24bf1f9cfa2f3c6eaee5e1ff754eb691.jpg","text":"TemporaryFile(/tmp/multipartBody2706564553104428813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331969305,"filename":"image_12072025_16_51_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1a128bee5e7550f585eaff0a1625abf.jpg","text":"TemporaryFile(/tmp/multipartBody5517900573044012508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752331969305,"filename":"image_12072025_16_51_44_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900395","file1":"1371900392","file0":"1371900390","file4":"1371900399","file5":"1371900401","file3":"1371900397"},"map_files_photo_id_array":[{"photo_id":"1371900401","filename":"file5"},{"photo_id":"1371900395","filename":"file2"},{"photo_id":"1371900399","filename":"file4"},{"photo_id":"1371900392","filename":"file1"},{"photo_id":"1371900390","filename":"file0"},{"photo_id":"1371900397","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900392":["hashtag1","hashtag2"]},{"1371900395":["hashtag1","hashtag2"]},{"1371900401":["hashtag1","hashtag2"]},{"1371900397":["hashtag1","hashtag2"]},{"1371900399":["hashtag1","hashtag2"]},{"1371900390":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900392, 1371900395, 1371900401, 1371900397, 1371900399, 1371900390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.37639355659485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:52:32.661185
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_44_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_33_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_24_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_14_10717.jpg', 2), ('/home/nano/Desktop/images/12072025/16/51/image_12072025_16_52_03_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_44_10620.jpg', '/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_33_9622.jpg', '/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_24_9621.jpg', '/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_14_10717.jpg', '/home/nano/Desktop/images/12072025/16/51/image_12072025_16_52_03_9648.jpg', '/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_44_10620.jpg
/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_33_9622.jpg
/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_24_9621.jpg
/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_14_10717.jpg
/home/nano/Desktop/images/12072025/16/51/image_12072025_16_52_03_9648.jpg
/home/nano/Desktop/images/12072025/16/51/image_12072025_16_51_54_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900405","1371900408","1371900413","1371900407","1371900410","1371900412"],"photo_ids_order":["1371900405","1371900407","1371900408","1371900410","1371900412","1371900413"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d94c6d661631ed573d99ab0cc85a4f89.jpg","text":"TemporaryFile(/tmp/multipartBody888596697526175586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332014997,"filename":"image_12072025_16_52_44_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2768f0f614b375e868eeb828d8dd0983.jpg","text":"TemporaryFile(/tmp/multipartBody6791454717744409953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332014997,"filename":"image_12072025_16_52_24_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/765df8768dc1c06cb5a611f34d09103f.jpg","text":"TemporaryFile(/tmp/multipartBody8354569208140448126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332014997,"filename":"image_12072025_16_51_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22ee498ca4f99bec956cd6a8ae92806a.jpg","text":"TemporaryFile(/tmp/multipartBody7647645940024883978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332014997,"filename":"image_12072025_16_52_33_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47d4fc1145224cdb962489d7fdd899ae.jpg","text":"TemporaryFile(/tmp/multipartBody6161576290271428005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332014997,"filename":"image_12072025_16_52_14_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/650fd6feae8c148dd7e672a3b12a5866.jpg","text":"TemporaryFile(/tmp/multipartBody5438856614457887023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332014997,"filename":"image_12072025_16_52_03_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900408","file1":"1371900407","file0":"1371900405","file4":"1371900412","file5":"1371900413","file3":"1371900410"},"map_files_photo_id_array":[{"photo_id":"1371900413","filename":"file5"},{"photo_id":"1371900408","filename":"file2"},{"photo_id":"1371900412","filename":"file4"},{"photo_id":"1371900407","filename":"file1"},{"photo_id":"1371900405","filename":"file0"},{"photo_id":"1371900410","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900405":["hashtag1","hashtag2"]},{"1371900408":["hashtag1","hashtag2"]},{"1371900413":["hashtag1","hashtag2"]},{"1371900407":["hashtag1","hashtag2"]},{"1371900410":["hashtag1","hashtag2"]},{"1371900412":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900405, 1371900408, 1371900413, 1371900407, 1371900410, 1371900412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0397891998291 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:53:17.712303
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_44_9677.jpg', 2), ('/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_34_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_24_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_14_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/16/52/image_12072025_16_53_03_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_44_9677.jpg', '/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_34_10632.jpg', '/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_24_9622.jpg', '/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_14_10658.jpg', '/home/nano/Desktop/images/12072025/16/52/image_12072025_16_53_03_9632.jpg', '/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_44_9677.jpg
/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_34_10632.jpg
/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_24_9622.jpg
/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_14_10658.jpg
/home/nano/Desktop/images/12072025/16/52/image_12072025_16_53_03_9632.jpg
/home/nano/Desktop/images/12072025/16/52/image_12072025_16_52_54_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900423","1371900426","1371900425","1371900422","1371900421","1371900424"],"photo_ids_order":["1371900421","1371900422","1371900423","1371900424","1371900425","1371900426"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b7a10e379d444a74f81fbb48ceb6672.jpg","text":"TemporaryFile(/tmp/multipartBody4871547406517814782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332059563,"filename":"image_12072025_16_53_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94d4e6a4aad0f42c0d16e4cd4628ca62.jpg","text":"TemporaryFile(/tmp/multipartBody3427694602923498864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332059563,"filename":"image_12072025_16_52_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/05a8654816a604bf04fd9926d7a6c3fd.jpg","text":"TemporaryFile(/tmp/multipartBody1248981347615879199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332059563,"filename":"image_12072025_16_53_03_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0feef25075da49263dcb7f7ebb749bb.jpg","text":"TemporaryFile(/tmp/multipartBody915354087593371183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332059563,"filename":"image_12072025_16_53_34_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/096db350d38a27d4c4401cddd5968551.jpg","text":"TemporaryFile(/tmp/multipartBody7273909756547870932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332059563,"filename":"image_12072025_16_53_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b5b37c26ad365a3c3dd15da5eee8229.jpg","text":"TemporaryFile(/tmp/multipartBody1673183748975357760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332059563,"filename":"image_12072025_16_53_14_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900423","file1":"1371900422","file0":"1371900421","file4":"1371900425","file5":"1371900426","file3":"1371900424"},"map_files_photo_id_array":[{"photo_id":"1371900426","filename":"file5"},{"photo_id":"1371900423","filename":"file2"},{"photo_id":"1371900425","filename":"file4"},{"photo_id":"1371900422","filename":"file1"},{"photo_id":"1371900421","filename":"file0"},{"photo_id":"1371900424","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900423":["hashtag1","hashtag2"]},{"1371900426":["hashtag1","hashtag2"]},{"1371900425":["hashtag1","hashtag2"]},{"1371900422":["hashtag1","hashtag2"]},{"1371900421":["hashtag1","hashtag2"]},{"1371900424":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900423, 1371900426, 1371900425, 1371900422, 1371900421, 1371900424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.656781673431396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:54:02.603495
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_44_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_34_10673.jpg', 2), ('/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_23_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_14_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/17/07/image_10072025_17_08_04_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_53_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_44_9636.jpg', '/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_34_10673.jpg', '/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_23_9652.jpg', '/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_14_9656.jpg', '/home/nano/Desktop/images/10072025/17/07/image_10072025_17_08_04_10647.jpg', '/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_53_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_44_9636.jpg
/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_34_10673.jpg
/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_23_9652.jpg
/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_14_9656.jpg
/home/nano/Desktop/images/10072025/17/07/image_10072025_17_08_04_10647.jpg
/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_53_9648.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.49552321434021 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:54:16.857649
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/54/image_12072025_16_54_44_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/16/54/image_12072025_16_54_34_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/16/54/image_12072025_16_54_24_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/16/53/image_12072025_16_54_04_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_54_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/54/image_12072025_16_54_44_9655.jpg', '/home/nano/Desktop/images/12072025/16/54/image_12072025_16_54_34_10653.jpg', '/home/nano/Desktop/images/12072025/16/54/image_12072025_16_54_24_9620.jpg', '/home/nano/Desktop/images/12072025/16/53/image_12072025_16_54_04_10669.jpg', '/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_54_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/54/image_12072025_16_54_44_9655.jpg
/home/nano/Desktop/images/12072025/16/54/image_12072025_16_54_34_10653.jpg
/home/nano/Desktop/images/12072025/16/54/image_12072025_16_54_24_9620.jpg
/home/nano/Desktop/images/12072025/16/53/image_12072025_16_54_04_10669.jpg
/home/nano/Desktop/images/12072025/16/53/image_12072025_16_53_54_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900443","1371900446","1371900449","1371900448","1371900442"],"photo_ids_order":["1371900442","1371900443","1371900446","1371900448","1371900449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0dc16575deda12f003b0aafb2148e52b.jpg","text":"TemporaryFile(/tmp/multipartBody1325490134967487018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332119153,"filename":"image_12072025_16_54_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0ce877baa7306f592ce5e575608fc43.jpg","text":"TemporaryFile(/tmp/multipartBody2141130017811278309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332119153,"filename":"image_12072025_16_54_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/701bc98ef27c62e7b1f986aa4212e0e4.jpg","text":"TemporaryFile(/tmp/multipartBody6441377675074307782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332119153,"filename":"image_12072025_16_53_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c129212ecc301524cc767c1383d87e35.jpg","text":"TemporaryFile(/tmp/multipartBody7270452353974014146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332119153,"filename":"image_12072025_16_54_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7347b0a9aeabb5aad8c6b1c8fb13d0cb.jpg","text":"TemporaryFile(/tmp/multipartBody581545274035838925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332119153,"filename":"image_12072025_16_54_44_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900446","file1":"1371900443","file0":"1371900442","file4":"1371900449","file3":"1371900448"},"map_files_photo_id_array":[{"photo_id":"1371900446","filename":"file2"},{"photo_id":"1371900449","filename":"file4"},{"photo_id":"1371900443","filename":"file1"},{"photo_id":"1371900442","filename":"file0"},{"photo_id":"1371900448","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900443":["hashtag1","hashtag2"]},{"1371900446":["hashtag1","hashtag2"]},{"1371900449":["hashtag1","hashtag2"]},{"1371900448":["hashtag1","hashtag2"]},{"1371900442":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900443, 1371900446, 1371900449, 1371900448, 1371900442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.19078278541565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:54:46.859680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_44_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_34_10673.jpg', 2), ('/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_23_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_14_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/17/07/image_10072025_17_08_04_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_53_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_44_9636.jpg', '/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_34_10673.jpg', '/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_23_9652.jpg', '/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_14_9656.jpg', '/home/nano/Desktop/images/10072025/17/07/image_10072025_17_08_04_10647.jpg', '/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_53_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_44_9636.jpg
/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_34_10673.jpg
/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_23_9652.jpg
/home/nano/Desktop/images/10072025/17/08/image_10072025_17_08_14_9656.jpg
/home/nano/Desktop/images/10072025/17/07/image_10072025_17_08_04_10647.jpg
/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_53_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900456","1371900461","1371900458","1371900452","1371900454","1371900459"],"photo_ids_order":["1371900452","1371900454","1371900456","1371900458","1371900459","1371900461"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6d2dfb64867eca474abb9664dc98518.jpg","text":"TemporaryFile(/tmp/multipartBody3361639476864280122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332150740,"filename":"image_10072025_17_08_23_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f745d204bd6b155d342f852b76bb7dfd.jpg","text":"TemporaryFile(/tmp/multipartBody284821607582470736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332150740,"filename":"image_10072025_17_07_53_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7c3178307250af86ba2172fae811e79.jpg","text":"TemporaryFile(/tmp/multipartBody3196568980679823158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332150740,"filename":"image_10072025_17_08_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e5eb2e6c627bb8c298a11a085f86440.jpg","text":"TemporaryFile(/tmp/multipartBody1160563452479795598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332150740,"filename":"image_10072025_17_08_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c555dccac10ee24980f105658b4a16b0.jpg","text":"TemporaryFile(/tmp/multipartBody722808976491439643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332150740,"filename":"image_10072025_17_08_34_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/671e1240dd0ecd8d2bc184a2b8b7fcc9.jpg","text":"TemporaryFile(/tmp/multipartBody7708460834393738033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332150740,"filename":"image_10072025_17_08_04_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900456","file1":"1371900454","file0":"1371900452","file4":"1371900459","file5":"1371900461","file3":"1371900458"},"map_files_photo_id_array":[{"photo_id":"1371900461","filename":"file5"},{"photo_id":"1371900456","filename":"file2"},{"photo_id":"1371900459","filename":"file4"},{"photo_id":"1371900454","filename":"file1"},{"photo_id":"1371900452","filename":"file0"},{"photo_id":"1371900458","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371900456":["hashtag1","hashtag2"]},{"1371900461":["hashtag1","hashtag2"]},{"1371900458":["hashtag1","hashtag2"]},{"1371900452":["hashtag1","hashtag2"]},{"1371900454":["hashtag1","hashtag2"]},{"1371900459":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371900456, 1371900461, 1371900458, 1371900452, 1371900454, 1371900459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77373647689819 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:55:31.981389
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_44_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_34_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_24_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_14_9740.jpg', 2), ('/home/nano/Desktop/images/12072025/16/54/image_12072025_16_55_04_10736.jpg', 2), ('/home/nano/Desktop/images/12072025/16/54/image_12072025_16_54_54_9717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_44_9609.jpg', '/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_34_10628.jpg', '/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_24_9624.jpg', '/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_14_9740.jpg', '/home/nano/Desktop/images/12072025/16/54/image_12072025_16_55_04_10736.jpg', '/home/nano/Desktop/images/12072025/16/54/image_12072025_16_54_54_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_44_9609.jpg
/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_34_10628.jpg
/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_24_9624.jpg
/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_14_9740.jpg
/home/nano/Desktop/images/12072025/16/54/image_12072025_16_55_04_10736.jpg
/home/nano/Desktop/images/12072025/16/54/image_12072025_16_54_54_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900476","1371900467","1371900469","1371900477","1371900465","1371900474"],"photo_ids_order":["1371900465","1371900467","1371900469","1371900474","1371900476","1371900477"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/302370419f81bafad60bc9231705ff68.jpg","text":"TemporaryFile(/tmp/multipartBody7303009889117222074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332194044,"filename":"image_12072025_16_55_04_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ce2d42626796a6e0b1e743208c69e03.jpg","text":"TemporaryFile(/tmp/multipartBody3311368958455645237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332194044,"filename":"image_12072025_16_55_34_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf3d82bed4e406080f0771c73519f76a.jpg","text":"TemporaryFile(/tmp/multipartBody7895442237646786401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332194044,"filename":"image_12072025_16_55_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a760b65129be45d4b6b3dbcc3abaf367.jpg","text":"TemporaryFile(/tmp/multipartBody1947706342992076217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332194044,"filename":"image_12072025_16_54_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8386646d1ea1a87e925f77546a71609.jpg","text":"TemporaryFile(/tmp/multipartBody1298230814171087128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332194044,"filename":"image_12072025_16_55_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df0542472c84e6597b3d946fc4e5b7b5.jpg","text":"TemporaryFile(/tmp/multipartBody8590181779213274968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332194044,"filename":"image_12072025_16_55_14_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900469","file1":"1371900467","file0":"1371900465","file4":"1371900476","file5":"1371900477","file3":"1371900474"},"map_files_photo_id_array":[{"photo_id":"1371900477","filename":"file5"},{"photo_id":"1371900469","filename":"file2"},{"photo_id":"1371900476","filename":"file4"},{"photo_id":"1371900467","filename":"file1"},{"photo_id":"1371900465","filename":"file0"},{"photo_id":"1371900474","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900476":["hashtag1","hashtag2"]},{"1371900467":["hashtag1","hashtag2"]},{"1371900469":["hashtag1","hashtag2"]},{"1371900477":["hashtag1","hashtag2"]},{"1371900465":["hashtag1","hashtag2"]},{"1371900474":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900476, 1371900467, 1371900469, 1371900477, 1371900465, 1371900474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.491790771484375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:56:17.057557
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_44_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_23_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_14_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/16/55/image_12072025_16_56_04_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_44_9621.jpg', '/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_34_10620.jpg', '/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_23_9622.jpg', '/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_14_9635.jpg', '/home/nano/Desktop/images/12072025/16/55/image_12072025_16_56_04_10631.jpg', '/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_44_9621.jpg
/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_34_10620.jpg
/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_23_9622.jpg
/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_14_9635.jpg
/home/nano/Desktop/images/12072025/16/55/image_12072025_16_56_04_10631.jpg
/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_54_9618.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.1190011501312256 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:56:32.078611
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_44_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_23_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_14_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/16/55/image_12072025_16_56_04_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_44_9621.jpg', '/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_34_10620.jpg', '/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_23_9622.jpg', '/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_14_9635.jpg', '/home/nano/Desktop/images/12072025/16/55/image_12072025_16_56_04_10631.jpg', '/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_44_9621.jpg
/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_34_10620.jpg
/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_23_9622.jpg
/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_14_9635.jpg
/home/nano/Desktop/images/12072025/16/55/image_12072025_16_56_04_10631.jpg
/home/nano/Desktop/images/12072025/16/55/image_12072025_16_55_54_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900491","1371900494","1371900495","1371900489","1371900498","1371900492"],"photo_ids_order":["1371900489","1371900491","1371900492","1371900494","1371900495","1371900498"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08637348d3e7eacc3155703d705faf66.jpg","text":"TemporaryFile(/tmp/multipartBody6974521389959962070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332253493,"filename":"image_12072025_16_56_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23637bbbc5f4cca2040e81ae23d20d27.jpg","text":"TemporaryFile(/tmp/multipartBody4641302054285494741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332253493,"filename":"image_12072025_16_56_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ec3a34aab745279cbd5f8c7aa192097.jpg","text":"TemporaryFile(/tmp/multipartBody2704548695264797437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332253493,"filename":"image_12072025_16_56_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95e173e3b16da0b2daf5229ffb1f8d76.jpg","text":"TemporaryFile(/tmp/multipartBody5480631028229782262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332253493,"filename":"image_12072025_16_56_44_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8cdf08d6b05a2ae75afed73b61e26c0e.jpg","text":"TemporaryFile(/tmp/multipartBody675639942180015869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332253493,"filename":"image_12072025_16_55_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a5e56500a40268939477bc33cb2344c.jpg","text":"TemporaryFile(/tmp/multipartBody6530908311040350233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332253493,"filename":"image_12072025_16_56_23_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900492","file1":"1371900491","file0":"1371900489","file4":"1371900495","file5":"1371900498","file3":"1371900494"},"map_files_photo_id_array":[{"photo_id":"1371900498","filename":"file5"},{"photo_id":"1371900492","filename":"file2"},{"photo_id":"1371900495","filename":"file4"},{"photo_id":"1371900491","filename":"file1"},{"photo_id":"1371900489","filename":"file0"},{"photo_id":"1371900494","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900491":["hashtag1","hashtag2"]},{"1371900494":["hashtag1","hashtag2"]},{"1371900495":["hashtag1","hashtag2"]},{"1371900489":["hashtag1","hashtag2"]},{"1371900498":["hashtag1","hashtag2"]},{"1371900492":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900491, 1371900494, 1371900495, 1371900489, 1371900498, 1371900492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.576637983322144 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:57:17.163493
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_43_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_34_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/16/56/image_12072025_16_57_04_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_54_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_43_9612.jpg', '/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_34_9633.jpg', '/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_24_10625.jpg', '/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_14_9626.jpg', '/home/nano/Desktop/images/12072025/16/56/image_12072025_16_57_04_9639.jpg', '/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_54_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_43_9612.jpg
/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_34_9633.jpg
/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_24_10625.jpg
/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_14_9626.jpg
/home/nano/Desktop/images/12072025/16/56/image_12072025_16_57_04_9639.jpg
/home/nano/Desktop/images/12072025/16/56/image_12072025_16_56_54_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900513","1371900510","1371900575","1371900551","1371900512","1371900526"],"photo_ids_order":["1371900510","1371900512","1371900513","1371900526","1371900551","1371900575"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a87a38581f13d887d045f37cd23d693.jpg","text":"TemporaryFile(/tmp/multipartBody6140832815572051368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332299041,"filename":"image_12072025_16_57_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b1da96185269b58a3dc20c463711685.jpg","text":"TemporaryFile(/tmp/multipartBody8558455270291546192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332299041,"filename":"image_12072025_16_57_43_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8bb2c59e412e3fa592c0fbde058aaa5f.jpg","text":"TemporaryFile(/tmp/multipartBody3159794396520784110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332299041,"filename":"image_12072025_16_56_54_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad274f477547a507f7fa636b68a876f6.jpg","text":"TemporaryFile(/tmp/multipartBody1918699278142569013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332299041,"filename":"image_12072025_16_57_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/abee683c840032afe7c7fd50ffd785fc.jpg","text":"TemporaryFile(/tmp/multipartBody3222094337274441689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332299041,"filename":"image_12072025_16_57_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c17dc1c1be352e5bcf3ea9ed20030284.jpg","text":"TemporaryFile(/tmp/multipartBody4288572713974522283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332299041,"filename":"image_12072025_16_57_14_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900513","file1":"1371900512","file0":"1371900510","file4":"1371900551","file5":"1371900575","file3":"1371900526"},"map_files_photo_id_array":[{"photo_id":"1371900575","filename":"file5"},{"photo_id":"1371900513","filename":"file2"},{"photo_id":"1371900551","filename":"file4"},{"photo_id":"1371900512","filename":"file1"},{"photo_id":"1371900510","filename":"file0"},{"photo_id":"1371900526","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371900513":["hashtag1","hashtag2"]},{"1371900510":["hashtag1","hashtag2"]},{"1371900575":["hashtag1","hashtag2"]},{"1371900551":["hashtag1","hashtag2"]},{"1371900512":["hashtag1","hashtag2"]},{"1371900526":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371900513, 1371900510, 1371900575, 1371900551, 1371900512, 1371900526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.590550661087036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:58:02.717020
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_44_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_34_10696.jpg', 2), ('/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_23_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_14_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/17/06/image_10072025_17_07_04_10666.jpg', 2), ('/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_53_9714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_44_9638.jpg', '/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_34_10696.jpg', '/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_23_9638.jpg', '/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_14_9657.jpg', '/home/nano/Desktop/images/10072025/17/06/image_10072025_17_07_04_10666.jpg', '/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_53_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_44_9638.jpg
/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_34_10696.jpg
/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_23_9638.jpg
/home/nano/Desktop/images/10072025/17/07/image_10072025_17_07_14_9657.jpg
/home/nano/Desktop/images/10072025/17/06/image_10072025_17_07_04_10666.jpg
/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_53_9714.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371900810","1371900782","1371900836","1371900862","1371900886","1371900756"],"photo_ids_order":["1371900756","1371900782","1371900810","1371900836","1371900862","1371900886"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/352c3205bc33a6cccfb3f7cf9b8a5f55.jpg","text":"TemporaryFile(/tmp/multipartBody7221737679556604074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332346256,"filename":"image_10072025_17_07_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4cec7b43045905b5f2fa1bb3515fc04e.jpg","text":"TemporaryFile(/tmp/multipartBody4051328010015129043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332346256,"filename":"image_10072025_17_07_34_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1d9a39760bc9ad8ba7897bfe8579e3f.jpg","text":"TemporaryFile(/tmp/multipartBody1220572892281967682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332346256,"filename":"image_10072025_17_07_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c17add2cf5813802a5bd80406134f28f.jpg","text":"TemporaryFile(/tmp/multipartBody4603284786799257864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332346256,"filename":"image_10072025_17_07_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5c8ac90771e97b7c1ed75b5033d0440.jpg","text":"TemporaryFile(/tmp/multipartBody636731588069945863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332346256,"filename":"image_10072025_17_06_53_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a92c8269802459656d3822f24ab497e.jpg","text":"TemporaryFile(/tmp/multipartBody303516451605611331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332346256,"filename":"image_10072025_17_07_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371900810","file1":"1371900782","file0":"1371900756","file4":"1371900862","file5":"1371900886","file3":"1371900836"},"map_files_photo_id_array":[{"photo_id":"1371900886","filename":"file5"},{"photo_id":"1371900810","filename":"file2"},{"photo_id":"1371900862","filename":"file4"},{"photo_id":"1371900782","filename":"file1"},{"photo_id":"1371900756","filename":"file0"},{"photo_id":"1371900836","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371900810":["hashtag1","hashtag2"]},{"1371900782":["hashtag1","hashtag2"]},{"1371900836":["hashtag1","hashtag2"]},{"1371900862":["hashtag1","hashtag2"]},{"1371900886":["hashtag1","hashtag2"]},{"1371900756":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371900810, 1371900782, 1371900836, 1371900862, 1371900886, 1371900756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.380162477493286 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:59:03.225898
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_44_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_34_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_23_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_14_9682.jpg', 2), ('/home/nano/Desktop/images/10072025/17/05/image_10072025_17_06_04_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_53_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_44_9651.jpg', '/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_34_10633.jpg', '/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_23_9619.jpg', '/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_14_9682.jpg', '/home/nano/Desktop/images/10072025/17/05/image_10072025_17_06_04_10664.jpg', '/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_53_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_44_9651.jpg
/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_34_10633.jpg
/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_23_9619.jpg
/home/nano/Desktop/images/10072025/17/06/image_10072025_17_06_14_9682.jpg
/home/nano/Desktop/images/10072025/17/05/image_10072025_17_06_04_10664.jpg
/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_53_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371901619","1371901669","1371901558","1371901723","1371901410","1371901490"],"photo_ids_order":["1371901410","1371901490","1371901558","1371901619","1371901669","1371901723"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70a5e5a266c447eac479534b003a69ce.jpg","text":"TemporaryFile(/tmp/multipartBody3694170419382823611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332407026,"filename":"image_10072025_17_06_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/daaf98c0329ecdd6763c9d255571bbbb.jpg","text":"TemporaryFile(/tmp/multipartBody4516239508945273450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332407026,"filename":"image_10072025_17_06_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab8f853660b4b41ccb4a23631d843d7a.jpg","text":"TemporaryFile(/tmp/multipartBody8369020314462731912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332407026,"filename":"image_10072025_17_06_23_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4111e3d952f0ce424eccc733fe7a567a.jpg","text":"TemporaryFile(/tmp/multipartBody7740658042444531412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332407026,"filename":"image_10072025_17_05_53_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6691fb5909b34ad8378ec6331379996.jpg","text":"TemporaryFile(/tmp/multipartBody2133829829242271894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332407026,"filename":"image_10072025_17_06_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7baf0fd380de36493d2aeefe96c82c73.jpg","text":"TemporaryFile(/tmp/multipartBody9016816584661792906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332407026,"filename":"image_10072025_17_06_34_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371901558","file1":"1371901490","file0":"1371901410","file4":"1371901669","file5":"1371901723","file3":"1371901619"},"map_files_photo_id_array":[{"photo_id":"1371901723","filename":"file5"},{"photo_id":"1371901558","filename":"file2"},{"photo_id":"1371901669","filename":"file4"},{"photo_id":"1371901490","filename":"file1"},{"photo_id":"1371901410","filename":"file0"},{"photo_id":"1371901619","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371901619":["hashtag1","hashtag2"]},{"1371901669":["hashtag1","hashtag2"]},{"1371901558":["hashtag1","hashtag2"]},{"1371901723":["hashtag1","hashtag2"]},{"1371901410":["hashtag1","hashtag2"]},{"1371901490":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371901619, 1371901669, 1371901558, 1371901723, 1371901410, 1371901490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.63958024978638 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 16:59:47.635784
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_44_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_34_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_24_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_14_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/16/58/image_12072025_16_59_04_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_54_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_44_10649.jpg', '/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_34_9633.jpg', '/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_24_9643.jpg', '/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_14_10655.jpg', '/home/nano/Desktop/images/12072025/16/58/image_12072025_16_59_04_9638.jpg', '/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_54_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_44_10649.jpg
/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_34_9633.jpg
/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_24_9643.jpg
/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_14_10655.jpg
/home/nano/Desktop/images/12072025/16/58/image_12072025_16_59_04_9638.jpg
/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_54_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371902356","1371902074","1371902404","1371902142","1371902304","1371902253"],"photo_ids_order":["1371902074","1371902142","1371902253","1371902304","1371902356","1371902404"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/611a3fc96229078c3931606566af6dad.jpg","text":"TemporaryFile(/tmp/multipartBody2414097846465362540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332449889,"filename":"image_12072025_16_59_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1921dc3e56b564fc8c7d634b99af3598.jpg","text":"TemporaryFile(/tmp/multipartBody1519732394717026899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332449889,"filename":"image_12072025_16_59_44_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc424058edc7cb8315887a585c694eda.jpg","text":"TemporaryFile(/tmp/multipartBody1511747510323142692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332449889,"filename":"image_12072025_16_58_54_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a76ee911bc5471fcdab51d962ed84f0e.jpg","text":"TemporaryFile(/tmp/multipartBody8234886180185244491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332449889,"filename":"image_12072025_16_59_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b31fa4292d93586666acf42bc1a9630f.jpg","text":"TemporaryFile(/tmp/multipartBody5870461394815654440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332449889,"filename":"image_12072025_16_59_14_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4aab3355b79eeac2ff477ae09e438f10.jpg","text":"TemporaryFile(/tmp/multipartBody5448153698989289664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332449889,"filename":"image_12072025_16_59_24_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371902253","file1":"1371902142","file0":"1371902074","file4":"1371902356","file5":"1371902404","file3":"1371902304"},"map_files_photo_id_array":[{"photo_id":"1371902404","filename":"file5"},{"photo_id":"1371902253","filename":"file2"},{"photo_id":"1371902356","filename":"file4"},{"photo_id":"1371902142","filename":"file1"},{"photo_id":"1371902074","filename":"file0"},{"photo_id":"1371902304","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371902356":["hashtag1","hashtag2"]},{"1371902074":["hashtag1","hashtag2"]},{"1371902404":["hashtag1","hashtag2"]},{"1371902142":["hashtag1","hashtag2"]},{"1371902304":["hashtag1","hashtag2"]},{"1371902253":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371902356, 1371902074, 1371902404, 1371902142, 1371902304, 1371902253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.695504903793335 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:00:32.748510
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_44_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_34_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_24_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_14_10697.jpg', 2), ('/home/nano/Desktop/images/12072025/16/59/image_12072025_17_00_04_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_44_10644.jpg', '/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_34_9660.jpg', '/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_24_9654.jpg', '/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_14_10697.jpg', '/home/nano/Desktop/images/12072025/16/59/image_12072025_17_00_04_9655.jpg', '/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_54_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_44_10644.jpg
/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_34_9660.jpg
/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_24_9654.jpg
/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_14_10697.jpg
/home/nano/Desktop/images/12072025/16/59/image_12072025_17_00_04_9655.jpg
/home/nano/Desktop/images/12072025/16/59/image_12072025_16_59_54_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371902824","1371902895","1371902871","1371902766","1371902667","1371902715"],"photo_ids_order":["1371902667","1371902715","1371902766","1371902824","1371902871","1371902895"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/282d46bf54d3911ac642c9123296b99a.jpg","text":"TemporaryFile(/tmp/multipartBody6544964366521857596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332495167,"filename":"image_12072025_17_00_14_10697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f6a637d4c28c3d217402d3e790ac867.jpg","text":"TemporaryFile(/tmp/multipartBody502406214977951994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332495167,"filename":"image_12072025_16_59_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b29bff4ec94d0ce2e56d2aeb695e90be.jpg","text":"TemporaryFile(/tmp/multipartBody3926777702186752305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332495167,"filename":"image_12072025_17_00_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efc8892bda882f8b3a40a8f504412d70.jpg","text":"TemporaryFile(/tmp/multipartBody6566991386532977844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332495167,"filename":"image_12072025_17_00_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a46357265d4f2274a34938ed7d1b6c1a.jpg","text":"TemporaryFile(/tmp/multipartBody4948738404462955065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332495167,"filename":"image_12072025_17_00_44_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/765b70afc6ec9e7155b714b8b344cebf.jpg","text":"TemporaryFile(/tmp/multipartBody3478171533557899051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332495167,"filename":"image_12072025_17_00_34_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371902766","file1":"1371902715","file0":"1371902667","file4":"1371902871","file5":"1371902895","file3":"1371902824"},"map_files_photo_id_array":[{"photo_id":"1371902895","filename":"file5"},{"photo_id":"1371902766","filename":"file2"},{"photo_id":"1371902871","filename":"file4"},{"photo_id":"1371902715","filename":"file1"},{"photo_id":"1371902667","filename":"file0"},{"photo_id":"1371902824","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371902824":["hashtag1","hashtag2"]},{"1371902895":["hashtag1","hashtag2"]},{"1371902871":["hashtag1","hashtag2"]},{"1371902766":["hashtag1","hashtag2"]},{"1371902667":["hashtag1","hashtag2"]},{"1371902715":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371902824, 1371902895, 1371902871, 1371902766, 1371902667, 1371902715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.884615182876587 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:01:16.842891
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_44_10668.jpg', 2), ('/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_33_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_24_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_14_10694.jpg', 2), ('/home/nano/Desktop/images/12072025/17/00/image_12072025_17_01_03_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_54_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_44_10668.jpg', '/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_33_9652.jpg', '/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_24_9625.jpg', '/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_14_10694.jpg', '/home/nano/Desktop/images/12072025/17/00/image_12072025_17_01_03_9660.jpg', '/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_54_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_44_10668.jpg
/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_33_9652.jpg
/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_24_9625.jpg
/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_14_10694.jpg
/home/nano/Desktop/images/12072025/17/00/image_12072025_17_01_03_9660.jpg
/home/nano/Desktop/images/12072025/17/00/image_12072025_17_00_54_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903084","1371903060","1371903018","1371902997","1371902996","1371902984"],"photo_ids_order":["1371902984","1371902996","1371902997","1371903018","1371903060","1371903084"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/961aecbd92e126a99f9b648be918de08.jpg","text":"TemporaryFile(/tmp/multipartBody2536205686825592251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332538927,"filename":"image_12072025_17_00_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e71fb2fa26c96a1d04a502143aa69b9f.jpg","text":"TemporaryFile(/tmp/multipartBody6644732961946574055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332538927,"filename":"image_12072025_17_01_03_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/938b81cbe8b227bfce20162bf14ebd7d.jpg","text":"TemporaryFile(/tmp/multipartBody5320610754866363156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332538927,"filename":"image_12072025_17_01_14_10694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31de0014839e5ef09e72810348555e60.jpg","text":"TemporaryFile(/tmp/multipartBody2874756257088897664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332538927,"filename":"image_12072025_17_01_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a9a5ea367fe8aa8cd216dcd662a2790.jpg","text":"TemporaryFile(/tmp/multipartBody318426497483804882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332538927,"filename":"image_12072025_17_01_33_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3107646359b55d3928bf69aa5cf8b7bb.jpg","text":"TemporaryFile(/tmp/multipartBody2885246795864064477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332538927,"filename":"image_12072025_17_01_44_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371902997","file1":"1371902996","file0":"1371902984","file4":"1371903060","file5":"1371903084","file3":"1371903018"},"map_files_photo_id_array":[{"photo_id":"1371903084","filename":"file5"},{"photo_id":"1371902997","filename":"file2"},{"photo_id":"1371903060","filename":"file4"},{"photo_id":"1371902996","filename":"file1"},{"photo_id":"1371902984","filename":"file0"},{"photo_id":"1371903018","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903084":["hashtag1","hashtag2"]},{"1371903060":["hashtag1","hashtag2"]},{"1371903018":["hashtag1","hashtag2"]},{"1371902997":["hashtag1","hashtag2"]},{"1371902996":["hashtag1","hashtag2"]},{"1371902984":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903084, 1371903060, 1371903018, 1371902997, 1371902996, 1371902984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21751928329468 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:02:02.521419
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_43_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_34_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_24_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_13_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/16/57/image_12072025_16_58_04_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_54_10683.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_43_9632.jpg', '/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_34_9644.jpg', '/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_24_10654.jpg', '/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_13_9655.jpg', '/home/nano/Desktop/images/12072025/16/57/image_12072025_16_58_04_9659.jpg', '/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_54_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_43_9632.jpg
/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_34_9644.jpg
/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_24_10654.jpg
/home/nano/Desktop/images/12072025/16/58/image_12072025_16_58_13_9655.jpg
/home/nano/Desktop/images/12072025/16/57/image_12072025_16_58_04_9659.jpg
/home/nano/Desktop/images/12072025/16/57/image_12072025_16_57_54_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903256","1371903279","1371903243","1371903281","1371903278","1371903245"],"photo_ids_order":["1371903243","1371903245","1371903256","1371903278","1371903279","1371903281"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a3064cc4707a90f5f0e21e8bfc17a6c.jpg","text":"TemporaryFile(/tmp/multipartBody6775132275073338847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332584412,"filename":"image_12072025_16_58_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fcc8bd83e6fb63603517dfe42200301.jpg","text":"TemporaryFile(/tmp/multipartBody1611262800696729927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332584412,"filename":"image_12072025_16_58_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ec8c6252b2bab0965d719f80ab1538f.jpg","text":"TemporaryFile(/tmp/multipartBody1100247040865054898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332584412,"filename":"image_12072025_16_58_43_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6b16d7b4e4fed1a11c500fc0a0d54c8.jpg","text":"TemporaryFile(/tmp/multipartBody486192264798392255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332584412,"filename":"image_12072025_16_57_54_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/699d8ca1ec67be112a9acd15f77af8d0.jpg","text":"TemporaryFile(/tmp/multipartBody3439116563857653593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332584412,"filename":"image_12072025_16_58_13_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d041a4c155d4c67a516fcc78bac2ac8b.jpg","text":"TemporaryFile(/tmp/multipartBody6007344143665027003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332584412,"filename":"image_12072025_16_58_34_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903256","file1":"1371903245","file0":"1371903243","file4":"1371903279","file5":"1371903281","file3":"1371903278"},"map_files_photo_id_array":[{"photo_id":"1371903281","filename":"file5"},{"photo_id":"1371903256","filename":"file2"},{"photo_id":"1371903279","filename":"file4"},{"photo_id":"1371903245","filename":"file1"},{"photo_id":"1371903243","filename":"file0"},{"photo_id":"1371903278","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903256":["hashtag1","hashtag2"]},{"1371903279":["hashtag1","hashtag2"]},{"1371903243":["hashtag1","hashtag2"]},{"1371903281":["hashtag1","hashtag2"]},{"1371903278":["hashtag1","hashtag2"]},{"1371903245":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903256, 1371903279, 1371903243, 1371903281, 1371903278, 1371903245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.381253719329834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:02:46.943251
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_44_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_34_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_24_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_14_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/17/01/image_12072025_17_02_03_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_44_9671.jpg', '/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_34_10670.jpg', '/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_24_9616.jpg', '/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_14_10635.jpg', '/home/nano/Desktop/images/12072025/17/01/image_12072025_17_02_03_9624.jpg', '/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_44_9671.jpg
/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_34_10670.jpg
/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_24_9616.jpg
/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_14_10635.jpg
/home/nano/Desktop/images/12072025/17/01/image_12072025_17_02_03_9624.jpg
/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_54_9618.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.0393970012664795 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:03:02.632617
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_44_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_34_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_24_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_14_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/17/01/image_12072025_17_02_03_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_44_9671.jpg', '/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_34_10670.jpg', '/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_24_9616.jpg', '/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_14_10635.jpg', '/home/nano/Desktop/images/12072025/17/01/image_12072025_17_02_03_9624.jpg', '/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_44_9671.jpg
/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_34_10670.jpg
/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_24_9616.jpg
/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_14_10635.jpg
/home/nano/Desktop/images/12072025/17/01/image_12072025_17_02_03_9624.jpg
/home/nano/Desktop/images/12072025/17/01/image_12072025_17_01_54_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903340","1371903337","1371903333","1371903339","1371903338","1371903335"],"photo_ids_order":["1371903333","1371903335","1371903337","1371903338","1371903339","1371903340"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87bfe597d64f579c25de23dadfc3307f.jpg","text":"TemporaryFile(/tmp/multipartBody1972998790777227191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332644234,"filename":"image_12072025_17_01_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6cf44c7c16ab79243808ec20b87f3457.jpg","text":"TemporaryFile(/tmp/multipartBody2861422072849829904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332644234,"filename":"image_12072025_17_02_24_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8aadf5156edf2fd2e03e3b97b481260f.jpg","text":"TemporaryFile(/tmp/multipartBody8161453788655195421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332644234,"filename":"image_12072025_17_02_44_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9ca59a2cf6fc3b4409cc15dd53a6d97.jpg","text":"TemporaryFile(/tmp/multipartBody9202916034253146628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332644234,"filename":"image_12072025_17_02_03_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27d15ed8c9886f9f2162a37b4d49f67f.jpg","text":"TemporaryFile(/tmp/multipartBody3077267824292593224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332644234,"filename":"image_12072025_17_02_14_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ffed68912f7e96537f1722d0a630d8ac.jpg","text":"TemporaryFile(/tmp/multipartBody6856638882221110056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332644234,"filename":"image_12072025_17_02_34_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903337","file1":"1371903335","file0":"1371903333","file4":"1371903339","file5":"1371903340","file3":"1371903338"},"map_files_photo_id_array":[{"photo_id":"1371903340","filename":"file5"},{"photo_id":"1371903337","filename":"file2"},{"photo_id":"1371903339","filename":"file4"},{"photo_id":"1371903335","filename":"file1"},{"photo_id":"1371903333","filename":"file0"},{"photo_id":"1371903338","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903340":["hashtag1","hashtag2"]},{"1371903337":["hashtag1","hashtag2"]},{"1371903333":["hashtag1","hashtag2"]},{"1371903339":["hashtag1","hashtag2"]},{"1371903338":["hashtag1","hashtag2"]},{"1371903335":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903340, 1371903337, 1371903333, 1371903339, 1371903338, 1371903335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43434953689575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:03:47.040439
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_44_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_33_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_24_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_14_9674.jpg', 2), ('/home/nano/Desktop/images/12072025/17/02/image_12072025_17_03_04_10692.jpg', 2), ('/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_54_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_44_10669.jpg', '/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_33_9671.jpg', '/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_24_9653.jpg', '/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_14_9674.jpg', '/home/nano/Desktop/images/12072025/17/02/image_12072025_17_03_04_10692.jpg', '/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_54_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_44_10669.jpg
/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_33_9671.jpg
/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_24_9653.jpg
/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_14_9674.jpg
/home/nano/Desktop/images/12072025/17/02/image_12072025_17_03_04_10692.jpg
/home/nano/Desktop/images/12072025/17/02/image_12072025_17_02_54_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903352","1371903355","1371903349","1371903343","1371903346","1371903356"],"photo_ids_order":["1371903343","1371903346","1371903349","1371903352","1371903355","1371903356"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b92e7669df6b4a1bf5ff0a9aad636bfc.jpg","text":"TemporaryFile(/tmp/multipartBody1972774065649791368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332689432,"filename":"image_12072025_17_03_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84804fb5522991401725c8cdd8e62049.jpg","text":"TemporaryFile(/tmp/multipartBody401201892806131397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332689432,"filename":"image_12072025_17_03_04_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ba7b9295daae00b5c41c7eecff49f0f.jpg","text":"TemporaryFile(/tmp/multipartBody6700977059977865847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332689432,"filename":"image_12072025_17_03_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/696f8330c8e0c4471061ddc9dafae90f.jpg","text":"TemporaryFile(/tmp/multipartBody4236351000270295574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332689432,"filename":"image_12072025_17_03_44_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/221d94e5bc1396151764ba8b942c7536.jpg","text":"TemporaryFile(/tmp/multipartBody1586085682735680089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332689432,"filename":"image_12072025_17_03_33_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1237e7bba001471f6fd581ae032bf0f1.jpg","text":"TemporaryFile(/tmp/multipartBody6302263751165443675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332689432,"filename":"image_12072025_17_02_54_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903349","file1":"1371903346","file0":"1371903343","file4":"1371903355","file5":"1371903356","file3":"1371903352"},"map_files_photo_id_array":[{"photo_id":"1371903356","filename":"file5"},{"photo_id":"1371903349","filename":"file2"},{"photo_id":"1371903355","filename":"file4"},{"photo_id":"1371903346","filename":"file1"},{"photo_id":"1371903343","filename":"file0"},{"photo_id":"1371903352","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903352":["hashtag1","hashtag2"]},{"1371903355":["hashtag1","hashtag2"]},{"1371903349":["hashtag1","hashtag2"]},{"1371903343":["hashtag1","hashtag2"]},{"1371903346":["hashtag1","hashtag2"]},{"1371903356":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903352, 1371903355, 1371903349, 1371903343, 1371903346, 1371903356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70699763298035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:04:32.135081
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_44_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_24_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_14_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/17/03/image_12072025_17_04_03_9678.jpg', 2), ('/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_54_9674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_44_9652.jpg', '/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_34_10648.jpg', '/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_24_9646.jpg', '/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_14_10655.jpg', '/home/nano/Desktop/images/12072025/17/03/image_12072025_17_04_03_9678.jpg', '/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_54_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_44_9652.jpg
/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_34_10648.jpg
/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_24_9646.jpg
/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_14_10655.jpg
/home/nano/Desktop/images/12072025/17/03/image_12072025_17_04_03_9678.jpg
/home/nano/Desktop/images/12072025/17/03/image_12072025_17_03_54_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903364","1371903363","1371903366","1371903369","1371903371","1371903368"],"photo_ids_order":["1371903363","1371903364","1371903366","1371903368","1371903369","1371903371"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/786db3d2802d9bf25f4b890e1989629e.jpg","text":"TemporaryFile(/tmp/multipartBody4811455198919623354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332734047,"filename":"image_12072025_17_04_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6b358f1b251791e9c221f23d03af73f.jpg","text":"TemporaryFile(/tmp/multipartBody8734108084517797333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332734047,"filename":"image_12072025_17_04_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/653d4b8cc071abab1622609ac15ed155.jpg","text":"TemporaryFile(/tmp/multipartBody3147703016055820335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332734047,"filename":"image_12072025_17_04_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a5b68a989d9f4ff286ed8cc0f280fad.jpg","text":"TemporaryFile(/tmp/multipartBody7793324790057929044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332734047,"filename":"image_12072025_17_04_03_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5cb3170ca860717009f94b9f074cfca2.jpg","text":"TemporaryFile(/tmp/multipartBody6386905793949466534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332734047,"filename":"image_12072025_17_03_54_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2aecb2fc0d63212485442f25607c5a7a.jpg","text":"TemporaryFile(/tmp/multipartBody7760941217895035361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332734047,"filename":"image_12072025_17_04_14_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903366","file1":"1371903364","file0":"1371903363","file4":"1371903369","file5":"1371903371","file3":"1371903368"},"map_files_photo_id_array":[{"photo_id":"1371903371","filename":"file5"},{"photo_id":"1371903366","filename":"file2"},{"photo_id":"1371903369","filename":"file4"},{"photo_id":"1371903364","filename":"file1"},{"photo_id":"1371903363","filename":"file0"},{"photo_id":"1371903368","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903364":["hashtag1","hashtag2"]},{"1371903363":["hashtag1","hashtag2"]},{"1371903366":["hashtag1","hashtag2"]},{"1371903369":["hashtag1","hashtag2"]},{"1371903371":["hashtag1","hashtag2"]},{"1371903368":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903364, 1371903363, 1371903366, 1371903369, 1371903371, 1371903368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.168928623199463 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:05:17.264155
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_44_10773.jpg', 2), ('/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_33_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_24_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_14_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/17/04/image_12072025_17_05_03_9736.jpg', 2), ('/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_54_9669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_44_10773.jpg', '/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_33_9660.jpg', '/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_24_9649.jpg', '/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_14_10675.jpg', '/home/nano/Desktop/images/12072025/17/04/image_12072025_17_05_03_9736.jpg', '/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_54_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_44_10773.jpg
/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_33_9660.jpg
/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_24_9649.jpg
/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_14_10675.jpg
/home/nano/Desktop/images/12072025/17/04/image_12072025_17_05_03_9736.jpg
/home/nano/Desktop/images/12072025/17/04/image_12072025_17_04_54_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903382","1371903381","1371903384","1371903383","1371903385","1371903379"],"photo_ids_order":["1371903379","1371903381","1371903382","1371903383","1371903384","1371903385"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a230895feee23d576acc3d46dd5ee4f0.jpg","text":"TemporaryFile(/tmp/multipartBody372907439776747153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332780337,"filename":"image_12072025_17_05_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c84b2e4b5a75f7636325ff890aa1d81b.jpg","text":"TemporaryFile(/tmp/multipartBody4548068703718550483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332780337,"filename":"image_12072025_17_05_33_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fac3ef3a83d24d3cb3c40ae1baf2c05.jpg","text":"TemporaryFile(/tmp/multipartBody6270438285011488091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332780337,"filename":"image_12072025_17_05_03_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a42e7f6471d7641a25e5b82e4b370473.jpg","text":"TemporaryFile(/tmp/multipartBody4543642529979936618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332780337,"filename":"image_12072025_17_05_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3bf171c0b203a93e03b10f21b39bebfc.jpg","text":"TemporaryFile(/tmp/multipartBody8943607913093654971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332780337,"filename":"image_12072025_17_04_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06ac5b6c7eaa12b2c42ca406faa28bad.jpg","text":"TemporaryFile(/tmp/multipartBody2347029079003172026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332780337,"filename":"image_12072025_17_05_44_10773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903382","file1":"1371903381","file0":"1371903379","file4":"1371903384","file5":"1371903385","file3":"1371903383"},"map_files_photo_id_array":[{"photo_id":"1371903385","filename":"file5"},{"photo_id":"1371903382","filename":"file2"},{"photo_id":"1371903384","filename":"file4"},{"photo_id":"1371903381","filename":"file1"},{"photo_id":"1371903379","filename":"file0"},{"photo_id":"1371903383","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903382":["hashtag1","hashtag2"]},{"1371903381":["hashtag1","hashtag2"]},{"1371903384":["hashtag1","hashtag2"]},{"1371903383":["hashtag1","hashtag2"]},{"1371903385":["hashtag1","hashtag2"]},{"1371903379":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903382, 1371903381, 1371903384, 1371903383, 1371903385, 1371903379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73227906227112 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:06:02.908871
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_44_10617.jpg', 2), ('/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_33_9617.jpg', 2), ('/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_23_9609.jpg', 2), ('/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_14_10615.jpg', 2), ('/home/nano/Desktop/images/10072025/17/04/image_10072025_17_05_03_9595.jpg', 2), ('/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_54_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_44_10617.jpg', '/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_33_9617.jpg', '/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_23_9609.jpg', '/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_14_10615.jpg', '/home/nano/Desktop/images/10072025/17/04/image_10072025_17_05_03_9595.jpg', '/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_54_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_44_10617.jpg
/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_33_9617.jpg
/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_23_9609.jpg
/home/nano/Desktop/images/10072025/17/05/image_10072025_17_05_14_10615.jpg
/home/nano/Desktop/images/10072025/17/04/image_10072025_17_05_03_9595.jpg
/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_54_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903403","1371903400","1371903399","1371903395","1371903397","1371903401"],"photo_ids_order":["1371903395","1371903397","1371903399","1371903400","1371903401","1371903403"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e80997287339efafa89e8216dcd73c7.jpg","text":"TemporaryFile(/tmp/multipartBody3889736759176699947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332826029,"filename":"image_10072025_17_04_54_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0bb80cf4208294e4c195052cf87f352.jpg","text":"TemporaryFile(/tmp/multipartBody4588658743204113119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332826029,"filename":"image_10072025_17_05_14_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da4ced1840645eefa67e972d47463873.jpg","text":"TemporaryFile(/tmp/multipartBody7206758020885173437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332826029,"filename":"image_10072025_17_05_23_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc3f5f37e3ef9a29b9f8b2d3f425bdca.jpg","text":"TemporaryFile(/tmp/multipartBody8269076002136066978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332826029,"filename":"image_10072025_17_05_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b441162029fd5e2c11025967873f7c14.jpg","text":"TemporaryFile(/tmp/multipartBody8732880395213075134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332826029,"filename":"image_10072025_17_05_33_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/214005b26626eebb94e87eb810f7ed40.jpg","text":"TemporaryFile(/tmp/multipartBody3601811897530896707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332826029,"filename":"image_10072025_17_05_03_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903399","file1":"1371903397","file0":"1371903395","file4":"1371903401","file5":"1371903403","file3":"1371903400"},"map_files_photo_id_array":[{"photo_id":"1371903403","filename":"file5"},{"photo_id":"1371903399","filename":"file2"},{"photo_id":"1371903401","filename":"file4"},{"photo_id":"1371903397","filename":"file1"},{"photo_id":"1371903395","filename":"file0"},{"photo_id":"1371903400","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371903403":["hashtag1","hashtag2"]},{"1371903400":["hashtag1","hashtag2"]},{"1371903399":["hashtag1","hashtag2"]},{"1371903395":["hashtag1","hashtag2"]},{"1371903397":["hashtag1","hashtag2"]},{"1371903401":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371903403, 1371903400, 1371903399, 1371903395, 1371903397, 1371903401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.547775745391846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:06:47.371805
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_44_10673.jpg', 2), ('/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_34_9682.jpg', 2), ('/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_24_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_14_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/17/05/image_12072025_17_06_04_9737.jpg', 2), ('/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_54_9751.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_44_10673.jpg', '/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_34_9682.jpg', '/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_24_9659.jpg', '/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_14_10664.jpg', '/home/nano/Desktop/images/12072025/17/05/image_12072025_17_06_04_9737.jpg', '/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_54_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_44_10673.jpg
/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_34_9682.jpg
/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_24_9659.jpg
/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_14_10664.jpg
/home/nano/Desktop/images/12072025/17/05/image_12072025_17_06_04_9737.jpg
/home/nano/Desktop/images/12072025/17/05/image_12072025_17_05_54_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903418","1371903412","1371903414","1371903408","1371903410","1371903416"],"photo_ids_order":["1371903408","1371903410","1371903412","1371903414","1371903416","1371903418"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54e1fa9302f528197ecd17e110de9b89.jpg","text":"TemporaryFile(/tmp/multipartBody834379182008229436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332869341,"filename":"image_12072025_17_05_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/652db5502c09533d0071b0ce6ae75665.jpg","text":"TemporaryFile(/tmp/multipartBody608934236332071564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332869341,"filename":"image_12072025_17_06_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c792e631719172f7c74140bcc09e197b.jpg","text":"TemporaryFile(/tmp/multipartBody2227613134503849494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332869341,"filename":"image_12072025_17_06_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4563066d00c2e3c4eb9264d5bd58af44.jpg","text":"TemporaryFile(/tmp/multipartBody4706394581603418116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332869341,"filename":"image_12072025_17_06_44_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/660fc288de5bd96dea23aa9376e2458f.jpg","text":"TemporaryFile(/tmp/multipartBody8961580051017646515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332869341,"filename":"image_12072025_17_06_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8483620a463aa8c1389afee6957f3ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4534666838864386860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332869341,"filename":"image_12072025_17_06_04_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903412","file1":"1371903410","file0":"1371903408","file4":"1371903416","file5":"1371903418","file3":"1371903414"},"map_files_photo_id_array":[{"photo_id":"1371903418","filename":"file5"},{"photo_id":"1371903412","filename":"file2"},{"photo_id":"1371903416","filename":"file4"},{"photo_id":"1371903410","filename":"file1"},{"photo_id":"1371903408","filename":"file0"},{"photo_id":"1371903414","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903418":["hashtag1","hashtag2"]},{"1371903412":["hashtag1","hashtag2"]},{"1371903414":["hashtag1","hashtag2"]},{"1371903408":["hashtag1","hashtag2"]},{"1371903410":["hashtag1","hashtag2"]},{"1371903416":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903418, 1371903412, 1371903414, 1371903408, 1371903410, 1371903416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71166706085205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:07:32.504518
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_43_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_34_9719.jpg', 2), ('/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_24_9702.jpg', 2), ('/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_14_10693.jpg', 2), ('/home/nano/Desktop/images/12072025/17/06/image_12072025_17_07_04_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_54_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_43_9642.jpg', '/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_34_9719.jpg', '/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_24_9702.jpg', '/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_14_10693.jpg', '/home/nano/Desktop/images/12072025/17/06/image_12072025_17_07_04_9665.jpg', '/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_43_9642.jpg
/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_34_9719.jpg
/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_24_9702.jpg
/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_14_10693.jpg
/home/nano/Desktop/images/12072025/17/06/image_12072025_17_07_04_9665.jpg
/home/nano/Desktop/images/12072025/17/06/image_12072025_17_06_54_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903421","1371903429","1371903420","1371903425","1371903428","1371903422"],"photo_ids_order":["1371903420","1371903421","1371903422","1371903425","1371903428","1371903429"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02c378758dd81aff2f9d28dae6792e01.jpg","text":"TemporaryFile(/tmp/multipartBody4490252047003852525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332914676,"filename":"image_12072025_17_07_34_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f5fa50cb7b352894dc327d4c9f68bf5.jpg","text":"TemporaryFile(/tmp/multipartBody1812339869695239407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332914676,"filename":"image_12072025_17_06_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d30c9e53ee969ea1f0d8c9437f77d927.jpg","text":"TemporaryFile(/tmp/multipartBody3998492105676297128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332914676,"filename":"image_12072025_17_07_43_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4fa152df2fa7c171a5e9acef4b34463.jpg","text":"TemporaryFile(/tmp/multipartBody6285017598087302746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332914676,"filename":"image_12072025_17_07_14_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ef07a166d105bc22be20ab2f719e5b9.jpg","text":"TemporaryFile(/tmp/multipartBody1379255310032734682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332914676,"filename":"image_12072025_17_07_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/052e3cbb099778389c6c7b81a932de8d.jpg","text":"TemporaryFile(/tmp/multipartBody7605537023761742338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332914676,"filename":"image_12072025_17_07_24_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903422","file1":"1371903421","file0":"1371903420","file4":"1371903428","file5":"1371903429","file3":"1371903425"},"map_files_photo_id_array":[{"photo_id":"1371903429","filename":"file5"},{"photo_id":"1371903422","filename":"file2"},{"photo_id":"1371903428","filename":"file4"},{"photo_id":"1371903421","filename":"file1"},{"photo_id":"1371903420","filename":"file0"},{"photo_id":"1371903425","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903421":["hashtag1","hashtag2"]},{"1371903429":["hashtag1","hashtag2"]},{"1371903420":["hashtag1","hashtag2"]},{"1371903425":["hashtag1","hashtag2"]},{"1371903428":["hashtag1","hashtag2"]},{"1371903422":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903421, 1371903429, 1371903420, 1371903425, 1371903428, 1371903422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.328064918518066 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:08:17.609013
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_43_9712.jpg', 2), ('/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_34_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_24_10738.jpg', 2), ('/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_13_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/17/07/image_12072025_17_08_04_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_54_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_43_9712.jpg', '/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_34_9660.jpg', '/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_24_10738.jpg', '/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_13_9669.jpg', '/home/nano/Desktop/images/12072025/17/07/image_12072025_17_08_04_9651.jpg', '/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_54_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_43_9712.jpg
/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_34_9660.jpg
/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_24_10738.jpg
/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_13_9669.jpg
/home/nano/Desktop/images/12072025/17/07/image_12072025_17_08_04_9651.jpg
/home/nano/Desktop/images/12072025/17/07/image_12072025_17_07_54_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903436","1371903439","1371903435","1371903438","1371903437","1371903434"],"photo_ids_order":["1371903434","1371903435","1371903436","1371903437","1371903438","1371903439"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8539e5175f6ce1f9f5e2631e76e885b1.jpg","text":"TemporaryFile(/tmp/multipartBody1050939482798567009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332959804,"filename":"image_12072025_17_08_24_10738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14e6559fad2a45552efba3e747a940a3.jpg","text":"TemporaryFile(/tmp/multipartBody5721923134172036055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332959804,"filename":"image_12072025_17_07_54_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75aaf0bbdc1ccbac107c08e7c49d5826.jpg","text":"TemporaryFile(/tmp/multipartBody7080220114489621248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332959804,"filename":"image_12072025_17_08_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55c295c39ecff5ee203fbc5cd803797e.jpg","text":"TemporaryFile(/tmp/multipartBody6704651753119844825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332959804,"filename":"image_12072025_17_08_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1196b6b9845271d0ac5684458a77932b.jpg","text":"TemporaryFile(/tmp/multipartBody4250303319697275326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332959804,"filename":"image_12072025_17_08_13_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/393c0f8df5e24863c53fb70619804028.jpg","text":"TemporaryFile(/tmp/multipartBody7090088006828615448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752332959804,"filename":"image_12072025_17_08_43_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903436","file1":"1371903435","file0":"1371903434","file4":"1371903438","file5":"1371903439","file3":"1371903437"},"map_files_photo_id_array":[{"photo_id":"1371903439","filename":"file5"},{"photo_id":"1371903436","filename":"file2"},{"photo_id":"1371903438","filename":"file4"},{"photo_id":"1371903435","filename":"file1"},{"photo_id":"1371903434","filename":"file0"},{"photo_id":"1371903437","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903436":["hashtag1","hashtag2"]},{"1371903439":["hashtag1","hashtag2"]},{"1371903435":["hashtag1","hashtag2"]},{"1371903438":["hashtag1","hashtag2"]},{"1371903437":["hashtag1","hashtag2"]},{"1371903434":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903436, 1371903439, 1371903435, 1371903438, 1371903437, 1371903434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.567694664001465 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:09:03.646880
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_43_9583.jpg', 2), ('/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_33_9595.jpg', 2), ('/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_24_10596.jpg', 2), ('/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_13_9612.jpg', 2), ('/home/nano/Desktop/images/10072025/17/03/image_10072025_17_04_04_10609.jpg', 2), ('/home/nano/Desktop/images/10072025/17/03/image_10072025_17_03_53_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_43_9583.jpg', '/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_33_9595.jpg', '/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_24_10596.jpg', '/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_13_9612.jpg', '/home/nano/Desktop/images/10072025/17/03/image_10072025_17_04_04_10609.jpg', '/home/nano/Desktop/images/10072025/17/03/image_10072025_17_03_53_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_43_9583.jpg
/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_33_9595.jpg
/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_24_10596.jpg
/home/nano/Desktop/images/10072025/17/04/image_10072025_17_04_13_9612.jpg
/home/nano/Desktop/images/10072025/17/03/image_10072025_17_04_04_10609.jpg
/home/nano/Desktop/images/10072025/17/03/image_10072025_17_03_53_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903451","1371903454","1371903448","1371903453","1371903449","1371903452"],"photo_ids_order":["1371903448","1371903449","1371903451","1371903452","1371903453","1371903454"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e841f1b40f73b2ba5072f07c9ae2328e.jpg","text":"TemporaryFile(/tmp/multipartBody1910989464113966971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333006812,"filename":"image_10072025_17_04_24_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1c11848c1ad6af14a8e73ab38c09c0e.jpg","text":"TemporaryFile(/tmp/multipartBody4582334501926181558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333006812,"filename":"image_10072025_17_03_53_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b23a69aaa551475b40f4a96f0985fb3.jpg","text":"TemporaryFile(/tmp/multipartBody8965795068978643699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333006812,"filename":"image_10072025_17_04_43_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56f57ff1eec69ad83f53e1b56e1bc126.jpg","text":"TemporaryFile(/tmp/multipartBody4036897619282612262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333006812,"filename":"image_10072025_17_04_04_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5eff2b0c2ea386c517113327c8d6bbc9.jpg","text":"TemporaryFile(/tmp/multipartBody7709253652478312698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333006812,"filename":"image_10072025_17_04_33_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc4f7c2553a5fb5e551a3dd9fc0ba259.jpg","text":"TemporaryFile(/tmp/multipartBody8223082643061811893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333006812,"filename":"image_10072025_17_04_13_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903451","file1":"1371903449","file0":"1371903448","file4":"1371903453","file5":"1371903454","file3":"1371903452"},"map_files_photo_id_array":[{"photo_id":"1371903454","filename":"file5"},{"photo_id":"1371903451","filename":"file2"},{"photo_id":"1371903453","filename":"file4"},{"photo_id":"1371903449","filename":"file1"},{"photo_id":"1371903448","filename":"file0"},{"photo_id":"1371903452","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371903451":["hashtag1","hashtag2"]},{"1371903454":["hashtag1","hashtag2"]},{"1371903448":["hashtag1","hashtag2"]},{"1371903453":["hashtag1","hashtag2"]},{"1371903449":["hashtag1","hashtag2"]},{"1371903452":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371903451, 1371903454, 1371903448, 1371903453, 1371903449, 1371903452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6080219745636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:09:47.730995
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_44_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_34_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_24_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_14_9694.jpg', 2), ('/home/nano/Desktop/images/12072025/17/08/image_12072025_17_09_04_9725.jpg', 2), ('/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_54_10747.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_44_9605.jpg', '/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_34_9640.jpg', '/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_24_10659.jpg', '/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_14_9694.jpg', '/home/nano/Desktop/images/12072025/17/08/image_12072025_17_09_04_9725.jpg', '/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_54_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_44_9605.jpg
/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_34_9640.jpg
/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_24_10659.jpg
/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_14_9694.jpg
/home/nano/Desktop/images/12072025/17/08/image_12072025_17_09_04_9725.jpg
/home/nano/Desktop/images/12072025/17/08/image_12072025_17_08_54_10747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903487","1371903472","1371903474","1371903485","1371903482","1371903478"],"photo_ids_order":["1371903472","1371903474","1371903478","1371903482","1371903485","1371903487"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/744b80f1ceb9b5fd74a7f77ceb1c8ccf.jpg","text":"TemporaryFile(/tmp/multipartBody5660488299742836110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333049865,"filename":"image_12072025_17_08_54_10747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b1eaf670d0a3214ae3dd00d4455294e.jpg","text":"TemporaryFile(/tmp/multipartBody8891828165271770412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333049865,"filename":"image_12072025_17_09_44_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e75105ce238609b883b25eb7a383edc8.jpg","text":"TemporaryFile(/tmp/multipartBody1050043367533334831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333049865,"filename":"image_12072025_17_09_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2925a2a6af5b57763f709fa62032756.jpg","text":"TemporaryFile(/tmp/multipartBody3342607549701825202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333049865,"filename":"image_12072025_17_09_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6f5262c30b29bbf96dbad57053f0e1f.jpg","text":"TemporaryFile(/tmp/multipartBody971340806240019141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333049865,"filename":"image_12072025_17_09_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6bdc08df471bbf8635763afb23430cb.jpg","text":"TemporaryFile(/tmp/multipartBody6731906780026666402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333049865,"filename":"image_12072025_17_09_24_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903478","file1":"1371903474","file0":"1371903472","file4":"1371903485","file5":"1371903487","file3":"1371903482"},"map_files_photo_id_array":[{"photo_id":"1371903487","filename":"file5"},{"photo_id":"1371903478","filename":"file2"},{"photo_id":"1371903485","filename":"file4"},{"photo_id":"1371903474","filename":"file1"},{"photo_id":"1371903472","filename":"file0"},{"photo_id":"1371903482","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903487":["hashtag1","hashtag2"]},{"1371903472":["hashtag1","hashtag2"]},{"1371903474":["hashtag1","hashtag2"]},{"1371903485":["hashtag1","hashtag2"]},{"1371903482":["hashtag1","hashtag2"]},{"1371903478":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903487, 1371903472, 1371903474, 1371903485, 1371903482, 1371903478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.516167640686035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:10:31.851897
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_44_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_34_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_24_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_13_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/17/09/image_12072025_17_10_04_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_44_10617.jpg', '/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_34_9617.jpg', '/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_24_10626.jpg', '/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_13_9668.jpg', '/home/nano/Desktop/images/12072025/17/09/image_12072025_17_10_04_9617.jpg', '/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_44_10617.jpg
/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_34_9617.jpg
/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_24_10626.jpg
/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_13_9668.jpg
/home/nano/Desktop/images/12072025/17/09/image_12072025_17_10_04_9617.jpg
/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_54_10622.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9960720539093018 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:10:46.863024
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_44_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_34_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_24_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_13_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/17/09/image_12072025_17_10_04_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_44_10617.jpg', '/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_34_9617.jpg', '/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_24_10626.jpg', '/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_13_9668.jpg', '/home/nano/Desktop/images/12072025/17/09/image_12072025_17_10_04_9617.jpg', '/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_44_10617.jpg
/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_34_9617.jpg
/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_24_10626.jpg
/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_13_9668.jpg
/home/nano/Desktop/images/12072025/17/09/image_12072025_17_10_04_9617.jpg
/home/nano/Desktop/images/12072025/17/09/image_12072025_17_09_54_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903502","1371903501","1371903504","1371903506","1371903496","1371903499"],"photo_ids_order":["1371903496","1371903499","1371903501","1371903502","1371903504","1371903506"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26dd39415bf21d08ff5281a3710ff893.jpg","text":"TemporaryFile(/tmp/multipartBody6484982695950399299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333108411,"filename":"image_12072025_17_10_13_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/350c65fa38f56fe619fcda98d20e1686.jpg","text":"TemporaryFile(/tmp/multipartBody6581150083218095867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333108411,"filename":"image_12072025_17_10_24_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6ee868462b86e8085ffa68c9e1518e2.jpg","text":"TemporaryFile(/tmp/multipartBody8315164713065517402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333108411,"filename":"image_12072025_17_10_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4a0318178d41319cd7cbbc3c200328c.jpg","text":"TemporaryFile(/tmp/multipartBody1084479785225648657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333108411,"filename":"image_12072025_17_09_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/806147c4a5f557217e3169abaf0080e2.jpg","text":"TemporaryFile(/tmp/multipartBody440065427751895615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333108411,"filename":"image_12072025_17_10_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a1f431e049fb251ee5405294b1656da.jpg","text":"TemporaryFile(/tmp/multipartBody7431170094319345705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333108411,"filename":"image_12072025_17_10_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903501","file1":"1371903499","file0":"1371903496","file4":"1371903504","file5":"1371903506","file3":"1371903502"},"map_files_photo_id_array":[{"photo_id":"1371903506","filename":"file5"},{"photo_id":"1371903501","filename":"file2"},{"photo_id":"1371903504","filename":"file4"},{"photo_id":"1371903499","filename":"file1"},{"photo_id":"1371903496","filename":"file0"},{"photo_id":"1371903502","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903502":["hashtag1","hashtag2"]},{"1371903501":["hashtag1","hashtag2"]},{"1371903504":["hashtag1","hashtag2"]},{"1371903506":["hashtag1","hashtag2"]},{"1371903496":["hashtag1","hashtag2"]},{"1371903499":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903502, 1371903501, 1371903504, 1371903506, 1371903496, 1371903499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.674793004989624 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:11:31.944920
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_44_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_33_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_24_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_14_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/17/10/image_12072025_17_11_04_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_54_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_44_10628.jpg', '/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_33_9642.jpg', '/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_24_9621.jpg', '/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_14_10636.jpg', '/home/nano/Desktop/images/12072025/17/10/image_12072025_17_11_04_9635.jpg', '/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_54_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_44_10628.jpg
/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_33_9642.jpg
/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_24_9621.jpg
/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_14_10636.jpg
/home/nano/Desktop/images/12072025/17/10/image_12072025_17_11_04_9635.jpg
/home/nano/Desktop/images/12072025/17/10/image_12072025_17_10_54_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903514","1371903511","1371903516","1371903510","1371903518","1371903512"],"photo_ids_order":["1371903510","1371903511","1371903512","1371903514","1371903516","1371903518"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10cf84365471d2c578fae6bfd6540dc4.jpg","text":"TemporaryFile(/tmp/multipartBody3537992673064894945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333153878,"filename":"image_12072025_17_11_14_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27fbed5054e28238adad4431f90db50e.jpg","text":"TemporaryFile(/tmp/multipartBody6670865558877629813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333153878,"filename":"image_12072025_17_11_33_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80658d9594e7e5e208966b31241b3c58.jpg","text":"TemporaryFile(/tmp/multipartBody2820947864825358921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333153878,"filename":"image_12072025_17_11_04_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/273f775296b299bcac025e3eaf5ed619.jpg","text":"TemporaryFile(/tmp/multipartBody4461324276207391172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333153878,"filename":"image_12072025_17_11_44_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8e32eaf109bbade22d2d52d58f9ad37.jpg","text":"TemporaryFile(/tmp/multipartBody7515276781037890773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333153878,"filename":"image_12072025_17_10_54_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f0ea4d02e0dc539742465fd55a699c0.jpg","text":"TemporaryFile(/tmp/multipartBody1322291289062352382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333153878,"filename":"image_12072025_17_11_24_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903512","file1":"1371903511","file0":"1371903510","file4":"1371903516","file5":"1371903518","file3":"1371903514"},"map_files_photo_id_array":[{"photo_id":"1371903518","filename":"file5"},{"photo_id":"1371903512","filename":"file2"},{"photo_id":"1371903516","filename":"file4"},{"photo_id":"1371903511","filename":"file1"},{"photo_id":"1371903510","filename":"file0"},{"photo_id":"1371903514","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903514":["hashtag1","hashtag2"]},{"1371903511":["hashtag1","hashtag2"]},{"1371903516":["hashtag1","hashtag2"]},{"1371903510":["hashtag1","hashtag2"]},{"1371903518":["hashtag1","hashtag2"]},{"1371903512":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903514, 1371903511, 1371903516, 1371903510, 1371903518, 1371903512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.900758981704712 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:12:17.108172
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/12/image_12072025_17_12_44_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/17/12/image_12072025_17_12_34_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/17/12/image_12072025_17_12_24_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/17/11/image_12072025_17_12_04_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_54_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/12/image_12072025_17_12_44_9639.jpg', '/home/nano/Desktop/images/12072025/17/12/image_12072025_17_12_34_10625.jpg', '/home/nano/Desktop/images/12072025/17/12/image_12072025_17_12_24_9613.jpg', '/home/nano/Desktop/images/12072025/17/11/image_12072025_17_12_04_10623.jpg', '/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/12/image_12072025_17_12_44_9639.jpg
/home/nano/Desktop/images/12072025/17/12/image_12072025_17_12_34_10625.jpg
/home/nano/Desktop/images/12072025/17/12/image_12072025_17_12_24_9613.jpg
/home/nano/Desktop/images/12072025/17/11/image_12072025_17_12_04_10623.jpg
/home/nano/Desktop/images/12072025/17/11/image_12072025_17_11_54_9614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903526","1371903531","1371903525","1371903528","1371903530"],"photo_ids_order":["1371903525","1371903526","1371903528","1371903530","1371903531"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be72d480de125002f740b8c8bcba0dde.jpg","text":"TemporaryFile(/tmp/multipartBody4249382985904931021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333198344,"filename":"image_12072025_17_12_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b426b973b45165d11385ecf0cf71d440.jpg","text":"TemporaryFile(/tmp/multipartBody6196254854504736989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333198344,"filename":"image_12072025_17_11_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bdee86b5709441a60b4c2ecb56eb0575.jpg","text":"TemporaryFile(/tmp/multipartBody8106581513283127923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333198344,"filename":"image_12072025_17_12_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d3f206e4d51555d18590d8490a14dd5.jpg","text":"TemporaryFile(/tmp/multipartBody3047300791696819888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333198344,"filename":"image_12072025_17_12_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62bf97d0530b15bfe47548e1d057b186.jpg","text":"TemporaryFile(/tmp/multipartBody8900704426852101644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333198344,"filename":"image_12072025_17_12_04_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903528","file1":"1371903526","file0":"1371903525","file4":"1371903531","file3":"1371903530"},"map_files_photo_id_array":[{"photo_id":"1371903528","filename":"file2"},{"photo_id":"1371903531","filename":"file4"},{"photo_id":"1371903526","filename":"file1"},{"photo_id":"1371903525","filename":"file0"},{"photo_id":"1371903530","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903526":["hashtag1","hashtag2"]},{"1371903531":["hashtag1","hashtag2"]},{"1371903525":["hashtag1","hashtag2"]},{"1371903528":["hashtag1","hashtag2"]},{"1371903530":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903526, 1371903531, 1371903525, 1371903528, 1371903530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.187987804412842 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:12:47.072558
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/03/image_10072025_17_03_43_9602.jpg', 2), ('/home/nano/Desktop/images/10072025/17/03/image_10072025_17_03_14_10621.jpg', 2), ('/home/nano/Desktop/images/10072025/17/02/image_10072025_17_03_03_9593.jpg', 2), ('/home/nano/Desktop/images/10072025/17/02/image_10072025_17_02_53_9588.jpg', 2), ('/home/nano/Desktop/images/10072025/17/02/image_10072025_17_02_24_10597.jpg', 2), ('/home/nano/Desktop/images/10072025/17/02/image_10072025_17_02_13_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/03/image_10072025_17_03_43_9602.jpg', '/home/nano/Desktop/images/10072025/17/03/image_10072025_17_03_14_10621.jpg', '/home/nano/Desktop/images/10072025/17/02/image_10072025_17_03_03_9593.jpg', '/home/nano/Desktop/images/10072025/17/02/image_10072025_17_02_53_9588.jpg', '/home/nano/Desktop/images/10072025/17/02/image_10072025_17_02_24_10597.jpg', '/home/nano/Desktop/images/10072025/17/02/image_10072025_17_02_13_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/03/image_10072025_17_03_43_9602.jpg
/home/nano/Desktop/images/10072025/17/03/image_10072025_17_03_14_10621.jpg
/home/nano/Desktop/images/10072025/17/02/image_10072025_17_03_03_9593.jpg
/home/nano/Desktop/images/10072025/17/02/image_10072025_17_02_53_9588.jpg
/home/nano/Desktop/images/10072025/17/02/image_10072025_17_02_24_10597.jpg
/home/nano/Desktop/images/10072025/17/02/image_10072025_17_02_13_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903547","1371903541","1371903538","1371903542","1371903536","1371903545"],"photo_ids_order":["1371903536","1371903538","1371903541","1371903542","1371903545","1371903547"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/134330961eb73b6abc848532af50b816.jpg","text":"TemporaryFile(/tmp/multipartBody8550086653130964417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333231471,"filename":"image_10072025_17_02_13_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be6a3967b248fdfef4841896d4ff689b.jpg","text":"TemporaryFile(/tmp/multipartBody4683416383627573106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333231471,"filename":"image_10072025_17_03_03_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50c1e1ff1aaf10625f9735563ecc9b53.jpg","text":"TemporaryFile(/tmp/multipartBody6457540423830629780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333231471,"filename":"image_10072025_17_03_14_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b37d8a7fb75b3b929bde37229e25de97.jpg","text":"TemporaryFile(/tmp/multipartBody7195220701042442817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333231471,"filename":"image_10072025_17_02_53_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b68ba1d3810ece7fe7697ba5adfa1019.jpg","text":"TemporaryFile(/tmp/multipartBody4492802603419771113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333231471,"filename":"image_10072025_17_03_43_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f03d40cc67fb56f96bf261ba5366344.jpg","text":"TemporaryFile(/tmp/multipartBody3211134108834325682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333231471,"filename":"image_10072025_17_02_24_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903541","file1":"1371903538","file0":"1371903536","file4":"1371903545","file5":"1371903547","file3":"1371903542"},"map_files_photo_id_array":[{"photo_id":"1371903547","filename":"file5"},{"photo_id":"1371903541","filename":"file2"},{"photo_id":"1371903545","filename":"file4"},{"photo_id":"1371903538","filename":"file1"},{"photo_id":"1371903536","filename":"file0"},{"photo_id":"1371903542","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371903547":["hashtag1","hashtag2"]},{"1371903541":["hashtag1","hashtag2"]},{"1371903538":["hashtag1","hashtag2"]},{"1371903542":["hashtag1","hashtag2"]},{"1371903536":["hashtag1","hashtag2"]},{"1371903545":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371903547, 1371903541, 1371903538, 1371903542, 1371903536, 1371903545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88885140419006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:13:32.249968
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_44_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_34_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_23_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_14_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/17/12/image_12072025_17_13_04_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/17/12/image_12072025_17_12_53_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_44_9641.jpg', '/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_34_10644.jpg', '/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_23_9612.jpg', '/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_14_9651.jpg', '/home/nano/Desktop/images/12072025/17/12/image_12072025_17_13_04_10643.jpg', '/home/nano/Desktop/images/12072025/17/12/image_12072025_17_12_53_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_44_9641.jpg
/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_34_10644.jpg
/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_23_9612.jpg
/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_14_9651.jpg
/home/nano/Desktop/images/12072025/17/12/image_12072025_17_13_04_10643.jpg
/home/nano/Desktop/images/12072025/17/12/image_12072025_17_12_53_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903559","1371903553","1371903556","1371903552","1371903557","1371903551"],"photo_ids_order":["1371903551","1371903552","1371903553","1371903556","1371903557","1371903559"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b88525d53e4afe80a2b829f1483985a3.jpg","text":"TemporaryFile(/tmp/multipartBody1761054843625245201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333274545,"filename":"image_12072025_17_12_53_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f9ec6dabf66d00ff3f37ccb7d48321e.jpg","text":"TemporaryFile(/tmp/multipartBody4138748666139327882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333274545,"filename":"image_12072025_17_13_23_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2cd5d32a50eb5660563a6c801dc98533.jpg","text":"TemporaryFile(/tmp/multipartBody4573157021359730392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333274545,"filename":"image_12072025_17_13_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b5cd35bc6ded5347c9491f90e3c9388.jpg","text":"TemporaryFile(/tmp/multipartBody7906022944969882871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333274545,"filename":"image_12072025_17_13_34_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d6444ac2e3614e046008c4d7a7c555a.jpg","text":"TemporaryFile(/tmp/multipartBody3009784356635737616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333274545,"filename":"image_12072025_17_13_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e58a0cbff49a3a878c5453e849f2e2a3.jpg","text":"TemporaryFile(/tmp/multipartBody3626115600113452919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333274545,"filename":"image_12072025_17_13_44_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903553","file1":"1371903552","file0":"1371903551","file4":"1371903557","file5":"1371903559","file3":"1371903556"},"map_files_photo_id_array":[{"photo_id":"1371903559","filename":"file5"},{"photo_id":"1371903553","filename":"file2"},{"photo_id":"1371903557","filename":"file4"},{"photo_id":"1371903552","filename":"file1"},{"photo_id":"1371903551","filename":"file0"},{"photo_id":"1371903556","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903559":["hashtag1","hashtag2"]},{"1371903553":["hashtag1","hashtag2"]},{"1371903556":["hashtag1","hashtag2"]},{"1371903552":["hashtag1","hashtag2"]},{"1371903557":["hashtag1","hashtag2"]},{"1371903551":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903559, 1371903553, 1371903556, 1371903552, 1371903557, 1371903551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.047244548797607 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:14:17.263819
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_43_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_34_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_24_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_14_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/17/13/image_12072025_17_14_04_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_54_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_43_9614.jpg', '/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_34_9608.jpg', '/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_24_10624.jpg', '/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_14_9652.jpg', '/home/nano/Desktop/images/12072025/17/13/image_12072025_17_14_04_9615.jpg', '/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_54_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_43_9614.jpg
/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_34_9608.jpg
/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_24_10624.jpg
/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_14_9652.jpg
/home/nano/Desktop/images/12072025/17/13/image_12072025_17_14_04_9615.jpg
/home/nano/Desktop/images/12072025/17/13/image_12072025_17_13_54_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903571","1371903574","1371903570","1371903567","1371903572","1371903569"],"photo_ids_order":["1371903567","1371903569","1371903570","1371903571","1371903572","1371903574"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cff3100c50c1ba99e668bf71d677389a.jpg","text":"TemporaryFile(/tmp/multipartBody1014883049208526751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333319119,"filename":"image_12072025_17_14_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bd1ed39abae5538e1ba228d2c6041f8.jpg","text":"TemporaryFile(/tmp/multipartBody2271499023253546256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333319119,"filename":"image_12072025_17_13_54_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1c4878b62ceee501205edd5dd5b6981.jpg","text":"TemporaryFile(/tmp/multipartBody3951802955143356722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333319119,"filename":"image_12072025_17_14_24_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/959209340f6b4844931c53313deaceed.jpg","text":"TemporaryFile(/tmp/multipartBody2058984130256444008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333319119,"filename":"image_12072025_17_14_43_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ae3632aca408538e010d6687c5246d4.jpg","text":"TemporaryFile(/tmp/multipartBody493950595409482214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333319119,"filename":"image_12072025_17_14_04_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23a8cad354fb3a51f5ea325bb1fe2910.jpg","text":"TemporaryFile(/tmp/multipartBody6174317832818420628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333319119,"filename":"image_12072025_17_14_34_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903570","file1":"1371903569","file0":"1371903567","file4":"1371903572","file5":"1371903574","file3":"1371903571"},"map_files_photo_id_array":[{"photo_id":"1371903574","filename":"file5"},{"photo_id":"1371903570","filename":"file2"},{"photo_id":"1371903572","filename":"file4"},{"photo_id":"1371903569","filename":"file1"},{"photo_id":"1371903567","filename":"file0"},{"photo_id":"1371903571","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903571":["hashtag1","hashtag2"]},{"1371903574":["hashtag1","hashtag2"]},{"1371903570":["hashtag1","hashtag2"]},{"1371903567":["hashtag1","hashtag2"]},{"1371903572":["hashtag1","hashtag2"]},{"1371903569":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903571, 1371903574, 1371903570, 1371903567, 1371903572, 1371903569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28457808494568 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:15:03.017142
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/01/image_10072025_17_02_03_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_54_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_43_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_34_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_24_10735.jpg', 2), ('/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_13_9756.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/01/image_10072025_17_02_03_9622.jpg', '/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_54_10639.jpg', '/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_43_9625.jpg', '/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_34_9627.jpg', '/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_24_10735.jpg', '/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_13_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/01/image_10072025_17_02_03_9622.jpg
/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_54_10639.jpg
/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_43_9625.jpg
/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_34_9627.jpg
/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_24_10735.jpg
/home/nano/Desktop/images/10072025/17/01/image_10072025_17_01_13_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903586","1371903580","1371903588","1371903582","1371903585","1371903584"],"photo_ids_order":["1371903580","1371903582","1371903584","1371903585","1371903586","1371903588"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee8b42d5eff2e87f4508b98408e8282a.jpg","text":"TemporaryFile(/tmp/multipartBody1609236061914324811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333366414,"filename":"image_10072025_17_01_24_10735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/804043a6fedae21314286cb12926c16b.jpg","text":"TemporaryFile(/tmp/multipartBody5151861501446707633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333366414,"filename":"image_10072025_17_02_03_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72980d0099d20e0ff5b26888ada6b3d6.jpg","text":"TemporaryFile(/tmp/multipartBody1982151984139546553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333366414,"filename":"image_10072025_17_01_13_9756.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fdb063179b3d2b09c52e4ec001fc4fe.jpg","text":"TemporaryFile(/tmp/multipartBody6328411819848065684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333366414,"filename":"image_10072025_17_01_54_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/034d35e504eae02ebab58eae7734e052.jpg","text":"TemporaryFile(/tmp/multipartBody5544461036348012722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333366414,"filename":"image_10072025_17_01_34_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d8fe839f0a0296ef01bf9f59abec212.jpg","text":"TemporaryFile(/tmp/multipartBody3435534246311799714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333366414,"filename":"image_10072025_17_01_43_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903584","file1":"1371903582","file0":"1371903580","file4":"1371903586","file5":"1371903588","file3":"1371903585"},"map_files_photo_id_array":[{"photo_id":"1371903588","filename":"file5"},{"photo_id":"1371903584","filename":"file2"},{"photo_id":"1371903586","filename":"file4"},{"photo_id":"1371903582","filename":"file1"},{"photo_id":"1371903580","filename":"file0"},{"photo_id":"1371903585","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371903586":["hashtag1","hashtag2"]},{"1371903580":["hashtag1","hashtag2"]},{"1371903588":["hashtag1","hashtag2"]},{"1371903582":["hashtag1","hashtag2"]},{"1371903585":["hashtag1","hashtag2"]},{"1371903584":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371903586, 1371903580, 1371903588, 1371903582, 1371903585, 1371903584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25359320640564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:15:47.366067
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_44_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_34_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_24_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_14_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/17/14/image_12072025_17_15_04_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_54_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_44_10635.jpg', '/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_34_9636.jpg', '/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_24_9618.jpg', '/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_14_10647.jpg', '/home/nano/Desktop/images/12072025/17/14/image_12072025_17_15_04_9624.jpg', '/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_54_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_44_10635.jpg
/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_34_9636.jpg
/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_24_9618.jpg
/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_14_10647.jpg
/home/nano/Desktop/images/12072025/17/14/image_12072025_17_15_04_9624.jpg
/home/nano/Desktop/images/12072025/17/14/image_12072025_17_14_54_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903599","1371903593","1371903596","1371903602","1371903605","1371903608"],"photo_ids_order":["1371903593","1371903596","1371903599","1371903602","1371903605","1371903608"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbdde02c25db780da0459d599e43d872.jpg","text":"TemporaryFile(/tmp/multipartBody3901713648848936918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333409170,"filename":"image_12072025_17_15_24_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/356002befb3dd1debd329c709c7747c2.jpg","text":"TemporaryFile(/tmp/multipartBody3947103351791329083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333409170,"filename":"image_12072025_17_15_44_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea41096cbfa11ad4ba27e11f3c115c9a.jpg","text":"TemporaryFile(/tmp/multipartBody4810032813253003792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333409170,"filename":"image_12072025_17_15_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20f3b588caf642d1179394a900d33847.jpg","text":"TemporaryFile(/tmp/multipartBody3772095371705740939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333409170,"filename":"image_12072025_17_15_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4eb0ce4fed6a6cab98ad92062ce8044d.jpg","text":"TemporaryFile(/tmp/multipartBody30972563577763062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333409170,"filename":"image_12072025_17_15_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6cf1a2e62536f3dfae79ca49fbd1011e.jpg","text":"TemporaryFile(/tmp/multipartBody904963751444483744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333409170,"filename":"image_12072025_17_14_54_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903599","file1":"1371903596","file0":"1371903593","file4":"1371903605","file5":"1371903608","file3":"1371903602"},"map_files_photo_id_array":[{"photo_id":"1371903608","filename":"file5"},{"photo_id":"1371903599","filename":"file2"},{"photo_id":"1371903605","filename":"file4"},{"photo_id":"1371903596","filename":"file1"},{"photo_id":"1371903593","filename":"file0"},{"photo_id":"1371903602","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903599":["hashtag1","hashtag2"]},{"1371903593":["hashtag1","hashtag2"]},{"1371903596":["hashtag1","hashtag2"]},{"1371903602":["hashtag1","hashtag2"]},{"1371903605":["hashtag1","hashtag2"]},{"1371903608":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903599, 1371903593, 1371903596, 1371903602, 1371903605, 1371903608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73891592025757 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:16:32.473638
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_43_9726.jpg', 2), ('/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_34_9724.jpg', 2), ('/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_24_9699.jpg', 2), ('/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_14_10771.jpg', 2), ('/home/nano/Desktop/images/12072025/17/15/image_12072025_17_16_03_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_54_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_43_9726.jpg', '/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_34_9724.jpg', '/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_24_9699.jpg', '/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_14_10771.jpg', '/home/nano/Desktop/images/12072025/17/15/image_12072025_17_16_03_9625.jpg', '/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_43_9726.jpg
/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_34_9724.jpg
/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_24_9699.jpg
/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_14_10771.jpg
/home/nano/Desktop/images/12072025/17/15/image_12072025_17_16_03_9625.jpg
/home/nano/Desktop/images/12072025/17/15/image_12072025_17_15_54_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903622","1371903616","1371903618","1371903620","1371903623","1371903617"],"photo_ids_order":["1371903616","1371903617","1371903618","1371903620","1371903622","1371903623"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f53027de05106fb12f13ccd940cff09d.jpg","text":"TemporaryFile(/tmp/multipartBody474622826612706290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333454880,"filename":"image_12072025_17_16_03_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b74484d6002ecf4d394f44c746775f88.jpg","text":"TemporaryFile(/tmp/multipartBody7013062184346057336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333454880,"filename":"image_12072025_17_16_43_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c0cbea4bb4f23e3be276ca186ec3e17.jpg","text":"TemporaryFile(/tmp/multipartBody3953776074244899728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333454880,"filename":"image_12072025_17_16_24_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6c7738ae8893f53934af3b2d5d38ee3.jpg","text":"TemporaryFile(/tmp/multipartBody2220246768378045511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333454880,"filename":"image_12072025_17_16_14_10771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0ba54a4b1d0f1a5e325aec0bec04683.jpg","text":"TemporaryFile(/tmp/multipartBody3390813338163147375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333454880,"filename":"image_12072025_17_15_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8e4a7f237aa80073be52754f336fce5.jpg","text":"TemporaryFile(/tmp/multipartBody3140906855184544141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333454880,"filename":"image_12072025_17_16_34_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903618","file1":"1371903617","file0":"1371903616","file4":"1371903622","file5":"1371903623","file3":"1371903620"},"map_files_photo_id_array":[{"photo_id":"1371903623","filename":"file5"},{"photo_id":"1371903618","filename":"file2"},{"photo_id":"1371903622","filename":"file4"},{"photo_id":"1371903617","filename":"file1"},{"photo_id":"1371903616","filename":"file0"},{"photo_id":"1371903620","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903622":["hashtag1","hashtag2"]},{"1371903616":["hashtag1","hashtag2"]},{"1371903618":["hashtag1","hashtag2"]},{"1371903620":["hashtag1","hashtag2"]},{"1371903623":["hashtag1","hashtag2"]},{"1371903617":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903622, 1371903616, 1371903618, 1371903620, 1371903623, 1371903617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.70175290107727 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:17:17.549118
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_44_9716.jpg', 2), ('/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_34_9708.jpg', 2), ('/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_24_10703.jpg', 2), ('/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_14_9746.jpg', 2), ('/home/nano/Desktop/images/12072025/17/16/image_12072025_17_17_04_9744.jpg', 2), ('/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_54_10712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_44_9716.jpg', '/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_34_9708.jpg', '/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_24_10703.jpg', '/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_14_9746.jpg', '/home/nano/Desktop/images/12072025/17/16/image_12072025_17_17_04_9744.jpg', '/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_54_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_44_9716.jpg
/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_34_9708.jpg
/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_24_10703.jpg
/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_14_9746.jpg
/home/nano/Desktop/images/12072025/17/16/image_12072025_17_17_04_9744.jpg
/home/nano/Desktop/images/12072025/17/16/image_12072025_17_16_54_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903634","1371903637","1371903639","1371903630","1371903635","1371903632"],"photo_ids_order":["1371903630","1371903632","1371903634","1371903635","1371903637","1371903639"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4668a81501292db88aa3eb6bcacbc33f.jpg","text":"TemporaryFile(/tmp/multipartBody7012500299427313644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333499801,"filename":"image_12072025_17_17_24_10703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce9cb6883ca1f9b045d8530861500791.jpg","text":"TemporaryFile(/tmp/multipartBody7396882737858835765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333499801,"filename":"image_12072025_17_17_04_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e10fd7b1738665c8b4f1990ba30bd41.jpg","text":"TemporaryFile(/tmp/multipartBody8273488526064653417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333499801,"filename":"image_12072025_17_16_54_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8aec833c6a7cd74ecbcf7b87ab9f0013.jpg","text":"TemporaryFile(/tmp/multipartBody8850621645756359144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333499801,"filename":"image_12072025_17_17_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f6ce7e450b8fd66a4366ab38a8066e9.jpg","text":"TemporaryFile(/tmp/multipartBody8162400807925653136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333499801,"filename":"image_12072025_17_17_14_9746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/325da3c6273649a9712dcd5b56befaa3.jpg","text":"TemporaryFile(/tmp/multipartBody7401765746975850707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333499801,"filename":"image_12072025_17_17_34_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903634","file1":"1371903632","file0":"1371903630","file4":"1371903637","file5":"1371903639","file3":"1371903635"},"map_files_photo_id_array":[{"photo_id":"1371903639","filename":"file5"},{"photo_id":"1371903634","filename":"file2"},{"photo_id":"1371903637","filename":"file4"},{"photo_id":"1371903632","filename":"file1"},{"photo_id":"1371903630","filename":"file0"},{"photo_id":"1371903635","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903634":["hashtag1","hashtag2"]},{"1371903637":["hashtag1","hashtag2"]},{"1371903639":["hashtag1","hashtag2"]},{"1371903630":["hashtag1","hashtag2"]},{"1371903635":["hashtag1","hashtag2"]},{"1371903632":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903634, 1371903637, 1371903639, 1371903630, 1371903635, 1371903632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10487413406372 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:18:03.168896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/00/image_10072025_17_01_03_9749.jpg', 2), ('/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_54_9729.jpg', 2), ('/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_44_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_33_9719.jpg', 2), ('/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_24_9697.jpg', 2), ('/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_14_10781.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/00/image_10072025_17_01_03_9749.jpg', '/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_54_9729.jpg', '/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_44_10655.jpg', '/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_33_9719.jpg', '/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_24_9697.jpg', '/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_14_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/00/image_10072025_17_01_03_9749.jpg
/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_54_9729.jpg
/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_44_10655.jpg
/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_33_9719.jpg
/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_24_9697.jpg
/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_14_10781.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7586264610290527 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:18:17.680575
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_44_9715.jpg', 2), ('/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_34_10684.jpg', 2), ('/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_24_9686.jpg', 2), ('/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_14_9747.jpg', 2), ('/home/nano/Desktop/images/12072025/17/17/image_12072025_17_18_04_10756.jpg', 2), ('/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_53_9701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_44_9715.jpg', '/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_34_10684.jpg', '/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_24_9686.jpg', '/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_14_9747.jpg', '/home/nano/Desktop/images/12072025/17/17/image_12072025_17_18_04_10756.jpg', '/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_53_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_44_9715.jpg
/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_34_10684.jpg
/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_24_9686.jpg
/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_14_9747.jpg
/home/nano/Desktop/images/12072025/17/17/image_12072025_17_18_04_10756.jpg
/home/nano/Desktop/images/12072025/17/17/image_12072025_17_17_53_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903658","1371903652","1371903660","1371903654","1371903662","1371903656"],"photo_ids_order":["1371903652","1371903654","1371903656","1371903658","1371903660","1371903662"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5cb0725ab995fa338c1604e2c370bae3.jpg","text":"TemporaryFile(/tmp/multipartBody8152102934940207811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333560428,"filename":"image_12072025_17_18_14_9747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa0b690ab91fb45984edc3ae0ea76841.jpg","text":"TemporaryFile(/tmp/multipartBody582177166915032645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333560428,"filename":"image_12072025_17_18_44_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3238fad220d8c04eb085d954e9ad1d23.jpg","text":"TemporaryFile(/tmp/multipartBody313020550440621913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333560428,"filename":"image_12072025_17_18_04_10756.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a9ef39baa3f1dd82702857416c4d474.jpg","text":"TemporaryFile(/tmp/multipartBody4225849144181853671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333560428,"filename":"image_12072025_17_18_34_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64fc6d61c6e772ae3fa81ff00e082dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7599484981338017520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333560428,"filename":"image_12072025_17_17_53_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ad99fc5bf14b76efc6aecf5f11ece62.jpg","text":"TemporaryFile(/tmp/multipartBody2097165075148230452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333560428,"filename":"image_12072025_17_18_24_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903656","file1":"1371903654","file0":"1371903652","file4":"1371903660","file5":"1371903662","file3":"1371903658"},"map_files_photo_id_array":[{"photo_id":"1371903662","filename":"file5"},{"photo_id":"1371903656","filename":"file2"},{"photo_id":"1371903660","filename":"file4"},{"photo_id":"1371903654","filename":"file1"},{"photo_id":"1371903652","filename":"file0"},{"photo_id":"1371903658","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903658":["hashtag1","hashtag2"]},{"1371903652":["hashtag1","hashtag2"]},{"1371903660":["hashtag1","hashtag2"]},{"1371903654":["hashtag1","hashtag2"]},{"1371903662":["hashtag1","hashtag2"]},{"1371903656":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903658, 1371903652, 1371903660, 1371903654, 1371903662, 1371903656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.209229707717896 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:19:02.704201
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/17/00/image_10072025_17_01_03_9749.jpg', 2), ('/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_54_9729.jpg', 2), ('/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_44_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_33_9719.jpg', 2), ('/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_24_9697.jpg', 2), ('/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_14_10781.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/17/00/image_10072025_17_01_03_9749.jpg', '/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_54_9729.jpg', '/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_44_10655.jpg', '/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_33_9719.jpg', '/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_24_9697.jpg', '/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_14_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/17/00/image_10072025_17_01_03_9749.jpg
/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_54_9729.jpg
/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_44_10655.jpg
/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_33_9719.jpg
/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_24_9697.jpg
/home/nano/Desktop/images/10072025/17/00/image_10072025_17_00_14_10781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903672","1371903669","1371903671","1371903674","1371903668","1371903676"],"photo_ids_order":["1371903668","1371903669","1371903671","1371903672","1371903674","1371903676"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21fcfbbd13edf0be952ef6d71ab29217.jpg","text":"TemporaryFile(/tmp/multipartBody651502239140393533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333606489,"filename":"image_10072025_17_00_33_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73fb3376d94994f033cabaecce58e83a.jpg","text":"TemporaryFile(/tmp/multipartBody1491290493429129826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333606489,"filename":"image_10072025_17_00_54_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b936cb54bc620ab383bac5e86f663549.jpg","text":"TemporaryFile(/tmp/multipartBody2917463742764608448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333606489,"filename":"image_10072025_17_00_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72a54c1f58705e8d5b63432066bc35b2.jpg","text":"TemporaryFile(/tmp/multipartBody6955666976396016106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333606489,"filename":"image_10072025_17_00_24_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/beeba832f1442b9a36e0f6e0e536eba8.jpg","text":"TemporaryFile(/tmp/multipartBody6340034504046908948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333606489,"filename":"image_10072025_17_01_03_9749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b51cfaf77a203900bf5ad6936fcf22bf.jpg","text":"TemporaryFile(/tmp/multipartBody4086334218036031982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333606489,"filename":"image_10072025_17_00_14_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903671","file1":"1371903669","file0":"1371903668","file4":"1371903674","file5":"1371903676","file3":"1371903672"},"map_files_photo_id_array":[{"photo_id":"1371903676","filename":"file5"},{"photo_id":"1371903671","filename":"file2"},{"photo_id":"1371903674","filename":"file4"},{"photo_id":"1371903669","filename":"file1"},{"photo_id":"1371903668","filename":"file0"},{"photo_id":"1371903672","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371903672":["hashtag1","hashtag2"]},{"1371903669":["hashtag1","hashtag2"]},{"1371903671":["hashtag1","hashtag2"]},{"1371903674":["hashtag1","hashtag2"]},{"1371903668":["hashtag1","hashtag2"]},{"1371903676":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371903672, 1371903669, 1371903671, 1371903674, 1371903668, 1371903676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83815598487854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:19:46.778009
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_43_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_34_9678.jpg', 2), ('/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_24_9722.jpg', 2), ('/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_14_10810.jpg', 2), ('/home/nano/Desktop/images/12072025/17/18/image_12072025_17_19_03_9700.jpg', 2), ('/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_54_9813.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_43_9655.jpg', '/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_34_9678.jpg', '/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_24_9722.jpg', '/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_14_10810.jpg', '/home/nano/Desktop/images/12072025/17/18/image_12072025_17_19_03_9700.jpg', '/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_54_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_43_9655.jpg
/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_34_9678.jpg
/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_24_9722.jpg
/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_14_10810.jpg
/home/nano/Desktop/images/12072025/17/18/image_12072025_17_19_03_9700.jpg
/home/nano/Desktop/images/12072025/17/18/image_12072025_17_18_54_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903709","1371903703","1371903706","1371903705","1371903704","1371903707"],"photo_ids_order":["1371903703","1371903704","1371903705","1371903706","1371903707","1371903709"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c98abede8d01ae5ea6a3092c45463e1e.jpg","text":"TemporaryFile(/tmp/multipartBody3411929264083560331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333649205,"filename":"image_12072025_17_18_54_9813.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5e4b423ce8e16d1c65e29e81bc11e55.jpg","text":"TemporaryFile(/tmp/multipartBody7330326050511444655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333649205,"filename":"image_12072025_17_19_43_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc2ce0ae0cd7dcd117a35dcd7c3c54d0.jpg","text":"TemporaryFile(/tmp/multipartBody7468661798874841451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333649205,"filename":"image_12072025_17_19_14_10810.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2aac3e720d967aa5c2d59f5ea857d5a.jpg","text":"TemporaryFile(/tmp/multipartBody1053395434236011026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333649205,"filename":"image_12072025_17_19_24_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbc3b0d0ccb072ef501041ffc7871bbc.jpg","text":"TemporaryFile(/tmp/multipartBody7411504080320735626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333649205,"filename":"image_12072025_17_19_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18afb6c74a3695a6ddc3f86747a834fa.jpg","text":"TemporaryFile(/tmp/multipartBody5108340415608815603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333649205,"filename":"image_12072025_17_19_03_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903705","file1":"1371903704","file0":"1371903703","file4":"1371903707","file5":"1371903709","file3":"1371903706"},"map_files_photo_id_array":[{"photo_id":"1371903709","filename":"file5"},{"photo_id":"1371903705","filename":"file2"},{"photo_id":"1371903707","filename":"file4"},{"photo_id":"1371903704","filename":"file1"},{"photo_id":"1371903703","filename":"file0"},{"photo_id":"1371903706","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903709":["hashtag1","hashtag2"]},{"1371903703":["hashtag1","hashtag2"]},{"1371903706":["hashtag1","hashtag2"]},{"1371903705":["hashtag1","hashtag2"]},{"1371903704":["hashtag1","hashtag2"]},{"1371903707":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903709, 1371903703, 1371903706, 1371903705, 1371903704, 1371903707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.743189334869385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:20:31.868251
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_44_10601.jpg', 2), ('/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_33_9590.jpg', 2), ('/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_24_9594.jpg', 2), ('/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_14_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_54_10601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_44_10601.jpg', '/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_33_9590.jpg', '/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_24_9594.jpg', '/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_14_10633.jpg', '/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_54_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_44_10601.jpg
/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_33_9590.jpg
/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_24_9594.jpg
/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_14_10633.jpg
/home/nano/Desktop/images/12072025/17/19/image_12072025_17_19_54_10601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903721","1371903715","1371903717","1371903711","1371903713"],"photo_ids_order":["1371903711","1371903713","1371903715","1371903717","1371903721"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4a3c2a7501f5291be7464592e47eb3e.jpg","text":"TemporaryFile(/tmp/multipartBody6193237110502767608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333693284,"filename":"image_12072025_17_19_54_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ea25afc0e009ecd87dcefe78719223f.jpg","text":"TemporaryFile(/tmp/multipartBody1631928756675745747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333693284,"filename":"image_12072025_17_20_24_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e16736039f883f85e613abcdd1b90fe5.jpg","text":"TemporaryFile(/tmp/multipartBody163594890979690542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333693284,"filename":"image_12072025_17_20_14_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6e0afac0ae06b45ddb59afbffc1b84a.jpg","text":"TemporaryFile(/tmp/multipartBody550942794817446101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333693284,"filename":"image_12072025_17_20_44_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b58c3a9a03ff9e227b8ed3ff3890cebd.jpg","text":"TemporaryFile(/tmp/multipartBody3256003930725997708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333693284,"filename":"image_12072025_17_20_33_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903715","file1":"1371903713","file0":"1371903711","file4":"1371903721","file3":"1371903717"},"map_files_photo_id_array":[{"photo_id":"1371903715","filename":"file2"},{"photo_id":"1371903721","filename":"file4"},{"photo_id":"1371903713","filename":"file1"},{"photo_id":"1371903711","filename":"file0"},{"photo_id":"1371903717","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903721":["hashtag1","hashtag2"]},{"1371903715":["hashtag1","hashtag2"]},{"1371903717":["hashtag1","hashtag2"]},{"1371903711":["hashtag1","hashtag2"]},{"1371903713":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903721, 1371903715, 1371903717, 1371903711, 1371903713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.610828399658203 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:21:02.664917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/59/image_10072025_17_00_03_9744.jpg', 2), ('/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_53_9681.jpg', 2), ('/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_44_9764.jpg', 2), ('/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_34_10624.jpg', 2), ('/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_23_9780.jpg', 2), ('/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_14_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/59/image_10072025_17_00_03_9744.jpg', '/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_53_9681.jpg', '/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_44_9764.jpg', '/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_34_10624.jpg', '/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_23_9780.jpg', '/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_14_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/59/image_10072025_17_00_03_9744.jpg
/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_53_9681.jpg
/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_44_9764.jpg
/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_34_10624.jpg
/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_23_9780.jpg
/home/nano/Desktop/images/10072025/16/59/image_10072025_16_59_14_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903730","1371903733","1371903735","1371903734","1371903737","1371903731"],"photo_ids_order":["1371903730","1371903731","1371903733","1371903734","1371903735","1371903737"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0142b922c6185317817aaa5d3771febf.jpg","text":"TemporaryFile(/tmp/multipartBody8820866938578533691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333726368,"filename":"image_10072025_17_00_03_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78ee3851868871c078be4d48dd7f186f.jpg","text":"TemporaryFile(/tmp/multipartBody451212405169679693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333726368,"filename":"image_10072025_16_59_44_9764.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a02671b9a3dd91662f86abb6951ea986.jpg","text":"TemporaryFile(/tmp/multipartBody4613563280184806097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333726368,"filename":"image_10072025_16_59_23_9780.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/939e20edcc1a1461810fc18c2177f016.jpg","text":"TemporaryFile(/tmp/multipartBody8956412024596951065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333726368,"filename":"image_10072025_16_59_34_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5180696fec2d471e77428626b6281b70.jpg","text":"TemporaryFile(/tmp/multipartBody4697707204034338570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333726368,"filename":"image_10072025_16_59_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9339bb87572bab6be23e8b6e93fee36d.jpg","text":"TemporaryFile(/tmp/multipartBody926321228941052299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333726368,"filename":"image_10072025_16_59_53_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903733","file1":"1371903731","file0":"1371903730","file4":"1371903735","file5":"1371903737","file3":"1371903734"},"map_files_photo_id_array":[{"photo_id":"1371903737","filename":"file5"},{"photo_id":"1371903733","filename":"file2"},{"photo_id":"1371903735","filename":"file4"},{"photo_id":"1371903731","filename":"file1"},{"photo_id":"1371903730","filename":"file0"},{"photo_id":"1371903734","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371903730":["hashtag1","hashtag2"]},{"1371903733":["hashtag1","hashtag2"]},{"1371903735":["hashtag1","hashtag2"]},{"1371903734":["hashtag1","hashtag2"]},{"1371903737":["hashtag1","hashtag2"]},{"1371903731":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371903730, 1371903733, 1371903735, 1371903734, 1371903737, 1371903731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.846619606018066 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:21:46.992189
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_44_9590.jpg', 2), ('/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_34_10601.jpg', 2), ('/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_23_9595.jpg', 2), ('/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_14_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/17/20/image_12072025_17_21_04_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_54_9591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_44_9590.jpg', '/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_34_10601.jpg', '/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_23_9595.jpg', '/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_14_9620.jpg', '/home/nano/Desktop/images/12072025/17/20/image_12072025_17_21_04_10607.jpg', '/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_54_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_44_9590.jpg
/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_34_10601.jpg
/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_23_9595.jpg
/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_14_9620.jpg
/home/nano/Desktop/images/12072025/17/20/image_12072025_17_21_04_10607.jpg
/home/nano/Desktop/images/12072025/17/20/image_12072025_17_20_54_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903753","1371903756","1371903750","1371903744","1371903746","1371903749"],"photo_ids_order":["1371903744","1371903746","1371903749","1371903750","1371903753","1371903756"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d154d23f4bacaa1834dfa9f824b3a90.jpg","text":"TemporaryFile(/tmp/multipartBody6333052285557312546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333768695,"filename":"image_12072025_17_21_04_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e1ae6c3ba349ab0bf1099de3e5062e8.jpg","text":"TemporaryFile(/tmp/multipartBody3051710404645020456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333768695,"filename":"image_12072025_17_20_54_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35b1230c0f6091c0504865a41465d0a5.jpg","text":"TemporaryFile(/tmp/multipartBody7662477217809016469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333768695,"filename":"image_12072025_17_21_14_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c37f6022cc951edcee466973d49ad43.jpg","text":"TemporaryFile(/tmp/multipartBody7976505623927688739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333768695,"filename":"image_12072025_17_21_44_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/084a211b2591084e0508b31eb38227ba.jpg","text":"TemporaryFile(/tmp/multipartBody2296755491956702445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333768695,"filename":"image_12072025_17_21_34_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fa3aa6f2be290e9423482f4576b2089.jpg","text":"TemporaryFile(/tmp/multipartBody5378160137639614353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333768695,"filename":"image_12072025_17_21_23_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903749","file1":"1371903746","file0":"1371903744","file4":"1371903753","file5":"1371903756","file3":"1371903750"},"map_files_photo_id_array":[{"photo_id":"1371903756","filename":"file5"},{"photo_id":"1371903749","filename":"file2"},{"photo_id":"1371903753","filename":"file4"},{"photo_id":"1371903746","filename":"file1"},{"photo_id":"1371903744","filename":"file0"},{"photo_id":"1371903750","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903753":["hashtag1","hashtag2"]},{"1371903756":["hashtag1","hashtag2"]},{"1371903750":["hashtag1","hashtag2"]},{"1371903744":["hashtag1","hashtag2"]},{"1371903746":["hashtag1","hashtag2"]},{"1371903749":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903753, 1371903756, 1371903750, 1371903744, 1371903746, 1371903749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79801154136658 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:22:32.126830
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/22/image_12072025_17_22_44_10601.jpg', 2), ('/home/nano/Desktop/images/12072025/17/22/image_12072025_17_22_24_10598.jpg', 2), ('/home/nano/Desktop/images/12072025/17/22/image_12072025_17_22_13_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/17/21/image_12072025_17_22_04_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_54_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/22/image_12072025_17_22_44_10601.jpg', '/home/nano/Desktop/images/12072025/17/22/image_12072025_17_22_24_10598.jpg', '/home/nano/Desktop/images/12072025/17/22/image_12072025_17_22_13_9607.jpg', '/home/nano/Desktop/images/12072025/17/21/image_12072025_17_22_04_9625.jpg', '/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_54_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/22/image_12072025_17_22_44_10601.jpg
/home/nano/Desktop/images/12072025/17/22/image_12072025_17_22_24_10598.jpg
/home/nano/Desktop/images/12072025/17/22/image_12072025_17_22_13_9607.jpg
/home/nano/Desktop/images/12072025/17/21/image_12072025_17_22_04_9625.jpg
/home/nano/Desktop/images/12072025/17/21/image_12072025_17_21_54_10605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903760","1371903762","1371903759","1371903764","1371903758"],"photo_ids_order":["1371903758","1371903759","1371903760","1371903762","1371903764"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41c9007b2a07834e9dc9b53b0661bd22.jpg","text":"TemporaryFile(/tmp/multipartBody5951936250784029128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333813714,"filename":"image_12072025_17_22_13_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b708428904019d9cbb90a8c38f81a119.jpg","text":"TemporaryFile(/tmp/multipartBody2675536923847300697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333813714,"filename":"image_12072025_17_22_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb65d971fb4ca846e7600c676d969e5f.jpg","text":"TemporaryFile(/tmp/multipartBody4638916550994462296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333813714,"filename":"image_12072025_17_22_24_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b55a239af26949d0fdc9a9e2fe6b6faa.jpg","text":"TemporaryFile(/tmp/multipartBody6660778939348591753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333813714,"filename":"image_12072025_17_21_54_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/893cd403a43544069a7fbcf3e99be487.jpg","text":"TemporaryFile(/tmp/multipartBody6823648785988467547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333813714,"filename":"image_12072025_17_22_44_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903760","file1":"1371903759","file0":"1371903758","file4":"1371903764","file3":"1371903762"},"map_files_photo_id_array":[{"photo_id":"1371903760","filename":"file2"},{"photo_id":"1371903764","filename":"file4"},{"photo_id":"1371903759","filename":"file1"},{"photo_id":"1371903758","filename":"file0"},{"photo_id":"1371903762","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903760":["hashtag1","hashtag2"]},{"1371903762":["hashtag1","hashtag2"]},{"1371903759":["hashtag1","hashtag2"]},{"1371903764":["hashtag1","hashtag2"]},{"1371903758":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903760, 1371903762, 1371903759, 1371903764, 1371903758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.60336661338806 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:23:02.752033
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/58/image_10072025_16_59_04_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_53_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_44_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_34_10629.jpg', 2), ('/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_23_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_14_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/58/image_10072025_16_59_04_10647.jpg', '/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_53_9630.jpg', '/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_44_9613.jpg', '/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_34_10629.jpg', '/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_23_9620.jpg', '/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_14_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/58/image_10072025_16_59_04_10647.jpg
/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_53_9630.jpg
/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_44_9613.jpg
/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_34_10629.jpg
/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_23_9620.jpg
/home/nano/Desktop/images/10072025/16/58/image_10072025_16_58_14_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903772","1371903771","1371903774","1371903777","1371903776","1371903775"],"photo_ids_order":["1371903771","1371903772","1371903774","1371903775","1371903776","1371903777"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/277631c5cfd0d1d36b2a928545544ca5.jpg","text":"TemporaryFile(/tmp/multipartBody8269926489213485084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333846090,"filename":"image_10072025_16_58_53_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d71e1d48d7d7518edb0a9d2e98d917c3.jpg","text":"TemporaryFile(/tmp/multipartBody4628098068440531321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333846090,"filename":"image_10072025_16_59_04_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbf256c308ef91ea5c328d4ff44114c9.jpg","text":"TemporaryFile(/tmp/multipartBody5835293169872722871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333846090,"filename":"image_10072025_16_58_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c21c675f3555dd99c7883c3f9f7e5e44.jpg","text":"TemporaryFile(/tmp/multipartBody8897349024961559584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333846090,"filename":"image_10072025_16_58_14_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c1aca162d4d5cd4b4221b76ba4d6a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2332987379798596326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333846090,"filename":"image_10072025_16_58_23_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6cb823fc5961dfefd842b22c1998107.jpg","text":"TemporaryFile(/tmp/multipartBody1267505702101094194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333846090,"filename":"image_10072025_16_58_34_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903774","file1":"1371903772","file0":"1371903771","file4":"1371903776","file5":"1371903777","file3":"1371903775"},"map_files_photo_id_array":[{"photo_id":"1371903777","filename":"file5"},{"photo_id":"1371903774","filename":"file2"},{"photo_id":"1371903776","filename":"file4"},{"photo_id":"1371903772","filename":"file1"},{"photo_id":"1371903771","filename":"file0"},{"photo_id":"1371903775","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371903772":["hashtag1","hashtag2"]},{"1371903771":["hashtag1","hashtag2"]},{"1371903774":["hashtag1","hashtag2"]},{"1371903777":["hashtag1","hashtag2"]},{"1371903776":["hashtag1","hashtag2"]},{"1371903775":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371903772, 1371903771, 1371903774, 1371903777, 1371903776, 1371903775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18607234954834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:23:47.225728
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_44_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_33_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_24_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_14_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/17/22/image_12072025_17_23_03_9590.jpg', 2), ('/home/nano/Desktop/images/12072025/17/22/image_12072025_17_22_54_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_44_10666.jpg', '/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_33_9629.jpg', '/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_24_9661.jpg', '/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_14_10635.jpg', '/home/nano/Desktop/images/12072025/17/22/image_12072025_17_23_03_9590.jpg', '/home/nano/Desktop/images/12072025/17/22/image_12072025_17_22_54_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_44_10666.jpg
/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_33_9629.jpg
/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_24_9661.jpg
/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_14_10635.jpg
/home/nano/Desktop/images/12072025/17/22/image_12072025_17_23_03_9590.jpg
/home/nano/Desktop/images/12072025/17/22/image_12072025_17_22_54_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903790","1371903783","1371903785","1371903788","1371903787","1371903781"],"photo_ids_order":["1371903781","1371903783","1371903785","1371903787","1371903788","1371903790"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1db7f8d90b5209548707c0c63ea09c7d.jpg","text":"TemporaryFile(/tmp/multipartBody1885931719474427182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333889194,"filename":"image_12072025_17_22_54_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/799fe89e8726e05d06d5a2c538a776ef.jpg","text":"TemporaryFile(/tmp/multipartBody8781332225633651685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333889194,"filename":"image_12072025_17_23_33_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a89e618666817a211767bbe58aa789bf.jpg","text":"TemporaryFile(/tmp/multipartBody8285939785773098605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333889194,"filename":"image_12072025_17_23_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96c7d638b0ba4d59cb7b9f440a919719.jpg","text":"TemporaryFile(/tmp/multipartBody1733551204809224191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333889194,"filename":"image_12072025_17_23_03_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee35f0f692f9a5d005b8c93c54301820.jpg","text":"TemporaryFile(/tmp/multipartBody5852121834264850395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333889194,"filename":"image_12072025_17_23_14_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85199afa66815f53665f37e4baf29f8c.jpg","text":"TemporaryFile(/tmp/multipartBody1953848657160233384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333889194,"filename":"image_12072025_17_23_44_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903785","file1":"1371903783","file0":"1371903781","file4":"1371903788","file5":"1371903790","file3":"1371903787"},"map_files_photo_id_array":[{"photo_id":"1371903790","filename":"file5"},{"photo_id":"1371903785","filename":"file2"},{"photo_id":"1371903788","filename":"file4"},{"photo_id":"1371903783","filename":"file1"},{"photo_id":"1371903781","filename":"file0"},{"photo_id":"1371903787","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903790":["hashtag1","hashtag2"]},{"1371903783":["hashtag1","hashtag2"]},{"1371903785":["hashtag1","hashtag2"]},{"1371903788":["hashtag1","hashtag2"]},{"1371903787":["hashtag1","hashtag2"]},{"1371903781":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903790, 1371903783, 1371903785, 1371903788, 1371903787, 1371903781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87088108062744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:24:32.376628
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_44_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_34_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_24_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_14_10670.jpg', 2), ('/home/nano/Desktop/images/12072025/17/23/image_12072025_17_24_03_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_54_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_44_9631.jpg', '/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_34_10644.jpg', '/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_24_9651.jpg', '/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_14_10670.jpg', '/home/nano/Desktop/images/12072025/17/23/image_12072025_17_24_03_9669.jpg', '/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_54_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_44_9631.jpg
/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_34_10644.jpg
/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_24_9651.jpg
/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_14_10670.jpg
/home/nano/Desktop/images/12072025/17/23/image_12072025_17_24_03_9669.jpg
/home/nano/Desktop/images/12072025/17/23/image_12072025_17_23_54_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903792","1371903797","1371903794","1371903800","1371903793","1371903796"],"photo_ids_order":["1371903792","1371903793","1371903794","1371903796","1371903797","1371903800"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76c2b429fd0b2e2145915790f06862a7.jpg","text":"TemporaryFile(/tmp/multipartBody6283036995469226500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333934360,"filename":"image_12072025_17_24_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b66420eb8258a28925c7bb2e88a6b5f.jpg","text":"TemporaryFile(/tmp/multipartBody7729645761433733961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333934360,"filename":"image_12072025_17_24_03_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/958532d4c7a037887a3b6e45021f09c5.jpg","text":"TemporaryFile(/tmp/multipartBody2062451630542577882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333934360,"filename":"image_12072025_17_24_24_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e2833def220af827dcd665e6e798a21.jpg","text":"TemporaryFile(/tmp/multipartBody3814480603811375638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333934360,"filename":"image_12072025_17_23_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2d6400275ad5cccaf35b7ac838c6d7c.jpg","text":"TemporaryFile(/tmp/multipartBody5152071102547004538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333934360,"filename":"image_12072025_17_24_34_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36b18a1218e8be1b296b86f2f5d1ba9d.jpg","text":"TemporaryFile(/tmp/multipartBody3091230087396129107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333934360,"filename":"image_12072025_17_24_14_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903794","file1":"1371903793","file0":"1371903792","file4":"1371903797","file5":"1371903800","file3":"1371903796"},"map_files_photo_id_array":[{"photo_id":"1371903800","filename":"file5"},{"photo_id":"1371903794","filename":"file2"},{"photo_id":"1371903797","filename":"file4"},{"photo_id":"1371903793","filename":"file1"},{"photo_id":"1371903792","filename":"file0"},{"photo_id":"1371903796","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903792":["hashtag1","hashtag2"]},{"1371903797":["hashtag1","hashtag2"]},{"1371903794":["hashtag1","hashtag2"]},{"1371903800":["hashtag1","hashtag2"]},{"1371903793":["hashtag1","hashtag2"]},{"1371903796":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903792, 1371903797, 1371903794, 1371903800, 1371903793, 1371903796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.971272706985474 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:25:17.422294
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_44_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_33_9662.jpg', 2), ('/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_24_9752.jpg', 2), ('/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_14_10683.jpg', 2), ('/home/nano/Desktop/images/12072025/17/24/image_12072025_17_25_03_9741.jpg', 2), ('/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_54_9724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_44_10632.jpg', '/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_33_9662.jpg', '/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_24_9752.jpg', '/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_14_10683.jpg', '/home/nano/Desktop/images/12072025/17/24/image_12072025_17_25_03_9741.jpg', '/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_54_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_44_10632.jpg
/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_33_9662.jpg
/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_24_9752.jpg
/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_14_10683.jpg
/home/nano/Desktop/images/12072025/17/24/image_12072025_17_25_03_9741.jpg
/home/nano/Desktop/images/12072025/17/24/image_12072025_17_24_54_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903811","1371903814","1371903810","1371903813","1371903815","1371903812"],"photo_ids_order":["1371903810","1371903811","1371903812","1371903813","1371903814","1371903815"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6956a02e991084f311baae0531f761dc.jpg","text":"TemporaryFile(/tmp/multipartBody6455198427149660525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333979973,"filename":"image_12072025_17_25_33_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29806d83deb5ac53fdea3aa7d6a164fc.jpg","text":"TemporaryFile(/tmp/multipartBody5687352894148394377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333979973,"filename":"image_12072025_17_25_03_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/442cfe1dccfd41e00d0ddb6b08aab03b.jpg","text":"TemporaryFile(/tmp/multipartBody5169283106212353191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333979973,"filename":"image_12072025_17_25_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/edfa93dd6655c9d9318f49cb33be5596.jpg","text":"TemporaryFile(/tmp/multipartBody7027509317802985936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333979973,"filename":"image_12072025_17_25_14_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00851d72cf3605aec5ea23b9b1041122.jpg","text":"TemporaryFile(/tmp/multipartBody8541466494622470769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333979973,"filename":"image_12072025_17_24_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b432d11ac9c20cb98eeec3f995d8b7b5.jpg","text":"TemporaryFile(/tmp/multipartBody2042542182735093470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752333979973,"filename":"image_12072025_17_25_24_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903812","file1":"1371903811","file0":"1371903810","file4":"1371903814","file5":"1371903815","file3":"1371903813"},"map_files_photo_id_array":[{"photo_id":"1371903815","filename":"file5"},{"photo_id":"1371903812","filename":"file2"},{"photo_id":"1371903814","filename":"file4"},{"photo_id":"1371903811","filename":"file1"},{"photo_id":"1371903810","filename":"file0"},{"photo_id":"1371903813","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903811":["hashtag1","hashtag2"]},{"1371903814":["hashtag1","hashtag2"]},{"1371903810":["hashtag1","hashtag2"]},{"1371903813":["hashtag1","hashtag2"]},{"1371903815":["hashtag1","hashtag2"]},{"1371903812":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903811, 1371903814, 1371903810, 1371903813, 1371903815, 1371903812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90669870376587 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:26:03.131338
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/57/image_10072025_16_58_03_9612.jpg', 2), ('/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_54_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_44_10617.jpg', 2), ('/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_33_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_24_9617.jpg', 2), ('/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_14_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/57/image_10072025_16_58_03_9612.jpg', '/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_54_9624.jpg', '/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_44_10617.jpg', '/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_33_9615.jpg', '/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_24_9617.jpg', '/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_14_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/57/image_10072025_16_58_03_9612.jpg
/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_54_9624.jpg
/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_44_10617.jpg
/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_33_9615.jpg
/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_24_9617.jpg
/home/nano/Desktop/images/10072025/16/57/image_10072025_16_57_14_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903826","1371903823","1371903825","1371903828","1371903827","1371903821"],"photo_ids_order":["1371903821","1371903823","1371903825","1371903826","1371903827","1371903828"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b06082135e3f7235954290ab7a84430c.jpg","text":"TemporaryFile(/tmp/multipartBody2295842859759086170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334026419,"filename":"image_10072025_16_57_33_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d80a3798e10521cf06d6fde8ddbd172a.jpg","text":"TemporaryFile(/tmp/multipartBody2521185689966233209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334026419,"filename":"image_10072025_16_57_54_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21aa65e32e718c77a0ec3af78d1401b7.jpg","text":"TemporaryFile(/tmp/multipartBody3904181587259550032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334026419,"filename":"image_10072025_16_57_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54fc33bea8eccdbe0c82295ae51febf5.jpg","text":"TemporaryFile(/tmp/multipartBody4393003381027521676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334026419,"filename":"image_10072025_16_57_14_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3881ffd401d650083d0fb17733c6e344.jpg","text":"TemporaryFile(/tmp/multipartBody1659177064389016338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334026419,"filename":"image_10072025_16_57_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8dc24a10313a004ae78ced927935840a.jpg","text":"TemporaryFile(/tmp/multipartBody5123058756725519592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334026419,"filename":"image_10072025_16_58_03_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903825","file1":"1371903823","file0":"1371903821","file4":"1371903827","file5":"1371903828","file3":"1371903826"},"map_files_photo_id_array":[{"photo_id":"1371903828","filename":"file5"},{"photo_id":"1371903825","filename":"file2"},{"photo_id":"1371903827","filename":"file4"},{"photo_id":"1371903823","filename":"file1"},{"photo_id":"1371903821","filename":"file0"},{"photo_id":"1371903826","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371903826":["hashtag1","hashtag2"]},{"1371903823":["hashtag1","hashtag2"]},{"1371903825":["hashtag1","hashtag2"]},{"1371903828":["hashtag1","hashtag2"]},{"1371903827":["hashtag1","hashtag2"]},{"1371903821":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371903826, 1371903823, 1371903825, 1371903828, 1371903827, 1371903821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99854564666748 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:26:47.527187
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_44_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_33_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_24_9704.jpg', 2), ('/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_14_10684.jpg', 2), ('/home/nano/Desktop/images/12072025/17/25/image_12072025_17_26_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_54_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_44_10665.jpg', '/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_33_9651.jpg', '/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_24_9704.jpg', '/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_14_10684.jpg', '/home/nano/Desktop/images/12072025/17/25/image_12072025_17_26_03_9642.jpg', '/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_54_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_44_10665.jpg
/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_33_9651.jpg
/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_24_9704.jpg
/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_14_10684.jpg
/home/nano/Desktop/images/12072025/17/25/image_12072025_17_26_03_9642.jpg
/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_54_9709.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9615466594696045 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:27:03.197039
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_44_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_33_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_24_9704.jpg', 2), ('/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_14_10684.jpg', 2), ('/home/nano/Desktop/images/12072025/17/25/image_12072025_17_26_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_54_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_44_10665.jpg', '/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_33_9651.jpg', '/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_24_9704.jpg', '/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_14_10684.jpg', '/home/nano/Desktop/images/12072025/17/25/image_12072025_17_26_03_9642.jpg', '/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_54_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_44_10665.jpg
/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_33_9651.jpg
/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_24_9704.jpg
/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_14_10684.jpg
/home/nano/Desktop/images/12072025/17/25/image_12072025_17_26_03_9642.jpg
/home/nano/Desktop/images/12072025/17/25/image_12072025_17_25_54_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903844","1371903847","1371903841","1371903849","1371903846","1371903848"],"photo_ids_order":["1371903841","1371903844","1371903846","1371903847","1371903848","1371903849"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93a9f33adacf4fca3d4750ec793e58b9.jpg","text":"TemporaryFile(/tmp/multipartBody6865984972291655029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334085500,"filename":"image_12072025_17_26_33_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d54dbc3ad89ba04827c622a1f6fe8531.jpg","text":"TemporaryFile(/tmp/multipartBody4632467507690683517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334085500,"filename":"image_12072025_17_26_14_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59db6cfeef3a69389c8af69818c8db3c.jpg","text":"TemporaryFile(/tmp/multipartBody2167850488472141338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334085500,"filename":"image_12072025_17_26_44_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7001af702c86dc108bc30b52515b877d.jpg","text":"TemporaryFile(/tmp/multipartBody4672349686969501703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334085500,"filename":"image_12072025_17_25_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/140f3d1f4c88d739b0e902cad6b74085.jpg","text":"TemporaryFile(/tmp/multipartBody3152275782203247931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334085500,"filename":"image_12072025_17_26_24_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fa616294efffaf96784f620711e40ec.jpg","text":"TemporaryFile(/tmp/multipartBody4416692063337586585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334085500,"filename":"image_12072025_17_26_03_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903846","file1":"1371903844","file0":"1371903841","file4":"1371903848","file5":"1371903849","file3":"1371903847"},"map_files_photo_id_array":[{"photo_id":"1371903849","filename":"file5"},{"photo_id":"1371903846","filename":"file2"},{"photo_id":"1371903848","filename":"file4"},{"photo_id":"1371903844","filename":"file1"},{"photo_id":"1371903841","filename":"file0"},{"photo_id":"1371903847","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903844":["hashtag1","hashtag2"]},{"1371903847":["hashtag1","hashtag2"]},{"1371903841":["hashtag1","hashtag2"]},{"1371903849":["hashtag1","hashtag2"]},{"1371903846":["hashtag1","hashtag2"]},{"1371903848":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903844, 1371903847, 1371903841, 1371903849, 1371903846, 1371903848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94809055328369 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:27:47.656279
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_44_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_24_9698.jpg', 2), ('/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_14_10685.jpg', 2), ('/home/nano/Desktop/images/12072025/17/26/image_12072025_17_27_03_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_54_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_44_10645.jpg', '/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_33_9638.jpg', '/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_24_9698.jpg', '/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_14_10685.jpg', '/home/nano/Desktop/images/12072025/17/26/image_12072025_17_27_03_9628.jpg', '/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_44_10645.jpg
/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_33_9638.jpg
/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_24_9698.jpg
/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_14_10685.jpg
/home/nano/Desktop/images/12072025/17/26/image_12072025_17_27_03_9628.jpg
/home/nano/Desktop/images/12072025/17/26/image_12072025_17_26_54_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903859","1371903867","1371903861","1371903855","1371903864","1371903858"],"photo_ids_order":["1371903855","1371903858","1371903859","1371903861","1371903864","1371903867"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b39ef86790b12c547240471ba5e7ce86.jpg","text":"TemporaryFile(/tmp/multipartBody7325294829347043294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334129592,"filename":"image_12072025_17_27_24_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/372b7ce66adc592fa5084993ab4f7b30.jpg","text":"TemporaryFile(/tmp/multipartBody1353673352651488003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334129592,"filename":"image_12072025_17_26_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33e8f32802eb6d3723906c89c316525a.jpg","text":"TemporaryFile(/tmp/multipartBody6469150067784321550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334129592,"filename":"image_12072025_17_27_14_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06bb9afe4d049923a452759ab6e5477a.jpg","text":"TemporaryFile(/tmp/multipartBody5102950163905551224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334129592,"filename":"image_12072025_17_27_44_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52a9e21df36574879e9a16cfe9099234.jpg","text":"TemporaryFile(/tmp/multipartBody7703788412744147067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334129592,"filename":"image_12072025_17_27_03_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68c74818d004f65e77394c8ea39b1be3.jpg","text":"TemporaryFile(/tmp/multipartBody5834756970764402090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334129592,"filename":"image_12072025_17_27_33_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903859","file1":"1371903858","file0":"1371903855","file4":"1371903864","file5":"1371903867","file3":"1371903861"},"map_files_photo_id_array":[{"photo_id":"1371903867","filename":"file5"},{"photo_id":"1371903859","filename":"file2"},{"photo_id":"1371903864","filename":"file4"},{"photo_id":"1371903858","filename":"file1"},{"photo_id":"1371903855","filename":"file0"},{"photo_id":"1371903861","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903859":["hashtag1","hashtag2"]},{"1371903867":["hashtag1","hashtag2"]},{"1371903861":["hashtag1","hashtag2"]},{"1371903855":["hashtag1","hashtag2"]},{"1371903864":["hashtag1","hashtag2"]},{"1371903858":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903859, 1371903867, 1371903861, 1371903855, 1371903864, 1371903858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.859761238098145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:28:32.829393
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_44_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_24_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_14_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/17/27/image_12072025_17_28_03_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_54_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_44_9613.jpg', '/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_34_10649.jpg', '/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_24_9614.jpg', '/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_14_10643.jpg', '/home/nano/Desktop/images/12072025/17/27/image_12072025_17_28_03_9625.jpg', '/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_44_9613.jpg
/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_34_10649.jpg
/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_24_9614.jpg
/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_14_10643.jpg
/home/nano/Desktop/images/12072025/17/27/image_12072025_17_28_03_9625.jpg
/home/nano/Desktop/images/12072025/17/27/image_12072025_17_27_54_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903883","1371903873","1371903876","1371903881","1371903875","1371903880"],"photo_ids_order":["1371903873","1371903875","1371903876","1371903880","1371903881","1371903883"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01803dc2a5ce9e1c4941d0e175a59d28.jpg","text":"TemporaryFile(/tmp/multipartBody911415433512148049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334174825,"filename":"image_12072025_17_27_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36a0cf40eb5606f38faad8de3f24e5fc.jpg","text":"TemporaryFile(/tmp/multipartBody1406608374463800263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334174825,"filename":"image_12072025_17_28_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c81d818fb8001148405f0803f7f7df0.jpg","text":"TemporaryFile(/tmp/multipartBody782794915934147149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334174825,"filename":"image_12072025_17_28_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c0493389945b81922c4662920015986.jpg","text":"TemporaryFile(/tmp/multipartBody5801195068904681603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334174825,"filename":"image_12072025_17_28_03_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4bac7cbf9a8e81d655328984da6b5a5.jpg","text":"TemporaryFile(/tmp/multipartBody8151977035757122459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334174825,"filename":"image_12072025_17_28_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3a8f13d26bf31b66728499720d40eb7.jpg","text":"TemporaryFile(/tmp/multipartBody1828167896106808332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334174825,"filename":"image_12072025_17_28_14_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903876","file1":"1371903875","file0":"1371903873","file4":"1371903881","file5":"1371903883","file3":"1371903880"},"map_files_photo_id_array":[{"photo_id":"1371903883","filename":"file5"},{"photo_id":"1371903876","filename":"file2"},{"photo_id":"1371903881","filename":"file4"},{"photo_id":"1371903875","filename":"file1"},{"photo_id":"1371903873","filename":"file0"},{"photo_id":"1371903880","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903883":["hashtag1","hashtag2"]},{"1371903873":["hashtag1","hashtag2"]},{"1371903876":["hashtag1","hashtag2"]},{"1371903881":["hashtag1","hashtag2"]},{"1371903875":["hashtag1","hashtag2"]},{"1371903880":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903883, 1371903873, 1371903876, 1371903881, 1371903875, 1371903880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.596412420272827 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:29:17.006885
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_44_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_34_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_23_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/17/28/image_12072025_17_29_04_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_53_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_44_9611.jpg', '/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_34_10612.jpg', '/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_23_9614.jpg', '/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_14_9631.jpg', '/home/nano/Desktop/images/12072025/17/28/image_12072025_17_29_04_10632.jpg', '/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_53_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_44_9611.jpg
/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_34_10612.jpg
/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_23_9614.jpg
/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_14_9631.jpg
/home/nano/Desktop/images/12072025/17/28/image_12072025_17_29_04_10632.jpg
/home/nano/Desktop/images/12072025/17/28/image_12072025_17_28_53_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903894","1371903890","1371903893","1371903892","1371903895","1371903889"],"photo_ids_order":["1371903889","1371903890","1371903892","1371903893","1371903894","1371903895"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0457dc0de4189edb52ca8aee7f4688ef.jpg","text":"TemporaryFile(/tmp/multipartBody8506283842511942000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334218733,"filename":"image_12072025_17_29_04_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8876ec44a181a24ed9bb4d4a1a54c33e.jpg","text":"TemporaryFile(/tmp/multipartBody6517927690388451836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334218733,"filename":"image_12072025_17_29_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/415aae0e68c3ea2332cf17ebd998290a.jpg","text":"TemporaryFile(/tmp/multipartBody466554620695610398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334218733,"filename":"image_12072025_17_29_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/acb877d9fd2f100982a7873001840310.jpg","text":"TemporaryFile(/tmp/multipartBody2019940425991442101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334218733,"filename":"image_12072025_17_29_23_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dcaa1eeaa8b0054cd3cbff765b2eff66.jpg","text":"TemporaryFile(/tmp/multipartBody6358521533633377537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334218733,"filename":"image_12072025_17_28_53_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c13d431a5202531c50527439415bc3c1.jpg","text":"TemporaryFile(/tmp/multipartBody8565160171470198430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334218733,"filename":"image_12072025_17_29_44_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903892","file1":"1371903890","file0":"1371903889","file4":"1371903894","file5":"1371903895","file3":"1371903893"},"map_files_photo_id_array":[{"photo_id":"1371903895","filename":"file5"},{"photo_id":"1371903892","filename":"file2"},{"photo_id":"1371903894","filename":"file4"},{"photo_id":"1371903890","filename":"file1"},{"photo_id":"1371903889","filename":"file0"},{"photo_id":"1371903893","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903894":["hashtag1","hashtag2"]},{"1371903890":["hashtag1","hashtag2"]},{"1371903893":["hashtag1","hashtag2"]},{"1371903892":["hashtag1","hashtag2"]},{"1371903895":["hashtag1","hashtag2"]},{"1371903889":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903894, 1371903890, 1371903893, 1371903892, 1371903895, 1371903889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73652410507202 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:30:02.573197
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/56/image_10072025_16_57_03_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_54_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_43_9609.jpg', 2), ('/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_34_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_24_10616.jpg', 2), ('/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_13_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/56/image_10072025_16_57_03_9635.jpg', '/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_54_10637.jpg', '/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_43_9609.jpg', '/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_34_9614.jpg', '/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_24_10616.jpg', '/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_13_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/56/image_10072025_16_57_03_9635.jpg
/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_54_10637.jpg
/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_43_9609.jpg
/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_34_9614.jpg
/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_24_10616.jpg
/home/nano/Desktop/images/10072025/16/56/image_10072025_16_56_13_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903922","1371903925","1371903915","1371903920","1371903923","1371903917"],"photo_ids_order":["1371903915","1371903917","1371903920","1371903922","1371903923","1371903925"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ace4f9290d03c23c2bd241319c0f6711.jpg","text":"TemporaryFile(/tmp/multipartBody5134029727348659941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334265965,"filename":"image_10072025_16_56_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e561c1eba10592075c71e050b2efa41.jpg","text":"TemporaryFile(/tmp/multipartBody3168789529833028727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334265965,"filename":"image_10072025_16_56_13_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9920cab98bf882f7359e67d9990750e0.jpg","text":"TemporaryFile(/tmp/multipartBody3617454865086183256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334265965,"filename":"image_10072025_16_57_03_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/188e1113b50b09b1c82e3f566f5bc680.jpg","text":"TemporaryFile(/tmp/multipartBody4724868296496683414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334265965,"filename":"image_10072025_16_56_43_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52918690698b551e525c7cbc6e2fb48c.jpg","text":"TemporaryFile(/tmp/multipartBody7541842555638849813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334265965,"filename":"image_10072025_16_56_24_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/765df8f7074428d2d0f2ffe4e49c7ac6.jpg","text":"TemporaryFile(/tmp/multipartBody7558512711522759797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334265965,"filename":"image_10072025_16_56_54_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903920","file1":"1371903917","file0":"1371903915","file4":"1371903923","file5":"1371903925","file3":"1371903922"},"map_files_photo_id_array":[{"photo_id":"1371903925","filename":"file5"},{"photo_id":"1371903920","filename":"file2"},{"photo_id":"1371903923","filename":"file4"},{"photo_id":"1371903917","filename":"file1"},{"photo_id":"1371903915","filename":"file0"},{"photo_id":"1371903922","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371903922":["hashtag1","hashtag2"]},{"1371903925":["hashtag1","hashtag2"]},{"1371903915":["hashtag1","hashtag2"]},{"1371903920":["hashtag1","hashtag2"]},{"1371903923":["hashtag1","hashtag2"]},{"1371903917":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371903922, 1371903925, 1371903915, 1371903920, 1371903923, 1371903917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.140910625457764 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:30:46.956503
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_43_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_34_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_24_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_13_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/17/29/image_12072025_17_30_04_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_54_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_43_9613.jpg', '/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_34_9634.jpg', '/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_24_10635.jpg', '/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_13_9631.jpg', '/home/nano/Desktop/images/12072025/17/29/image_12072025_17_30_04_9618.jpg', '/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_54_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_43_9613.jpg
/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_34_9634.jpg
/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_24_10635.jpg
/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_13_9631.jpg
/home/nano/Desktop/images/12072025/17/29/image_12072025_17_30_04_9618.jpg
/home/nano/Desktop/images/12072025/17/29/image_12072025_17_29_54_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903928","1371903933","1371903930","1371903932","1371903935","1371903938"],"photo_ids_order":["1371903928","1371903930","1371903932","1371903933","1371903935","1371903938"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f730ac047dea3dd0ef7bf5184ed6445.jpg","text":"TemporaryFile(/tmp/multipartBody2704835325917773993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334308735,"filename":"image_12072025_17_30_43_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96c7603c00dc31a861a920b4a7c6b5a9.jpg","text":"TemporaryFile(/tmp/multipartBody8341884103433178256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334308735,"filename":"image_12072025_17_30_13_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e19e9ebadc1e6106a559584ec62a297.jpg","text":"TemporaryFile(/tmp/multipartBody4485687491242475734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334308735,"filename":"image_12072025_17_30_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1eda7d32be3b85fbe7bae903b3102118.jpg","text":"TemporaryFile(/tmp/multipartBody472542481577784995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334308735,"filename":"image_12072025_17_30_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1354f585e9dc5bde37c48bd833129af.jpg","text":"TemporaryFile(/tmp/multipartBody5375227462309858979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334308735,"filename":"image_12072025_17_30_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bbc5b0cd12f8d1ef4d3fd5cff3d1cb90.jpg","text":"TemporaryFile(/tmp/multipartBody724715518294279049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334308735,"filename":"image_12072025_17_29_54_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903932","file1":"1371903930","file0":"1371903928","file4":"1371903935","file5":"1371903938","file3":"1371903933"},"map_files_photo_id_array":[{"photo_id":"1371903938","filename":"file5"},{"photo_id":"1371903932","filename":"file2"},{"photo_id":"1371903935","filename":"file4"},{"photo_id":"1371903930","filename":"file1"},{"photo_id":"1371903928","filename":"file0"},{"photo_id":"1371903933","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903928":["hashtag1","hashtag2"]},{"1371903933":["hashtag1","hashtag2"]},{"1371903930":["hashtag1","hashtag2"]},{"1371903932":["hashtag1","hashtag2"]},{"1371903935":["hashtag1","hashtag2"]},{"1371903938":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903928, 1371903933, 1371903930, 1371903932, 1371903935, 1371903938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.724088191986084 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:31:32.036456
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_44_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_33_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_24_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_14_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/17/30/image_12072025_17_31_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_54_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_44_10613.jpg', '/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_33_9619.jpg', '/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_24_9622.jpg', '/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_14_10640.jpg', '/home/nano/Desktop/images/12072025/17/30/image_12072025_17_31_04_9626.jpg', '/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_54_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_44_10613.jpg
/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_33_9619.jpg
/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_24_9622.jpg
/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_14_10640.jpg
/home/nano/Desktop/images/12072025/17/30/image_12072025_17_31_04_9626.jpg
/home/nano/Desktop/images/12072025/17/30/image_12072025_17_30_54_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903949","1371903951","1371903954","1371903957","1371903947","1371903956"],"photo_ids_order":["1371903947","1371903949","1371903951","1371903954","1371903956","1371903957"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee85514cb60654ae3a71ec50459b7ad5.jpg","text":"TemporaryFile(/tmp/multipartBody9015863008765560653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334353947,"filename":"image_12072025_17_31_33_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8fbb8cb570088656c68d204ca60b84d.jpg","text":"TemporaryFile(/tmp/multipartBody6990597592041504326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334353947,"filename":"image_12072025_17_31_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/853ada921c8ec512139d8e259243cc68.jpg","text":"TemporaryFile(/tmp/multipartBody1576763157875973015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334353947,"filename":"image_12072025_17_31_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1bb59eaf380bdd012fd99dd11e82b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8236984383012086906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334353947,"filename":"image_12072025_17_30_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c88fde173aea64caeafc54b4db5351a.jpg","text":"TemporaryFile(/tmp/multipartBody7559437732463021356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334353947,"filename":"image_12072025_17_31_44_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c607dfa276b0d3f3995e53ad1df9431.jpg","text":"TemporaryFile(/tmp/multipartBody753332996144298186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334353947,"filename":"image_12072025_17_31_04_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903951","file1":"1371903949","file0":"1371903947","file4":"1371903956","file5":"1371903957","file3":"1371903954"},"map_files_photo_id_array":[{"photo_id":"1371903957","filename":"file5"},{"photo_id":"1371903951","filename":"file2"},{"photo_id":"1371903956","filename":"file4"},{"photo_id":"1371903949","filename":"file1"},{"photo_id":"1371903947","filename":"file0"},{"photo_id":"1371903954","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903949":["hashtag1","hashtag2"]},{"1371903951":["hashtag1","hashtag2"]},{"1371903954":["hashtag1","hashtag2"]},{"1371903957":["hashtag1","hashtag2"]},{"1371903947":["hashtag1","hashtag2"]},{"1371903956":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903949, 1371903951, 1371903954, 1371903957, 1371903947, 1371903956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.433740615844727 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:32:17.214838
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_44_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_34_10682.jpg', 2), ('/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_24_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_14_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/17/31/image_12072025_17_32_03_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_44_9642.jpg', '/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_34_10682.jpg', '/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_24_9625.jpg', '/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_14_10636.jpg', '/home/nano/Desktop/images/12072025/17/31/image_12072025_17_32_03_9627.jpg', '/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_44_9642.jpg
/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_34_10682.jpg
/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_24_9625.jpg
/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_14_10636.jpg
/home/nano/Desktop/images/12072025/17/31/image_12072025_17_32_03_9627.jpg
/home/nano/Desktop/images/12072025/17/31/image_12072025_17_31_54_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903970","1371903971","1371903965","1371903974","1371903968","1371903973"],"photo_ids_order":["1371903965","1371903968","1371903970","1371903971","1371903973","1371903974"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3b6d5a2fa76e3ec94c0a4382a06593f.jpg","text":"TemporaryFile(/tmp/multipartBody3819685427675466007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334399398,"filename":"image_12072025_17_32_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a41086a98ea94f233537ea93caa76d06.jpg","text":"TemporaryFile(/tmp/multipartBody7670699268731131217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334399398,"filename":"image_12072025_17_32_14_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9c1e35b6d19f54c2640159eb1e49526.jpg","text":"TemporaryFile(/tmp/multipartBody2466263985546586033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334399398,"filename":"image_12072025_17_32_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2472d1e8321bb496901c77468dfacee.jpg","text":"TemporaryFile(/tmp/multipartBody3394532293076175740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334399398,"filename":"image_12072025_17_31_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3a2b917dc5b9840c29684f439af1d61.jpg","text":"TemporaryFile(/tmp/multipartBody9103843581759888806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334399398,"filename":"image_12072025_17_32_34_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5f2a7012499aaacdf8fbf3f49d0373f.jpg","text":"TemporaryFile(/tmp/multipartBody232479514509023126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334399398,"filename":"image_12072025_17_32_03_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903970","file1":"1371903968","file0":"1371903965","file4":"1371903973","file5":"1371903974","file3":"1371903971"},"map_files_photo_id_array":[{"photo_id":"1371903974","filename":"file5"},{"photo_id":"1371903970","filename":"file2"},{"photo_id":"1371903973","filename":"file4"},{"photo_id":"1371903968","filename":"file1"},{"photo_id":"1371903965","filename":"file0"},{"photo_id":"1371903971","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371903970":["hashtag1","hashtag2"]},{"1371903971":["hashtag1","hashtag2"]},{"1371903965":["hashtag1","hashtag2"]},{"1371903974":["hashtag1","hashtag2"]},{"1371903968":["hashtag1","hashtag2"]},{"1371903973":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371903970, 1371903971, 1371903965, 1371903974, 1371903968, 1371903973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.99115252494812 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:33:02.978908
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/55/image_10072025_16_56_04_9602.jpg', 2), ('/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_54_10623.jpg', 2), ('/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_43_9617.jpg', 2), ('/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_34_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_23_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_14_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/55/image_10072025_16_56_04_9602.jpg', '/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_54_10623.jpg', '/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_43_9617.jpg', '/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_34_10632.jpg', '/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_23_9626.jpg', '/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_14_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/55/image_10072025_16_56_04_9602.jpg
/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_54_10623.jpg
/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_43_9617.jpg
/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_34_10632.jpg
/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_23_9626.jpg
/home/nano/Desktop/images/10072025/16/55/image_10072025_16_55_14_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371903979","1371903990","1371903984","1371903981","1371903986","1371903988"],"photo_ids_order":["1371903979","1371903981","1371903984","1371903986","1371903988","1371903990"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fa83631eac69c1bae4499b84cefbe93.jpg","text":"TemporaryFile(/tmp/multipartBody4164329257905289570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334446287,"filename":"image_10072025_16_56_04_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e943969bb101f0e7c05981ce702c859.jpg","text":"TemporaryFile(/tmp/multipartBody4375760922562098064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334446287,"filename":"image_10072025_16_55_14_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7803a5cc569b9204ad2cc6b206f58a3.jpg","text":"TemporaryFile(/tmp/multipartBody2156068620791263445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334446287,"filename":"image_10072025_16_55_43_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/548038f00cdf5b47eeef14ed9c692f15.jpg","text":"TemporaryFile(/tmp/multipartBody7790703772823714431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334446287,"filename":"image_10072025_16_55_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac6b665ee60d481aafcb4c958bac8f15.jpg","text":"TemporaryFile(/tmp/multipartBody8345185740216622864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334446287,"filename":"image_10072025_16_55_34_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d3bc199af3f2b7bb010a77412a7b364.jpg","text":"TemporaryFile(/tmp/multipartBody10935073916835076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334446287,"filename":"image_10072025_16_55_23_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371903984","file1":"1371903981","file0":"1371903979","file4":"1371903988","file5":"1371903990","file3":"1371903986"},"map_files_photo_id_array":[{"photo_id":"1371903990","filename":"file5"},{"photo_id":"1371903984","filename":"file2"},{"photo_id":"1371903988","filename":"file4"},{"photo_id":"1371903981","filename":"file1"},{"photo_id":"1371903979","filename":"file0"},{"photo_id":"1371903986","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371903979":["hashtag1","hashtag2"]},{"1371903990":["hashtag1","hashtag2"]},{"1371903984":["hashtag1","hashtag2"]},{"1371903981":["hashtag1","hashtag2"]},{"1371903986":["hashtag1","hashtag2"]},{"1371903988":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371903979, 1371903990, 1371903984, 1371903981, 1371903986, 1371903988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28310680389404 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:33:47.308635
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_44_10836.jpg', 2), ('/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_33_9824.jpg', 2), ('/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_24_9684.jpg', 2), ('/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_14_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/17/32/image_12072025_17_33_04_10691.jpg', 2), ('/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_54_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_44_10836.jpg', '/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_33_9824.jpg', '/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_24_9684.jpg', '/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_14_9661.jpg', '/home/nano/Desktop/images/12072025/17/32/image_12072025_17_33_04_10691.jpg', '/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_44_10836.jpg
/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_33_9824.jpg
/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_24_9684.jpg
/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_14_9661.jpg
/home/nano/Desktop/images/12072025/17/32/image_12072025_17_33_04_10691.jpg
/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_54_9653.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.146735668182373 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:34:03.144332
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_44_10836.jpg', 2), ('/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_33_9824.jpg', 2), ('/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_24_9684.jpg', 2), ('/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_14_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/17/32/image_12072025_17_33_04_10691.jpg', 2), ('/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_54_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_44_10836.jpg', '/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_33_9824.jpg', '/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_24_9684.jpg', '/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_14_9661.jpg', '/home/nano/Desktop/images/12072025/17/32/image_12072025_17_33_04_10691.jpg', '/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_44_10836.jpg
/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_33_9824.jpg
/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_24_9684.jpg
/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_14_9661.jpg
/home/nano/Desktop/images/12072025/17/32/image_12072025_17_33_04_10691.jpg
/home/nano/Desktop/images/12072025/17/32/image_12072025_17_32_54_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371904006","1371904009","1371904011","1371904013","1371904007","1371904010"],"photo_ids_order":["1371904006","1371904007","1371904009","1371904010","1371904011","1371904013"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b890414eb2d0cafe25188c75c684a77.jpg","text":"TemporaryFile(/tmp/multipartBody7549446963605079102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334505715,"filename":"image_12072025_17_33_44_10836.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/305748d3524459a7bd8770b3ae1b48ff.jpg","text":"TemporaryFile(/tmp/multipartBody4327858863160087735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334505715,"filename":"image_12072025_17_33_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7d5287d72d3785c1230734166da3d98.jpg","text":"TemporaryFile(/tmp/multipartBody426516210581887615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334505715,"filename":"image_12072025_17_33_04_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3246f6078b1107dfc7b28abd000c25f0.jpg","text":"TemporaryFile(/tmp/multipartBody7333238038871206178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334505715,"filename":"image_12072025_17_32_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99e2da4a0136bd5a76484e816c174c49.jpg","text":"TemporaryFile(/tmp/multipartBody7262756494078466020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334505715,"filename":"image_12072025_17_33_33_9824.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dfb54176f9800e247b14e0a832f7834e.jpg","text":"TemporaryFile(/tmp/multipartBody2709176404669167293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334505715,"filename":"image_12072025_17_33_14_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371904009","file1":"1371904007","file0":"1371904006","file4":"1371904011","file5":"1371904013","file3":"1371904010"},"map_files_photo_id_array":[{"photo_id":"1371904013","filename":"file5"},{"photo_id":"1371904009","filename":"file2"},{"photo_id":"1371904011","filename":"file4"},{"photo_id":"1371904007","filename":"file1"},{"photo_id":"1371904006","filename":"file0"},{"photo_id":"1371904010","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371904006":["hashtag1","hashtag2"]},{"1371904009":["hashtag1","hashtag2"]},{"1371904011":["hashtag1","hashtag2"]},{"1371904013":["hashtag1","hashtag2"]},{"1371904007":["hashtag1","hashtag2"]},{"1371904010":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371904006, 1371904009, 1371904011, 1371904013, 1371904007, 1371904010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63627910614014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:34:47.473428
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_43_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_34_9685.jpg', 2), ('/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_24_10737.jpg', 2), ('/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_13_9699.jpg', 2), ('/home/nano/Desktop/images/12072025/17/33/image_12072025_17_34_04_9809.jpg', 2), ('/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_54_9685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_43_9601.jpg', '/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_34_9685.jpg', '/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_24_10737.jpg', '/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_13_9699.jpg', '/home/nano/Desktop/images/12072025/17/33/image_12072025_17_34_04_9809.jpg', '/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_54_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_43_9601.jpg
/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_34_9685.jpg
/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_24_10737.jpg
/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_13_9699.jpg
/home/nano/Desktop/images/12072025/17/33/image_12072025_17_34_04_9809.jpg
/home/nano/Desktop/images/12072025/17/33/image_12072025_17_33_54_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371904018","1371904029","1371904020","1371904026","1371904025","1371904022"],"photo_ids_order":["1371904018","1371904020","1371904022","1371904025","1371904026","1371904029"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2eec233e3c147118308b512c95f57ead.jpg","text":"TemporaryFile(/tmp/multipartBody1756524597086455485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334549548,"filename":"image_12072025_17_34_43_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/532de95ece70953a3988d8dc4f2e7f83.jpg","text":"TemporaryFile(/tmp/multipartBody284609753661233325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334549548,"filename":"image_12072025_17_33_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79755265e1eb426b57097da7b776bb99.jpg","text":"TemporaryFile(/tmp/multipartBody5359689790410373876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334549548,"filename":"image_12072025_17_34_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7444bf1e157fcad9f7c5a6642d1b2d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1014442468280449614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334549548,"filename":"image_12072025_17_34_04_9809.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25e2c6d39e35b5d4cec793d174754cf8.jpg","text":"TemporaryFile(/tmp/multipartBody2588239228867410183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334549548,"filename":"image_12072025_17_34_13_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4ca2b44691d9c1790c9119a2e49e8cb.jpg","text":"TemporaryFile(/tmp/multipartBody7910535165464777070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334549548,"filename":"image_12072025_17_34_24_10737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371904022","file1":"1371904020","file0":"1371904018","file4":"1371904026","file5":"1371904029","file3":"1371904025"},"map_files_photo_id_array":[{"photo_id":"1371904029","filename":"file5"},{"photo_id":"1371904022","filename":"file2"},{"photo_id":"1371904026","filename":"file4"},{"photo_id":"1371904020","filename":"file1"},{"photo_id":"1371904018","filename":"file0"},{"photo_id":"1371904025","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371904018":["hashtag1","hashtag2"]},{"1371904029":["hashtag1","hashtag2"]},{"1371904020":["hashtag1","hashtag2"]},{"1371904026":["hashtag1","hashtag2"]},{"1371904025":["hashtag1","hashtag2"]},{"1371904022":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371904018, 1371904029, 1371904020, 1371904026, 1371904025, 1371904022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.403489589691162 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:35:32.604883
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_44_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_34_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_24_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_13_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/17/34/image_12072025_17_35_04_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_54_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_44_10607.jpg', '/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_34_9608.jpg', '/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_24_10614.jpg', '/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_13_9631.jpg', '/home/nano/Desktop/images/12072025/17/34/image_12072025_17_35_04_9634.jpg', '/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_54_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_44_10607.jpg
/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_34_9608.jpg
/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_24_10614.jpg
/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_13_9631.jpg
/home/nano/Desktop/images/12072025/17/34/image_12072025_17_35_04_9634.jpg
/home/nano/Desktop/images/12072025/17/34/image_12072025_17_34_54_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371904039","1371904033","1371904032","1371904038","1371904031","1371904036"],"photo_ids_order":["1371904031","1371904032","1371904033","1371904036","1371904038","1371904039"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df90190db5869d987c402a3c36ac4509.jpg","text":"TemporaryFile(/tmp/multipartBody6117041736717986360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334594299,"filename":"image_12072025_17_34_54_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a552f1af373eb46755e57032eef335e.jpg","text":"TemporaryFile(/tmp/multipartBody6994104777238562760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334594299,"filename":"image_12072025_17_35_24_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e5fb04de7b91f0a72c5341d981f79ff.jpg","text":"TemporaryFile(/tmp/multipartBody6377383204285917973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334594299,"filename":"image_12072025_17_35_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25e4835abe8d4f201ccf422c48ca814d.jpg","text":"TemporaryFile(/tmp/multipartBody6699997357718381256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334594299,"filename":"image_12072025_17_35_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba0df8a58ef67e37ad1aa544e91bb050.jpg","text":"TemporaryFile(/tmp/multipartBody3577138296926231738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334594299,"filename":"image_12072025_17_35_44_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a17b9c6867e77e83a0a85f436d30d8f3.jpg","text":"TemporaryFile(/tmp/multipartBody5979428828365828890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334594299,"filename":"image_12072025_17_35_13_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371904033","file1":"1371904032","file0":"1371904031","file4":"1371904038","file5":"1371904039","file3":"1371904036"},"map_files_photo_id_array":[{"photo_id":"1371904039","filename":"file5"},{"photo_id":"1371904033","filename":"file2"},{"photo_id":"1371904038","filename":"file4"},{"photo_id":"1371904032","filename":"file1"},{"photo_id":"1371904031","filename":"file0"},{"photo_id":"1371904036","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371904039":["hashtag1","hashtag2"]},{"1371904033":["hashtag1","hashtag2"]},{"1371904032":["hashtag1","hashtag2"]},{"1371904038":["hashtag1","hashtag2"]},{"1371904031":["hashtag1","hashtag2"]},{"1371904036":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371904039, 1371904033, 1371904032, 1371904038, 1371904031, 1371904036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.69757056236267 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:36:17.676997
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/36/image_12072025_17_36_24_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/17/36/image_12072025_17_36_14_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/17/35/image_12072025_17_36_03_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_54_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/36/image_12072025_17_36_24_9622.jpg', '/home/nano/Desktop/images/12072025/17/36/image_12072025_17_36_14_10629.jpg', '/home/nano/Desktop/images/12072025/17/35/image_12072025_17_36_03_9623.jpg', '/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_54_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/36/image_12072025_17_36_24_9622.jpg
/home/nano/Desktop/images/12072025/17/36/image_12072025_17_36_14_10629.jpg
/home/nano/Desktop/images/12072025/17/35/image_12072025_17_36_03_9623.jpg
/home/nano/Desktop/images/12072025/17/35/image_12072025_17_35_54_9604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371904051","1371904046","1371904049","1371904048"],"photo_ids_order":["1371904046","1371904048","1371904049","1371904051"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa29d013707a20b211c231139baa21a6.jpg","text":"TemporaryFile(/tmp/multipartBody6056300436869418648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334639203,"filename":"image_12072025_17_35_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a72ebac84e31207615cf1b4c8d34c5e.jpg","text":"TemporaryFile(/tmp/multipartBody7924018524628312858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334639203,"filename":"image_12072025_17_36_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c53afa63b14b659014030a3ca4f6d7bc.jpg","text":"TemporaryFile(/tmp/multipartBody4971890691046417222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334639203,"filename":"image_12072025_17_36_03_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5a4268eacdb6cdf4a42f7f1c0057423.jpg","text":"TemporaryFile(/tmp/multipartBody3350423087303343182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334639203,"filename":"image_12072025_17_36_14_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371904049","file1":"1371904048","file0":"1371904046","file3":"1371904051"},"map_files_photo_id_array":[{"photo_id":"1371904049","filename":"file2"},{"photo_id":"1371904048","filename":"file1"},{"photo_id":"1371904046","filename":"file0"},{"photo_id":"1371904051","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371904051":["hashtag1","hashtag2"]},{"1371904046":["hashtag1","hashtag2"]},{"1371904049":["hashtag1","hashtag2"]},{"1371904048":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371904051, 1371904046, 1371904049, 1371904048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.86223340034485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:36:47.701853
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/54/image_10072025_16_55_04_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_53_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_44_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_34_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_23_9611.jpg', 2), ('/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_14_10712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/54/image_10072025_16_55_04_10632.jpg', '/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_53_9627.jpg', '/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_44_9628.jpg', '/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_34_10636.jpg', '/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_23_9611.jpg', '/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_14_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/54/image_10072025_16_55_04_10632.jpg
/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_53_9627.jpg
/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_44_9628.jpg
/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_34_10636.jpg
/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_23_9611.jpg
/home/nano/Desktop/images/10072025/16/54/image_10072025_16_54_14_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371904065","1371904068","1371904062","1371904058","1371904060","1371904057"],"photo_ids_order":["1371904057","1371904058","1371904060","1371904062","1371904065","1371904068"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d08b614e131a8f978351eb21aaf9cf36.jpg","text":"TemporaryFile(/tmp/multipartBody5987942327411164947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334670954,"filename":"image_10072025_16_54_23_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e9d489c29e900e722476ad176163f5a.jpg","text":"TemporaryFile(/tmp/multipartBody3072589125560215228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334670954,"filename":"image_10072025_16_54_14_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c175aed294f39c9bb7bc96ddc2b93375.jpg","text":"TemporaryFile(/tmp/multipartBody7391158863578131672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334670954,"filename":"image_10072025_16_54_34_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd243f5474ac18b5e9db9fceabeedac6.jpg","text":"TemporaryFile(/tmp/multipartBody585206485825201096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334670954,"filename":"image_10072025_16_54_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54b89d57da059018f1c073d0f5393d6f.jpg","text":"TemporaryFile(/tmp/multipartBody1282873230088542395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334670954,"filename":"image_10072025_16_54_44_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be8eb034f654ceacfc605e33dd8de689.jpg","text":"TemporaryFile(/tmp/multipartBody2769698639386500844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334670954,"filename":"image_10072025_16_55_04_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371904060","file1":"1371904058","file0":"1371904057","file4":"1371904065","file5":"1371904068","file3":"1371904062"},"map_files_photo_id_array":[{"photo_id":"1371904068","filename":"file5"},{"photo_id":"1371904060","filename":"file2"},{"photo_id":"1371904065","filename":"file4"},{"photo_id":"1371904058","filename":"file1"},{"photo_id":"1371904057","filename":"file0"},{"photo_id":"1371904062","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371904065":["hashtag1","hashtag2"]},{"1371904068":["hashtag1","hashtag2"]},{"1371904062":["hashtag1","hashtag2"]},{"1371904058":["hashtag1","hashtag2"]},{"1371904060":["hashtag1","hashtag2"]},{"1371904057":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371904065, 1371904068, 1371904062, 1371904058, 1371904060, 1371904057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78964400291443 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:37:31.788447
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_44_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_34_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_23_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_14_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/17/36/image_12072025_17_37_04_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/17/36/image_12072025_17_36_34_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_44_9610.jpg', '/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_34_10613.jpg', '/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_23_9623.jpg', '/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_14_9647.jpg', '/home/nano/Desktop/images/12072025/17/36/image_12072025_17_37_04_10624.jpg', '/home/nano/Desktop/images/12072025/17/36/image_12072025_17_36_34_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_44_9610.jpg
/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_34_10613.jpg
/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_23_9623.jpg
/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_14_9647.jpg
/home/nano/Desktop/images/12072025/17/36/image_12072025_17_37_04_10624.jpg
/home/nano/Desktop/images/12072025/17/36/image_12072025_17_36_34_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371904077","1371904071","1371904080","1371904074","1371904072","1371904078"],"photo_ids_order":["1371904071","1371904072","1371904074","1371904077","1371904078","1371904080"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea98b28690b34b3d87878617e03eb1ee.jpg","text":"TemporaryFile(/tmp/multipartBody3179122545757758324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334713572,"filename":"image_12072025_17_37_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ae1d138183693dc9d6e096fa93b40df.jpg","text":"TemporaryFile(/tmp/multipartBody340694842836712781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334713572,"filename":"image_12072025_17_37_44_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ff1b6adda45a694713e2c58652fe5f9.jpg","text":"TemporaryFile(/tmp/multipartBody4094329419767905715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334713572,"filename":"image_12072025_17_36_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4b8be9c7d0e7a049439035202062102.jpg","text":"TemporaryFile(/tmp/multipartBody9131604821749665111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334713572,"filename":"image_12072025_17_37_23_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8de4f1e655ec706579f6651fa2b35d21.jpg","text":"TemporaryFile(/tmp/multipartBody7838662972374012827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334713572,"filename":"image_12072025_17_37_34_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c718e7589a302c45d49ca0b99eb66bb2.jpg","text":"TemporaryFile(/tmp/multipartBody1768037844321502066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334713572,"filename":"image_12072025_17_37_04_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371904074","file1":"1371904072","file0":"1371904071","file4":"1371904078","file5":"1371904080","file3":"1371904077"},"map_files_photo_id_array":[{"photo_id":"1371904080","filename":"file5"},{"photo_id":"1371904074","filename":"file2"},{"photo_id":"1371904078","filename":"file4"},{"photo_id":"1371904072","filename":"file1"},{"photo_id":"1371904071","filename":"file0"},{"photo_id":"1371904077","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371904077":["hashtag1","hashtag2"]},{"1371904071":["hashtag1","hashtag2"]},{"1371904080":["hashtag1","hashtag2"]},{"1371904074":["hashtag1","hashtag2"]},{"1371904072":["hashtag1","hashtag2"]},{"1371904078":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371904077, 1371904071, 1371904080, 1371904074, 1371904072, 1371904078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.781360626220703 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:38:16.907791
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/38/image_12072025_17_38_14_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/17/37/image_12072025_17_38_04_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_54_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/38/image_12072025_17_38_14_9630.jpg', '/home/nano/Desktop/images/12072025/17/37/image_12072025_17_38_04_9620.jpg', '/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_54_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/38/image_12072025_17_38_14_9630.jpg
/home/nano/Desktop/images/12072025/17/37/image_12072025_17_38_04_9620.jpg
/home/nano/Desktop/images/12072025/17/37/image_12072025_17_37_54_10618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371904089","1371904091","1371904090"],"photo_ids_order":["1371904089","1371904090","1371904091"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3eab5875aba2a2b1463df170efdc7e23.jpg","text":"TemporaryFile(/tmp/multipartBody7390997298979144037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334758143,"filename":"image_12072025_17_38_14_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/615e51c11d73b7eb3ce91a14981a7906.jpg","text":"TemporaryFile(/tmp/multipartBody3281579100391136645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334758143,"filename":"image_12072025_17_37_54_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26a836db1f70dc4ff8ee2a2e7ce19a4f.jpg","text":"TemporaryFile(/tmp/multipartBody3598102201706860721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334758143,"filename":"image_12072025_17_38_04_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371904091","file1":"1371904090","file0":"1371904089"},"map_files_photo_id_array":[{"photo_id":"1371904091","filename":"file2"},{"photo_id":"1371904090","filename":"file1"},{"photo_id":"1371904089","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371904089":["hashtag1","hashtag2"]},{"1371904091":["hashtag1","hashtag2"]},{"1371904090":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371904089, 1371904091, 1371904090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.717795372009277 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:38:46.878475
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/53/image_10072025_16_54_03_9679.jpg', 2), ('/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_53_9730.jpg', 2), ('/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_44_9808.jpg', 2), ('/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_34_10674.jpg', 2), ('/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_23_9711.jpg', 2), ('/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_13_9725.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/53/image_10072025_16_54_03_9679.jpg', '/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_53_9730.jpg', '/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_44_9808.jpg', '/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_34_10674.jpg', '/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_23_9711.jpg', '/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_13_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/53/image_10072025_16_54_03_9679.jpg
/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_53_9730.jpg
/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_44_9808.jpg
/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_34_10674.jpg
/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_23_9711.jpg
/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_13_9725.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.5985541343688965 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:39:03.029369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/53/image_10072025_16_54_03_9679.jpg', 2), ('/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_53_9730.jpg', 2), ('/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_44_9808.jpg', 2), ('/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_34_10674.jpg', 2), ('/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_23_9711.jpg', 2), ('/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_13_9725.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/53/image_10072025_16_54_03_9679.jpg', '/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_53_9730.jpg', '/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_44_9808.jpg', '/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_34_10674.jpg', '/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_23_9711.jpg', '/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_13_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/53/image_10072025_16_54_03_9679.jpg
/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_53_9730.jpg
/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_44_9808.jpg
/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_34_10674.jpg
/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_23_9711.jpg
/home/nano/Desktop/images/10072025/16/53/image_10072025_16_53_13_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371904108","1371904101","1371904107","1371904106","1371904109","1371904103"],"photo_ids_order":["1371904101","1371904103","1371904106","1371904107","1371904108","1371904109"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c976d753b4f36f18f5b08a7163b2136.jpg","text":"TemporaryFile(/tmp/multipartBody7368859625926668142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334806362,"filename":"image_10072025_16_53_23_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2950b2401e04513bdd75d1083dee8dc4.jpg","text":"TemporaryFile(/tmp/multipartBody5624627267627223711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334806362,"filename":"image_10072025_16_54_03_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a46676601d181df7a318de776a47ea6f.jpg","text":"TemporaryFile(/tmp/multipartBody3079399543715723510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334806362,"filename":"image_10072025_16_53_34_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0970fb0ead98e3e8dafafcd1260bd058.jpg","text":"TemporaryFile(/tmp/multipartBody8327855358646241919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334806362,"filename":"image_10072025_16_53_44_9808.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f52b9479f2047354e70af1adb317319.jpg","text":"TemporaryFile(/tmp/multipartBody7671963393687313793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334806362,"filename":"image_10072025_16_53_13_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf4d5c79d551cf83ecf5cd72a9f0a385.jpg","text":"TemporaryFile(/tmp/multipartBody3005542826164312543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334806362,"filename":"image_10072025_16_53_53_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371904106","file1":"1371904103","file0":"1371904101","file4":"1371904108","file5":"1371904109","file3":"1371904107"},"map_files_photo_id_array":[{"photo_id":"1371904109","filename":"file5"},{"photo_id":"1371904106","filename":"file2"},{"photo_id":"1371904108","filename":"file4"},{"photo_id":"1371904103","filename":"file1"},{"photo_id":"1371904101","filename":"file0"},{"photo_id":"1371904107","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371904108":["hashtag1","hashtag2"]},{"1371904101":["hashtag1","hashtag2"]},{"1371904107":["hashtag1","hashtag2"]},{"1371904106":["hashtag1","hashtag2"]},{"1371904109":["hashtag1","hashtag2"]},{"1371904103":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371904108, 1371904101, 1371904107, 1371904106, 1371904109, 1371904103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.564470052719116 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:39:47.004548
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_44_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_33_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_24_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_14_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/17/38/image_12072025_17_39_04_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/17/38/image_12072025_17_38_24_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_44_10659.jpg', '/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_33_9619.jpg', '/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_24_9626.jpg', '/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_14_10642.jpg', '/home/nano/Desktop/images/12072025/17/38/image_12072025_17_39_04_9609.jpg', '/home/nano/Desktop/images/12072025/17/38/image_12072025_17_38_24_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_44_10659.jpg
/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_33_9619.jpg
/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_24_9626.jpg
/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_14_10642.jpg
/home/nano/Desktop/images/12072025/17/38/image_12072025_17_39_04_9609.jpg
/home/nano/Desktop/images/12072025/17/38/image_12072025_17_38_24_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371904123","1371904132","1371904125","1371904130","1371904127","1371904129"],"photo_ids_order":["1371904123","1371904125","1371904127","1371904129","1371904130","1371904132"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad84e7f296e78fce507fa24cc148359b.jpg","text":"TemporaryFile(/tmp/multipartBody1489230308056004501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334848837,"filename":"image_12072025_17_39_44_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6515db97dc2b6424bcfb53bd188f6fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4547357698537182736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334848837,"filename":"image_12072025_17_38_24_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb5c56b4ffd33af32b7db3f0660c49fa.jpg","text":"TemporaryFile(/tmp/multipartBody6416994856266289663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334848837,"filename":"image_12072025_17_39_33_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9da6728cbd124b0ea3784fb160018f31.jpg","text":"TemporaryFile(/tmp/multipartBody8938206984464248474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334848837,"filename":"image_12072025_17_39_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b7b0fd6592a460ecc33e0dcf853281e.jpg","text":"TemporaryFile(/tmp/multipartBody3974353766119250999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334848837,"filename":"image_12072025_17_39_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7fc8c2450cf195c2100aa8c8e130ecc.jpg","text":"TemporaryFile(/tmp/multipartBody4100841033316355586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752334848837,"filename":"image_12072025_17_39_14_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371904127","file1":"1371904125","file0":"1371904123","file4":"1371904130","file5":"1371904132","file3":"1371904129"},"map_files_photo_id_array":[{"photo_id":"1371904132","filename":"file5"},{"photo_id":"1371904127","filename":"file2"},{"photo_id":"1371904130","filename":"file4"},{"photo_id":"1371904125","filename":"file1"},{"photo_id":"1371904123","filename":"file0"},{"photo_id":"1371904129","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371904123":["hashtag1","hashtag2"]},{"1371904132":["hashtag1","hashtag2"]},{"1371904125":["hashtag1","hashtag2"]},{"1371904130":["hashtag1","hashtag2"]},{"1371904127":["hashtag1","hashtag2"]},{"1371904129":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371904123, 1371904132, 1371904125, 1371904130, 1371904127, 1371904129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.104716777801514 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:40:32.124420
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_44_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_33_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_24_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_14_10680.jpg', 2), ('/home/nano/Desktop/images/12072025/17/39/image_12072025_17_40_03_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_54_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_44_10659.jpg', '/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_33_9635.jpg', '/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_24_9622.jpg', '/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_14_10680.jpg', '/home/nano/Desktop/images/12072025/17/39/image_12072025_17_40_03_9652.jpg', '/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_54_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_44_10659.jpg
/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_33_9635.jpg
/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_24_9622.jpg
/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_14_10680.jpg
/home/nano/Desktop/images/12072025/17/39/image_12072025_17_40_03_9652.jpg
/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_54_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:59:03.122783
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_44_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_34_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_23_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_14_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/17/56/image_12072025_17_57_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_54_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_44_9608.jpg', '/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_34_10630.jpg', '/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_23_9608.jpg', '/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_14_9641.jpg', '/home/nano/Desktop/images/12072025/17/56/image_12072025_17_57_04_10657.jpg', '/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_54_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_44_9608.jpg
/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_34_10630.jpg
/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_23_9608.jpg
/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_14_9641.jpg
/home/nano/Desktop/images/12072025/17/56/image_12072025_17_57_04_10657.jpg
/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_54_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371904617","1371904719","1371904643","1371904693","1371904669","1371904744"],"photo_ids_order":["1371904617","1371904643","1371904669","1371904693","1371904719","1371904744"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f27478298a4d812f2e6c342588b0e3ec.jpg","text":"TemporaryFile(/tmp/multipartBody681811815186469595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336004801,"filename":"image_12072025_17_57_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81a52273f3b2122e1f2e52d6bfbc9f54.jpg","text":"TemporaryFile(/tmp/multipartBody3817081365897652700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336004801,"filename":"image_12072025_17_57_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6e3aad900407e42f3551743c817f3d4.jpg","text":"TemporaryFile(/tmp/multipartBody209021291060862694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336004801,"filename":"image_12072025_17_57_34_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0caaa55556fdf611d61b8c94c5a59cb2.jpg","text":"TemporaryFile(/tmp/multipartBody1640749797840531332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336004801,"filename":"image_12072025_17_57_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3305e1eabce48c6a7ed6b9483e077895.jpg","text":"TemporaryFile(/tmp/multipartBody1899658351387791805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336004801,"filename":"image_12072025_17_57_23_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/475182566477465fc3b811ec98806582.jpg","text":"TemporaryFile(/tmp/multipartBody8110597935502675898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336004801,"filename":"image_12072025_17_56_54_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371904669","file1":"1371904643","file0":"1371904617","file4":"1371904719","file5":"1371904744","file3":"1371904693"},"map_files_photo_id_array":[{"photo_id":"1371904744","filename":"file5"},{"photo_id":"1371904669","filename":"file2"},{"photo_id":"1371904719","filename":"file4"},{"photo_id":"1371904643","filename":"file1"},{"photo_id":"1371904617","filename":"file0"},{"photo_id":"1371904693","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371904617":["hashtag1","hashtag2"]},{"1371904719":["hashtag1","hashtag2"]},{"1371904643":["hashtag1","hashtag2"]},{"1371904693":["hashtag1","hashtag2"]},{"1371904669":["hashtag1","hashtag2"]},{"1371904744":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371904617, 1371904719, 1371904643, 1371904693, 1371904669, 1371904744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.548662424087524 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 17:59:47.057861
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_44_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_34_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_24_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_13_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/17/58/image_12072025_17_59_04_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_54_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_44_10641.jpg', '/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_34_9613.jpg', '/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_24_10645.jpg', '/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_13_9627.jpg', '/home/nano/Desktop/images/12072025/17/58/image_12072025_17_59_04_9618.jpg', '/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_54_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_44_10641.jpg
/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_34_9613.jpg
/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_24_10645.jpg
/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_13_9627.jpg
/home/nano/Desktop/images/12072025/17/58/image_12072025_17_59_04_9618.jpg
/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_54_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371904992","1371905139","1371905040","1371904922","1371905092","1371904948"],"photo_ids_order":["1371904922","1371904948","1371904992","1371905040","1371905092","1371905139"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34d0877ffca5695541f379f037def45a.jpg","text":"TemporaryFile(/tmp/multipartBody340615661564352732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336049043,"filename":"image_12072025_17_59_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32c399c1f694037a2c9d0c4cc55c54b9.jpg","text":"TemporaryFile(/tmp/multipartBody4870068326196251702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336049043,"filename":"image_12072025_17_58_54_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ac00883c35899c9ea8b8bd1d3bb88de.jpg","text":"TemporaryFile(/tmp/multipartBody2969638169213589519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336049043,"filename":"image_12072025_17_59_13_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2988d209c2610c74e99db5839a32177f.jpg","text":"TemporaryFile(/tmp/multipartBody9189239869853631316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336049043,"filename":"image_12072025_17_59_44_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b1b85362c57c11f2e2d9a4f125f8b94.jpg","text":"TemporaryFile(/tmp/multipartBody5593750222217670013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336049043,"filename":"image_12072025_17_59_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f93f01dc690cad23570ef93efe160b61.jpg","text":"TemporaryFile(/tmp/multipartBody7024215144182011201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336049043,"filename":"image_12072025_17_59_34_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371904992","file1":"1371904948","file0":"1371904922","file4":"1371905092","file5":"1371905139","file3":"1371905040"},"map_files_photo_id_array":[{"photo_id":"1371905139","filename":"file5"},{"photo_id":"1371904992","filename":"file2"},{"photo_id":"1371905092","filename":"file4"},{"photo_id":"1371904948","filename":"file1"},{"photo_id":"1371904922","filename":"file0"},{"photo_id":"1371905040","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371904992":["hashtag1","hashtag2"]},{"1371905139":["hashtag1","hashtag2"]},{"1371905040":["hashtag1","hashtag2"]},{"1371904922":["hashtag1","hashtag2"]},{"1371905092":["hashtag1","hashtag2"]},{"1371904948":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371904992, 1371905139, 1371905040, 1371904922, 1371905092, 1371904948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.69125270843506 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:00:32.216633
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_44_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_33_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_24_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_14_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/17/59/image_12072025_18_00_04_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_54_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_44_10635.jpg', '/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_33_9620.jpg', '/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_24_9623.jpg', '/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_14_10647.jpg', '/home/nano/Desktop/images/12072025/17/59/image_12072025_18_00_04_9637.jpg', '/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_54_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_44_10635.jpg
/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_33_9620.jpg
/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_24_9623.jpg
/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_14_10647.jpg
/home/nano/Desktop/images/12072025/17/59/image_12072025_18_00_04_9637.jpg
/home/nano/Desktop/images/12072025/17/59/image_12072025_17_59_54_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371905462","1371905399","1371905570","1371905519","1371905374","1371905425"],"photo_ids_order":["1371905374","1371905399","1371905425","1371905462","1371905519","1371905570"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/479c651958b050bf24d551460d43608b.jpg","text":"TemporaryFile(/tmp/multipartBody6407455305329902797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336093951,"filename":"image_12072025_18_00_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/966ae373357a0ec74ff3c59a4004914d.jpg","text":"TemporaryFile(/tmp/multipartBody1351914764511003700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336093951,"filename":"image_12072025_18_00_33_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0a2be02ad9a657e2892e06b39575de9.jpg","text":"TemporaryFile(/tmp/multipartBody3026414366148068626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336093951,"filename":"image_12072025_17_59_54_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52ae8377c037810b42b23444884315f6.jpg","text":"TemporaryFile(/tmp/multipartBody6205930041533637449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336093951,"filename":"image_12072025_18_00_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41cdb26599e61638012ef04852456a71.jpg","text":"TemporaryFile(/tmp/multipartBody7816678898656925046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336093951,"filename":"image_12072025_18_00_44_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11d5fd32ae2625432cdff6d84065c1c1.jpg","text":"TemporaryFile(/tmp/multipartBody6421168287699938906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336093951,"filename":"image_12072025_18_00_24_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371905425","file1":"1371905399","file0":"1371905374","file4":"1371905519","file5":"1371905570","file3":"1371905462"},"map_files_photo_id_array":[{"photo_id":"1371905570","filename":"file5"},{"photo_id":"1371905425","filename":"file2"},{"photo_id":"1371905519","filename":"file4"},{"photo_id":"1371905399","filename":"file1"},{"photo_id":"1371905374","filename":"file0"},{"photo_id":"1371905462","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371905462":["hashtag1","hashtag2"]},{"1371905399":["hashtag1","hashtag2"]},{"1371905570":["hashtag1","hashtag2"]},{"1371905519":["hashtag1","hashtag2"]},{"1371905374":["hashtag1","hashtag2"]},{"1371905425":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371905462, 1371905399, 1371905570, 1371905519, 1371905374, 1371905425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74659585952759 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:01:17.296564
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_44_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_34_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_24_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_14_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/18/00/image_12072025_18_01_04_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_54_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_44_9608.jpg', '/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_34_10640.jpg', '/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_24_9615.jpg', '/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_14_9640.jpg', '/home/nano/Desktop/images/12072025/18/00/image_12072025_18_01_04_10643.jpg', '/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_54_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_44_9608.jpg
/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_34_10640.jpg
/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_24_9615.jpg
/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_14_9640.jpg
/home/nano/Desktop/images/12072025/18/00/image_12072025_18_01_04_10643.jpg
/home/nano/Desktop/images/12072025/18/00/image_12072025_18_00_54_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371906012","1371906191","1371906058","1371905965","1371906115","1371905892"],"photo_ids_order":["1371905892","1371905965","1371906012","1371906058","1371906115","1371906191"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66c435af12bd6a3a7cb857126a580c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1398439952298567003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336139656,"filename":"image_12072025_18_01_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ceecbf9fc68a3b82d00eb12193069a21.jpg","text":"TemporaryFile(/tmp/multipartBody4218708413258121393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336139656,"filename":"image_12072025_18_00_54_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34240284a5b744d9598bd04f78d5b688.jpg","text":"TemporaryFile(/tmp/multipartBody1988637382164224028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336139656,"filename":"image_12072025_18_01_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d71cf8646e29dfea7d837854b84e734f.jpg","text":"TemporaryFile(/tmp/multipartBody1776859894229060190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336139656,"filename":"image_12072025_18_01_34_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0cc24cf4722cbc77d2470b616141bf0.jpg","text":"TemporaryFile(/tmp/multipartBody3926365815570960883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336139656,"filename":"image_12072025_18_01_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc7f64b25717b1ff7863629111db990e.jpg","text":"TemporaryFile(/tmp/multipartBody6880838243352552843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336139656,"filename":"image_12072025_18_01_44_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371906012","file1":"1371905965","file0":"1371905892","file4":"1371906115","file5":"1371906191","file3":"1371906058"},"map_files_photo_id_array":[{"photo_id":"1371906191","filename":"file5"},{"photo_id":"1371906012","filename":"file2"},{"photo_id":"1371906115","filename":"file4"},{"photo_id":"1371905965","filename":"file1"},{"photo_id":"1371905892","filename":"file0"},{"photo_id":"1371906058","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371906012":["hashtag1","hashtag2"]},{"1371906191":["hashtag1","hashtag2"]},{"1371906058":["hashtag1","hashtag2"]},{"1371905965":["hashtag1","hashtag2"]},{"1371906115":["hashtag1","hashtag2"]},{"1371905892":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371906012, 1371906191, 1371906058, 1371905965, 1371906115, 1371905892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09114384651184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:02:02.963507
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_23_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_43_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_14_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/17/57/image_12072025_17_58_04_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_23_9629.jpg', '/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_43_9633.jpg', '/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_34_9611.jpg', '/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_24_10625.jpg', '/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_14_9634.jpg', '/home/nano/Desktop/images/12072025/17/57/image_12072025_17_58_04_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_23_9629.jpg
/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_43_9633.jpg
/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_34_9611.jpg
/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_24_10625.jpg
/home/nano/Desktop/images/12072025/17/58/image_12072025_17_58_14_9634.jpg
/home/nano/Desktop/images/12072025/17/57/image_12072025_17_58_04_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371906708","1371906620","1371906562","1371906685","1371906592","1371906660"],"photo_ids_order":["1371906562","1371906592","1371906620","1371906660","1371906685","1371906708"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75401e6e256f927d8ce4018e676ab257.jpg","text":"TemporaryFile(/tmp/multipartBody8399733008488458353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336185035,"filename":"image_12072025_17_58_04_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac53155d747802c9bdc52ccc2cc8f10a.jpg","text":"TemporaryFile(/tmp/multipartBody981657534152540683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336185035,"filename":"image_12072025_17_58_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/096cccda9e1c3592b96a333d252bda45.jpg","text":"TemporaryFile(/tmp/multipartBody2762194142309111957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336185035,"filename":"image_12072025_18_02_23_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/932c610504d856f73a9305356c8a4de2.jpg","text":"TemporaryFile(/tmp/multipartBody652702619007556023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336185035,"filename":"image_12072025_17_58_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/632382e9e1720f7cd0b8f5553db2800b.jpg","text":"TemporaryFile(/tmp/multipartBody2012844577729927867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336185035,"filename":"image_12072025_17_58_43_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78e4ba42580cf55a782fc4c4d8408a29.jpg","text":"TemporaryFile(/tmp/multipartBody4400333703611277623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336185035,"filename":"image_12072025_17_58_24_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371906620","file1":"1371906592","file0":"1371906562","file4":"1371906685","file5":"1371906708","file3":"1371906660"},"map_files_photo_id_array":[{"photo_id":"1371906708","filename":"file5"},{"photo_id":"1371906620","filename":"file2"},{"photo_id":"1371906685","filename":"file4"},{"photo_id":"1371906592","filename":"file1"},{"photo_id":"1371906562","filename":"file0"},{"photo_id":"1371906660","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371906708":["hashtag1","hashtag2"]},{"1371906620":["hashtag1","hashtag2"]},{"1371906562":["hashtag1","hashtag2"]},{"1371906685":["hashtag1","hashtag2"]},{"1371906592":["hashtag1","hashtag2"]},{"1371906660":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371906708, 1371906620, 1371906562, 1371906685, 1371906592, 1371906660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5137255191803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:02:47.377344
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_34_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_14_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/18/01/image_12072025_18_02_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_53_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_53_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_44_9617.jpg', '/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_34_10664.jpg', '/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_14_9655.jpg', '/home/nano/Desktop/images/12072025/18/01/image_12072025_18_02_04_10657.jpg', '/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_53_9627.jpg', '/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_53_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_44_9617.jpg
/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_34_10664.jpg
/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_14_9655.jpg
/home/nano/Desktop/images/12072025/18/01/image_12072025_18_02_04_10657.jpg
/home/nano/Desktop/images/12072025/18/01/image_12072025_18_01_53_9627.jpg
/home/nano/Desktop/images/12072025/17/57/image_12072025_17_57_53_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371907181","1371907130","1371907034","1371906929","1371906982","1371907080"],"photo_ids_order":["1371906929","1371906982","1371907034","1371907080","1371907130","1371907181"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a00967f06211f8b4f9219940a87acb50.jpg","text":"TemporaryFile(/tmp/multipartBody4568140109388933084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336229188,"filename":"image_12072025_17_57_53_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3634046ea957a5c7ff23678abcd4e2f8.jpg","text":"TemporaryFile(/tmp/multipartBody5691571401375454031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336229188,"filename":"image_12072025_18_01_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c9e05ef3bf4a2455276c7d8aa2e67f0.jpg","text":"TemporaryFile(/tmp/multipartBody4284727524359341423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336229188,"filename":"image_12072025_18_02_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a5e22d66f0f3b6438ef101d75c3ab5d.jpg","text":"TemporaryFile(/tmp/multipartBody7279310956530936208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336229188,"filename":"image_12072025_18_02_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3724b39eee4f70a2aca24c53f5f5bb3.jpg","text":"TemporaryFile(/tmp/multipartBody3428723830330682875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336229188,"filename":"image_12072025_18_02_34_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8b636a069f6b4df7c102fcd1aa658e6.jpg","text":"TemporaryFile(/tmp/multipartBody8976370353581261777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336229188,"filename":"image_12072025_18_02_04_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371907034","file1":"1371906982","file0":"1371906929","file4":"1371907130","file5":"1371907181","file3":"1371907080"},"map_files_photo_id_array":[{"photo_id":"1371907181","filename":"file5"},{"photo_id":"1371907034","filename":"file2"},{"photo_id":"1371907130","filename":"file4"},{"photo_id":"1371906982","filename":"file1"},{"photo_id":"1371906929","filename":"file0"},{"photo_id":"1371907080","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371907181":["hashtag1","hashtag2"]},{"1371907130":["hashtag1","hashtag2"]},{"1371907034":["hashtag1","hashtag2"]},{"1371906929":["hashtag1","hashtag2"]},{"1371906982":["hashtag1","hashtag2"]},{"1371907080":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371907181, 1371907130, 1371907034, 1371906929, 1371906982, 1371907080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.62085270881653 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:03:32.524033
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_43_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_34_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_14_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/18/02/image_12072025_18_03_04_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_54_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_43_9617.jpg', '/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_34_9612.jpg', '/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_24_10649.jpg', '/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_14_9644.jpg', '/home/nano/Desktop/images/12072025/18/02/image_12072025_18_03_04_9633.jpg', '/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_54_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_43_9617.jpg
/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_34_9612.jpg
/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_24_10649.jpg
/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_14_9644.jpg
/home/nano/Desktop/images/12072025/18/02/image_12072025_18_03_04_9633.jpg
/home/nano/Desktop/images/12072025/18/02/image_12072025_18_02_54_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371907436","1371907421","1371907488","1371907470","1371907503","1371907431"],"photo_ids_order":["1371907421","1371907431","1371907436","1371907470","1371907488","1371907503"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec9e267a3c0c58a29ef179c7112f2e5b.jpg","text":"TemporaryFile(/tmp/multipartBody8184523698326109440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336274453,"filename":"image_12072025_18_03_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a0be8bbe09e11a6863fde69bf2d99a0.jpg","text":"TemporaryFile(/tmp/multipartBody2768995781801665677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336274453,"filename":"image_12072025_18_03_43_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4121f93487bba598b4fbfe8fb2a465bb.jpg","text":"TemporaryFile(/tmp/multipartBody7459124503347929468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336274453,"filename":"image_12072025_18_03_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cac979272e35d3b309659b8372834c11.jpg","text":"TemporaryFile(/tmp/multipartBody1671719392103788395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336274453,"filename":"image_12072025_18_03_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3aa4ab70d5e2b218e2d205ba3fa7b174.jpg","text":"TemporaryFile(/tmp/multipartBody3057778633649133167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336274453,"filename":"image_12072025_18_02_54_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd3566306c38c3c85f6a0cbe43689ff7.jpg","text":"TemporaryFile(/tmp/multipartBody6591702753503462804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336274453,"filename":"image_12072025_18_03_34_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371907436","file1":"1371907431","file0":"1371907421","file4":"1371907488","file5":"1371907503","file3":"1371907470"},"map_files_photo_id_array":[{"photo_id":"1371907503","filename":"file5"},{"photo_id":"1371907436","filename":"file2"},{"photo_id":"1371907488","filename":"file4"},{"photo_id":"1371907431","filename":"file1"},{"photo_id":"1371907421","filename":"file0"},{"photo_id":"1371907470","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371907436":["hashtag1","hashtag2"]},{"1371907421":["hashtag1","hashtag2"]},{"1371907488":["hashtag1","hashtag2"]},{"1371907470":["hashtag1","hashtag2"]},{"1371907503":["hashtag1","hashtag2"]},{"1371907431":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371907436, 1371907421, 1371907488, 1371907470, 1371907503, 1371907431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.024563789367676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:04:17.681622
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_44_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_34_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_24_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_13_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/18/03/image_12072025_18_04_04_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_44_10627.jpg', '/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_34_9604.jpg', '/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_24_10634.jpg', '/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_13_9641.jpg', '/home/nano/Desktop/images/12072025/18/03/image_12072025_18_04_04_9634.jpg', '/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_44_10627.jpg
/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_34_9604.jpg
/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_24_10634.jpg
/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_13_9641.jpg
/home/nano/Desktop/images/12072025/18/03/image_12072025_18_04_04_9634.jpg
/home/nano/Desktop/images/12072025/18/03/image_12072025_18_03_54_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371907547","1371907508","1371907523","1371907597","1371907572","1371907509"],"photo_ids_order":["1371907508","1371907509","1371907523","1371907547","1371907572","1371907597"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e55202b0594a916dfc495b79f04c20e.jpg","text":"TemporaryFile(/tmp/multipartBody9130061276849377981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336319319,"filename":"image_12072025_18_04_13_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56607932752790950adf23b30f71f71e.jpg","text":"TemporaryFile(/tmp/multipartBody8410109936530280793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336319319,"filename":"image_12072025_18_04_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e09515fe5187b78a987314b9ae6b037a.jpg","text":"TemporaryFile(/tmp/multipartBody7983666748368675069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336319319,"filename":"image_12072025_18_04_24_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e8ad86329ce50989f31ca6db6e4fdcb.jpg","text":"TemporaryFile(/tmp/multipartBody8735202683432630667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336319319,"filename":"image_12072025_18_03_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/150d15733804d139d0f3f40b82aee087.jpg","text":"TemporaryFile(/tmp/multipartBody4241213476544758278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336319319,"filename":"image_12072025_18_04_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b56c8fac8563bcfa3d6cf91079046dc.jpg","text":"TemporaryFile(/tmp/multipartBody7011945157490909472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336319319,"filename":"image_12072025_18_04_34_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371907523","file1":"1371907509","file0":"1371907508","file4":"1371907572","file5":"1371907597","file3":"1371907547"},"map_files_photo_id_array":[{"photo_id":"1371907597","filename":"file5"},{"photo_id":"1371907523","filename":"file2"},{"photo_id":"1371907572","filename":"file4"},{"photo_id":"1371907509","filename":"file1"},{"photo_id":"1371907508","filename":"file0"},{"photo_id":"1371907547","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371907547":["hashtag1","hashtag2"]},{"1371907508":["hashtag1","hashtag2"]},{"1371907523":["hashtag1","hashtag2"]},{"1371907597":["hashtag1","hashtag2"]},{"1371907572":["hashtag1","hashtag2"]},{"1371907509":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371907547, 1371907508, 1371907523, 1371907597, 1371907572, 1371907509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23178219795227 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:05:02.516019
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_44_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_24_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_14_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/17/55/image_12072025_17_56_03_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_54_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_44_10623.jpg', '/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_33_9615.jpg', '/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_24_9633.jpg', '/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_14_10656.jpg', '/home/nano/Desktop/images/12072025/17/55/image_12072025_17_56_03_9653.jpg', '/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_54_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_44_10623.jpg
/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_33_9615.jpg
/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_24_9633.jpg
/home/nano/Desktop/images/12072025/17/56/image_12072025_17_56_14_10656.jpg
/home/nano/Desktop/images/12072025/17/55/image_12072025_17_56_03_9653.jpg
/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_54_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371907838","1371907814","1371907792","1371907786","1371907791","1371907761"],"photo_ids_order":["1371907761","1371907786","1371907791","1371907792","1371907814","1371907838"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ffef1cd01ff2c33d563ba19a4071894e.jpg","text":"TemporaryFile(/tmp/multipartBody4262474695501377756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336364127,"filename":"image_12072025_17_55_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a05ff0d1aecb63b842e777c68d3e500.jpg","text":"TemporaryFile(/tmp/multipartBody5925019622118299127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336364127,"filename":"image_12072025_17_56_03_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e12d1df146494b7909e5d4a08f4bb14.jpg","text":"TemporaryFile(/tmp/multipartBody6960006940898077342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336364127,"filename":"image_12072025_17_56_14_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be0d8062ea62c9dae6c9d4de4ae1abf0.jpg","text":"TemporaryFile(/tmp/multipartBody4192614544747490311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336364127,"filename":"image_12072025_17_56_33_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8afb624f6e11c99b6f3aa83deec7699f.jpg","text":"TemporaryFile(/tmp/multipartBody4463344722981054539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336364127,"filename":"image_12072025_17_56_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44bd93f52b521ee55d6ded4925d1b213.jpg","text":"TemporaryFile(/tmp/multipartBody764681252540566152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336364127,"filename":"image_12072025_17_56_44_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371907791","file1":"1371907786","file0":"1371907761","file4":"1371907814","file5":"1371907838","file3":"1371907792"},"map_files_photo_id_array":[{"photo_id":"1371907838","filename":"file5"},{"photo_id":"1371907791","filename":"file2"},{"photo_id":"1371907814","filename":"file4"},{"photo_id":"1371907786","filename":"file1"},{"photo_id":"1371907761","filename":"file0"},{"photo_id":"1371907792","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371907838":["hashtag1","hashtag2"]},{"1371907814":["hashtag1","hashtag2"]},{"1371907792":["hashtag1","hashtag2"]},{"1371907786":["hashtag1","hashtag2"]},{"1371907791":["hashtag1","hashtag2"]},{"1371907761":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371907838, 1371907814, 1371907792, 1371907786, 1371907791, 1371907761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11210513114929 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:05:46.815932
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_44_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_33_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_24_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_14_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/18/04/image_12072025_18_05_03_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_54_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_44_10654.jpg', '/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_33_9605.jpg', '/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_24_9619.jpg', '/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_14_10661.jpg', '/home/nano/Desktop/images/12072025/18/04/image_12072025_18_05_03_9609.jpg', '/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_54_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_44_10654.jpg
/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_33_9605.jpg
/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_24_9619.jpg
/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_14_10661.jpg
/home/nano/Desktop/images/12072025/18/04/image_12072025_18_05_03_9609.jpg
/home/nano/Desktop/images/12072025/18/04/image_12072025_18_04_54_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371907925","1371907913","1371907936","1371907939","1371907938","1371907917"],"photo_ids_order":["1371907913","1371907917","1371907925","1371907936","1371907938","1371907939"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4e156356bfa7f5b163a41ff73b2c39a.jpg","text":"TemporaryFile(/tmp/multipartBody3178312594289565309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336408812,"filename":"image_12072025_18_05_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4379fcf58c19f0d1fe3599e1de7d86a.jpg","text":"TemporaryFile(/tmp/multipartBody1939622458329749589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336408812,"filename":"image_12072025_18_05_44_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8867a8982d0931da13c4691795b9935.jpg","text":"TemporaryFile(/tmp/multipartBody3908159848155875397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336408812,"filename":"image_12072025_18_05_14_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f1527c5d71601e0d35864b78c3ddfb8.jpg","text":"TemporaryFile(/tmp/multipartBody246982863578949447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336408812,"filename":"image_12072025_18_04_54_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71e967dbed6b35fcaa33d68dbc3bd3a3.jpg","text":"TemporaryFile(/tmp/multipartBody4811782474266298685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336408812,"filename":"image_12072025_18_05_03_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/136568be92dedcf6cb5b690f41382835.jpg","text":"TemporaryFile(/tmp/multipartBody1336420380662286506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336408812,"filename":"image_12072025_18_05_33_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371907925","file1":"1371907917","file0":"1371907913","file4":"1371907938","file5":"1371907939","file3":"1371907936"},"map_files_photo_id_array":[{"photo_id":"1371907939","filename":"file5"},{"photo_id":"1371907925","filename":"file2"},{"photo_id":"1371907938","filename":"file4"},{"photo_id":"1371907917","filename":"file1"},{"photo_id":"1371907913","filename":"file0"},{"photo_id":"1371907936","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371907925":["hashtag1","hashtag2"]},{"1371907913":["hashtag1","hashtag2"]},{"1371907936":["hashtag1","hashtag2"]},{"1371907939":["hashtag1","hashtag2"]},{"1371907938":["hashtag1","hashtag2"]},{"1371907917":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371907925, 1371907913, 1371907936, 1371907939, 1371907938, 1371907917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.890491008758545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:06:31.943133
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_44_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_34_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_24_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_14_9680.jpg', 2), ('/home/nano/Desktop/images/12072025/18/05/image_12072025_18_06_04_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_54_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_44_9629.jpg', '/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_34_10643.jpg', '/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_24_9652.jpg', '/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_14_9680.jpg', '/home/nano/Desktop/images/12072025/18/05/image_12072025_18_06_04_10652.jpg', '/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_44_9629.jpg
/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_34_10643.jpg
/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_24_9652.jpg
/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_14_9680.jpg
/home/nano/Desktop/images/12072025/18/05/image_12072025_18_06_04_10652.jpg
/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_54_9644.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9471557140350342 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:06:46.928554
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_44_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_34_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_24_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_14_9680.jpg', 2), ('/home/nano/Desktop/images/12072025/18/05/image_12072025_18_06_04_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_54_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_44_9629.jpg', '/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_34_10643.jpg', '/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_24_9652.jpg', '/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_14_9680.jpg', '/home/nano/Desktop/images/12072025/18/05/image_12072025_18_06_04_10652.jpg', '/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_44_9629.jpg
/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_34_10643.jpg
/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_24_9652.jpg
/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_14_9680.jpg
/home/nano/Desktop/images/12072025/18/05/image_12072025_18_06_04_10652.jpg
/home/nano/Desktop/images/12072025/18/05/image_12072025_18_05_54_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371907955","1371907958","1371907963","1371907960","1371907965","1371907967"],"photo_ids_order":["1371907955","1371907958","1371907960","1371907963","1371907965","1371907967"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c22b2296410a8e770314bb6c2c59557.jpg","text":"TemporaryFile(/tmp/multipartBody4849843088103744324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336468378,"filename":"image_12072025_18_06_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec5402fc26f9d76108c73129735825f0.jpg","text":"TemporaryFile(/tmp/multipartBody795641718180954044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336468378,"filename":"image_12072025_18_06_34_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c879bbb44927e736d9b28573d5312da6.jpg","text":"TemporaryFile(/tmp/multipartBody5406942560874830716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336468378,"filename":"image_12072025_18_06_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d7edee9ebbe84e301924193a7cd19aa.jpg","text":"TemporaryFile(/tmp/multipartBody3425718869474133964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336468378,"filename":"image_12072025_18_06_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1da513f082bae78bf8c66fa6d52ff19d.jpg","text":"TemporaryFile(/tmp/multipartBody2744588215462729917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336468378,"filename":"image_12072025_18_06_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/261d1f240cc18235f0f84fa0a8758f8e.jpg","text":"TemporaryFile(/tmp/multipartBody7839276231752949885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336468378,"filename":"image_12072025_18_05_54_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371907960","file1":"1371907958","file0":"1371907955","file4":"1371907965","file5":"1371907967","file3":"1371907963"},"map_files_photo_id_array":[{"photo_id":"1371907967","filename":"file5"},{"photo_id":"1371907960","filename":"file2"},{"photo_id":"1371907965","filename":"file4"},{"photo_id":"1371907958","filename":"file1"},{"photo_id":"1371907955","filename":"file0"},{"photo_id":"1371907963","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371907955":["hashtag1","hashtag2"]},{"1371907958":["hashtag1","hashtag2"]},{"1371907963":["hashtag1","hashtag2"]},{"1371907960":["hashtag1","hashtag2"]},{"1371907965":["hashtag1","hashtag2"]},{"1371907967":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371907955, 1371907958, 1371907963, 1371907960, 1371907965, 1371907967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0616614818573 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:07:32.039300
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_44_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_34_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_23_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_14_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/18/06/image_12072025_18_07_04_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_54_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_44_9618.jpg', '/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_34_10640.jpg', '/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_23_9642.jpg', '/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_14_9640.jpg', '/home/nano/Desktop/images/12072025/18/06/image_12072025_18_07_04_10664.jpg', '/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_54_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_44_9618.jpg
/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_34_10640.jpg
/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_23_9642.jpg
/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_14_9640.jpg
/home/nano/Desktop/images/12072025/18/06/image_12072025_18_07_04_10664.jpg
/home/nano/Desktop/images/12072025/18/06/image_12072025_18_06_54_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371907976","1371907978","1371907972","1371907975","1371907971","1371907973"],"photo_ids_order":["1371907971","1371907972","1371907973","1371907975","1371907976","1371907978"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/157251f230c33ed23f149270561d0c17.jpg","text":"TemporaryFile(/tmp/multipartBody6620520959467283783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336514092,"filename":"image_12072025_18_07_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9ccf0eb1c36856672cb6688247730fd.jpg","text":"TemporaryFile(/tmp/multipartBody5712942736534822561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336514092,"filename":"image_12072025_18_06_54_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/668f7afc729cc08ecdec7d5cb24179b6.jpg","text":"TemporaryFile(/tmp/multipartBody656841710249040246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336514092,"filename":"image_12072025_18_07_34_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/226758a37a809c32c2a20b19cebc477a.jpg","text":"TemporaryFile(/tmp/multipartBody2417061537200006384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336514092,"filename":"image_12072025_18_07_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a95073f81c77d94bc0f3cae8c8a0388c.jpg","text":"TemporaryFile(/tmp/multipartBody3654129087519882704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336514092,"filename":"image_12072025_18_07_44_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a6d1d522299285ccf398a969a736a09.jpg","text":"TemporaryFile(/tmp/multipartBody4684519925832737359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336514092,"filename":"image_12072025_18_07_23_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371907973","file1":"1371907972","file0":"1371907971","file4":"1371907976","file5":"1371907978","file3":"1371907975"},"map_files_photo_id_array":[{"photo_id":"1371907978","filename":"file5"},{"photo_id":"1371907973","filename":"file2"},{"photo_id":"1371907976","filename":"file4"},{"photo_id":"1371907972","filename":"file1"},{"photo_id":"1371907971","filename":"file0"},{"photo_id":"1371907975","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371907976":["hashtag1","hashtag2"]},{"1371907978":["hashtag1","hashtag2"]},{"1371907972":["hashtag1","hashtag2"]},{"1371907975":["hashtag1","hashtag2"]},{"1371907971":["hashtag1","hashtag2"]},{"1371907973":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371907976, 1371907978, 1371907972, 1371907975, 1371907971, 1371907973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.450770616531372 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:08:17.192479
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_34_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_23_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_14_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/18/07/image_12072025_18_08_04_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_53_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_44_9617.jpg', '/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_34_10656.jpg', '/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_23_9629.jpg', '/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_14_9665.jpg', '/home/nano/Desktop/images/12072025/18/07/image_12072025_18_08_04_10651.jpg', '/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_53_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_44_9617.jpg
/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_34_10656.jpg
/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_23_9629.jpg
/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_14_9665.jpg
/home/nano/Desktop/images/12072025/18/07/image_12072025_18_08_04_10651.jpg
/home/nano/Desktop/images/12072025/18/07/image_12072025_18_07_53_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371907990","1371907987","1371907986","1371907989","1371907991","1371907988"],"photo_ids_order":["1371907986","1371907987","1371907988","1371907989","1371907990","1371907991"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d663d9f3c31458cb15b827a67d9136f.jpg","text":"TemporaryFile(/tmp/multipartBody5687824242813721488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336558914,"filename":"image_12072025_18_08_04_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52f25baf1250c42d3d68e24bc55925da.jpg","text":"TemporaryFile(/tmp/multipartBody5824352250006255491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336558914,"filename":"image_12072025_18_08_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e5bb140261737631185c6c6b0c17683.jpg","text":"TemporaryFile(/tmp/multipartBody865208290776278016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336558914,"filename":"image_12072025_18_08_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eaf0e9b3d1b4a127d3307c94a0c1b464.jpg","text":"TemporaryFile(/tmp/multipartBody8549514488471882140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336558914,"filename":"image_12072025_18_08_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d58799dc576fad4bf9951c0fac85f34.jpg","text":"TemporaryFile(/tmp/multipartBody2863784629855047824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336558914,"filename":"image_12072025_18_07_53_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0752bf3872c893307b8ec9b3b2a2b36c.jpg","text":"TemporaryFile(/tmp/multipartBody8514104711286404252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336558914,"filename":"image_12072025_18_08_23_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371907988","file1":"1371907987","file0":"1371907986","file4":"1371907990","file5":"1371907991","file3":"1371907989"},"map_files_photo_id_array":[{"photo_id":"1371907991","filename":"file5"},{"photo_id":"1371907988","filename":"file2"},{"photo_id":"1371907990","filename":"file4"},{"photo_id":"1371907987","filename":"file1"},{"photo_id":"1371907986","filename":"file0"},{"photo_id":"1371907989","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371907990":["hashtag1","hashtag2"]},{"1371907987":["hashtag1","hashtag2"]},{"1371907986":["hashtag1","hashtag2"]},{"1371907989":["hashtag1","hashtag2"]},{"1371907991":["hashtag1","hashtag2"]},{"1371907988":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371907990, 1371907987, 1371907986, 1371907989, 1371907991, 1371907988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.522594213485718 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:09:03.353014
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_44_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_34_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_24_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_14_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/17/54/image_12072025_17_55_04_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_44_10630.jpg', '/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_34_9631.jpg', '/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_24_9616.jpg', '/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_14_10651.jpg', '/home/nano/Desktop/images/12072025/17/54/image_12072025_17_55_04_9623.jpg', '/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_44_10630.jpg
/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_34_9631.jpg
/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_24_9616.jpg
/home/nano/Desktop/images/12072025/17/55/image_12072025_17_55_14_10651.jpg
/home/nano/Desktop/images/12072025/17/54/image_12072025_17_55_04_9623.jpg
/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_54_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908006","1371907999","1371908002","1371908007","1371908004","1371907997"],"photo_ids_order":["1371907997","1371907999","1371908002","1371908004","1371908006","1371908007"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b6862156d4bff3919b37cbc346aed1d.jpg","text":"TemporaryFile(/tmp/multipartBody8595359170620744756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336605379,"filename":"image_12072025_17_55_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a81dcc950511a8703aad3e97ff31965.jpg","text":"TemporaryFile(/tmp/multipartBody8597223619183916117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336605379,"filename":"image_12072025_17_55_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e2fc3a9b1e6ef2ee56e7c56f3bb80b6.jpg","text":"TemporaryFile(/tmp/multipartBody1498766887350098908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336605379,"filename":"image_12072025_17_55_24_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/551a0e0f02babfacd9891c97b95ff763.jpg","text":"TemporaryFile(/tmp/multipartBody287732569955168129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336605379,"filename":"image_12072025_17_54_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90ed1f2fc849cd7abbc22617af52ce97.jpg","text":"TemporaryFile(/tmp/multipartBody1125616577924991171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336605379,"filename":"image_12072025_17_55_14_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3717ec045b730ffb138e20edd6c53c72.jpg","text":"TemporaryFile(/tmp/multipartBody8026005430859867740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336605379,"filename":"image_12072025_17_55_44_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908002","file1":"1371907999","file0":"1371907997","file4":"1371908006","file5":"1371908007","file3":"1371908004"},"map_files_photo_id_array":[{"photo_id":"1371908007","filename":"file5"},{"photo_id":"1371908002","filename":"file2"},{"photo_id":"1371908006","filename":"file4"},{"photo_id":"1371907999","filename":"file1"},{"photo_id":"1371907997","filename":"file0"},{"photo_id":"1371908004","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908006":["hashtag1","hashtag2"]},{"1371907999":["hashtag1","hashtag2"]},{"1371908002":["hashtag1","hashtag2"]},{"1371908007":["hashtag1","hashtag2"]},{"1371908004":["hashtag1","hashtag2"]},{"1371907997":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908006, 1371907999, 1371908002, 1371908007, 1371908004, 1371907997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.923054456710815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:09:47.265450
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_43_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_34_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_14_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/18/08/image_12072025_18_09_04_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_54_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_43_9606.jpg', '/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_34_9633.jpg', '/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_24_10625.jpg', '/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_14_9634.jpg', '/home/nano/Desktop/images/12072025/18/08/image_12072025_18_09_04_9657.jpg', '/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_54_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_43_9606.jpg
/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_34_9633.jpg
/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_24_10625.jpg
/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_14_9634.jpg
/home/nano/Desktop/images/12072025/18/08/image_12072025_18_09_04_9657.jpg
/home/nano/Desktop/images/12072025/18/08/image_12072025_18_08_54_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908030","1371908026","1371908023","1371908031","1371908028","1371908033"],"photo_ids_order":["1371908023","1371908026","1371908028","1371908030","1371908031","1371908033"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8d03218d37fca3268ac192678e5740d.jpg","text":"TemporaryFile(/tmp/multipartBody1987385183100447807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336649385,"filename":"image_12072025_18_09_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27c5f05226fc6272a9f45ed7784a6f59.jpg","text":"TemporaryFile(/tmp/multipartBody4259186746638367672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336649385,"filename":"image_12072025_18_09_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7d110985e677b1daf98382be275973b.jpg","text":"TemporaryFile(/tmp/multipartBody5530703518721914442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336649385,"filename":"image_12072025_18_09_43_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7b9ad92589a78f6e38cd597850e5449.jpg","text":"TemporaryFile(/tmp/multipartBody1458180359994699492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336649385,"filename":"image_12072025_18_09_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ca302d43c65de8195d9e43dc9481a48.jpg","text":"TemporaryFile(/tmp/multipartBody2164865258893332620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336649385,"filename":"image_12072025_18_09_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ded859a53c3da1ba18adb1a97db0ede.jpg","text":"TemporaryFile(/tmp/multipartBody6515296795277895505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336649385,"filename":"image_12072025_18_08_54_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908028","file1":"1371908026","file0":"1371908023","file4":"1371908031","file5":"1371908033","file3":"1371908030"},"map_files_photo_id_array":[{"photo_id":"1371908033","filename":"file5"},{"photo_id":"1371908028","filename":"file2"},{"photo_id":"1371908031","filename":"file4"},{"photo_id":"1371908026","filename":"file1"},{"photo_id":"1371908023","filename":"file0"},{"photo_id":"1371908030","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908030":["hashtag1","hashtag2"]},{"1371908026":["hashtag1","hashtag2"]},{"1371908023":["hashtag1","hashtag2"]},{"1371908031":["hashtag1","hashtag2"]},{"1371908028":["hashtag1","hashtag2"]},{"1371908033":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908030, 1371908026, 1371908023, 1371908031, 1371908028, 1371908033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.860427141189575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:10:32.457993
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_44_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_34_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_24_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_13_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/18/09/image_12072025_18_10_04_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_54_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_44_10644.jpg', '/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_34_9618.jpg', '/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_24_10637.jpg', '/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_13_9650.jpg', '/home/nano/Desktop/images/12072025/18/09/image_12072025_18_10_04_9650.jpg', '/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_54_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_44_10644.jpg
/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_34_9618.jpg
/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_24_10637.jpg
/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_13_9650.jpg
/home/nano/Desktop/images/12072025/18/09/image_12072025_18_10_04_9650.jpg
/home/nano/Desktop/images/12072025/18/09/image_12072025_18_09_54_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908039","1371908038","1371908037","1371908046","1371908048","1371908042"],"photo_ids_order":["1371908037","1371908038","1371908039","1371908042","1371908046","1371908048"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed5e79f85237c711170fd3a8bc249d9d.jpg","text":"TemporaryFile(/tmp/multipartBody6944152738005089401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336694460,"filename":"image_12072025_18_10_24_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77f325bd17ab88c59ac855b6b15f8817.jpg","text":"TemporaryFile(/tmp/multipartBody490048071408305581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336694460,"filename":"image_12072025_18_10_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5dd01faee92c5eaf985e84ef5d237451.jpg","text":"TemporaryFile(/tmp/multipartBody9083760014130311929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336694460,"filename":"image_12072025_18_10_44_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6acfd57b6e1c400b2839356d254f300.jpg","text":"TemporaryFile(/tmp/multipartBody5818892977291519067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336694460,"filename":"image_12072025_18_10_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7cb66bd48d10818ef0d0498996aa104.jpg","text":"TemporaryFile(/tmp/multipartBody8207942975149400433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336694460,"filename":"image_12072025_18_09_54_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8bf4d456b7d9be0fdc0007ade5ab4a2e.jpg","text":"TemporaryFile(/tmp/multipartBody7193446676145732119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336694460,"filename":"image_12072025_18_10_13_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908039","file1":"1371908038","file0":"1371908037","file4":"1371908046","file5":"1371908048","file3":"1371908042"},"map_files_photo_id_array":[{"photo_id":"1371908048","filename":"file5"},{"photo_id":"1371908039","filename":"file2"},{"photo_id":"1371908046","filename":"file4"},{"photo_id":"1371908038","filename":"file1"},{"photo_id":"1371908037","filename":"file0"},{"photo_id":"1371908042","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908039":["hashtag1","hashtag2"]},{"1371908038":["hashtag1","hashtag2"]},{"1371908037":["hashtag1","hashtag2"]},{"1371908046":["hashtag1","hashtag2"]},{"1371908048":["hashtag1","hashtag2"]},{"1371908042":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908039, 1371908038, 1371908037, 1371908046, 1371908048, 1371908042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.825586795806885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:11:17.532955
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_44_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_33_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_24_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/18/10/image_12072025_18_11_04_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_54_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_44_10619.jpg', '/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_33_9626.jpg', '/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_24_9620.jpg', '/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_14_10667.jpg', '/home/nano/Desktop/images/12072025/18/10/image_12072025_18_11_04_9644.jpg', '/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_44_10619.jpg
/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_33_9626.jpg
/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_24_9620.jpg
/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_14_10667.jpg
/home/nano/Desktop/images/12072025/18/10/image_12072025_18_11_04_9644.jpg
/home/nano/Desktop/images/12072025/18/10/image_12072025_18_10_54_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908062","1371908065","1371908064","1371908067","1371908066","1371908063"],"photo_ids_order":["1371908062","1371908063","1371908064","1371908065","1371908066","1371908067"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4ed60a5edbaceeff49f4c4d7790304a.jpg","text":"TemporaryFile(/tmp/multipartBody2741899999931305629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336739160,"filename":"image_12072025_18_11_44_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3dcb73b5379daf94c8318f4fa8bb1f1c.jpg","text":"TemporaryFile(/tmp/multipartBody3610450572932114744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336739160,"filename":"image_12072025_18_11_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea8a1ddf1c3a1a3ff477e93c1c4be548.jpg","text":"TemporaryFile(/tmp/multipartBody6896023180280780900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336739160,"filename":"image_12072025_18_11_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d95aac2b475db1be91bdb98a50fff1a.jpg","text":"TemporaryFile(/tmp/multipartBody2975727293990938941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336739160,"filename":"image_12072025_18_10_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b7432f62e60bb6c73c63b1110d4bc4b.jpg","text":"TemporaryFile(/tmp/multipartBody2241737335734767939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336739160,"filename":"image_12072025_18_11_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dfc6c0d3e7843b2b91d4202132334e26.jpg","text":"TemporaryFile(/tmp/multipartBody8471953999462768320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336739160,"filename":"image_12072025_18_11_33_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908064","file1":"1371908063","file0":"1371908062","file4":"1371908066","file5":"1371908067","file3":"1371908065"},"map_files_photo_id_array":[{"photo_id":"1371908067","filename":"file5"},{"photo_id":"1371908064","filename":"file2"},{"photo_id":"1371908066","filename":"file4"},{"photo_id":"1371908063","filename":"file1"},{"photo_id":"1371908062","filename":"file0"},{"photo_id":"1371908065","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908062":["hashtag1","hashtag2"]},{"1371908065":["hashtag1","hashtag2"]},{"1371908064":["hashtag1","hashtag2"]},{"1371908067":["hashtag1","hashtag2"]},{"1371908066":["hashtag1","hashtag2"]},{"1371908063":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908062, 1371908065, 1371908064, 1371908067, 1371908066, 1371908063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17901968955994 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:12:03.241665
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_43_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_34_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_13_9661.jpg', 2), ('/home/nano/Desktop/images/12072025/17/53/image_12072025_17_54_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_54_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_43_9614.jpg', '/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_34_9638.jpg', '/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_24_10649.jpg', '/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_13_9661.jpg', '/home/nano/Desktop/images/12072025/17/53/image_12072025_17_54_04_9626.jpg', '/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_54_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_43_9614.jpg
/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_34_9638.jpg
/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_24_10649.jpg
/home/nano/Desktop/images/12072025/17/54/image_12072025_17_54_13_9661.jpg
/home/nano/Desktop/images/12072025/17/53/image_12072025_17_54_04_9626.jpg
/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_54_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908080","1371908077","1371908074","1371908082","1371908079","1371908072"],"photo_ids_order":["1371908072","1371908074","1371908077","1371908079","1371908080","1371908082"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c8ca58f904b1d8b0ddb55fecc0ff064.jpg","text":"TemporaryFile(/tmp/multipartBody7390166551153799169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336784975,"filename":"image_12072025_17_54_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51606b47431dd0ef0139763bb9943981.jpg","text":"TemporaryFile(/tmp/multipartBody75127303895056304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336784975,"filename":"image_12072025_17_54_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/512513a4c6be516cc4601f64eb9e01b7.jpg","text":"TemporaryFile(/tmp/multipartBody3895366996922043407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336784975,"filename":"image_12072025_17_54_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fb2ee92d334bc6b840a80b2a0762297.jpg","text":"TemporaryFile(/tmp/multipartBody5870513301727945183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336784975,"filename":"image_12072025_17_53_54_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ddc336c18d72e20facb843dd82cfd51.jpg","text":"TemporaryFile(/tmp/multipartBody9189310810897043290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336784975,"filename":"image_12072025_17_54_13_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21d639cd5889a6e514c796a007a68a03.jpg","text":"TemporaryFile(/tmp/multipartBody870500249531488973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336784975,"filename":"image_12072025_17_54_43_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908077","file1":"1371908074","file0":"1371908072","file4":"1371908080","file5":"1371908082","file3":"1371908079"},"map_files_photo_id_array":[{"photo_id":"1371908082","filename":"file5"},{"photo_id":"1371908077","filename":"file2"},{"photo_id":"1371908080","filename":"file4"},{"photo_id":"1371908074","filename":"file1"},{"photo_id":"1371908072","filename":"file0"},{"photo_id":"1371908079","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908080":["hashtag1","hashtag2"]},{"1371908077":["hashtag1","hashtag2"]},{"1371908074":["hashtag1","hashtag2"]},{"1371908082":["hashtag1","hashtag2"]},{"1371908079":["hashtag1","hashtag2"]},{"1371908072":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908080, 1371908077, 1371908074, 1371908082, 1371908079, 1371908072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.284714221954346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:12:47.647253
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_44_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_34_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_24_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_14_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/18/11/image_12072025_18_12_03_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_44_9620.jpg', '/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_34_10636.jpg', '/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_24_9622.jpg', '/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_14_10660.jpg', '/home/nano/Desktop/images/12072025/18/11/image_12072025_18_12_03_9644.jpg', '/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_44_9620.jpg
/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_34_10636.jpg
/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_24_9622.jpg
/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_14_10660.jpg
/home/nano/Desktop/images/12072025/18/11/image_12072025_18_12_03_9644.jpg
/home/nano/Desktop/images/12072025/18/11/image_12072025_18_11_54_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908095","1371908089","1371908098","1371908086","1371908091","1371908094"],"photo_ids_order":["1371908086","1371908089","1371908091","1371908094","1371908095","1371908098"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8114fb6fc92956a8b8a158798314df71.jpg","text":"TemporaryFile(/tmp/multipartBody1766454179229857584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336829403,"filename":"image_12072025_18_12_03_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a6223f56ad2dfb01f87ba1cb9440b69.jpg","text":"TemporaryFile(/tmp/multipartBody433686772455194483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336829403,"filename":"image_12072025_18_12_34_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a7f9ec6862872da392742b7622b2ed9.jpg","text":"TemporaryFile(/tmp/multipartBody8110483651771157863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336829403,"filename":"image_12072025_18_11_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/274eb1039789479d606e882fd0df52aa.jpg","text":"TemporaryFile(/tmp/multipartBody1148092181632381030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336829403,"filename":"image_12072025_18_12_44_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ac56397551c216a6e7b6c1d1766c257.jpg","text":"TemporaryFile(/tmp/multipartBody2885300490070280415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336829403,"filename":"image_12072025_18_12_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd074912725a5a241ee0b646ab7b52a6.jpg","text":"TemporaryFile(/tmp/multipartBody9176945742192996049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336829403,"filename":"image_12072025_18_12_14_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908091","file1":"1371908089","file0":"1371908086","file4":"1371908095","file5":"1371908098","file3":"1371908094"},"map_files_photo_id_array":[{"photo_id":"1371908098","filename":"file5"},{"photo_id":"1371908091","filename":"file2"},{"photo_id":"1371908095","filename":"file4"},{"photo_id":"1371908089","filename":"file1"},{"photo_id":"1371908086","filename":"file0"},{"photo_id":"1371908094","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908095":["hashtag1","hashtag2"]},{"1371908089":["hashtag1","hashtag2"]},{"1371908098":["hashtag1","hashtag2"]},{"1371908086":["hashtag1","hashtag2"]},{"1371908091":["hashtag1","hashtag2"]},{"1371908094":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908095, 1371908089, 1371908098, 1371908086, 1371908091, 1371908094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04425311088562 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:13:32.764573
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_44_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_34_10608.jpg', 2), ('/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_23_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_14_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/18/12/image_12072025_18_13_04_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_53_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_44_9623.jpg', '/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_34_10608.jpg', '/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_23_9623.jpg', '/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_14_9632.jpg', '/home/nano/Desktop/images/12072025/18/12/image_12072025_18_13_04_10638.jpg', '/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_53_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_44_9623.jpg
/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_34_10608.jpg
/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_23_9623.jpg
/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_14_9632.jpg
/home/nano/Desktop/images/12072025/18/12/image_12072025_18_13_04_10638.jpg
/home/nano/Desktop/images/12072025/18/12/image_12072025_18_12_53_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908102","1371908111","1371908107","1371908110","1371908104","1371908103"],"photo_ids_order":["1371908102","1371908103","1371908104","1371908107","1371908110","1371908111"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/144549ac57d697e63c08c5909c888bcf.jpg","text":"TemporaryFile(/tmp/multipartBody4187783085196270214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336874783,"filename":"image_12072025_18_13_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cfcc58b9610d349743808f2bf0351ff6.jpg","text":"TemporaryFile(/tmp/multipartBody6921360093290098425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336874783,"filename":"image_12072025_18_12_53_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e7f31a148db05b1a92d32457c9e1f42.jpg","text":"TemporaryFile(/tmp/multipartBody3238808008835790370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336874783,"filename":"image_12072025_18_13_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ced1e0ba62cb7ce7d7e2a49c628e401.jpg","text":"TemporaryFile(/tmp/multipartBody3493490717214756660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336874783,"filename":"image_12072025_18_13_04_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9865f37bfff1441b554b1c743e5348d4.jpg","text":"TemporaryFile(/tmp/multipartBody8332238304886651478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336874783,"filename":"image_12072025_18_13_23_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b00fa2720f38ee4f4c297fc4b25e8786.jpg","text":"TemporaryFile(/tmp/multipartBody6380844690105094402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336874783,"filename":"image_12072025_18_13_34_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908104","file1":"1371908103","file0":"1371908102","file4":"1371908110","file5":"1371908111","file3":"1371908107"},"map_files_photo_id_array":[{"photo_id":"1371908111","filename":"file5"},{"photo_id":"1371908104","filename":"file2"},{"photo_id":"1371908110","filename":"file4"},{"photo_id":"1371908103","filename":"file1"},{"photo_id":"1371908102","filename":"file0"},{"photo_id":"1371908107","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908102":["hashtag1","hashtag2"]},{"1371908111":["hashtag1","hashtag2"]},{"1371908107":["hashtag1","hashtag2"]},{"1371908110":["hashtag1","hashtag2"]},{"1371908104":["hashtag1","hashtag2"]},{"1371908103":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908102, 1371908111, 1371908107, 1371908110, 1371908104, 1371908103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2693772315979 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:14:16.878548
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_43_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_24_10681.jpg', 2), ('/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_14_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/18/13/image_12072025_18_14_04_9698.jpg', 2), ('/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_43_9626.jpg', '/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_34_9611.jpg', '/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_24_10681.jpg', '/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_14_9647.jpg', '/home/nano/Desktop/images/12072025/18/13/image_12072025_18_14_04_9698.jpg', '/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_43_9626.jpg
/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_34_9611.jpg
/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_24_10681.jpg
/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_14_9647.jpg
/home/nano/Desktop/images/12072025/18/13/image_12072025_18_14_04_9698.jpg
/home/nano/Desktop/images/12072025/18/13/image_12072025_18_13_54_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908126","1371908125","1371908122","1371908124","1371908127","1371908120"],"photo_ids_order":["1371908120","1371908122","1371908124","1371908125","1371908126","1371908127"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d1b76277dbdc164fe946f0f1670958b.jpg","text":"TemporaryFile(/tmp/multipartBody7632435327210918330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336918598,"filename":"image_12072025_18_14_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4319d3ca3519891dc98f43bb2fe92bd.jpg","text":"TemporaryFile(/tmp/multipartBody1472299475600928109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336918598,"filename":"image_12072025_18_14_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53770f3a1c55e77a9fc53641427e09f1.jpg","text":"TemporaryFile(/tmp/multipartBody4259722446260420071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336918598,"filename":"image_12072025_18_14_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff111aa0afef7d5ab780fa8484a9c70c.jpg","text":"TemporaryFile(/tmp/multipartBody3403820556135558594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336918598,"filename":"image_12072025_18_14_24_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef5a61c715d5f362ed334d2a44df3772.jpg","text":"TemporaryFile(/tmp/multipartBody6622135155953158651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336918598,"filename":"image_12072025_18_13_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fefc4cadcdda17cbfe8772905cfa5d5.jpg","text":"TemporaryFile(/tmp/multipartBody3158452139291873752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336918598,"filename":"image_12072025_18_14_43_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908124","file1":"1371908122","file0":"1371908120","file4":"1371908126","file5":"1371908127","file3":"1371908125"},"map_files_photo_id_array":[{"photo_id":"1371908127","filename":"file5"},{"photo_id":"1371908124","filename":"file2"},{"photo_id":"1371908126","filename":"file4"},{"photo_id":"1371908122","filename":"file1"},{"photo_id":"1371908120","filename":"file0"},{"photo_id":"1371908125","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908126":["hashtag1","hashtag2"]},{"1371908125":["hashtag1","hashtag2"]},{"1371908122":["hashtag1","hashtag2"]},{"1371908124":["hashtag1","hashtag2"]},{"1371908127":["hashtag1","hashtag2"]},{"1371908120":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908126, 1371908125, 1371908122, 1371908124, 1371908127, 1371908120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03462028503418 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:15:02.737004
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_44_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_34_9682.jpg', 2), ('/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_24_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_14_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/17/52/image_12072025_17_53_04_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_44_9653.jpg', '/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_34_9682.jpg', '/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_24_10626.jpg', '/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_14_9669.jpg', '/home/nano/Desktop/images/12072025/17/52/image_12072025_17_53_04_9659.jpg', '/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_44_9653.jpg
/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_34_9682.jpg
/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_24_10626.jpg
/home/nano/Desktop/images/12072025/17/53/image_12072025_17_53_14_9669.jpg
/home/nano/Desktop/images/12072025/17/52/image_12072025_17_53_04_9659.jpg
/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_54_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908138","1371908143","1371908140","1371908132","1371908141","1371908135"],"photo_ids_order":["1371908132","1371908135","1371908138","1371908140","1371908141","1371908143"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dae20edae6e0ef37c878dfefc7d3010b.jpg","text":"TemporaryFile(/tmp/multipartBody380000031288357038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336964487,"filename":"image_12072025_17_53_24_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef1eae75de4a1ad9d335f97ffd5847b0.jpg","text":"TemporaryFile(/tmp/multipartBody1884123840865102703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336964487,"filename":"image_12072025_17_52_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83549c159fc71d8feaa8ae4c1fcede37.jpg","text":"TemporaryFile(/tmp/multipartBody5876081330540575869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336964487,"filename":"image_12072025_17_53_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94b587d6a08e8fc7210544aaf84b5a47.jpg","text":"TemporaryFile(/tmp/multipartBody3936314511638624527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336964487,"filename":"image_12072025_17_53_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b0a07ca5a5068caef36f4ab90406f97.jpg","text":"TemporaryFile(/tmp/multipartBody2743063265441001589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336964487,"filename":"image_12072025_17_53_04_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b476e45de1b0fd6057a2801e12b45649.jpg","text":"TemporaryFile(/tmp/multipartBody4136672361804411642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752336964487,"filename":"image_12072025_17_53_34_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908138","file1":"1371908135","file0":"1371908132","file4":"1371908141","file5":"1371908143","file3":"1371908140"},"map_files_photo_id_array":[{"photo_id":"1371908143","filename":"file5"},{"photo_id":"1371908138","filename":"file2"},{"photo_id":"1371908141","filename":"file4"},{"photo_id":"1371908135","filename":"file1"},{"photo_id":"1371908132","filename":"file0"},{"photo_id":"1371908140","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908138":["hashtag1","hashtag2"]},{"1371908143":["hashtag1","hashtag2"]},{"1371908140":["hashtag1","hashtag2"]},{"1371908132":["hashtag1","hashtag2"]},{"1371908141":["hashtag1","hashtag2"]},{"1371908135":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908138, 1371908143, 1371908140, 1371908132, 1371908141, 1371908135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88632941246033 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:15:47.003551
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_44_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_34_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_24_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_13_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/18/14/image_12072025_18_15_04_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_44_10628.jpg', '/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_34_9619.jpg', '/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_24_10633.jpg', '/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_13_9641.jpg', '/home/nano/Desktop/images/12072025/18/14/image_12072025_18_15_04_9624.jpg', '/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_44_10628.jpg
/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_34_9619.jpg
/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_24_10633.jpg
/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_13_9641.jpg
/home/nano/Desktop/images/12072025/18/14/image_12072025_18_15_04_9624.jpg
/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_54_10637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8733296394348145 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:16:02.566942
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_44_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_34_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_24_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_13_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/18/14/image_12072025_18_15_04_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_44_10628.jpg', '/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_34_9619.jpg', '/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_24_10633.jpg', '/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_13_9641.jpg', '/home/nano/Desktop/images/12072025/18/14/image_12072025_18_15_04_9624.jpg', '/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_44_10628.jpg
/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_34_9619.jpg
/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_24_10633.jpg
/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_13_9641.jpg
/home/nano/Desktop/images/12072025/18/14/image_12072025_18_15_04_9624.jpg
/home/nano/Desktop/images/12072025/18/14/image_12072025_18_14_54_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908161","1371908170","1371908158","1371908173","1371908167","1371908165"],"photo_ids_order":["1371908158","1371908161","1371908165","1371908167","1371908170","1371908173"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e50bcb71d7a82e4405967db6b6a969d7.jpg","text":"TemporaryFile(/tmp/multipartBody6233177988871937865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337023904,"filename":"image_12072025_18_15_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f671bd65677d56c69381a121a844433a.jpg","text":"TemporaryFile(/tmp/multipartBody6708155146894236718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337023904,"filename":"image_12072025_18_15_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f21b8366e5fe5c3ae1aec4d922011af3.jpg","text":"TemporaryFile(/tmp/multipartBody2408479473926433569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337023904,"filename":"image_12072025_18_15_44_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1886c65811c8149f844f867d237829da.jpg","text":"TemporaryFile(/tmp/multipartBody7720255268624784268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337023904,"filename":"image_12072025_18_14_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46db9854b41839c2443e0e6cf8fd136f.jpg","text":"TemporaryFile(/tmp/multipartBody3163959147859987743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337023904,"filename":"image_12072025_18_15_13_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f27dd0abf15bcd4d8e77fa5a60668bc.jpg","text":"TemporaryFile(/tmp/multipartBody8456189002360380448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337023904,"filename":"image_12072025_18_15_24_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908165","file1":"1371908161","file0":"1371908158","file4":"1371908170","file5":"1371908173","file3":"1371908167"},"map_files_photo_id_array":[{"photo_id":"1371908173","filename":"file5"},{"photo_id":"1371908165","filename":"file2"},{"photo_id":"1371908170","filename":"file4"},{"photo_id":"1371908161","filename":"file1"},{"photo_id":"1371908158","filename":"file0"},{"photo_id":"1371908167","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908161":["hashtag1","hashtag2"]},{"1371908170":["hashtag1","hashtag2"]},{"1371908158":["hashtag1","hashtag2"]},{"1371908173":["hashtag1","hashtag2"]},{"1371908167":["hashtag1","hashtag2"]},{"1371908165":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908161, 1371908170, 1371908158, 1371908173, 1371908167, 1371908165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.960575103759766 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:16:47.125121
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_33_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_24_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_14_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/18/15/image_12072025_18_16_04_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_44_10647.jpg', '/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_33_9624.jpg', '/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_24_9607.jpg', '/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_14_10654.jpg', '/home/nano/Desktop/images/12072025/18/15/image_12072025_18_16_04_9625.jpg', '/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_54_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_44_10647.jpg
/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_33_9624.jpg
/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_24_9607.jpg
/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_14_10654.jpg
/home/nano/Desktop/images/12072025/18/15/image_12072025_18_16_04_9625.jpg
/home/nano/Desktop/images/12072025/18/15/image_12072025_18_15_54_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908185","1371908179","1371908190","1371908187","1371908181","1371908183"],"photo_ids_order":["1371908179","1371908181","1371908183","1371908185","1371908187","1371908190"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00bcadd8643f16640e719348d13a77a8.jpg","text":"TemporaryFile(/tmp/multipartBody2850050895192220873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337069009,"filename":"image_12072025_18_16_14_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16cc98d0166bab431ad95825ff503faf.jpg","text":"TemporaryFile(/tmp/multipartBody5784481189068820574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337069009,"filename":"image_12072025_18_16_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fff3983b660cb7b591a852abae30af4.jpg","text":"TemporaryFile(/tmp/multipartBody1408204288855730530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337069009,"filename":"image_12072025_18_15_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c921853cf712407dbd67d3b1b8679558.jpg","text":"TemporaryFile(/tmp/multipartBody1573841540826554425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337069009,"filename":"image_12072025_18_16_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a8d7b5e5106aed52ea52ac664bfff1f.jpg","text":"TemporaryFile(/tmp/multipartBody2531974117195127797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337069009,"filename":"image_12072025_18_16_33_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb1286b8395ac02235e6116449772fa5.jpg","text":"TemporaryFile(/tmp/multipartBody7636430970640409242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337069009,"filename":"image_12072025_18_16_24_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908183","file1":"1371908181","file0":"1371908179","file4":"1371908187","file5":"1371908190","file3":"1371908185"},"map_files_photo_id_array":[{"photo_id":"1371908190","filename":"file5"},{"photo_id":"1371908183","filename":"file2"},{"photo_id":"1371908187","filename":"file4"},{"photo_id":"1371908181","filename":"file1"},{"photo_id":"1371908179","filename":"file0"},{"photo_id":"1371908185","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908185":["hashtag1","hashtag2"]},{"1371908179":["hashtag1","hashtag2"]},{"1371908190":["hashtag1","hashtag2"]},{"1371908187":["hashtag1","hashtag2"]},{"1371908181":["hashtag1","hashtag2"]},{"1371908183":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908185, 1371908179, 1371908190, 1371908187, 1371908181, 1371908183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.90423560142517 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:17:32.236268
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_44_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_34_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_24_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_14_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/18/16/image_12072025_18_17_03_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_54_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_44_9605.jpg', '/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_34_10643.jpg', '/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_24_9643.jpg', '/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_14_10655.jpg', '/home/nano/Desktop/images/12072025/18/16/image_12072025_18_17_03_9647.jpg', '/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_44_9605.jpg
/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_34_10643.jpg
/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_24_9643.jpg
/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_14_10655.jpg
/home/nano/Desktop/images/12072025/18/16/image_12072025_18_17_03_9647.jpg
/home/nano/Desktop/images/12072025/18/16/image_12072025_18_16_54_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908201","1371908194","1371908199","1371908203","1371908196","1371908195"],"photo_ids_order":["1371908194","1371908195","1371908196","1371908199","1371908201","1371908203"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0db40f27873a15180b3a7d194f7c9f6b.jpg","text":"TemporaryFile(/tmp/multipartBody8412319593101077408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337114093,"filename":"image_12072025_18_17_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efa3713b92ce575fcd5fdc1f735a9dae.jpg","text":"TemporaryFile(/tmp/multipartBody7019378439317923277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337114093,"filename":"image_12072025_18_17_44_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d99c7c513db3013b3993f069026fce51.jpg","text":"TemporaryFile(/tmp/multipartBody6757356074744160173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337114093,"filename":"image_12072025_18_17_14_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18967e1a17d2b73e4e7b88ef1b8ab91c.jpg","text":"TemporaryFile(/tmp/multipartBody3826192533164070213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337114093,"filename":"image_12072025_18_16_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c4cae25e51319b1ae03ef0a30f000fc8.jpg","text":"TemporaryFile(/tmp/multipartBody1995943927994380627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337114093,"filename":"image_12072025_18_17_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88871764c59e5d24d5f6029b568cb1b1.jpg","text":"TemporaryFile(/tmp/multipartBody539564962609055454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337114093,"filename":"image_12072025_18_17_34_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908196","file1":"1371908195","file0":"1371908194","file4":"1371908201","file5":"1371908203","file3":"1371908199"},"map_files_photo_id_array":[{"photo_id":"1371908203","filename":"file5"},{"photo_id":"1371908196","filename":"file2"},{"photo_id":"1371908201","filename":"file4"},{"photo_id":"1371908195","filename":"file1"},{"photo_id":"1371908194","filename":"file0"},{"photo_id":"1371908199","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908201":["hashtag1","hashtag2"]},{"1371908194":["hashtag1","hashtag2"]},{"1371908199":["hashtag1","hashtag2"]},{"1371908203":["hashtag1","hashtag2"]},{"1371908196":["hashtag1","hashtag2"]},{"1371908195":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908201, 1371908194, 1371908199, 1371908203, 1371908196, 1371908195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.47082829475403 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:18:17.331677
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_44_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_34_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_23_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_14_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/18/17/image_12072025_18_18_04_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_54_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_44_9615.jpg', '/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_34_10647.jpg', '/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_23_9623.jpg', '/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_14_9635.jpg', '/home/nano/Desktop/images/12072025/18/17/image_12072025_18_18_04_10677.jpg', '/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_54_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_44_9615.jpg
/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_34_10647.jpg
/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_23_9623.jpg
/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_14_9635.jpg
/home/nano/Desktop/images/12072025/18/17/image_12072025_18_18_04_10677.jpg
/home/nano/Desktop/images/12072025/18/17/image_12072025_18_17_54_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908216","1371908210","1371908212","1371908215","1371908214","1371908213"],"photo_ids_order":["1371908210","1371908212","1371908213","1371908214","1371908215","1371908216"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fdd0ac188caf4bc78976b35f633cdf6.jpg","text":"TemporaryFile(/tmp/multipartBody5990725977082025925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337159052,"filename":"image_12072025_18_17_54_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4d9f1472932b4ef5973ddd92d5860fb.jpg","text":"TemporaryFile(/tmp/multipartBody2011926773483145775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337159052,"filename":"image_12072025_18_18_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba7839e5006222b5155c7e75c498c5e5.jpg","text":"TemporaryFile(/tmp/multipartBody3992282863369614100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337159052,"filename":"image_12072025_18_18_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/793949b452475a436796bacf54e9a834.jpg","text":"TemporaryFile(/tmp/multipartBody1112826193346009913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337159052,"filename":"image_12072025_18_18_04_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f493a2b518ff6f28ecffe8580178f76.jpg","text":"TemporaryFile(/tmp/multipartBody1780379690927250021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337159052,"filename":"image_12072025_18_18_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d7ec5776fc0830c5553985a650eb101.jpg","text":"TemporaryFile(/tmp/multipartBody3805386550211299783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337159052,"filename":"image_12072025_18_18_23_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908213","file1":"1371908212","file0":"1371908210","file4":"1371908215","file5":"1371908216","file3":"1371908214"},"map_files_photo_id_array":[{"photo_id":"1371908216","filename":"file5"},{"photo_id":"1371908213","filename":"file2"},{"photo_id":"1371908215","filename":"file4"},{"photo_id":"1371908212","filename":"file1"},{"photo_id":"1371908210","filename":"file0"},{"photo_id":"1371908214","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908216":["hashtag1","hashtag2"]},{"1371908210":["hashtag1","hashtag2"]},{"1371908212":["hashtag1","hashtag2"]},{"1371908215":["hashtag1","hashtag2"]},{"1371908214":["hashtag1","hashtag2"]},{"1371908213":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908216, 1371908210, 1371908212, 1371908215, 1371908214, 1371908213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.367383003234863 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:19:03.244175
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_44_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_34_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_23_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_14_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/17/51/image_12072025_17_52_04_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_53_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_44_9624.jpg', '/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_34_10629.jpg', '/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_23_9617.jpg', '/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_14_9652.jpg', '/home/nano/Desktop/images/12072025/17/51/image_12072025_17_52_04_10660.jpg', '/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_53_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_44_9624.jpg
/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_34_10629.jpg
/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_23_9617.jpg
/home/nano/Desktop/images/12072025/17/52/image_12072025_17_52_14_9652.jpg
/home/nano/Desktop/images/12072025/17/51/image_12072025_17_52_04_10660.jpg
/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_53_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908230","1371908224","1371908229","1371908232","1371908226","1371908228"],"photo_ids_order":["1371908224","1371908226","1371908228","1371908229","1371908230","1371908232"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62fb3acda31c04ffa1a8986604383458.jpg","text":"TemporaryFile(/tmp/multipartBody3560049396540706375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337205181,"filename":"image_12072025_17_52_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56c8d08f874e7e0ce54f7f8192c751f6.jpg","text":"TemporaryFile(/tmp/multipartBody2746644285928518511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337205181,"filename":"image_12072025_17_52_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3bb733132430a602f95de55a0b1eff4.jpg","text":"TemporaryFile(/tmp/multipartBody7064513379758238865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337205181,"filename":"image_12072025_17_52_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa21bcae39303ab54b6c7c5f0fb8a79a.jpg","text":"TemporaryFile(/tmp/multipartBody610276882254355463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337205181,"filename":"image_12072025_17_51_53_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90517e86e6f5a8ad6904617c1e99cead.jpg","text":"TemporaryFile(/tmp/multipartBody1633304304745231266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337205181,"filename":"image_12072025_17_52_34_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5071b21055af7fe5688ef2e722bc23a6.jpg","text":"TemporaryFile(/tmp/multipartBody5038622690557654635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337205181,"filename":"image_12072025_17_52_23_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908228","file1":"1371908226","file0":"1371908224","file4":"1371908230","file5":"1371908232","file3":"1371908229"},"map_files_photo_id_array":[{"photo_id":"1371908232","filename":"file5"},{"photo_id":"1371908228","filename":"file2"},{"photo_id":"1371908230","filename":"file4"},{"photo_id":"1371908226","filename":"file1"},{"photo_id":"1371908224","filename":"file0"},{"photo_id":"1371908229","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908230":["hashtag1","hashtag2"]},{"1371908224":["hashtag1","hashtag2"]},{"1371908229":["hashtag1","hashtag2"]},{"1371908232":["hashtag1","hashtag2"]},{"1371908226":["hashtag1","hashtag2"]},{"1371908228":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908230, 1371908224, 1371908229, 1371908232, 1371908226, 1371908228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93624544143677 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:19:47.400755
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_44_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_34_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_24_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_14_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/18/18/image_12072025_18_19_04_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_44_9615.jpg', '/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_34_9631.jpg', '/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_24_10648.jpg', '/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_14_9648.jpg', '/home/nano/Desktop/images/12072025/18/18/image_12072025_18_19_04_10635.jpg', '/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_44_9615.jpg
/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_34_9631.jpg
/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_24_10648.jpg
/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_14_9648.jpg
/home/nano/Desktop/images/12072025/18/18/image_12072025_18_19_04_10635.jpg
/home/nano/Desktop/images/12072025/18/18/image_12072025_18_18_53_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908243","1371908245","1371908247","1371908250","1371908252","1371908255"],"photo_ids_order":["1371908243","1371908245","1371908247","1371908250","1371908252","1371908255"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6203b18ccea3ba3b0a24b5915dc1ee6d.jpg","text":"TemporaryFile(/tmp/multipartBody2253721239923090364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337249198,"filename":"image_12072025_18_19_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e74863ed358df1bf7116636e1d98ae6e.jpg","text":"TemporaryFile(/tmp/multipartBody7148935141914131746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337249198,"filename":"image_12072025_18_19_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2113d5ae7ace97429a862ab6a7a9cc45.jpg","text":"TemporaryFile(/tmp/multipartBody1902529393262575204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337249198,"filename":"image_12072025_18_19_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9fcaf8e973df4639f612acdee216c7bb.jpg","text":"TemporaryFile(/tmp/multipartBody3273481007132599603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337249198,"filename":"image_12072025_18_19_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9b334392cb8558903798b5bae7c9f77.jpg","text":"TemporaryFile(/tmp/multipartBody3047080289119784413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337249198,"filename":"image_12072025_18_19_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26eff4cd8415f9dc03d3f5eda0d737ad.jpg","text":"TemporaryFile(/tmp/multipartBody723977636215860888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337249198,"filename":"image_12072025_18_18_53_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908247","file1":"1371908245","file0":"1371908243","file4":"1371908252","file5":"1371908255","file3":"1371908250"},"map_files_photo_id_array":[{"photo_id":"1371908255","filename":"file5"},{"photo_id":"1371908247","filename":"file2"},{"photo_id":"1371908252","filename":"file4"},{"photo_id":"1371908245","filename":"file1"},{"photo_id":"1371908243","filename":"file0"},{"photo_id":"1371908250","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908243":["hashtag1","hashtag2"]},{"1371908245":["hashtag1","hashtag2"]},{"1371908247":["hashtag1","hashtag2"]},{"1371908250":["hashtag1","hashtag2"]},{"1371908252":["hashtag1","hashtag2"]},{"1371908255":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908243, 1371908245, 1371908247, 1371908250, 1371908252, 1371908255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82406258583069 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:20:32.532603
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_43_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_34_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_24_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/18/19/image_12072025_18_20_04_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_43_9610.jpg', '/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_34_9616.jpg', '/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_24_10637.jpg', '/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_13_9657.jpg', '/home/nano/Desktop/images/12072025/18/19/image_12072025_18_20_04_9641.jpg', '/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_43_9610.jpg
/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_34_9616.jpg
/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_24_10637.jpg
/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_13_9657.jpg
/home/nano/Desktop/images/12072025/18/19/image_12072025_18_20_04_9641.jpg
/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_54_10637.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9234020709991455 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:20:47.527417
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_43_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_34_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_24_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_13_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/18/19/image_12072025_18_20_04_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_43_9610.jpg', '/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_34_9616.jpg', '/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_24_10637.jpg', '/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_13_9657.jpg', '/home/nano/Desktop/images/12072025/18/19/image_12072025_18_20_04_9641.jpg', '/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_43_9610.jpg
/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_34_9616.jpg
/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_24_10637.jpg
/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_13_9657.jpg
/home/nano/Desktop/images/12072025/18/19/image_12072025_18_20_04_9641.jpg
/home/nano/Desktop/images/12072025/18/19/image_12072025_18_19_54_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908269","1371908266","1371908262","1371908276","1371908270","1371908273"],"photo_ids_order":["1371908262","1371908266","1371908269","1371908270","1371908273","1371908276"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e79d5c55f242526ed6483d641ce9cbc.jpg","text":"TemporaryFile(/tmp/multipartBody2033551813543431262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337309151,"filename":"image_12072025_18_20_24_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e67d20c6bc1f204d65c61d5416065924.jpg","text":"TemporaryFile(/tmp/multipartBody174676341892730584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337309151,"filename":"image_12072025_18_20_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5594e8d29e416f9af0f59b73865715b3.jpg","text":"TemporaryFile(/tmp/multipartBody3060913059448016405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337309151,"filename":"image_12072025_18_20_43_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d045452a2df0226aca2b6d768a20b50.jpg","text":"TemporaryFile(/tmp/multipartBody8833002470526305250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337309151,"filename":"image_12072025_18_19_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc9020e79d75f0081164e52fd9ebe78e.jpg","text":"TemporaryFile(/tmp/multipartBody4960591032646650705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337309151,"filename":"image_12072025_18_20_13_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3226ea9b99a514d3f2bed4c3c2e3df7c.jpg","text":"TemporaryFile(/tmp/multipartBody804989435046462259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337309151,"filename":"image_12072025_18_20_04_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908269","file1":"1371908266","file0":"1371908262","file4":"1371908273","file5":"1371908276","file3":"1371908270"},"map_files_photo_id_array":[{"photo_id":"1371908276","filename":"file5"},{"photo_id":"1371908269","filename":"file2"},{"photo_id":"1371908273","filename":"file4"},{"photo_id":"1371908266","filename":"file1"},{"photo_id":"1371908262","filename":"file0"},{"photo_id":"1371908270","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908269":["hashtag1","hashtag2"]},{"1371908266":["hashtag1","hashtag2"]},{"1371908262":["hashtag1","hashtag2"]},{"1371908276":["hashtag1","hashtag2"]},{"1371908270":["hashtag1","hashtag2"]},{"1371908273":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908269, 1371908266, 1371908262, 1371908276, 1371908270, 1371908273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.88084387779236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:21:32.620914
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_44_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_33_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_24_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_14_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/18/20/image_12072025_18_21_04_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_44_10629.jpg', '/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_33_9635.jpg', '/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_24_9630.jpg', '/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_14_10640.jpg', '/home/nano/Desktop/images/12072025/18/20/image_12072025_18_21_04_9637.jpg', '/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_44_10629.jpg
/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_33_9635.jpg
/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_24_9630.jpg
/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_14_10640.jpg
/home/nano/Desktop/images/12072025/18/20/image_12072025_18_21_04_9637.jpg
/home/nano/Desktop/images/12072025/18/20/image_12072025_18_20_54_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908281","1371908283","1371908292","1371908289","1371908294","1371908285"],"photo_ids_order":["1371908281","1371908283","1371908285","1371908289","1371908292","1371908294"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9aa3a04b076e517d00fc354ff6925329.jpg","text":"TemporaryFile(/tmp/multipartBody8995143756870001621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337354501,"filename":"image_12072025_18_21_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb98c88479b05ecf7ff57f7cdeec5a72.jpg","text":"TemporaryFile(/tmp/multipartBody927328345382409882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337354501,"filename":"image_12072025_18_21_33_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33475aadaaca07816ffb226cb6e7267b.jpg","text":"TemporaryFile(/tmp/multipartBody547007313420927916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337354501,"filename":"image_12072025_18_21_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96668ec97e37bc3b958b5994da1fbd92.jpg","text":"TemporaryFile(/tmp/multipartBody6214725487473598469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337354501,"filename":"image_12072025_18_21_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c7d479b01d44cb2a20ccf93221bc13c.jpg","text":"TemporaryFile(/tmp/multipartBody7805073020661051746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337354501,"filename":"image_12072025_18_20_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38da580bc7631e5accd032e5717b7056.jpg","text":"TemporaryFile(/tmp/multipartBody4007814511660908697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337354501,"filename":"image_12072025_18_21_24_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908285","file1":"1371908283","file0":"1371908281","file4":"1371908292","file5":"1371908294","file3":"1371908289"},"map_files_photo_id_array":[{"photo_id":"1371908294","filename":"file5"},{"photo_id":"1371908285","filename":"file2"},{"photo_id":"1371908292","filename":"file4"},{"photo_id":"1371908283","filename":"file1"},{"photo_id":"1371908281","filename":"file0"},{"photo_id":"1371908289","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908281":["hashtag1","hashtag2"]},{"1371908283":["hashtag1","hashtag2"]},{"1371908292":["hashtag1","hashtag2"]},{"1371908289":["hashtag1","hashtag2"]},{"1371908294":["hashtag1","hashtag2"]},{"1371908285":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908281, 1371908283, 1371908292, 1371908289, 1371908294, 1371908285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46229076385498 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:22:17.839833
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_44_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_33_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_24_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_14_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/18/21/image_12072025_18_22_03_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_44_10634.jpg', '/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_33_9638.jpg', '/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_24_9635.jpg', '/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_14_10653.jpg', '/home/nano/Desktop/images/12072025/18/21/image_12072025_18_22_03_9635.jpg', '/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_44_10634.jpg
/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_33_9638.jpg
/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_24_9635.jpg
/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_14_10653.jpg
/home/nano/Desktop/images/12072025/18/21/image_12072025_18_22_03_9635.jpg
/home/nano/Desktop/images/12072025/18/21/image_12072025_18_21_54_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908300","1371908299","1371908303","1371908305","1371908302","1371908307"],"photo_ids_order":["1371908299","1371908300","1371908302","1371908303","1371908305","1371908307"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06a5d2720db69422b6ca9f036e79b214.jpg","text":"TemporaryFile(/tmp/multipartBody4258630170828127641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337399661,"filename":"image_12072025_18_22_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d914e36ab5be864b6355d2a23c648860.jpg","text":"TemporaryFile(/tmp/multipartBody4535952468736086019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337399661,"filename":"image_12072025_18_22_44_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f12b89709e5861d726b732e6eaad920.jpg","text":"TemporaryFile(/tmp/multipartBody4333847254392833343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337399661,"filename":"image_12072025_18_22_14_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7f3ccafc6805da8b33b9d17dd0191f1.jpg","text":"TemporaryFile(/tmp/multipartBody7397825528076153720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337399661,"filename":"image_12072025_18_22_03_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/411ffabea1d49390397a9168c5cf4056.jpg","text":"TemporaryFile(/tmp/multipartBody4297181940801320162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337399661,"filename":"image_12072025_18_22_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1eaa50f2c3fab250ae568bb748ad0889.jpg","text":"TemporaryFile(/tmp/multipartBody8474901279576070085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337399661,"filename":"image_12072025_18_21_54_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908302","file1":"1371908300","file0":"1371908299","file4":"1371908305","file5":"1371908307","file3":"1371908303"},"map_files_photo_id_array":[{"photo_id":"1371908307","filename":"file5"},{"photo_id":"1371908302","filename":"file2"},{"photo_id":"1371908305","filename":"file4"},{"photo_id":"1371908300","filename":"file1"},{"photo_id":"1371908299","filename":"file0"},{"photo_id":"1371908303","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908300":["hashtag1","hashtag2"]},{"1371908299":["hashtag1","hashtag2"]},{"1371908303":["hashtag1","hashtag2"]},{"1371908305":["hashtag1","hashtag2"]},{"1371908302":["hashtag1","hashtag2"]},{"1371908307":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908300, 1371908299, 1371908303, 1371908305, 1371908302, 1371908307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66726541519165 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:23:02.493674
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_44_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_34_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_24_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_14_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/17/50/image_12072025_17_51_03_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_54_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_44_9618.jpg', '/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_34_10660.jpg', '/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_24_9643.jpg', '/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_14_10647.jpg', '/home/nano/Desktop/images/12072025/17/50/image_12072025_17_51_03_9655.jpg', '/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_54_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_44_9618.jpg
/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_34_10660.jpg
/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_24_9643.jpg
/home/nano/Desktop/images/12072025/17/51/image_12072025_17_51_14_10647.jpg
/home/nano/Desktop/images/12072025/17/50/image_12072025_17_51_03_9655.jpg
/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_54_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908321","1371908320","1371908314","1371908317","1371908316","1371908319"],"photo_ids_order":["1371908314","1371908316","1371908317","1371908319","1371908320","1371908321"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e135dc333e35af7e6510932d9c26497.jpg","text":"TemporaryFile(/tmp/multipartBody9064505128412833716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337444156,"filename":"image_12072025_17_50_54_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7ff4d9ee5d8ba97c2689f8952573e6e.jpg","text":"TemporaryFile(/tmp/multipartBody3919530582872044969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337444156,"filename":"image_12072025_17_51_03_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5b05381254e84bc3749be769965d308.jpg","text":"TemporaryFile(/tmp/multipartBody1775565055577556008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337444156,"filename":"image_12072025_17_51_44_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da65fd43ac9a8f6694a6c0ce37a22b53.jpg","text":"TemporaryFile(/tmp/multipartBody6656759949463295974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337444156,"filename":"image_12072025_17_51_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/835646220cac4e4637ac09fa6175788b.jpg","text":"TemporaryFile(/tmp/multipartBody8231962423765293622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337444156,"filename":"image_12072025_17_51_34_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba092e063fd3cff26404c20c3bf31010.jpg","text":"TemporaryFile(/tmp/multipartBody4515233397511883257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337444156,"filename":"image_12072025_17_51_14_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908317","file1":"1371908316","file0":"1371908314","file4":"1371908320","file5":"1371908321","file3":"1371908319"},"map_files_photo_id_array":[{"photo_id":"1371908321","filename":"file5"},{"photo_id":"1371908317","filename":"file2"},{"photo_id":"1371908320","filename":"file4"},{"photo_id":"1371908316","filename":"file1"},{"photo_id":"1371908314","filename":"file0"},{"photo_id":"1371908319","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908321":["hashtag1","hashtag2"]},{"1371908320":["hashtag1","hashtag2"]},{"1371908314":["hashtag1","hashtag2"]},{"1371908317":["hashtag1","hashtag2"]},{"1371908316":["hashtag1","hashtag2"]},{"1371908319":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908321, 1371908320, 1371908314, 1371908317, 1371908316, 1371908319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80037331581116 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:23:46.859749
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_44_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_34_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_23_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_14_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/18/22/image_12072025_18_23_04_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_54_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_44_9622.jpg', '/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_34_10633.jpg', '/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_23_9629.jpg', '/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_14_9666.jpg', '/home/nano/Desktop/images/12072025/18/22/image_12072025_18_23_04_10635.jpg', '/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_54_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_44_9622.jpg
/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_34_10633.jpg
/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_23_9629.jpg
/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_14_9666.jpg
/home/nano/Desktop/images/12072025/18/22/image_12072025_18_23_04_10635.jpg
/home/nano/Desktop/images/12072025/18/22/image_12072025_18_22_54_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908324","1371908326","1371908328","1371908331","1371908330","1371908333"],"photo_ids_order":["1371908324","1371908326","1371908328","1371908330","1371908331","1371908333"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bdadb2cf83bc303f511bcf1dad48a53b.jpg","text":"TemporaryFile(/tmp/multipartBody576541236247867807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337488978,"filename":"image_12072025_18_23_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d003225e3d950efae15f6cbee929641.jpg","text":"TemporaryFile(/tmp/multipartBody3351931861763738213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337488978,"filename":"image_12072025_18_23_34_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8d7fd1696d9f960e83d00a6cd348b7c.jpg","text":"TemporaryFile(/tmp/multipartBody6118298752591947209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337488978,"filename":"image_12072025_18_23_23_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7247406f7992e0f94bf92114a83081a1.jpg","text":"TemporaryFile(/tmp/multipartBody3740189504766207446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337488978,"filename":"image_12072025_18_23_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c670a88b5a00b1d85d5c1e7fe77aceea.jpg","text":"TemporaryFile(/tmp/multipartBody3912290671687822912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337488978,"filename":"image_12072025_18_23_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87156b1766332beeb7dc7592c167c4df.jpg","text":"TemporaryFile(/tmp/multipartBody3657800040359474602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337488978,"filename":"image_12072025_18_22_54_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908328","file1":"1371908326","file0":"1371908324","file4":"1371908331","file5":"1371908333","file3":"1371908330"},"map_files_photo_id_array":[{"photo_id":"1371908333","filename":"file5"},{"photo_id":"1371908328","filename":"file2"},{"photo_id":"1371908331","filename":"file4"},{"photo_id":"1371908326","filename":"file1"},{"photo_id":"1371908324","filename":"file0"},{"photo_id":"1371908330","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908324":["hashtag1","hashtag2"]},{"1371908326":["hashtag1","hashtag2"]},{"1371908328":["hashtag1","hashtag2"]},{"1371908331":["hashtag1","hashtag2"]},{"1371908330":["hashtag1","hashtag2"]},{"1371908333":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908324, 1371908326, 1371908328, 1371908331, 1371908330, 1371908333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.653102159500122 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:24:31.968467
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_44_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_34_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_24_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_14_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/18/23/image_12072025_18_24_04_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_53_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_44_9624.jpg', '/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_34_9614.jpg', '/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_24_10629.jpg', '/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_14_9630.jpg', '/home/nano/Desktop/images/12072025/18/23/image_12072025_18_24_04_10656.jpg', '/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_53_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_44_9624.jpg
/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_34_9614.jpg
/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_24_10629.jpg
/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_14_9630.jpg
/home/nano/Desktop/images/12072025/18/23/image_12072025_18_24_04_10656.jpg
/home/nano/Desktop/images/12072025/18/23/image_12072025_18_23_53_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908342","1371908341","1371908344","1371908338","1371908337","1371908339"],"photo_ids_order":["1371908337","1371908338","1371908339","1371908341","1371908342","1371908344"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1d9dacbb7cc9a40d87835d581be432e.jpg","text":"TemporaryFile(/tmp/multipartBody2910771763485221677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337533606,"filename":"image_12072025_18_24_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a79573bb07cb86f998fad77b5d819938.jpg","text":"TemporaryFile(/tmp/multipartBody4120831003274272949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337533606,"filename":"image_12072025_18_24_14_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c3cd56e403bee56fcde5bcf2c25aac35.jpg","text":"TemporaryFile(/tmp/multipartBody5402484717429257935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337533606,"filename":"image_12072025_18_23_53_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f71c0fc89f86ab2e6d9b10233672640.jpg","text":"TemporaryFile(/tmp/multipartBody1243269713396102114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337533606,"filename":"image_12072025_18_24_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/855b6296139cf3983ead3cca7fb362f8.jpg","text":"TemporaryFile(/tmp/multipartBody1840509659818124437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337533606,"filename":"image_12072025_18_24_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a101c7d7adcfee4ab3dfeb16739ffeb.jpg","text":"TemporaryFile(/tmp/multipartBody2658867655825678171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337533606,"filename":"image_12072025_18_24_24_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908339","file1":"1371908338","file0":"1371908337","file4":"1371908342","file5":"1371908344","file3":"1371908341"},"map_files_photo_id_array":[{"photo_id":"1371908344","filename":"file5"},{"photo_id":"1371908339","filename":"file2"},{"photo_id":"1371908342","filename":"file4"},{"photo_id":"1371908338","filename":"file1"},{"photo_id":"1371908337","filename":"file0"},{"photo_id":"1371908341","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908342":["hashtag1","hashtag2"]},{"1371908341":["hashtag1","hashtag2"]},{"1371908344":["hashtag1","hashtag2"]},{"1371908338":["hashtag1","hashtag2"]},{"1371908337":["hashtag1","hashtag2"]},{"1371908339":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908342, 1371908341, 1371908344, 1371908338, 1371908337, 1371908339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.3120379447937 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:25:17.036673
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_43_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_34_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_24_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_13_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/18/24/image_12072025_18_25_04_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_54_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_43_9628.jpg', '/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_34_9631.jpg', '/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_24_10614.jpg', '/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_13_9663.jpg', '/home/nano/Desktop/images/12072025/18/24/image_12072025_18_25_04_9649.jpg', '/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_54_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_43_9628.jpg
/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_34_9631.jpg
/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_24_10614.jpg
/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_13_9663.jpg
/home/nano/Desktop/images/12072025/18/24/image_12072025_18_25_04_9649.jpg
/home/nano/Desktop/images/12072025/18/24/image_12072025_18_24_54_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908353","1371908352","1371908355","1371908349","1371908351","1371908354"],"photo_ids_order":["1371908349","1371908351","1371908352","1371908353","1371908354","1371908355"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/affbb64ecaddc89b472779b84ed132ee.jpg","text":"TemporaryFile(/tmp/multipartBody3783402130885569198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337578663,"filename":"image_12072025_18_25_13_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0ea180e9e96d77c26c78d93af45c310.jpg","text":"TemporaryFile(/tmp/multipartBody7028351738674714993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337578663,"filename":"image_12072025_18_25_24_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02a5c7c94984dcafa2db5cc631d481d0.jpg","text":"TemporaryFile(/tmp/multipartBody237578703061690054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337578663,"filename":"image_12072025_18_24_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/042c2169ceae9d14412eef8055e96983.jpg","text":"TemporaryFile(/tmp/multipartBody2731995111365435105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337578663,"filename":"image_12072025_18_25_43_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50a0c71322632b43eb3303ce8552b6be.jpg","text":"TemporaryFile(/tmp/multipartBody3017829674875362551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337578663,"filename":"image_12072025_18_25_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6186a9b8862bed06f52707c0fc8effe.jpg","text":"TemporaryFile(/tmp/multipartBody6056722075328206044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337578663,"filename":"image_12072025_18_25_04_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908352","file1":"1371908351","file0":"1371908349","file4":"1371908354","file5":"1371908355","file3":"1371908353"},"map_files_photo_id_array":[{"photo_id":"1371908355","filename":"file5"},{"photo_id":"1371908352","filename":"file2"},{"photo_id":"1371908354","filename":"file4"},{"photo_id":"1371908351","filename":"file1"},{"photo_id":"1371908349","filename":"file0"},{"photo_id":"1371908353","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908353":["hashtag1","hashtag2"]},{"1371908352":["hashtag1","hashtag2"]},{"1371908355":["hashtag1","hashtag2"]},{"1371908349":["hashtag1","hashtag2"]},{"1371908351":["hashtag1","hashtag2"]},{"1371908354":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908353, 1371908352, 1371908355, 1371908349, 1371908351, 1371908354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.021647691726685 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:26:02.619054
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_33_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_24_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_14_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/17/49/image_12072025_17_50_04_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_54_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_44_10647.jpg', '/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_33_9637.jpg', '/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_24_9615.jpg', '/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_14_10621.jpg', '/home/nano/Desktop/images/12072025/17/49/image_12072025_17_50_04_9608.jpg', '/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_54_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_44_10647.jpg
/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_33_9637.jpg
/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_24_9615.jpg
/home/nano/Desktop/images/12072025/17/50/image_12072025_17_50_14_10621.jpg
/home/nano/Desktop/images/12072025/17/49/image_12072025_17_50_04_9608.jpg
/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_54_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908374","1371908368","1371908362","1371908365","1371908372","1371908369"],"photo_ids_order":["1371908362","1371908365","1371908368","1371908369","1371908372","1371908374"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/427e9d1a4cbe9772d7a8595814cb801f.jpg","text":"TemporaryFile(/tmp/multipartBody3521064626328541446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337624174,"filename":"image_12072025_17_49_54_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e6d2594de743600e18a7ca454f02402.jpg","text":"TemporaryFile(/tmp/multipartBody6327284904060226321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337624174,"filename":"image_12072025_17_50_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c362b3a39ca97876716f1073516c653d.jpg","text":"TemporaryFile(/tmp/multipartBody331742380278529985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337624174,"filename":"image_12072025_17_50_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5cbaca984f914f51897e9f6179e8c4df.jpg","text":"TemporaryFile(/tmp/multipartBody7055371085643333859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337624174,"filename":"image_12072025_17_50_33_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e646a189123bf92d392cbda8b751b40.jpg","text":"TemporaryFile(/tmp/multipartBody5019782958008902841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337624174,"filename":"image_12072025_17_50_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c00e4c7b6d2d6a8aec92b816bc595ad0.jpg","text":"TemporaryFile(/tmp/multipartBody4588977019319045314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337624174,"filename":"image_12072025_17_50_14_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908368","file1":"1371908365","file0":"1371908362","file4":"1371908372","file5":"1371908374","file3":"1371908369"},"map_files_photo_id_array":[{"photo_id":"1371908374","filename":"file5"},{"photo_id":"1371908368","filename":"file2"},{"photo_id":"1371908372","filename":"file4"},{"photo_id":"1371908365","filename":"file1"},{"photo_id":"1371908362","filename":"file0"},{"photo_id":"1371908369","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908374":["hashtag1","hashtag2"]},{"1371908368":["hashtag1","hashtag2"]},{"1371908362":["hashtag1","hashtag2"]},{"1371908365":["hashtag1","hashtag2"]},{"1371908372":["hashtag1","hashtag2"]},{"1371908369":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908374, 1371908368, 1371908362, 1371908365, 1371908372, 1371908369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27857995033264 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:26:47.130292
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_44_10603.jpg', 2), ('/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_33_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_24_9591.jpg', 2), ('/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_14_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/18/25/image_12072025_18_26_04_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_54_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_44_10603.jpg', '/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_33_9609.jpg', '/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_24_9591.jpg', '/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_14_10641.jpg', '/home/nano/Desktop/images/12072025/18/25/image_12072025_18_26_04_9606.jpg', '/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_54_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_44_10603.jpg
/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_33_9609.jpg
/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_24_9591.jpg
/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_14_10641.jpg
/home/nano/Desktop/images/12072025/18/25/image_12072025_18_26_04_9606.jpg
/home/nano/Desktop/images/12072025/18/25/image_12072025_18_25_54_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908386","1371908391","1371908388","1371908381","1371908384","1371908378"],"photo_ids_order":["1371908378","1371908381","1371908384","1371908386","1371908388","1371908391"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d91598090ee60c3c0a0f8d520a211504.jpg","text":"TemporaryFile(/tmp/multipartBody8226244074966797718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337668908,"filename":"image_12072025_18_26_14_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de0e263d454a59fc09595d1876e87d6f.jpg","text":"TemporaryFile(/tmp/multipartBody1625493754744249549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337668908,"filename":"image_12072025_18_25_54_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3bf0ef072a9df941a5dfa565b4099046.jpg","text":"TemporaryFile(/tmp/multipartBody5835088298439562476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337668908,"filename":"image_12072025_18_26_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1180faf9cd307ce5d716a30e8db83c4.jpg","text":"TemporaryFile(/tmp/multipartBody8384922325273532317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337668908,"filename":"image_12072025_18_26_33_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/292a45b2d277e3de2d75edcce3b27384.jpg","text":"TemporaryFile(/tmp/multipartBody4134116226068587627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337668908,"filename":"image_12072025_18_26_24_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/656a63503229c0a95c0edc6c1fff87bd.jpg","text":"TemporaryFile(/tmp/multipartBody3990678508606003304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337668908,"filename":"image_12072025_18_26_44_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908384","file1":"1371908381","file0":"1371908378","file4":"1371908388","file5":"1371908391","file3":"1371908386"},"map_files_photo_id_array":[{"photo_id":"1371908391","filename":"file5"},{"photo_id":"1371908384","filename":"file2"},{"photo_id":"1371908388","filename":"file4"},{"photo_id":"1371908381","filename":"file1"},{"photo_id":"1371908378","filename":"file0"},{"photo_id":"1371908386","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908386":["hashtag1","hashtag2"]},{"1371908391":["hashtag1","hashtag2"]},{"1371908388":["hashtag1","hashtag2"]},{"1371908381":["hashtag1","hashtag2"]},{"1371908384":["hashtag1","hashtag2"]},{"1371908378":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908386, 1371908391, 1371908388, 1371908381, 1371908384, 1371908378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.464574098587036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:27:32.238160
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_44_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_34_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_23_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_14_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/18/26/image_12072025_18_27_04_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_54_9594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_44_9609.jpg', '/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_34_10626.jpg', '/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_23_9615.jpg', '/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_14_9630.jpg', '/home/nano/Desktop/images/12072025/18/26/image_12072025_18_27_04_10623.jpg', '/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_54_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_44_9609.jpg
/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_34_10626.jpg
/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_23_9615.jpg
/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_14_9630.jpg
/home/nano/Desktop/images/12072025/18/26/image_12072025_18_27_04_10623.jpg
/home/nano/Desktop/images/12072025/18/26/image_12072025_18_26_54_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908401","1371908409","1371908400","1371908403","1371908406","1371908399"],"photo_ids_order":["1371908399","1371908400","1371908401","1371908403","1371908406","1371908409"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce54a740bd2aedf68cd5994c51d17046.jpg","text":"TemporaryFile(/tmp/multipartBody6850241146851847469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337714648,"filename":"image_12072025_18_27_23_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b16f9d4815d46a5f8809ac82e6533f8.jpg","text":"TemporaryFile(/tmp/multipartBody5070130040988609096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337714648,"filename":"image_12072025_18_26_54_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d9a5f2a376122de81354e88861bf49e.jpg","text":"TemporaryFile(/tmp/multipartBody2479668583673404680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337714648,"filename":"image_12072025_18_27_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d517ca4588c519ecbc294c87508f1b1.jpg","text":"TemporaryFile(/tmp/multipartBody6799497783864225766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337714648,"filename":"image_12072025_18_27_14_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71869e536ca3f0ad443b473b9a4381cf.jpg","text":"TemporaryFile(/tmp/multipartBody8655439737925435386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337714648,"filename":"image_12072025_18_27_04_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e74eb812eceb8b69bab82d6ddb5c2a87.jpg","text":"TemporaryFile(/tmp/multipartBody2458265459063352343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337714648,"filename":"image_12072025_18_27_44_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908401","file1":"1371908400","file0":"1371908399","file4":"1371908406","file5":"1371908409","file3":"1371908403"},"map_files_photo_id_array":[{"photo_id":"1371908409","filename":"file5"},{"photo_id":"1371908401","filename":"file2"},{"photo_id":"1371908406","filename":"file4"},{"photo_id":"1371908400","filename":"file1"},{"photo_id":"1371908399","filename":"file0"},{"photo_id":"1371908403","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908401":["hashtag1","hashtag2"]},{"1371908409":["hashtag1","hashtag2"]},{"1371908400":["hashtag1","hashtag2"]},{"1371908403":["hashtag1","hashtag2"]},{"1371908406":["hashtag1","hashtag2"]},{"1371908399":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908401, 1371908409, 1371908400, 1371908403, 1371908406, 1371908399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.207204580307007 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:28:17.351251
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_43_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_34_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_24_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_14_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/18/27/image_12072025_18_28_04_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_53_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_43_9620.jpg', '/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_34_9614.jpg', '/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_24_10631.jpg', '/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_14_9635.jpg', '/home/nano/Desktop/images/12072025/18/27/image_12072025_18_28_04_10635.jpg', '/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_53_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_43_9620.jpg
/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_34_9614.jpg
/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_24_10631.jpg
/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_14_9635.jpg
/home/nano/Desktop/images/12072025/18/27/image_12072025_18_28_04_10635.jpg
/home/nano/Desktop/images/12072025/18/27/image_12072025_18_27_53_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908420","1371908423","1371908422","1371908419","1371908421","1371908418"],"photo_ids_order":["1371908418","1371908419","1371908420","1371908421","1371908422","1371908423"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8d8441fb03cc7d675797d515d793dbf.jpg","text":"TemporaryFile(/tmp/multipartBody6932928054867560270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337759063,"filename":"image_12072025_18_28_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7fe4711a7b66695614cd3adc9ccd236.jpg","text":"TemporaryFile(/tmp/multipartBody2899462358978323126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337759063,"filename":"image_12072025_18_27_53_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6bef11ce0b79c83d1d89bb6ce65f57c8.jpg","text":"TemporaryFile(/tmp/multipartBody5867395341820977791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337759063,"filename":"image_12072025_18_28_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed80e1f901e7afb32a6bc273246176ef.jpg","text":"TemporaryFile(/tmp/multipartBody3828413383153206752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337759063,"filename":"image_12072025_18_28_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8c23c0c7744ab921ba35bd92e7d05b5.jpg","text":"TemporaryFile(/tmp/multipartBody4390526017805596712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337759063,"filename":"image_12072025_18_28_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3bdfa01191cd62139e60c75b8d9fb717.jpg","text":"TemporaryFile(/tmp/multipartBody3210905341817409632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337759063,"filename":"image_12072025_18_28_43_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908420","file1":"1371908419","file0":"1371908418","file4":"1371908422","file5":"1371908423","file3":"1371908421"},"map_files_photo_id_array":[{"photo_id":"1371908423","filename":"file5"},{"photo_id":"1371908420","filename":"file2"},{"photo_id":"1371908422","filename":"file4"},{"photo_id":"1371908419","filename":"file1"},{"photo_id":"1371908418","filename":"file0"},{"photo_id":"1371908421","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908420":["hashtag1","hashtag2"]},{"1371908423":["hashtag1","hashtag2"]},{"1371908422":["hashtag1","hashtag2"]},{"1371908419":["hashtag1","hashtag2"]},{"1371908421":["hashtag1","hashtag2"]},{"1371908418":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908420, 1371908423, 1371908422, 1371908419, 1371908421, 1371908418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.649664640426636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:29:03.540271
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_54_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_44_10604.jpg', 2), ('/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_34_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_24_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_13_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/17/48/image_12072025_17_49_04_9687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_54_9621.jpg', '/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_44_10604.jpg', '/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_34_9624.jpg', '/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_24_10627.jpg', '/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_13_9650.jpg', '/home/nano/Desktop/images/12072025/17/48/image_12072025_17_49_04_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_54_9621.jpg
/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_44_10604.jpg
/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_34_9624.jpg
/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_24_10627.jpg
/home/nano/Desktop/images/12072025/17/49/image_12072025_17_49_13_9650.jpg
/home/nano/Desktop/images/12072025/17/48/image_12072025_17_49_04_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908435","1371908434","1371908437","1371908431","1371908436","1371908430"],"photo_ids_order":["1371908430","1371908431","1371908434","1371908435","1371908436","1371908437"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70b92ddd7136ba8d2acd4b50a69073b5.jpg","text":"TemporaryFile(/tmp/multipartBody6585009076989707397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337805067,"filename":"image_12072025_17_49_24_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e6e2d9f046805add94bc14a9cb1003d.jpg","text":"TemporaryFile(/tmp/multipartBody5005241219428987883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337805067,"filename":"image_12072025_17_49_34_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e08318cb8daed5f1ef1e31c4d91683df.jpg","text":"TemporaryFile(/tmp/multipartBody5365876659278792337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337805067,"filename":"image_12072025_17_49_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/426da8cc90ab86304fad0a18c2a4ff73.jpg","text":"TemporaryFile(/tmp/multipartBody5753624220005246264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337805067,"filename":"image_12072025_17_49_44_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33b8d080b24cb44ba563c719fd65efb8.jpg","text":"TemporaryFile(/tmp/multipartBody1879924238232426975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337805067,"filename":"image_12072025_17_49_13_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d7e3f6b50d463f437ce3714ae608689.jpg","text":"TemporaryFile(/tmp/multipartBody3583130980253445351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337805067,"filename":"image_12072025_18_29_54_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908434","file1":"1371908431","file0":"1371908430","file4":"1371908436","file5":"1371908437","file3":"1371908435"},"map_files_photo_id_array":[{"photo_id":"1371908437","filename":"file5"},{"photo_id":"1371908434","filename":"file2"},{"photo_id":"1371908436","filename":"file4"},{"photo_id":"1371908431","filename":"file1"},{"photo_id":"1371908430","filename":"file0"},{"photo_id":"1371908435","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908435":["hashtag1","hashtag2"]},{"1371908434":["hashtag1","hashtag2"]},{"1371908437":["hashtag1","hashtag2"]},{"1371908431":["hashtag1","hashtag2"]},{"1371908436":["hashtag1","hashtag2"]},{"1371908430":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908435, 1371908434, 1371908437, 1371908431, 1371908436, 1371908430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09142231941223 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:29:47.442427
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_34_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_24_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_13_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/18/28/image_12072025_18_29_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_54_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_34_9635.jpg', '/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_24_10634.jpg', '/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_13_9641.jpg', '/home/nano/Desktop/images/12072025/18/28/image_12072025_18_29_04_9626.jpg', '/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_54_10623.jpg', '/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_34_9635.jpg
/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_24_10634.jpg
/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_13_9641.jpg
/home/nano/Desktop/images/12072025/18/28/image_12072025_18_29_04_9626.jpg
/home/nano/Desktop/images/12072025/18/28/image_12072025_18_28_54_10623.jpg
/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_54_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908455","1371908449","1371908451","1371908448","1371908456","1371908453"],"photo_ids_order":["1371908448","1371908449","1371908451","1371908453","1371908455","1371908456"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/493bb8b7bb34a95f579345ce2a9684db.jpg","text":"TemporaryFile(/tmp/multipartBody3654717487644379449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337849310,"filename":"image_12072025_18_28_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/469ab269e67749fcceb4ed2a6079214d.jpg","text":"TemporaryFile(/tmp/multipartBody2753741443550997009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337849310,"filename":"image_12072025_18_29_24_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d40d04f9784c6cf00dabc455a85d07c7.jpg","text":"TemporaryFile(/tmp/multipartBody1782121453772533869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337849310,"filename":"image_12072025_18_29_13_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7471b5ac8e34724444a10305cf1c18c5.jpg","text":"TemporaryFile(/tmp/multipartBody8564685683829779941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337849310,"filename":"image_12072025_18_29_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e41e99b31c9ec1e8e1c664429f4d242.jpg","text":"TemporaryFile(/tmp/multipartBody3879539618312181948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337849310,"filename":"image_12072025_17_48_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1968675e758d5e5836ca9b82ec467dd.jpg","text":"TemporaryFile(/tmp/multipartBody3257105018554570307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337849310,"filename":"image_12072025_18_29_04_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908451","file1":"1371908449","file0":"1371908448","file4":"1371908455","file5":"1371908456","file3":"1371908453"},"map_files_photo_id_array":[{"photo_id":"1371908456","filename":"file5"},{"photo_id":"1371908451","filename":"file2"},{"photo_id":"1371908455","filename":"file4"},{"photo_id":"1371908449","filename":"file1"},{"photo_id":"1371908448","filename":"file0"},{"photo_id":"1371908453","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908455":["hashtag1","hashtag2"]},{"1371908449":["hashtag1","hashtag2"]},{"1371908451":["hashtag1","hashtag2"]},{"1371908448":["hashtag1","hashtag2"]},{"1371908456":["hashtag1","hashtag2"]},{"1371908453":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908455, 1371908449, 1371908451, 1371908448, 1371908456, 1371908453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64936637878418 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:30:32.544706
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/30/image_12072025_18_30_44_10689.jpg', 2), ('/home/nano/Desktop/images/12072025/18/30/image_12072025_18_30_33_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/18/30/image_12072025_18_30_24_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/18/29/image_12072025_18_30_03_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_44_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_43_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/30/image_12072025_18_30_44_10689.jpg', '/home/nano/Desktop/images/12072025/18/30/image_12072025_18_30_33_9642.jpg', '/home/nano/Desktop/images/12072025/18/30/image_12072025_18_30_24_9631.jpg', '/home/nano/Desktop/images/12072025/18/29/image_12072025_18_30_03_9630.jpg', '/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_44_10626.jpg', '/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_43_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/30/image_12072025_18_30_44_10689.jpg
/home/nano/Desktop/images/12072025/18/30/image_12072025_18_30_33_9642.jpg
/home/nano/Desktop/images/12072025/18/30/image_12072025_18_30_24_9631.jpg
/home/nano/Desktop/images/12072025/18/29/image_12072025_18_30_03_9630.jpg
/home/nano/Desktop/images/12072025/18/29/image_12072025_18_29_44_10626.jpg
/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_43_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908470","1371908473","1371908464","1371908463","1371908468","1371908462"],"photo_ids_order":["1371908462","1371908463","1371908464","1371908468","1371908470","1371908473"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/823f6691d4fe4753a5bb0e26d290b7e4.jpg","text":"TemporaryFile(/tmp/multipartBody7487122987951042160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337894395,"filename":"image_12072025_18_29_44_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba77a6c434fe54c5baf2e50e19cc51a9.jpg","text":"TemporaryFile(/tmp/multipartBody7899171020012512902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337894395,"filename":"image_12072025_17_48_43_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/672d4150ab788834d83791799b5439fd.jpg","text":"TemporaryFile(/tmp/multipartBody6931839012628859793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337894395,"filename":"image_12072025_18_30_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/995f641e861263677bf04f8faf1a41fe.jpg","text":"TemporaryFile(/tmp/multipartBody7070692479942416168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337894395,"filename":"image_12072025_18_30_33_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6bb2574da69704514fb12d464a9c8f2.jpg","text":"TemporaryFile(/tmp/multipartBody4802197230204776100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337894395,"filename":"image_12072025_18_30_03_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9796bc4f416d897a61bb35d44712882.jpg","text":"TemporaryFile(/tmp/multipartBody5233892069375859132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337894395,"filename":"image_12072025_18_30_44_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908464","file1":"1371908463","file0":"1371908462","file4":"1371908470","file5":"1371908473","file3":"1371908468"},"map_files_photo_id_array":[{"photo_id":"1371908473","filename":"file5"},{"photo_id":"1371908464","filename":"file2"},{"photo_id":"1371908470","filename":"file4"},{"photo_id":"1371908463","filename":"file1"},{"photo_id":"1371908462","filename":"file0"},{"photo_id":"1371908468","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908470":["hashtag1","hashtag2"]},{"1371908473":["hashtag1","hashtag2"]},{"1371908464":["hashtag1","hashtag2"]},{"1371908463":["hashtag1","hashtag2"]},{"1371908468":["hashtag1","hashtag2"]},{"1371908462":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908470, 1371908473, 1371908464, 1371908463, 1371908468, 1371908462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76982879638672 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:31:17.681045
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_44_9832.jpg', 2), ('/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_34_9786.jpg', 2), ('/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_24_10103.jpg', 2), ('/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_14_10675.jpg', 2), ('/home/nano/Desktop/images/12072025/18/30/image_12072025_18_31_03_9668.jpg', 2), ('/home/nano/Desktop/images/12072025/18/30/image_12072025_18_30_54_9685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_44_9832.jpg', '/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_34_9786.jpg', '/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_24_10103.jpg', '/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_14_10675.jpg', '/home/nano/Desktop/images/12072025/18/30/image_12072025_18_31_03_9668.jpg', '/home/nano/Desktop/images/12072025/18/30/image_12072025_18_30_54_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_44_9832.jpg
/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_34_9786.jpg
/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_24_10103.jpg
/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_14_10675.jpg
/home/nano/Desktop/images/12072025/18/30/image_12072025_18_31_03_9668.jpg
/home/nano/Desktop/images/12072025/18/30/image_12072025_18_30_54_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908485","1371908479","1371908482","1371908484","1371908480","1371908477"],"photo_ids_order":["1371908477","1371908479","1371908480","1371908482","1371908484","1371908485"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/079b04be5c34ad6b588c6bd8b6eb2592.jpg","text":"TemporaryFile(/tmp/multipartBody3133877820455996764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337940153,"filename":"image_12072025_18_30_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f36b182fe49bbffedbdd11c733e46fb0.jpg","text":"TemporaryFile(/tmp/multipartBody7907410705507034364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337940153,"filename":"image_12072025_18_31_34_9786.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46ee5b375b78384ea3e4d87212459383.jpg","text":"TemporaryFile(/tmp/multipartBody4377402438031336389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337940153,"filename":"image_12072025_18_31_14_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ffed0f768748bdd59a5f33f81b82c18.jpg","text":"TemporaryFile(/tmp/multipartBody503817320971201563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337940153,"filename":"image_12072025_18_31_03_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf640abfc3435e5551192526973500e4.jpg","text":"TemporaryFile(/tmp/multipartBody3580787983844883536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337940153,"filename":"image_12072025_18_31_24_10103.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/414830777ac63ccec940407690f0883d.jpg","text":"TemporaryFile(/tmp/multipartBody424631167005458461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337940153,"filename":"image_12072025_18_31_44_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908480","file1":"1371908479","file0":"1371908477","file4":"1371908484","file5":"1371908485","file3":"1371908482"},"map_files_photo_id_array":[{"photo_id":"1371908485","filename":"file5"},{"photo_id":"1371908480","filename":"file2"},{"photo_id":"1371908484","filename":"file4"},{"photo_id":"1371908479","filename":"file1"},{"photo_id":"1371908477","filename":"file0"},{"photo_id":"1371908482","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908485":["hashtag1","hashtag2"]},{"1371908479":["hashtag1","hashtag2"]},{"1371908482":["hashtag1","hashtag2"]},{"1371908484":["hashtag1","hashtag2"]},{"1371908480":["hashtag1","hashtag2"]},{"1371908477":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908485, 1371908479, 1371908482, 1371908484, 1371908480, 1371908477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.678871393203735 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:32:02.256820
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_24_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/17/47/image_12072025_17_48_04_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_54_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_44_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_34_9611.jpg', '/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_24_10631.jpg', '/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_14_9626.jpg', '/home/nano/Desktop/images/12072025/17/47/image_12072025_17_48_04_9641.jpg', '/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_54_10647.jpg', '/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_44_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_34_9611.jpg
/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_24_10631.jpg
/home/nano/Desktop/images/12072025/17/48/image_12072025_17_48_14_9626.jpg
/home/nano/Desktop/images/12072025/17/47/image_12072025_17_48_04_9641.jpg
/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_54_10647.jpg
/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_44_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908504","1371908506","1371908496","1371908499","1371908493","1371908502"],"photo_ids_order":["1371908493","1371908496","1371908499","1371908502","1371908504","1371908506"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e3c1aa541273b85b97585fef8d5c3e5.jpg","text":"TemporaryFile(/tmp/multipartBody1684168836741358369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337983939,"filename":"image_12072025_17_47_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6085100b4b606915a409e4587459691.jpg","text":"TemporaryFile(/tmp/multipartBody1297918624199246379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337983939,"filename":"image_12072025_17_47_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9bd4e923f4490cafeab2b8ec341f126.jpg","text":"TemporaryFile(/tmp/multipartBody5431726584745300413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337983939,"filename":"image_12072025_17_48_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e330566c28b8350a20c36ed72f8cff67.jpg","text":"TemporaryFile(/tmp/multipartBody6000250730751563097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337983939,"filename":"image_12072025_17_48_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fdcbf11e3f61482f8854c4b94b3bc9c7.jpg","text":"TemporaryFile(/tmp/multipartBody7411116912416111090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337983939,"filename":"image_12072025_17_48_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f5e8b6d9eca2dd8341b70ae7c0e2da4.jpg","text":"TemporaryFile(/tmp/multipartBody7795130577463216923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752337983939,"filename":"image_12072025_17_48_04_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908499","file1":"1371908496","file0":"1371908493","file4":"1371908504","file5":"1371908506","file3":"1371908502"},"map_files_photo_id_array":[{"photo_id":"1371908506","filename":"file5"},{"photo_id":"1371908499","filename":"file2"},{"photo_id":"1371908504","filename":"file4"},{"photo_id":"1371908496","filename":"file1"},{"photo_id":"1371908493","filename":"file0"},{"photo_id":"1371908502","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908504":["hashtag1","hashtag2"]},{"1371908506":["hashtag1","hashtag2"]},{"1371908496":["hashtag1","hashtag2"]},{"1371908499":["hashtag1","hashtag2"]},{"1371908493":["hashtag1","hashtag2"]},{"1371908502":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908504, 1371908506, 1371908496, 1371908499, 1371908493, 1371908502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.572662115097046 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:32:46.777856
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_44_9672.jpg', 2), ('/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_34_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_24_9679.jpg', 2), ('/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_14_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/18/31/image_12072025_18_32_04_10748.jpg', 2), ('/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_54_9691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_44_9672.jpg', '/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_34_10642.jpg', '/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_24_9679.jpg', '/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_14_9683.jpg', '/home/nano/Desktop/images/12072025/18/31/image_12072025_18_32_04_10748.jpg', '/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_54_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_44_9672.jpg
/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_34_10642.jpg
/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_24_9679.jpg
/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_14_9683.jpg
/home/nano/Desktop/images/12072025/18/31/image_12072025_18_32_04_10748.jpg
/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_54_9691.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.266173839569092 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:33:02.611184
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_44_9672.jpg', 2), ('/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_34_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_24_9679.jpg', 2), ('/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_14_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/18/31/image_12072025_18_32_04_10748.jpg', 2), ('/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_54_9691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_44_9672.jpg', '/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_34_10642.jpg', '/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_24_9679.jpg', '/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_14_9683.jpg', '/home/nano/Desktop/images/12072025/18/31/image_12072025_18_32_04_10748.jpg', '/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_54_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_44_9672.jpg
/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_34_10642.jpg
/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_24_9679.jpg
/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_14_9683.jpg
/home/nano/Desktop/images/12072025/18/31/image_12072025_18_32_04_10748.jpg
/home/nano/Desktop/images/12072025/18/31/image_12072025_18_31_54_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908528","1371908521","1371908524","1371908518","1371908526","1371908529"],"photo_ids_order":["1371908518","1371908521","1371908524","1371908526","1371908528","1371908529"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ac6763c2537f12b8af9772f8ca8b879.jpg","text":"TemporaryFile(/tmp/multipartBody1075609447741248895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338044295,"filename":"image_12072025_18_32_04_10748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff4e0aa58eb9a9856499019344e04a80.jpg","text":"TemporaryFile(/tmp/multipartBody60940642441644695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338044295,"filename":"image_12072025_18_32_34_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a86a6b7d169eb28e2cf2d3e0723a03d.jpg","text":"TemporaryFile(/tmp/multipartBody1705776288090495458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338044295,"filename":"image_12072025_18_32_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ffdaf6d649760e3b1ea15414ac564ea.jpg","text":"TemporaryFile(/tmp/multipartBody7529326220891191023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338044295,"filename":"image_12072025_18_32_44_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a9f1d148e1a39fcd90380edc9fb8432.jpg","text":"TemporaryFile(/tmp/multipartBody6628254303459144268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338044295,"filename":"image_12072025_18_32_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a881861415174af9972b9ea68a53952.jpg","text":"TemporaryFile(/tmp/multipartBody8952105902852645803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338044295,"filename":"image_12072025_18_31_54_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908524","file1":"1371908521","file0":"1371908518","file4":"1371908528","file5":"1371908529","file3":"1371908526"},"map_files_photo_id_array":[{"photo_id":"1371908529","filename":"file5"},{"photo_id":"1371908524","filename":"file2"},{"photo_id":"1371908528","filename":"file4"},{"photo_id":"1371908521","filename":"file1"},{"photo_id":"1371908518","filename":"file0"},{"photo_id":"1371908526","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908528":["hashtag1","hashtag2"]},{"1371908521":["hashtag1","hashtag2"]},{"1371908524":["hashtag1","hashtag2"]},{"1371908518":["hashtag1","hashtag2"]},{"1371908526":["hashtag1","hashtag2"]},{"1371908529":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908528, 1371908521, 1371908524, 1371908518, 1371908526, 1371908529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.367857694625854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:33:46.884099
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_44_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_34_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_24_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/18/32/image_12072025_18_33_03_9708.jpg', 2), ('/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_54_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_44_9643.jpg', '/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_34_10616.jpg', '/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_24_9612.jpg', '/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_14_10639.jpg', '/home/nano/Desktop/images/12072025/18/32/image_12072025_18_33_03_9708.jpg', '/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_44_9643.jpg
/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_34_10616.jpg
/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_24_9612.jpg
/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_14_10639.jpg
/home/nano/Desktop/images/12072025/18/32/image_12072025_18_33_03_9708.jpg
/home/nano/Desktop/images/12072025/18/32/image_12072025_18_32_54_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908548","1371908544","1371908541","1371908535","1371908537","1371908546"],"photo_ids_order":["1371908535","1371908537","1371908541","1371908544","1371908546","1371908548"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/423b1b52a66d01abfe9962a639287d57.jpg","text":"TemporaryFile(/tmp/multipartBody4631221273779788170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338088919,"filename":"image_12072025_18_32_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57a7a64a984683a217d7bc20ffded1b3.jpg","text":"TemporaryFile(/tmp/multipartBody3148717934230254470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338088919,"filename":"image_12072025_18_33_14_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbf73e0afa3a0aa137278cb75c615434.jpg","text":"TemporaryFile(/tmp/multipartBody3576692184741173269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338088919,"filename":"image_12072025_18_33_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1aa4966109450701202c24657f02b9c.jpg","text":"TemporaryFile(/tmp/multipartBody839173874405484553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338088919,"filename":"image_12072025_18_33_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90c029189eaef7516b0f164495809c54.jpg","text":"TemporaryFile(/tmp/multipartBody8778042123601221796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338088919,"filename":"image_12072025_18_33_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df0d71c33b8170628610881b3f60e1e7.jpg","text":"TemporaryFile(/tmp/multipartBody5304527012926936517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338088919,"filename":"image_12072025_18_33_03_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908541","file1":"1371908537","file0":"1371908535","file4":"1371908546","file5":"1371908548","file3":"1371908544"},"map_files_photo_id_array":[{"photo_id":"1371908548","filename":"file5"},{"photo_id":"1371908541","filename":"file2"},{"photo_id":"1371908546","filename":"file4"},{"photo_id":"1371908537","filename":"file1"},{"photo_id":"1371908535","filename":"file0"},{"photo_id":"1371908544","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908548":["hashtag1","hashtag2"]},{"1371908544":["hashtag1","hashtag2"]},{"1371908541":["hashtag1","hashtag2"]},{"1371908535":["hashtag1","hashtag2"]},{"1371908537":["hashtag1","hashtag2"]},{"1371908546":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908548, 1371908544, 1371908541, 1371908535, 1371908537, 1371908546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.224108934402466 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:34:32.001639
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_43_9775.jpg', 2), ('/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_34_9767.jpg', 2), ('/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_24_9794.jpg', 2), ('/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_14_9826.jpg', 2), ('/home/nano/Desktop/images/12072025/18/33/image_12072025_18_34_04_10690.jpg', 2), ('/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_54_9698.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_43_9775.jpg', '/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_34_9767.jpg', '/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_24_9794.jpg', '/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_14_9826.jpg', '/home/nano/Desktop/images/12072025/18/33/image_12072025_18_34_04_10690.jpg', '/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_54_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_43_9775.jpg
/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_34_9767.jpg
/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_24_9794.jpg
/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_14_9826.jpg
/home/nano/Desktop/images/12072025/18/33/image_12072025_18_34_04_10690.jpg
/home/nano/Desktop/images/12072025/18/33/image_12072025_18_33_54_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908560","1371908554","1371908559","1371908553","1371908556","1371908552"],"photo_ids_order":["1371908552","1371908553","1371908554","1371908556","1371908559","1371908560"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64a1a3527f5396bd7a0fa2512c019007.jpg","text":"TemporaryFile(/tmp/multipartBody1753732041402165966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338134773,"filename":"image_12072025_18_33_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07c34af81092380ce8face742d03770f.jpg","text":"TemporaryFile(/tmp/multipartBody1865891418695311093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338134773,"filename":"image_12072025_18_34_24_9794.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4fa7b0571c4fc3421504f9dc69f62f96.jpg","text":"TemporaryFile(/tmp/multipartBody8179879611208044878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338134773,"filename":"image_12072025_18_34_04_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/805f42ed79cc8e4edae4175543e6b9ea.jpg","text":"TemporaryFile(/tmp/multipartBody7024070327583257889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338134773,"filename":"image_12072025_18_34_34_9767.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9aac4adc0385f86a202dc09d5184ae30.jpg","text":"TemporaryFile(/tmp/multipartBody705565472031519168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338134773,"filename":"image_12072025_18_34_14_9826.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86791bf24f23f8fb1eba2a58e2e0360e.jpg","text":"TemporaryFile(/tmp/multipartBody5423249466710684033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338134773,"filename":"image_12072025_18_34_43_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908554","file1":"1371908553","file0":"1371908552","file4":"1371908559","file5":"1371908560","file3":"1371908556"},"map_files_photo_id_array":[{"photo_id":"1371908560","filename":"file5"},{"photo_id":"1371908554","filename":"file2"},{"photo_id":"1371908559","filename":"file4"},{"photo_id":"1371908553","filename":"file1"},{"photo_id":"1371908552","filename":"file0"},{"photo_id":"1371908556","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908560":["hashtag1","hashtag2"]},{"1371908554":["hashtag1","hashtag2"]},{"1371908559":["hashtag1","hashtag2"]},{"1371908553":["hashtag1","hashtag2"]},{"1371908556":["hashtag1","hashtag2"]},{"1371908552":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908560, 1371908554, 1371908559, 1371908553, 1371908556, 1371908552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.541532039642334 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:35:17.183747
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_44_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_34_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_24_10741.jpg', 2), ('/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_14_9690.jpg', 2), ('/home/nano/Desktop/images/12072025/18/34/image_12072025_18_35_04_9733.jpg', 2), ('/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_54_10754.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_44_9609.jpg', '/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_34_9645.jpg', '/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_24_10741.jpg', '/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_14_9690.jpg', '/home/nano/Desktop/images/12072025/18/34/image_12072025_18_35_04_9733.jpg', '/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_54_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_44_9609.jpg
/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_34_9645.jpg
/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_24_10741.jpg
/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_14_9690.jpg
/home/nano/Desktop/images/12072025/18/34/image_12072025_18_35_04_9733.jpg
/home/nano/Desktop/images/12072025/18/34/image_12072025_18_34_54_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908572","1371908575","1371908571","1371908574","1371908573","1371908570"],"photo_ids_order":["1371908570","1371908571","1371908572","1371908573","1371908574","1371908575"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2bb627b91289b485491631f92656e867.jpg","text":"TemporaryFile(/tmp/multipartBody9148595158552830134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338179103,"filename":"image_12072025_18_35_24_10741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce2bfc8eba24c80fd3dda472eae8dffc.jpg","text":"TemporaryFile(/tmp/multipartBody2675299461999908251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338179103,"filename":"image_12072025_18_34_54_10754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/602e95534d791803beeec0fe82afbcba.jpg","text":"TemporaryFile(/tmp/multipartBody1442896615621484063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338179103,"filename":"image_12072025_18_35_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b91ba3ca095b8fc9c2dcde315e29b67.jpg","text":"TemporaryFile(/tmp/multipartBody5805210441286425244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338179103,"filename":"image_12072025_18_35_04_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23900ec839fceec632928548744e2ac5.jpg","text":"TemporaryFile(/tmp/multipartBody869553772958494205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338179103,"filename":"image_12072025_18_35_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/890143c093380a28a880f688a964fd3d.jpg","text":"TemporaryFile(/tmp/multipartBody2947817167780727094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338179103,"filename":"image_12072025_18_35_44_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908572","file1":"1371908571","file0":"1371908570","file4":"1371908574","file5":"1371908575","file3":"1371908573"},"map_files_photo_id_array":[{"photo_id":"1371908575","filename":"file5"},{"photo_id":"1371908572","filename":"file2"},{"photo_id":"1371908574","filename":"file4"},{"photo_id":"1371908571","filename":"file1"},{"photo_id":"1371908570","filename":"file0"},{"photo_id":"1371908573","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908572":["hashtag1","hashtag2"]},{"1371908575":["hashtag1","hashtag2"]},{"1371908571":["hashtag1","hashtag2"]},{"1371908574":["hashtag1","hashtag2"]},{"1371908573":["hashtag1","hashtag2"]},{"1371908570":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908572, 1371908575, 1371908571, 1371908574, 1371908573, 1371908570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21069359779358 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:36:02.708506
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_34_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_23_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_14_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/17/46/image_12072025_17_47_04_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_53_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_44_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_34_10645.jpg', '/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_23_9643.jpg', '/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_14_9659.jpg', '/home/nano/Desktop/images/12072025/17/46/image_12072025_17_47_04_10619.jpg', '/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_53_9667.jpg', '/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_44_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_34_10645.jpg
/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_23_9643.jpg
/home/nano/Desktop/images/12072025/17/47/image_12072025_17_47_14_9659.jpg
/home/nano/Desktop/images/12072025/17/46/image_12072025_17_47_04_10619.jpg
/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_53_9667.jpg
/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_44_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908590","1371908584","1371908589","1371908592","1371908586","1371908582"],"photo_ids_order":["1371908582","1371908584","1371908586","1371908589","1371908590","1371908592"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00cfad335a4106379ae90f715aed5fa3.jpg","text":"TemporaryFile(/tmp/multipartBody5718645854017997856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338224697,"filename":"image_12072025_17_46_53_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c124132adcdc6b84f693d622b59e3f6.jpg","text":"TemporaryFile(/tmp/multipartBody8276711859537024906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338224697,"filename":"image_12072025_17_47_23_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/962583e8b237b1a32807644c24cb6bae.jpg","text":"TemporaryFile(/tmp/multipartBody7285455289484205150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338224697,"filename":"image_12072025_17_47_04_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b1cdc5f6e2ceaba52907ee15f53f7b1.jpg","text":"TemporaryFile(/tmp/multipartBody2430961880313724070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338224697,"filename":"image_12072025_17_46_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80d78ee86fb9400f98637759e582c2b8.jpg","text":"TemporaryFile(/tmp/multipartBody452977869486896897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338224697,"filename":"image_12072025_17_47_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07845575ab2ba6b0b878119322067c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5168486494114169547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338224697,"filename":"image_12072025_17_47_34_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908586","file1":"1371908584","file0":"1371908582","file4":"1371908590","file5":"1371908592","file3":"1371908589"},"map_files_photo_id_array":[{"photo_id":"1371908592","filename":"file5"},{"photo_id":"1371908586","filename":"file2"},{"photo_id":"1371908590","filename":"file4"},{"photo_id":"1371908584","filename":"file1"},{"photo_id":"1371908582","filename":"file0"},{"photo_id":"1371908589","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908590":["hashtag1","hashtag2"]},{"1371908584":["hashtag1","hashtag2"]},{"1371908589":["hashtag1","hashtag2"]},{"1371908592":["hashtag1","hashtag2"]},{"1371908586":["hashtag1","hashtag2"]},{"1371908582":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908590, 1371908584, 1371908589, 1371908592, 1371908586, 1371908582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43734574317932 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:36:47.223799
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_34_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_24_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_13_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/18/35/image_12072025_18_36_04_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_44_10622.jpg', '/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_34_9616.jpg', '/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_24_10618.jpg', '/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_13_9629.jpg', '/home/nano/Desktop/images/12072025/18/35/image_12072025_18_36_04_9619.jpg', '/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_44_10622.jpg
/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_34_9616.jpg
/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_24_10618.jpg
/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_13_9629.jpg
/home/nano/Desktop/images/12072025/18/35/image_12072025_18_36_04_9619.jpg
/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_54_10620.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.0494794845581055 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:37:03.048919
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_34_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_24_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_13_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/18/35/image_12072025_18_36_04_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_44_10622.jpg', '/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_34_9616.jpg', '/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_24_10618.jpg', '/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_13_9629.jpg', '/home/nano/Desktop/images/12072025/18/35/image_12072025_18_36_04_9619.jpg', '/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_44_10622.jpg
/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_34_9616.jpg
/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_24_10618.jpg
/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_13_9629.jpg
/home/nano/Desktop/images/12072025/18/35/image_12072025_18_36_04_9619.jpg
/home/nano/Desktop/images/12072025/18/35/image_12072025_18_35_54_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908612","1371908614","1371908611","1371908605","1371908608","1371908610"],"photo_ids_order":["1371908605","1371908608","1371908610","1371908611","1371908612","1371908614"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a9de332c88cb967c53a1a3a1d31268d.jpg","text":"TemporaryFile(/tmp/multipartBody3377745455641544617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338284525,"filename":"image_12072025_18_36_04_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f8738f44e058cb2f5148db0cbad1552.jpg","text":"TemporaryFile(/tmp/multipartBody5918944507122980686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338284525,"filename":"image_12072025_18_35_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7b3e2cc062e243509f3cab895720494.jpg","text":"TemporaryFile(/tmp/multipartBody6279305554026901766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338284525,"filename":"image_12072025_18_36_13_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f1eb89d552357560c774b7a23e895bb.jpg","text":"TemporaryFile(/tmp/multipartBody3053250875702520159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338284525,"filename":"image_12072025_18_36_44_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74a9a32e7c5907fc55f6f5981de4b8cc.jpg","text":"TemporaryFile(/tmp/multipartBody6107243346673932795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338284525,"filename":"image_12072025_18_36_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fdbff77c13946a4380bb67d555d54b6c.jpg","text":"TemporaryFile(/tmp/multipartBody1707228422006712009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338284525,"filename":"image_12072025_18_36_24_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908610","file1":"1371908608","file0":"1371908605","file4":"1371908612","file5":"1371908614","file3":"1371908611"},"map_files_photo_id_array":[{"photo_id":"1371908614","filename":"file5"},{"photo_id":"1371908610","filename":"file2"},{"photo_id":"1371908612","filename":"file4"},{"photo_id":"1371908608","filename":"file1"},{"photo_id":"1371908605","filename":"file0"},{"photo_id":"1371908611","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908612":["hashtag1","hashtag2"]},{"1371908614":["hashtag1","hashtag2"]},{"1371908611":["hashtag1","hashtag2"]},{"1371908605":["hashtag1","hashtag2"]},{"1371908608":["hashtag1","hashtag2"]},{"1371908610":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908612, 1371908614, 1371908611, 1371908605, 1371908608, 1371908610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63348937034607 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:37:47.351454
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_44_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_34_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_24_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_14_10677.jpg', 2), ('/home/nano/Desktop/images/12072025/18/36/image_12072025_18_37_04_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_54_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_44_10655.jpg', '/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_34_9615.jpg', '/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_24_9648.jpg', '/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_14_10677.jpg', '/home/nano/Desktop/images/12072025/18/36/image_12072025_18_37_04_9665.jpg', '/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_44_10655.jpg
/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_34_9615.jpg
/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_24_9648.jpg
/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_14_10677.jpg
/home/nano/Desktop/images/12072025/18/36/image_12072025_18_37_04_9665.jpg
/home/nano/Desktop/images/12072025/18/36/image_12072025_18_36_54_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908633","1371908627","1371908638","1371908625","1371908636","1371908630"],"photo_ids_order":["1371908625","1371908627","1371908630","1371908633","1371908636","1371908638"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/329d39ce59bd5e474178045c39baa8f6.jpg","text":"TemporaryFile(/tmp/multipartBody1311734504319163901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338330277,"filename":"image_12072025_18_37_14_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7167c150363a65907dabb104c780c0c2.jpg","text":"TemporaryFile(/tmp/multipartBody715672625855234706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338330277,"filename":"image_12072025_18_37_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f548b4ffcdf408ad9a7e991f4e81de9c.jpg","text":"TemporaryFile(/tmp/multipartBody6530413748886501030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338330277,"filename":"image_12072025_18_36_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5cfc09e37a7423689159af59b8ef48ab.jpg","text":"TemporaryFile(/tmp/multipartBody410606542632831461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338330277,"filename":"image_12072025_18_37_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9843292a714db71bc17c195bab020ab.jpg","text":"TemporaryFile(/tmp/multipartBody4056360104626818765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338330277,"filename":"image_12072025_18_37_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0694ff2dd40d9a132ec5266008bbe53.jpg","text":"TemporaryFile(/tmp/multipartBody7444538011582525149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338330277,"filename":"image_12072025_18_37_24_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908630","file1":"1371908627","file0":"1371908625","file4":"1371908636","file5":"1371908638","file3":"1371908633"},"map_files_photo_id_array":[{"photo_id":"1371908638","filename":"file5"},{"photo_id":"1371908630","filename":"file2"},{"photo_id":"1371908636","filename":"file4"},{"photo_id":"1371908627","filename":"file1"},{"photo_id":"1371908625","filename":"file0"},{"photo_id":"1371908633","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908633":["hashtag1","hashtag2"]},{"1371908627":["hashtag1","hashtag2"]},{"1371908638":["hashtag1","hashtag2"]},{"1371908625":["hashtag1","hashtag2"]},{"1371908636":["hashtag1","hashtag2"]},{"1371908630":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908633, 1371908627, 1371908638, 1371908625, 1371908636, 1371908630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.215110778808594 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:38:32.430426
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_44_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_33_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_24_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_14_10666.jpg', 2), ('/home/nano/Desktop/images/12072025/18/37/image_12072025_18_38_04_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_54_9695.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_44_10647.jpg', '/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_33_9627.jpg', '/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_24_9620.jpg', '/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_14_10666.jpg', '/home/nano/Desktop/images/12072025/18/37/image_12072025_18_38_04_9643.jpg', '/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_54_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_44_10647.jpg
/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_33_9627.jpg
/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_24_9620.jpg
/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_14_10666.jpg
/home/nano/Desktop/images/12072025/18/37/image_12072025_18_38_04_9643.jpg
/home/nano/Desktop/images/12072025/18/37/image_12072025_18_37_54_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908641","1371908644","1371908646","1371908640","1371908648","1371908642"],"photo_ids_order":["1371908640","1371908641","1371908642","1371908644","1371908646","1371908648"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ffbbcfb1f8f9354d85a0c75549d4d07.jpg","text":"TemporaryFile(/tmp/multipartBody7063324429378849298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338374711,"filename":"image_12072025_18_38_33_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/344a24dad4e54e67d44b71da57eb850c.jpg","text":"TemporaryFile(/tmp/multipartBody8444939076845616680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338374711,"filename":"image_12072025_18_38_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40fa293e68253cf14e68316f8526d08b.jpg","text":"TemporaryFile(/tmp/multipartBody7618776644628950205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338374711,"filename":"image_12072025_18_38_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3d5eb1a9e5655731b30991296bdadad.jpg","text":"TemporaryFile(/tmp/multipartBody6277869720241667128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338374711,"filename":"image_12072025_18_38_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35a95b616b4a33f199a3e11ad436738e.jpg","text":"TemporaryFile(/tmp/multipartBody6232763634375317690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338374711,"filename":"image_12072025_18_37_54_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4e6c9b231986797fbe9d208ae6ad873.jpg","text":"TemporaryFile(/tmp/multipartBody7549948872052047357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338374711,"filename":"image_12072025_18_38_24_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908642","file1":"1371908641","file0":"1371908640","file4":"1371908646","file5":"1371908648","file3":"1371908644"},"map_files_photo_id_array":[{"photo_id":"1371908648","filename":"file5"},{"photo_id":"1371908642","filename":"file2"},{"photo_id":"1371908646","filename":"file4"},{"photo_id":"1371908641","filename":"file1"},{"photo_id":"1371908640","filename":"file0"},{"photo_id":"1371908644","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908641":["hashtag1","hashtag2"]},{"1371908644":["hashtag1","hashtag2"]},{"1371908646":["hashtag1","hashtag2"]},{"1371908640":["hashtag1","hashtag2"]},{"1371908648":["hashtag1","hashtag2"]},{"1371908642":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908641, 1371908644, 1371908646, 1371908640, 1371908648, 1371908642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40580940246582 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:39:17.537501
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_44_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_34_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_24_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_14_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/18/38/image_12072025_18_39_03_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_54_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_44_9655.jpg', '/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_34_10621.jpg', '/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_24_9634.jpg', '/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_14_10648.jpg', '/home/nano/Desktop/images/12072025/18/38/image_12072025_18_39_03_9635.jpg', '/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_54_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_44_9655.jpg
/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_34_10621.jpg
/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_24_9634.jpg
/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_14_10648.jpg
/home/nano/Desktop/images/12072025/18/38/image_12072025_18_39_03_9635.jpg
/home/nano/Desktop/images/12072025/18/38/image_12072025_18_38_54_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908662","1371908661","1371908658","1371908655","1371908660","1371908657"],"photo_ids_order":["1371908655","1371908657","1371908658","1371908660","1371908661","1371908662"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ddb557a9f1db6201735c9a84c2f90c0.jpg","text":"TemporaryFile(/tmp/multipartBody7082371303128433481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338419282,"filename":"image_12072025_18_38_54_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea8e490ebfb1afac5df3316a02b63953.jpg","text":"TemporaryFile(/tmp/multipartBody1136391884014141904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338419282,"filename":"image_12072025_18_39_03_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/766e69b8abf9ae3d627653430e477e4f.jpg","text":"TemporaryFile(/tmp/multipartBody4939275558675155129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338419282,"filename":"image_12072025_18_39_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a74695022e12c050718e7ad3bc57ff3.jpg","text":"TemporaryFile(/tmp/multipartBody1953833497286812757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338419282,"filename":"image_12072025_18_39_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/400edca64148072883b62aed01d47450.jpg","text":"TemporaryFile(/tmp/multipartBody7428563636428263522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338419282,"filename":"image_12072025_18_39_14_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2cde5647dce49b16a06adf9b253aa7f.jpg","text":"TemporaryFile(/tmp/multipartBody1946236956114283270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338419282,"filename":"image_12072025_18_39_34_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908658","file1":"1371908657","file0":"1371908655","file4":"1371908661","file5":"1371908662","file3":"1371908660"},"map_files_photo_id_array":[{"photo_id":"1371908662","filename":"file5"},{"photo_id":"1371908658","filename":"file2"},{"photo_id":"1371908661","filename":"file4"},{"photo_id":"1371908657","filename":"file1"},{"photo_id":"1371908655","filename":"file0"},{"photo_id":"1371908660","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908662":["hashtag1","hashtag2"]},{"1371908661":["hashtag1","hashtag2"]},{"1371908658":["hashtag1","hashtag2"]},{"1371908655":["hashtag1","hashtag2"]},{"1371908660":["hashtag1","hashtag2"]},{"1371908657":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908662, 1371908661, 1371908658, 1371908655, 1371908660, 1371908657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.54426860809326 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:40:03.237059
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_24_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_14_9682.jpg', 2), ('/home/nano/Desktop/images/12072025/17/45/image_12072025_17_46_04_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_54_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_44_9692.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_34_10623.jpg', '/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_24_9642.jpg', '/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_14_9682.jpg', '/home/nano/Desktop/images/12072025/17/45/image_12072025_17_46_04_10658.jpg', '/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_54_9628.jpg', '/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_44_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_34_10623.jpg
/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_24_9642.jpg
/home/nano/Desktop/images/12072025/17/46/image_12072025_17_46_14_9682.jpg
/home/nano/Desktop/images/12072025/17/45/image_12072025_17_46_04_10658.jpg
/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_54_9628.jpg
/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_44_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908688","1371908682","1371908691","1371908685","1371908690","1371908693"],"photo_ids_order":["1371908682","1371908685","1371908688","1371908690","1371908691","1371908693"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/709eabdf7d47a47140ee7cc3678ede66.jpg","text":"TemporaryFile(/tmp/multipartBody1940553391616854171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338464968,"filename":"image_12072025_17_46_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5de341b5ff56a8d54918a6cdee424375.jpg","text":"TemporaryFile(/tmp/multipartBody2278249230216592058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338464968,"filename":"image_12072025_17_46_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84fff7604893db2aa8d8418134f80ce7.jpg","text":"TemporaryFile(/tmp/multipartBody7215488587514359440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338464968,"filename":"image_12072025_17_45_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea5c2f6c4b5ac6705fae88c8697cf3ca.jpg","text":"TemporaryFile(/tmp/multipartBody8844595657697435243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338464968,"filename":"image_12072025_17_46_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3d7698098de4f4833378630c1fbd889.jpg","text":"TemporaryFile(/tmp/multipartBody4215115119922669933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338464968,"filename":"image_12072025_17_46_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a10fc6e63b6521a983133e27c38c9f50.jpg","text":"TemporaryFile(/tmp/multipartBody8396955183925152203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338464968,"filename":"image_12072025_17_45_44_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908688","file1":"1371908685","file0":"1371908682","file4":"1371908691","file5":"1371908693","file3":"1371908690"},"map_files_photo_id_array":[{"photo_id":"1371908693","filename":"file5"},{"photo_id":"1371908688","filename":"file2"},{"photo_id":"1371908691","filename":"file4"},{"photo_id":"1371908685","filename":"file1"},{"photo_id":"1371908682","filename":"file0"},{"photo_id":"1371908690","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908688":["hashtag1","hashtag2"]},{"1371908682":["hashtag1","hashtag2"]},{"1371908691":["hashtag1","hashtag2"]},{"1371908685":["hashtag1","hashtag2"]},{"1371908690":["hashtag1","hashtag2"]},{"1371908693":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908688, 1371908682, 1371908691, 1371908685, 1371908690, 1371908693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96010661125183 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:40:47.654443
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_44_10691.jpg', 2), ('/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_34_9695.jpg', 2), ('/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_24_9862.jpg', 2), ('/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_14_9688.jpg', 2), ('/home/nano/Desktop/images/12072025/18/39/image_12072025_18_40_04_10700.jpg', 2), ('/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_54_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_44_10691.jpg', '/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_34_9695.jpg', '/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_24_9862.jpg', '/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_14_9688.jpg', '/home/nano/Desktop/images/12072025/18/39/image_12072025_18_40_04_10700.jpg', '/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_54_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_44_10691.jpg
/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_34_9695.jpg
/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_24_9862.jpg
/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_14_9688.jpg
/home/nano/Desktop/images/12072025/18/39/image_12072025_18_40_04_10700.jpg
/home/nano/Desktop/images/12072025/18/39/image_12072025_18_39_54_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908711","1371908705","1371908708","1371908698","1371908713","1371908700"],"photo_ids_order":["1371908698","1371908700","1371908705","1371908708","1371908711","1371908713"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e4f1405f4d7f621fc3777d3120985df.jpg","text":"TemporaryFile(/tmp/multipartBody763802690835703414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338509984,"filename":"image_12072025_18_40_04_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7a64a32cad7288b0552ed5d9ec629fa.jpg","text":"TemporaryFile(/tmp/multipartBody7570007210922745953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338509984,"filename":"image_12072025_18_40_24_9862.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb7c5a9091a98c450bac3e5dcdf8e7af.jpg","text":"TemporaryFile(/tmp/multipartBody2023029560744937066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338509984,"filename":"image_12072025_18_40_14_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21b79e315b30f0ab886b3085d8f4bfd1.jpg","text":"TemporaryFile(/tmp/multipartBody4003258445080427565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338509984,"filename":"image_12072025_18_40_44_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3122b8f89074e4c771c9d3d5b360139.jpg","text":"TemporaryFile(/tmp/multipartBody8270427788941936748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338509984,"filename":"image_12072025_18_39_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3eb6874abc60807ec23f90470d910e57.jpg","text":"TemporaryFile(/tmp/multipartBody5683615143575258333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338509984,"filename":"image_12072025_18_40_34_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908705","file1":"1371908700","file0":"1371908698","file4":"1371908711","file5":"1371908713","file3":"1371908708"},"map_files_photo_id_array":[{"photo_id":"1371908713","filename":"file5"},{"photo_id":"1371908705","filename":"file2"},{"photo_id":"1371908711","filename":"file4"},{"photo_id":"1371908700","filename":"file1"},{"photo_id":"1371908698","filename":"file0"},{"photo_id":"1371908708","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908711":["hashtag1","hashtag2"]},{"1371908705":["hashtag1","hashtag2"]},{"1371908708":["hashtag1","hashtag2"]},{"1371908698":["hashtag1","hashtag2"]},{"1371908713":["hashtag1","hashtag2"]},{"1371908700":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908711, 1371908705, 1371908708, 1371908698, 1371908713, 1371908700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.636245250701904 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:41:31.755007
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_44_9770.jpg', 2), ('/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_34_9787.jpg', 2), ('/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_24_10753.jpg', 2), ('/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_13_9674.jpg', 2), ('/home/nano/Desktop/images/12072025/18/40/image_12072025_18_41_04_9796.jpg', 2), ('/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_54_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_44_9770.jpg', '/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_34_9787.jpg', '/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_24_10753.jpg', '/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_13_9674.jpg', '/home/nano/Desktop/images/12072025/18/40/image_12072025_18_41_04_9796.jpg', '/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_54_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_44_9770.jpg
/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_34_9787.jpg
/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_24_10753.jpg
/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_13_9674.jpg
/home/nano/Desktop/images/12072025/18/40/image_12072025_18_41_04_9796.jpg
/home/nano/Desktop/images/12072025/18/40/image_12072025_18_40_54_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908722","1371908716","1371908718","1371908721","1371908715","1371908720"],"photo_ids_order":["1371908715","1371908716","1371908718","1371908720","1371908721","1371908722"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31dbf4fef9086cb0877e136d17959e69.jpg","text":"TemporaryFile(/tmp/multipartBody9213749820529251344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338554320,"filename":"image_12072025_18_40_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/725f73756801dc47916f803c9fbcfc0c.jpg","text":"TemporaryFile(/tmp/multipartBody639358184011117057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338554320,"filename":"image_12072025_18_41_34_9787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72b2246757f6f7673b8fde648108bae2.jpg","text":"TemporaryFile(/tmp/multipartBody45168166137776646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338554320,"filename":"image_12072025_18_41_24_10753.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06a2ec35a41dc76ade22a653a0f5561f.jpg","text":"TemporaryFile(/tmp/multipartBody4438065716779986133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338554320,"filename":"image_12072025_18_41_04_9796.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a934ad99abdc86822ac3ebb6ff2cd4e6.jpg","text":"TemporaryFile(/tmp/multipartBody7896823163197876402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338554320,"filename":"image_12072025_18_41_44_9770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aba294c202a8bc232f8f5d58a24a7046.jpg","text":"TemporaryFile(/tmp/multipartBody4220035194554183042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338554320,"filename":"image_12072025_18_41_13_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908718","file1":"1371908716","file0":"1371908715","file4":"1371908721","file5":"1371908722","file3":"1371908720"},"map_files_photo_id_array":[{"photo_id":"1371908722","filename":"file5"},{"photo_id":"1371908718","filename":"file2"},{"photo_id":"1371908721","filename":"file4"},{"photo_id":"1371908716","filename":"file1"},{"photo_id":"1371908715","filename":"file0"},{"photo_id":"1371908720","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908722":["hashtag1","hashtag2"]},{"1371908716":["hashtag1","hashtag2"]},{"1371908718":["hashtag1","hashtag2"]},{"1371908721":["hashtag1","hashtag2"]},{"1371908715":["hashtag1","hashtag2"]},{"1371908720":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908722, 1371908716, 1371908718, 1371908721, 1371908715, 1371908720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.267640590667725 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:42:16.887854
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_44_9819.jpg', 2), ('/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_34_10797.jpg', 2), ('/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_23_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_14_9774.jpg', 2), ('/home/nano/Desktop/images/12072025/18/41/image_12072025_18_42_04_9760.jpg', 2), ('/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_54_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_44_9819.jpg', '/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_34_10797.jpg', '/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_23_9643.jpg', '/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_14_9774.jpg', '/home/nano/Desktop/images/12072025/18/41/image_12072025_18_42_04_9760.jpg', '/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_54_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_44_9819.jpg
/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_34_10797.jpg
/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_23_9643.jpg
/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_14_9774.jpg
/home/nano/Desktop/images/12072025/18/41/image_12072025_18_42_04_9760.jpg
/home/nano/Desktop/images/12072025/18/41/image_12072025_18_41_54_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908732","1371908731","1371908734","1371908725","1371908727","1371908729"],"photo_ids_order":["1371908725","1371908727","1371908729","1371908731","1371908732","1371908734"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dba5d6f0a529d6eaf715bf983c8e4302.jpg","text":"TemporaryFile(/tmp/multipartBody6201773790495039594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338599942,"filename":"image_12072025_18_42_04_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ae6e4bc6388beabb117d49351bbf52a.jpg","text":"TemporaryFile(/tmp/multipartBody5033672468628597145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338599942,"filename":"image_12072025_18_42_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c37f0e39652f0438196810560d7cbd91.jpg","text":"TemporaryFile(/tmp/multipartBody1126848523219929670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338599942,"filename":"image_12072025_18_41_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc068af4e045d71d0b9459f961e972be.jpg","text":"TemporaryFile(/tmp/multipartBody7291352130713459577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338599942,"filename":"image_12072025_18_42_44_9819.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1805b44ccabe9c4efe8ecc7f17794253.jpg","text":"TemporaryFile(/tmp/multipartBody1392750593394024547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338599942,"filename":"image_12072025_18_42_34_10797.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50f144ea8bdfcc2b90719c5d59933ca5.jpg","text":"TemporaryFile(/tmp/multipartBody237328463391506387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338599942,"filename":"image_12072025_18_42_23_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908729","file1":"1371908727","file0":"1371908725","file4":"1371908732","file5":"1371908734","file3":"1371908731"},"map_files_photo_id_array":[{"photo_id":"1371908734","filename":"file5"},{"photo_id":"1371908729","filename":"file2"},{"photo_id":"1371908732","filename":"file4"},{"photo_id":"1371908727","filename":"file1"},{"photo_id":"1371908725","filename":"file0"},{"photo_id":"1371908731","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908732":["hashtag1","hashtag2"]},{"1371908731":["hashtag1","hashtag2"]},{"1371908734":["hashtag1","hashtag2"]},{"1371908725":["hashtag1","hashtag2"]},{"1371908727":["hashtag1","hashtag2"]},{"1371908729":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908732, 1371908731, 1371908734, 1371908725, 1371908727, 1371908729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.360116958618164 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:43:02.594001
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_34_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_24_9720.jpg', 2), ('/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_14_9712.jpg', 2), ('/home/nano/Desktop/images/12072025/17/44/image_12072025_17_45_04_10726.jpg', 2), ('/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_53_9709.jpg', 2), ('/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_44_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_34_10641.jpg', '/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_24_9720.jpg', '/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_14_9712.jpg', '/home/nano/Desktop/images/12072025/17/44/image_12072025_17_45_04_10726.jpg', '/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_53_9709.jpg', '/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_44_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_34_10641.jpg
/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_24_9720.jpg
/home/nano/Desktop/images/12072025/17/45/image_12072025_17_45_14_9712.jpg
/home/nano/Desktop/images/12072025/17/44/image_12072025_17_45_04_10726.jpg
/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_53_9709.jpg
/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_44_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908746","1371908743","1371908745","1371908748","1371908741","1371908744"],"photo_ids_order":["1371908741","1371908743","1371908744","1371908745","1371908746","1371908748"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82cb03742af89b589a88b6f2ca474c59.jpg","text":"TemporaryFile(/tmp/multipartBody1361278656759629858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338644794,"filename":"image_12072025_17_44_53_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34b13c8d381a1eca0165fede64fdf186.jpg","text":"TemporaryFile(/tmp/multipartBody946998708316378319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338644794,"filename":"image_12072025_17_45_24_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7101994fea96223944424043c7355cc.jpg","text":"TemporaryFile(/tmp/multipartBody8018626138220117555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338644794,"filename":"image_12072025_17_45_04_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7f25a51a083f57999d6843e14b7ff4a.jpg","text":"TemporaryFile(/tmp/multipartBody123095628748623940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338644794,"filename":"image_12072025_17_44_44_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/768a3c567c7a256ca499728ccf3117c6.jpg","text":"TemporaryFile(/tmp/multipartBody6565509300421835153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338644794,"filename":"image_12072025_17_45_34_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa59de8a622a8ef8a915f929b1a32d16.jpg","text":"TemporaryFile(/tmp/multipartBody108748534680439697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338644794,"filename":"image_12072025_17_45_14_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908744","file1":"1371908743","file0":"1371908741","file4":"1371908746","file5":"1371908748","file3":"1371908745"},"map_files_photo_id_array":[{"photo_id":"1371908748","filename":"file5"},{"photo_id":"1371908744","filename":"file2"},{"photo_id":"1371908746","filename":"file4"},{"photo_id":"1371908743","filename":"file1"},{"photo_id":"1371908741","filename":"file0"},{"photo_id":"1371908745","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908746":["hashtag1","hashtag2"]},{"1371908743":["hashtag1","hashtag2"]},{"1371908745":["hashtag1","hashtag2"]},{"1371908748":["hashtag1","hashtag2"]},{"1371908741":["hashtag1","hashtag2"]},{"1371908744":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908746, 1371908743, 1371908745, 1371908748, 1371908741, 1371908744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.837290048599243 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:43:46.985182
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_44_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_34_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_24_9711.jpg', 2), ('/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_14_10756.jpg', 2), ('/home/nano/Desktop/images/12072025/18/42/image_12072025_18_43_04_9721.jpg', 2), ('/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_54_9710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_44_10645.jpg', '/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_34_9636.jpg', '/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_24_9711.jpg', '/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_14_10756.jpg', '/home/nano/Desktop/images/12072025/18/42/image_12072025_18_43_04_9721.jpg', '/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_54_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_44_10645.jpg
/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_34_9636.jpg
/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_24_9711.jpg
/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_14_10756.jpg
/home/nano/Desktop/images/12072025/18/42/image_12072025_18_43_04_9721.jpg
/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_54_9710.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.086871862411499 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:44:02.866733
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_44_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_34_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_24_9711.jpg', 2), ('/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_14_10756.jpg', 2), ('/home/nano/Desktop/images/12072025/18/42/image_12072025_18_43_04_9721.jpg', 2), ('/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_54_9710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_44_10645.jpg', '/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_34_9636.jpg', '/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_24_9711.jpg', '/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_14_10756.jpg', '/home/nano/Desktop/images/12072025/18/42/image_12072025_18_43_04_9721.jpg', '/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_54_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_44_10645.jpg
/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_34_9636.jpg
/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_24_9711.jpg
/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_14_10756.jpg
/home/nano/Desktop/images/12072025/18/42/image_12072025_18_43_04_9721.jpg
/home/nano/Desktop/images/12072025/18/42/image_12072025_18_42_54_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908776","1371908770","1371908767","1371908772","1371908778","1371908774"],"photo_ids_order":["1371908767","1371908770","1371908772","1371908774","1371908776","1371908778"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c6c4d2e67ef216c45f3c865a3c46b81.jpg","text":"TemporaryFile(/tmp/multipartBody2822190255150423916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338704636,"filename":"image_12072025_18_43_04_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80647fc9ffede1324ca6d57d31f7126a.jpg","text":"TemporaryFile(/tmp/multipartBody4665915250423545737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338704636,"filename":"image_12072025_18_43_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0054b54b340cfac200712da0acea660.jpg","text":"TemporaryFile(/tmp/multipartBody3367166508494244214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338704636,"filename":"image_12072025_18_43_44_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a34fde5c5da50e0367740b6015677972.jpg","text":"TemporaryFile(/tmp/multipartBody7011960814767911511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338704636,"filename":"image_12072025_18_43_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d15094155c34c067951194efb4a4475.jpg","text":"TemporaryFile(/tmp/multipartBody1511977764016869359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338704636,"filename":"image_12072025_18_42_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70e62a52967d71c4a6820ff14d3ae6cb.jpg","text":"TemporaryFile(/tmp/multipartBody9087497654184171587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338704636,"filename":"image_12072025_18_43_14_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908772","file1":"1371908770","file0":"1371908767","file4":"1371908776","file5":"1371908778","file3":"1371908774"},"map_files_photo_id_array":[{"photo_id":"1371908778","filename":"file5"},{"photo_id":"1371908772","filename":"file2"},{"photo_id":"1371908776","filename":"file4"},{"photo_id":"1371908770","filename":"file1"},{"photo_id":"1371908767","filename":"file0"},{"photo_id":"1371908774","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908776":["hashtag1","hashtag2"]},{"1371908770":["hashtag1","hashtag2"]},{"1371908767":["hashtag1","hashtag2"]},{"1371908772":["hashtag1","hashtag2"]},{"1371908778":["hashtag1","hashtag2"]},{"1371908774":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908776, 1371908770, 1371908767, 1371908772, 1371908778, 1371908774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.962336540222168 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:44:47.111594
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_44_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_34_9706.jpg', 2), ('/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_24_10729.jpg', 2), ('/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_13_9808.jpg', 2), ('/home/nano/Desktop/images/12072025/18/43/image_12072025_18_44_04_9710.jpg', 2), ('/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_54_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_44_9666.jpg', '/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_34_9706.jpg', '/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_24_10729.jpg', '/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_13_9808.jpg', '/home/nano/Desktop/images/12072025/18/43/image_12072025_18_44_04_9710.jpg', '/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_44_9666.jpg
/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_34_9706.jpg
/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_24_10729.jpg
/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_13_9808.jpg
/home/nano/Desktop/images/12072025/18/43/image_12072025_18_44_04_9710.jpg
/home/nano/Desktop/images/12072025/18/43/image_12072025_18_43_54_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908782","1371908785","1371908787","1371908781","1371908784","1371908783"],"photo_ids_order":["1371908781","1371908782","1371908783","1371908784","1371908785","1371908787"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb345b42307aafc3706008ab193c2104.jpg","text":"TemporaryFile(/tmp/multipartBody8474753581361810251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338749623,"filename":"image_12072025_18_44_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/665fb8a6e25ff2418bbf8125e8859ec5.jpg","text":"TemporaryFile(/tmp/multipartBody1590541250122109898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338749623,"filename":"image_12072025_18_44_04_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2465f2e15736936e6652cb52405a1cc0.jpg","text":"TemporaryFile(/tmp/multipartBody2993277269871557802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338749623,"filename":"image_12072025_18_43_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c32c73ffcb50df3fee553922e0844819.jpg","text":"TemporaryFile(/tmp/multipartBody2349953425673249583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338749623,"filename":"image_12072025_18_44_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de0eaf5044760e5af386b1c804cfa55b.jpg","text":"TemporaryFile(/tmp/multipartBody5518300133879875714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338749623,"filename":"image_12072025_18_44_13_9808.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/047d9b231944b180e378578bce16b4aa.jpg","text":"TemporaryFile(/tmp/multipartBody5684540204925064014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338749623,"filename":"image_12072025_18_44_24_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908783","file1":"1371908782","file0":"1371908781","file4":"1371908785","file5":"1371908787","file3":"1371908784"},"map_files_photo_id_array":[{"photo_id":"1371908787","filename":"file5"},{"photo_id":"1371908783","filename":"file2"},{"photo_id":"1371908785","filename":"file4"},{"photo_id":"1371908782","filename":"file1"},{"photo_id":"1371908781","filename":"file0"},{"photo_id":"1371908784","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908782":["hashtag1","hashtag2"]},{"1371908785":["hashtag1","hashtag2"]},{"1371908787":["hashtag1","hashtag2"]},{"1371908781":["hashtag1","hashtag2"]},{"1371908784":["hashtag1","hashtag2"]},{"1371908783":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908782, 1371908785, 1371908787, 1371908781, 1371908784, 1371908783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5272536277771 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:45:32.194588
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_43_9695.jpg', 2), ('/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_34_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_24_10664.jpg', 2), ('/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_13_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/18/44/image_12072025_18_45_04_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_54_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_43_9695.jpg', '/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_34_9652.jpg', '/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_24_10664.jpg', '/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_13_9613.jpg', '/home/nano/Desktop/images/12072025/18/44/image_12072025_18_45_04_9647.jpg', '/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_54_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_43_9695.jpg
/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_34_9652.jpg
/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_24_10664.jpg
/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_13_9613.jpg
/home/nano/Desktop/images/12072025/18/44/image_12072025_18_45_04_9647.jpg
/home/nano/Desktop/images/12072025/18/44/image_12072025_18_44_54_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908797","1371908800","1371908803","1371908796","1371908805","1371908798"],"photo_ids_order":["1371908796","1371908797","1371908798","1371908800","1371908803","1371908805"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb5ad09e29bb59765ae6828cb38fe304.jpg","text":"TemporaryFile(/tmp/multipartBody5640525759626971248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338794015,"filename":"image_12072025_18_45_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab026308dc3ff7c72fed9eb8efa16881.jpg","text":"TemporaryFile(/tmp/multipartBody3578844088902801540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338794015,"filename":"image_12072025_18_45_13_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f412cd0c53e9701abb2ca0ec2e97a14.jpg","text":"TemporaryFile(/tmp/multipartBody723960094345759523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338794015,"filename":"image_12072025_18_45_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7c376375e9eb4bfc2acdc7a5ffa9fc2.jpg","text":"TemporaryFile(/tmp/multipartBody2651095444848865816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338794015,"filename":"image_12072025_18_45_43_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3cd16212bcdcb6dce510e912a5223493.jpg","text":"TemporaryFile(/tmp/multipartBody3850146664761507049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338794015,"filename":"image_12072025_18_44_54_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a57fe5da8d02de423baad6cd28470da0.jpg","text":"TemporaryFile(/tmp/multipartBody5335555719998639285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338794015,"filename":"image_12072025_18_45_24_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908798","file1":"1371908797","file0":"1371908796","file4":"1371908803","file5":"1371908805","file3":"1371908800"},"map_files_photo_id_array":[{"photo_id":"1371908805","filename":"file5"},{"photo_id":"1371908798","filename":"file2"},{"photo_id":"1371908803","filename":"file4"},{"photo_id":"1371908797","filename":"file1"},{"photo_id":"1371908796","filename":"file0"},{"photo_id":"1371908800","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908797":["hashtag1","hashtag2"]},{"1371908800":["hashtag1","hashtag2"]},{"1371908803":["hashtag1","hashtag2"]},{"1371908796":["hashtag1","hashtag2"]},{"1371908805":["hashtag1","hashtag2"]},{"1371908798":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908797, 1371908800, 1371908803, 1371908796, 1371908805, 1371908798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29357647895813 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:46:17.306844
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_44_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_34_10773.jpg', 2), ('/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_23_9769.jpg', 2), ('/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_14_9815.jpg', 2), ('/home/nano/Desktop/images/12072025/18/45/image_12072025_18_46_04_9674.jpg', 2), ('/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_54_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_44_9646.jpg', '/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_34_10773.jpg', '/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_23_9769.jpg', '/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_14_9815.jpg', '/home/nano/Desktop/images/12072025/18/45/image_12072025_18_46_04_9674.jpg', '/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_54_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_44_9646.jpg
/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_34_10773.jpg
/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_23_9769.jpg
/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_14_9815.jpg
/home/nano/Desktop/images/12072025/18/45/image_12072025_18_46_04_9674.jpg
/home/nano/Desktop/images/12072025/18/45/image_12072025_18_45_54_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908810","1371908813","1371908812","1371908815","1371908811","1371908814"],"photo_ids_order":["1371908810","1371908811","1371908812","1371908813","1371908814","1371908815"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d571b34415247e60d4b64e1e61a21781.jpg","text":"TemporaryFile(/tmp/multipartBody4487903547363663111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338839928,"filename":"image_12072025_18_46_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39224b9b84110a891c6f4e6d555e36e4.jpg","text":"TemporaryFile(/tmp/multipartBody6787977098123522020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338839928,"filename":"image_12072025_18_46_14_9815.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85704b23a3304b34f17aa8c172ed4b83.jpg","text":"TemporaryFile(/tmp/multipartBody134807054734667975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338839928,"filename":"image_12072025_18_46_23_9769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c1367680b9028adf6bc5c887c698a0f.jpg","text":"TemporaryFile(/tmp/multipartBody2053433990693232071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338839928,"filename":"image_12072025_18_45_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fdddf5bbb5d1e9a72ebf6d67b60a2eb.jpg","text":"TemporaryFile(/tmp/multipartBody4604174743686856973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338839928,"filename":"image_12072025_18_46_34_10773.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9201300d256b8c1995240d8524c0e204.jpg","text":"TemporaryFile(/tmp/multipartBody9088522697646315883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338839928,"filename":"image_12072025_18_46_04_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908812","file1":"1371908811","file0":"1371908810","file4":"1371908814","file5":"1371908815","file3":"1371908813"},"map_files_photo_id_array":[{"photo_id":"1371908815","filename":"file5"},{"photo_id":"1371908812","filename":"file2"},{"photo_id":"1371908814","filename":"file4"},{"photo_id":"1371908811","filename":"file1"},{"photo_id":"1371908810","filename":"file0"},{"photo_id":"1371908813","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908810":["hashtag1","hashtag2"]},{"1371908813":["hashtag1","hashtag2"]},{"1371908812":["hashtag1","hashtag2"]},{"1371908815":["hashtag1","hashtag2"]},{"1371908811":["hashtag1","hashtag2"]},{"1371908814":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908810, 1371908813, 1371908812, 1371908815, 1371908811, 1371908814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25493502616882 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:47:03.209508
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_34_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_23_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_14_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/17/43/image_12072025_17_44_04_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_54_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_44_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_34_10639.jpg', '/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_23_9653.jpg', '/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_14_9658.jpg', '/home/nano/Desktop/images/12072025/17/43/image_12072025_17_44_04_10649.jpg', '/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_54_9652.jpg', '/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_44_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_34_10639.jpg
/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_23_9653.jpg
/home/nano/Desktop/images/12072025/17/44/image_12072025_17_44_14_9658.jpg
/home/nano/Desktop/images/12072025/17/43/image_12072025_17_44_04_10649.jpg
/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_54_9652.jpg
/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_44_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908831","1371908833","1371908823","1371908826","1371908829","1371908834"],"photo_ids_order":["1371908823","1371908826","1371908829","1371908831","1371908833","1371908834"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f21ef22877d6e7d18e5086f224546de.jpg","text":"TemporaryFile(/tmp/multipartBody5143710454434966141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338885071,"filename":"image_12072025_17_44_04_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e743b5811a4aac7ac0bd6214ede46e1.jpg","text":"TemporaryFile(/tmp/multipartBody3963539959321701622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338885071,"filename":"image_12072025_17_43_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/966377e794555956a97602818867e2ca.jpg","text":"TemporaryFile(/tmp/multipartBody1149734108615412731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338885071,"filename":"image_12072025_17_44_34_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f6e4ac3af9a1f428e860196e018eeda.jpg","text":"TemporaryFile(/tmp/multipartBody6614205916014166609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338885071,"filename":"image_12072025_17_44_23_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d72a5e34cd10cd44a47d02efb7220e50.jpg","text":"TemporaryFile(/tmp/multipartBody7946329568400657805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338885071,"filename":"image_12072025_17_44_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8dc7542b898c47c6d0e15ec2702ca91b.jpg","text":"TemporaryFile(/tmp/multipartBody8791869905596759658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338885071,"filename":"image_12072025_17_43_44_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908829","file1":"1371908826","file0":"1371908823","file4":"1371908833","file5":"1371908834","file3":"1371908831"},"map_files_photo_id_array":[{"photo_id":"1371908834","filename":"file5"},{"photo_id":"1371908829","filename":"file2"},{"photo_id":"1371908833","filename":"file4"},{"photo_id":"1371908826","filename":"file1"},{"photo_id":"1371908823","filename":"file0"},{"photo_id":"1371908831","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908831":["hashtag1","hashtag2"]},{"1371908833":["hashtag1","hashtag2"]},{"1371908823":["hashtag1","hashtag2"]},{"1371908826":["hashtag1","hashtag2"]},{"1371908829":["hashtag1","hashtag2"]},{"1371908834":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908831, 1371908833, 1371908823, 1371908826, 1371908829, 1371908834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.366937398910522 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:47:47.405412
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_44_9585.jpg', 2), ('/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_34_10590.jpg', 2), ('/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_23_9681.jpg', 2), ('/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_14_9699.jpg', 2), ('/home/nano/Desktop/images/12072025/18/46/image_12072025_18_47_04_10704.jpg', 2), ('/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_53_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_44_9585.jpg', '/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_34_10590.jpg', '/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_23_9681.jpg', '/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_14_9699.jpg', '/home/nano/Desktop/images/12072025/18/46/image_12072025_18_47_04_10704.jpg', '/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_53_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_44_9585.jpg
/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_34_10590.jpg
/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_23_9681.jpg
/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_14_9699.jpg
/home/nano/Desktop/images/12072025/18/46/image_12072025_18_47_04_10704.jpg
/home/nano/Desktop/images/12072025/18/46/image_12072025_18_46_53_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908839","1371908842","1371908852","1371908846","1371908849","1371908843"],"photo_ids_order":["1371908839","1371908842","1371908843","1371908846","1371908849","1371908852"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89fca04f030b3525657eaa48b370b2b1.jpg","text":"TemporaryFile(/tmp/multipartBody2892375913798982340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338929259,"filename":"image_12072025_18_47_44_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a19a7f07a047f506e62cd571071a8ec.jpg","text":"TemporaryFile(/tmp/multipartBody802295187992268635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338929259,"filename":"image_12072025_18_47_34_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/628d0b54626d8fdc30aca5e5ccbc5e8f.jpg","text":"TemporaryFile(/tmp/multipartBody2157662937198788868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338929259,"filename":"image_12072025_18_46_53_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ccb2b6c8f23c23fc7e9711621d3085d5.jpg","text":"TemporaryFile(/tmp/multipartBody8090674351212901422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338929259,"filename":"image_12072025_18_47_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03621e4b9807e67ffc021669e31e0db2.jpg","text":"TemporaryFile(/tmp/multipartBody2377046577032613617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338929259,"filename":"image_12072025_18_47_04_10704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5780ce8a966f49cd2df7a82d3fa6281.jpg","text":"TemporaryFile(/tmp/multipartBody6527284563135907772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338929259,"filename":"image_12072025_18_47_23_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908843","file1":"1371908842","file0":"1371908839","file4":"1371908849","file5":"1371908852","file3":"1371908846"},"map_files_photo_id_array":[{"photo_id":"1371908852","filename":"file5"},{"photo_id":"1371908843","filename":"file2"},{"photo_id":"1371908849","filename":"file4"},{"photo_id":"1371908842","filename":"file1"},{"photo_id":"1371908839","filename":"file0"},{"photo_id":"1371908846","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908839":["hashtag1","hashtag2"]},{"1371908842":["hashtag1","hashtag2"]},{"1371908852":["hashtag1","hashtag2"]},{"1371908846":["hashtag1","hashtag2"]},{"1371908849":["hashtag1","hashtag2"]},{"1371908843":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908839, 1371908842, 1371908852, 1371908846, 1371908849, 1371908843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3938193321228 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:48:32.499059
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_44_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_34_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_23_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_14_9721.jpg', 2), ('/home/nano/Desktop/images/12072025/18/47/image_12072025_18_48_04_10696.jpg', 2), ('/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_53_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_44_9608.jpg', '/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_34_10671.jpg', '/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_23_9667.jpg', '/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_14_9721.jpg', '/home/nano/Desktop/images/12072025/18/47/image_12072025_18_48_04_10696.jpg', '/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_53_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_44_9608.jpg
/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_34_10671.jpg
/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_23_9667.jpg
/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_14_9721.jpg
/home/nano/Desktop/images/12072025/18/47/image_12072025_18_48_04_10696.jpg
/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_53_9641.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8688688278198242 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:48:47.463473
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_44_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_34_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_23_9667.jpg', 2), ('/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_14_9721.jpg', 2), ('/home/nano/Desktop/images/12072025/18/47/image_12072025_18_48_04_10696.jpg', 2), ('/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_53_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_44_9608.jpg', '/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_34_10671.jpg', '/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_23_9667.jpg', '/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_14_9721.jpg', '/home/nano/Desktop/images/12072025/18/47/image_12072025_18_48_04_10696.jpg', '/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_53_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_44_9608.jpg
/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_34_10671.jpg
/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_23_9667.jpg
/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_14_9721.jpg
/home/nano/Desktop/images/12072025/18/47/image_12072025_18_48_04_10696.jpg
/home/nano/Desktop/images/12072025/18/47/image_12072025_18_47_53_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908875","1371908869","1371908866","1371908871","1371908862","1371908873"],"photo_ids_order":["1371908862","1371908866","1371908869","1371908871","1371908873","1371908875"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ca00dd49c911637ce810f4633c88d6d.jpg","text":"TemporaryFile(/tmp/multipartBody8463373575416862618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338989154,"filename":"image_12072025_18_47_53_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a27f23b640d4c3c292be1607b185834.jpg","text":"TemporaryFile(/tmp/multipartBody4394159998400630312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338989154,"filename":"image_12072025_18_48_23_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/475345b92b5f1ed52a7a42a2af2f2f76.jpg","text":"TemporaryFile(/tmp/multipartBody2511354701277222321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338989154,"filename":"image_12072025_18_48_34_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fd043fef9012cb10aad4418a38dd43d.jpg","text":"TemporaryFile(/tmp/multipartBody2056256564721648380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338989154,"filename":"image_12072025_18_48_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7cd0c8cab9826bf8794441018c6b6c75.jpg","text":"TemporaryFile(/tmp/multipartBody4707082371239309947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338989154,"filename":"image_12072025_18_48_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ee0de23327a2f8080d346e1df699cb4.jpg","text":"TemporaryFile(/tmp/multipartBody8875283287606234991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752338989154,"filename":"image_12072025_18_48_04_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908869","file1":"1371908866","file0":"1371908862","file4":"1371908873","file5":"1371908875","file3":"1371908871"},"map_files_photo_id_array":[{"photo_id":"1371908875","filename":"file5"},{"photo_id":"1371908869","filename":"file2"},{"photo_id":"1371908873","filename":"file4"},{"photo_id":"1371908866","filename":"file1"},{"photo_id":"1371908862","filename":"file0"},{"photo_id":"1371908871","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908875":["hashtag1","hashtag2"]},{"1371908869":["hashtag1","hashtag2"]},{"1371908866":["hashtag1","hashtag2"]},{"1371908871":["hashtag1","hashtag2"]},{"1371908862":["hashtag1","hashtag2"]},{"1371908873":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908875, 1371908869, 1371908866, 1371908871, 1371908862, 1371908873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88987112045288 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:49:32.665388
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_44_9657.jpg', 2), ('/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_23_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_14_9690.jpg', 2), ('/home/nano/Desktop/images/12072025/18/48/image_12072025_18_49_04_9684.jpg', 2), ('/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_54_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_44_9657.jpg', '/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_34_10623.jpg', '/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_23_9626.jpg', '/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_14_9690.jpg', '/home/nano/Desktop/images/12072025/18/48/image_12072025_18_49_04_9684.jpg', '/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_44_9657.jpg
/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_34_10623.jpg
/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_23_9626.jpg
/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_14_9690.jpg
/home/nano/Desktop/images/12072025/18/48/image_12072025_18_49_04_9684.jpg
/home/nano/Desktop/images/12072025/18/48/image_12072025_18_48_54_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908896","1371908881","1371908898","1371908895","1371908880","1371908891"],"photo_ids_order":["1371908880","1371908881","1371908891","1371908895","1371908896","1371908898"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e527aeb7269ed35533738aa77c384fcc.jpg","text":"TemporaryFile(/tmp/multipartBody926912772645058187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339035767,"filename":"image_12072025_18_49_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6875c34d477429c63a488e79cb3e4fec.jpg","text":"TemporaryFile(/tmp/multipartBody2613333062037398288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339035767,"filename":"image_12072025_18_49_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54fef6654b430e491d741b32544234a5.jpg","text":"TemporaryFile(/tmp/multipartBody8599034742221647225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339035767,"filename":"image_12072025_18_48_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/863450b6d5a96d72c3b2100e433d0aaf.jpg","text":"TemporaryFile(/tmp/multipartBody7978856355343073094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339035767,"filename":"image_12072025_18_49_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6660ecfdbcf04e835738de683c4018d0.jpg","text":"TemporaryFile(/tmp/multipartBody7489272461795058083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339035767,"filename":"image_12072025_18_49_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7528854e4892e96ebe86826d36f5ba21.jpg","text":"TemporaryFile(/tmp/multipartBody1219417814689154785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339035767,"filename":"image_12072025_18_49_23_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908891","file1":"1371908881","file0":"1371908880","file4":"1371908896","file5":"1371908898","file3":"1371908895"},"map_files_photo_id_array":[{"photo_id":"1371908898","filename":"file5"},{"photo_id":"1371908891","filename":"file2"},{"photo_id":"1371908896","filename":"file4"},{"photo_id":"1371908881","filename":"file1"},{"photo_id":"1371908880","filename":"file0"},{"photo_id":"1371908895","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908896":["hashtag1","hashtag2"]},{"1371908881":["hashtag1","hashtag2"]},{"1371908898":["hashtag1","hashtag2"]},{"1371908895":["hashtag1","hashtag2"]},{"1371908880":["hashtag1","hashtag2"]},{"1371908891":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908896, 1371908881, 1371908898, 1371908895, 1371908880, 1371908891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51465177536011 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:50:16.776601
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_43_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_34_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_24_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/18/49/image_12072025_18_50_04_9672.jpg', 2), ('/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_54_10686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_43_9631.jpg', '/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_34_9623.jpg', '/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_24_10622.jpg', '/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_14_9631.jpg', '/home/nano/Desktop/images/12072025/18/49/image_12072025_18_50_04_9672.jpg', '/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_54_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_43_9631.jpg
/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_34_9623.jpg
/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_24_10622.jpg
/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_14_9631.jpg
/home/nano/Desktop/images/12072025/18/49/image_12072025_18_50_04_9672.jpg
/home/nano/Desktop/images/12072025/18/49/image_12072025_18_49_54_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908906","1371908908","1371908902","1371908904","1371908901","1371908909"],"photo_ids_order":["1371908901","1371908902","1371908904","1371908906","1371908908","1371908909"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a82fe677cdf725d5c6cbe41aa59dc3df.jpg","text":"TemporaryFile(/tmp/multipartBody43217875177300222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339079330,"filename":"image_12072025_18_50_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/912a6e0bd1dc33a6974f9e210563b9ce.jpg","text":"TemporaryFile(/tmp/multipartBody393948067974883786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339079330,"filename":"image_12072025_18_50_04_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/015ae1d10d6ec7272db055315bd91d0c.jpg","text":"TemporaryFile(/tmp/multipartBody1911649530763993146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339079330,"filename":"image_12072025_18_50_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe3e57eab65a666a07162ff185474a9c.jpg","text":"TemporaryFile(/tmp/multipartBody3329305934570139453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339079330,"filename":"image_12072025_18_50_24_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/edd06a74411fc58b5f9e4c862f365a4f.jpg","text":"TemporaryFile(/tmp/multipartBody9047429395207441525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339079330,"filename":"image_12072025_18_50_43_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/073add87d405ea472734c58527e354b9.jpg","text":"TemporaryFile(/tmp/multipartBody4026625467164322828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339079330,"filename":"image_12072025_18_49_54_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908904","file1":"1371908902","file0":"1371908901","file4":"1371908908","file5":"1371908909","file3":"1371908906"},"map_files_photo_id_array":[{"photo_id":"1371908909","filename":"file5"},{"photo_id":"1371908904","filename":"file2"},{"photo_id":"1371908908","filename":"file4"},{"photo_id":"1371908902","filename":"file1"},{"photo_id":"1371908901","filename":"file0"},{"photo_id":"1371908906","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908906":["hashtag1","hashtag2"]},{"1371908908":["hashtag1","hashtag2"]},{"1371908902":["hashtag1","hashtag2"]},{"1371908904":["hashtag1","hashtag2"]},{"1371908901":["hashtag1","hashtag2"]},{"1371908909":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908906, 1371908908, 1371908902, 1371908904, 1371908901, 1371908909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36353635787964 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:51:02.667718
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_34_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_24_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_14_9673.jpg', 2), ('/home/nano/Desktop/images/12072025/17/42/image_12072025_17_43_04_10700.jpg', 2), ('/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_54_9709.jpg', 2), ('/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_44_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_34_10637.jpg', '/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_24_9652.jpg', '/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_14_9673.jpg', '/home/nano/Desktop/images/12072025/17/42/image_12072025_17_43_04_10700.jpg', '/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_54_9709.jpg', '/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_44_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_34_10637.jpg
/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_24_9652.jpg
/home/nano/Desktop/images/12072025/17/43/image_12072025_17_43_14_9673.jpg
/home/nano/Desktop/images/12072025/17/42/image_12072025_17_43_04_10700.jpg
/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_54_9709.jpg
/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_44_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908920","1371908914","1371908917","1371908922","1371908919","1371908921"],"photo_ids_order":["1371908914","1371908917","1371908919","1371908920","1371908921","1371908922"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c27d34891b4bd92f5025c5cd0a334cce.jpg","text":"TemporaryFile(/tmp/multipartBody3177705205600254411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339124942,"filename":"image_12072025_17_43_04_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba6c3edd269fd6510b3f6bcf20e4bf6a.jpg","text":"TemporaryFile(/tmp/multipartBody8483652615577615958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339124942,"filename":"image_12072025_17_43_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/371afd19d4710afb62ff2f5e8bac8bde.jpg","text":"TemporaryFile(/tmp/multipartBody1569103305928818275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339124942,"filename":"image_12072025_17_43_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/433fd1211b61a63e4ea497725c2f9a6a.jpg","text":"TemporaryFile(/tmp/multipartBody8539462874137633159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339124942,"filename":"image_12072025_17_42_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63f169a79b048a81878b683f89c16b0f.jpg","text":"TemporaryFile(/tmp/multipartBody2218964034119822722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339124942,"filename":"image_12072025_17_43_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab081011e51fffeff6c4d2162c80d25a.jpg","text":"TemporaryFile(/tmp/multipartBody8196874241057125051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339124942,"filename":"image_12072025_17_42_54_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908919","file1":"1371908917","file0":"1371908914","file4":"1371908921","file5":"1371908922","file3":"1371908920"},"map_files_photo_id_array":[{"photo_id":"1371908922","filename":"file5"},{"photo_id":"1371908919","filename":"file2"},{"photo_id":"1371908921","filename":"file4"},{"photo_id":"1371908917","filename":"file1"},{"photo_id":"1371908914","filename":"file0"},{"photo_id":"1371908920","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908920":["hashtag1","hashtag2"]},{"1371908914":["hashtag1","hashtag2"]},{"1371908917":["hashtag1","hashtag2"]},{"1371908922":["hashtag1","hashtag2"]},{"1371908919":["hashtag1","hashtag2"]},{"1371908921":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908920, 1371908914, 1371908917, 1371908922, 1371908919, 1371908921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.483964443206787 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:51:46.940146
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_44_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_34_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_24_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_13_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/18/50/image_12072025_18_51_04_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_54_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_44_10627.jpg', '/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_34_9632.jpg', '/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_24_10649.jpg', '/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_13_9639.jpg', '/home/nano/Desktop/images/12072025/18/50/image_12072025_18_51_04_9629.jpg', '/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_54_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_44_10627.jpg
/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_34_9632.jpg
/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_24_10649.jpg
/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_13_9639.jpg
/home/nano/Desktop/images/12072025/18/50/image_12072025_18_51_04_9629.jpg
/home/nano/Desktop/images/12072025/18/50/image_12072025_18_50_54_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908938","1371908941","1371908940","1371908933","1371908942","1371908936"],"photo_ids_order":["1371908933","1371908936","1371908938","1371908940","1371908941","1371908942"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76581725faec92e45263aabd885f1434.jpg","text":"TemporaryFile(/tmp/multipartBody4347271793516651854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339169686,"filename":"image_12072025_18_51_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb86eebfb766596197abaa2f736fd35d.jpg","text":"TemporaryFile(/tmp/multipartBody6302904277108444599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339169686,"filename":"image_12072025_18_51_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2662b3f064b6c7548f4e0fddd5f336b4.jpg","text":"TemporaryFile(/tmp/multipartBody8986256575098924508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339169686,"filename":"image_12072025_18_51_13_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/440f6c93a9161c96313813b40fa8aab9.jpg","text":"TemporaryFile(/tmp/multipartBody8593623581875470862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339169686,"filename":"image_12072025_18_51_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9070dbddb363d2b14044d0670593a83.jpg","text":"TemporaryFile(/tmp/multipartBody4938838878130323138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339169686,"filename":"image_12072025_18_50_54_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76e2d767d6a5b70104db4849dfe7db80.jpg","text":"TemporaryFile(/tmp/multipartBody3798345146351450761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339169686,"filename":"image_12072025_18_51_34_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908938","file1":"1371908936","file0":"1371908933","file4":"1371908941","file5":"1371908942","file3":"1371908940"},"map_files_photo_id_array":[{"photo_id":"1371908942","filename":"file5"},{"photo_id":"1371908938","filename":"file2"},{"photo_id":"1371908941","filename":"file4"},{"photo_id":"1371908936","filename":"file1"},{"photo_id":"1371908933","filename":"file0"},{"photo_id":"1371908940","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908938":["hashtag1","hashtag2"]},{"1371908941":["hashtag1","hashtag2"]},{"1371908940":["hashtag1","hashtag2"]},{"1371908933":["hashtag1","hashtag2"]},{"1371908942":["hashtag1","hashtag2"]},{"1371908936":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908938, 1371908941, 1371908940, 1371908933, 1371908942, 1371908936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21589779853821 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:52:32.052302
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_44_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_33_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_24_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_14_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/18/51/image_12072025_18_52_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_44_10628.jpg', '/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_33_9618.jpg', '/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_24_9606.jpg', '/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_14_10641.jpg', '/home/nano/Desktop/images/12072025/18/51/image_12072025_18_52_04_9626.jpg', '/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_44_10628.jpg
/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_33_9618.jpg
/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_24_9606.jpg
/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_14_10641.jpg
/home/nano/Desktop/images/12072025/18/51/image_12072025_18_52_04_9626.jpg
/home/nano/Desktop/images/12072025/18/51/image_12072025_18_51_54_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908956","1371908959","1371908950","1371908952","1371908954","1371908948"],"photo_ids_order":["1371908948","1371908950","1371908952","1371908954","1371908956","1371908959"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7ddf09099184e733e65f885b67ce12f.jpg","text":"TemporaryFile(/tmp/multipartBody651262914680414490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339213813,"filename":"image_12072025_18_52_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5103a586fa65a85b64b5bf9097c4d82c.jpg","text":"TemporaryFile(/tmp/multipartBody6120923506753288252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339213813,"filename":"image_12072025_18_51_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/839a103b87d1de249e0f04b4b31753aa.jpg","text":"TemporaryFile(/tmp/multipartBody2550636151310837058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339213813,"filename":"image_12072025_18_52_33_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92ea76653301d3816b44390f22b53a5f.jpg","text":"TemporaryFile(/tmp/multipartBody3601182903083651274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339213813,"filename":"image_12072025_18_52_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/850617cf386948f0e27f453fba090abe.jpg","text":"TemporaryFile(/tmp/multipartBody2052012318226651790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339213813,"filename":"image_12072025_18_52_14_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b90e5286c7d9cfd9afc7b0cb21a19bbf.jpg","text":"TemporaryFile(/tmp/multipartBody3571640594051731655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339213813,"filename":"image_12072025_18_52_44_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908952","file1":"1371908950","file0":"1371908948","file4":"1371908956","file5":"1371908959","file3":"1371908954"},"map_files_photo_id_array":[{"photo_id":"1371908959","filename":"file5"},{"photo_id":"1371908952","filename":"file2"},{"photo_id":"1371908956","filename":"file4"},{"photo_id":"1371908950","filename":"file1"},{"photo_id":"1371908948","filename":"file0"},{"photo_id":"1371908954","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908956":["hashtag1","hashtag2"]},{"1371908959":["hashtag1","hashtag2"]},{"1371908950":["hashtag1","hashtag2"]},{"1371908952":["hashtag1","hashtag2"]},{"1371908954":["hashtag1","hashtag2"]},{"1371908948":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908956, 1371908959, 1371908950, 1371908952, 1371908954, 1371908948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.219000816345215 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:53:17.196694
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_44_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_34_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_24_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_14_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/18/52/image_12072025_18_53_04_10671.jpg', 2), ('/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_54_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_44_9636.jpg', '/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_34_10624.jpg', '/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_24_9620.jpg', '/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_14_9664.jpg', '/home/nano/Desktop/images/12072025/18/52/image_12072025_18_53_04_10671.jpg', '/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_54_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_44_9636.jpg
/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_34_10624.jpg
/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_24_9620.jpg
/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_14_9664.jpg
/home/nano/Desktop/images/12072025/18/52/image_12072025_18_53_04_10671.jpg
/home/nano/Desktop/images/12072025/18/52/image_12072025_18_52_54_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908968","1371908962","1371908965","1371908972","1371908969","1371908960"],"photo_ids_order":["1371908960","1371908962","1371908965","1371908968","1371908969","1371908972"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01f0ec80f199992b78ef2334e9295988.jpg","text":"TemporaryFile(/tmp/multipartBody9029777507307891709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339259054,"filename":"image_12072025_18_53_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d5505f731f9c08220dcc7cb54879bcc.jpg","text":"TemporaryFile(/tmp/multipartBody7461410239592032251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339259054,"filename":"image_12072025_18_53_34_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f7a9bc53fe4ecab4f2c0afd2cd13f6a.jpg","text":"TemporaryFile(/tmp/multipartBody5674034297131569734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339259054,"filename":"image_12072025_18_53_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96e390fdb91b949385d4c06d2bbf0c82.jpg","text":"TemporaryFile(/tmp/multipartBody5345230137431847422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339259054,"filename":"image_12072025_18_52_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4bcfc5792079bd61f3892d106209f225.jpg","text":"TemporaryFile(/tmp/multipartBody4909694448557581746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339259054,"filename":"image_12072025_18_53_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/387e3e35a558d9a484a820f6668ed836.jpg","text":"TemporaryFile(/tmp/multipartBody3370563466617687119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339259054,"filename":"image_12072025_18_53_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908965","file1":"1371908962","file0":"1371908960","file4":"1371908969","file5":"1371908972","file3":"1371908968"},"map_files_photo_id_array":[{"photo_id":"1371908972","filename":"file5"},{"photo_id":"1371908965","filename":"file2"},{"photo_id":"1371908969","filename":"file4"},{"photo_id":"1371908962","filename":"file1"},{"photo_id":"1371908960","filename":"file0"},{"photo_id":"1371908968","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908968":["hashtag1","hashtag2"]},{"1371908962":["hashtag1","hashtag2"]},{"1371908965":["hashtag1","hashtag2"]},{"1371908972":["hashtag1","hashtag2"]},{"1371908969":["hashtag1","hashtag2"]},{"1371908960":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908968, 1371908962, 1371908965, 1371908972, 1371908969, 1371908960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52711772918701 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:54:03.236705
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_34_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_24_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_14_9691.jpg', 2), ('/home/nano/Desktop/images/12072025/17/41/image_12072025_17_42_04_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_54_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_44_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_34_10646.jpg', '/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_24_9655.jpg', '/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_14_9691.jpg', '/home/nano/Desktop/images/12072025/17/41/image_12072025_17_42_04_10653.jpg', '/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_54_9636.jpg', '/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_44_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_34_10646.jpg
/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_24_9655.jpg
/home/nano/Desktop/images/12072025/17/42/image_12072025_17_42_14_9691.jpg
/home/nano/Desktop/images/12072025/17/41/image_12072025_17_42_04_10653.jpg
/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_54_9636.jpg
/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_44_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908980","1371908983","1371908979","1371908982","1371908981","1371908984"],"photo_ids_order":["1371908979","1371908980","1371908981","1371908982","1371908983","1371908984"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcf9e45f78282d4b62f534ab750e6c88.jpg","text":"TemporaryFile(/tmp/multipartBody7924627778942056572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339305245,"filename":"image_12072025_17_42_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bedd9b17f648163f8ab063ff0a1aea3.jpg","text":"TemporaryFile(/tmp/multipartBody4744057494417936071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339305245,"filename":"image_12072025_17_41_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/515aef79dcc1af3ea832c29bb5553d1b.jpg","text":"TemporaryFile(/tmp/multipartBody1604304761732530906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339305245,"filename":"image_12072025_17_42_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf881dd3c78a915bd762204ba7c51197.jpg","text":"TemporaryFile(/tmp/multipartBody4296139410772018956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339305245,"filename":"image_12072025_17_42_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb393c52c2e1382fb6b0619c16cb1f7a.jpg","text":"TemporaryFile(/tmp/multipartBody2614564829807236947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339305245,"filename":"image_12072025_17_42_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/322b23c76c112fa407abf1f75e67fde0.jpg","text":"TemporaryFile(/tmp/multipartBody7520527110064243477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339305245,"filename":"image_12072025_17_41_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908981","file1":"1371908980","file0":"1371908979","file4":"1371908983","file5":"1371908984","file3":"1371908982"},"map_files_photo_id_array":[{"photo_id":"1371908984","filename":"file5"},{"photo_id":"1371908981","filename":"file2"},{"photo_id":"1371908983","filename":"file4"},{"photo_id":"1371908980","filename":"file1"},{"photo_id":"1371908979","filename":"file0"},{"photo_id":"1371908982","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908980":["hashtag1","hashtag2"]},{"1371908983":["hashtag1","hashtag2"]},{"1371908979":["hashtag1","hashtag2"]},{"1371908982":["hashtag1","hashtag2"]},{"1371908981":["hashtag1","hashtag2"]},{"1371908984":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908980, 1371908983, 1371908979, 1371908982, 1371908981, 1371908984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41156601905823 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:54:47.295763
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_44_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_34_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_23_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_14_9696.jpg', 2), ('/home/nano/Desktop/images/12072025/18/53/image_12072025_18_54_04_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_53_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_44_9609.jpg', '/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_34_10613.jpg', '/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_23_9620.jpg', '/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_14_9696.jpg', '/home/nano/Desktop/images/12072025/18/53/image_12072025_18_54_04_10661.jpg', '/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_53_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_44_9609.jpg
/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_34_10613.jpg
/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_23_9620.jpg
/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_14_9696.jpg
/home/nano/Desktop/images/12072025/18/53/image_12072025_18_54_04_10661.jpg
/home/nano/Desktop/images/12072025/18/53/image_12072025_18_53_53_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371908992","1371908986","1371908989","1371908988","1371908990","1371908987"],"photo_ids_order":["1371908986","1371908987","1371908988","1371908989","1371908990","1371908992"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/205265ae50559e1c2c49de8bd0fbafe9.jpg","text":"TemporaryFile(/tmp/multipartBody9002851444859997003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339350187,"filename":"image_12072025_18_53_53_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a5162c4046625262b4a06359fbd32e3.jpg","text":"TemporaryFile(/tmp/multipartBody3174067318017412633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339350187,"filename":"image_12072025_18_54_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef380b45defbc01bd7b848ee554531a2.jpg","text":"TemporaryFile(/tmp/multipartBody680010589171111569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339350187,"filename":"image_12072025_18_54_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12b791b1560453ce74d5fa38a9068b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7873628655745695718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339350187,"filename":"image_12072025_18_54_23_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6feedaf4fe90243292a985db340ee91b.jpg","text":"TemporaryFile(/tmp/multipartBody4758129673630393389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339350187,"filename":"image_12072025_18_54_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b780ebec540001023a89c66046fad7a.jpg","text":"TemporaryFile(/tmp/multipartBody3347733108177287116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339350187,"filename":"image_12072025_18_54_34_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371908988","file1":"1371908987","file0":"1371908986","file4":"1371908990","file5":"1371908992","file3":"1371908989"},"map_files_photo_id_array":[{"photo_id":"1371908992","filename":"file5"},{"photo_id":"1371908988","filename":"file2"},{"photo_id":"1371908990","filename":"file4"},{"photo_id":"1371908987","filename":"file1"},{"photo_id":"1371908986","filename":"file0"},{"photo_id":"1371908989","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371908992":["hashtag1","hashtag2"]},{"1371908986":["hashtag1","hashtag2"]},{"1371908989":["hashtag1","hashtag2"]},{"1371908988":["hashtag1","hashtag2"]},{"1371908990":["hashtag1","hashtag2"]},{"1371908987":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371908992, 1371908986, 1371908989, 1371908988, 1371908990, 1371908987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.856769323349 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:55:32.427181
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_44_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_34_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_24_10674.jpg', 2), ('/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_14_9716.jpg', 2), ('/home/nano/Desktop/images/12072025/18/54/image_12072025_18_55_04_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_54_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_44_9599.jpg', '/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_34_9612.jpg', '/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_24_10674.jpg', '/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_14_9716.jpg', '/home/nano/Desktop/images/12072025/18/54/image_12072025_18_55_04_9621.jpg', '/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_54_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_44_9599.jpg
/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_34_9612.jpg
/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_24_10674.jpg
/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_14_9716.jpg
/home/nano/Desktop/images/12072025/18/54/image_12072025_18_55_04_9621.jpg
/home/nano/Desktop/images/12072025/18/54/image_12072025_18_54_54_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371909010","1371909007","1371909001","1371909004","1371908999","1371909008"],"photo_ids_order":["1371908999","1371909001","1371909004","1371909007","1371909008","1371909010"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61726f42c2bab8cd3abb810e25518a7c.jpg","text":"TemporaryFile(/tmp/multipartBody7107918722708743057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339395278,"filename":"image_12072025_18_54_54_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56394dbb03c4d4c87dd71056c96d334f.jpg","text":"TemporaryFile(/tmp/multipartBody4403926887750436936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339395278,"filename":"image_12072025_18_55_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/211ff8d204eccc40e203abe1b095d443.jpg","text":"TemporaryFile(/tmp/multipartBody1309987039725938344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339395278,"filename":"image_12072025_18_55_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/944271c966778d2e146ee42f06593a4a.jpg","text":"TemporaryFile(/tmp/multipartBody8461635254228752991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339395278,"filename":"image_12072025_18_55_24_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2bc56f348c24a74a7c23c266763986e0.jpg","text":"TemporaryFile(/tmp/multipartBody6513116189658063944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339395278,"filename":"image_12072025_18_55_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e7159790cfa825cc8f3cc8fadce4752.jpg","text":"TemporaryFile(/tmp/multipartBody542449041327893260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339395278,"filename":"image_12072025_18_55_04_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371909004","file1":"1371909001","file0":"1371908999","file4":"1371909008","file5":"1371909010","file3":"1371909007"},"map_files_photo_id_array":[{"photo_id":"1371909010","filename":"file5"},{"photo_id":"1371909004","filename":"file2"},{"photo_id":"1371909008","filename":"file4"},{"photo_id":"1371909001","filename":"file1"},{"photo_id":"1371908999","filename":"file0"},{"photo_id":"1371909007","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371909010":["hashtag1","hashtag2"]},{"1371909007":["hashtag1","hashtag2"]},{"1371909001":["hashtag1","hashtag2"]},{"1371909004":["hashtag1","hashtag2"]},{"1371908999":["hashtag1","hashtag2"]},{"1371909008":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371909010, 1371909007, 1371909001, 1371909004, 1371908999, 1371909008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11393165588379 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:56:17.500807
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/56/image_12072025_18_56_44_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_54_10609.jpg', 2), ('/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_34_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_24_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_14_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/17/40/image_12072025_17_41_03_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/56/image_12072025_18_56_44_10610.jpg', '/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_54_10609.jpg', '/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_34_10632.jpg', '/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_24_9632.jpg', '/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_14_10645.jpg', '/home/nano/Desktop/images/12072025/17/40/image_12072025_17_41_03_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/56/image_12072025_18_56_44_10610.jpg
/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_54_10609.jpg
/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_34_10632.jpg
/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_24_9632.jpg
/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_14_10645.jpg
/home/nano/Desktop/images/12072025/17/40/image_12072025_17_41_03_9653.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.560326099395752 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:56:32.507767
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/56/image_12072025_18_56_44_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_54_10609.jpg', 2), ('/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_34_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_24_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_14_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/17/40/image_12072025_17_41_03_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/56/image_12072025_18_56_44_10610.jpg', '/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_54_10609.jpg', '/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_34_10632.jpg', '/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_24_9632.jpg', '/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_14_10645.jpg', '/home/nano/Desktop/images/12072025/17/40/image_12072025_17_41_03_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/56/image_12072025_18_56_44_10610.jpg
/home/nano/Desktop/images/12072025/18/55/image_12072025_18_55_54_10609.jpg
/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_34_10632.jpg
/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_24_9632.jpg
/home/nano/Desktop/images/12072025/17/41/image_12072025_17_41_14_10645.jpg
/home/nano/Desktop/images/12072025/17/40/image_12072025_17_41_03_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371909025","1371909021","1371909030","1371909018","1371909027","1371909020"],"photo_ids_order":["1371909018","1371909020","1371909021","1371909025","1371909027","1371909030"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95f55dc010a5aac7af8e1b2ce10b78eb.jpg","text":"TemporaryFile(/tmp/multipartBody6208788840113281772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339454332,"filename":"image_12072025_17_41_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35ff46b5e1d10fb1829784b67ecbecfd.jpg","text":"TemporaryFile(/tmp/multipartBody3578314686376675556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339454332,"filename":"image_12072025_17_41_34_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ba7ef08ad4c2a2479362790a6b135a5.jpg","text":"TemporaryFile(/tmp/multipartBody6101448457036537707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339454332,"filename":"image_12072025_17_41_03_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3d8d463d0a4d559eb460a660fad38a9.jpg","text":"TemporaryFile(/tmp/multipartBody2690273519249897968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339454332,"filename":"image_12072025_18_56_44_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82c58ac671e77884c04ab0d64d8802a8.jpg","text":"TemporaryFile(/tmp/multipartBody9120929519132964555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339454332,"filename":"image_12072025_17_41_14_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f0077712c0c60278082edfe90c11f13.jpg","text":"TemporaryFile(/tmp/multipartBody479167422319634492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339454332,"filename":"image_12072025_18_55_54_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371909021","file1":"1371909020","file0":"1371909018","file4":"1371909027","file5":"1371909030","file3":"1371909025"},"map_files_photo_id_array":[{"photo_id":"1371909030","filename":"file5"},{"photo_id":"1371909021","filename":"file2"},{"photo_id":"1371909027","filename":"file4"},{"photo_id":"1371909020","filename":"file1"},{"photo_id":"1371909018","filename":"file0"},{"photo_id":"1371909025","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371909025":["hashtag1","hashtag2"]},{"1371909021":["hashtag1","hashtag2"]},{"1371909030":["hashtag1","hashtag2"]},{"1371909018":["hashtag1","hashtag2"]},{"1371909027":["hashtag1","hashtag2"]},{"1371909020":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371909025, 1371909021, 1371909030, 1371909018, 1371909027, 1371909020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.53195834159851 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:57:17.628706
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/57/image_12072025_18_57_44_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/18/57/image_12072025_18_57_24_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/18/57/image_12072025_18_57_14_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/18/56/image_12072025_18_57_03_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/18/56/image_12072025_18_56_54_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/57/image_12072025_18_57_44_9596.jpg', '/home/nano/Desktop/images/12072025/18/57/image_12072025_18_57_24_9603.jpg', '/home/nano/Desktop/images/12072025/18/57/image_12072025_18_57_14_10630.jpg', '/home/nano/Desktop/images/12072025/18/56/image_12072025_18_57_03_9608.jpg', '/home/nano/Desktop/images/12072025/18/56/image_12072025_18_56_54_9601.jpg', '/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/57/image_12072025_18_57_44_9596.jpg
/home/nano/Desktop/images/12072025/18/57/image_12072025_18_57_24_9603.jpg
/home/nano/Desktop/images/12072025/18/57/image_12072025_18_57_14_10630.jpg
/home/nano/Desktop/images/12072025/18/56/image_12072025_18_57_03_9608.jpg
/home/nano/Desktop/images/12072025/18/56/image_12072025_18_56_54_9601.jpg
/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_54_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371909106","1371909040","1371909081","1371909057","1371909042","1371909041"],"photo_ids_order":["1371909040","1371909041","1371909042","1371909057","1371909081","1371909106"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa92378970c46d185f4835b7342dea2b.jpg","text":"TemporaryFile(/tmp/multipartBody292451137979005652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339500319,"filename":"image_12072025_17_40_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d32349e74f4c483dae00ba9ed3c2f317.jpg","text":"TemporaryFile(/tmp/multipartBody5510152191283830498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339500319,"filename":"image_12072025_18_57_44_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a06dd96201d7357e7a72eb45da1e89d1.jpg","text":"TemporaryFile(/tmp/multipartBody6712727767416856141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339500319,"filename":"image_12072025_18_56_54_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f68e9f823e66c54b285ec866d949cba6.jpg","text":"TemporaryFile(/tmp/multipartBody1147164193405468570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339500319,"filename":"image_12072025_18_57_03_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94ebc40b7634356dc79a49336d9ae76e.jpg","text":"TemporaryFile(/tmp/multipartBody6849468550161974071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339500319,"filename":"image_12072025_18_57_14_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c53d0aebf94afab02d1ead5e45696dc.jpg","text":"TemporaryFile(/tmp/multipartBody3014319230871580609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339500319,"filename":"image_12072025_18_57_24_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371909042","file1":"1371909041","file0":"1371909040","file4":"1371909081","file5":"1371909106","file3":"1371909057"},"map_files_photo_id_array":[{"photo_id":"1371909106","filename":"file5"},{"photo_id":"1371909042","filename":"file2"},{"photo_id":"1371909081","filename":"file4"},{"photo_id":"1371909041","filename":"file1"},{"photo_id":"1371909040","filename":"file0"},{"photo_id":"1371909057","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371909106":["hashtag1","hashtag2"]},{"1371909040":["hashtag1","hashtag2"]},{"1371909081":["hashtag1","hashtag2"]},{"1371909057":["hashtag1","hashtag2"]},{"1371909042":["hashtag1","hashtag2"]},{"1371909041":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371909106, 1371909040, 1371909081, 1371909057, 1371909042, 1371909041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40432834625244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:58:02.985572
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_44_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_33_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_24_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_14_10680.jpg', 2), ('/home/nano/Desktop/images/12072025/17/39/image_12072025_17_40_03_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_54_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_44_10659.jpg', '/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_33_9635.jpg', '/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_24_9622.jpg', '/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_14_10680.jpg', '/home/nano/Desktop/images/12072025/17/39/image_12072025_17_40_03_9652.jpg', '/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_54_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_44_10659.jpg
/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_33_9635.jpg
/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_24_9622.jpg
/home/nano/Desktop/images/12072025/17/40/image_12072025_17_40_14_10680.jpg
/home/nano/Desktop/images/12072025/17/39/image_12072025_17_40_03_9652.jpg
/home/nano/Desktop/images/12072025/17/39/image_12072025_17_39_54_9688.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371909337","1371909393","1371909369","1371909276","1371909417","1371909302"],"photo_ids_order":["1371909276","1371909302","1371909337","1371909369","1371909393","1371909417"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2ba944b87f901f49eea70bf3531a3c5.jpg","text":"TemporaryFile(/tmp/multipartBody1834346459449926831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339545531,"filename":"image_12072025_17_40_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef0c33f28c79f7409394f233f393a424.jpg","text":"TemporaryFile(/tmp/multipartBody7429394162895709892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339545531,"filename":"image_12072025_17_40_03_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28ccfc49979065f52deef63a2ca64541.jpg","text":"TemporaryFile(/tmp/multipartBody2245380816053919559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339545531,"filename":"image_12072025_17_40_14_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d70e02b10d5d409dab4e2fc70bac105.jpg","text":"TemporaryFile(/tmp/multipartBody3738850366128563802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339545531,"filename":"image_12072025_17_40_44_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f169c7d2ccabbbd6d8f90ab3ba2d809e.jpg","text":"TemporaryFile(/tmp/multipartBody2684244657215694347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339545531,"filename":"image_12072025_17_39_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/740602f05a1dc34bc0611d4d383cb7e6.jpg","text":"TemporaryFile(/tmp/multipartBody5720920282095857914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339545531,"filename":"image_12072025_17_40_33_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371909337","file1":"1371909302","file0":"1371909276","file4":"1371909393","file5":"1371909417","file3":"1371909369"},"map_files_photo_id_array":[{"photo_id":"1371909417","filename":"file5"},{"photo_id":"1371909337","filename":"file2"},{"photo_id":"1371909393","filename":"file4"},{"photo_id":"1371909302","filename":"file1"},{"photo_id":"1371909276","filename":"file0"},{"photo_id":"1371909369","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371909337":["hashtag1","hashtag2"]},{"1371909393":["hashtag1","hashtag2"]},{"1371909369":["hashtag1","hashtag2"]},{"1371909276":["hashtag1","hashtag2"]},{"1371909417":["hashtag1","hashtag2"]},{"1371909302":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371909337, 1371909393, 1371909369, 1371909276, 1371909417, 1371909302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44973921775818 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:59:03.177141
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/52/image_10072025_16_53_04_9705.jpg', 2), ('/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_54_10732.jpg', 2), ('/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_43_9736.jpg', 2), ('/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_34_9717.jpg', 2), ('/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_24_10709.jpg', 2), ('/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_13_9727.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/52/image_10072025_16_53_04_9705.jpg', '/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_54_10732.jpg', '/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_43_9736.jpg', '/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_34_9717.jpg', '/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_24_10709.jpg', '/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_13_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/52/image_10072025_16_53_04_9705.jpg
/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_54_10732.jpg
/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_43_9736.jpg
/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_34_9717.jpg
/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_24_10709.jpg
/home/nano/Desktop/images/10072025/16/52/image_10072025_16_52_13_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371909685","1371909657","1371909695","1371909633","1371909609","1371909692"],"photo_ids_order":["1371909609","1371909633","1371909657","1371909685","1371909692","1371909695"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/606290d4badedc6bb396db700633bccb.jpg","text":"TemporaryFile(/tmp/multipartBody6028421917226633639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339608046,"filename":"image_10072025_16_52_34_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84629b099ef8defd2ac60c2a8536080e.jpg","text":"TemporaryFile(/tmp/multipartBody2444086597756703009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339608046,"filename":"image_10072025_16_52_43_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8de9f814c6251f2eaace9138a13bff6.jpg","text":"TemporaryFile(/tmp/multipartBody8181140565302421501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339608046,"filename":"image_10072025_16_52_13_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/279d3b0026e0ad0bb9e3d2c47863e103.jpg","text":"TemporaryFile(/tmp/multipartBody7074064938742817454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339608046,"filename":"image_10072025_16_52_54_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70b7dfa4096f0b514413eb4520fcbffe.jpg","text":"TemporaryFile(/tmp/multipartBody7430371098022377317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339608046,"filename":"image_10072025_16_53_04_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23a7e1b31ce04d3af71e04a03d0ba546.jpg","text":"TemporaryFile(/tmp/multipartBody4842751442221678658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339608046,"filename":"image_10072025_16_52_24_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371909657","file1":"1371909633","file0":"1371909609","file4":"1371909692","file5":"1371909695","file3":"1371909685"},"map_files_photo_id_array":[{"photo_id":"1371909695","filename":"file5"},{"photo_id":"1371909657","filename":"file2"},{"photo_id":"1371909692","filename":"file4"},{"photo_id":"1371909633","filename":"file1"},{"photo_id":"1371909609","filename":"file0"},{"photo_id":"1371909685","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371909685":["hashtag1","hashtag2"]},{"1371909657":["hashtag1","hashtag2"]},{"1371909695":["hashtag1","hashtag2"]},{"1371909633":["hashtag1","hashtag2"]},{"1371909609":["hashtag1","hashtag2"]},{"1371909692":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371909685, 1371909657, 1371909695, 1371909633, 1371909609, 1371909692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78022027015686 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 18:59:46.948223
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/18/59/image_12072025_18_59_13_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/18/58/image_12072025_18_59_04_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/18/58/image_12072025_18_58_34_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/18/58/image_12072025_18_58_24_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/18/58/image_12072025_18_58_14_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/18/57/image_12072025_18_58_04_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/18/59/image_12072025_18_59_13_9603.jpg', '/home/nano/Desktop/images/12072025/18/58/image_12072025_18_59_04_9609.jpg', '/home/nano/Desktop/images/12072025/18/58/image_12072025_18_58_34_9601.jpg', '/home/nano/Desktop/images/12072025/18/58/image_12072025_18_58_24_10610.jpg', '/home/nano/Desktop/images/12072025/18/58/image_12072025_18_58_14_9615.jpg', '/home/nano/Desktop/images/12072025/18/57/image_12072025_18_58_04_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/18/59/image_12072025_18_59_13_9603.jpg
/home/nano/Desktop/images/12072025/18/58/image_12072025_18_59_04_9609.jpg
/home/nano/Desktop/images/12072025/18/58/image_12072025_18_58_34_9601.jpg
/home/nano/Desktop/images/12072025/18/58/image_12072025_18_58_24_10610.jpg
/home/nano/Desktop/images/12072025/18/58/image_12072025_18_58_14_9615.jpg
/home/nano/Desktop/images/12072025/18/57/image_12072025_18_58_04_10610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371909883","1371909828","1371909858","1371909924","1371909977","1371909791"],"photo_ids_order":["1371909791","1371909828","1371909858","1371909883","1371909924","1371909977"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42d0bfac8c6a00c9837284ccf7f7a5b6.jpg","text":"TemporaryFile(/tmp/multipartBody108018482259497451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339648981,"filename":"image_12072025_18_58_24_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ceb52f5aad7463f02f9896165da07ae.jpg","text":"TemporaryFile(/tmp/multipartBody9112418355527660085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339648981,"filename":"image_12072025_18_59_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5a305c83b32737ebc835bd8c697110d.jpg","text":"TemporaryFile(/tmp/multipartBody475096298679086472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339648981,"filename":"image_12072025_18_58_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45bb27e02f26bde50598cbcaf5a67f69.jpg","text":"TemporaryFile(/tmp/multipartBody5859033450189627759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339648981,"filename":"image_12072025_18_58_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93d67fa9ab5ba833d723470fd89595ab.jpg","text":"TemporaryFile(/tmp/multipartBody4128376839452932347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339648981,"filename":"image_12072025_18_58_04_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71c28075c2afdfc1067e0219510eb744.jpg","text":"TemporaryFile(/tmp/multipartBody7323048050293428036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339648981,"filename":"image_12072025_18_59_13_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371909858","file1":"1371909828","file0":"1371909791","file4":"1371909924","file5":"1371909977","file3":"1371909883"},"map_files_photo_id_array":[{"photo_id":"1371909977","filename":"file5"},{"photo_id":"1371909858","filename":"file2"},{"photo_id":"1371909924","filename":"file4"},{"photo_id":"1371909828","filename":"file1"},{"photo_id":"1371909791","filename":"file0"},{"photo_id":"1371909883","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371909883":["hashtag1","hashtag2"]},{"1371909828":["hashtag1","hashtag2"]},{"1371909858":["hashtag1","hashtag2"]},{"1371909924":["hashtag1","hashtag2"]},{"1371909977":["hashtag1","hashtag2"]},{"1371909791":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371909883, 1371909828, 1371909858, 1371909924, 1371909977, 1371909791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.539488077163696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:00:32.070426
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/00/image_12072025_19_00_24_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/18/59/image_12072025_19_00_03_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/18/59/image_12072025_18_59_44_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/18/57/image_12072025_18_57_53_9602.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/00/image_12072025_19_00_24_9609.jpg', '/home/nano/Desktop/images/12072025/18/59/image_12072025_19_00_03_9611.jpg', '/home/nano/Desktop/images/12072025/18/59/image_12072025_18_59_44_10607.jpg', '/home/nano/Desktop/images/12072025/18/57/image_12072025_18_57_53_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/00/image_12072025_19_00_24_9609.jpg
/home/nano/Desktop/images/12072025/18/59/image_12072025_19_00_03_9611.jpg
/home/nano/Desktop/images/12072025/18/59/image_12072025_18_59_44_10607.jpg
/home/nano/Desktop/images/12072025/18/57/image_12072025_18_57_53_9602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371910397","1371910298","1371910352","1371910457"],"photo_ids_order":["1371910298","1371910352","1371910397","1371910457"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ed799d5ace6422c6175898f30140bb4.jpg","text":"TemporaryFile(/tmp/multipartBody6832933445118688605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339693644,"filename":"image_12072025_18_59_44_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9db9b0091954041d170e3f7ab61a7a3f.jpg","text":"TemporaryFile(/tmp/multipartBody3614497662000489044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339693644,"filename":"image_12072025_19_00_24_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73852905471a2eee306b42fe98ef0315.jpg","text":"TemporaryFile(/tmp/multipartBody5191292730004849338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339693644,"filename":"image_12072025_19_00_03_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1449045af5f6703d6b8925b7de86e5b0.jpg","text":"TemporaryFile(/tmp/multipartBody6574681547948373350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339693644,"filename":"image_12072025_18_57_53_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371910397","file1":"1371910352","file0":"1371910298","file3":"1371910457"},"map_files_photo_id_array":[{"photo_id":"1371910397","filename":"file2"},{"photo_id":"1371910352","filename":"file1"},{"photo_id":"1371910298","filename":"file0"},{"photo_id":"1371910457","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371910397":["hashtag1","hashtag2"]},{"1371910298":["hashtag1","hashtag2"]},{"1371910352":["hashtag1","hashtag2"]},{"1371910457":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371910397, 1371910298, 1371910352, 1371910457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.508490324020386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:01:02.898864
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/51/image_10072025_16_52_03_9738.jpg', 2), ('/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_54_9683.jpg', 2), ('/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_44_10746.jpg', 2), ('/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_33_9810.jpg', 2), ('/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_23_9837.jpg', 2), ('/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_14_9734.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/51/image_10072025_16_52_03_9738.jpg', '/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_54_9683.jpg', '/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_44_10746.jpg', '/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_33_9810.jpg', '/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_23_9837.jpg', '/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_14_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/51/image_10072025_16_52_03_9738.jpg
/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_54_9683.jpg
/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_44_10746.jpg
/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_33_9810.jpg
/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_23_9837.jpg
/home/nano/Desktop/images/10072025/16/51/image_10072025_16_51_14_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371910709","1371910756","1371910900","1371910801","1371910848","1371910952"],"photo_ids_order":["1371910709","1371910756","1371910801","1371910848","1371910900","1371910952"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca6a94fb6cdb320a76c1870286f36616.jpg","text":"TemporaryFile(/tmp/multipartBody6597909996907290427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339726743,"filename":"image_10072025_16_52_03_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7df3d6bd24a265c6731acacc6019a55b.jpg","text":"TemporaryFile(/tmp/multipartBody935820242410567069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339726743,"filename":"image_10072025_16_51_54_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c9fddbb386c0cf7bd04f025c89c395a.jpg","text":"TemporaryFile(/tmp/multipartBody4709071667772642093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339726743,"filename":"image_10072025_16_51_23_9837.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29a1a9e7287386c788015a97e65f8cf0.jpg","text":"TemporaryFile(/tmp/multipartBody7111443777027995823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339726743,"filename":"image_10072025_16_51_44_10746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef645c231721fb153a3c1c7a3f5dd538.jpg","text":"TemporaryFile(/tmp/multipartBody7834111313217330544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339726743,"filename":"image_10072025_16_51_33_9810.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d3bf7b8cf04f8482e296376a14813bf.jpg","text":"TemporaryFile(/tmp/multipartBody4532265517837127427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339726743,"filename":"image_10072025_16_51_14_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371910801","file1":"1371910756","file0":"1371910709","file4":"1371910900","file5":"1371910952","file3":"1371910848"},"map_files_photo_id_array":[{"photo_id":"1371910952","filename":"file5"},{"photo_id":"1371910801","filename":"file2"},{"photo_id":"1371910900","filename":"file4"},{"photo_id":"1371910756","filename":"file1"},{"photo_id":"1371910709","filename":"file0"},{"photo_id":"1371910848","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371910709":["hashtag1","hashtag2"]},{"1371910756":["hashtag1","hashtag2"]},{"1371910900":["hashtag1","hashtag2"]},{"1371910801":["hashtag1","hashtag2"]},{"1371910848":["hashtag1","hashtag2"]},{"1371910952":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371910709, 1371910756, 1371910900, 1371910801, 1371910848, 1371910952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37313795089722 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:01:47.146232
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/00/image_12072025_19_00_34_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/00/image_12072025_19_00_34_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/00/image_12072025_19_00_34_10610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371911217"],"photo_id":"1371911217","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60bb1bb0143561e2e9843c10de1d309c.jpg","text":"TemporaryFile(/tmp/multipartBody1563160188278116460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339767852,"filename":"image_12072025_19_00_34_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371911217"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371911217"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.261154413223267 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:02:17.270745
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/02/image_12072025_19_02_13_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/19/01/image_12072025_19_02_04_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/19/01/image_12072025_19_01_54_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/02/image_12072025_19_02_13_9628.jpg', '/home/nano/Desktop/images/12072025/19/01/image_12072025_19_02_04_9600.jpg', '/home/nano/Desktop/images/12072025/19/01/image_12072025_19_01_54_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/02/image_12072025_19_02_13_9628.jpg
/home/nano/Desktop/images/12072025/19/01/image_12072025_19_02_04_9600.jpg
/home/nano/Desktop/images/12072025/19/01/image_12072025_19_01_54_10615.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1231296062469482 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:02:32.237817
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/02/image_12072025_19_02_13_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/19/01/image_12072025_19_02_04_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/19/01/image_12072025_19_01_54_10615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/02/image_12072025_19_02_13_9628.jpg', '/home/nano/Desktop/images/12072025/19/01/image_12072025_19_02_04_9600.jpg', '/home/nano/Desktop/images/12072025/19/01/image_12072025_19_01_54_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/02/image_12072025_19_02_13_9628.jpg
/home/nano/Desktop/images/12072025/19/01/image_12072025_19_02_04_9600.jpg
/home/nano/Desktop/images/12072025/19/01/image_12072025_19_01_54_10615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371911385","1371911436","1371911485"],"photo_ids_order":["1371911385","1371911436","1371911485"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2161af9bc05a13fce488f6bff39b53a5.jpg","text":"TemporaryFile(/tmp/multipartBody3209087307733355356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339813534,"filename":"image_12072025_19_02_13_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d62ffd89500fa4a69514ca95ff40508.jpg","text":"TemporaryFile(/tmp/multipartBody7128625706860305602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339813534,"filename":"image_12072025_19_02_04_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f68934dd3ab18d74efabe7d00ad8bc9.jpg","text":"TemporaryFile(/tmp/multipartBody1072771692589283991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339813534,"filename":"image_12072025_19_01_54_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371911485","file1":"1371911436","file0":"1371911385"},"map_files_photo_id_array":[{"photo_id":"1371911485","filename":"file2"},{"photo_id":"1371911436","filename":"file1"},{"photo_id":"1371911385","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371911385":["hashtag1","hashtag2"]},{"1371911436":["hashtag1","hashtag2"]},{"1371911485":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371911385, 1371911436, 1371911485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.68441343307495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:03:03.089660
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/50/image_10072025_16_51_04_10768.jpg', 2), ('/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_53_9701.jpg', 2), ('/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_43_9754.jpg', 2), ('/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_34_9708.jpg', 2), ('/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_24_10754.jpg', 2), ('/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_13_9724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/50/image_10072025_16_51_04_10768.jpg', '/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_53_9701.jpg', '/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_43_9754.jpg', '/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_34_9708.jpg', '/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_24_10754.jpg', '/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_13_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/50/image_10072025_16_51_04_10768.jpg
/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_53_9701.jpg
/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_43_9754.jpg
/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_34_9708.jpg
/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_24_10754.jpg
/home/nano/Desktop/images/10072025/16/50/image_10072025_16_50_13_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371911749","1371911818","1371911694","1371911670","1371911802","1371911795"],"photo_ids_order":["1371911670","1371911694","1371911749","1371911795","1371911802","1371911818"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbbfdf5e81649fc0fe483083992a39f0.jpg","text":"TemporaryFile(/tmp/multipartBody2098239944008241303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339846730,"filename":"image_10072025_16_50_43_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2855886e8b83db4a37fff6baefb470c.jpg","text":"TemporaryFile(/tmp/multipartBody6642960804885693198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339846730,"filename":"image_10072025_16_50_13_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f952bc0d25deda60f78262d44dd7fde5.jpg","text":"TemporaryFile(/tmp/multipartBody4456352941554136546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339846730,"filename":"image_10072025_16_50_53_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f6d71f6541dbf4056468b254c0c5a2a.jpg","text":"TemporaryFile(/tmp/multipartBody7168806282224022732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339846730,"filename":"image_10072025_16_51_04_10768.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4b14e6840453917bfc8ed37f0335f8a.jpg","text":"TemporaryFile(/tmp/multipartBody3704357195176267540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339846730,"filename":"image_10072025_16_50_24_10754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e807bbccf3390b03f293dea7dad7eff3.jpg","text":"TemporaryFile(/tmp/multipartBody4924825008956678011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339846730,"filename":"image_10072025_16_50_34_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371911749","file1":"1371911694","file0":"1371911670","file4":"1371911802","file5":"1371911818","file3":"1371911795"},"map_files_photo_id_array":[{"photo_id":"1371911818","filename":"file5"},{"photo_id":"1371911749","filename":"file2"},{"photo_id":"1371911802","filename":"file4"},{"photo_id":"1371911694","filename":"file1"},{"photo_id":"1371911670","filename":"file0"},{"photo_id":"1371911795","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371911749":["hashtag1","hashtag2"]},{"1371911818":["hashtag1","hashtag2"]},{"1371911694":["hashtag1","hashtag2"]},{"1371911670":["hashtag1","hashtag2"]},{"1371911802":["hashtag1","hashtag2"]},{"1371911795":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371911749, 1371911818, 1371911694, 1371911670, 1371911802, 1371911795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82969665527344 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:03:47.450725
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_44_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_34_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_24_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/19/02/image_12072025_19_02_54_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_44_9598.jpg', '/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_34_10614.jpg', '/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_24_9614.jpg', '/home/nano/Desktop/images/12072025/19/02/image_12072025_19_02_54_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_44_9598.jpg
/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_34_10614.jpg
/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_24_9614.jpg
/home/nano/Desktop/images/12072025/19/02/image_12072025_19_02_54_9601.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6658029556274414 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:04:03.510491
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_44_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_34_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_24_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/19/02/image_12072025_19_02_54_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_44_9598.jpg', '/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_34_10614.jpg', '/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_24_9614.jpg', '/home/nano/Desktop/images/12072025/19/02/image_12072025_19_02_54_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_44_9598.jpg
/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_34_10614.jpg
/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_24_9614.jpg
/home/nano/Desktop/images/12072025/19/02/image_12072025_19_02_54_9601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371911959","1371911961","1371911964","1371911962"],"photo_ids_order":["1371911959","1371911961","1371911962","1371911964"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aed670425d14ecd777d6f6feae629cb8.jpg","text":"TemporaryFile(/tmp/multipartBody8260871114388568745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339904576,"filename":"image_12072025_19_03_44_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a9b2e7eef76283f10e9982703bda02b.jpg","text":"TemporaryFile(/tmp/multipartBody8553048051093645058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339904576,"filename":"image_12072025_19_03_34_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5894ca137add221cfb35edfcbf31889.jpg","text":"TemporaryFile(/tmp/multipartBody8600130543388162715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339904576,"filename":"image_12072025_19_02_54_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a938708ef251e2735c7f86ea8d2b3b31.jpg","text":"TemporaryFile(/tmp/multipartBody4554902354581151869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339904576,"filename":"image_12072025_19_03_24_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371911962","file1":"1371911961","file0":"1371911959","file3":"1371911964"},"map_files_photo_id_array":[{"photo_id":"1371911962","filename":"file2"},{"photo_id":"1371911961","filename":"file1"},{"photo_id":"1371911959","filename":"file0"},{"photo_id":"1371911964","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371911959":["hashtag1","hashtag2"]},{"1371911961":["hashtag1","hashtag2"]},{"1371911964":["hashtag1","hashtag2"]},{"1371911962":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371911959, 1371911961, 1371911964, 1371911962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.88420867919922 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:04:32.557089
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/04/image_12072025_19_04_24_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/19/04/image_12072025_19_04_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/19/03/image_12072025_19_04_04_10608.jpg', 2), ('/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_53_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/04/image_12072025_19_04_24_10627.jpg', '/home/nano/Desktop/images/12072025/19/04/image_12072025_19_04_14_9626.jpg', '/home/nano/Desktop/images/12072025/19/03/image_12072025_19_04_04_10608.jpg', '/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_53_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/04/image_12072025_19_04_24_10627.jpg
/home/nano/Desktop/images/12072025/19/04/image_12072025_19_04_14_9626.jpg
/home/nano/Desktop/images/12072025/19/03/image_12072025_19_04_04_10608.jpg
/home/nano/Desktop/images/12072025/19/03/image_12072025_19_03_53_9600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371911971","1371911976","1371911969","1371911968"],"photo_ids_order":["1371911968","1371911969","1371911971","1371911976"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/636591a927eeb315413de2001851f689.jpg","text":"TemporaryFile(/tmp/multipartBody973775952117123624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339934124,"filename":"image_12072025_19_04_04_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cdcc4aeffe08dd43a121175668bc3539.jpg","text":"TemporaryFile(/tmp/multipartBody2121584574981814401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339934124,"filename":"image_12072025_19_03_53_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f02632e3f7bd75bd815eca43e8ea3221.jpg","text":"TemporaryFile(/tmp/multipartBody4890679832270640011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339934124,"filename":"image_12072025_19_04_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a45e8ab5416ac0d004ccecd5eece27a.jpg","text":"TemporaryFile(/tmp/multipartBody3785968610628272212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339934124,"filename":"image_12072025_19_04_24_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371911971","file1":"1371911969","file0":"1371911968","file3":"1371911976"},"map_files_photo_id_array":[{"photo_id":"1371911971","filename":"file2"},{"photo_id":"1371911969","filename":"file1"},{"photo_id":"1371911968","filename":"file0"},{"photo_id":"1371911976","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371911971":["hashtag1","hashtag2"]},{"1371911976":["hashtag1","hashtag2"]},{"1371911969":["hashtag1","hashtag2"]},{"1371911968":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371911971, 1371911976, 1371911969, 1371911968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.023098945617676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:05:03.437019
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/49/image_10072025_16_50_03_9706.jpg', 2), ('/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_54_9681.jpg', 2), ('/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_44_10736.jpg', 2), ('/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_33_9788.jpg', 2), ('/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_24_9699.jpg', 2), ('/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_14_10753.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/49/image_10072025_16_50_03_9706.jpg', '/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_54_9681.jpg', '/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_44_10736.jpg', '/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_33_9788.jpg', '/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_24_9699.jpg', '/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_14_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/49/image_10072025_16_50_03_9706.jpg
/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_54_9681.jpg
/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_44_10736.jpg
/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_33_9788.jpg
/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_24_9699.jpg
/home/nano/Desktop/images/10072025/16/49/image_10072025_16_49_14_10753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912042","1371912045","1371912039","1371912027","1371912044","1371912019"],"photo_ids_order":["1371912019","1371912027","1371912039","1371912042","1371912044","1371912045"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77ad487b91bf13af3ae4ac0ab1b37c1e.jpg","text":"TemporaryFile(/tmp/multipartBody5384301243829313681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339967044,"filename":"image_10072025_16_49_33_9788.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a69c0daabc894cdfd2b2567383175d2f.jpg","text":"TemporaryFile(/tmp/multipartBody6908965190672897780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339967044,"filename":"image_10072025_16_49_14_10753.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6cfa135d516b6b74ed5c0a0cc3a24bc6.jpg","text":"TemporaryFile(/tmp/multipartBody7525670458818324265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339967044,"filename":"image_10072025_16_49_44_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b13f6a983601cfbab44ea76282d1118.jpg","text":"TemporaryFile(/tmp/multipartBody8071367617296459097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339967044,"filename":"image_10072025_16_49_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5537e082eaf91b33cf7abef1f02399e.jpg","text":"TemporaryFile(/tmp/multipartBody86799210527825526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339967044,"filename":"image_10072025_16_49_24_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/423762ed2fc0627aff2e8b74bd65651d.jpg","text":"TemporaryFile(/tmp/multipartBody5543019752766296027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752339967044,"filename":"image_10072025_16_50_03_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912039","file1":"1371912027","file0":"1371912019","file4":"1371912044","file5":"1371912045","file3":"1371912042"},"map_files_photo_id_array":[{"photo_id":"1371912045","filename":"file5"},{"photo_id":"1371912039","filename":"file2"},{"photo_id":"1371912044","filename":"file4"},{"photo_id":"1371912027","filename":"file1"},{"photo_id":"1371912019","filename":"file0"},{"photo_id":"1371912042","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912042":["hashtag1","hashtag2"]},{"1371912045":["hashtag1","hashtag2"]},{"1371912039":["hashtag1","hashtag2"]},{"1371912027":["hashtag1","hashtag2"]},{"1371912044":["hashtag1","hashtag2"]},{"1371912019":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912042, 1371912045, 1371912039, 1371912027, 1371912044, 1371912019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.121938943862915 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:05:47.684612
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/05/image_12072025_19_05_13_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/19/04/image_12072025_19_05_04_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/19/04/image_12072025_19_04_54_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/05/image_12072025_19_05_13_9623.jpg', '/home/nano/Desktop/images/12072025/19/04/image_12072025_19_05_04_9620.jpg', '/home/nano/Desktop/images/12072025/19/04/image_12072025_19_04_54_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/05/image_12072025_19_05_13_9623.jpg
/home/nano/Desktop/images/12072025/19/04/image_12072025_19_05_04_9620.jpg
/home/nano/Desktop/images/12072025/19/04/image_12072025_19_04_54_10611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912078","1371912080","1371912077"],"photo_ids_order":["1371912077","1371912078","1371912080"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61e65bf9c829fdbda813c9d26ac17fe4.jpg","text":"TemporaryFile(/tmp/multipartBody8398905110248433521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340008875,"filename":"image_12072025_19_05_04_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d670d8a2fb2754559cad26324191661a.jpg","text":"TemporaryFile(/tmp/multipartBody4984321221809929085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340008875,"filename":"image_12072025_19_04_54_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad49b357ae19929ab0c4c909c972785f.jpg","text":"TemporaryFile(/tmp/multipartBody5035574387566690163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340008875,"filename":"image_12072025_19_05_13_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912080","file1":"1371912078","file0":"1371912077"},"map_files_photo_id_array":[{"photo_id":"1371912080","filename":"file2"},{"photo_id":"1371912078","filename":"file1"},{"photo_id":"1371912077","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912078":["hashtag1","hashtag2"]},{"1371912080":["hashtag1","hashtag2"]},{"1371912077":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912078, 1371912080, 1371912077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.602208614349365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:06:16.772941
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/06/image_12072025_19_06_34_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/19/06/image_12072025_19_06_24_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/19/05/image_12072025_19_06_03_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/19/05/image_12072025_19_05_54_9596.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/06/image_12072025_19_06_34_10610.jpg', '/home/nano/Desktop/images/12072025/19/06/image_12072025_19_06_24_9605.jpg', '/home/nano/Desktop/images/12072025/19/05/image_12072025_19_06_03_9611.jpg', '/home/nano/Desktop/images/12072025/19/05/image_12072025_19_05_54_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/06/image_12072025_19_06_34_10610.jpg
/home/nano/Desktop/images/12072025/19/06/image_12072025_19_06_24_9605.jpg
/home/nano/Desktop/images/12072025/19/05/image_12072025_19_06_03_9611.jpg
/home/nano/Desktop/images/12072025/19/05/image_12072025_19_05_54_9596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912090","1371912087","1371912089","1371912086"],"photo_ids_order":["1371912086","1371912087","1371912089","1371912090"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33504dceafdb2676d7d907dbaed2ec6b.jpg","text":"TemporaryFile(/tmp/multipartBody7343937698135729735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340037978,"filename":"image_12072025_19_05_54_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b394cf2dff8c3482a154401f7c36eeb1.jpg","text":"TemporaryFile(/tmp/multipartBody8155467280595298266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340037978,"filename":"image_12072025_19_06_24_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a66c3dc49b58ff5fdf702361e29ae8a0.jpg","text":"TemporaryFile(/tmp/multipartBody3907392794682132041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340037978,"filename":"image_12072025_19_06_03_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/956a4f1a93d48adbfa23d4cdfa3e1e40.jpg","text":"TemporaryFile(/tmp/multipartBody6149485605099746960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340037978,"filename":"image_12072025_19_06_34_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912089","file1":"1371912087","file0":"1371912086","file3":"1371912090"},"map_files_photo_id_array":[{"photo_id":"1371912089","filename":"file2"},{"photo_id":"1371912087","filename":"file1"},{"photo_id":"1371912086","filename":"file0"},{"photo_id":"1371912090","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912090":["hashtag1","hashtag2"]},{"1371912087":["hashtag1","hashtag2"]},{"1371912089":["hashtag1","hashtag2"]},{"1371912086":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912090, 1371912087, 1371912089, 1371912086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.880164623260498 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:06:46.757758
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/48/image_10072025_16_49_03_9693.jpg', 2), ('/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_53_9812.jpg', 2), ('/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_44_9798.jpg', 2), ('/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_34_9744.jpg', 2), ('/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_24_10756.jpg', 2), ('/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_13_9703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/48/image_10072025_16_49_03_9693.jpg', '/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_53_9812.jpg', '/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_44_9798.jpg', '/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_34_9744.jpg', '/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_24_10756.jpg', '/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_13_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/48/image_10072025_16_49_03_9693.jpg
/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_53_9812.jpg
/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_44_9798.jpg
/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_34_9744.jpg
/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_24_10756.jpg
/home/nano/Desktop/images/10072025/16/48/image_10072025_16_48_13_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912100","1371912114","1371912105","1371912098","1371912116","1371912110"],"photo_ids_order":["1371912098","1371912100","1371912105","1371912110","1371912114","1371912116"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9745389c50d9a72196d0dab4d83b6206.jpg","text":"TemporaryFile(/tmp/multipartBody916364054083198517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340070520,"filename":"image_10072025_16_48_53_9812.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7a75e0895a133eacaa4f83ecf8d1db0.jpg","text":"TemporaryFile(/tmp/multipartBody2684418340020028773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340070520,"filename":"image_10072025_16_48_24_10756.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87117b6249d88e25eeaee93082ae1659.jpg","text":"TemporaryFile(/tmp/multipartBody3499023873630312415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340070520,"filename":"image_10072025_16_48_44_9798.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b690812f524a1d9582b130e81847ed0b.jpg","text":"TemporaryFile(/tmp/multipartBody5514839733048205048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340070520,"filename":"image_10072025_16_49_03_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59ffe5b55cc763d25b34e5d6fb6dc471.jpg","text":"TemporaryFile(/tmp/multipartBody8636033756342320376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340070520,"filename":"image_10072025_16_48_13_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd48da05aba46c352b6ccbf2a77609ad.jpg","text":"TemporaryFile(/tmp/multipartBody2943286163632141335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340070520,"filename":"image_10072025_16_48_34_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912105","file1":"1371912100","file0":"1371912098","file4":"1371912114","file5":"1371912116","file3":"1371912110"},"map_files_photo_id_array":[{"photo_id":"1371912116","filename":"file5"},{"photo_id":"1371912105","filename":"file2"},{"photo_id":"1371912114","filename":"file4"},{"photo_id":"1371912100","filename":"file1"},{"photo_id":"1371912098","filename":"file0"},{"photo_id":"1371912110","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912100":["hashtag1","hashtag2"]},{"1371912114":["hashtag1","hashtag2"]},{"1371912105":["hashtag1","hashtag2"]},{"1371912098":["hashtag1","hashtag2"]},{"1371912116":["hashtag1","hashtag2"]},{"1371912110":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912100, 1371912114, 1371912105, 1371912098, 1371912116, 1371912110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81207585334778 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:07:31.872666
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_34_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_23_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_14_9659.jpg', 2), ('/home/nano/Desktop/images/12072025/19/06/image_12072025_19_07_04_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/19/06/image_12072025_19_06_53_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_34_10612.jpg', '/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_23_9605.jpg', '/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_14_9659.jpg', '/home/nano/Desktop/images/12072025/19/06/image_12072025_19_07_04_10617.jpg', '/home/nano/Desktop/images/12072025/19/06/image_12072025_19_06_53_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_34_10612.jpg
/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_23_9605.jpg
/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_14_9659.jpg
/home/nano/Desktop/images/12072025/19/06/image_12072025_19_07_04_10617.jpg
/home/nano/Desktop/images/12072025/19/06/image_12072025_19_06_53_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912121","1371912120","1371912123","1371912125","1371912128"],"photo_ids_order":["1371912120","1371912121","1371912123","1371912125","1371912128"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2588258544965470b2176a9b9260301.jpg","text":"TemporaryFile(/tmp/multipartBody2760138359736498484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340113975,"filename":"image_12072025_19_07_23_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e7a05f2157f2ecdb1e9d206caa80b27.jpg","text":"TemporaryFile(/tmp/multipartBody4033157071597581224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340113975,"filename":"image_12072025_19_07_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/960a6d71f15cc6b57d1472d66edbe8e2.jpg","text":"TemporaryFile(/tmp/multipartBody1045058003073791566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340113975,"filename":"image_12072025_19_07_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a9cd222cb40df4f4a7606fb99213722.jpg","text":"TemporaryFile(/tmp/multipartBody1775584937732758795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340113975,"filename":"image_12072025_19_07_04_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/198d0922f621b859cb991785faad5c06.jpg","text":"TemporaryFile(/tmp/multipartBody1744986947152554634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340113975,"filename":"image_12072025_19_06_53_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912123","file1":"1371912121","file0":"1371912120","file4":"1371912128","file3":"1371912125"},"map_files_photo_id_array":[{"photo_id":"1371912123","filename":"file2"},{"photo_id":"1371912128","filename":"file4"},{"photo_id":"1371912121","filename":"file1"},{"photo_id":"1371912120","filename":"file0"},{"photo_id":"1371912125","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912121":["hashtag1","hashtag2"]},{"1371912120":["hashtag1","hashtag2"]},{"1371912123":["hashtag1","hashtag2"]},{"1371912125":["hashtag1","hashtag2"]},{"1371912128":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912121, 1371912120, 1371912123, 1371912125, 1371912128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.687384128570557 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:08:17.053449
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_34_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_24_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_13_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/19/07/image_12072025_19_08_04_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_34_9597.jpg', '/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_24_10607.jpg', '/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_13_9626.jpg', '/home/nano/Desktop/images/12072025/19/07/image_12072025_19_08_04_9631.jpg', '/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_34_9597.jpg
/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_24_10607.jpg
/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_13_9626.jpg
/home/nano/Desktop/images/12072025/19/07/image_12072025_19_08_04_9631.jpg
/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_54_10619.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4126968383789062 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:08:31.981149
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_34_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_24_10607.jpg', 2), ('/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_13_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/19/07/image_12072025_19_08_04_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_34_9597.jpg', '/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_24_10607.jpg', '/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_13_9626.jpg', '/home/nano/Desktop/images/12072025/19/07/image_12072025_19_08_04_9631.jpg', '/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_34_9597.jpg
/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_24_10607.jpg
/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_13_9626.jpg
/home/nano/Desktop/images/12072025/19/07/image_12072025_19_08_04_9631.jpg
/home/nano/Desktop/images/12072025/19/07/image_12072025_19_07_54_10619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912150","1371912144","1371912146","1371912149","1371912145"],"photo_ids_order":["1371912144","1371912145","1371912146","1371912149","1371912150"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72e3a2158fe8b03b109a93d995103c84.jpg","text":"TemporaryFile(/tmp/multipartBody2631880773914821102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340173720,"filename":"image_12072025_19_07_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3988a5fd1fa1114974376a4cbd0d49e.jpg","text":"TemporaryFile(/tmp/multipartBody6991971595780686413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340173720,"filename":"image_12072025_19_08_34_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b42daa0da3a22cec236f7b4f0c0f0e1.jpg","text":"TemporaryFile(/tmp/multipartBody2970607623819789101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340173720,"filename":"image_12072025_19_08_13_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95940222697299b7f77110a9eccb10c7.jpg","text":"TemporaryFile(/tmp/multipartBody2009474482873085456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340173720,"filename":"image_12072025_19_08_04_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1625e12a2516337208dfebf66c4992af.jpg","text":"TemporaryFile(/tmp/multipartBody6336253421108377318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340173720,"filename":"image_12072025_19_08_24_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912146","file1":"1371912145","file0":"1371912144","file4":"1371912150","file3":"1371912149"},"map_files_photo_id_array":[{"photo_id":"1371912146","filename":"file2"},{"photo_id":"1371912150","filename":"file4"},{"photo_id":"1371912145","filename":"file1"},{"photo_id":"1371912144","filename":"file0"},{"photo_id":"1371912149","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912150":["hashtag1","hashtag2"]},{"1371912144":["hashtag1","hashtag2"]},{"1371912146":["hashtag1","hashtag2"]},{"1371912149":["hashtag1","hashtag2"]},{"1371912145":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912150, 1371912144, 1371912146, 1371912149, 1371912145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.76846170425415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:09:03.138538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/47/image_10072025_16_48_04_9774.jpg', 2), ('/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_54_10696.jpg', 2), ('/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_43_9701.jpg', 2), ('/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_33_9738.jpg', 2), ('/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_24_9694.jpg', 2), ('/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_14_10786.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/47/image_10072025_16_48_04_9774.jpg', '/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_54_10696.jpg', '/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_43_9701.jpg', '/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_33_9738.jpg', '/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_24_9694.jpg', '/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_14_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/47/image_10072025_16_48_04_9774.jpg
/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_54_10696.jpg
/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_43_9701.jpg
/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_33_9738.jpg
/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_24_9694.jpg
/home/nano/Desktop/images/10072025/16/47/image_10072025_16_47_14_10786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912159","1371912162","1371912161","1371912164","1371912155","1371912157"],"photo_ids_order":["1371912155","1371912157","1371912159","1371912161","1371912162","1371912164"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b07cb6a32ee723d0afe99801cf7161b8.jpg","text":"TemporaryFile(/tmp/multipartBody6872831318684194047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340206825,"filename":"image_10072025_16_47_43_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e8d7a5a4817592a089cc88936211623.jpg","text":"TemporaryFile(/tmp/multipartBody3242439076999604735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340206825,"filename":"image_10072025_16_47_24_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6535887aea60d1655a0f72c5252df117.jpg","text":"TemporaryFile(/tmp/multipartBody8271906756916983966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340206825,"filename":"image_10072025_16_47_33_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/028ce8e4257ec4e892e5a65d688e1918.jpg","text":"TemporaryFile(/tmp/multipartBody9146429904425652906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340206825,"filename":"image_10072025_16_47_14_10786.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/851bf6eecad7cee026867f6437cfb1b3.jpg","text":"TemporaryFile(/tmp/multipartBody8674543293982244625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340206825,"filename":"image_10072025_16_48_04_9774.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c3179aac2eb688d042209a2918f61673.jpg","text":"TemporaryFile(/tmp/multipartBody9096371346075524538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340206825,"filename":"image_10072025_16_47_54_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912159","file1":"1371912157","file0":"1371912155","file4":"1371912162","file5":"1371912164","file3":"1371912161"},"map_files_photo_id_array":[{"photo_id":"1371912164","filename":"file5"},{"photo_id":"1371912159","filename":"file2"},{"photo_id":"1371912162","filename":"file4"},{"photo_id":"1371912157","filename":"file1"},{"photo_id":"1371912155","filename":"file0"},{"photo_id":"1371912161","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912159":["hashtag1","hashtag2"]},{"1371912162":["hashtag1","hashtag2"]},{"1371912161":["hashtag1","hashtag2"]},{"1371912164":["hashtag1","hashtag2"]},{"1371912155":["hashtag1","hashtag2"]},{"1371912157":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912159, 1371912162, 1371912161, 1371912164, 1371912155, 1371912157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13448882102966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:09:47.167413
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/09/image_12072025_19_09_44_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/19/09/image_12072025_19_09_24_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/19/08/image_12072025_19_09_03_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_54_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/09/image_12072025_19_09_44_10611.jpg', '/home/nano/Desktop/images/12072025/19/09/image_12072025_19_09_24_9602.jpg', '/home/nano/Desktop/images/12072025/19/08/image_12072025_19_09_03_9599.jpg', '/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_54_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/09/image_12072025_19_09_44_10611.jpg
/home/nano/Desktop/images/12072025/19/09/image_12072025_19_09_24_9602.jpg
/home/nano/Desktop/images/12072025/19/08/image_12072025_19_09_03_9599.jpg
/home/nano/Desktop/images/12072025/19/08/image_12072025_19_08_54_9610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912182","1371912185","1371912179","1371912184"],"photo_ids_order":["1371912179","1371912182","1371912184","1371912185"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46a91f3812d4cce48772d3a721df02fd.jpg","text":"TemporaryFile(/tmp/multipartBody1013847356860012728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340248572,"filename":"image_12072025_19_09_24_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/add889af2b6a269cd75406de3f4cfd7e.jpg","text":"TemporaryFile(/tmp/multipartBody4860738924474218847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340248572,"filename":"image_12072025_19_08_54_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb84898f8170ba26e819bbbefc041b10.jpg","text":"TemporaryFile(/tmp/multipartBody955972405319854243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340248572,"filename":"image_12072025_19_09_44_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc92495d849de662b01d2ddc3e02b0da.jpg","text":"TemporaryFile(/tmp/multipartBody3605891984332755268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340248572,"filename":"image_12072025_19_09_03_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912184","file1":"1371912182","file0":"1371912179","file3":"1371912185"},"map_files_photo_id_array":[{"photo_id":"1371912184","filename":"file2"},{"photo_id":"1371912182","filename":"file1"},{"photo_id":"1371912179","filename":"file0"},{"photo_id":"1371912185","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912182":["hashtag1","hashtag2"]},{"1371912185":["hashtag1","hashtag2"]},{"1371912179":["hashtag1","hashtag2"]},{"1371912184":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912182, 1371912185, 1371912179, 1371912184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.85499405860901 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:10:17.262923
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/10/image_12072025_19_10_34_10606.jpg', 2), ('/home/nano/Desktop/images/12072025/19/10/image_12072025_19_10_23_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/19/10/image_12072025_19_10_14_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/19/09/image_12072025_19_10_04_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/19/09/image_12072025_19_09_54_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/10/image_12072025_19_10_34_10606.jpg', '/home/nano/Desktop/images/12072025/19/10/image_12072025_19_10_23_9599.jpg', '/home/nano/Desktop/images/12072025/19/10/image_12072025_19_10_14_9648.jpg', '/home/nano/Desktop/images/12072025/19/09/image_12072025_19_10_04_10641.jpg', '/home/nano/Desktop/images/12072025/19/09/image_12072025_19_09_54_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/10/image_12072025_19_10_34_10606.jpg
/home/nano/Desktop/images/12072025/19/10/image_12072025_19_10_23_9599.jpg
/home/nano/Desktop/images/12072025/19/10/image_12072025_19_10_14_9648.jpg
/home/nano/Desktop/images/12072025/19/09/image_12072025_19_10_04_10641.jpg
/home/nano/Desktop/images/12072025/19/09/image_12072025_19_09_54_9601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912194","1371912197","1371912191","1371912193","1371912196"],"photo_ids_order":["1371912191","1371912193","1371912194","1371912196","1371912197"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43803d952685f657aaa0af72230c2356.jpg","text":"TemporaryFile(/tmp/multipartBody92688469360684507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340279066,"filename":"image_12072025_19_10_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8db3585748c7cad20c4e3da1b292fa8e.jpg","text":"TemporaryFile(/tmp/multipartBody9080176422200563720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340279066,"filename":"image_12072025_19_09_54_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4a9e6ff5bafb15612a7fbae100b5808.jpg","text":"TemporaryFile(/tmp/multipartBody6371227515587324690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340279066,"filename":"image_12072025_19_10_34_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a2e9272cab80ad1f95cc816fdcfff43.jpg","text":"TemporaryFile(/tmp/multipartBody1770669879652647221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340279066,"filename":"image_12072025_19_10_23_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d65b6f81d0ccba58e5a49abd9e6ea82b.jpg","text":"TemporaryFile(/tmp/multipartBody8473414795078319486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340279066,"filename":"image_12072025_19_10_04_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912194","file1":"1371912193","file0":"1371912191","file4":"1371912197","file3":"1371912196"},"map_files_photo_id_array":[{"photo_id":"1371912194","filename":"file2"},{"photo_id":"1371912197","filename":"file4"},{"photo_id":"1371912193","filename":"file1"},{"photo_id":"1371912191","filename":"file0"},{"photo_id":"1371912196","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912194":["hashtag1","hashtag2"]},{"1371912197":["hashtag1","hashtag2"]},{"1371912191":["hashtag1","hashtag2"]},{"1371912193":["hashtag1","hashtag2"]},{"1371912196":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912194, 1371912197, 1371912191, 1371912193, 1371912196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.835108280181885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:10:47.276483
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/46/image_10072025_16_47_03_9708.jpg', 2), ('/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_53_9709.jpg', 2), ('/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_44_10705.jpg', 2), ('/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_33_9749.jpg', 2), ('/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_23_9672.jpg', 2), ('/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_14_9725.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/46/image_10072025_16_47_03_9708.jpg', '/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_53_9709.jpg', '/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_44_10705.jpg', '/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_33_9749.jpg', '/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_23_9672.jpg', '/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_14_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/46/image_10072025_16_47_03_9708.jpg
/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_53_9709.jpg
/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_44_10705.jpg
/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_33_9749.jpg
/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_23_9672.jpg
/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_14_9725.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4721336364746094 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:11:03.150411
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/46/image_10072025_16_47_03_9708.jpg', 2), ('/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_53_9709.jpg', 2), ('/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_44_10705.jpg', 2), ('/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_33_9749.jpg', 2), ('/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_23_9672.jpg', 2), ('/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_14_9725.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/46/image_10072025_16_47_03_9708.jpg', '/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_53_9709.jpg', '/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_44_10705.jpg', '/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_33_9749.jpg', '/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_23_9672.jpg', '/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_14_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/46/image_10072025_16_47_03_9708.jpg
/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_53_9709.jpg
/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_44_10705.jpg
/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_33_9749.jpg
/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_23_9672.jpg
/home/nano/Desktop/images/10072025/16/46/image_10072025_16_46_14_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912214","1371912213","1371912210","1371912212","1371912215","1371912209"],"photo_ids_order":["1371912209","1371912210","1371912212","1371912213","1371912214","1371912215"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93a388351aa266a45cbd7388c67112b5.jpg","text":"TemporaryFile(/tmp/multipartBody125273488496296587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340326667,"filename":"image_10072025_16_46_23_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b919cac51ebac6255ea5566d6323abf5.jpg","text":"TemporaryFile(/tmp/multipartBody5818317408374221767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340326667,"filename":"image_10072025_16_46_33_9749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b03cf97e8b1d82d1a68556d247a860fc.jpg","text":"TemporaryFile(/tmp/multipartBody6580904551894691116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340326667,"filename":"image_10072025_16_46_53_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b99ce2c515ae630170893d0ded7780e6.jpg","text":"TemporaryFile(/tmp/multipartBody2215229819368664549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340326667,"filename":"image_10072025_16_46_44_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/214c0931cc578bda17a3a7591460cca4.jpg","text":"TemporaryFile(/tmp/multipartBody2530337962489087827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340326667,"filename":"image_10072025_16_46_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02927539151dcfc903199d2e06ea1854.jpg","text":"TemporaryFile(/tmp/multipartBody9098153085568558490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340326667,"filename":"image_10072025_16_47_03_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912212","file1":"1371912210","file0":"1371912209","file4":"1371912214","file5":"1371912215","file3":"1371912213"},"map_files_photo_id_array":[{"photo_id":"1371912215","filename":"file5"},{"photo_id":"1371912212","filename":"file2"},{"photo_id":"1371912214","filename":"file4"},{"photo_id":"1371912210","filename":"file1"},{"photo_id":"1371912209","filename":"file0"},{"photo_id":"1371912213","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912214":["hashtag1","hashtag2"]},{"1371912213":["hashtag1","hashtag2"]},{"1371912210":["hashtag1","hashtag2"]},{"1371912212":["hashtag1","hashtag2"]},{"1371912215":["hashtag1","hashtag2"]},{"1371912209":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912214, 1371912213, 1371912210, 1371912212, 1371912215, 1371912209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68518543243408 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:11:47.476694
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_43_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_34_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_24_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_14_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/19/10/image_12072025_19_11_04_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/19/10/image_12072025_19_10_44_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_43_9600.jpg', '/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_34_9606.jpg', '/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_24_10611.jpg', '/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_14_9613.jpg', '/home/nano/Desktop/images/12072025/19/10/image_12072025_19_11_04_9601.jpg', '/home/nano/Desktop/images/12072025/19/10/image_12072025_19_10_44_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_43_9600.jpg
/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_34_9606.jpg
/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_24_10611.jpg
/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_14_9613.jpg
/home/nano/Desktop/images/12072025/19/10/image_12072025_19_11_04_9601.jpg
/home/nano/Desktop/images/12072025/19/10/image_12072025_19_10_44_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912231","1371912224","1371912233","1371912227","1371912221","1371912229"],"photo_ids_order":["1371912221","1371912224","1371912227","1371912229","1371912231","1371912233"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d725c4ba5acd65386bddcb3d3d667ca7.jpg","text":"TemporaryFile(/tmp/multipartBody8483028431779739350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340368994,"filename":"image_12072025_19_11_04_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0eb0925469b8496e0c7cda7b1803a4c9.jpg","text":"TemporaryFile(/tmp/multipartBody8189673668778727648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340368994,"filename":"image_12072025_19_11_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0766fd44a94d0e0c9ea7139bc4f4dc40.jpg","text":"TemporaryFile(/tmp/multipartBody7517440623170954131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340368994,"filename":"image_12072025_19_10_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5bb70a65e6bfa911f20337d91b35190.jpg","text":"TemporaryFile(/tmp/multipartBody9135990226658598612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340368994,"filename":"image_12072025_19_11_24_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f069ecad056dbf21aec78737b5724da.jpg","text":"TemporaryFile(/tmp/multipartBody2365637923111283873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340368994,"filename":"image_12072025_19_11_43_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4140be89c8a8e47f7836ec8ac6fad1d.jpg","text":"TemporaryFile(/tmp/multipartBody707250978920701351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340368994,"filename":"image_12072025_19_11_14_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912227","file1":"1371912224","file0":"1371912221","file4":"1371912231","file5":"1371912233","file3":"1371912229"},"map_files_photo_id_array":[{"photo_id":"1371912233","filename":"file5"},{"photo_id":"1371912227","filename":"file2"},{"photo_id":"1371912231","filename":"file4"},{"photo_id":"1371912224","filename":"file1"},{"photo_id":"1371912221","filename":"file0"},{"photo_id":"1371912229","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912231":["hashtag1","hashtag2"]},{"1371912224":["hashtag1","hashtag2"]},{"1371912233":["hashtag1","hashtag2"]},{"1371912227":["hashtag1","hashtag2"]},{"1371912221":["hashtag1","hashtag2"]},{"1371912229":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912231, 1371912224, 1371912233, 1371912227, 1371912221, 1371912229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.46169400215149 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:12:32.604082
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/12/image_12072025_19_12_44_10606.jpg', 2), ('/home/nano/Desktop/images/12072025/19/12/image_12072025_19_12_33_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/19/12/image_12072025_19_12_24_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_54_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/12/image_12072025_19_12_44_10606.jpg', '/home/nano/Desktop/images/12072025/19/12/image_12072025_19_12_33_9607.jpg', '/home/nano/Desktop/images/12072025/19/12/image_12072025_19_12_24_9602.jpg', '/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_54_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/12/image_12072025_19_12_44_10606.jpg
/home/nano/Desktop/images/12072025/19/12/image_12072025_19_12_33_9607.jpg
/home/nano/Desktop/images/12072025/19/12/image_12072025_19_12_24_9602.jpg
/home/nano/Desktop/images/12072025/19/11/image_12072025_19_11_54_10611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912240","1371912243","1371912239","1371912238"],"photo_ids_order":["1371912238","1371912239","1371912240","1371912243"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f22ae74067273a434264b8b6fe89772a.jpg","text":"TemporaryFile(/tmp/multipartBody6158537230380276459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340413815,"filename":"image_12072025_19_12_24_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c164ab87e7f7dc4c1c774c5d7696f2d2.jpg","text":"TemporaryFile(/tmp/multipartBody998984289157861996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340413815,"filename":"image_12072025_19_11_54_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e344ba9c243a3da22638abe10bede078.jpg","text":"TemporaryFile(/tmp/multipartBody4133276747535800725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340413815,"filename":"image_12072025_19_12_33_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/05d25c80a5f52da18ecf85a8d62a0548.jpg","text":"TemporaryFile(/tmp/multipartBody4919935370963070098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340413815,"filename":"image_12072025_19_12_44_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912240","file1":"1371912239","file0":"1371912238","file3":"1371912243"},"map_files_photo_id_array":[{"photo_id":"1371912240","filename":"file2"},{"photo_id":"1371912239","filename":"file1"},{"photo_id":"1371912238","filename":"file0"},{"photo_id":"1371912243","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912240":["hashtag1","hashtag2"]},{"1371912243":["hashtag1","hashtag2"]},{"1371912239":["hashtag1","hashtag2"]},{"1371912238":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912240, 1371912243, 1371912239, 1371912238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.66018557548523 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:13:03.225678
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/45/image_10072025_16_46_04_10736.jpg', 2), ('/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_53_9704.jpg', 2), ('/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_43_9733.jpg', 2), ('/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_34_9707.jpg', 2), ('/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_24_10746.jpg', 2), ('/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_13_9754.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/45/image_10072025_16_46_04_10736.jpg', '/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_53_9704.jpg', '/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_43_9733.jpg', '/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_34_9707.jpg', '/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_24_10746.jpg', '/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_13_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/45/image_10072025_16_46_04_10736.jpg
/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_53_9704.jpg
/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_43_9733.jpg
/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_34_9707.jpg
/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_24_10746.jpg
/home/nano/Desktop/images/10072025/16/45/image_10072025_16_45_13_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912255","1371912257","1371912251","1371912254","1371912253","1371912250"],"photo_ids_order":["1371912250","1371912251","1371912253","1371912254","1371912255","1371912257"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2acea3beef73ba198bed09f28c124f8a.jpg","text":"TemporaryFile(/tmp/multipartBody863895391173578752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340446885,"filename":"image_10072025_16_45_24_10746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84cb77b4078250793da639aff625d337.jpg","text":"TemporaryFile(/tmp/multipartBody1758868669688489858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340446885,"filename":"image_10072025_16_45_13_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b51b31b63a85d63326082a1d50fb3474.jpg","text":"TemporaryFile(/tmp/multipartBody3726003943614271608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340446885,"filename":"image_10072025_16_45_53_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1fab7b79a529022a6e2728f66773c6d.jpg","text":"TemporaryFile(/tmp/multipartBody204204191621781548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340446885,"filename":"image_10072025_16_45_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/773867866f105279578a461a650046ff.jpg","text":"TemporaryFile(/tmp/multipartBody7337336246444862511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340446885,"filename":"image_10072025_16_45_43_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/164244c6de449e9fbe03be6d4899e0c1.jpg","text":"TemporaryFile(/tmp/multipartBody1074008000838717586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340446885,"filename":"image_10072025_16_46_04_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912253","file1":"1371912251","file0":"1371912250","file4":"1371912255","file5":"1371912257","file3":"1371912254"},"map_files_photo_id_array":[{"photo_id":"1371912257","filename":"file5"},{"photo_id":"1371912253","filename":"file2"},{"photo_id":"1371912255","filename":"file4"},{"photo_id":"1371912251","filename":"file1"},{"photo_id":"1371912250","filename":"file0"},{"photo_id":"1371912254","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912255":["hashtag1","hashtag2"]},{"1371912257":["hashtag1","hashtag2"]},{"1371912251":["hashtag1","hashtag2"]},{"1371912254":["hashtag1","hashtag2"]},{"1371912253":["hashtag1","hashtag2"]},{"1371912250":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912255, 1371912257, 1371912251, 1371912254, 1371912253, 1371912250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68536448478699 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:13:47.649982
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/13/image_12072025_19_13_34_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/19/13/image_12072025_19_13_14_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/19/12/image_12072025_19_13_04_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/19/12/image_12072025_19_12_54_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/13/image_12072025_19_13_34_10611.jpg', '/home/nano/Desktop/images/12072025/19/13/image_12072025_19_13_14_9623.jpg', '/home/nano/Desktop/images/12072025/19/12/image_12072025_19_13_04_10618.jpg', '/home/nano/Desktop/images/12072025/19/12/image_12072025_19_12_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/13/image_12072025_19_13_34_10611.jpg
/home/nano/Desktop/images/12072025/19/13/image_12072025_19_13_14_9623.jpg
/home/nano/Desktop/images/12072025/19/12/image_12072025_19_13_04_10618.jpg
/home/nano/Desktop/images/12072025/19/12/image_12072025_19_12_54_9614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912267","1371912269","1371912263","1371912265"],"photo_ids_order":["1371912263","1371912265","1371912267","1371912269"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7bfa6b5c0d8fadc34c57442db1f6571a.jpg","text":"TemporaryFile(/tmp/multipartBody3363695264970921486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340489160,"filename":"image_12072025_19_13_04_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87b1cbed588854ef7cab3763f61225d4.jpg","text":"TemporaryFile(/tmp/multipartBody5722899153989527444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340489160,"filename":"image_12072025_19_12_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f1621154f606282dbd0faffb390a60b.jpg","text":"TemporaryFile(/tmp/multipartBody2553305878311429532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340489160,"filename":"image_12072025_19_13_34_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a23eed3a28f6a5382be4077553e31a19.jpg","text":"TemporaryFile(/tmp/multipartBody3206243266780827332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340489160,"filename":"image_12072025_19_13_14_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912267","file1":"1371912265","file0":"1371912263","file3":"1371912269"},"map_files_photo_id_array":[{"photo_id":"1371912267","filename":"file2"},{"photo_id":"1371912265","filename":"file1"},{"photo_id":"1371912263","filename":"file0"},{"photo_id":"1371912269","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912267":["hashtag1","hashtag2"]},{"1371912269":["hashtag1","hashtag2"]},{"1371912263":["hashtag1","hashtag2"]},{"1371912265":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912267, 1371912269, 1371912263, 1371912265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.493690967559814 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:14:16.763618
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/14/image_12072025_19_14_43_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/19/14/image_12072025_19_14_34_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/19/14/image_12072025_19_14_14_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/19/13/image_12072025_19_14_04_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/19/13/image_12072025_19_13_44_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/14/image_12072025_19_14_43_9616.jpg', '/home/nano/Desktop/images/12072025/19/14/image_12072025_19_14_34_9604.jpg', '/home/nano/Desktop/images/12072025/19/14/image_12072025_19_14_14_9629.jpg', '/home/nano/Desktop/images/12072025/19/13/image_12072025_19_14_04_10632.jpg', '/home/nano/Desktop/images/12072025/19/13/image_12072025_19_13_44_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/14/image_12072025_19_14_43_9616.jpg
/home/nano/Desktop/images/12072025/19/14/image_12072025_19_14_34_9604.jpg
/home/nano/Desktop/images/12072025/19/14/image_12072025_19_14_14_9629.jpg
/home/nano/Desktop/images/12072025/19/13/image_12072025_19_14_04_10632.jpg
/home/nano/Desktop/images/12072025/19/13/image_12072025_19_13_44_9615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912279","1371912275","1371912278","1371912280","1371912277"],"photo_ids_order":["1371912275","1371912277","1371912278","1371912279","1371912280"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/712caf5994de604f8b58c35bcacffa20.jpg","text":"TemporaryFile(/tmp/multipartBody108518977740318546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340518250,"filename":"image_12072025_19_14_04_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f21798d1bac55ed05fcc2a121fdff243.jpg","text":"TemporaryFile(/tmp/multipartBody167717718935652881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340518250,"filename":"image_12072025_19_14_43_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84994f6f5dbe9ebb8783c2c628ece05d.jpg","text":"TemporaryFile(/tmp/multipartBody1088443856556319027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340518250,"filename":"image_12072025_19_14_14_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e86ef557eb99d9d124ca66a24e6bfba5.jpg","text":"TemporaryFile(/tmp/multipartBody6079831761585009837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340518250,"filename":"image_12072025_19_13_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b331db83471528f409168d6a5e64d7e3.jpg","text":"TemporaryFile(/tmp/multipartBody671168302228298422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340518250,"filename":"image_12072025_19_14_34_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912278","file1":"1371912277","file0":"1371912275","file4":"1371912280","file3":"1371912279"},"map_files_photo_id_array":[{"photo_id":"1371912278","filename":"file2"},{"photo_id":"1371912280","filename":"file4"},{"photo_id":"1371912277","filename":"file1"},{"photo_id":"1371912275","filename":"file0"},{"photo_id":"1371912279","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912279":["hashtag1","hashtag2"]},{"1371912275":["hashtag1","hashtag2"]},{"1371912278":["hashtag1","hashtag2"]},{"1371912280":["hashtag1","hashtag2"]},{"1371912277":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912279, 1371912275, 1371912278, 1371912280, 1371912277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.261136531829834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:14:46.775368
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/44/image_10072025_16_45_04_9725.jpg', 2), ('/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_54_10742.jpg', 2), ('/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_43_9705.jpg', 2), ('/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_33_9729.jpg', 2), ('/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_24_9713.jpg', 2), ('/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_14_10741.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/44/image_10072025_16_45_04_9725.jpg', '/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_54_10742.jpg', '/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_43_9705.jpg', '/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_33_9729.jpg', '/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_24_9713.jpg', '/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_14_10741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/44/image_10072025_16_45_04_9725.jpg
/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_54_10742.jpg
/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_43_9705.jpg
/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_33_9729.jpg
/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_24_9713.jpg
/home/nano/Desktop/images/10072025/16/44/image_10072025_16_44_14_10741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912285","1371912288","1371912293","1371912290","1371912292","1371912286"],"photo_ids_order":["1371912285","1371912286","1371912288","1371912290","1371912292","1371912293"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a55378525603603f1591b23454babc2a.jpg","text":"TemporaryFile(/tmp/multipartBody3031530527173134915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340550622,"filename":"image_10072025_16_45_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bdaf44cdc9567e742002fdb20798651b.jpg","text":"TemporaryFile(/tmp/multipartBody2821132288769671084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340550622,"filename":"image_10072025_16_44_43_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd2da5083338be530e087dcddbd733d6.jpg","text":"TemporaryFile(/tmp/multipartBody6498981400080132566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340550622,"filename":"image_10072025_16_44_14_10741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09a4a6158a5c607e954a560d9df22e01.jpg","text":"TemporaryFile(/tmp/multipartBody3246069567436118064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340550622,"filename":"image_10072025_16_44_33_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3be8683187130c4ea3719d7f2d08a3c2.jpg","text":"TemporaryFile(/tmp/multipartBody1938768158281086693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340550622,"filename":"image_10072025_16_44_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cab1f61a52007279119b82566146d3f2.jpg","text":"TemporaryFile(/tmp/multipartBody1738396704189757427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340550622,"filename":"image_10072025_16_44_54_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912288","file1":"1371912286","file0":"1371912285","file4":"1371912292","file5":"1371912293","file3":"1371912290"},"map_files_photo_id_array":[{"photo_id":"1371912293","filename":"file5"},{"photo_id":"1371912288","filename":"file2"},{"photo_id":"1371912292","filename":"file4"},{"photo_id":"1371912286","filename":"file1"},{"photo_id":"1371912285","filename":"file0"},{"photo_id":"1371912290","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912285":["hashtag1","hashtag2"]},{"1371912288":["hashtag1","hashtag2"]},{"1371912293":["hashtag1","hashtag2"]},{"1371912290":["hashtag1","hashtag2"]},{"1371912292":["hashtag1","hashtag2"]},{"1371912286":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912285, 1371912288, 1371912293, 1371912290, 1371912292, 1371912286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24413776397705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:15:31.934614
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/15/image_12072025_19_15_24_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/19/15/image_12072025_19_15_14_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/19/14/image_12072025_19_15_04_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/19/14/image_12072025_19_14_54_10607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/15/image_12072025_19_15_24_9599.jpg', '/home/nano/Desktop/images/12072025/19/15/image_12072025_19_15_14_10627.jpg', '/home/nano/Desktop/images/12072025/19/14/image_12072025_19_15_04_9621.jpg', '/home/nano/Desktop/images/12072025/19/14/image_12072025_19_14_54_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/15/image_12072025_19_15_24_9599.jpg
/home/nano/Desktop/images/12072025/19/15/image_12072025_19_15_14_10627.jpg
/home/nano/Desktop/images/12072025/19/14/image_12072025_19_15_04_9621.jpg
/home/nano/Desktop/images/12072025/19/14/image_12072025_19_14_54_10607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912300","1371912299","1371912303","1371912301"],"photo_ids_order":["1371912299","1371912300","1371912301","1371912303"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b9135310f4ea4332c05c8cbb72ffd24.jpg","text":"TemporaryFile(/tmp/multipartBody7651138396785572226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340593373,"filename":"image_12072025_19_15_14_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/309c4ef790dff0ebb4dcc4287a24d5e3.jpg","text":"TemporaryFile(/tmp/multipartBody2785724898374298588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340593373,"filename":"image_12072025_19_15_24_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e87f352c24f73fd2891f43728f5ce0df.jpg","text":"TemporaryFile(/tmp/multipartBody35535254050287281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340593373,"filename":"image_12072025_19_14_54_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4df54c54cd1b646ffbfeae78037b3075.jpg","text":"TemporaryFile(/tmp/multipartBody7598290018503081319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340593373,"filename":"image_12072025_19_15_04_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912301","file1":"1371912300","file0":"1371912299","file3":"1371912303"},"map_files_photo_id_array":[{"photo_id":"1371912301","filename":"file2"},{"photo_id":"1371912300","filename":"file1"},{"photo_id":"1371912299","filename":"file0"},{"photo_id":"1371912303","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912300":["hashtag1","hashtag2"]},{"1371912299":["hashtag1","hashtag2"]},{"1371912303":["hashtag1","hashtag2"]},{"1371912301":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912300, 1371912299, 1371912303, 1371912301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.690608501434326 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:16:02.381369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/43/image_10072025_16_44_03_9694.jpg', 2), ('/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_53_9733.jpg', 2), ('/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_44_9727.jpg', 2), ('/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_34_10705.jpg', 2), ('/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_23_9692.jpg', 2), ('/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_14_9810.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/43/image_10072025_16_44_03_9694.jpg', '/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_53_9733.jpg', '/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_44_9727.jpg', '/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_34_10705.jpg', '/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_23_9692.jpg', '/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_14_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/43/image_10072025_16_44_03_9694.jpg
/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_53_9733.jpg
/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_44_9727.jpg
/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_34_10705.jpg
/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_23_9692.jpg
/home/nano/Desktop/images/10072025/16/43/image_10072025_16_43_14_9810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912319","1371912312","1371912318","1371912317","1371912314","1371912316"],"photo_ids_order":["1371912312","1371912314","1371912316","1371912317","1371912318","1371912319"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f92c420c8c6154b30145f7643850375b.jpg","text":"TemporaryFile(/tmp/multipartBody7208553130965697783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340626107,"filename":"image_10072025_16_43_14_9810.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/05364a632c5188af977e48c98a237de6.jpg","text":"TemporaryFile(/tmp/multipartBody7131001312808708927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340626107,"filename":"image_10072025_16_44_03_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa158e3298cea89c388536f8c96b421e.jpg","text":"TemporaryFile(/tmp/multipartBody7773001823907138555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340626107,"filename":"image_10072025_16_43_23_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a90537fe9e268a47d2db037c5c91bf6f.jpg","text":"TemporaryFile(/tmp/multipartBody712242199039051963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340626107,"filename":"image_10072025_16_43_34_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b4283bf8dce96d600458ad42ee2ae3f.jpg","text":"TemporaryFile(/tmp/multipartBody2057869074654113935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340626107,"filename":"image_10072025_16_43_53_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad8bc1b5fa8cbd84f3690e99e73512ae.jpg","text":"TemporaryFile(/tmp/multipartBody4307982580915572755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340626107,"filename":"image_10072025_16_43_44_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912316","file1":"1371912314","file0":"1371912312","file4":"1371912318","file5":"1371912319","file3":"1371912317"},"map_files_photo_id_array":[{"photo_id":"1371912319","filename":"file5"},{"photo_id":"1371912316","filename":"file2"},{"photo_id":"1371912318","filename":"file4"},{"photo_id":"1371912314","filename":"file1"},{"photo_id":"1371912312","filename":"file0"},{"photo_id":"1371912317","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912319":["hashtag1","hashtag2"]},{"1371912312":["hashtag1","hashtag2"]},{"1371912318":["hashtag1","hashtag2"]},{"1371912317":["hashtag1","hashtag2"]},{"1371912314":["hashtag1","hashtag2"]},{"1371912316":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912319, 1371912312, 1371912318, 1371912317, 1371912314, 1371912316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.379618644714355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:16:47.011674
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/16/image_12072025_19_16_34_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/19/16/image_12072025_19_16_14_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/19/15/image_12072025_19_16_03_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/19/15/image_12072025_19_15_33_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/16/image_12072025_19_16_34_10614.jpg', '/home/nano/Desktop/images/12072025/19/16/image_12072025_19_16_14_10635.jpg', '/home/nano/Desktop/images/12072025/19/15/image_12072025_19_16_03_9609.jpg', '/home/nano/Desktop/images/12072025/19/15/image_12072025_19_15_33_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/16/image_12072025_19_16_34_10614.jpg
/home/nano/Desktop/images/12072025/19/16/image_12072025_19_16_14_10635.jpg
/home/nano/Desktop/images/12072025/19/15/image_12072025_19_16_03_9609.jpg
/home/nano/Desktop/images/12072025/19/15/image_12072025_19_15_33_9604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912331","1371912321","1371912324","1371912328"],"photo_ids_order":["1371912321","1371912324","1371912328","1371912331"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18e8d315ff9c1da5d91ca5d2d31db418.jpg","text":"TemporaryFile(/tmp/multipartBody2013651056717940717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340668255,"filename":"image_12072025_19_15_33_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5e9f9c88ce3cde819380d90b936b0e7.jpg","text":"TemporaryFile(/tmp/multipartBody3926463477905060888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340668255,"filename":"image_12072025_19_16_34_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f68cb51df345368d2f828e46045f2f3c.jpg","text":"TemporaryFile(/tmp/multipartBody4435093359925206493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340668255,"filename":"image_12072025_19_16_14_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fbc897090b5ac92dd71dd862ee999630.jpg","text":"TemporaryFile(/tmp/multipartBody4148985860165655174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340668255,"filename":"image_12072025_19_16_03_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912328","file1":"1371912324","file0":"1371912321","file3":"1371912331"},"map_files_photo_id_array":[{"photo_id":"1371912328","filename":"file2"},{"photo_id":"1371912324","filename":"file1"},{"photo_id":"1371912321","filename":"file0"},{"photo_id":"1371912331","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912331":["hashtag1","hashtag2"]},{"1371912321":["hashtag1","hashtag2"]},{"1371912324":["hashtag1","hashtag2"]},{"1371912328":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912331, 1371912321, 1371912324, 1371912328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.46615719795227 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:17:17.127384
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_43_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_34_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_14_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/19/16/image_12072025_19_17_04_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/19/16/image_12072025_19_16_53_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_43_9603.jpg', '/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_34_9600.jpg', '/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_14_9618.jpg', '/home/nano/Desktop/images/12072025/19/16/image_12072025_19_17_04_10629.jpg', '/home/nano/Desktop/images/12072025/19/16/image_12072025_19_16_53_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_43_9603.jpg
/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_34_9600.jpg
/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_14_9618.jpg
/home/nano/Desktop/images/12072025/19/16/image_12072025_19_17_04_10629.jpg
/home/nano/Desktop/images/12072025/19/16/image_12072025_19_16_53_9601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912339","1371912341","1371912338","1371912340","1371912337"],"photo_ids_order":["1371912337","1371912338","1371912339","1371912340","1371912341"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a7b53d03f3eadff854fbad816edf797.jpg","text":"TemporaryFile(/tmp/multipartBody6068483231824794171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340698779,"filename":"image_12072025_19_17_14_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b2c68be3fc896618568e5ad10c8abfe.jpg","text":"TemporaryFile(/tmp/multipartBody6026207248825174989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340698779,"filename":"image_12072025_19_16_53_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7327d117a88b147e49c6aa5bb063300e.jpg","text":"TemporaryFile(/tmp/multipartBody772453070606526890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340698779,"filename":"image_12072025_19_17_34_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3684f84392c139630b5a6df2f9ee1363.jpg","text":"TemporaryFile(/tmp/multipartBody8502360852540401954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340698779,"filename":"image_12072025_19_17_04_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff397eebb4af31e3f99b14de09323db0.jpg","text":"TemporaryFile(/tmp/multipartBody3078859825097880378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340698779,"filename":"image_12072025_19_17_43_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912339","file1":"1371912338","file0":"1371912337","file4":"1371912341","file3":"1371912340"},"map_files_photo_id_array":[{"photo_id":"1371912339","filename":"file2"},{"photo_id":"1371912341","filename":"file4"},{"photo_id":"1371912338","filename":"file1"},{"photo_id":"1371912337","filename":"file0"},{"photo_id":"1371912340","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912339":["hashtag1","hashtag2"]},{"1371912341":["hashtag1","hashtag2"]},{"1371912338":["hashtag1","hashtag2"]},{"1371912340":["hashtag1","hashtag2"]},{"1371912337":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912339, 1371912341, 1371912338, 1371912340, 1371912337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.106104135513306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:17:47.116752
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/42/image_10072025_16_43_04_10740.jpg', 2), ('/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_53_9734.jpg', 2), ('/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_43_9742.jpg', 2), ('/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_34_9689.jpg', 2), ('/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_24_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_13_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/42/image_10072025_16_43_04_10740.jpg', '/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_53_9734.jpg', '/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_43_9742.jpg', '/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_34_9689.jpg', '/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_24_10638.jpg', '/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_13_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/42/image_10072025_16_43_04_10740.jpg
/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_53_9734.jpg
/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_43_9742.jpg
/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_34_9689.jpg
/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_24_10638.jpg
/home/nano/Desktop/images/10072025/16/42/image_10072025_16_42_13_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912345","1371912350","1371912347","1371912352","1371912349","1371912343"],"photo_ids_order":["1371912343","1371912345","1371912347","1371912349","1371912350","1371912352"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ea0c025f6bcfdf498d470a668abcf95b.jpg","text":"TemporaryFile(/tmp/multipartBody7683145257552835884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340730562,"filename":"image_10072025_16_42_53_9734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/865949eafbfd9c538a7b4c9e155fca00.jpg","text":"TemporaryFile(/tmp/multipartBody4079910934359052541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340730562,"filename":"image_10072025_16_42_24_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24a4dff7a2b77f8057bf89dce7ff86ad.jpg","text":"TemporaryFile(/tmp/multipartBody7981829071329077708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340730562,"filename":"image_10072025_16_42_43_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c95f5168ff34d7825fad0d97db792145.jpg","text":"TemporaryFile(/tmp/multipartBody283079963892524772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340730562,"filename":"image_10072025_16_42_13_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/573e67a9e594ee48c108df7f2ed1a54e.jpg","text":"TemporaryFile(/tmp/multipartBody5842575783337505026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340730562,"filename":"image_10072025_16_42_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1eb576f364176f95f619452e1d481d13.jpg","text":"TemporaryFile(/tmp/multipartBody1001647400380481549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340730562,"filename":"image_10072025_16_43_04_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912347","file1":"1371912345","file0":"1371912343","file4":"1371912350","file5":"1371912352","file3":"1371912349"},"map_files_photo_id_array":[{"photo_id":"1371912352","filename":"file5"},{"photo_id":"1371912347","filename":"file2"},{"photo_id":"1371912350","filename":"file4"},{"photo_id":"1371912345","filename":"file1"},{"photo_id":"1371912343","filename":"file0"},{"photo_id":"1371912349","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912345":["hashtag1","hashtag2"]},{"1371912350":["hashtag1","hashtag2"]},{"1371912347":["hashtag1","hashtag2"]},{"1371912352":["hashtag1","hashtag2"]},{"1371912349":["hashtag1","hashtag2"]},{"1371912343":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912345, 1371912350, 1371912347, 1371912352, 1371912349, 1371912343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90148591995239 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:18:32.226663
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_44_10606.jpg', 2), ('/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_34_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/19/17/image_12072025_19_18_04_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_54_10609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_44_10606.jpg', '/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_34_9608.jpg', '/home/nano/Desktop/images/12072025/19/17/image_12072025_19_18_04_9613.jpg', '/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_54_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_44_10606.jpg
/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_34_9608.jpg
/home/nano/Desktop/images/12072025/19/17/image_12072025_19_18_04_9613.jpg
/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_54_10609.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3058712482452393 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:18:47.249974
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_44_10606.jpg', 2), ('/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_34_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/19/17/image_12072025_19_18_04_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_54_10609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_44_10606.jpg', '/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_34_9608.jpg', '/home/nano/Desktop/images/12072025/19/17/image_12072025_19_18_04_9613.jpg', '/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_54_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_44_10606.jpg
/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_34_9608.jpg
/home/nano/Desktop/images/12072025/19/17/image_12072025_19_18_04_9613.jpg
/home/nano/Desktop/images/12072025/19/17/image_12072025_19_17_54_10609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912360","1371912362","1371912364","1371912358"],"photo_ids_order":["1371912358","1371912360","1371912362","1371912364"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6feeee71ef0669fe71eeefd63062dbb3.jpg","text":"TemporaryFile(/tmp/multipartBody9040404618812149051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340788766,"filename":"image_12072025_19_18_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbf42018e452e9564ba1a406f7476396.jpg","text":"TemporaryFile(/tmp/multipartBody669712892277273550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340788766,"filename":"image_12072025_19_18_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/362a03bc1fe71b23f8ffb209c780656d.jpg","text":"TemporaryFile(/tmp/multipartBody8824647208753657752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340788766,"filename":"image_12072025_19_17_54_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6cb291986f35e71a88ba70ddeea7490.jpg","text":"TemporaryFile(/tmp/multipartBody4341846304210823558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340788766,"filename":"image_12072025_19_18_44_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912362","file1":"1371912360","file0":"1371912358","file3":"1371912364"},"map_files_photo_id_array":[{"photo_id":"1371912362","filename":"file2"},{"photo_id":"1371912360","filename":"file1"},{"photo_id":"1371912358","filename":"file0"},{"photo_id":"1371912364","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912360":["hashtag1","hashtag2"]},{"1371912362":["hashtag1","hashtag2"]},{"1371912364":["hashtag1","hashtag2"]},{"1371912358":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912360, 1371912362, 1371912364, 1371912358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.847335815429688 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:19:17.338698
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/19/image_12072025_19_19_44_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/19/19/image_12072025_19_19_34_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_54_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/19/image_12072025_19_19_44_9598.jpg', '/home/nano/Desktop/images/12072025/19/19/image_12072025_19_19_34_10611.jpg', '/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_54_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/19/image_12072025_19_19_44_9598.jpg
/home/nano/Desktop/images/12072025/19/19/image_12072025_19_19_34_10611.jpg
/home/nano/Desktop/images/12072025/19/18/image_12072025_19_18_54_9601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912369","1371912370","1371912367"],"photo_ids_order":["1371912367","1371912369","1371912370"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d57cad4d3f839dc06fb6f486c167b739.jpg","text":"TemporaryFile(/tmp/multipartBody5723433893986408503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340818509,"filename":"image_12072025_19_19_34_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3738658eb5d6fba4bfe0b8780945c749.jpg","text":"TemporaryFile(/tmp/multipartBody8960088531122390611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340818509,"filename":"image_12072025_19_18_54_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a5eeb93076a9fe70c4e253663d3191a.jpg","text":"TemporaryFile(/tmp/multipartBody5724600889441350089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340818509,"filename":"image_12072025_19_19_44_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912370","file1":"1371912369","file0":"1371912367"},"map_files_photo_id_array":[{"photo_id":"1371912370","filename":"file2"},{"photo_id":"1371912369","filename":"file1"},{"photo_id":"1371912367","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912369":["hashtag1","hashtag2"]},{"1371912370":["hashtag1","hashtag2"]},{"1371912367":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912369, 1371912370, 1371912367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.487547874450684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:19:47.359978
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/41/image_10072025_16_42_04_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_54_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_43_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_34_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_24_10643.jpg', 2), ('/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_13_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/41/image_10072025_16_42_04_9632.jpg', '/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_54_10661.jpg', '/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_43_9641.jpg', '/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_34_9643.jpg', '/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_24_10643.jpg', '/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_13_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/41/image_10072025_16_42_04_9632.jpg
/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_54_10661.jpg
/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_43_9641.jpg
/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_34_9643.jpg
/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_24_10643.jpg
/home/nano/Desktop/images/10072025/16/41/image_10072025_16_41_13_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912393","1371912387","1371912386","1371912389","1371912391","1371912394"],"photo_ids_order":["1371912386","1371912387","1371912389","1371912391","1371912393","1371912394"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5090fe5953054808615bc791ea5b2b94.jpg","text":"TemporaryFile(/tmp/multipartBody2192755403498546059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340850952,"filename":"image_10072025_16_41_24_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5da6c76795660cd262ff5e98b134883e.jpg","text":"TemporaryFile(/tmp/multipartBody4530076353404931464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340850952,"filename":"image_10072025_16_41_54_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0475e3bb573cd381ada10d1e089ee8bb.jpg","text":"TemporaryFile(/tmp/multipartBody7771687491270495352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340850952,"filename":"image_10072025_16_42_04_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eebcc3fa07b9ee082e7cb2d2ef7dfe50.jpg","text":"TemporaryFile(/tmp/multipartBody7610916063158377299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340850952,"filename":"image_10072025_16_41_43_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/975e9557cfdc85e48ad95353d73f8966.jpg","text":"TemporaryFile(/tmp/multipartBody7381913522402590512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340850952,"filename":"image_10072025_16_41_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/997dc306a2a8f16d6c0c9fa34f0821fd.jpg","text":"TemporaryFile(/tmp/multipartBody6641314711552044460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340850952,"filename":"image_10072025_16_41_13_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912389","file1":"1371912387","file0":"1371912386","file4":"1371912393","file5":"1371912394","file3":"1371912391"},"map_files_photo_id_array":[{"photo_id":"1371912394","filename":"file5"},{"photo_id":"1371912389","filename":"file2"},{"photo_id":"1371912393","filename":"file4"},{"photo_id":"1371912387","filename":"file1"},{"photo_id":"1371912386","filename":"file0"},{"photo_id":"1371912391","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912393":["hashtag1","hashtag2"]},{"1371912387":["hashtag1","hashtag2"]},{"1371912386":["hashtag1","hashtag2"]},{"1371912389":["hashtag1","hashtag2"]},{"1371912391":["hashtag1","hashtag2"]},{"1371912394":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912393, 1371912387, 1371912386, 1371912389, 1371912391, 1371912394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35254883766174 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:20:32.450964
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/20/image_12072025_19_20_14_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/19/19/image_12072025_19_20_04_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/19/19/image_12072025_19_19_53_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/20/image_12072025_19_20_14_9632.jpg', '/home/nano/Desktop/images/12072025/19/19/image_12072025_19_20_04_10630.jpg', '/home/nano/Desktop/images/12072025/19/19/image_12072025_19_19_53_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/20/image_12072025_19_20_14_9632.jpg
/home/nano/Desktop/images/12072025/19/19/image_12072025_19_20_04_10630.jpg
/home/nano/Desktop/images/12072025/19/19/image_12072025_19_19_53_9597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912396","1371912398","1371912397"],"photo_ids_order":["1371912396","1371912397","1371912398"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e20006ecbf84589ce851aced074ab388.jpg","text":"TemporaryFile(/tmp/multipartBody5369684802934161808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340893637,"filename":"image_12072025_19_20_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67a55c7fc08c20e05ba86ecb84b4179b.jpg","text":"TemporaryFile(/tmp/multipartBody3170351030876791509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340893637,"filename":"image_12072025_19_19_53_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6339c254a1145ea14f497c237221a866.jpg","text":"TemporaryFile(/tmp/multipartBody3823222283836220497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340893637,"filename":"image_12072025_19_20_04_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912398","file1":"1371912397","file0":"1371912396"},"map_files_photo_id_array":[{"photo_id":"1371912398","filename":"file2"},{"photo_id":"1371912397","filename":"file1"},{"photo_id":"1371912396","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912396":["hashtag1","hashtag2"]},{"1371912398":["hashtag1","hashtag2"]},{"1371912397":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912396, 1371912398, 1371912397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.664894342422485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:21:03.214675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/40/image_10072025_16_41_04_10680.jpg', 2), ('/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_53_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_43_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_34_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_23_9669.jpg', 2), ('/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_13_9714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/40/image_10072025_16_41_04_10680.jpg', '/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_53_9657.jpg', '/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_43_9634.jpg', '/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_34_10664.jpg', '/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_23_9669.jpg', '/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_13_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/40/image_10072025_16_41_04_10680.jpg
/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_53_9657.jpg
/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_43_9634.jpg
/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_34_10664.jpg
/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_23_9669.jpg
/home/nano/Desktop/images/10072025/16/40/image_10072025_16_40_13_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912418","1371912420","1371912413","1371912421","1371912415","1371912409"],"photo_ids_order":["1371912409","1371912413","1371912415","1371912418","1371912420","1371912421"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/956ce6032887799c8e6c791429890206.jpg","text":"TemporaryFile(/tmp/multipartBody2550977772229583938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340926992,"filename":"image_10072025_16_40_34_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/814705a5d6b9652394c86983b3c5bf4c.jpg","text":"TemporaryFile(/tmp/multipartBody7601382126611130692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340926992,"filename":"image_10072025_16_40_23_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df253722cd41146d218bc2efff9337a4.jpg","text":"TemporaryFile(/tmp/multipartBody3068051811153930160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340926992,"filename":"image_10072025_16_40_53_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b75a23a8ab6c6aa008a11c15e2a7fa22.jpg","text":"TemporaryFile(/tmp/multipartBody8284913998746452175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340926992,"filename":"image_10072025_16_40_13_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a6a9c90e0cde25dcc4f832139ad20d4.jpg","text":"TemporaryFile(/tmp/multipartBody8662780887801985411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340926992,"filename":"image_10072025_16_40_43_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9fb3d977367e96488400c5322f7361ad.jpg","text":"TemporaryFile(/tmp/multipartBody399313356138770220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340926992,"filename":"image_10072025_16_41_04_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912415","file1":"1371912413","file0":"1371912409","file4":"1371912420","file5":"1371912421","file3":"1371912418"},"map_files_photo_id_array":[{"photo_id":"1371912421","filename":"file5"},{"photo_id":"1371912415","filename":"file2"},{"photo_id":"1371912420","filename":"file4"},{"photo_id":"1371912413","filename":"file1"},{"photo_id":"1371912409","filename":"file0"},{"photo_id":"1371912418","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912418":["hashtag1","hashtag2"]},{"1371912420":["hashtag1","hashtag2"]},{"1371912413":["hashtag1","hashtag2"]},{"1371912421":["hashtag1","hashtag2"]},{"1371912415":["hashtag1","hashtag2"]},{"1371912409":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912418, 1371912420, 1371912413, 1371912421, 1371912415, 1371912409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32544660568237 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:21:47.572367
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_44_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_34_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_24_10605.jpg', 2), ('/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_13_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/19/20/image_12072025_19_20_34_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_44_10610.jpg', '/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_34_9604.jpg', '/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_24_10605.jpg', '/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_13_9627.jpg', '/home/nano/Desktop/images/12072025/19/20/image_12072025_19_20_34_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_44_10610.jpg
/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_34_9604.jpg
/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_24_10605.jpg
/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_13_9627.jpg
/home/nano/Desktop/images/12072025/19/20/image_12072025_19_20_34_9614.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7272799015045166 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:22:03.295412
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_44_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_34_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_24_10605.jpg', 2), ('/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_13_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/19/20/image_12072025_19_20_34_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_44_10610.jpg', '/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_34_9604.jpg', '/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_24_10605.jpg', '/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_13_9627.jpg', '/home/nano/Desktop/images/12072025/19/20/image_12072025_19_20_34_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_44_10610.jpg
/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_34_9604.jpg
/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_24_10605.jpg
/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_13_9627.jpg
/home/nano/Desktop/images/12072025/19/20/image_12072025_19_20_34_9614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912438","1371912435","1371912440","1371912443","1371912442"],"photo_ids_order":["1371912435","1371912438","1371912440","1371912442","1371912443"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7182db243ad02398f015992135700c2f.jpg","text":"TemporaryFile(/tmp/multipartBody494288590661696143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340984953,"filename":"image_12072025_19_21_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d069719a2c39b812a5609bf23543be91.jpg","text":"TemporaryFile(/tmp/multipartBody5495414891255679609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340984953,"filename":"image_12072025_19_21_44_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/260c475cbd6ee625777a81fcd95b82fc.jpg","text":"TemporaryFile(/tmp/multipartBody3800612519059493338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340984953,"filename":"image_12072025_19_21_24_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a48a3a4a196c80b00c200fa4e50f146.jpg","text":"TemporaryFile(/tmp/multipartBody183802898242135711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340984953,"filename":"image_12072025_19_20_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c789701f0dedcd171bbee4db352cb39.jpg","text":"TemporaryFile(/tmp/multipartBody6260426487976396404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752340984953,"filename":"image_12072025_19_21_13_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912440","file1":"1371912438","file0":"1371912435","file4":"1371912443","file3":"1371912442"},"map_files_photo_id_array":[{"photo_id":"1371912440","filename":"file2"},{"photo_id":"1371912443","filename":"file4"},{"photo_id":"1371912438","filename":"file1"},{"photo_id":"1371912435","filename":"file0"},{"photo_id":"1371912442","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912438":["hashtag1","hashtag2"]},{"1371912435":["hashtag1","hashtag2"]},{"1371912440":["hashtag1","hashtag2"]},{"1371912443":["hashtag1","hashtag2"]},{"1371912442":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912438, 1371912435, 1371912440, 1371912443, 1371912442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.520440578460693 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:22:32.655725
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/22/image_12072025_19_22_44_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/19/22/image_12072025_19_22_34_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/19/22/image_12072025_19_22_14_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/19/21/image_12072025_19_22_03_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_54_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/22/image_12072025_19_22_44_9602.jpg', '/home/nano/Desktop/images/12072025/19/22/image_12072025_19_22_34_10625.jpg', '/home/nano/Desktop/images/12072025/19/22/image_12072025_19_22_14_10649.jpg', '/home/nano/Desktop/images/12072025/19/21/image_12072025_19_22_03_9603.jpg', '/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_54_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/22/image_12072025_19_22_44_9602.jpg
/home/nano/Desktop/images/12072025/19/22/image_12072025_19_22_34_10625.jpg
/home/nano/Desktop/images/12072025/19/22/image_12072025_19_22_14_10649.jpg
/home/nano/Desktop/images/12072025/19/21/image_12072025_19_22_03_9603.jpg
/home/nano/Desktop/images/12072025/19/21/image_12072025_19_21_54_9600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912444","1371912449","1371912446","1371912445","1371912448"],"photo_ids_order":["1371912444","1371912445","1371912446","1371912448","1371912449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5285c59146e52df2dd33101a41ecd5a6.jpg","text":"TemporaryFile(/tmp/multipartBody270390625844060845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341014173,"filename":"image_12072025_19_22_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ffa9fa3bc60ae19e9a555433324ed3b.jpg","text":"TemporaryFile(/tmp/multipartBody6020022789495335587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341014173,"filename":"image_12072025_19_21_54_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f00ed7dd0b3b72c5b4c7900a120647d.jpg","text":"TemporaryFile(/tmp/multipartBody1598270366633763378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341014173,"filename":"image_12072025_19_22_14_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ecb619aedf76c022c5d811da4a74df2.jpg","text":"TemporaryFile(/tmp/multipartBody3355179661466038112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341014173,"filename":"image_12072025_19_22_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b66f6a7e3f350cbe466541e7aaf12b4.jpg","text":"TemporaryFile(/tmp/multipartBody1295892044393778916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341014173,"filename":"image_12072025_19_22_03_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912446","file1":"1371912445","file0":"1371912444","file4":"1371912449","file3":"1371912448"},"map_files_photo_id_array":[{"photo_id":"1371912446","filename":"file2"},{"photo_id":"1371912449","filename":"file4"},{"photo_id":"1371912445","filename":"file1"},{"photo_id":"1371912444","filename":"file0"},{"photo_id":"1371912448","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912444":["hashtag1","hashtag2"]},{"1371912449":["hashtag1","hashtag2"]},{"1371912446":["hashtag1","hashtag2"]},{"1371912445":["hashtag1","hashtag2"]},{"1371912448":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912444, 1371912449, 1371912446, 1371912445, 1371912448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.118757247924805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:23:02.369746
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/39/image_10072025_16_40_04_9723.jpg', 2), ('/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_54_10717.jpg', 2), ('/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_43_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_34_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_24_10630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_13_9730.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/39/image_10072025_16_40_04_9723.jpg', '/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_54_10717.jpg', '/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_43_9631.jpg', '/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_34_9624.jpg', '/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_24_10630.jpg', '/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_13_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/39/image_10072025_16_40_04_9723.jpg
/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_54_10717.jpg
/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_43_9631.jpg
/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_34_9624.jpg
/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_24_10630.jpg
/home/nano/Desktop/images/10072025/16/39/image_10072025_16_39_13_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912456","1371912465","1371912459","1371912461","1371912463","1371912466"],"photo_ids_order":["1371912456","1371912459","1371912461","1371912463","1371912465","1371912466"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/659bda19463452e67768f4b9b24fc6ea.jpg","text":"TemporaryFile(/tmp/multipartBody5770810368016788515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341046298,"filename":"image_10072025_16_40_04_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/099b7510036fa6e6c34afa6d0ee87eb6.jpg","text":"TemporaryFile(/tmp/multipartBody247460463982941427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341046298,"filename":"image_10072025_16_39_24_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a2d05d9165171650ff20a0e08b9c137.jpg","text":"TemporaryFile(/tmp/multipartBody8412350049300842979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341046298,"filename":"image_10072025_16_39_54_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd6a9ecc8693d7f7035d7238b4aa4df7.jpg","text":"TemporaryFile(/tmp/multipartBody6020467904487297114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341046298,"filename":"image_10072025_16_39_43_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cadde3a8ef3327ddc291fac00aab6114.jpg","text":"TemporaryFile(/tmp/multipartBody3986509240932984902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341046298,"filename":"image_10072025_16_39_34_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/703b066584633ad238f98ce91f1e023d.jpg","text":"TemporaryFile(/tmp/multipartBody1811094132126626132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341046298,"filename":"image_10072025_16_39_13_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912461","file1":"1371912459","file0":"1371912456","file4":"1371912465","file5":"1371912466","file3":"1371912463"},"map_files_photo_id_array":[{"photo_id":"1371912466","filename":"file5"},{"photo_id":"1371912461","filename":"file2"},{"photo_id":"1371912465","filename":"file4"},{"photo_id":"1371912459","filename":"file1"},{"photo_id":"1371912456","filename":"file0"},{"photo_id":"1371912463","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912456":["hashtag1","hashtag2"]},{"1371912465":["hashtag1","hashtag2"]},{"1371912459":["hashtag1","hashtag2"]},{"1371912461":["hashtag1","hashtag2"]},{"1371912463":["hashtag1","hashtag2"]},{"1371912466":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912456, 1371912465, 1371912459, 1371912461, 1371912463, 1371912466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85869026184082 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:23:46.774816
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/23/image_12072025_19_23_34_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/19/23/image_12072025_19_23_23_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/19/23/image_12072025_19_23_14_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/19/22/image_12072025_19_22_53_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/23/image_12072025_19_23_34_10614.jpg', '/home/nano/Desktop/images/12072025/19/23/image_12072025_19_23_23_9603.jpg', '/home/nano/Desktop/images/12072025/19/23/image_12072025_19_23_14_9639.jpg', '/home/nano/Desktop/images/12072025/19/22/image_12072025_19_22_53_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/23/image_12072025_19_23_34_10614.jpg
/home/nano/Desktop/images/12072025/19/23/image_12072025_19_23_23_9603.jpg
/home/nano/Desktop/images/12072025/19/23/image_12072025_19_23_14_9639.jpg
/home/nano/Desktop/images/12072025/19/22/image_12072025_19_22_53_9603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912474","1371912471","1371912473","1371912469"],"photo_ids_order":["1371912469","1371912471","1371912473","1371912474"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30b0381434f0318f553efc756ff1e7cb.jpg","text":"TemporaryFile(/tmp/multipartBody1351280899600854619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341088382,"filename":"image_12072025_19_22_53_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f67a086f7dee92088c9c0ebb03d6990.jpg","text":"TemporaryFile(/tmp/multipartBody7087585748807691169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341088382,"filename":"image_12072025_19_23_23_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72ecfe1178036ca107b37a371c5b1200.jpg","text":"TemporaryFile(/tmp/multipartBody8444235085023905052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341088382,"filename":"image_12072025_19_23_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c755ca0cabec41a82f274594ccb0b9ae.jpg","text":"TemporaryFile(/tmp/multipartBody4301540212217395151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341088382,"filename":"image_12072025_19_23_34_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912473","file1":"1371912471","file0":"1371912469","file3":"1371912474"},"map_files_photo_id_array":[{"photo_id":"1371912473","filename":"file2"},{"photo_id":"1371912471","filename":"file1"},{"photo_id":"1371912469","filename":"file0"},{"photo_id":"1371912474","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912474":["hashtag1","hashtag2"]},{"1371912471":["hashtag1","hashtag2"]},{"1371912473":["hashtag1","hashtag2"]},{"1371912469":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912474, 1371912471, 1371912473, 1371912469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.907077074050903 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:24:16.862980
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_44_10605.jpg', 2), ('/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_34_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_24_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_13_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/19/23/image_12072025_19_24_04_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/19/23/image_12072025_19_23_54_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_44_10605.jpg', '/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_34_9601.jpg', '/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_24_10626.jpg', '/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_13_9614.jpg', '/home/nano/Desktop/images/12072025/19/23/image_12072025_19_24_04_9627.jpg', '/home/nano/Desktop/images/12072025/19/23/image_12072025_19_23_54_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_44_10605.jpg
/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_34_9601.jpg
/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_24_10626.jpg
/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_13_9614.jpg
/home/nano/Desktop/images/12072025/19/23/image_12072025_19_24_04_9627.jpg
/home/nano/Desktop/images/12072025/19/23/image_12072025_19_23_54_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912492","1371912495","1371912489","1371912497","1371912485","1371912482"],"photo_ids_order":["1371912482","1371912485","1371912489","1371912492","1371912495","1371912497"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/535b38d72fd427d9ccddb5c35d980ae8.jpg","text":"TemporaryFile(/tmp/multipartBody3042981184407064056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341119339,"filename":"image_12072025_19_24_13_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10f6d7c2a406d31d0e9fb62619a3205c.jpg","text":"TemporaryFile(/tmp/multipartBody8590080115167575343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341119339,"filename":"image_12072025_19_24_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a983179b235a3dda006c3d137b429c46.jpg","text":"TemporaryFile(/tmp/multipartBody5643484124381583560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341119339,"filename":"image_12072025_19_24_24_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf14188472f89aa39e472174d2a1f5b4.jpg","text":"TemporaryFile(/tmp/multipartBody4678182726032503880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341119339,"filename":"image_12072025_19_23_54_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07458e881ab40441111dda689773897a.jpg","text":"TemporaryFile(/tmp/multipartBody572430462481663293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341119339,"filename":"image_12072025_19_24_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb1259fd450ae57286e13549ac06882a.jpg","text":"TemporaryFile(/tmp/multipartBody3090986076709031521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341119339,"filename":"image_12072025_19_24_44_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912489","file1":"1371912485","file0":"1371912482","file4":"1371912495","file5":"1371912497","file3":"1371912492"},"map_files_photo_id_array":[{"photo_id":"1371912497","filename":"file5"},{"photo_id":"1371912489","filename":"file2"},{"photo_id":"1371912495","filename":"file4"},{"photo_id":"1371912485","filename":"file1"},{"photo_id":"1371912482","filename":"file0"},{"photo_id":"1371912492","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912492":["hashtag1","hashtag2"]},{"1371912495":["hashtag1","hashtag2"]},{"1371912489":["hashtag1","hashtag2"]},{"1371912497":["hashtag1","hashtag2"]},{"1371912485":["hashtag1","hashtag2"]},{"1371912482":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912492, 1371912495, 1371912489, 1371912497, 1371912485, 1371912482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3294677734375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:25:02.711991
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/38/image_10072025_16_39_04_9678.jpg', 2), ('/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_54_10679.jpg', 2), ('/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_43_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_34_9640.jpg', 2), ('/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_24_10706.jpg', 2), ('/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_13_9674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/38/image_10072025_16_39_04_9678.jpg', '/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_54_10679.jpg', '/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_43_9620.jpg', '/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_34_9640.jpg', '/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_24_10706.jpg', '/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_13_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/38/image_10072025_16_39_04_9678.jpg
/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_54_10679.jpg
/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_43_9620.jpg
/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_34_9640.jpg
/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_24_10706.jpg
/home/nano/Desktop/images/10072025/16/38/image_10072025_16_38_13_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912502","1371912505","1371912501","1371912504","1371912503","1371912508"],"photo_ids_order":["1371912501","1371912502","1371912503","1371912504","1371912505","1371912508"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b9d5aa92e15b06fac214ba7b2010088.jpg","text":"TemporaryFile(/tmp/multipartBody8806827709351712882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341166039,"filename":"image_10072025_16_38_54_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4f798f2e993467d5a892addae472ccc.jpg","text":"TemporaryFile(/tmp/multipartBody217624592764853768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341166039,"filename":"image_10072025_16_38_24_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26b77a4297f21dea2ffdcd63cb10802a.jpg","text":"TemporaryFile(/tmp/multipartBody5948271328237452349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341166039,"filename":"image_10072025_16_39_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8e7a144f4cb56b5ff697b289ff8cc5c.jpg","text":"TemporaryFile(/tmp/multipartBody1972162871202156980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341166039,"filename":"image_10072025_16_38_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/349a1686a6a3d0e86dc9fc8a920088b2.jpg","text":"TemporaryFile(/tmp/multipartBody429046170952720507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341166039,"filename":"image_10072025_16_38_43_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42ee7b0f7a505243ae606b4c63229a3d.jpg","text":"TemporaryFile(/tmp/multipartBody4663050415011155034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341166039,"filename":"image_10072025_16_38_13_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912503","file1":"1371912502","file0":"1371912501","file4":"1371912505","file5":"1371912508","file3":"1371912504"},"map_files_photo_id_array":[{"photo_id":"1371912508","filename":"file5"},{"photo_id":"1371912503","filename":"file2"},{"photo_id":"1371912505","filename":"file4"},{"photo_id":"1371912502","filename":"file1"},{"photo_id":"1371912501","filename":"file0"},{"photo_id":"1371912504","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912502":["hashtag1","hashtag2"]},{"1371912505":["hashtag1","hashtag2"]},{"1371912501":["hashtag1","hashtag2"]},{"1371912504":["hashtag1","hashtag2"]},{"1371912503":["hashtag1","hashtag2"]},{"1371912508":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912502, 1371912505, 1371912501, 1371912504, 1371912503, 1371912508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86613202095032 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:25:47.007826
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_44_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_34_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_24_9595.jpg', 2), ('/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_14_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/19/24/image_12072025_19_25_03_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_54_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_44_9615.jpg', '/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_34_10611.jpg', '/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_24_9595.jpg', '/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_14_10630.jpg', '/home/nano/Desktop/images/12072025/19/24/image_12072025_19_25_03_9618.jpg', '/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_54_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_44_9615.jpg
/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_34_10611.jpg
/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_24_9595.jpg
/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_14_10630.jpg
/home/nano/Desktop/images/12072025/19/24/image_12072025_19_25_03_9618.jpg
/home/nano/Desktop/images/12072025/19/24/image_12072025_19_24_54_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912528","1371912522","1371912524","1371912518","1371912527","1371912520"],"photo_ids_order":["1371912518","1371912520","1371912522","1371912524","1371912527","1371912528"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61931e025da17106b5415925a9ebf305.jpg","text":"TemporaryFile(/tmp/multipartBody6177854080251724877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341208688,"filename":"image_12072025_19_24_54_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/868bf519943a11bb1f5d1aa60dd9f1cb.jpg","text":"TemporaryFile(/tmp/multipartBody4069427776478874127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341208688,"filename":"image_12072025_19_25_24_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d23ed0d5e185575555ca4173c961c41f.jpg","text":"TemporaryFile(/tmp/multipartBody8137303563421750082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341208688,"filename":"image_12072025_19_25_14_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4117d66d2ed3f06a96ba4dfa3ab998a.jpg","text":"TemporaryFile(/tmp/multipartBody2968855763690702918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341208688,"filename":"image_12072025_19_25_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d304787e66463cd751fa5eebbe049ec8.jpg","text":"TemporaryFile(/tmp/multipartBody350863750025483641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341208688,"filename":"image_12072025_19_25_03_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46ead2ceea37261b3b9afd123395cb7b.jpg","text":"TemporaryFile(/tmp/multipartBody7571619497530935719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341208688,"filename":"image_12072025_19_25_34_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912522","file1":"1371912520","file0":"1371912518","file4":"1371912527","file5":"1371912528","file3":"1371912524"},"map_files_photo_id_array":[{"photo_id":"1371912528","filename":"file5"},{"photo_id":"1371912522","filename":"file2"},{"photo_id":"1371912527","filename":"file4"},{"photo_id":"1371912520","filename":"file1"},{"photo_id":"1371912518","filename":"file0"},{"photo_id":"1371912524","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912528":["hashtag1","hashtag2"]},{"1371912522":["hashtag1","hashtag2"]},{"1371912524":["hashtag1","hashtag2"]},{"1371912518":["hashtag1","hashtag2"]},{"1371912527":["hashtag1","hashtag2"]},{"1371912520":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912528, 1371912522, 1371912524, 1371912518, 1371912527, 1371912520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.191789388656616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:26:32.072611
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_34_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_23_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/19/25/image_12072025_19_26_04_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_54_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_44_9616.jpg', '/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_34_10610.jpg', '/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_23_9596.jpg', '/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_14_9626.jpg', '/home/nano/Desktop/images/12072025/19/25/image_12072025_19_26_04_10629.jpg', '/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_54_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_44_9616.jpg
/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_34_10610.jpg
/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_23_9596.jpg
/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_14_9626.jpg
/home/nano/Desktop/images/12072025/19/25/image_12072025_19_26_04_10629.jpg
/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_54_9613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1587553024291992 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:26:47.086256
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_34_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_23_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/19/25/image_12072025_19_26_04_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_54_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_44_9616.jpg', '/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_34_10610.jpg', '/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_23_9596.jpg', '/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_14_9626.jpg', '/home/nano/Desktop/images/12072025/19/25/image_12072025_19_26_04_10629.jpg', '/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_54_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_44_9616.jpg
/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_34_10610.jpg
/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_23_9596.jpg
/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_14_9626.jpg
/home/nano/Desktop/images/12072025/19/25/image_12072025_19_26_04_10629.jpg
/home/nano/Desktop/images/12072025/19/25/image_12072025_19_25_54_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912538","1371912543","1371912540","1371912536","1371912539","1371912541"],"photo_ids_order":["1371912536","1371912538","1371912539","1371912540","1371912541","1371912543"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47971b987c110254f644450100bebf7f.jpg","text":"TemporaryFile(/tmp/multipartBody6281036700951813004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341269196,"filename":"image_12072025_19_26_34_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8d318bf79b79070c72c00c1a582fe27.jpg","text":"TemporaryFile(/tmp/multipartBody8961239110513879684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341269196,"filename":"image_12072025_19_25_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f58ac6d75a1cfd3e23109f4bc12542bd.jpg","text":"TemporaryFile(/tmp/multipartBody4515147974321723733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341269196,"filename":"image_12072025_19_26_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b22fdb7d01d178e9cd0bf1ad2ba3a91.jpg","text":"TemporaryFile(/tmp/multipartBody2771097076543903360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341269196,"filename":"image_12072025_19_26_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1ca20be0ea358a83cdea7b8d3967745.jpg","text":"TemporaryFile(/tmp/multipartBody8761224145245248646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341269196,"filename":"image_12072025_19_26_23_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a73f69bfda3aa82395f09a3763a277c9.jpg","text":"TemporaryFile(/tmp/multipartBody4699760731162601725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341269196,"filename":"image_12072025_19_26_04_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912539","file1":"1371912538","file0":"1371912536","file4":"1371912541","file5":"1371912543","file3":"1371912540"},"map_files_photo_id_array":[{"photo_id":"1371912543","filename":"file5"},{"photo_id":"1371912539","filename":"file2"},{"photo_id":"1371912541","filename":"file4"},{"photo_id":"1371912538","filename":"file1"},{"photo_id":"1371912536","filename":"file0"},{"photo_id":"1371912540","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912538":["hashtag1","hashtag2"]},{"1371912543":["hashtag1","hashtag2"]},{"1371912540":["hashtag1","hashtag2"]},{"1371912536":["hashtag1","hashtag2"]},{"1371912539":["hashtag1","hashtag2"]},{"1371912541":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912538, 1371912543, 1371912540, 1371912536, 1371912539, 1371912541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.479288578033447 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:27:32.193906
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/26/image_12072025_19_27_04_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_54_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/26/image_12072025_19_27_04_9619.jpg', '/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_54_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/26/image_12072025_19_27_04_9619.jpg
/home/nano/Desktop/images/12072025/19/26/image_12072025_19_26_54_10627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912551","1371912550"],"photo_ids_order":["1371912550","1371912551"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c571d05ddbb39f6ab1daf638a981a4be.jpg","text":"TemporaryFile(/tmp/multipartBody5479478891063468547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341313226,"filename":"image_12072025_19_26_54_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e4cd597bef98a8870222a2926a3c9b6.jpg","text":"TemporaryFile(/tmp/multipartBody8021801564501798513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341313226,"filename":"image_12072025_19_27_04_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371912551","file0":"1371912550"},"map_files_photo_id_array":[{"photo_id":"1371912551","filename":"file1"},{"photo_id":"1371912550","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912551":["hashtag1","hashtag2"]},{"1371912550":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912551, 1371912550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.255926609039307 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:28:02.878910
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/37/image_10072025_16_38_04_9739.jpg', 2), ('/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_54_10671.jpg', 2), ('/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_43_9671.jpg', 2), ('/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_34_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_24_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_13_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/37/image_10072025_16_38_04_9739.jpg', '/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_54_10671.jpg', '/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_43_9671.jpg', '/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_34_9630.jpg', '/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_24_10632.jpg', '/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_13_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/37/image_10072025_16_38_04_9739.jpg
/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_54_10671.jpg
/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_43_9671.jpg
/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_34_9630.jpg
/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_24_10632.jpg
/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_13_9649.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.5008606910705566 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:28:17.277999
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/28/image_12072025_19_28_33_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/19/28/image_12072025_19_28_24_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/19/28/image_12072025_19_28_14_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/19/27/image_12072025_19_28_04_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/19/27/image_12072025_19_27_24_10612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/28/image_12072025_19_28_33_9604.jpg', '/home/nano/Desktop/images/12072025/19/28/image_12072025_19_28_24_9607.jpg', '/home/nano/Desktop/images/12072025/19/28/image_12072025_19_28_14_10626.jpg', '/home/nano/Desktop/images/12072025/19/27/image_12072025_19_28_04_9611.jpg', '/home/nano/Desktop/images/12072025/19/27/image_12072025_19_27_24_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/28/image_12072025_19_28_33_9604.jpg
/home/nano/Desktop/images/12072025/19/28/image_12072025_19_28_24_9607.jpg
/home/nano/Desktop/images/12072025/19/28/image_12072025_19_28_14_10626.jpg
/home/nano/Desktop/images/12072025/19/27/image_12072025_19_28_04_9611.jpg
/home/nano/Desktop/images/12072025/19/27/image_12072025_19_27_24_10612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912567","1371912570","1371912569","1371912565","1371912568"],"photo_ids_order":["1371912565","1371912567","1371912568","1371912569","1371912570"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/968d3075b0d9a7f485bd372baba9d238.jpg","text":"TemporaryFile(/tmp/multipartBody2778207074509290439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341358324,"filename":"image_12072025_19_28_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06a2f2b60a250ad20ce5a481944f6a72.jpg","text":"TemporaryFile(/tmp/multipartBody5788783160666970760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341358324,"filename":"image_12072025_19_27_24_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5eb8f0f787a5fc6621e07b7eae50cb50.jpg","text":"TemporaryFile(/tmp/multipartBody2024531437346337854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341358324,"filename":"image_12072025_19_28_04_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99b3cfddc5befc595ccff6f42c34dc33.jpg","text":"TemporaryFile(/tmp/multipartBody4923375738329538304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341358324,"filename":"image_12072025_19_28_33_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d961b2c41085620aa585077b800eb5aa.jpg","text":"TemporaryFile(/tmp/multipartBody6172863353136531608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341358324,"filename":"image_12072025_19_28_14_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912568","file1":"1371912567","file0":"1371912565","file4":"1371912570","file3":"1371912569"},"map_files_photo_id_array":[{"photo_id":"1371912568","filename":"file2"},{"photo_id":"1371912570","filename":"file4"},{"photo_id":"1371912567","filename":"file1"},{"photo_id":"1371912565","filename":"file0"},{"photo_id":"1371912569","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912567":["hashtag1","hashtag2"]},{"1371912570":["hashtag1","hashtag2"]},{"1371912569":["hashtag1","hashtag2"]},{"1371912565":["hashtag1","hashtag2"]},{"1371912568":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912567, 1371912570, 1371912569, 1371912565, 1371912568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.804203271865845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:28:47.303565
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/37/image_10072025_16_38_04_9739.jpg', 2), ('/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_54_10671.jpg', 2), ('/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_43_9671.jpg', 2), ('/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_34_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_24_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_13_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/37/image_10072025_16_38_04_9739.jpg', '/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_54_10671.jpg', '/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_43_9671.jpg', '/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_34_9630.jpg', '/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_24_10632.jpg', '/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_13_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/37/image_10072025_16_38_04_9739.jpg
/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_54_10671.jpg
/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_43_9671.jpg
/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_34_9630.jpg
/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_24_10632.jpg
/home/nano/Desktop/images/10072025/16/37/image_10072025_16_37_13_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912588","1371912582","1371912584","1371912578","1371912580","1371912586"],"photo_ids_order":["1371912578","1371912580","1371912582","1371912584","1371912586","1371912588"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c316c67028184a44f6660d0baa6a3df0.jpg","text":"TemporaryFile(/tmp/multipartBody4654520872587891189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341390682,"filename":"image_10072025_16_37_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59da6030a09263d5b940b76c86f52adc.jpg","text":"TemporaryFile(/tmp/multipartBody1027162807481478347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341390682,"filename":"image_10072025_16_37_43_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89eb5681d8a9ec6d4f9e406340a6687d.jpg","text":"TemporaryFile(/tmp/multipartBody7260320906070158062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341390682,"filename":"image_10072025_16_37_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87f71f1db63ff73b63b8cbc5dc5644e4.jpg","text":"TemporaryFile(/tmp/multipartBody6183158830312695503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341390682,"filename":"image_10072025_16_38_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e8ff1e659085dc60262632c09c75fb8.jpg","text":"TemporaryFile(/tmp/multipartBody617967134306068430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341390682,"filename":"image_10072025_16_37_54_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e17e270f72d5894982f574344a34a8d.jpg","text":"TemporaryFile(/tmp/multipartBody6463187540399558560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341390682,"filename":"image_10072025_16_37_24_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912582","file1":"1371912580","file0":"1371912578","file4":"1371912586","file5":"1371912588","file3":"1371912584"},"map_files_photo_id_array":[{"photo_id":"1371912588","filename":"file5"},{"photo_id":"1371912582","filename":"file2"},{"photo_id":"1371912586","filename":"file4"},{"photo_id":"1371912580","filename":"file1"},{"photo_id":"1371912578","filename":"file0"},{"photo_id":"1371912584","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912588":["hashtag1","hashtag2"]},{"1371912582":["hashtag1","hashtag2"]},{"1371912584":["hashtag1","hashtag2"]},{"1371912578":["hashtag1","hashtag2"]},{"1371912580":["hashtag1","hashtag2"]},{"1371912586":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912588, 1371912582, 1371912584, 1371912578, 1371912580, 1371912586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24090528488159 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:29:32.512087
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/29/image_12072025_19_29_23_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/19/29/image_12072025_19_29_14_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/19/28/image_12072025_19_29_04_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/19/28/image_12072025_19_28_44_10610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/29/image_12072025_19_29_23_9608.jpg', '/home/nano/Desktop/images/12072025/19/29/image_12072025_19_29_14_9616.jpg', '/home/nano/Desktop/images/12072025/19/28/image_12072025_19_29_04_10639.jpg', '/home/nano/Desktop/images/12072025/19/28/image_12072025_19_28_44_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/29/image_12072025_19_29_23_9608.jpg
/home/nano/Desktop/images/12072025/19/29/image_12072025_19_29_14_9616.jpg
/home/nano/Desktop/images/12072025/19/28/image_12072025_19_29_04_10639.jpg
/home/nano/Desktop/images/12072025/19/28/image_12072025_19_28_44_10610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912591","1371912595","1371912592","1371912607"],"photo_ids_order":["1371912591","1371912592","1371912595","1371912607"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/908f7efdbfd27947c68796328494a947.jpg","text":"TemporaryFile(/tmp/multipartBody1895951371227532565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341433921,"filename":"image_12072025_19_29_23_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad4cecb812edfbdb3c27f911c90eda99.jpg","text":"TemporaryFile(/tmp/multipartBody548009401513117342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341433921,"filename":"image_12072025_19_29_04_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/edae75ef13d011dde232e6eb33ea5482.jpg","text":"TemporaryFile(/tmp/multipartBody6988967228314740106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341433921,"filename":"image_12072025_19_29_14_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5bc595a78277cf5e6a8c164f7d9c71ae.jpg","text":"TemporaryFile(/tmp/multipartBody1481626234593749238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341433921,"filename":"image_12072025_19_28_44_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912595","file1":"1371912592","file0":"1371912591","file3":"1371912607"},"map_files_photo_id_array":[{"photo_id":"1371912595","filename":"file2"},{"photo_id":"1371912592","filename":"file1"},{"photo_id":"1371912591","filename":"file0"},{"photo_id":"1371912607","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912591":["hashtag1","hashtag2"]},{"1371912595":["hashtag1","hashtag2"]},{"1371912592":["hashtag1","hashtag2"]},{"1371912607":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912591, 1371912595, 1371912592, 1371912607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.274961471557617 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:30:02.917528
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/36/image_10072025_16_37_04_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_54_10630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_43_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_34_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_23_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_14_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/36/image_10072025_16_37_04_9636.jpg', '/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_54_10630.jpg', '/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_43_9626.jpg', '/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_34_10641.jpg', '/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_23_9626.jpg', '/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_14_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/36/image_10072025_16_37_04_9636.jpg
/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_54_10630.jpg
/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_43_9626.jpg
/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_34_10641.jpg
/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_23_9626.jpg
/home/nano/Desktop/images/10072025/16/36/image_10072025_16_36_14_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912622","1371912612","1371912620","1371912614","1371912617","1371912619"],"photo_ids_order":["1371912612","1371912614","1371912617","1371912619","1371912620","1371912622"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/793d4ea89565ec1f18a28e0ff00678de.jpg","text":"TemporaryFile(/tmp/multipartBody9097887565137442415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341465864,"filename":"image_10072025_16_36_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e75ce31a1fb268f573de52b91b0d0d01.jpg","text":"TemporaryFile(/tmp/multipartBody8934795879713066738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341465864,"filename":"image_10072025_16_37_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/038e578310b30b8dde800a8b5479c958.jpg","text":"TemporaryFile(/tmp/multipartBody1631676231133761579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341465864,"filename":"image_10072025_16_36_23_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/718e5d8567d34b7fb49026281070735b.jpg","text":"TemporaryFile(/tmp/multipartBody2346952538785881150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341465864,"filename":"image_10072025_16_36_54_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8b2c34ed2dece7f958c3b2dd7d00ee2.jpg","text":"TemporaryFile(/tmp/multipartBody3733417159402534546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341465864,"filename":"image_10072025_16_36_43_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53ba8d57993e0a6e70d8bf58e1a0e778.jpg","text":"TemporaryFile(/tmp/multipartBody3894906976889518779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341465864,"filename":"image_10072025_16_36_34_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912617","file1":"1371912614","file0":"1371912612","file4":"1371912620","file5":"1371912622","file3":"1371912619"},"map_files_photo_id_array":[{"photo_id":"1371912622","filename":"file5"},{"photo_id":"1371912617","filename":"file2"},{"photo_id":"1371912620","filename":"file4"},{"photo_id":"1371912614","filename":"file1"},{"photo_id":"1371912612","filename":"file0"},{"photo_id":"1371912619","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912622":["hashtag1","hashtag2"]},{"1371912612":["hashtag1","hashtag2"]},{"1371912620":["hashtag1","hashtag2"]},{"1371912614":["hashtag1","hashtag2"]},{"1371912617":["hashtag1","hashtag2"]},{"1371912619":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912622, 1371912612, 1371912620, 1371912614, 1371912617, 1371912619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91824269294739 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:30:47.478121
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/30/image_12072025_19_30_34_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/19/30/image_12072025_19_30_24_10613.jpg', 2), ('/home/nano/Desktop/images/12072025/19/30/image_12072025_19_30_13_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/19/29/image_12072025_19_29_54_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/30/image_12072025_19_30_34_9616.jpg', '/home/nano/Desktop/images/12072025/19/30/image_12072025_19_30_24_10613.jpg', '/home/nano/Desktop/images/12072025/19/30/image_12072025_19_30_13_9614.jpg', '/home/nano/Desktop/images/12072025/19/29/image_12072025_19_29_54_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/30/image_12072025_19_30_34_9616.jpg
/home/nano/Desktop/images/12072025/19/30/image_12072025_19_30_24_10613.jpg
/home/nano/Desktop/images/12072025/19/30/image_12072025_19_30_13_9614.jpg
/home/nano/Desktop/images/12072025/19/29/image_12072025_19_29_54_10618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912630","1371912624","1371912627","1371912631"],"photo_ids_order":["1371912624","1371912627","1371912630","1371912631"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80a0b6835c2f5d83d7224f1358ceb427.jpg","text":"TemporaryFile(/tmp/multipartBody5818380174617376809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341508560,"filename":"image_12072025_19_30_13_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc95c08bbf6c66707054be78b30aea3b.jpg","text":"TemporaryFile(/tmp/multipartBody3425084291817850320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341508560,"filename":"image_12072025_19_30_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac1e8a0937d29f7fd356b8f3c2842864.jpg","text":"TemporaryFile(/tmp/multipartBody3004791662920666440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341508560,"filename":"image_12072025_19_30_24_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/454ead95b4c8d74451b9f780fee37b18.jpg","text":"TemporaryFile(/tmp/multipartBody6248798144621183510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341508560,"filename":"image_12072025_19_29_54_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912630","file1":"1371912627","file0":"1371912624","file3":"1371912631"},"map_files_photo_id_array":[{"photo_id":"1371912630","filename":"file2"},{"photo_id":"1371912627","filename":"file1"},{"photo_id":"1371912624","filename":"file0"},{"photo_id":"1371912631","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912630":["hashtag1","hashtag2"]},{"1371912624":["hashtag1","hashtag2"]},{"1371912627":["hashtag1","hashtag2"]},{"1371912631":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912630, 1371912624, 1371912627, 1371912631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.607459545135498 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:31:17.574659
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/31/image_12072025_19_31_24_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/19/30/image_12072025_19_31_04_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/19/30/image_12072025_19_30_43_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/31/image_12072025_19_31_24_9611.jpg', '/home/nano/Desktop/images/12072025/19/30/image_12072025_19_31_04_9618.jpg', '/home/nano/Desktop/images/12072025/19/30/image_12072025_19_30_43_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/31/image_12072025_19_31_24_9611.jpg
/home/nano/Desktop/images/12072025/19/30/image_12072025_19_31_04_9618.jpg
/home/nano/Desktop/images/12072025/19/30/image_12072025_19_30_43_9603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912659","1371912656","1371912658"],"photo_ids_order":["1371912656","1371912658","1371912659"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a2984cd74be786e20e4d5d15fa955f0.jpg","text":"TemporaryFile(/tmp/multipartBody3603376402097780595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341538955,"filename":"image_12072025_19_30_43_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e541d49ea62b0f2b142e9b7dce30dafa.jpg","text":"TemporaryFile(/tmp/multipartBody2977823806366994014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341538955,"filename":"image_12072025_19_31_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf9a7bdf4cfb33d9ec80f0042c114220.jpg","text":"TemporaryFile(/tmp/multipartBody3402502827802559871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341538955,"filename":"image_12072025_19_31_04_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912659","file1":"1371912658","file0":"1371912656"},"map_files_photo_id_array":[{"photo_id":"1371912659","filename":"file2"},{"photo_id":"1371912658","filename":"file1"},{"photo_id":"1371912656","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912659":["hashtag1","hashtag2"]},{"1371912656":["hashtag1","hashtag2"]},{"1371912658":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912659, 1371912656, 1371912658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.93706703186035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:31:47.581076
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/35/image_10072025_16_36_04_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_53_9621.jpg', 2), ('/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_44_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_34_10628.jpg', 2), ('/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_23_9618.jpg', 2), ('/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_14_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/35/image_10072025_16_36_04_10640.jpg', '/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_53_9621.jpg', '/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_44_9623.jpg', '/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_34_10628.jpg', '/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_23_9618.jpg', '/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_14_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/35/image_10072025_16_36_04_10640.jpg
/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_53_9621.jpg
/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_44_9623.jpg
/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_34_10628.jpg
/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_23_9618.jpg
/home/nano/Desktop/images/10072025/16/35/image_10072025_16_35_14_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912666","1371912669","1371912663","1371912665","1371912668","1371912662"],"photo_ids_order":["1371912662","1371912663","1371912665","1371912666","1371912668","1371912669"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af95680f781b28eb95bef5bf948c3181.jpg","text":"TemporaryFile(/tmp/multipartBody8895142804856446434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341571153,"filename":"image_10072025_16_35_34_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f89a1c645051d237f1389a9bfee03c04.jpg","text":"TemporaryFile(/tmp/multipartBody759333857435432501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341571153,"filename":"image_10072025_16_35_14_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e1419ecd353c5fb7bd6ceba0a7fa610.jpg","text":"TemporaryFile(/tmp/multipartBody8616866592099717038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341571153,"filename":"image_10072025_16_35_53_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f73f461eacf90262bb1d46f80c3e5c34.jpg","text":"TemporaryFile(/tmp/multipartBody3472093777704096474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341571153,"filename":"image_10072025_16_35_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06c2a74e5b5bb23c0911832b42b88f31.jpg","text":"TemporaryFile(/tmp/multipartBody1860488454107064590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341571153,"filename":"image_10072025_16_35_23_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1503982b295c153c724efeabc266a4f.jpg","text":"TemporaryFile(/tmp/multipartBody2237953335721309870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341571153,"filename":"image_10072025_16_36_04_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912665","file1":"1371912663","file0":"1371912662","file4":"1371912668","file5":"1371912669","file3":"1371912666"},"map_files_photo_id_array":[{"photo_id":"1371912669","filename":"file5"},{"photo_id":"1371912665","filename":"file2"},{"photo_id":"1371912668","filename":"file4"},{"photo_id":"1371912663","filename":"file1"},{"photo_id":"1371912662","filename":"file0"},{"photo_id":"1371912666","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912666":["hashtag1","hashtag2"]},{"1371912669":["hashtag1","hashtag2"]},{"1371912663":["hashtag1","hashtag2"]},{"1371912665":["hashtag1","hashtag2"]},{"1371912668":["hashtag1","hashtag2"]},{"1371912662":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912666, 1371912669, 1371912663, 1371912665, 1371912668, 1371912662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.797714948654175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:32:32.744941
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/32/image_12072025_19_32_34_10608.jpg', 2), ('/home/nano/Desktop/images/12072025/19/32/image_12072025_19_32_14_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/19/31/image_12072025_19_32_04_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/19/31/image_12072025_19_31_44_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/32/image_12072025_19_32_34_10608.jpg', '/home/nano/Desktop/images/12072025/19/32/image_12072025_19_32_14_9623.jpg', '/home/nano/Desktop/images/12072025/19/31/image_12072025_19_32_04_10612.jpg', '/home/nano/Desktop/images/12072025/19/31/image_12072025_19_31_44_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/32/image_12072025_19_32_34_10608.jpg
/home/nano/Desktop/images/12072025/19/32/image_12072025_19_32_14_9623.jpg
/home/nano/Desktop/images/12072025/19/31/image_12072025_19_32_04_10612.jpg
/home/nano/Desktop/images/12072025/19/31/image_12072025_19_31_44_10623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912683","1371912677","1371912680","1371912674"],"photo_ids_order":["1371912674","1371912677","1371912680","1371912683"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e88f11acf1516a3f747fcc4881ca86ad.jpg","text":"TemporaryFile(/tmp/multipartBody5413966267868644398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341614347,"filename":"image_12072025_19_31_44_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/569389082464f4c611bbaf0f32d5bf1f.jpg","text":"TemporaryFile(/tmp/multipartBody6895289677942861349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341614347,"filename":"image_12072025_19_32_14_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a11848f88ac3d975e55f34c986afc66f.jpg","text":"TemporaryFile(/tmp/multipartBody7981341973415279521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341614347,"filename":"image_12072025_19_32_04_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/715895499ccb94601fb75a80db1d50d8.jpg","text":"TemporaryFile(/tmp/multipartBody4875768323885570056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341614347,"filename":"image_12072025_19_32_34_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912680","file1":"1371912677","file0":"1371912674","file3":"1371912683"},"map_files_photo_id_array":[{"photo_id":"1371912680","filename":"file2"},{"photo_id":"1371912677","filename":"file1"},{"photo_id":"1371912674","filename":"file0"},{"photo_id":"1371912683","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912683":["hashtag1","hashtag2"]},{"1371912677":["hashtag1","hashtag2"]},{"1371912680":["hashtag1","hashtag2"]},{"1371912674":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912683, 1371912677, 1371912680, 1371912674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.842641592025757 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:33:02.568383
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_14_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_14_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_14_9639.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912687"],"photo_id":"1371912687","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d829ee29e7e99f8371e2b78a46b41de.jpg","text":"TemporaryFile(/tmp/multipartBody7189271698551877669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341643272,"filename":"image_12072025_19_33_14_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371912687"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371912687"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.159037590026855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:33:16.819148
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_34_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_24_10606.jpg', 2), ('/home/nano/Desktop/images/12072025/19/32/image_12072025_19_33_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/19/32/image_12072025_19_32_44_9599.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_34_9604.jpg', '/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_24_10606.jpg', '/home/nano/Desktop/images/12072025/19/32/image_12072025_19_33_04_9626.jpg', '/home/nano/Desktop/images/12072025/19/32/image_12072025_19_32_44_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_34_9604.jpg
/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_24_10606.jpg
/home/nano/Desktop/images/12072025/19/32/image_12072025_19_33_04_9626.jpg
/home/nano/Desktop/images/12072025/19/32/image_12072025_19_32_44_9599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912690","1371912692","1371912689","1371912688"],"photo_ids_order":["1371912688","1371912689","1371912690","1371912692"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/064ba040370688cb6a07e25baff0e512.jpg","text":"TemporaryFile(/tmp/multipartBody1513512961316431924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341658239,"filename":"image_12072025_19_33_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e21e85ed138e40829b6576a0e51500fe.jpg","text":"TemporaryFile(/tmp/multipartBody2103931441988816680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341658239,"filename":"image_12072025_19_32_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5035c99e99b33167132575956b9f4933.jpg","text":"TemporaryFile(/tmp/multipartBody6177686136848224271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341658239,"filename":"image_12072025_19_33_24_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4413ee85230c20cc0e0e77d72a35f1c7.jpg","text":"TemporaryFile(/tmp/multipartBody5980084519825907361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341658239,"filename":"image_12072025_19_33_34_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912690","file1":"1371912689","file0":"1371912688","file3":"1371912692"},"map_files_photo_id_array":[{"photo_id":"1371912690","filename":"file2"},{"photo_id":"1371912689","filename":"file1"},{"photo_id":"1371912688","filename":"file0"},{"photo_id":"1371912692","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912690":["hashtag1","hashtag2"]},{"1371912692":["hashtag1","hashtag2"]},{"1371912689":["hashtag1","hashtag2"]},{"1371912688":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912690, 1371912692, 1371912689, 1371912688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.32144522666931 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:33:46.790242
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/34/image_10072025_16_35_03_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_53_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_44_10618.jpg', 2), ('/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_33_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_24_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_14_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/34/image_10072025_16_35_03_9647.jpg', '/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_53_9629.jpg', '/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_44_10618.jpg', '/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_33_9623.jpg', '/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_24_9613.jpg', '/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_14_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/34/image_10072025_16_35_03_9647.jpg
/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_53_9629.jpg
/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_44_10618.jpg
/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_33_9623.jpg
/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_24_9613.jpg
/home/nano/Desktop/images/10072025/16/34/image_10072025_16_34_14_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912700","1371912703","1371912702","1371912705","1371912704","1371912706"],"photo_ids_order":["1371912700","1371912702","1371912703","1371912704","1371912705","1371912706"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77def9010077da3d99af6cdd185e4e41.jpg","text":"TemporaryFile(/tmp/multipartBody7471899397781306315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341690241,"filename":"image_10072025_16_35_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ffed750651137f45aca483be52e9a78.jpg","text":"TemporaryFile(/tmp/multipartBody4420374127784486922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341690241,"filename":"image_10072025_16_34_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a7137135d04bcbdb71373398cfb96c3.jpg","text":"TemporaryFile(/tmp/multipartBody2656857053974718808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341690241,"filename":"image_10072025_16_34_53_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/102662d2e916f7729daab19abf2fa793.jpg","text":"TemporaryFile(/tmp/multipartBody693027509808164937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341690241,"filename":"image_10072025_16_34_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28aee633426e1e214e626b0130ca6b20.jpg","text":"TemporaryFile(/tmp/multipartBody5046791117292837565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341690241,"filename":"image_10072025_16_34_33_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4333f6764ac6e0f7f7df6ba763da5cf6.jpg","text":"TemporaryFile(/tmp/multipartBody951602761295250397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341690241,"filename":"image_10072025_16_34_14_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912703","file1":"1371912702","file0":"1371912700","file4":"1371912705","file5":"1371912706","file3":"1371912704"},"map_files_photo_id_array":[{"photo_id":"1371912706","filename":"file5"},{"photo_id":"1371912703","filename":"file2"},{"photo_id":"1371912705","filename":"file4"},{"photo_id":"1371912702","filename":"file1"},{"photo_id":"1371912700","filename":"file0"},{"photo_id":"1371912704","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912700":["hashtag1","hashtag2"]},{"1371912703":["hashtag1","hashtag2"]},{"1371912702":["hashtag1","hashtag2"]},{"1371912705":["hashtag1","hashtag2"]},{"1371912704":["hashtag1","hashtag2"]},{"1371912706":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912700, 1371912703, 1371912702, 1371912705, 1371912704, 1371912706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28935098648071 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:34:31.888159
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_44_10609.jpg', 2), ('/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_33_9595.jpg', 2), ('/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_14_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/19/33/image_12072025_19_34_04_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_54_10604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_44_10609.jpg', '/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_33_9595.jpg', '/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_24_9608.jpg', '/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_14_10636.jpg', '/home/nano/Desktop/images/12072025/19/33/image_12072025_19_34_04_9604.jpg', '/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_54_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_44_10609.jpg
/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_33_9595.jpg
/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_24_9608.jpg
/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_14_10636.jpg
/home/nano/Desktop/images/12072025/19/33/image_12072025_19_34_04_9604.jpg
/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_54_10604.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.757615566253662 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:34:46.885902
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_44_10609.jpg', 2), ('/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_33_9595.jpg', 2), ('/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_14_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/19/33/image_12072025_19_34_04_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_54_10604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_44_10609.jpg', '/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_33_9595.jpg', '/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_24_9608.jpg', '/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_14_10636.jpg', '/home/nano/Desktop/images/12072025/19/33/image_12072025_19_34_04_9604.jpg', '/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_54_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_44_10609.jpg
/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_33_9595.jpg
/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_24_9608.jpg
/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_14_10636.jpg
/home/nano/Desktop/images/12072025/19/33/image_12072025_19_34_04_9604.jpg
/home/nano/Desktop/images/12072025/19/33/image_12072025_19_33_54_10604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912753","1371912735","1371912726","1371912722","1371912725","1371912748"],"photo_ids_order":["1371912722","1371912725","1371912726","1371912735","1371912748","1371912753"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca6c2257e351a0da08ea78539415790d.jpg","text":"TemporaryFile(/tmp/multipartBody634254953358280914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341748157,"filename":"image_12072025_19_33_54_10604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8242beb56eab9a5a402928127eec88e.jpg","text":"TemporaryFile(/tmp/multipartBody4831927031577712039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341748157,"filename":"image_12072025_19_34_14_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75e5d3d96f26dd9e5dc54cadfe38d20d.jpg","text":"TemporaryFile(/tmp/multipartBody7075181800789372481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341748157,"filename":"image_12072025_19_34_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3092e426f8e3fe0a20c1b3ce22f6d2cf.jpg","text":"TemporaryFile(/tmp/multipartBody1630864620034925944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341748157,"filename":"image_12072025_19_34_44_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33261280070101f2cdfaa1b01dff18ff.jpg","text":"TemporaryFile(/tmp/multipartBody775240120797156849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341748157,"filename":"image_12072025_19_34_33_9595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/127b0daf0b8b6c73201d16fd96acc8e4.jpg","text":"TemporaryFile(/tmp/multipartBody4668313908757672035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341748157,"filename":"image_12072025_19_34_04_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912726","file1":"1371912725","file0":"1371912722","file4":"1371912748","file5":"1371912753","file3":"1371912735"},"map_files_photo_id_array":[{"photo_id":"1371912753","filename":"file5"},{"photo_id":"1371912726","filename":"file2"},{"photo_id":"1371912748","filename":"file4"},{"photo_id":"1371912725","filename":"file1"},{"photo_id":"1371912722","filename":"file0"},{"photo_id":"1371912735","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912753":["hashtag1","hashtag2"]},{"1371912735":["hashtag1","hashtag2"]},{"1371912726":["hashtag1","hashtag2"]},{"1371912722":["hashtag1","hashtag2"]},{"1371912725":["hashtag1","hashtag2"]},{"1371912748":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912753, 1371912735, 1371912726, 1371912722, 1371912725, 1371912748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.838470458984375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:35:32.010323
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_54_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_54_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/34/image_12072025_19_34_54_9625.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912789"],"photo_id":"1371912789","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/746f77c86ecc5742959a47d7a3ce877e.jpg","text":"TemporaryFile(/tmp/multipartBody1091354882424385321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341792769,"filename":"image_12072025_19_34_54_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371912789"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371912789"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.283623218536377 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:35:46.976394
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/33/image_10072025_16_34_03_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_54_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_44_10623.jpg', 2), ('/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_33_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_24_10629.jpg', 2), ('/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_13_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/33/image_10072025_16_34_03_9626.jpg', '/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_54_9629.jpg', '/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_44_10623.jpg', '/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_33_9625.jpg', '/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_24_10629.jpg', '/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_13_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/33/image_10072025_16_34_03_9626.jpg
/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_54_9629.jpg
/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_44_10623.jpg
/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_33_9625.jpg
/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_24_10629.jpg
/home/nano/Desktop/images/10072025/16/33/image_10072025_16_33_13_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912879","1371912846","1371912845","1371912842","1371912880","1371912853"],"photo_ids_order":["1371912842","1371912845","1371912846","1371912853","1371912879","1371912880"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab06c579d038aa4c96cf44812a20c5c8.jpg","text":"TemporaryFile(/tmp/multipartBody2538501962828336969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341810190,"filename":"image_10072025_16_33_24_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8cfd58e752bf36edfcb4d4aa4418405a.jpg","text":"TemporaryFile(/tmp/multipartBody614715190159713439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341810190,"filename":"image_10072025_16_33_44_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33b86ae61e3e3ec3ed5aa8a6e32d295a.jpg","text":"TemporaryFile(/tmp/multipartBody5261378463706394280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341810190,"filename":"image_10072025_16_33_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e21ba31380e3f204f27be82c34209ea0.jpg","text":"TemporaryFile(/tmp/multipartBody8486941663918438917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341810190,"filename":"image_10072025_16_34_03_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b016e5478ac7cd95a67251d096b79353.jpg","text":"TemporaryFile(/tmp/multipartBody3648649411635603334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341810190,"filename":"image_10072025_16_33_13_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b9895805935b2328fec03db4400d574.jpg","text":"TemporaryFile(/tmp/multipartBody8223746324044378243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341810190,"filename":"image_10072025_16_33_33_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912846","file1":"1371912845","file0":"1371912842","file4":"1371912879","file5":"1371912880","file3":"1371912853"},"map_files_photo_id_array":[{"photo_id":"1371912880","filename":"file5"},{"photo_id":"1371912846","filename":"file2"},{"photo_id":"1371912879","filename":"file4"},{"photo_id":"1371912845","filename":"file1"},{"photo_id":"1371912842","filename":"file0"},{"photo_id":"1371912853","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912879":["hashtag1","hashtag2"]},{"1371912846":["hashtag1","hashtag2"]},{"1371912845":["hashtag1","hashtag2"]},{"1371912842":["hashtag1","hashtag2"]},{"1371912880":["hashtag1","hashtag2"]},{"1371912853":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912879, 1371912846, 1371912845, 1371912842, 1371912880, 1371912853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55212116241455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:36:32.070062
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/36/image_12072025_19_36_24_10609.jpg', 2), ('/home/nano/Desktop/images/12072025/19/36/image_12072025_19_36_14_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/19/35/image_12072025_19_36_04_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/19/34/image_12072025_19_35_04_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/36/image_12072025_19_36_24_10609.jpg', '/home/nano/Desktop/images/12072025/19/36/image_12072025_19_36_14_9615.jpg', '/home/nano/Desktop/images/12072025/19/35/image_12072025_19_36_04_10629.jpg', '/home/nano/Desktop/images/12072025/19/34/image_12072025_19_35_04_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/36/image_12072025_19_36_24_10609.jpg
/home/nano/Desktop/images/12072025/19/36/image_12072025_19_36_14_9615.jpg
/home/nano/Desktop/images/12072025/19/35/image_12072025_19_36_04_10629.jpg
/home/nano/Desktop/images/12072025/19/34/image_12072025_19_35_04_10620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912885","1371912888","1371912884","1371912886"],"photo_ids_order":["1371912884","1371912885","1371912886","1371912888"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/082e4026cb347e677abb222676b0c635.jpg","text":"TemporaryFile(/tmp/multipartBody6166450482233338702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341853750,"filename":"image_12072025_19_36_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38dd5d57994360e45259f2029b5cadf0.jpg","text":"TemporaryFile(/tmp/multipartBody4295602805138135884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341853750,"filename":"image_12072025_19_35_04_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0030d652944b9ac7f72c11887b02b44.jpg","text":"TemporaryFile(/tmp/multipartBody2638205110369771553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341853750,"filename":"image_12072025_19_36_24_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19c27dffd84b859a637f65a8d38f8602.jpg","text":"TemporaryFile(/tmp/multipartBody6204394070504487611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341853750,"filename":"image_12072025_19_36_04_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912886","file1":"1371912885","file0":"1371912884","file3":"1371912888"},"map_files_photo_id_array":[{"photo_id":"1371912886","filename":"file2"},{"photo_id":"1371912885","filename":"file1"},{"photo_id":"1371912884","filename":"file0"},{"photo_id":"1371912888","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912885":["hashtag1","hashtag2"]},{"1371912888":["hashtag1","hashtag2"]},{"1371912884":["hashtag1","hashtag2"]},{"1371912886":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912885, 1371912888, 1371912884, 1371912886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.87711501121521 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:37:02.898909
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/32/image_10072025_16_33_04_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_54_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_43_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_34_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_24_10651.jpg', 2), ('/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_13_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/32/image_10072025_16_33_04_9635.jpg', '/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_54_10638.jpg', '/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_43_9628.jpg', '/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_34_9624.jpg', '/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_24_10651.jpg', '/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_13_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/32/image_10072025_16_33_04_9635.jpg
/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_54_10638.jpg
/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_43_9628.jpg
/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_34_9624.jpg
/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_24_10651.jpg
/home/nano/Desktop/images/10072025/16/32/image_10072025_16_32_13_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912945","1371912926","1371912917","1371912958","1371912916","1371912910"],"photo_ids_order":["1371912910","1371912916","1371912917","1371912926","1371912945","1371912958"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8170f1d67d29e442ce31d39e7caae475.jpg","text":"TemporaryFile(/tmp/multipartBody1930887689873948506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341886302,"filename":"image_10072025_16_32_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc265d86774d670de77bfaaae753e11b.jpg","text":"TemporaryFile(/tmp/multipartBody7637211891080272916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341886302,"filename":"image_10072025_16_32_34_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9933a0242d14346808be37f238d64f1b.jpg","text":"TemporaryFile(/tmp/multipartBody1892622376670494921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341886302,"filename":"image_10072025_16_32_43_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8910bbe2be97091ba48bb40970a469c3.jpg","text":"TemporaryFile(/tmp/multipartBody9152919466428806364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341886302,"filename":"image_10072025_16_32_13_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c122077386819d46f1bc16753b77616.jpg","text":"TemporaryFile(/tmp/multipartBody5869705225268529615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341886302,"filename":"image_10072025_16_32_54_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9498af93e1eb1fb858f548ea6de4acd1.jpg","text":"TemporaryFile(/tmp/multipartBody3048971926034473942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341886302,"filename":"image_10072025_16_33_04_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371912917","file1":"1371912916","file0":"1371912910","file4":"1371912945","file5":"1371912958","file3":"1371912926"},"map_files_photo_id_array":[{"photo_id":"1371912958","filename":"file5"},{"photo_id":"1371912917","filename":"file2"},{"photo_id":"1371912945","filename":"file4"},{"photo_id":"1371912916","filename":"file1"},{"photo_id":"1371912910","filename":"file0"},{"photo_id":"1371912926","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371912945":["hashtag1","hashtag2"]},{"1371912926":["hashtag1","hashtag2"]},{"1371912917":["hashtag1","hashtag2"]},{"1371912958":["hashtag1","hashtag2"]},{"1371912916":["hashtag1","hashtag2"]},{"1371912910":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371912945, 1371912926, 1371912917, 1371912958, 1371912916, 1371912910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31361651420593 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:37:47.184310
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/37/image_12072025_19_37_44_10608.jpg', 2), ('/home/nano/Desktop/images/12072025/19/36/image_12072025_19_36_34_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/37/image_12072025_19_37_44_10608.jpg', '/home/nano/Desktop/images/12072025/19/36/image_12072025_19_36_34_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/37/image_12072025_19_37_44_10608.jpg
/home/nano/Desktop/images/12072025/19/36/image_12072025_19_36_34_9617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371912996","1371912995"],"photo_ids_order":["1371912995","1371912996"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff3fbd0b50727ddd3c9f4e6284b1daf2.jpg","text":"TemporaryFile(/tmp/multipartBody2133681775153770306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341928372,"filename":"image_12072025_19_36_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5714fbc100b5a92d158f21d8b4178b7e.jpg","text":"TemporaryFile(/tmp/multipartBody866238686074176610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341928372,"filename":"image_12072025_19_37_44_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371912996","file0":"1371912995"},"map_files_photo_id_array":[{"photo_id":"1371912996","filename":"file1"},{"photo_id":"1371912995","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371912996":["hashtag1","hashtag2"]},{"1371912995":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371912996, 1371912995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.338016033172607 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:38:17.325390
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/38/image_12072025_19_38_44_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/19/38/image_12072025_19_38_24_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/19/38/image_12072025_19_38_14_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/19/37/image_12072025_19_38_03_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/19/37/image_12072025_19_37_54_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/38/image_12072025_19_38_44_9599.jpg', '/home/nano/Desktop/images/12072025/19/38/image_12072025_19_38_24_9603.jpg', '/home/nano/Desktop/images/12072025/19/38/image_12072025_19_38_14_10646.jpg', '/home/nano/Desktop/images/12072025/19/37/image_12072025_19_38_03_9625.jpg', '/home/nano/Desktop/images/12072025/19/37/image_12072025_19_37_54_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/38/image_12072025_19_38_44_9599.jpg
/home/nano/Desktop/images/12072025/19/38/image_12072025_19_38_24_9603.jpg
/home/nano/Desktop/images/12072025/19/38/image_12072025_19_38_14_10646.jpg
/home/nano/Desktop/images/12072025/19/37/image_12072025_19_38_03_9625.jpg
/home/nano/Desktop/images/12072025/19/37/image_12072025_19_37_54_9597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913044","1371913043","1371913034","1371913060","1371913042"],"photo_ids_order":["1371913034","1371913042","1371913043","1371913044","1371913060"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7dfdcfebd9a5f25130971db3f91dcb3.jpg","text":"TemporaryFile(/tmp/multipartBody5903450876398460549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341958981,"filename":"image_12072025_19_38_03_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79463c20342c4bd48d03402462ce6a35.jpg","text":"TemporaryFile(/tmp/multipartBody5812507732664177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341958981,"filename":"image_12072025_19_38_14_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9429bfa46ca9df8a5f4cd9c0cae5c182.jpg","text":"TemporaryFile(/tmp/multipartBody4903270711681368376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341958981,"filename":"image_12072025_19_38_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66550e9b4ba0b3af721c2c3ea86f4950.jpg","text":"TemporaryFile(/tmp/multipartBody3327988930533465922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341958981,"filename":"image_12072025_19_37_54_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ba962d72e3962f56c12b4d432212ea5.jpg","text":"TemporaryFile(/tmp/multipartBody252738215531627428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341958981,"filename":"image_12072025_19_38_24_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913043","file1":"1371913042","file0":"1371913034","file4":"1371913060","file3":"1371913044"},"map_files_photo_id_array":[{"photo_id":"1371913043","filename":"file2"},{"photo_id":"1371913060","filename":"file4"},{"photo_id":"1371913042","filename":"file1"},{"photo_id":"1371913034","filename":"file0"},{"photo_id":"1371913044","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913044":["hashtag1","hashtag2"]},{"1371913043":["hashtag1","hashtag2"]},{"1371913034":["hashtag1","hashtag2"]},{"1371913060":["hashtag1","hashtag2"]},{"1371913042":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913044, 1371913043, 1371913034, 1371913060, 1371913042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.350377798080444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:38:47.268137
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/31/image_10072025_16_32_04_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_53_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_43_9617.jpg', 2), ('/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_34_10635.jpg', 2), ('/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_23_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_14_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/31/image_10072025_16_32_04_10636.jpg', '/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_53_9619.jpg', '/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_43_9617.jpg', '/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_34_10635.jpg', '/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_23_9636.jpg', '/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_14_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/31/image_10072025_16_32_04_10636.jpg
/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_53_9619.jpg
/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_43_9617.jpg
/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_34_10635.jpg
/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_23_9636.jpg
/home/nano/Desktop/images/10072025/16/31/image_10072025_16_31_14_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913092","1371913091","1371913085","1371913082","1371913087","1371913089"],"photo_ids_order":["1371913082","1371913085","1371913087","1371913089","1371913091","1371913092"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33b09bf30ad41323aea2eb3520074c81.jpg","text":"TemporaryFile(/tmp/multipartBody4878069056369855484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341990286,"filename":"image_10072025_16_31_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/384d35e8f0cafea3d22d6051fb1a59ca.jpg","text":"TemporaryFile(/tmp/multipartBody587965133412790490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341990286,"filename":"image_10072025_16_31_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7da474b9e38ba9412b38249236515c48.jpg","text":"TemporaryFile(/tmp/multipartBody5776176508726223096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341990286,"filename":"image_10072025_16_31_53_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04fe92969132a54d52142252efa00600.jpg","text":"TemporaryFile(/tmp/multipartBody5365218215530215737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341990286,"filename":"image_10072025_16_32_04_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ebbb85eadf9c54340934e21af513be1e.jpg","text":"TemporaryFile(/tmp/multipartBody1714668201998643924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341990286,"filename":"image_10072025_16_31_43_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80caa2e24d0af6ddce87afae5f73cc8b.jpg","text":"TemporaryFile(/tmp/multipartBody8422618897260178969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752341990286,"filename":"image_10072025_16_31_34_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913087","file1":"1371913085","file0":"1371913082","file4":"1371913091","file5":"1371913092","file3":"1371913089"},"map_files_photo_id_array":[{"photo_id":"1371913092","filename":"file5"},{"photo_id":"1371913087","filename":"file2"},{"photo_id":"1371913091","filename":"file4"},{"photo_id":"1371913085","filename":"file1"},{"photo_id":"1371913082","filename":"file0"},{"photo_id":"1371913089","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371913092":["hashtag1","hashtag2"]},{"1371913091":["hashtag1","hashtag2"]},{"1371913085":["hashtag1","hashtag2"]},{"1371913082":["hashtag1","hashtag2"]},{"1371913087":["hashtag1","hashtag2"]},{"1371913089":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371913092, 1371913091, 1371913085, 1371913082, 1371913087, 1371913089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.08311629295349 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:39:32.396501
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/30/image_10072025_16_31_04_10635.jpg', 2), ('/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_53_9621.jpg', 2), ('/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_44_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_34_10625.jpg', 2), ('/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_23_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_14_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/30/image_10072025_16_31_04_10635.jpg', '/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_53_9621.jpg', '/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_44_9630.jpg', '/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_34_10625.jpg', '/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_23_9623.jpg', '/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_14_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/30/image_10072025_16_31_04_10635.jpg
/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_53_9621.jpg
/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_44_9630.jpg
/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_34_10625.jpg
/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_23_9623.jpg
/home/nano/Desktop/images/10072025/16/30/image_10072025_16_30_14_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913140","1371913136","1371913121","1371913129","1371913120","1371913138"],"photo_ids_order":["1371913120","1371913121","1371913129","1371913136","1371913138","1371913140"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2bcda1fe2b8bb00d1263ad22591c42dd.jpg","text":"TemporaryFile(/tmp/multipartBody1047801448127764776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342035571,"filename":"image_10072025_16_30_14_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5837e6d3906da46fda0e31d10128e360.jpg","text":"TemporaryFile(/tmp/multipartBody3788892975038001577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342035571,"filename":"image_10072025_16_30_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9e3f3d78ee457bf75f016af33882bbb.jpg","text":"TemporaryFile(/tmp/multipartBody5148918302721987012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342035571,"filename":"image_10072025_16_30_53_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b405ac1df3807b28de19f847cd55fbb5.jpg","text":"TemporaryFile(/tmp/multipartBody5234988098864065395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342035571,"filename":"image_10072025_16_30_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8a87250db1127d80c47d4967d2755ea.jpg","text":"TemporaryFile(/tmp/multipartBody6781164388942668532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342035571,"filename":"image_10072025_16_31_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bfd9c7051a243c58dea5d19790ab5dd6.jpg","text":"TemporaryFile(/tmp/multipartBody4439174856044283623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342035571,"filename":"image_10072025_16_30_23_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913129","file1":"1371913121","file0":"1371913120","file4":"1371913138","file5":"1371913140","file3":"1371913136"},"map_files_photo_id_array":[{"photo_id":"1371913140","filename":"file5"},{"photo_id":"1371913129","filename":"file2"},{"photo_id":"1371913138","filename":"file4"},{"photo_id":"1371913121","filename":"file1"},{"photo_id":"1371913120","filename":"file0"},{"photo_id":"1371913136","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371913140":["hashtag1","hashtag2"]},{"1371913136":["hashtag1","hashtag2"]},{"1371913121":["hashtag1","hashtag2"]},{"1371913129":["hashtag1","hashtag2"]},{"1371913120":["hashtag1","hashtag2"]},{"1371913138":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371913140, 1371913136, 1371913121, 1371913129, 1371913120, 1371913138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.86902403831482 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:40:17.506053
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/40/image_12072025_19_40_34_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/19/38/image_12072025_19_38_53_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/40/image_12072025_19_40_34_9605.jpg', '/home/nano/Desktop/images/12072025/19/38/image_12072025_19_38_53_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/40/image_12072025_19_40_34_9605.jpg
/home/nano/Desktop/images/12072025/19/38/image_12072025_19_38_53_9598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913149","1371913147"],"photo_ids_order":["1371913147","1371913149"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ed5630fbeb058835b2309388f4d0cc8.jpg","text":"TemporaryFile(/tmp/multipartBody4520583154682665715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342078608,"filename":"image_12072025_19_38_53_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93f5e5dc3f0b55cdf7d7911ed11bb370.jpg","text":"TemporaryFile(/tmp/multipartBody4331019476149449590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342078608,"filename":"image_12072025_19_40_34_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371913149","file0":"1371913147"},"map_files_photo_id_array":[{"photo_id":"1371913149","filename":"file1"},{"photo_id":"1371913147","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913149":["hashtag1","hashtag2"]},{"1371913147":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913149, 1371913147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.534842252731323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:40:47.478070
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/29/image_10072025_16_30_03_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_53_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_44_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_33_9621.jpg', 2), ('/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_24_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_14_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/29/image_10072025_16_30_03_9647.jpg', '/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_53_9634.jpg', '/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_44_10638.jpg', '/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_33_9621.jpg', '/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_24_9619.jpg', '/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_14_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/29/image_10072025_16_30_03_9647.jpg
/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_53_9634.jpg
/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_44_10638.jpg
/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_33_9621.jpg
/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_24_9619.jpg
/home/nano/Desktop/images/10072025/16/29/image_10072025_16_29_14_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913166","1371913160","1371913163","1371913157","1371913165","1371913161"],"photo_ids_order":["1371913157","1371913160","1371913161","1371913163","1371913165","1371913166"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d41aab6ecf01b0c3d257317d5e74bdb6.jpg","text":"TemporaryFile(/tmp/multipartBody2699140177778934444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342110729,"filename":"image_10072025_16_29_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46e59f3148f07e9132d7ddcd17ac3830.jpg","text":"TemporaryFile(/tmp/multipartBody3328640660404615552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342110729,"filename":"image_10072025_16_29_53_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4f986dc48a727a9c6113981022db2d1.jpg","text":"TemporaryFile(/tmp/multipartBody7417035059363579708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342110729,"filename":"image_10072025_16_29_33_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0aebe49c0cf006dd7d40ae35005d4c60.jpg","text":"TemporaryFile(/tmp/multipartBody246803099251720018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342110729,"filename":"image_10072025_16_30_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa79087ac6eec7e7a30fea8e5d56629f.jpg","text":"TemporaryFile(/tmp/multipartBody425362991806130736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342110729,"filename":"image_10072025_16_29_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78ed3e2d16927023ba2e6b7fcb613763.jpg","text":"TemporaryFile(/tmp/multipartBody7727637337123284660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342110729,"filename":"image_10072025_16_29_44_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913161","file1":"1371913160","file0":"1371913157","file4":"1371913165","file5":"1371913166","file3":"1371913163"},"map_files_photo_id_array":[{"photo_id":"1371913166","filename":"file5"},{"photo_id":"1371913161","filename":"file2"},{"photo_id":"1371913165","filename":"file4"},{"photo_id":"1371913160","filename":"file1"},{"photo_id":"1371913157","filename":"file0"},{"photo_id":"1371913163","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371913166":["hashtag1","hashtag2"]},{"1371913160":["hashtag1","hashtag2"]},{"1371913163":["hashtag1","hashtag2"]},{"1371913157":["hashtag1","hashtag2"]},{"1371913165":["hashtag1","hashtag2"]},{"1371913161":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371913166, 1371913160, 1371913163, 1371913157, 1371913165, 1371913161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74162244796753 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:41:32.642198
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/40/image_12072025_19_40_44_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/40/image_12072025_19_40_44_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/40/image_12072025_19_40_44_10621.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913168"],"photo_id":"1371913168","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01debe0d78cc4937ba071815e11bbcb3.jpg","text":"TemporaryFile(/tmp/multipartBody539454101747683969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342153532,"filename":"image_12072025_19_40_44_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371913168"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371913168"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.297426700592041 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:41:47.602726
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/28/image_10072025_16_29_03_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_54_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_44_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_33_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_24_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_13_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/28/image_10072025_16_29_03_9630.jpg', '/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_54_9632.jpg', '/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_44_10627.jpg', '/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_33_9620.jpg', '/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_24_10658.jpg', '/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_13_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/28/image_10072025_16_29_03_9630.jpg
/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_54_9632.jpg
/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_44_10627.jpg
/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_33_9620.jpg
/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_24_10658.jpg
/home/nano/Desktop/images/10072025/16/28/image_10072025_16_28_13_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913172","1371913181","1371913175","1371913178","1371913177","1371913171"],"photo_ids_order":["1371913171","1371913172","1371913175","1371913177","1371913178","1371913181"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd98b6a9c8ba9c2505873460e8749059.jpg","text":"TemporaryFile(/tmp/multipartBody4693258933751623046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342170824,"filename":"image_10072025_16_28_54_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad5d86052a56f8ac8be2371c8ee6c730.jpg","text":"TemporaryFile(/tmp/multipartBody2480652088736831225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342170824,"filename":"image_10072025_16_28_13_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8258ee8e1c7e178661e18f97b2e7a564.jpg","text":"TemporaryFile(/tmp/multipartBody9005449533549048812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342170824,"filename":"image_10072025_16_28_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82d7909805f97aea61830a292dd54fb6.jpg","text":"TemporaryFile(/tmp/multipartBody3781259366223539492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342170824,"filename":"image_10072025_16_28_24_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89d69cb4500929daa96e11d0611c0b83.jpg","text":"TemporaryFile(/tmp/multipartBody966623037804005477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342170824,"filename":"image_10072025_16_28_33_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb7d861e232fe13243d1ca813d756f83.jpg","text":"TemporaryFile(/tmp/multipartBody5267805349655501383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342170824,"filename":"image_10072025_16_29_03_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913175","file1":"1371913172","file0":"1371913171","file4":"1371913178","file5":"1371913181","file3":"1371913177"},"map_files_photo_id_array":[{"photo_id":"1371913181","filename":"file5"},{"photo_id":"1371913175","filename":"file2"},{"photo_id":"1371913178","filename":"file4"},{"photo_id":"1371913172","filename":"file1"},{"photo_id":"1371913171","filename":"file0"},{"photo_id":"1371913177","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371913172":["hashtag1","hashtag2"]},{"1371913181":["hashtag1","hashtag2"]},{"1371913175":["hashtag1","hashtag2"]},{"1371913178":["hashtag1","hashtag2"]},{"1371913177":["hashtag1","hashtag2"]},{"1371913171":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371913172, 1371913181, 1371913175, 1371913178, 1371913177, 1371913171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.61343765258789 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:42:32.701183
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_44_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_34_9600.jpg', 2), ('/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_24_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_14_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/19/41/image_12072025_19_41_53_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_44_9597.jpg', '/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_34_9600.jpg', '/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_24_10626.jpg', '/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_14_9618.jpg', '/home/nano/Desktop/images/12072025/19/41/image_12072025_19_41_53_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_44_9597.jpg
/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_34_9600.jpg
/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_24_10626.jpg
/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_14_9618.jpg
/home/nano/Desktop/images/12072025/19/41/image_12072025_19_41_53_9603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913193","1371913195","1371913192","1371913191","1371913197"],"photo_ids_order":["1371913191","1371913192","1371913193","1371913195","1371913197"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/beebad9a4be1341a93b8e3b971e71dbd.jpg","text":"TemporaryFile(/tmp/multipartBody5310389261521924238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342214394,"filename":"image_12072025_19_42_24_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8d885b51c0c3414a84eb95611ef0051.jpg","text":"TemporaryFile(/tmp/multipartBody5120801485092245575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342214394,"filename":"image_12072025_19_42_14_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f573cfda7130c1e6989192bc27b4973.jpg","text":"TemporaryFile(/tmp/multipartBody7064377162856724977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342214394,"filename":"image_12072025_19_42_34_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/618879cfe6d88d4fba04a2c39cbc7272.jpg","text":"TemporaryFile(/tmp/multipartBody8577654486003918883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342214394,"filename":"image_12072025_19_42_44_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd9f25514a6a1281ab4f02ba849979ee.jpg","text":"TemporaryFile(/tmp/multipartBody6226971632123724334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342214394,"filename":"image_12072025_19_41_53_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913193","file1":"1371913192","file0":"1371913191","file4":"1371913197","file3":"1371913195"},"map_files_photo_id_array":[{"photo_id":"1371913193","filename":"file2"},{"photo_id":"1371913197","filename":"file4"},{"photo_id":"1371913192","filename":"file1"},{"photo_id":"1371913191","filename":"file0"},{"photo_id":"1371913195","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913193":["hashtag1","hashtag2"]},{"1371913195":["hashtag1","hashtag2"]},{"1371913192":["hashtag1","hashtag2"]},{"1371913191":["hashtag1","hashtag2"]},{"1371913197":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913193, 1371913195, 1371913192, 1371913191, 1371913197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.81117010116577 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:43:02.447967
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/27/image_10072025_16_28_03_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_54_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_43_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_34_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_24_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_13_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/27/image_10072025_16_28_03_9637.jpg', '/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_54_10647.jpg', '/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_43_9623.jpg', '/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_34_9623.jpg', '/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_24_10627.jpg', '/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_13_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/27/image_10072025_16_28_03_9637.jpg
/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_54_10647.jpg
/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_43_9623.jpg
/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_34_9623.jpg
/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_24_10627.jpg
/home/nano/Desktop/images/10072025/16/27/image_10072025_16_27_13_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913211","1371913205","1371913214","1371913213","1371913210","1371913207"],"photo_ids_order":["1371913205","1371913207","1371913210","1371913211","1371913213","1371913214"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41485c3666c047413652ee26849d4c01.jpg","text":"TemporaryFile(/tmp/multipartBody4061413662894803445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342246084,"filename":"image_10072025_16_27_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1be7a8e001caba990ed59f80c9469a9.jpg","text":"TemporaryFile(/tmp/multipartBody1385457219509242692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342246084,"filename":"image_10072025_16_28_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af7d9c864761fe7f3caebd15a0e8f008.jpg","text":"TemporaryFile(/tmp/multipartBody7821830632665731971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342246084,"filename":"image_10072025_16_27_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5359d6488268361d17bfaa5c98f27602.jpg","text":"TemporaryFile(/tmp/multipartBody8057481137027222427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342246084,"filename":"image_10072025_16_27_24_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03b82a0f4b573c6674c92c01fb3bf606.jpg","text":"TemporaryFile(/tmp/multipartBody5580248331454105690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342246084,"filename":"image_10072025_16_27_43_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/517b2f2bdf4df1f90c1ba0e30f1d845b.jpg","text":"TemporaryFile(/tmp/multipartBody434599540845458722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342246084,"filename":"image_10072025_16_27_54_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913210","file1":"1371913207","file0":"1371913205","file4":"1371913213","file5":"1371913214","file3":"1371913211"},"map_files_photo_id_array":[{"photo_id":"1371913214","filename":"file5"},{"photo_id":"1371913210","filename":"file2"},{"photo_id":"1371913213","filename":"file4"},{"photo_id":"1371913207","filename":"file1"},{"photo_id":"1371913205","filename":"file0"},{"photo_id":"1371913211","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371913211":["hashtag1","hashtag2"]},{"1371913205":["hashtag1","hashtag2"]},{"1371913214":["hashtag1","hashtag2"]},{"1371913213":["hashtag1","hashtag2"]},{"1371913210":["hashtag1","hashtag2"]},{"1371913207":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371913211, 1371913205, 1371913214, 1371913213, 1371913210, 1371913207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20018672943115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:43:46.791823
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/43/image_12072025_19_43_24_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/19/43/image_12072025_19_43_13_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/19/42/image_12072025_19_43_04_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/43/image_12072025_19_43_24_10615.jpg', '/home/nano/Desktop/images/12072025/19/43/image_12072025_19_43_13_9615.jpg', '/home/nano/Desktop/images/12072025/19/42/image_12072025_19_43_04_9617.jpg', '/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/43/image_12072025_19_43_24_10615.jpg
/home/nano/Desktop/images/12072025/19/43/image_12072025_19_43_13_9615.jpg
/home/nano/Desktop/images/12072025/19/42/image_12072025_19_43_04_9617.jpg
/home/nano/Desktop/images/12072025/19/42/image_12072025_19_42_54_10622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913224","1371913218","1371913220","1371913222"],"photo_ids_order":["1371913218","1371913220","1371913222","1371913224"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a043f8a882f44f0e94b033b4b4f3862c.jpg","text":"TemporaryFile(/tmp/multipartBody1678762888418953122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342288729,"filename":"image_12072025_19_42_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2711d844cc3f0269c02ba0ef2bf9fd1f.jpg","text":"TemporaryFile(/tmp/multipartBody1922708030594585830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342288729,"filename":"image_12072025_19_43_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65d7c3b4ba59ad7fc74e0e3762ac5d18.jpg","text":"TemporaryFile(/tmp/multipartBody5363352734453149280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342288729,"filename":"image_12072025_19_43_13_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c5d75e66c261d4c43e42e6348e024a7.jpg","text":"TemporaryFile(/tmp/multipartBody7111342405716682686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342288729,"filename":"image_12072025_19_43_04_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913222","file1":"1371913220","file0":"1371913218","file3":"1371913224"},"map_files_photo_id_array":[{"photo_id":"1371913222","filename":"file2"},{"photo_id":"1371913220","filename":"file1"},{"photo_id":"1371913218","filename":"file0"},{"photo_id":"1371913224","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913224":["hashtag1","hashtag2"]},{"1371913218":["hashtag1","hashtag2"]},{"1371913220":["hashtag1","hashtag2"]},{"1371913222":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913224, 1371913218, 1371913220, 1371913222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.663960218429565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:44:16.898496
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/44/image_12072025_19_44_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/19/44/image_12072025_19_44_34_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/19/44/image_12072025_19_44_14_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/19/43/image_12072025_19_43_54_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/44/image_12072025_19_44_44_9617.jpg', '/home/nano/Desktop/images/12072025/19/44/image_12072025_19_44_34_10610.jpg', '/home/nano/Desktop/images/12072025/19/44/image_12072025_19_44_14_10629.jpg', '/home/nano/Desktop/images/12072025/19/43/image_12072025_19_43_54_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/44/image_12072025_19_44_44_9617.jpg
/home/nano/Desktop/images/12072025/19/44/image_12072025_19_44_34_10610.jpg
/home/nano/Desktop/images/12072025/19/44/image_12072025_19_44_14_10629.jpg
/home/nano/Desktop/images/12072025/19/43/image_12072025_19_43_54_9597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913230","1371913229","1371913232","1371913228"],"photo_ids_order":["1371913228","1371913229","1371913230","1371913232"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b592d75ca677ef3cf790ba88b0b325dc.jpg","text":"TemporaryFile(/tmp/multipartBody1688280193909817056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342318112,"filename":"image_12072025_19_44_14_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70ba5c16d3e9545644fe6162d8419f49.jpg","text":"TemporaryFile(/tmp/multipartBody8855150694617991487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342318112,"filename":"image_12072025_19_44_34_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d87cfaf2e38536714107bbb0c40b4b4f.jpg","text":"TemporaryFile(/tmp/multipartBody2807167917600943419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342318112,"filename":"image_12072025_19_43_54_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6e1052aabd7702040137d1dbf36fe0e.jpg","text":"TemporaryFile(/tmp/multipartBody5981032026065838902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342318112,"filename":"image_12072025_19_44_44_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913230","file1":"1371913229","file0":"1371913228","file3":"1371913232"},"map_files_photo_id_array":[{"photo_id":"1371913230","filename":"file2"},{"photo_id":"1371913229","filename":"file1"},{"photo_id":"1371913228","filename":"file0"},{"photo_id":"1371913232","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913230":["hashtag1","hashtag2"]},{"1371913229":["hashtag1","hashtag2"]},{"1371913232":["hashtag1","hashtag2"]},{"1371913228":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913230, 1371913229, 1371913232, 1371913228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.728780269622803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:44:46.944123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/26/image_10072025_16_27_04_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_54_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_43_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_34_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_23_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_13_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/26/image_10072025_16_27_04_9630.jpg', '/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_54_10641.jpg', '/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_43_9615.jpg', '/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_34_10637.jpg', '/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_23_9633.jpg', '/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_13_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/26/image_10072025_16_27_04_9630.jpg
/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_54_10641.jpg
/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_43_9615.jpg
/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_34_10637.jpg
/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_23_9633.jpg
/home/nano/Desktop/images/10072025/16/26/image_10072025_16_26_13_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913242","1371913245","1371913248","1371913247","1371913250","1371913240"],"photo_ids_order":["1371913240","1371913242","1371913245","1371913247","1371913248","1371913250"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81364ab6aa936c9354b8ddbd87029276.jpg","text":"TemporaryFile(/tmp/multipartBody5196891928628242274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342350234,"filename":"image_10072025_16_26_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a9da351d6cf569ceb521564b7c817f4.jpg","text":"TemporaryFile(/tmp/multipartBody1531389845258107153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342350234,"filename":"image_10072025_16_26_43_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7111b5ce76384b7f21e2591789fda515.jpg","text":"TemporaryFile(/tmp/multipartBody4924698413701240104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342350234,"filename":"image_10072025_16_26_23_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48ce0fca096269f1089a87755c576632.jpg","text":"TemporaryFile(/tmp/multipartBody360497233944488164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342350234,"filename":"image_10072025_16_26_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c07120e2adecffadc36f2dfbc44566ea.jpg","text":"TemporaryFile(/tmp/multipartBody8470580294212600276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342350234,"filename":"image_10072025_16_26_13_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9af8b7959067ec2c2168996f803cfe34.jpg","text":"TemporaryFile(/tmp/multipartBody2158166898691190234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342350234,"filename":"image_10072025_16_27_04_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913245","file1":"1371913242","file0":"1371913240","file4":"1371913248","file5":"1371913250","file3":"1371913247"},"map_files_photo_id_array":[{"photo_id":"1371913250","filename":"file5"},{"photo_id":"1371913245","filename":"file2"},{"photo_id":"1371913248","filename":"file4"},{"photo_id":"1371913242","filename":"file1"},{"photo_id":"1371913240","filename":"file0"},{"photo_id":"1371913247","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371913242":["hashtag1","hashtag2"]},{"1371913245":["hashtag1","hashtag2"]},{"1371913248":["hashtag1","hashtag2"]},{"1371913247":["hashtag1","hashtag2"]},{"1371913250":["hashtag1","hashtag2"]},{"1371913240":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371913242, 1371913245, 1371913248, 1371913247, 1371913250, 1371913240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47934055328369 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:45:32.053252
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/45/image_12072025_19_45_34_10610.jpg', 2), ('/home/nano/Desktop/images/12072025/19/45/image_12072025_19_45_23_9596.jpg', 2), ('/home/nano/Desktop/images/12072025/19/45/image_12072025_19_45_14_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/19/44/image_12072025_19_44_53_9598.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/45/image_12072025_19_45_34_10610.jpg', '/home/nano/Desktop/images/12072025/19/45/image_12072025_19_45_23_9596.jpg', '/home/nano/Desktop/images/12072025/19/45/image_12072025_19_45_14_9636.jpg', '/home/nano/Desktop/images/12072025/19/44/image_12072025_19_44_53_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/45/image_12072025_19_45_34_10610.jpg
/home/nano/Desktop/images/12072025/19/45/image_12072025_19_45_23_9596.jpg
/home/nano/Desktop/images/12072025/19/45/image_12072025_19_45_14_9636.jpg
/home/nano/Desktop/images/12072025/19/44/image_12072025_19_44_53_9598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913257","1371913253","1371913252","1371913254"],"photo_ids_order":["1371913252","1371913253","1371913254","1371913257"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2bb6225656b741c77f7b07c80d36b82f.jpg","text":"TemporaryFile(/tmp/multipartBody2705626321973511566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342393401,"filename":"image_12072025_19_44_53_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3958a793240052fb0989ba67417ab38.jpg","text":"TemporaryFile(/tmp/multipartBody479203829601564223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342393401,"filename":"image_12072025_19_45_23_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/591994c9edb2006e7d8eebc81680442e.jpg","text":"TemporaryFile(/tmp/multipartBody291266794833363188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342393401,"filename":"image_12072025_19_45_34_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/227ac3d48a653c75fbf8483505600479.jpg","text":"TemporaryFile(/tmp/multipartBody3112573126187236211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342393401,"filename":"image_12072025_19_45_14_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913254","file1":"1371913253","file0":"1371913252","file3":"1371913257"},"map_files_photo_id_array":[{"photo_id":"1371913254","filename":"file2"},{"photo_id":"1371913253","filename":"file1"},{"photo_id":"1371913252","filename":"file0"},{"photo_id":"1371913257","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913257":["hashtag1","hashtag2"]},{"1371913253":["hashtag1","hashtag2"]},{"1371913252":["hashtag1","hashtag2"]},{"1371913254":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913257, 1371913253, 1371913252, 1371913254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.707624912261963 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:46:02.718264
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/25/image_10072025_16_26_04_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_53_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_44_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_34_10629.jpg', 2), ('/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_23_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_14_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/25/image_10072025_16_26_04_10636.jpg', '/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_53_9631.jpg', '/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_44_9631.jpg', '/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_34_10629.jpg', '/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_23_9638.jpg', '/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_14_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/25/image_10072025_16_26_04_10636.jpg
/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_53_9631.jpg
/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_44_9631.jpg
/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_34_10629.jpg
/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_23_9638.jpg
/home/nano/Desktop/images/10072025/16/25/image_10072025_16_25_14_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913263","1371913266","1371913265","1371913270","1371913267","1371913269"],"photo_ids_order":["1371913263","1371913265","1371913266","1371913267","1371913269","1371913270"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be71f792b143aa57d629ad2fb5cb2222.jpg","text":"TemporaryFile(/tmp/multipartBody6374166180322881699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342426013,"filename":"image_10072025_16_26_04_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a33aee96449666342d0a8199292a433d.jpg","text":"TemporaryFile(/tmp/multipartBody1011196827549116922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342426013,"filename":"image_10072025_16_25_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e5571e9669d1df3bc830dff8e67a325.jpg","text":"TemporaryFile(/tmp/multipartBody3632739915034291205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342426013,"filename":"image_10072025_16_25_53_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c08fc4b16ee8b229f15056c9884598ac.jpg","text":"TemporaryFile(/tmp/multipartBody5002688354193680624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342426013,"filename":"image_10072025_16_25_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f55dca18bcc188703c204524c719ceaf.jpg","text":"TemporaryFile(/tmp/multipartBody3217309607379420215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342426013,"filename":"image_10072025_16_25_34_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6dda02d1483b60a91ba5ebe310021f77.jpg","text":"TemporaryFile(/tmp/multipartBody2533882237325083189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342426013,"filename":"image_10072025_16_25_23_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913266","file1":"1371913265","file0":"1371913263","file4":"1371913269","file5":"1371913270","file3":"1371913267"},"map_files_photo_id_array":[{"photo_id":"1371913270","filename":"file5"},{"photo_id":"1371913266","filename":"file2"},{"photo_id":"1371913269","filename":"file4"},{"photo_id":"1371913265","filename":"file1"},{"photo_id":"1371913263","filename":"file0"},{"photo_id":"1371913267","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371913263":["hashtag1","hashtag2"]},{"1371913266":["hashtag1","hashtag2"]},{"1371913265":["hashtag1","hashtag2"]},{"1371913270":["hashtag1","hashtag2"]},{"1371913267":["hashtag1","hashtag2"]},{"1371913269":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371913263, 1371913266, 1371913265, 1371913270, 1371913267, 1371913269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72283625602722 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:46:47.134221
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/46/image_12072025_19_46_44_10603.jpg', 2), ('/home/nano/Desktop/images/12072025/19/46/image_12072025_19_46_34_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/19/46/image_12072025_19_46_13_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/19/45/image_12072025_19_46_04_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/19/45/image_12072025_19_45_54_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/46/image_12072025_19_46_44_10603.jpg', '/home/nano/Desktop/images/12072025/19/46/image_12072025_19_46_34_9598.jpg', '/home/nano/Desktop/images/12072025/19/46/image_12072025_19_46_13_9614.jpg', '/home/nano/Desktop/images/12072025/19/45/image_12072025_19_46_04_9604.jpg', '/home/nano/Desktop/images/12072025/19/45/image_12072025_19_45_54_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/46/image_12072025_19_46_44_10603.jpg
/home/nano/Desktop/images/12072025/19/46/image_12072025_19_46_34_9598.jpg
/home/nano/Desktop/images/12072025/19/46/image_12072025_19_46_13_9614.jpg
/home/nano/Desktop/images/12072025/19/45/image_12072025_19_46_04_9604.jpg
/home/nano/Desktop/images/12072025/19/45/image_12072025_19_45_54_10608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913278","1371913283","1371913286","1371913280","1371913282"],"photo_ids_order":["1371913278","1371913280","1371913282","1371913283","1371913286"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/acb3a931bdc9677f34fa40002b641325.jpg","text":"TemporaryFile(/tmp/multipartBody3071522063973457868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342468709,"filename":"image_12072025_19_46_44_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1ae3e49fe9aa82499eecd637e148b91.jpg","text":"TemporaryFile(/tmp/multipartBody4782196529672574986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342468709,"filename":"image_12072025_19_46_04_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/438101e33870b9157d6cd63d62b28c9b.jpg","text":"TemporaryFile(/tmp/multipartBody3222314355758834189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342468709,"filename":"image_12072025_19_45_54_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c061036179125051fefe6a83ac6cdb9f.jpg","text":"TemporaryFile(/tmp/multipartBody1758161055919087216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342468709,"filename":"image_12072025_19_46_34_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e91d9bba7762031f68e9e2c64f5a6619.jpg","text":"TemporaryFile(/tmp/multipartBody35775352461354310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342468709,"filename":"image_12072025_19_46_13_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913282","file1":"1371913280","file0":"1371913278","file4":"1371913286","file3":"1371913283"},"map_files_photo_id_array":[{"photo_id":"1371913282","filename":"file2"},{"photo_id":"1371913286","filename":"file4"},{"photo_id":"1371913280","filename":"file1"},{"photo_id":"1371913278","filename":"file0"},{"photo_id":"1371913283","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913278":["hashtag1","hashtag2"]},{"1371913283":["hashtag1","hashtag2"]},{"1371913286":["hashtag1","hashtag2"]},{"1371913280":["hashtag1","hashtag2"]},{"1371913282":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913278, 1371913283, 1371913286, 1371913280, 1371913282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.668564319610596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:47:17.254341
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_44_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_34_10605.jpg', 2), ('/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_24_9603.jpg', 2), ('/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_14_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/19/46/image_12072025_19_47_03_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/19/46/image_12072025_19_46_54_9595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_44_9602.jpg', '/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_34_10605.jpg', '/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_24_9603.jpg', '/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_14_10636.jpg', '/home/nano/Desktop/images/12072025/19/46/image_12072025_19_47_03_9598.jpg', '/home/nano/Desktop/images/12072025/19/46/image_12072025_19_46_54_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_44_9602.jpg
/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_34_10605.jpg
/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_24_9603.jpg
/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_14_10636.jpg
/home/nano/Desktop/images/12072025/19/46/image_12072025_19_47_03_9598.jpg
/home/nano/Desktop/images/12072025/19/46/image_12072025_19_46_54_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913292","1371913295","1371913294","1371913291","1371913293","1371913296"],"photo_ids_order":["1371913291","1371913292","1371913293","1371913294","1371913295","1371913296"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c43eff755edb0b3f56745db73ee02418.jpg","text":"TemporaryFile(/tmp/multipartBody6091332128329538571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342499140,"filename":"image_12072025_19_47_34_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19f9b59bab719eb453242cb73cc215ae.jpg","text":"TemporaryFile(/tmp/multipartBody977490838083257608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342499140,"filename":"image_12072025_19_47_03_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e80b6f9543787117cd7a05fab8a5fe5.jpg","text":"TemporaryFile(/tmp/multipartBody2920132561143967002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342499140,"filename":"image_12072025_19_47_14_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c834e9b6e868686db1491242499b1fd.jpg","text":"TemporaryFile(/tmp/multipartBody4956229763219049245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342499140,"filename":"image_12072025_19_47_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52043b4e1ad09749b85de797de76827b.jpg","text":"TemporaryFile(/tmp/multipartBody7436916637088181043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342499140,"filename":"image_12072025_19_47_24_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15d06153be774c907d1fd3f067ebf228.jpg","text":"TemporaryFile(/tmp/multipartBody1562076122929068341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342499140,"filename":"image_12072025_19_46_54_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913293","file1":"1371913292","file0":"1371913291","file4":"1371913295","file5":"1371913296","file3":"1371913294"},"map_files_photo_id_array":[{"photo_id":"1371913296","filename":"file5"},{"photo_id":"1371913293","filename":"file2"},{"photo_id":"1371913295","filename":"file4"},{"photo_id":"1371913292","filename":"file1"},{"photo_id":"1371913291","filename":"file0"},{"photo_id":"1371913294","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913292":["hashtag1","hashtag2"]},{"1371913295":["hashtag1","hashtag2"]},{"1371913294":["hashtag1","hashtag2"]},{"1371913291":["hashtag1","hashtag2"]},{"1371913293":["hashtag1","hashtag2"]},{"1371913296":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913292, 1371913295, 1371913294, 1371913291, 1371913293, 1371913296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.455148696899414 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:48:02.966415
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/24/image_10072025_16_25_04_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_53_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_44_10697.jpg', 2), ('/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_33_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_23_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_14_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/24/image_10072025_16_25_04_10660.jpg', '/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_53_9627.jpg', '/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_44_10697.jpg', '/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_33_9625.jpg', '/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_23_9650.jpg', '/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_14_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/24/image_10072025_16_25_04_10660.jpg
/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_53_9627.jpg
/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_44_10697.jpg
/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_33_9625.jpg
/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_23_9650.jpg
/home/nano/Desktop/images/10072025/16/24/image_10072025_16_24_14_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913314","1371913308","1371913316","1371913312","1371913315","1371913309"],"photo_ids_order":["1371913308","1371913309","1371913312","1371913314","1371913315","1371913316"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6d053ffffb28b2108b30c67370d4f35.jpg","text":"TemporaryFile(/tmp/multipartBody7405778285717571608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342545992,"filename":"image_10072025_16_24_33_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21d2d530e43db690f7723e3ddae67237.jpg","text":"TemporaryFile(/tmp/multipartBody5722264118920185172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342545992,"filename":"image_10072025_16_25_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fab5353f1134f1526b502f3c84e16fe7.jpg","text":"TemporaryFile(/tmp/multipartBody7932289897365842518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342545992,"filename":"image_10072025_16_24_14_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81b1ec59b7f5b3d71e96bca9b8aceaa5.jpg","text":"TemporaryFile(/tmp/multipartBody6360920004722602263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342545992,"filename":"image_10072025_16_24_44_10697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c302ee570281d396920d83f833e8956a.jpg","text":"TemporaryFile(/tmp/multipartBody8070859326067294181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342545992,"filename":"image_10072025_16_24_23_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83098ca939530dcab272dabcc197498f.jpg","text":"TemporaryFile(/tmp/multipartBody1273358661513681308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342545992,"filename":"image_10072025_16_24_53_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913312","file1":"1371913309","file0":"1371913308","file4":"1371913315","file5":"1371913316","file3":"1371913314"},"map_files_photo_id_array":[{"photo_id":"1371913316","filename":"file5"},{"photo_id":"1371913312","filename":"file2"},{"photo_id":"1371913315","filename":"file4"},{"photo_id":"1371913309","filename":"file1"},{"photo_id":"1371913308","filename":"file0"},{"photo_id":"1371913314","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371913314":["hashtag1","hashtag2"]},{"1371913308":["hashtag1","hashtag2"]},{"1371913316":["hashtag1","hashtag2"]},{"1371913312":["hashtag1","hashtag2"]},{"1371913315":["hashtag1","hashtag2"]},{"1371913309":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371913314, 1371913308, 1371913316, 1371913312, 1371913315, 1371913309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44050860404968 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:48:47.348239
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_44_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_34_10721.jpg', 2), ('/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_23_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_14_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/19/47/image_12072025_19_48_04_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_53_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_44_9683.jpg', '/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_34_10721.jpg', '/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_23_9604.jpg', '/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_14_9613.jpg', '/home/nano/Desktop/images/12072025/19/47/image_12072025_19_48_04_10622.jpg', '/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_53_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_44_9683.jpg
/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_34_10721.jpg
/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_23_9604.jpg
/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_14_9613.jpg
/home/nano/Desktop/images/12072025/19/47/image_12072025_19_48_04_10622.jpg
/home/nano/Desktop/images/12072025/19/47/image_12072025_19_47_53_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913329","1371913320","1371913328","1371913322","1371913331","1371913325"],"photo_ids_order":["1371913320","1371913322","1371913325","1371913328","1371913329","1371913331"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/534c9e1c066912f18ff17b1586f37fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3641190784718901227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342589272,"filename":"image_12072025_19_48_04_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eaa73719c25dc40b35ec69551c44c283.jpg","text":"TemporaryFile(/tmp/multipartBody1364661585426847268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342589272,"filename":"image_12072025_19_48_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27f1e71e6ac1b31b64558e9cb682ca27.jpg","text":"TemporaryFile(/tmp/multipartBody7824830295768223202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342589272,"filename":"image_12072025_19_48_14_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/104aa7a95fa5e3157e7a18b19c3b33ec.jpg","text":"TemporaryFile(/tmp/multipartBody7715181977706023308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342589272,"filename":"image_12072025_19_48_34_10721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/49fd08018ad91b2a13766c05bd66b7e5.jpg","text":"TemporaryFile(/tmp/multipartBody412505475407604514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342589272,"filename":"image_12072025_19_47_53_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25639115f5fd5c314dd2a68142661ef9.jpg","text":"TemporaryFile(/tmp/multipartBody4907392907929650600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342589272,"filename":"image_12072025_19_48_23_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913325","file1":"1371913322","file0":"1371913320","file4":"1371913329","file5":"1371913331","file3":"1371913328"},"map_files_photo_id_array":[{"photo_id":"1371913331","filename":"file5"},{"photo_id":"1371913325","filename":"file2"},{"photo_id":"1371913329","filename":"file4"},{"photo_id":"1371913322","filename":"file1"},{"photo_id":"1371913320","filename":"file0"},{"photo_id":"1371913328","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913329":["hashtag1","hashtag2"]},{"1371913320":["hashtag1","hashtag2"]},{"1371913328":["hashtag1","hashtag2"]},{"1371913322":["hashtag1","hashtag2"]},{"1371913331":["hashtag1","hashtag2"]},{"1371913325":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913329, 1371913320, 1371913328, 1371913322, 1371913331, 1371913325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.54546046257019 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:49:32.464852
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_43_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_34_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_24_10606.jpg', 2), ('/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_14_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/19/48/image_12072025_19_49_04_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_53_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_43_9599.jpg', '/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_34_9607.jpg', '/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_24_10606.jpg', '/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_14_9618.jpg', '/home/nano/Desktop/images/12072025/19/48/image_12072025_19_49_04_10632.jpg', '/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_53_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_43_9599.jpg
/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_34_9607.jpg
/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_24_10606.jpg
/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_14_9618.jpg
/home/nano/Desktop/images/12072025/19/48/image_12072025_19_49_04_10632.jpg
/home/nano/Desktop/images/12072025/19/48/image_12072025_19_48_53_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913335","1371913350","1371913352","1371913337","1371913354","1371913336"],"photo_ids_order":["1371913335","1371913336","1371913337","1371913350","1371913352","1371913354"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe86f65f07dce00e96c4d64823c79b7d.jpg","text":"TemporaryFile(/tmp/multipartBody5553717721981458783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342634162,"filename":"image_12072025_19_49_43_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2be81858a8d981f789eca3dd430412af.jpg","text":"TemporaryFile(/tmp/multipartBody4451425040137095520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342634162,"filename":"image_12072025_19_49_14_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01cf003b60d5424b9dd07a8535d16341.jpg","text":"TemporaryFile(/tmp/multipartBody8236524774676412141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342634162,"filename":"image_12072025_19_49_04_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42511675dc71b7ec2154da314cc6bcfb.jpg","text":"TemporaryFile(/tmp/multipartBody6573208942221421626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342634162,"filename":"image_12072025_19_49_24_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89000d43e6ad3103688213ffc2f5b4c0.jpg","text":"TemporaryFile(/tmp/multipartBody1341517734695688073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342634162,"filename":"image_12072025_19_48_53_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ead9eb3f399bfd491da6398f8ed51f98.jpg","text":"TemporaryFile(/tmp/multipartBody2485197040255427887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342634162,"filename":"image_12072025_19_49_34_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913337","file1":"1371913336","file0":"1371913335","file4":"1371913352","file5":"1371913354","file3":"1371913350"},"map_files_photo_id_array":[{"photo_id":"1371913354","filename":"file5"},{"photo_id":"1371913337","filename":"file2"},{"photo_id":"1371913352","filename":"file4"},{"photo_id":"1371913336","filename":"file1"},{"photo_id":"1371913335","filename":"file0"},{"photo_id":"1371913350","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913335":["hashtag1","hashtag2"]},{"1371913350":["hashtag1","hashtag2"]},{"1371913352":["hashtag1","hashtag2"]},{"1371913337":["hashtag1","hashtag2"]},{"1371913354":["hashtag1","hashtag2"]},{"1371913336":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913335, 1371913350, 1371913352, 1371913337, 1371913354, 1371913336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.243083477020264 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:50:17.639529
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_44_10603.jpg', 2), ('/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_34_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_24_10609.jpg', 2), ('/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_13_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/19/49/image_12072025_19_50_04_9591.jpg', 2), ('/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_54_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_44_10603.jpg', '/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_34_9606.jpg', '/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_24_10609.jpg', '/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_13_9607.jpg', '/home/nano/Desktop/images/12072025/19/49/image_12072025_19_50_04_9591.jpg', '/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_44_10603.jpg
/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_34_9606.jpg
/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_24_10609.jpg
/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_13_9607.jpg
/home/nano/Desktop/images/12072025/19/49/image_12072025_19_50_04_9591.jpg
/home/nano/Desktop/images/12072025/19/49/image_12072025_19_49_54_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913370","1371913364","1371913367","1371913369","1371913366","1371913368"],"photo_ids_order":["1371913364","1371913366","1371913367","1371913368","1371913369","1371913370"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e28bfea87c601b01c412061b98dfcc58.jpg","text":"TemporaryFile(/tmp/multipartBody2366324884135424219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342679178,"filename":"image_12072025_19_49_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb9c8cebcb15f8c9b5d4e49824f2273e.jpg","text":"TemporaryFile(/tmp/multipartBody2664145465300758646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342679178,"filename":"image_12072025_19_50_44_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f138226c73d3192fcf7bf29c02233294.jpg","text":"TemporaryFile(/tmp/multipartBody4399673675805454926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342679178,"filename":"image_12072025_19_50_24_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2145f8ebd43a28a63061a63665364b3.jpg","text":"TemporaryFile(/tmp/multipartBody7731559772122178022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342679178,"filename":"image_12072025_19_50_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75611e1614d16a2a10730c66f1b03c87.jpg","text":"TemporaryFile(/tmp/multipartBody3888456666378729536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342679178,"filename":"image_12072025_19_50_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a586105a89cea51a5f47b9c81a34071d.jpg","text":"TemporaryFile(/tmp/multipartBody3958948438168480392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342679178,"filename":"image_12072025_19_50_13_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913367","file1":"1371913366","file0":"1371913364","file4":"1371913369","file5":"1371913370","file3":"1371913368"},"map_files_photo_id_array":[{"photo_id":"1371913370","filename":"file5"},{"photo_id":"1371913367","filename":"file2"},{"photo_id":"1371913369","filename":"file4"},{"photo_id":"1371913366","filename":"file1"},{"photo_id":"1371913364","filename":"file0"},{"photo_id":"1371913368","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913370":["hashtag1","hashtag2"]},{"1371913364":["hashtag1","hashtag2"]},{"1371913367":["hashtag1","hashtag2"]},{"1371913369":["hashtag1","hashtag2"]},{"1371913366":["hashtag1","hashtag2"]},{"1371913368":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913370, 1371913364, 1371913367, 1371913369, 1371913366, 1371913368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.49449896812439 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:51:03.400255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/23/image_10072025_16_24_03_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_53_9682.jpg', 2), ('/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_44_10651.jpg', 2), ('/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_33_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_24_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_14_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/23/image_10072025_16_24_03_9638.jpg', '/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_53_9682.jpg', '/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_44_10651.jpg', '/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_33_9648.jpg', '/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_24_9622.jpg', '/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_14_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/23/image_10072025_16_24_03_9638.jpg
/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_53_9682.jpg
/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_44_10651.jpg
/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_33_9648.jpg
/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_24_9622.jpg
/home/nano/Desktop/images/10072025/16/23/image_10072025_16_23_14_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913383","1371913377","1371913385","1371913379","1371913381","1371913386"],"photo_ids_order":["1371913377","1371913379","1371913381","1371913383","1371913385","1371913386"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f239ca7f7ca762a900ae7d06fe144879.jpg","text":"TemporaryFile(/tmp/multipartBody9140346571107025470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342726830,"filename":"image_10072025_16_23_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e0b6b75a43ee6d64decb40d7abb3b41.jpg","text":"TemporaryFile(/tmp/multipartBody892522113260158025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342726830,"filename":"image_10072025_16_24_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97b814a3e531344d35c51aaaa5eeea87.jpg","text":"TemporaryFile(/tmp/multipartBody519082566848376457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342726830,"filename":"image_10072025_16_23_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c33668aae242eae558ad726f62d84ee.jpg","text":"TemporaryFile(/tmp/multipartBody1135438358600813853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342726830,"filename":"image_10072025_16_23_53_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e74a8e00282d21a50821e2e21ab6b067.jpg","text":"TemporaryFile(/tmp/multipartBody7158177927796306477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342726830,"filename":"image_10072025_16_23_44_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5abf0ec70f651a1498003ff8e2e246e0.jpg","text":"TemporaryFile(/tmp/multipartBody6393332990462921284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342726830,"filename":"image_10072025_16_23_14_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913381","file1":"1371913379","file0":"1371913377","file4":"1371913385","file5":"1371913386","file3":"1371913383"},"map_files_photo_id_array":[{"photo_id":"1371913386","filename":"file5"},{"photo_id":"1371913381","filename":"file2"},{"photo_id":"1371913385","filename":"file4"},{"photo_id":"1371913379","filename":"file1"},{"photo_id":"1371913377","filename":"file0"},{"photo_id":"1371913383","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371913383":["hashtag1","hashtag2"]},{"1371913377":["hashtag1","hashtag2"]},{"1371913385":["hashtag1","hashtag2"]},{"1371913379":["hashtag1","hashtag2"]},{"1371913381":["hashtag1","hashtag2"]},{"1371913386":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371913383, 1371913377, 1371913385, 1371913379, 1371913381, 1371913386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86825466156006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:51:47.721146
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_44_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_34_10692.jpg', 2), ('/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_24_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_14_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/19/50/image_12072025_19_51_03_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_54_9591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_44_9633.jpg', '/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_34_10692.jpg', '/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_24_9616.jpg', '/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_14_10625.jpg', '/home/nano/Desktop/images/12072025/19/50/image_12072025_19_51_03_9630.jpg', '/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_54_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_44_9633.jpg
/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_34_10692.jpg
/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_24_9616.jpg
/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_14_10625.jpg
/home/nano/Desktop/images/12072025/19/50/image_12072025_19_51_03_9630.jpg
/home/nano/Desktop/images/12072025/19/50/image_12072025_19_50_54_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913397","1371913400","1371913393","1371913390","1371913398","1371913395"],"photo_ids_order":["1371913390","1371913393","1371913395","1371913397","1371913398","1371913400"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/946d0f5124b70eb37095b0a8af27162f.jpg","text":"TemporaryFile(/tmp/multipartBody2696648184368074593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342769704,"filename":"image_12072025_19_51_14_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c26cc55ff3c50d157795c5e0d0508b86.jpg","text":"TemporaryFile(/tmp/multipartBody725761031645042605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342769704,"filename":"image_12072025_19_50_54_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55e185d5ce27d7a3a5786b656df5c4e3.jpg","text":"TemporaryFile(/tmp/multipartBody2807252903503507709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342769704,"filename":"image_12072025_19_51_34_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc9bd92ac099c1ba18922cdb0a9d1cdf.jpg","text":"TemporaryFile(/tmp/multipartBody4661670460529947896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342769704,"filename":"image_12072025_19_51_44_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3c86f2bbeba0a76323246b06d6de51c.jpg","text":"TemporaryFile(/tmp/multipartBody5365528594625955193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342769704,"filename":"image_12072025_19_51_03_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee6884bba5288709ce3d38db351ddbfa.jpg","text":"TemporaryFile(/tmp/multipartBody8842572193654096389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342769704,"filename":"image_12072025_19_51_24_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913395","file1":"1371913393","file0":"1371913390","file4":"1371913398","file5":"1371913400","file3":"1371913397"},"map_files_photo_id_array":[{"photo_id":"1371913400","filename":"file5"},{"photo_id":"1371913395","filename":"file2"},{"photo_id":"1371913398","filename":"file4"},{"photo_id":"1371913393","filename":"file1"},{"photo_id":"1371913390","filename":"file0"},{"photo_id":"1371913397","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913397":["hashtag1","hashtag2"]},{"1371913400":["hashtag1","hashtag2"]},{"1371913393":["hashtag1","hashtag2"]},{"1371913390":["hashtag1","hashtag2"]},{"1371913398":["hashtag1","hashtag2"]},{"1371913395":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913397, 1371913400, 1371913393, 1371913390, 1371913398, 1371913395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.068859338760376 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:52:31.817230
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_44_9663.jpg', 2), ('/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_34_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_24_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_14_9701.jpg', 2), ('/home/nano/Desktop/images/12072025/19/51/image_12072025_19_52_04_10705.jpg', 2), ('/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_54_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_44_9663.jpg', '/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_34_10626.jpg', '/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_24_9625.jpg', '/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_14_9701.jpg', '/home/nano/Desktop/images/12072025/19/51/image_12072025_19_52_04_10705.jpg', '/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_54_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_44_9663.jpg
/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_34_10626.jpg
/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_24_9625.jpg
/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_14_9701.jpg
/home/nano/Desktop/images/12072025/19/51/image_12072025_19_52_04_10705.jpg
/home/nano/Desktop/images/12072025/19/51/image_12072025_19_51_54_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913404","1371913407","1371913409","1371913403","1371913406","1371913402"],"photo_ids_order":["1371913402","1371913403","1371913404","1371913406","1371913407","1371913409"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/646c2a9460698575f836732b12bdee76.jpg","text":"TemporaryFile(/tmp/multipartBody242210062600963408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342813950,"filename":"image_12072025_19_52_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06aa75032b1c3ed3f6e86ab4174e829f.jpg","text":"TemporaryFile(/tmp/multipartBody8295312832422601796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342813950,"filename":"image_12072025_19_52_04_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68736185692b3333a52acfc9dc4222d6.jpg","text":"TemporaryFile(/tmp/multipartBody3645448427136266455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342813950,"filename":"image_12072025_19_51_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c77d2d19c099c00eeba6a124fa6b07a.jpg","text":"TemporaryFile(/tmp/multipartBody6894309940466334590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342813950,"filename":"image_12072025_19_52_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/586c59dacdcc39e34648fbe144e71c2f.jpg","text":"TemporaryFile(/tmp/multipartBody3944318260904593605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342813950,"filename":"image_12072025_19_52_14_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2b5e8e5e0e79aec8618cedd4cb3930e.jpg","text":"TemporaryFile(/tmp/multipartBody5541434236368403672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342813950,"filename":"image_12072025_19_52_44_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913404","file1":"1371913403","file0":"1371913402","file4":"1371913407","file5":"1371913409","file3":"1371913406"},"map_files_photo_id_array":[{"photo_id":"1371913409","filename":"file5"},{"photo_id":"1371913404","filename":"file2"},{"photo_id":"1371913407","filename":"file4"},{"photo_id":"1371913403","filename":"file1"},{"photo_id":"1371913402","filename":"file0"},{"photo_id":"1371913406","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913404":["hashtag1","hashtag2"]},{"1371913407":["hashtag1","hashtag2"]},{"1371913409":["hashtag1","hashtag2"]},{"1371913403":["hashtag1","hashtag2"]},{"1371913406":["hashtag1","hashtag2"]},{"1371913402":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913404, 1371913407, 1371913409, 1371913403, 1371913406, 1371913402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.173263788223267 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:53:16.919841
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_44_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_34_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_24_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_14_9660.jpg', 2), ('/home/nano/Desktop/images/12072025/19/52/image_12072025_19_53_04_10686.jpg', 2), ('/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_54_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_44_9671.jpg', '/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_34_10635.jpg', '/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_24_9649.jpg', '/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_14_9660.jpg', '/home/nano/Desktop/images/12072025/19/52/image_12072025_19_53_04_10686.jpg', '/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_44_9671.jpg
/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_34_10635.jpg
/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_24_9649.jpg
/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_14_9660.jpg
/home/nano/Desktop/images/12072025/19/52/image_12072025_19_53_04_10686.jpg
/home/nano/Desktop/images/12072025/19/52/image_12072025_19_52_54_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913416","1371913419","1371913415","1371913418","1371913414","1371913417"],"photo_ids_order":["1371913414","1371913415","1371913416","1371913417","1371913418","1371913419"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0161916d7c510e7a047bef8d318c527a.jpg","text":"TemporaryFile(/tmp/multipartBody3181058103817742159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342858804,"filename":"image_12072025_19_53_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31c328a4dc1b7e4ad2b784476450fea5.jpg","text":"TemporaryFile(/tmp/multipartBody3748522822659952851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342858804,"filename":"image_12072025_19_52_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ae3c18dc245d8f9f4c7dbd4d153b241.jpg","text":"TemporaryFile(/tmp/multipartBody4262420829538953643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342858804,"filename":"image_12072025_19_53_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c70aad2137c8c41e77e3391cb10690e.jpg","text":"TemporaryFile(/tmp/multipartBody7992072566373127635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342858804,"filename":"image_12072025_19_53_04_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/603573b26dddcc2775baf81c0d26e452.jpg","text":"TemporaryFile(/tmp/multipartBody5842451111437736440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342858804,"filename":"image_12072025_19_53_44_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3b0ddc1892253b5c929a446b0f13955.jpg","text":"TemporaryFile(/tmp/multipartBody2351851662504629754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342858804,"filename":"image_12072025_19_53_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913416","file1":"1371913415","file0":"1371913414","file4":"1371913418","file5":"1371913419","file3":"1371913417"},"map_files_photo_id_array":[{"photo_id":"1371913419","filename":"file5"},{"photo_id":"1371913416","filename":"file2"},{"photo_id":"1371913418","filename":"file4"},{"photo_id":"1371913415","filename":"file1"},{"photo_id":"1371913414","filename":"file0"},{"photo_id":"1371913417","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913416":["hashtag1","hashtag2"]},{"1371913419":["hashtag1","hashtag2"]},{"1371913415":["hashtag1","hashtag2"]},{"1371913418":["hashtag1","hashtag2"]},{"1371913414":["hashtag1","hashtag2"]},{"1371913417":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913416, 1371913419, 1371913415, 1371913418, 1371913414, 1371913417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.502594709396362 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:54:02.865242
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/22/image_10072025_16_23_03_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_54_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_44_10648.jpg', 2), ('/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_33_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_24_9612.jpg', 2), ('/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_14_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/22/image_10072025_16_23_03_9649.jpg', '/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_54_9645.jpg', '/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_44_10648.jpg', '/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_33_9628.jpg', '/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_24_9612.jpg', '/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_14_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/22/image_10072025_16_23_03_9649.jpg
/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_54_9645.jpg
/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_44_10648.jpg
/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_33_9628.jpg
/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_24_9612.jpg
/home/nano/Desktop/images/10072025/16/22/image_10072025_16_22_14_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913434","1371913431","1371913428","1371913433","1371913427","1371913436"],"photo_ids_order":["1371913427","1371913428","1371913431","1371913433","1371913434","1371913436"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5703e19776e61a6d5806cf85d41a787.jpg","text":"TemporaryFile(/tmp/multipartBody6265440263626196794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342906215,"filename":"image_10072025_16_22_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b134ef9fd0382c7e1790d0b65ca250e.jpg","text":"TemporaryFile(/tmp/multipartBody2435527047300205490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342906215,"filename":"image_10072025_16_22_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0791c7f0288d562cf9d644e8a327eae0.jpg","text":"TemporaryFile(/tmp/multipartBody3607681912528122973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342906215,"filename":"image_10072025_16_22_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b2e1704ecc326a9709ce4ddb312f6c0.jpg","text":"TemporaryFile(/tmp/multipartBody3625111173363685924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342906215,"filename":"image_10072025_16_22_33_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37b822047866909e18bc6e1b5297f1f9.jpg","text":"TemporaryFile(/tmp/multipartBody5794985644446083375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342906215,"filename":"image_10072025_16_23_03_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f0a1cb29a1473a34cb8b994a86d7e4b.jpg","text":"TemporaryFile(/tmp/multipartBody5486223424964502562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342906215,"filename":"image_10072025_16_22_14_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913431","file1":"1371913428","file0":"1371913427","file4":"1371913434","file5":"1371913436","file3":"1371913433"},"map_files_photo_id_array":[{"photo_id":"1371913436","filename":"file5"},{"photo_id":"1371913431","filename":"file2"},{"photo_id":"1371913434","filename":"file4"},{"photo_id":"1371913428","filename":"file1"},{"photo_id":"1371913427","filename":"file0"},{"photo_id":"1371913433","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371913434":["hashtag1","hashtag2"]},{"1371913431":["hashtag1","hashtag2"]},{"1371913428":["hashtag1","hashtag2"]},{"1371913433":["hashtag1","hashtag2"]},{"1371913427":["hashtag1","hashtag2"]},{"1371913436":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371913434, 1371913431, 1371913428, 1371913433, 1371913427, 1371913436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60171437263489 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:54:47.050890
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_44_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_34_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_23_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_14_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/19/53/image_12072025_19_54_04_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_53_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_44_9634.jpg', '/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_34_10638.jpg', '/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_23_9620.jpg', '/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_14_9637.jpg', '/home/nano/Desktop/images/12072025/19/53/image_12072025_19_54_04_10630.jpg', '/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_53_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_44_9634.jpg
/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_34_10638.jpg
/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_23_9620.jpg
/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_14_9637.jpg
/home/nano/Desktop/images/12072025/19/53/image_12072025_19_54_04_10630.jpg
/home/nano/Desktop/images/12072025/19/53/image_12072025_19_53_53_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913451","1371913445","1371913448","1371913439","1371913444","1371913453"],"photo_ids_order":["1371913439","1371913444","1371913445","1371913448","1371913451","1371913453"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ffdc5cd56c15327cbd904e99dfb08815.jpg","text":"TemporaryFile(/tmp/multipartBody2180589367911932283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342949196,"filename":"image_12072025_19_54_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc9e52f35194b0a0e6319584d5406aa3.jpg","text":"TemporaryFile(/tmp/multipartBody4137588513740878442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342949196,"filename":"image_12072025_19_54_23_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/652d7ba435dbd68a4304c1da60c0ca8e.jpg","text":"TemporaryFile(/tmp/multipartBody8849996117869059029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342949196,"filename":"image_12072025_19_54_14_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0103fb27613758c8496e9a1f012fadc0.jpg","text":"TemporaryFile(/tmp/multipartBody5293397358627700248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342949196,"filename":"image_12072025_19_54_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7459a0a9cfe9a818aeea731e05c63ed.jpg","text":"TemporaryFile(/tmp/multipartBody7742902479874019252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342949196,"filename":"image_12072025_19_54_34_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44b432c208693102324b83fa8ff7624e.jpg","text":"TemporaryFile(/tmp/multipartBody4204362427613152067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342949196,"filename":"image_12072025_19_53_53_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913445","file1":"1371913444","file0":"1371913439","file4":"1371913451","file5":"1371913453","file3":"1371913448"},"map_files_photo_id_array":[{"photo_id":"1371913453","filename":"file5"},{"photo_id":"1371913445","filename":"file2"},{"photo_id":"1371913451","filename":"file4"},{"photo_id":"1371913444","filename":"file1"},{"photo_id":"1371913439","filename":"file0"},{"photo_id":"1371913448","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913451":["hashtag1","hashtag2"]},{"1371913445":["hashtag1","hashtag2"]},{"1371913448":["hashtag1","hashtag2"]},{"1371913439":["hashtag1","hashtag2"]},{"1371913444":["hashtag1","hashtag2"]},{"1371913453":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913451, 1371913445, 1371913448, 1371913439, 1371913444, 1371913453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.777645111083984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:55:32.179968
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_43_9598.jpg', 2), ('/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_34_9592.jpg', 2), ('/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_24_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_14_9676.jpg', 2), ('/home/nano/Desktop/images/12072025/19/54/image_12072025_19_55_04_9703.jpg', 2), ('/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_43_9598.jpg', '/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_34_9592.jpg', '/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_24_10617.jpg', '/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_14_9676.jpg', '/home/nano/Desktop/images/12072025/19/54/image_12072025_19_55_04_9703.jpg', '/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_43_9598.jpg
/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_34_9592.jpg
/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_24_10617.jpg
/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_14_9676.jpg
/home/nano/Desktop/images/12072025/19/54/image_12072025_19_55_04_9703.jpg
/home/nano/Desktop/images/12072025/19/54/image_12072025_19_54_54_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913455","1371913464","1371913460","1371913457","1371913462","1371913456"],"photo_ids_order":["1371913455","1371913456","1371913457","1371913460","1371913462","1371913464"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2e01b83b8839ced21bd86d6a5f93d75.jpg","text":"TemporaryFile(/tmp/multipartBody4751163975629218849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342993790,"filename":"image_12072025_19_55_43_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4c3a51f021ca849430c140a89b0fe21.jpg","text":"TemporaryFile(/tmp/multipartBody9210363034697405725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342993790,"filename":"image_12072025_19_54_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6222fd714a809e11f741d9ddf8c8e8af.jpg","text":"TemporaryFile(/tmp/multipartBody326841290021433098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342993790,"filename":"image_12072025_19_55_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da1abdf8cd260d3d52ad57e47a6ab1ea.jpg","text":"TemporaryFile(/tmp/multipartBody7012949993681709511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342993790,"filename":"image_12072025_19_55_24_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e0ee2e01617aaf3d5d9b363a26f925d.jpg","text":"TemporaryFile(/tmp/multipartBody2156992901384874674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342993790,"filename":"image_12072025_19_55_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d86d8a7248a3036577833e900aa4e58.jpg","text":"TemporaryFile(/tmp/multipartBody292021592856564370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752342993790,"filename":"image_12072025_19_55_34_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913457","file1":"1371913456","file0":"1371913455","file4":"1371913462","file5":"1371913464","file3":"1371913460"},"map_files_photo_id_array":[{"photo_id":"1371913464","filename":"file5"},{"photo_id":"1371913457","filename":"file2"},{"photo_id":"1371913462","filename":"file4"},{"photo_id":"1371913456","filename":"file1"},{"photo_id":"1371913455","filename":"file0"},{"photo_id":"1371913460","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913455":["hashtag1","hashtag2"]},{"1371913464":["hashtag1","hashtag2"]},{"1371913460":["hashtag1","hashtag2"]},{"1371913457":["hashtag1","hashtag2"]},{"1371913462":["hashtag1","hashtag2"]},{"1371913456":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913455, 1371913464, 1371913460, 1371913457, 1371913462, 1371913456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.91062641143799 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:56:17.351776
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_44_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_34_9597.jpg', 2), ('/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_24_10603.jpg', 2), ('/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_13_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/19/55/image_12072025_19_56_04_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_54_10608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_44_10612.jpg', '/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_34_9597.jpg', '/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_24_10603.jpg', '/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_13_9619.jpg', '/home/nano/Desktop/images/12072025/19/55/image_12072025_19_56_04_9593.jpg', '/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_54_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_44_10612.jpg
/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_34_9597.jpg
/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_24_10603.jpg
/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_13_9619.jpg
/home/nano/Desktop/images/12072025/19/55/image_12072025_19_56_04_9593.jpg
/home/nano/Desktop/images/12072025/19/55/image_12072025_19_55_54_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913476","1371913478","1371913475","1371913477","1371913494","1371913473"],"photo_ids_order":["1371913473","1371913475","1371913476","1371913477","1371913478","1371913494"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb20fa49a22ccd8f8896e436a43289ee.jpg","text":"TemporaryFile(/tmp/multipartBody3841455820829973059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343039098,"filename":"image_12072025_19_56_24_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ade2f71b01a0696251095606f7af5fa.jpg","text":"TemporaryFile(/tmp/multipartBody2107699487825890310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343039098,"filename":"image_12072025_19_56_04_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26ba98abd8f6266b811bd439ee460949.jpg","text":"TemporaryFile(/tmp/multipartBody397207279623750472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343039098,"filename":"image_12072025_19_56_34_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b6096fa7003b037fcb6d250abf335fe.jpg","text":"TemporaryFile(/tmp/multipartBody5729133067520049958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343039098,"filename":"image_12072025_19_56_13_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00b23cc2af6594c09acdfa4bd5b4e3b4.jpg","text":"TemporaryFile(/tmp/multipartBody2213722381026935749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343039098,"filename":"image_12072025_19_55_54_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be6ebf12b2072fe92dee2c994dfa7e4b.jpg","text":"TemporaryFile(/tmp/multipartBody429673473237925254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343039098,"filename":"image_12072025_19_56_44_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913476","file1":"1371913475","file0":"1371913473","file4":"1371913478","file5":"1371913494","file3":"1371913477"},"map_files_photo_id_array":[{"photo_id":"1371913494","filename":"file5"},{"photo_id":"1371913476","filename":"file2"},{"photo_id":"1371913478","filename":"file4"},{"photo_id":"1371913475","filename":"file1"},{"photo_id":"1371913473","filename":"file0"},{"photo_id":"1371913477","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371913476":["hashtag1","hashtag2"]},{"1371913478":["hashtag1","hashtag2"]},{"1371913475":["hashtag1","hashtag2"]},{"1371913477":["hashtag1","hashtag2"]},{"1371913494":["hashtag1","hashtag2"]},{"1371913473":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371913476, 1371913478, 1371913475, 1371913477, 1371913494, 1371913473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04241180419922 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:57:03.045785
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/21/image_10072025_16_22_03_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_54_10629.jpg', 2), ('/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_43_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_34_9618.jpg', 2), ('/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_24_10619.jpg', 2), ('/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_13_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/21/image_10072025_16_22_03_9623.jpg', '/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_54_10629.jpg', '/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_43_9623.jpg', '/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_34_9618.jpg', '/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_24_10619.jpg', '/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_13_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/21/image_10072025_16_22_03_9623.jpg
/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_54_10629.jpg
/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_43_9623.jpg
/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_34_9618.jpg
/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_24_10619.jpg
/home/nano/Desktop/images/10072025/16/21/image_10072025_16_21_13_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371913668","1371913749","1371913799","1371913772","1371913719","1371913695"],"photo_ids_order":["1371913668","1371913695","1371913719","1371913749","1371913772","1371913799"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92ec6337af1e4ae6106e1bbc90133c8a.jpg","text":"TemporaryFile(/tmp/multipartBody3904126303247697738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343086265,"filename":"image_10072025_16_22_03_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc003aa616f880a07d9a39251f11ee9d.jpg","text":"TemporaryFile(/tmp/multipartBody4584296982086689994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343086265,"filename":"image_10072025_16_21_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae1e624beac6146807300941f5635dc6.jpg","text":"TemporaryFile(/tmp/multipartBody6054208688746722230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343086265,"filename":"image_10072025_16_21_13_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a51d5e0aefa6e199a24568f49ee0938.jpg","text":"TemporaryFile(/tmp/multipartBody5240193940553626963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343086265,"filename":"image_10072025_16_21_24_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fab187256e7f8435f0eb47f31b53e36.jpg","text":"TemporaryFile(/tmp/multipartBody1787504325715202789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343086265,"filename":"image_10072025_16_21_43_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b63a5b5766483300fb5cc83052e58e9.jpg","text":"TemporaryFile(/tmp/multipartBody6100132631171364320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343086265,"filename":"image_10072025_16_21_54_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371913719","file1":"1371913695","file0":"1371913668","file4":"1371913772","file5":"1371913799","file3":"1371913749"},"map_files_photo_id_array":[{"photo_id":"1371913799","filename":"file5"},{"photo_id":"1371913719","filename":"file2"},{"photo_id":"1371913772","filename":"file4"},{"photo_id":"1371913695","filename":"file1"},{"photo_id":"1371913668","filename":"file0"},{"photo_id":"1371913749","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371913668":["hashtag1","hashtag2"]},{"1371913749":["hashtag1","hashtag2"]},{"1371913799":["hashtag1","hashtag2"]},{"1371913772":["hashtag1","hashtag2"]},{"1371913719":["hashtag1","hashtag2"]},{"1371913695":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371913668, 1371913749, 1371913799, 1371913772, 1371913719, 1371913695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.48482537269592 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:57:47.379427
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_44_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_34_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_24_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_14_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/19/56/image_12072025_19_57_03_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_44_9601.jpg', '/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_34_10619.jpg', '/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_24_9602.jpg', '/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_14_10646.jpg', '/home/nano/Desktop/images/12072025/19/56/image_12072025_19_57_03_9606.jpg', '/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_44_9601.jpg
/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_34_10619.jpg
/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_24_9602.jpg
/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_14_10646.jpg
/home/nano/Desktop/images/12072025/19/56/image_12072025_19_57_03_9606.jpg
/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_54_9603.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:59:03.627807
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_44_9601.jpg', 2), ('/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_34_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_24_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_14_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/19/56/image_12072025_19_57_03_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_44_9601.jpg', '/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_34_10619.jpg', '/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_24_9602.jpg', '/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_14_10646.jpg', '/home/nano/Desktop/images/12072025/19/56/image_12072025_19_57_03_9606.jpg', '/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_44_9601.jpg
/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_34_10619.jpg
/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_24_9602.jpg
/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_14_10646.jpg
/home/nano/Desktop/images/12072025/19/56/image_12072025_19_57_03_9606.jpg
/home/nano/Desktop/images/12072025/19/56/image_12072025_19_56_54_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371914927","1371914801","1371915262","1371915037","1371914683","1371915150"],"photo_ids_order":["1371914683","1371914801","1371914927","1371915037","1371915150","1371915262"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ecc5d6fb4f909a8ba18ba1def9084afc.jpg","text":"TemporaryFile(/tmp/multipartBody8070810804715793794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343205032,"filename":"image_12072025_19_57_24_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab2109558191476a9e66e1a7b529513a.jpg","text":"TemporaryFile(/tmp/multipartBody5303068158884497741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343205032,"filename":"image_12072025_19_57_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f7d7ea4a59b478a37f112a753416ad3.jpg","text":"TemporaryFile(/tmp/multipartBody8885030801156413276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343205032,"filename":"image_12072025_19_56_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/606f82a3f59b8ff1c3ce04a9aab8ba4b.jpg","text":"TemporaryFile(/tmp/multipartBody3286948948304392496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343205032,"filename":"image_12072025_19_57_14_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d78ce9eee3e706ac162d4821793485a.jpg","text":"TemporaryFile(/tmp/multipartBody9137787231028915098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343205032,"filename":"image_12072025_19_57_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1a11eacb2e6c62c01f97db6d2df84b6.jpg","text":"TemporaryFile(/tmp/multipartBody4730056038530662096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343205032,"filename":"image_12072025_19_57_03_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371914927","file1":"1371914801","file0":"1371914683","file4":"1371915150","file5":"1371915262","file3":"1371915037"},"map_files_photo_id_array":[{"photo_id":"1371915262","filename":"file5"},{"photo_id":"1371914927","filename":"file2"},{"photo_id":"1371915150","filename":"file4"},{"photo_id":"1371914801","filename":"file1"},{"photo_id":"1371914683","filename":"file0"},{"photo_id":"1371915037","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371914927":["hashtag1","hashtag2"]},{"1371914801":["hashtag1","hashtag2"]},{"1371915262":["hashtag1","hashtag2"]},{"1371915037":["hashtag1","hashtag2"]},{"1371914683":["hashtag1","hashtag2"]},{"1371915150":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371914927, 1371914801, 1371915262, 1371915037, 1371914683, 1371915150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00677704811096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 19:59:47.503750
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_43_9678.jpg', 2), ('/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_34_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_24_10698.jpg', 2), ('/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_13_9698.jpg', 2), ('/home/nano/Desktop/images/12072025/19/58/image_12072025_19_59_04_9687.jpg', 2), ('/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_54_9821.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_43_9678.jpg', '/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_34_9633.jpg', '/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_24_10698.jpg', '/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_13_9698.jpg', '/home/nano/Desktop/images/12072025/19/58/image_12072025_19_59_04_9687.jpg', '/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_54_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_43_9678.jpg
/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_34_9633.jpg
/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_24_10698.jpg
/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_13_9698.jpg
/home/nano/Desktop/images/12072025/19/58/image_12072025_19_59_04_9687.jpg
/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_54_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371915653","1371915655","1371915652","1371915646","1371915648","1371915650"],"photo_ids_order":["1371915646","1371915648","1371915650","1371915652","1371915653","1371915655"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/662c88cd6176f319fed9805417cd5323.jpg","text":"TemporaryFile(/tmp/multipartBody8675577914871782989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343249288,"filename":"image_12072025_19_59_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2db93406dda0586abc96cbb684ec73ed.jpg","text":"TemporaryFile(/tmp/multipartBody91849286515622663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343249288,"filename":"image_12072025_19_58_54_9821.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9ea1cb8555629cb1dc467612b5c5d6d.jpg","text":"TemporaryFile(/tmp/multipartBody847766381980779203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343249288,"filename":"image_12072025_19_59_13_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8051d90fde2a9f0e0351fb8d10549585.jpg","text":"TemporaryFile(/tmp/multipartBody8469470511250527229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343249288,"filename":"image_12072025_19_59_43_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ad18892db8b84b38fdf9871b289901b.jpg","text":"TemporaryFile(/tmp/multipartBody3035247535631880214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343249288,"filename":"image_12072025_19_59_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/396572151f16865952429ba587c44850.jpg","text":"TemporaryFile(/tmp/multipartBody7104127248753208170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343249288,"filename":"image_12072025_19_59_24_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371915650","file1":"1371915648","file0":"1371915646","file4":"1371915653","file5":"1371915655","file3":"1371915652"},"map_files_photo_id_array":[{"photo_id":"1371915655","filename":"file5"},{"photo_id":"1371915650","filename":"file2"},{"photo_id":"1371915653","filename":"file4"},{"photo_id":"1371915648","filename":"file1"},{"photo_id":"1371915646","filename":"file0"},{"photo_id":"1371915652","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371915653":["hashtag1","hashtag2"]},{"1371915655":["hashtag1","hashtag2"]},{"1371915652":["hashtag1","hashtag2"]},{"1371915646":["hashtag1","hashtag2"]},{"1371915648":["hashtag1","hashtag2"]},{"1371915650":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371915653, 1371915655, 1371915652, 1371915646, 1371915648, 1371915650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28353309631348 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:00:32.644314
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_44_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_33_9585.jpg', 2), ('/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_24_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_14_10608.jpg', 2), ('/home/nano/Desktop/images/12072025/19/59/image_12072025_20_00_04_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_54_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_44_10618.jpg', '/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_33_9585.jpg', '/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_24_9611.jpg', '/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_14_10608.jpg', '/home/nano/Desktop/images/12072025/19/59/image_12072025_20_00_04_9614.jpg', '/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_54_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_44_10618.jpg
/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_33_9585.jpg
/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_24_9611.jpg
/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_14_10608.jpg
/home/nano/Desktop/images/12072025/19/59/image_12072025_20_00_04_9614.jpg
/home/nano/Desktop/images/12072025/19/59/image_12072025_19_59_54_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916186","1371916123","1371916030","1371916003","1371916107","1371916104"],"photo_ids_order":["1371916003","1371916030","1371916104","1371916107","1371916123","1371916186"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43778726cf6e7e4b37e146d06a97015e.jpg","text":"TemporaryFile(/tmp/multipartBody8231253841493162971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343294360,"filename":"image_12072025_19_59_54_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd783ce5f878cc68bcc28d0519a727e7.jpg","text":"TemporaryFile(/tmp/multipartBody1910964797785176605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343294360,"filename":"image_12072025_20_00_04_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c8a99e4dc16af90f6de58717d2e4e13.jpg","text":"TemporaryFile(/tmp/multipartBody36636125427582903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343294360,"filename":"image_12072025_20_00_33_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60c48437fb94e575184a91facc622fe8.jpg","text":"TemporaryFile(/tmp/multipartBody5904639624130747638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343294360,"filename":"image_12072025_20_00_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f559b22265291b2b6f996bf5c7712320.jpg","text":"TemporaryFile(/tmp/multipartBody3699451244918295776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343294360,"filename":"image_12072025_20_00_14_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18da0e82ceb3e941530040d9ee420689.jpg","text":"TemporaryFile(/tmp/multipartBody5211116593493584888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343294360,"filename":"image_12072025_20_00_24_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916104","file1":"1371916030","file0":"1371916003","file4":"1371916123","file5":"1371916186","file3":"1371916107"},"map_files_photo_id_array":[{"photo_id":"1371916186","filename":"file5"},{"photo_id":"1371916104","filename":"file2"},{"photo_id":"1371916123","filename":"file4"},{"photo_id":"1371916030","filename":"file1"},{"photo_id":"1371916003","filename":"file0"},{"photo_id":"1371916107","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916186":["hashtag1","hashtag2"]},{"1371916123":["hashtag1","hashtag2"]},{"1371916030":["hashtag1","hashtag2"]},{"1371916003":["hashtag1","hashtag2"]},{"1371916107":["hashtag1","hashtag2"]},{"1371916104":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916186, 1371916123, 1371916030, 1371916003, 1371916107, 1371916104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80761957168579 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:01:17.718985
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_44_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_33_9593.jpg', 2), ('/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_24_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_14_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/20/00/image_12072025_20_01_03_9693.jpg', 2), ('/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_54_9719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_44_10614.jpg', '/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_33_9593.jpg', '/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_24_9637.jpg', '/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_14_10669.jpg', '/home/nano/Desktop/images/12072025/20/00/image_12072025_20_01_03_9693.jpg', '/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_54_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_44_10614.jpg
/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_33_9593.jpg
/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_24_9637.jpg
/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_14_10669.jpg
/home/nano/Desktop/images/12072025/20/00/image_12072025_20_01_03_9693.jpg
/home/nano/Desktop/images/12072025/20/00/image_12072025_20_00_54_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916240","1371916237","1371916236","1371916239","1371916235","1371916238"],"photo_ids_order":["1371916235","1371916236","1371916237","1371916238","1371916239","1371916240"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/981493b2c619e8f391291c35993d6252.jpg","text":"TemporaryFile(/tmp/multipartBody4201455851983168626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343338826,"filename":"image_12072025_20_00_54_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f8e51dd32707a6d9fb44cd41421d725.jpg","text":"TemporaryFile(/tmp/multipartBody9001438554078262563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343338826,"filename":"image_12072025_20_01_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e29d3ceddee1d4cdd70a0ffe6a67369.jpg","text":"TemporaryFile(/tmp/multipartBody7183750577338117585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343338826,"filename":"image_12072025_20_01_33_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24200657ee8921f4e516b6b183153258.jpg","text":"TemporaryFile(/tmp/multipartBody7255228432859060619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343338826,"filename":"image_12072025_20_01_03_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e54b89d6eb342e719082d0a1d6b5eb94.jpg","text":"TemporaryFile(/tmp/multipartBody7448033216440220384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343338826,"filename":"image_12072025_20_01_44_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6f7aacce2fd3bd7ca9ad1295045a18f.jpg","text":"TemporaryFile(/tmp/multipartBody3384383948860286832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343338826,"filename":"image_12072025_20_01_14_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916237","file1":"1371916236","file0":"1371916235","file4":"1371916239","file5":"1371916240","file3":"1371916238"},"map_files_photo_id_array":[{"photo_id":"1371916240","filename":"file5"},{"photo_id":"1371916237","filename":"file2"},{"photo_id":"1371916239","filename":"file4"},{"photo_id":"1371916236","filename":"file1"},{"photo_id":"1371916235","filename":"file0"},{"photo_id":"1371916238","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916240":["hashtag1","hashtag2"]},{"1371916237":["hashtag1","hashtag2"]},{"1371916236":["hashtag1","hashtag2"]},{"1371916239":["hashtag1","hashtag2"]},{"1371916235":["hashtag1","hashtag2"]},{"1371916238":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916240, 1371916237, 1371916236, 1371916239, 1371916235, 1371916238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.990897178649902 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:02:02.387703
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_44_10726.jpg', 2), ('/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_33_9846.jpg', 2), ('/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_24_9830.jpg', 2), ('/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_14_9664.jpg', 2), ('/home/nano/Desktop/images/12072025/19/57/image_12072025_19_58_04_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_53_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_44_10726.jpg', '/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_33_9846.jpg', '/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_24_9830.jpg', '/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_14_9664.jpg', '/home/nano/Desktop/images/12072025/19/57/image_12072025_19_58_04_10632.jpg', '/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_53_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_44_10726.jpg
/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_33_9846.jpg
/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_24_9830.jpg
/home/nano/Desktop/images/12072025/19/58/image_12072025_19_58_14_9664.jpg
/home/nano/Desktop/images/12072025/19/57/image_12072025_19_58_04_10632.jpg
/home/nano/Desktop/images/12072025/19/57/image_12072025_19_57_53_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916304","1371916290","1371916303","1371916283","1371916302","1371916301"],"photo_ids_order":["1371916283","1371916290","1371916301","1371916302","1371916303","1371916304"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67974e57c49b689a9468699211086823.jpg","text":"TemporaryFile(/tmp/multipartBody8315933635285949679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343384603,"filename":"image_12072025_19_57_53_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd5a8eba74191a61b550472710218a8c.jpg","text":"TemporaryFile(/tmp/multipartBody7518854907283152042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343384603,"filename":"image_12072025_19_58_33_9846.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4455bbff919b422c9432f695203232b.jpg","text":"TemporaryFile(/tmp/multipartBody6796081279295662608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343384603,"filename":"image_12072025_19_58_04_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c216bff4d9b2d474935fc5fe92f357e.jpg","text":"TemporaryFile(/tmp/multipartBody3467687249635826232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343384603,"filename":"image_12072025_19_58_44_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ffb4cee6b5158a824d909f5aa2470da8.jpg","text":"TemporaryFile(/tmp/multipartBody8561041468215446420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343384603,"filename":"image_12072025_19_58_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c5f013ecb941b27a57be86030ecc9d0.jpg","text":"TemporaryFile(/tmp/multipartBody6759099578664766657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343384603,"filename":"image_12072025_19_58_24_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916301","file1":"1371916290","file0":"1371916283","file4":"1371916303","file5":"1371916304","file3":"1371916302"},"map_files_photo_id_array":[{"photo_id":"1371916304","filename":"file5"},{"photo_id":"1371916301","filename":"file2"},{"photo_id":"1371916303","filename":"file4"},{"photo_id":"1371916290","filename":"file1"},{"photo_id":"1371916283","filename":"file0"},{"photo_id":"1371916302","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916304":["hashtag1","hashtag2"]},{"1371916290":["hashtag1","hashtag2"]},{"1371916303":["hashtag1","hashtag2"]},{"1371916283":["hashtag1","hashtag2"]},{"1371916302":["hashtag1","hashtag2"]},{"1371916301":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916304, 1371916290, 1371916303, 1371916283, 1371916302, 1371916301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.482934713363647 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:02:46.822085
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_44_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_34_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_23_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_14_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/20/01/image_12072025_20_02_04_10609.jpg', 2), ('/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_54_9594.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_44_9610.jpg', '/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_34_10624.jpg', '/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_23_9605.jpg', '/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_14_9612.jpg', '/home/nano/Desktop/images/12072025/20/01/image_12072025_20_02_04_10609.jpg', '/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_54_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_44_9610.jpg
/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_34_10624.jpg
/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_23_9605.jpg
/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_14_9612.jpg
/home/nano/Desktop/images/12072025/20/01/image_12072025_20_02_04_10609.jpg
/home/nano/Desktop/images/12072025/20/01/image_12072025_20_01_54_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916310","1371916312","1371916315","1371916317","1371916314","1371916308"],"photo_ids_order":["1371916308","1371916310","1371916312","1371916314","1371916315","1371916317"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa0f1be1fb19b023a508880ba541c700.jpg","text":"TemporaryFile(/tmp/multipartBody645616472361418043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343428392,"filename":"image_12072025_20_02_34_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ced3f42d50b25c976e86462dda0e8aa.jpg","text":"TemporaryFile(/tmp/multipartBody6791805343448102966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343428392,"filename":"image_12072025_20_02_23_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/269fbe1f86c966a5582e1b1a42ecea78.jpg","text":"TemporaryFile(/tmp/multipartBody4717282481878870229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343428392,"filename":"image_12072025_20_02_04_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d687ef512055291adc5e9a43b09703c.jpg","text":"TemporaryFile(/tmp/multipartBody388163086818070704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343428392,"filename":"image_12072025_20_01_54_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efc9211de0b5ab7a446cb87790599294.jpg","text":"TemporaryFile(/tmp/multipartBody8645343396737005817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343428392,"filename":"image_12072025_20_02_14_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6f7593e231231a1132a790161fa48d7.jpg","text":"TemporaryFile(/tmp/multipartBody4325771450790266435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343428392,"filename":"image_12072025_20_02_44_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916312","file1":"1371916310","file0":"1371916308","file4":"1371916315","file5":"1371916317","file3":"1371916314"},"map_files_photo_id_array":[{"photo_id":"1371916317","filename":"file5"},{"photo_id":"1371916312","filename":"file2"},{"photo_id":"1371916315","filename":"file4"},{"photo_id":"1371916310","filename":"file1"},{"photo_id":"1371916308","filename":"file0"},{"photo_id":"1371916314","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916310":["hashtag1","hashtag2"]},{"1371916312":["hashtag1","hashtag2"]},{"1371916315":["hashtag1","hashtag2"]},{"1371916317":["hashtag1","hashtag2"]},{"1371916314":["hashtag1","hashtag2"]},{"1371916308":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916310, 1371916312, 1371916315, 1371916317, 1371916314, 1371916308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84843182563782 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:03:31.925233
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_44_9702.jpg', 2), ('/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_34_9683.jpg', 2), ('/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_24_10740.jpg', 2), ('/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_14_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/20/02/image_12072025_20_03_04_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_54_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_44_9702.jpg', '/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_34_9683.jpg', '/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_24_10740.jpg', '/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_14_9651.jpg', '/home/nano/Desktop/images/12072025/20/02/image_12072025_20_03_04_9635.jpg', '/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_54_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_44_9702.jpg
/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_34_9683.jpg
/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_24_10740.jpg
/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_14_9651.jpg
/home/nano/Desktop/images/12072025/20/02/image_12072025_20_03_04_9635.jpg
/home/nano/Desktop/images/12072025/20/02/image_12072025_20_02_54_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916351","1371916345","1371916321","1371916320","1371916331","1371916322"],"photo_ids_order":["1371916320","1371916321","1371916322","1371916331","1371916345","1371916351"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a6eeadc730a05b0b375a32a9ce3e40a.jpg","text":"TemporaryFile(/tmp/multipartBody8924924890179373650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343474044,"filename":"image_12072025_20_02_54_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d72048cd8b7df078fdba8d20eb277be.jpg","text":"TemporaryFile(/tmp/multipartBody3137579667430370222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343474044,"filename":"image_12072025_20_03_04_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db98f99993659be1cdbe82c7f00d98ef.jpg","text":"TemporaryFile(/tmp/multipartBody8706540221416583127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343474044,"filename":"image_12072025_20_03_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ccf549c664256cb0b7b3e2bd5dcaf79c.jpg","text":"TemporaryFile(/tmp/multipartBody3952874465330933149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343474044,"filename":"image_12072025_20_03_44_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3d138519dcdd90cae5d9b5f2ead5830.jpg","text":"TemporaryFile(/tmp/multipartBody8557195686162216334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343474044,"filename":"image_12072025_20_03_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94917c5d9eed897d7cc81e5761ce2f5b.jpg","text":"TemporaryFile(/tmp/multipartBody7468201293236824593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343474044,"filename":"image_12072025_20_03_24_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916322","file1":"1371916321","file0":"1371916320","file4":"1371916345","file5":"1371916351","file3":"1371916331"},"map_files_photo_id_array":[{"photo_id":"1371916351","filename":"file5"},{"photo_id":"1371916322","filename":"file2"},{"photo_id":"1371916345","filename":"file4"},{"photo_id":"1371916321","filename":"file1"},{"photo_id":"1371916320","filename":"file0"},{"photo_id":"1371916331","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916351":["hashtag1","hashtag2"]},{"1371916345":["hashtag1","hashtag2"]},{"1371916321":["hashtag1","hashtag2"]},{"1371916320":["hashtag1","hashtag2"]},{"1371916331":["hashtag1","hashtag2"]},{"1371916322":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916351, 1371916345, 1371916321, 1371916320, 1371916331, 1371916322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.981298208236694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:04:17.014154
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_44_9696.jpg', 2), ('/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_34_10705.jpg', 2), ('/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_23_9687.jpg', 2), ('/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_14_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/20/03/image_12072025_20_04_04_10738.jpg', 2), ('/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_53_9720.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_44_9696.jpg', '/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_34_10705.jpg', '/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_23_9687.jpg', '/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_14_9642.jpg', '/home/nano/Desktop/images/12072025/20/03/image_12072025_20_04_04_10738.jpg', '/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_53_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_44_9696.jpg
/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_34_10705.jpg
/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_23_9687.jpg
/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_14_9642.jpg
/home/nano/Desktop/images/12072025/20/03/image_12072025_20_04_04_10738.jpg
/home/nano/Desktop/images/12072025/20/03/image_12072025_20_03_53_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916426","1371916491","1371916485","1371916449","1371916434","1371916415"],"photo_ids_order":["1371916415","1371916426","1371916434","1371916449","1371916485","1371916491"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6438d3729e4ab3f3a4a827da4f52e492.jpg","text":"TemporaryFile(/tmp/multipartBody3209922041937236087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343519980,"filename":"image_12072025_20_04_34_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b1ee8fbeadda23594ab15519c5dad4b.jpg","text":"TemporaryFile(/tmp/multipartBody8342347460319155101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343519980,"filename":"image_12072025_20_03_53_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63aa3a19e4c79167a1c93a9d8258f2fb.jpg","text":"TemporaryFile(/tmp/multipartBody3654781369339534324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343519980,"filename":"image_12072025_20_04_04_10738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ed2de0c19ae9716992b7fbd81b6e8cb.jpg","text":"TemporaryFile(/tmp/multipartBody319469489729341219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343519980,"filename":"image_12072025_20_04_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c232d4cb63cd89de317b1eb3363fc33.jpg","text":"TemporaryFile(/tmp/multipartBody6009482657673487898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343519980,"filename":"image_12072025_20_04_23_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2214fa5e92a0357f52eee51a792ad2a.jpg","text":"TemporaryFile(/tmp/multipartBody3465253546477367661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343519980,"filename":"image_12072025_20_04_44_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916434","file1":"1371916426","file0":"1371916415","file4":"1371916485","file5":"1371916491","file3":"1371916449"},"map_files_photo_id_array":[{"photo_id":"1371916491","filename":"file5"},{"photo_id":"1371916434","filename":"file2"},{"photo_id":"1371916485","filename":"file4"},{"photo_id":"1371916426","filename":"file1"},{"photo_id":"1371916415","filename":"file0"},{"photo_id":"1371916449","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916426":["hashtag1","hashtag2"]},{"1371916491":["hashtag1","hashtag2"]},{"1371916485":["hashtag1","hashtag2"]},{"1371916449":["hashtag1","hashtag2"]},{"1371916434":["hashtag1","hashtag2"]},{"1371916415":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916426, 1371916491, 1371916485, 1371916449, 1371916434, 1371916415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45892858505249 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:05:02.882602
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/20/image_10072025_16_21_04_9617.jpg', 2), ('/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_54_10631.jpg', 2), ('/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_43_9618.jpg', 2), ('/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_34_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_23_9609.jpg', 2), ('/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_14_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/20/image_10072025_16_21_04_9617.jpg', '/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_54_10631.jpg', '/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_43_9618.jpg', '/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_34_10637.jpg', '/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_23_9609.jpg', '/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_14_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/20/image_10072025_16_21_04_9617.jpg
/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_54_10631.jpg
/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_43_9618.jpg
/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_34_10637.jpg
/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_23_9609.jpg
/home/nano/Desktop/images/10072025/16/20/image_10072025_16_20_14_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916585","1371916588","1371916582","1371916581","1371916584","1371916586"],"photo_ids_order":["1371916581","1371916582","1371916584","1371916585","1371916586","1371916588"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a8f4529059ec760c2cd43c95f6e8670.jpg","text":"TemporaryFile(/tmp/multipartBody5870463545111759524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343566090,"filename":"image_10072025_16_20_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa48c3960dacaa82a4afd863e0f1d428.jpg","text":"TemporaryFile(/tmp/multipartBody5217402780251794908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343566090,"filename":"image_10072025_16_20_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad38933e4f425ada17ca01d4fde6c389.jpg","text":"TemporaryFile(/tmp/multipartBody8831957161698415561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343566090,"filename":"image_10072025_16_20_54_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/074bc49b35173c2c6b1d6f7f5841bcbc.jpg","text":"TemporaryFile(/tmp/multipartBody1364310625416129256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343566090,"filename":"image_10072025_16_21_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c68da53402bed9e6be481abaaf941bb.jpg","text":"TemporaryFile(/tmp/multipartBody6556646000030447041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343566090,"filename":"image_10072025_16_20_43_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/524e46ab482a88f507dc76076e7020b1.jpg","text":"TemporaryFile(/tmp/multipartBody632808001846698153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343566090,"filename":"image_10072025_16_20_23_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916584","file1":"1371916582","file0":"1371916581","file4":"1371916586","file5":"1371916588","file3":"1371916585"},"map_files_photo_id_array":[{"photo_id":"1371916588","filename":"file5"},{"photo_id":"1371916584","filename":"file2"},{"photo_id":"1371916586","filename":"file4"},{"photo_id":"1371916582","filename":"file1"},{"photo_id":"1371916581","filename":"file0"},{"photo_id":"1371916585","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371916585":["hashtag1","hashtag2"]},{"1371916588":["hashtag1","hashtag2"]},{"1371916582":["hashtag1","hashtag2"]},{"1371916581":["hashtag1","hashtag2"]},{"1371916584":["hashtag1","hashtag2"]},{"1371916586":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371916585, 1371916588, 1371916582, 1371916581, 1371916584, 1371916586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34885597229004 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:05:47.129203
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_44_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_33_9700.jpg', 2), ('/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_24_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_14_9744.jpg', 2), ('/home/nano/Desktop/images/12072025/20/04/image_12072025_20_05_04_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_54_9701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_44_10653.jpg', '/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_33_9700.jpg', '/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_24_9630.jpg', '/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_14_9744.jpg', '/home/nano/Desktop/images/12072025/20/04/image_12072025_20_05_04_10658.jpg', '/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_54_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_44_10653.jpg
/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_33_9700.jpg
/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_24_9630.jpg
/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_14_9744.jpg
/home/nano/Desktop/images/12072025/20/04/image_12072025_20_05_04_10658.jpg
/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_54_9701.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.075995922088623 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:06:02.852181
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_44_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_33_9700.jpg', 2), ('/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_24_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_14_9744.jpg', 2), ('/home/nano/Desktop/images/12072025/20/04/image_12072025_20_05_04_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_54_9701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_44_10653.jpg', '/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_33_9700.jpg', '/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_24_9630.jpg', '/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_14_9744.jpg', '/home/nano/Desktop/images/12072025/20/04/image_12072025_20_05_04_10658.jpg', '/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_54_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_44_10653.jpg
/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_33_9700.jpg
/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_24_9630.jpg
/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_14_9744.jpg
/home/nano/Desktop/images/12072025/20/04/image_12072025_20_05_04_10658.jpg
/home/nano/Desktop/images/12072025/20/04/image_12072025_20_04_54_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916603","1371916606","1371916608","1371916605","1371916598","1371916607"],"photo_ids_order":["1371916598","1371916603","1371916605","1371916606","1371916607","1371916608"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff9499a3afd7730c1657c1826e6b70f6.jpg","text":"TemporaryFile(/tmp/multipartBody8966223572702832427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343624420,"filename":"image_12072025_20_05_33_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/241793eb2a50619234053f103124b5a6.jpg","text":"TemporaryFile(/tmp/multipartBody8533332142798321672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343624420,"filename":"image_12072025_20_05_14_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7aeece085f1d9282829e3c0b2c7aab22.jpg","text":"TemporaryFile(/tmp/multipartBody7056046606238238785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343624420,"filename":"image_12072025_20_04_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/636b04e7bce975e973f22ebb6f771f58.jpg","text":"TemporaryFile(/tmp/multipartBody3925008567862347140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343624420,"filename":"image_12072025_20_05_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a5719ef0950960eab6479c6bfa1eaad.jpg","text":"TemporaryFile(/tmp/multipartBody8502868419376034360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343624420,"filename":"image_12072025_20_05_44_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e21d2c20cd712b4276ce6c06b98d06f.jpg","text":"TemporaryFile(/tmp/multipartBody8618456628647900733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343624420,"filename":"image_12072025_20_05_04_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916605","file1":"1371916603","file0":"1371916598","file4":"1371916607","file5":"1371916608","file3":"1371916606"},"map_files_photo_id_array":[{"photo_id":"1371916608","filename":"file5"},{"photo_id":"1371916605","filename":"file2"},{"photo_id":"1371916607","filename":"file4"},{"photo_id":"1371916603","filename":"file1"},{"photo_id":"1371916598","filename":"file0"},{"photo_id":"1371916606","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916603":["hashtag1","hashtag2"]},{"1371916606":["hashtag1","hashtag2"]},{"1371916608":["hashtag1","hashtag2"]},{"1371916605":["hashtag1","hashtag2"]},{"1371916598":["hashtag1","hashtag2"]},{"1371916607":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916603, 1371916606, 1371916608, 1371916605, 1371916598, 1371916607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08990788459778 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:06:47.258664
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_44_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_34_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_24_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_14_10658.jpg', 2), ('/home/nano/Desktop/images/12072025/20/05/image_12072025_20_06_03_9712.jpg', 2), ('/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_54_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_44_9623.jpg', '/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_34_10619.jpg', '/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_24_9656.jpg', '/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_14_10658.jpg', '/home/nano/Desktop/images/12072025/20/05/image_12072025_20_06_03_9712.jpg', '/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_54_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_44_9623.jpg
/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_34_10619.jpg
/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_24_9656.jpg
/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_14_10658.jpg
/home/nano/Desktop/images/12072025/20/05/image_12072025_20_06_03_9712.jpg
/home/nano/Desktop/images/12072025/20/05/image_12072025_20_05_54_9675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916621","1371916615","1371916618","1371916623","1371916625","1371916613"],"photo_ids_order":["1371916613","1371916615","1371916618","1371916621","1371916623","1371916625"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8851914af5adef1a408e6acb3818b6f0.jpg","text":"TemporaryFile(/tmp/multipartBody2270861243713675733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343669212,"filename":"image_12072025_20_06_14_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/027451dc83501b9e511ea784b9146ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8111705021708519795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343669212,"filename":"image_12072025_20_06_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7de31dcedd639e8f70874364698ebb77.jpg","text":"TemporaryFile(/tmp/multipartBody2147369622557792723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343669212,"filename":"image_12072025_20_06_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5102825bcadc0637d5cc4e450e90a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5322772764753939087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343669212,"filename":"image_12072025_20_06_03_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5942fb6b8806ad38357f9beb6477572.jpg","text":"TemporaryFile(/tmp/multipartBody7843429250061123873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343669212,"filename":"image_12072025_20_05_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6cb828af2f540645087616b7ed7798e.jpg","text":"TemporaryFile(/tmp/multipartBody3862652590894311374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343669212,"filename":"image_12072025_20_06_44_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916618","file1":"1371916615","file0":"1371916613","file4":"1371916623","file5":"1371916625","file3":"1371916621"},"map_files_photo_id_array":[{"photo_id":"1371916625","filename":"file5"},{"photo_id":"1371916618","filename":"file2"},{"photo_id":"1371916623","filename":"file4"},{"photo_id":"1371916615","filename":"file1"},{"photo_id":"1371916613","filename":"file0"},{"photo_id":"1371916621","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916621":["hashtag1","hashtag2"]},{"1371916615":["hashtag1","hashtag2"]},{"1371916618":["hashtag1","hashtag2"]},{"1371916623":["hashtag1","hashtag2"]},{"1371916625":["hashtag1","hashtag2"]},{"1371916613":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916621, 1371916615, 1371916618, 1371916623, 1371916625, 1371916613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06973433494568 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:07:32.403889
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_44_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_34_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_23_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/20/06/image_12072025_20_07_04_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_44_9605.jpg', '/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_34_10622.jpg', '/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_23_9602.jpg', '/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_14_9631.jpg', '/home/nano/Desktop/images/12072025/20/06/image_12072025_20_07_04_10626.jpg', '/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_44_9605.jpg
/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_34_10622.jpg
/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_23_9602.jpg
/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_14_9631.jpg
/home/nano/Desktop/images/12072025/20/06/image_12072025_20_07_04_10626.jpg
/home/nano/Desktop/images/12072025/20/06/image_12072025_20_06_54_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916630","1371916635","1371916629","1371916637","1371916631","1371916634"],"photo_ids_order":["1371916629","1371916630","1371916631","1371916634","1371916635","1371916637"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d00d10be319a183be034d939bce5bb98.jpg","text":"TemporaryFile(/tmp/multipartBody4561157315656452487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343714030,"filename":"image_12072025_20_07_34_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e517dd477a15669a45fccace3892109.jpg","text":"TemporaryFile(/tmp/multipartBody3817601080222893703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343714030,"filename":"image_12072025_20_07_04_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26b3418b732e648167d944583a39ea44.jpg","text":"TemporaryFile(/tmp/multipartBody5290248334073633853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343714030,"filename":"image_12072025_20_07_44_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa0e1ee06245aa00c13f7a35fe2b5007.jpg","text":"TemporaryFile(/tmp/multipartBody1036089110012448229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343714030,"filename":"image_12072025_20_06_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/47ef1558ef37e47cb50adb9cc7c5ea99.jpg","text":"TemporaryFile(/tmp/multipartBody2096848577625780517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343714030,"filename":"image_12072025_20_07_23_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1369e81930ef3beca9f829a26f6e1431.jpg","text":"TemporaryFile(/tmp/multipartBody5487729221570340149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343714030,"filename":"image_12072025_20_07_14_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916631","file1":"1371916630","file0":"1371916629","file4":"1371916635","file5":"1371916637","file3":"1371916634"},"map_files_photo_id_array":[{"photo_id":"1371916637","filename":"file5"},{"photo_id":"1371916631","filename":"file2"},{"photo_id":"1371916635","filename":"file4"},{"photo_id":"1371916630","filename":"file1"},{"photo_id":"1371916629","filename":"file0"},{"photo_id":"1371916634","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916630":["hashtag1","hashtag2"]},{"1371916635":["hashtag1","hashtag2"]},{"1371916629":["hashtag1","hashtag2"]},{"1371916637":["hashtag1","hashtag2"]},{"1371916631":["hashtag1","hashtag2"]},{"1371916634":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916630, 1371916635, 1371916629, 1371916637, 1371916631, 1371916634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.934874534606934 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:08:17.455632
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_43_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_34_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_24_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_14_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/20/07/image_12072025_20_08_04_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_43_9615.jpg', '/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_34_9614.jpg', '/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_24_10630.jpg', '/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_14_9643.jpg', '/home/nano/Desktop/images/12072025/20/07/image_12072025_20_08_04_9639.jpg', '/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_43_9615.jpg
/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_34_9614.jpg
/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_24_10630.jpg
/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_14_9643.jpg
/home/nano/Desktop/images/12072025/20/07/image_12072025_20_08_04_9639.jpg
/home/nano/Desktop/images/12072025/20/07/image_12072025_20_07_54_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916651","1371916650","1371916644","1371916647","1371916649","1371916646"],"photo_ids_order":["1371916644","1371916646","1371916647","1371916649","1371916650","1371916651"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12b99ad87b642654b10480e138a53daf.jpg","text":"TemporaryFile(/tmp/multipartBody6954984369401970189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343759432,"filename":"image_12072025_20_07_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e797c808e7c67515e3bbb4ec2d6ae410.jpg","text":"TemporaryFile(/tmp/multipartBody2559257503686947633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343759432,"filename":"image_12072025_20_08_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c8bca996c6064913f01b7e295427d23.jpg","text":"TemporaryFile(/tmp/multipartBody4884673570513937121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343759432,"filename":"image_12072025_20_08_43_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7708c3982f6c0c9d1901f2b44a6d9ae.jpg","text":"TemporaryFile(/tmp/multipartBody2177007005502214085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343759432,"filename":"image_12072025_20_08_24_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/abf646ccbfdb28e6ea4b214742080530.jpg","text":"TemporaryFile(/tmp/multipartBody1730790351412932523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343759432,"filename":"image_12072025_20_08_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c25585f195d629916a6d4e0a13ccdf6.jpg","text":"TemporaryFile(/tmp/multipartBody795072387372238920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343759432,"filename":"image_12072025_20_08_34_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916647","file1":"1371916646","file0":"1371916644","file4":"1371916650","file5":"1371916651","file3":"1371916649"},"map_files_photo_id_array":[{"photo_id":"1371916651","filename":"file5"},{"photo_id":"1371916647","filename":"file2"},{"photo_id":"1371916650","filename":"file4"},{"photo_id":"1371916646","filename":"file1"},{"photo_id":"1371916644","filename":"file0"},{"photo_id":"1371916649","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916651":["hashtag1","hashtag2"]},{"1371916650":["hashtag1","hashtag2"]},{"1371916644":["hashtag1","hashtag2"]},{"1371916647":["hashtag1","hashtag2"]},{"1371916649":["hashtag1","hashtag2"]},{"1371916646":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916651, 1371916650, 1371916644, 1371916647, 1371916649, 1371916646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.43284559249878 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:09:03.484744
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_54_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_54_9627.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916661"],"photo_id":"1371916661","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bde01c983869152feff4b65f49ed32ef.jpg","text":"TemporaryFile(/tmp/multipartBody5602646040377989178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343804406,"filename":"image_12072025_20_09_54_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371916661"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371916661"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.791550874710083 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:09:17.593248
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_34_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_24_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_13_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/20/08/image_12072025_20_09_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_34_9606.jpg', '/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_24_10628.jpg', '/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_13_9638.jpg', '/home/nano/Desktop/images/12072025/20/08/image_12072025_20_09_04_9626.jpg', '/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_54_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_34_9606.jpg
/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_24_10628.jpg
/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_13_9638.jpg
/home/nano/Desktop/images/12072025/20/08/image_12072025_20_09_04_9626.jpg
/home/nano/Desktop/images/12072025/20/08/image_12072025_20_08_54_10646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916666","1371916669","1371916667","1371916670","1371916664"],"photo_ids_order":["1371916664","1371916666","1371916667","1371916669","1371916670"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3692ab4b764f3c0f1095e01297da686f.jpg","text":"TemporaryFile(/tmp/multipartBody2433302392374572488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343819119,"filename":"image_12072025_20_09_24_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b3f6ca38cba2146ee368a4b3463715f.jpg","text":"TemporaryFile(/tmp/multipartBody9135955462223313810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343819119,"filename":"image_12072025_20_09_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0269ca31dd2fb064251714355cf3d686.jpg","text":"TemporaryFile(/tmp/multipartBody555745904782052182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343819119,"filename":"image_12072025_20_09_13_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52d0c0733e712101eaa60711900729bc.jpg","text":"TemporaryFile(/tmp/multipartBody8556946424465001148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343819119,"filename":"image_12072025_20_08_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/864e1c6989382d8841471981a173b895.jpg","text":"TemporaryFile(/tmp/multipartBody6347567963297192976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343819119,"filename":"image_12072025_20_09_34_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916667","file1":"1371916666","file0":"1371916664","file4":"1371916670","file3":"1371916669"},"map_files_photo_id_array":[{"photo_id":"1371916667","filename":"file2"},{"photo_id":"1371916670","filename":"file4"},{"photo_id":"1371916666","filename":"file1"},{"photo_id":"1371916664","filename":"file0"},{"photo_id":"1371916669","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916666":["hashtag1","hashtag2"]},{"1371916669":["hashtag1","hashtag2"]},{"1371916667":["hashtag1","hashtag2"]},{"1371916670":["hashtag1","hashtag2"]},{"1371916664":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916666, 1371916669, 1371916667, 1371916670, 1371916664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.232593297958374 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:10:03.172391
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/19/image_10072025_16_20_04_10630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_53_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_44_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_34_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_23_9603.jpg', 2), ('/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_14_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/19/image_10072025_16_20_04_10630.jpg', '/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_53_9622.jpg', '/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_44_9615.jpg', '/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_34_10627.jpg', '/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_23_9603.jpg', '/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_14_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/19/image_10072025_16_20_04_10630.jpg
/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_53_9622.jpg
/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_44_9615.jpg
/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_34_10627.jpg
/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_23_9603.jpg
/home/nano/Desktop/images/10072025/16/19/image_10072025_16_19_14_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916693","1371916695","1371916689","1371916691","1371916697","1371916696"],"photo_ids_order":["1371916689","1371916691","1371916693","1371916695","1371916696","1371916697"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80491d9b707a931e1d01e776dec9070c.jpg","text":"TemporaryFile(/tmp/multipartBody285184628007530918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343866441,"filename":"image_10072025_16_19_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c35dc0e32e87aa944136846ccd5610c.jpg","text":"TemporaryFile(/tmp/multipartBody2744418999728057268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343866441,"filename":"image_10072025_16_19_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0bc0e77cab054bce90672f36cc1919f7.jpg","text":"TemporaryFile(/tmp/multipartBody623210153153423219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343866441,"filename":"image_10072025_16_20_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9dde233961fe621391f6b588471a40f7.jpg","text":"TemporaryFile(/tmp/multipartBody7952440860146293566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343866441,"filename":"image_10072025_16_19_53_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ffec0b2c45ccea0a1f58c7bb10bc3dc2.jpg","text":"TemporaryFile(/tmp/multipartBody4501214503090187422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343866441,"filename":"image_10072025_16_19_14_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f04ca1afc4532378cafe75b3b5263b2e.jpg","text":"TemporaryFile(/tmp/multipartBody8896765412336985351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343866441,"filename":"image_10072025_16_19_23_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916693","file1":"1371916691","file0":"1371916689","file4":"1371916696","file5":"1371916697","file3":"1371916695"},"map_files_photo_id_array":[{"photo_id":"1371916697","filename":"file5"},{"photo_id":"1371916693","filename":"file2"},{"photo_id":"1371916696","filename":"file4"},{"photo_id":"1371916691","filename":"file1"},{"photo_id":"1371916689","filename":"file0"},{"photo_id":"1371916695","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371916693":["hashtag1","hashtag2"]},{"1371916695":["hashtag1","hashtag2"]},{"1371916689":["hashtag1","hashtag2"]},{"1371916691":["hashtag1","hashtag2"]},{"1371916697":["hashtag1","hashtag2"]},{"1371916696":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371916693, 1371916695, 1371916689, 1371916691, 1371916697, 1371916696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.879478454589844 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:10:47.687820
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_44_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_33_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_24_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_14_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/20/09/image_12072025_20_10_03_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_44_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_44_10655.jpg', '/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_33_9635.jpg', '/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_24_9629.jpg', '/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_14_10650.jpg', '/home/nano/Desktop/images/12072025/20/09/image_12072025_20_10_03_9655.jpg', '/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_44_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_44_10655.jpg
/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_33_9635.jpg
/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_24_9629.jpg
/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_14_10650.jpg
/home/nano/Desktop/images/12072025/20/09/image_12072025_20_10_03_9655.jpg
/home/nano/Desktop/images/12072025/20/09/image_12072025_20_09_44_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916703","1371916705","1371916708","1371916707","1371916701","1371916710"],"photo_ids_order":["1371916701","1371916703","1371916705","1371916707","1371916708","1371916710"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5af5a00be18f433fa0bea1a7255f4e6b.jpg","text":"TemporaryFile(/tmp/multipartBody8154506487023720814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343909828,"filename":"image_12072025_20_10_33_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2dd440e001e0dd8fd4e940776a7cae2.jpg","text":"TemporaryFile(/tmp/multipartBody6732015397825489079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343909828,"filename":"image_12072025_20_10_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7093afcdf06cf2568b85aad1e859dcc4.jpg","text":"TemporaryFile(/tmp/multipartBody3408772268316954196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343909828,"filename":"image_12072025_20_10_03_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42bf4185a98c6f2f547755b6fe35dd75.jpg","text":"TemporaryFile(/tmp/multipartBody552757440571726109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343909828,"filename":"image_12072025_20_10_14_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71c1a582d2bc568b04d041303e1f8537.jpg","text":"TemporaryFile(/tmp/multipartBody4820124721533431193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343909828,"filename":"image_12072025_20_10_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd22b11666869c7159d6c186c9b8332d.jpg","text":"TemporaryFile(/tmp/multipartBody322856375507243874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343909828,"filename":"image_12072025_20_09_44_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916705","file1":"1371916703","file0":"1371916701","file4":"1371916708","file5":"1371916710","file3":"1371916707"},"map_files_photo_id_array":[{"photo_id":"1371916710","filename":"file5"},{"photo_id":"1371916705","filename":"file2"},{"photo_id":"1371916708","filename":"file4"},{"photo_id":"1371916703","filename":"file1"},{"photo_id":"1371916701","filename":"file0"},{"photo_id":"1371916707","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916703":["hashtag1","hashtag2"]},{"1371916705":["hashtag1","hashtag2"]},{"1371916708":["hashtag1","hashtag2"]},{"1371916707":["hashtag1","hashtag2"]},{"1371916701":["hashtag1","hashtag2"]},{"1371916710":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916703, 1371916705, 1371916708, 1371916707, 1371916701, 1371916710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93826699256897 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:11:31.783345
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_44_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_33_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_24_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_14_10697.jpg', 2), ('/home/nano/Desktop/images/12072025/20/10/image_12072025_20_11_03_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_54_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_44_10652.jpg', '/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_33_9648.jpg', '/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_24_9639.jpg', '/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_14_10697.jpg', '/home/nano/Desktop/images/12072025/20/10/image_12072025_20_11_03_9647.jpg', '/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_44_10652.jpg
/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_33_9648.jpg
/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_24_9639.jpg
/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_14_10697.jpg
/home/nano/Desktop/images/12072025/20/10/image_12072025_20_11_03_9647.jpg
/home/nano/Desktop/images/12072025/20/10/image_12072025_20_10_54_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916721","1371916715","1371916720","1371916723","1371916717","1371916716"],"photo_ids_order":["1371916715","1371916716","1371916717","1371916720","1371916721","1371916723"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6876f71d53d43cb305af099be149498.jpg","text":"TemporaryFile(/tmp/multipartBody7937586003431960208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343954148,"filename":"image_12072025_20_11_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45fbc6dd82333a4f778ae5bb59b7f22b.jpg","text":"TemporaryFile(/tmp/multipartBody945777002420463223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343954148,"filename":"image_12072025_20_11_44_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e8cc0896cd86d5b40533b69e2b67e4f.jpg","text":"TemporaryFile(/tmp/multipartBody2964165770014470654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343954148,"filename":"image_12072025_20_11_14_10697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5070a09f37e617c017b1c187775fc088.jpg","text":"TemporaryFile(/tmp/multipartBody1138668907208622306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343954148,"filename":"image_12072025_20_10_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9190f2b2d56046ed035663b1849d99cf.jpg","text":"TemporaryFile(/tmp/multipartBody8570553005116653095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343954148,"filename":"image_12072025_20_11_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f141192b8fca576693590e7e47cdf0f5.jpg","text":"TemporaryFile(/tmp/multipartBody5340814345997173009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343954148,"filename":"image_12072025_20_11_33_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916717","file1":"1371916716","file0":"1371916715","file4":"1371916721","file5":"1371916723","file3":"1371916720"},"map_files_photo_id_array":[{"photo_id":"1371916723","filename":"file5"},{"photo_id":"1371916717","filename":"file2"},{"photo_id":"1371916721","filename":"file4"},{"photo_id":"1371916716","filename":"file1"},{"photo_id":"1371916715","filename":"file0"},{"photo_id":"1371916720","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916721":["hashtag1","hashtag2"]},{"1371916715":["hashtag1","hashtag2"]},{"1371916720":["hashtag1","hashtag2"]},{"1371916723":["hashtag1","hashtag2"]},{"1371916717":["hashtag1","hashtag2"]},{"1371916716":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916721, 1371916715, 1371916720, 1371916723, 1371916717, 1371916716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10091972351074 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:12:16.859884
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_44_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_34_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_24_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_14_9673.jpg', 2), ('/home/nano/Desktop/images/12072025/20/11/image_12072025_20_12_04_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_44_9650.jpg', '/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_34_10661.jpg', '/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_24_9656.jpg', '/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_14_9673.jpg', '/home/nano/Desktop/images/12072025/20/11/image_12072025_20_12_04_10659.jpg', '/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_44_9650.jpg
/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_34_10661.jpg
/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_24_9656.jpg
/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_14_9673.jpg
/home/nano/Desktop/images/12072025/20/11/image_12072025_20_12_04_10659.jpg
/home/nano/Desktop/images/12072025/20/11/image_12072025_20_11_54_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916732","1371916731","1371916734","1371916728","1371916730","1371916733"],"photo_ids_order":["1371916728","1371916730","1371916731","1371916732","1371916733","1371916734"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/319f0d12c49b600234d18c9a351c172f.jpg","text":"TemporaryFile(/tmp/multipartBody1487640664591316969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343999469,"filename":"image_12072025_20_12_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15ca524da016d9bc45cb9be243e2eb90.jpg","text":"TemporaryFile(/tmp/multipartBody1044941240131462636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343999469,"filename":"image_12072025_20_12_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98aa5054d8b29abcfb03e3eaa3637420.jpg","text":"TemporaryFile(/tmp/multipartBody1057728450056795888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343999469,"filename":"image_12072025_20_11_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a95de4737bc4f953d14d0db3a3cfab5.jpg","text":"TemporaryFile(/tmp/multipartBody4398372334604821852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343999469,"filename":"image_12072025_20_12_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ddaaa2b51fac5401f96f5fa7eeb49301.jpg","text":"TemporaryFile(/tmp/multipartBody9000678518500338132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343999469,"filename":"image_12072025_20_12_34_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9745adbd5af620c646f584b59a66b39d.jpg","text":"TemporaryFile(/tmp/multipartBody4431641913726621026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752343999469,"filename":"image_12072025_20_12_04_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916731","file1":"1371916730","file0":"1371916728","file4":"1371916733","file5":"1371916734","file3":"1371916732"},"map_files_photo_id_array":[{"photo_id":"1371916734","filename":"file5"},{"photo_id":"1371916731","filename":"file2"},{"photo_id":"1371916733","filename":"file4"},{"photo_id":"1371916730","filename":"file1"},{"photo_id":"1371916728","filename":"file0"},{"photo_id":"1371916732","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916732":["hashtag1","hashtag2"]},{"1371916731":["hashtag1","hashtag2"]},{"1371916734":["hashtag1","hashtag2"]},{"1371916728":["hashtag1","hashtag2"]},{"1371916730":["hashtag1","hashtag2"]},{"1371916733":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916732, 1371916731, 1371916734, 1371916728, 1371916730, 1371916733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34986233711243 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:13:02.562549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/18/image_10072025_16_19_03_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_54_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_44_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_33_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_24_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_14_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/18/image_10072025_16_19_03_9631.jpg', '/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_54_9626.jpg', '/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_44_10632.jpg', '/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_33_9627.jpg', '/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_24_9614.jpg', '/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_14_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/18/image_10072025_16_19_03_9631.jpg
/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_54_9626.jpg
/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_44_10632.jpg
/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_33_9627.jpg
/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_24_9614.jpg
/home/nano/Desktop/images/10072025/16/18/image_10072025_16_18_14_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916750","1371916747","1371916744","1371916749","1371916748","1371916745"],"photo_ids_order":["1371916744","1371916745","1371916747","1371916748","1371916749","1371916750"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d130f41f64407a025f16078c64fb8f1.jpg","text":"TemporaryFile(/tmp/multipartBody5126278884412355987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344045868,"filename":"image_10072025_16_18_14_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/190f641964b8c9230143c87e32b19b65.jpg","text":"TemporaryFile(/tmp/multipartBody2781998333199250391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344045868,"filename":"image_10072025_16_18_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe8dfb5e3b13d3ce9093d23230f71863.jpg","text":"TemporaryFile(/tmp/multipartBody210695309255257106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344045868,"filename":"image_10072025_16_19_03_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08b40390d7aa9f0d23f59b4016b8d160.jpg","text":"TemporaryFile(/tmp/multipartBody2850120482537081604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344045868,"filename":"image_10072025_16_18_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/372371167bdf99384fa7cfa73cfa6cc9.jpg","text":"TemporaryFile(/tmp/multipartBody896382772888651507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344045868,"filename":"image_10072025_16_18_33_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13fd98372ff3c4b3be210b095c213d0e.jpg","text":"TemporaryFile(/tmp/multipartBody6378213424503183855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344045868,"filename":"image_10072025_16_18_54_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916747","file1":"1371916745","file0":"1371916744","file4":"1371916749","file5":"1371916750","file3":"1371916748"},"map_files_photo_id_array":[{"photo_id":"1371916750","filename":"file5"},{"photo_id":"1371916747","filename":"file2"},{"photo_id":"1371916749","filename":"file4"},{"photo_id":"1371916745","filename":"file1"},{"photo_id":"1371916744","filename":"file0"},{"photo_id":"1371916748","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371916750":["hashtag1","hashtag2"]},{"1371916747":["hashtag1","hashtag2"]},{"1371916744":["hashtag1","hashtag2"]},{"1371916749":["hashtag1","hashtag2"]},{"1371916748":["hashtag1","hashtag2"]},{"1371916745":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371916750, 1371916747, 1371916744, 1371916749, 1371916748, 1371916745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.925774574279785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:13:46.975565
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_44_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_34_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_24_9674.jpg', 2), ('/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_14_9679.jpg', 2), ('/home/nano/Desktop/images/12072025/20/12/image_12072025_20_13_04_10692.jpg', 2), ('/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_54_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_44_9634.jpg', '/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_34_10661.jpg', '/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_24_9674.jpg', '/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_14_9679.jpg', '/home/nano/Desktop/images/12072025/20/12/image_12072025_20_13_04_10692.jpg', '/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_44_9634.jpg
/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_34_10661.jpg
/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_24_9674.jpg
/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_14_9679.jpg
/home/nano/Desktop/images/12072025/20/12/image_12072025_20_13_04_10692.jpg
/home/nano/Desktop/images/12072025/20/12/image_12072025_20_12_54_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916759","1371916756","1371916761","1371916758","1371916754","1371916763"],"photo_ids_order":["1371916754","1371916756","1371916758","1371916759","1371916761","1371916763"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/485378c13ffb31b7c2efa69abf9ef464.jpg","text":"TemporaryFile(/tmp/multipartBody5262176279822170140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344088978,"filename":"image_12072025_20_13_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3b6963f64544470f379a45d56be03d3.jpg","text":"TemporaryFile(/tmp/multipartBody3385851531224854257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344088978,"filename":"image_12072025_20_13_34_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9804c9fe825b5f793c3e79ed79bad6fa.jpg","text":"TemporaryFile(/tmp/multipartBody2532186113057243754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344088978,"filename":"image_12072025_20_13_04_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aabb3d51fa5ed86c039e1bf43b22e68f.jpg","text":"TemporaryFile(/tmp/multipartBody8940090221156959725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344088978,"filename":"image_12072025_20_13_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c1929922d1a3b95d317115575edf777.jpg","text":"TemporaryFile(/tmp/multipartBody5504537974748327594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344088978,"filename":"image_12072025_20_13_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5dad92cd516c8a8ae87f436b6d37d957.jpg","text":"TemporaryFile(/tmp/multipartBody2643918580791651664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344088978,"filename":"image_12072025_20_12_54_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916758","file1":"1371916756","file0":"1371916754","file4":"1371916761","file5":"1371916763","file3":"1371916759"},"map_files_photo_id_array":[{"photo_id":"1371916763","filename":"file5"},{"photo_id":"1371916758","filename":"file2"},{"photo_id":"1371916761","filename":"file4"},{"photo_id":"1371916756","filename":"file1"},{"photo_id":"1371916754","filename":"file0"},{"photo_id":"1371916759","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916759":["hashtag1","hashtag2"]},{"1371916756":["hashtag1","hashtag2"]},{"1371916761":["hashtag1","hashtag2"]},{"1371916758":["hashtag1","hashtag2"]},{"1371916754":["hashtag1","hashtag2"]},{"1371916763":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916759, 1371916756, 1371916761, 1371916758, 1371916754, 1371916763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.90833854675293 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:14:32.116727
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_44_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_34_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_24_9669.jpg', 2), ('/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_14_9671.jpg', 2), ('/home/nano/Desktop/images/12072025/20/13/image_12072025_20_14_04_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_44_9669.jpg', '/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_34_10655.jpg', '/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_24_9669.jpg', '/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_14_9671.jpg', '/home/nano/Desktop/images/12072025/20/13/image_12072025_20_14_04_10665.jpg', '/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_54_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_44_9669.jpg
/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_34_10655.jpg
/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_24_9669.jpg
/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_14_9671.jpg
/home/nano/Desktop/images/12072025/20/13/image_12072025_20_14_04_10665.jpg
/home/nano/Desktop/images/12072025/20/13/image_12072025_20_13_54_9642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916777","1371916768","1371916776","1371916770","1371916773","1371916769"],"photo_ids_order":["1371916768","1371916769","1371916770","1371916773","1371916776","1371916777"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/433e8e71a2229aaa0cb78f1be7b21afa.jpg","text":"TemporaryFile(/tmp/multipartBody5841819440048760053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344134361,"filename":"image_12072025_20_13_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d3489b4a19ec081d6b6ec25cbc7f16a.jpg","text":"TemporaryFile(/tmp/multipartBody4088137562649254452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344134361,"filename":"image_12072025_20_14_44_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c133e86b937c11ea44f98674c632117f.jpg","text":"TemporaryFile(/tmp/multipartBody639598030330657095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344134361,"filename":"image_12072025_20_14_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a303c387ca7ee1ee007ba9ab839221c.jpg","text":"TemporaryFile(/tmp/multipartBody131144935699704452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344134361,"filename":"image_12072025_20_14_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71154dfdff42c4723da1594570b1ed43.jpg","text":"TemporaryFile(/tmp/multipartBody5582044268492803429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344134361,"filename":"image_12072025_20_14_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88c458757ddb7a8be8413a6f8f34db9c.jpg","text":"TemporaryFile(/tmp/multipartBody740393409690555307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344134361,"filename":"image_12072025_20_14_34_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916770","file1":"1371916769","file0":"1371916768","file4":"1371916776","file5":"1371916777","file3":"1371916773"},"map_files_photo_id_array":[{"photo_id":"1371916777","filename":"file5"},{"photo_id":"1371916770","filename":"file2"},{"photo_id":"1371916776","filename":"file4"},{"photo_id":"1371916769","filename":"file1"},{"photo_id":"1371916768","filename":"file0"},{"photo_id":"1371916773","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916777":["hashtag1","hashtag2"]},{"1371916768":["hashtag1","hashtag2"]},{"1371916776":["hashtag1","hashtag2"]},{"1371916770":["hashtag1","hashtag2"]},{"1371916773":["hashtag1","hashtag2"]},{"1371916769":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916777, 1371916768, 1371916776, 1371916770, 1371916773, 1371916769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.712061405181885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:15:17.181682
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_44_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_34_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_23_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_14_9679.jpg', 2), ('/home/nano/Desktop/images/12072025/20/14/image_12072025_20_15_04_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_54_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_44_9636.jpg', '/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_34_10659.jpg', '/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_23_9641.jpg', '/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_14_9679.jpg', '/home/nano/Desktop/images/12072025/20/14/image_12072025_20_15_04_10622.jpg', '/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_54_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_44_9636.jpg
/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_34_10659.jpg
/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_23_9641.jpg
/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_14_9679.jpg
/home/nano/Desktop/images/12072025/20/14/image_12072025_20_15_04_10622.jpg
/home/nano/Desktop/images/12072025/20/14/image_12072025_20_14_54_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916783","1371916786","1371916788","1371916785","1371916784","1371916787"],"photo_ids_order":["1371916783","1371916784","1371916785","1371916786","1371916787","1371916788"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/320270865f550049755082a10d6cf118.jpg","text":"TemporaryFile(/tmp/multipartBody9068357176031700856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344179391,"filename":"image_12072025_20_15_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/074b2a32d7579b808f6af3727620815a.jpg","text":"TemporaryFile(/tmp/multipartBody945479774843880411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344179391,"filename":"image_12072025_20_15_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a60b0ce59fa27a4eec87bd4990ddb60.jpg","text":"TemporaryFile(/tmp/multipartBody3922390677257417365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344179391,"filename":"image_12072025_20_14_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71b2205c1b8de1dd0a8bfed7ef865852.jpg","text":"TemporaryFile(/tmp/multipartBody4585877618248896110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344179391,"filename":"image_12072025_20_15_23_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3cbaeea4eb32c0ca80adb96d089f1b17.jpg","text":"TemporaryFile(/tmp/multipartBody7968181746073509374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344179391,"filename":"image_12072025_20_15_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0464444fcf10d0416eafaf2718a4ce70.jpg","text":"TemporaryFile(/tmp/multipartBody6379648424354594174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344179391,"filename":"image_12072025_20_15_04_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916785","file1":"1371916784","file0":"1371916783","file4":"1371916787","file5":"1371916788","file3":"1371916786"},"map_files_photo_id_array":[{"photo_id":"1371916788","filename":"file5"},{"photo_id":"1371916785","filename":"file2"},{"photo_id":"1371916787","filename":"file4"},{"photo_id":"1371916784","filename":"file1"},{"photo_id":"1371916783","filename":"file0"},{"photo_id":"1371916786","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916783":["hashtag1","hashtag2"]},{"1371916786":["hashtag1","hashtag2"]},{"1371916788":["hashtag1","hashtag2"]},{"1371916785":["hashtag1","hashtag2"]},{"1371916784":["hashtag1","hashtag2"]},{"1371916787":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916783, 1371916786, 1371916788, 1371916785, 1371916784, 1371916787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25739598274231 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:16:02.642963
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/17/image_10072025_16_18_03_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_54_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_43_9617.jpg', 2), ('/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_33_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_24_10622.jpg', 2), ('/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_13_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/17/image_10072025_16_18_03_9630.jpg', '/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_54_10632.jpg', '/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_43_9617.jpg', '/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_33_9624.jpg', '/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_24_10622.jpg', '/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_13_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/17/image_10072025_16_18_03_9630.jpg
/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_54_10632.jpg
/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_43_9617.jpg
/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_33_9624.jpg
/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_24_10622.jpg
/home/nano/Desktop/images/10072025/16/17/image_10072025_16_17_13_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916801","1371916797","1371916800","1371916799","1371916802","1371916795"],"photo_ids_order":["1371916795","1371916797","1371916799","1371916800","1371916801","1371916802"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f086bad7c592fbdcf2cdd994ab175300.jpg","text":"TemporaryFile(/tmp/multipartBody3001349708017928619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344226067,"filename":"image_10072025_16_17_24_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2c7898a951ec7a327dcc6c7298773d8.jpg","text":"TemporaryFile(/tmp/multipartBody887415013851157605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344226067,"filename":"image_10072025_16_17_54_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88e744494c91a1761f930b7e4d6c50d6.jpg","text":"TemporaryFile(/tmp/multipartBody4000990086192626543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344226067,"filename":"image_10072025_16_17_33_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b000dd80e3103abf404db29886965d3e.jpg","text":"TemporaryFile(/tmp/multipartBody5960713324088579833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344226067,"filename":"image_10072025_16_17_43_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b31dd89d839cf38b0847dca3f54cb61.jpg","text":"TemporaryFile(/tmp/multipartBody6174685552888833664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344226067,"filename":"image_10072025_16_17_13_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/747ac89fefa9ab6fbe2a59c3dbd56eaa.jpg","text":"TemporaryFile(/tmp/multipartBody4406788461451678710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344226067,"filename":"image_10072025_16_18_03_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916799","file1":"1371916797","file0":"1371916795","file4":"1371916801","file5":"1371916802","file3":"1371916800"},"map_files_photo_id_array":[{"photo_id":"1371916802","filename":"file5"},{"photo_id":"1371916799","filename":"file2"},{"photo_id":"1371916801","filename":"file4"},{"photo_id":"1371916797","filename":"file1"},{"photo_id":"1371916795","filename":"file0"},{"photo_id":"1371916800","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371916801":["hashtag1","hashtag2"]},{"1371916797":["hashtag1","hashtag2"]},{"1371916800":["hashtag1","hashtag2"]},{"1371916799":["hashtag1","hashtag2"]},{"1371916802":["hashtag1","hashtag2"]},{"1371916795":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371916801, 1371916797, 1371916800, 1371916799, 1371916802, 1371916795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14468717575073 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:16:47.293143
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_44_9670.jpg', 2), ('/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_34_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_24_9666.jpg', 2), ('/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_14_9738.jpg', 2), ('/home/nano/Desktop/images/12072025/20/15/image_12072025_20_16_04_10680.jpg', 2), ('/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_53_9717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_44_9670.jpg', '/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_34_10648.jpg', '/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_24_9666.jpg', '/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_14_9738.jpg', '/home/nano/Desktop/images/12072025/20/15/image_12072025_20_16_04_10680.jpg', '/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_53_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_44_9670.jpg
/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_34_10648.jpg
/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_24_9666.jpg
/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_14_9738.jpg
/home/nano/Desktop/images/12072025/20/15/image_12072025_20_16_04_10680.jpg
/home/nano/Desktop/images/12072025/20/15/image_12072025_20_15_53_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916808","1371916813","1371916810","1371916812","1371916806","1371916815"],"photo_ids_order":["1371916806","1371916808","1371916810","1371916812","1371916813","1371916815"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eff42073f923fe510bbe195a52ad8392.jpg","text":"TemporaryFile(/tmp/multipartBody1108262460568917349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344268927,"filename":"image_12072025_20_16_34_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/484698eda6a067f3d5f04aae93c78e7f.jpg","text":"TemporaryFile(/tmp/multipartBody1946965972648024537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344268927,"filename":"image_12072025_20_16_04_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/426263a0e8900460bffe58323bb431cb.jpg","text":"TemporaryFile(/tmp/multipartBody2518984925491128028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344268927,"filename":"image_12072025_20_16_24_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a1d727f9d761fd2c36b9be6db0df97e8.jpg","text":"TemporaryFile(/tmp/multipartBody3796731138497951819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344268927,"filename":"image_12072025_20_16_14_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f567e75ccfe445e80ce6113324c373c8.jpg","text":"TemporaryFile(/tmp/multipartBody4966868575801840718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344268927,"filename":"image_12072025_20_16_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c1a1e11f268a421f836b672119bb667.jpg","text":"TemporaryFile(/tmp/multipartBody6624430189640356653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344268927,"filename":"image_12072025_20_15_53_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916810","file1":"1371916808","file0":"1371916806","file4":"1371916813","file5":"1371916815","file3":"1371916812"},"map_files_photo_id_array":[{"photo_id":"1371916815","filename":"file5"},{"photo_id":"1371916810","filename":"file2"},{"photo_id":"1371916813","filename":"file4"},{"photo_id":"1371916808","filename":"file1"},{"photo_id":"1371916806","filename":"file0"},{"photo_id":"1371916812","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916808":["hashtag1","hashtag2"]},{"1371916813":["hashtag1","hashtag2"]},{"1371916810":["hashtag1","hashtag2"]},{"1371916812":["hashtag1","hashtag2"]},{"1371916806":["hashtag1","hashtag2"]},{"1371916815":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916808, 1371916813, 1371916810, 1371916812, 1371916806, 1371916815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19505286216736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:17:32.376741
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_44_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_34_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_23_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_14_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/20/16/image_12072025_20_17_04_10669.jpg', 2), ('/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_53_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_44_9620.jpg', '/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_34_10627.jpg', '/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_23_9617.jpg', '/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_14_9643.jpg', '/home/nano/Desktop/images/12072025/20/16/image_12072025_20_17_04_10669.jpg', '/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_53_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_44_9620.jpg
/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_34_10627.jpg
/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_23_9617.jpg
/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_14_9643.jpg
/home/nano/Desktop/images/12072025/20/16/image_12072025_20_17_04_10669.jpg
/home/nano/Desktop/images/12072025/20/16/image_12072025_20_16_53_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916824","1371916827","1371916818","1371916820","1371916823","1371916817"],"photo_ids_order":["1371916817","1371916818","1371916820","1371916823","1371916824","1371916827"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed97d2510e061fc8027adaba506db32d.jpg","text":"TemporaryFile(/tmp/multipartBody417099540005642914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344314019,"filename":"image_12072025_20_17_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46e0fd6573da001c77151f52ead31130.jpg","text":"TemporaryFile(/tmp/multipartBody4361244897911107429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344314019,"filename":"image_12072025_20_16_53_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0182529ab93e60923a3e13f6664d4797.jpg","text":"TemporaryFile(/tmp/multipartBody6872609782122240020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344314019,"filename":"image_12072025_20_17_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ba76f6843be0a359cae66195a380541.jpg","text":"TemporaryFile(/tmp/multipartBody1362993819709955203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344314019,"filename":"image_12072025_20_17_23_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/caca449bd4507180e13b234538f29231.jpg","text":"TemporaryFile(/tmp/multipartBody4309131324245120270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344314019,"filename":"image_12072025_20_17_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc87aa1777ab76e9b8b1891173afecda.jpg","text":"TemporaryFile(/tmp/multipartBody3483793282332912728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344314019,"filename":"image_12072025_20_17_44_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916820","file1":"1371916818","file0":"1371916817","file4":"1371916824","file5":"1371916827","file3":"1371916823"},"map_files_photo_id_array":[{"photo_id":"1371916827","filename":"file5"},{"photo_id":"1371916820","filename":"file2"},{"photo_id":"1371916824","filename":"file4"},{"photo_id":"1371916818","filename":"file1"},{"photo_id":"1371916817","filename":"file0"},{"photo_id":"1371916823","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916824":["hashtag1","hashtag2"]},{"1371916827":["hashtag1","hashtag2"]},{"1371916818":["hashtag1","hashtag2"]},{"1371916820":["hashtag1","hashtag2"]},{"1371916823":["hashtag1","hashtag2"]},{"1371916817":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916824, 1371916827, 1371916818, 1371916820, 1371916823, 1371916817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.638304471969604 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:18:17.472660
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_43_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_14_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/20/17/image_12072025_20_18_04_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_54_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_43_9607.jpg', '/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_34_9610.jpg', '/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_24_10620.jpg', '/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_14_9649.jpg', '/home/nano/Desktop/images/12072025/20/17/image_12072025_20_18_04_9635.jpg', '/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_54_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_43_9607.jpg
/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_34_9610.jpg
/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_24_10620.jpg
/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_14_9649.jpg
/home/nano/Desktop/images/12072025/20/17/image_12072025_20_18_04_9635.jpg
/home/nano/Desktop/images/12072025/20/17/image_12072025_20_17_54_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916840","1371916834","1371916836","1371916841","1371916835","1371916838"],"photo_ids_order":["1371916834","1371916835","1371916836","1371916838","1371916840","1371916841"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2c2ca46e26477064f639dcc78ba3494.jpg","text":"TemporaryFile(/tmp/multipartBody4562437039264827284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344359211,"filename":"image_12072025_20_18_04_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3235ded9fce054c2c148225531d72a23.jpg","text":"TemporaryFile(/tmp/multipartBody8121045642740394274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344359211,"filename":"image_12072025_20_18_43_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f56f8b34d9ae2b872289ed38a0d4381.jpg","text":"TemporaryFile(/tmp/multipartBody7293612986818348511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344359211,"filename":"image_12072025_20_18_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e2123ec635d8b9356ef2c2dc29e562f.jpg","text":"TemporaryFile(/tmp/multipartBody1332175913390096139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344359211,"filename":"image_12072025_20_17_54_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0a4a3ef8520c5362ef5c52a82e1a26d.jpg","text":"TemporaryFile(/tmp/multipartBody1113068175619806579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344359211,"filename":"image_12072025_20_18_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/749b0fc8b4a7fa0d0c2c456a255f84fc.jpg","text":"TemporaryFile(/tmp/multipartBody8262775350836793934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344359211,"filename":"image_12072025_20_18_14_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916836","file1":"1371916835","file0":"1371916834","file4":"1371916840","file5":"1371916841","file3":"1371916838"},"map_files_photo_id_array":[{"photo_id":"1371916841","filename":"file5"},{"photo_id":"1371916836","filename":"file2"},{"photo_id":"1371916840","filename":"file4"},{"photo_id":"1371916835","filename":"file1"},{"photo_id":"1371916834","filename":"file0"},{"photo_id":"1371916838","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916840":["hashtag1","hashtag2"]},{"1371916834":["hashtag1","hashtag2"]},{"1371916836":["hashtag1","hashtag2"]},{"1371916841":["hashtag1","hashtag2"]},{"1371916835":["hashtag1","hashtag2"]},{"1371916838":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916840, 1371916834, 1371916836, 1371916841, 1371916835, 1371916838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02289175987244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:19:03.609129
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/16/image_10072025_16_17_04_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_54_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_43_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_34_10630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_23_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_13_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/16/image_10072025_16_17_04_9630.jpg', '/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_54_10633.jpg', '/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_43_9632.jpg', '/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_34_10630.jpg', '/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_23_9629.jpg', '/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_13_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/16/image_10072025_16_17_04_9630.jpg
/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_54_10633.jpg
/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_43_9632.jpg
/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_34_10630.jpg
/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_23_9629.jpg
/home/nano/Desktop/images/10072025/16/16/image_10072025_16_16_13_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916858","1371916852","1371916860","1371916854","1371916856","1371916859"],"photo_ids_order":["1371916852","1371916854","1371916856","1371916858","1371916859","1371916860"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c836bac206e0db2b140bc9422cdd0a3.jpg","text":"TemporaryFile(/tmp/multipartBody4876894582675594895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344406606,"filename":"image_10072025_16_16_34_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe2c334840d32d318e2109800e46f831.jpg","text":"TemporaryFile(/tmp/multipartBody243029945364504813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344406606,"filename":"image_10072025_16_17_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5652ccebb9ae8bc5d2d3ebdb1a24629.jpg","text":"TemporaryFile(/tmp/multipartBody315432602203934421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344406606,"filename":"image_10072025_16_16_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de9088d14ee7e350b97ea4854bcee21d.jpg","text":"TemporaryFile(/tmp/multipartBody3119692942114629217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344406606,"filename":"image_10072025_16_16_54_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e56cf92805bd54c5eeff95fd0764caf.jpg","text":"TemporaryFile(/tmp/multipartBody7526979391868024264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344406606,"filename":"image_10072025_16_16_43_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/398d5e1e618bb48b304922c8e0d8a3e4.jpg","text":"TemporaryFile(/tmp/multipartBody6816512663774500232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344406606,"filename":"image_10072025_16_16_23_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916856","file1":"1371916854","file0":"1371916852","file4":"1371916859","file5":"1371916860","file3":"1371916858"},"map_files_photo_id_array":[{"photo_id":"1371916860","filename":"file5"},{"photo_id":"1371916856","filename":"file2"},{"photo_id":"1371916859","filename":"file4"},{"photo_id":"1371916854","filename":"file1"},{"photo_id":"1371916852","filename":"file0"},{"photo_id":"1371916858","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371916858":["hashtag1","hashtag2"]},{"1371916852":["hashtag1","hashtag2"]},{"1371916860":["hashtag1","hashtag2"]},{"1371916854":["hashtag1","hashtag2"]},{"1371916856":["hashtag1","hashtag2"]},{"1371916859":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371916858, 1371916852, 1371916860, 1371916854, 1371916856, 1371916859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.045849084854126 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:19:47.578845
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_44_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_34_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_24_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_14_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/20/18/image_12072025_20_19_04_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_54_10611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_44_10615.jpg', '/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_34_9604.jpg', '/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_24_9623.jpg', '/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_14_10636.jpg', '/home/nano/Desktop/images/12072025/20/18/image_12072025_20_19_04_9604.jpg', '/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_54_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_44_10615.jpg
/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_34_9604.jpg
/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_24_9623.jpg
/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_14_10636.jpg
/home/nano/Desktop/images/12072025/20/18/image_12072025_20_19_04_9604.jpg
/home/nano/Desktop/images/12072025/20/18/image_12072025_20_18_54_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916876","1371916873","1371916881","1371916878","1371916880","1371916874"],"photo_ids_order":["1371916873","1371916874","1371916876","1371916878","1371916880","1371916881"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/873482de9c89988d5fc4df51134d918d.jpg","text":"TemporaryFile(/tmp/multipartBody2580310714204088546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344449156,"filename":"image_12072025_20_19_24_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00bd29fd9dbf47660edc98553711c556.jpg","text":"TemporaryFile(/tmp/multipartBody4270896953524544338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344449156,"filename":"image_12072025_20_19_44_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d87096192121a82bd0b6941dff7d6f3.jpg","text":"TemporaryFile(/tmp/multipartBody670826708769473579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344449156,"filename":"image_12072025_20_18_54_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ed795df0d9c9193aee0bb0cfe898c39.jpg","text":"TemporaryFile(/tmp/multipartBody655221929750571580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344449156,"filename":"image_12072025_20_19_14_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/351a2b1d2f7a32e3e3f5f7b679f4e9f0.jpg","text":"TemporaryFile(/tmp/multipartBody1806651037491376399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344449156,"filename":"image_12072025_20_19_04_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f53baa494802cd79a232aedddb864a8b.jpg","text":"TemporaryFile(/tmp/multipartBody6173011263839482255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344449156,"filename":"image_12072025_20_19_34_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916876","file1":"1371916874","file0":"1371916873","file4":"1371916880","file5":"1371916881","file3":"1371916878"},"map_files_photo_id_array":[{"photo_id":"1371916881","filename":"file5"},{"photo_id":"1371916876","filename":"file2"},{"photo_id":"1371916880","filename":"file4"},{"photo_id":"1371916874","filename":"file1"},{"photo_id":"1371916873","filename":"file0"},{"photo_id":"1371916878","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916876":["hashtag1","hashtag2"]},{"1371916873":["hashtag1","hashtag2"]},{"1371916881":["hashtag1","hashtag2"]},{"1371916878":["hashtag1","hashtag2"]},{"1371916880":["hashtag1","hashtag2"]},{"1371916874":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916876, 1371916873, 1371916881, 1371916878, 1371916880, 1371916874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2069878578186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:20:32.699917
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_44_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_34_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_24_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_14_10699.jpg', 2), ('/home/nano/Desktop/images/12072025/20/19/image_12072025_20_20_03_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_54_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_44_9608.jpg', '/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_34_10611.jpg', '/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_24_9606.jpg', '/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_14_10699.jpg', '/home/nano/Desktop/images/12072025/20/19/image_12072025_20_20_03_9612.jpg', '/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_54_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_44_9608.jpg
/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_34_10611.jpg
/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_24_9606.jpg
/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_14_10699.jpg
/home/nano/Desktop/images/12072025/20/19/image_12072025_20_20_03_9612.jpg
/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_54_9604.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5748145580291748 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:20:47.674622
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_44_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_34_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_24_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_14_10699.jpg', 2), ('/home/nano/Desktop/images/12072025/20/19/image_12072025_20_20_03_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_54_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_44_9608.jpg', '/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_34_10611.jpg', '/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_24_9606.jpg', '/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_14_10699.jpg', '/home/nano/Desktop/images/12072025/20/19/image_12072025_20_20_03_9612.jpg', '/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_54_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_44_9608.jpg
/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_34_10611.jpg
/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_24_9606.jpg
/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_14_10699.jpg
/home/nano/Desktop/images/12072025/20/19/image_12072025_20_20_03_9612.jpg
/home/nano/Desktop/images/12072025/20/19/image_12072025_20_19_54_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916905","1371916908","1371916898","1371916895","1371916901","1371916904"],"photo_ids_order":["1371916895","1371916898","1371916901","1371916904","1371916905","1371916908"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13c28577ce87ff67d2641c27a7b17931.jpg","text":"TemporaryFile(/tmp/multipartBody7909052259350294874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344509390,"filename":"image_12072025_20_20_03_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f26677ddaeeede713e2d417be6acb83b.jpg","text":"TemporaryFile(/tmp/multipartBody2563426539976792980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344509390,"filename":"image_12072025_20_19_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04affce64a113ed4eecaf2ca1cf9956d.jpg","text":"TemporaryFile(/tmp/multipartBody8413190061520289608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344509390,"filename":"image_12072025_20_20_34_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ea0900e794332dcdd7b763d32e7a428.jpg","text":"TemporaryFile(/tmp/multipartBody5723052661811242660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344509390,"filename":"image_12072025_20_20_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3abbded538c7f21f8f9e2d750431a5e4.jpg","text":"TemporaryFile(/tmp/multipartBody4122288973059122615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344509390,"filename":"image_12072025_20_20_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/689c1a68ce76730badcd4b980ec177c5.jpg","text":"TemporaryFile(/tmp/multipartBody8810722045300459505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344509390,"filename":"image_12072025_20_20_14_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916901","file1":"1371916898","file0":"1371916895","file4":"1371916905","file5":"1371916908","file3":"1371916904"},"map_files_photo_id_array":[{"photo_id":"1371916908","filename":"file5"},{"photo_id":"1371916901","filename":"file2"},{"photo_id":"1371916905","filename":"file4"},{"photo_id":"1371916898","filename":"file1"},{"photo_id":"1371916895","filename":"file0"},{"photo_id":"1371916904","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916905":["hashtag1","hashtag2"]},{"1371916908":["hashtag1","hashtag2"]},{"1371916898":["hashtag1","hashtag2"]},{"1371916895":["hashtag1","hashtag2"]},{"1371916901":["hashtag1","hashtag2"]},{"1371916904":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916905, 1371916908, 1371916898, 1371916895, 1371916901, 1371916904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.71993851661682 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:21:31.773365
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_44_9599.jpg', 2), ('/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_34_10612.jpg', 2), ('/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_23_9602.jpg', 2), ('/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_14_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/20/20/image_12072025_20_21_04_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_53_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_44_9599.jpg', '/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_34_10612.jpg', '/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_23_9602.jpg', '/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_14_9616.jpg', '/home/nano/Desktop/images/12072025/20/20/image_12072025_20_21_04_10622.jpg', '/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_53_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_44_9599.jpg
/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_34_10612.jpg
/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_23_9602.jpg
/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_14_9616.jpg
/home/nano/Desktop/images/12072025/20/20/image_12072025_20_21_04_10622.jpg
/home/nano/Desktop/images/12072025/20/20/image_12072025_20_20_53_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916921","1371916917","1371916920","1371916914","1371916916","1371916919"],"photo_ids_order":["1371916914","1371916916","1371916917","1371916919","1371916920","1371916921"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f66fdad8623dbe1e54ad593da411f68b.jpg","text":"TemporaryFile(/tmp/multipartBody6267551640545967738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344553641,"filename":"image_12072025_20_20_53_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39c79fb998495b977f374964b5672f10.jpg","text":"TemporaryFile(/tmp/multipartBody2150809594025039023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344553641,"filename":"image_12072025_20_21_23_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3260a1b55b2fa9195c7613f539d1971.jpg","text":"TemporaryFile(/tmp/multipartBody8152300330361712013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344553641,"filename":"image_12072025_20_21_04_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab95ac5595c4eea68cd955a84f024762.jpg","text":"TemporaryFile(/tmp/multipartBody8971174007900281461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344553641,"filename":"image_12072025_20_21_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6eb1658082534c994afaa9f752d15c05.jpg","text":"TemporaryFile(/tmp/multipartBody2263335209010532791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344553641,"filename":"image_12072025_20_21_34_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/245a8398c517bdeb1530363f19b9f52b.jpg","text":"TemporaryFile(/tmp/multipartBody1995762866134403663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344553641,"filename":"image_12072025_20_21_14_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916917","file1":"1371916916","file0":"1371916914","file4":"1371916920","file5":"1371916921","file3":"1371916919"},"map_files_photo_id_array":[{"photo_id":"1371916921","filename":"file5"},{"photo_id":"1371916917","filename":"file2"},{"photo_id":"1371916920","filename":"file4"},{"photo_id":"1371916916","filename":"file1"},{"photo_id":"1371916914","filename":"file0"},{"photo_id":"1371916919","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916921":["hashtag1","hashtag2"]},{"1371916917":["hashtag1","hashtag2"]},{"1371916920":["hashtag1","hashtag2"]},{"1371916914":["hashtag1","hashtag2"]},{"1371916916":["hashtag1","hashtag2"]},{"1371916919":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916921, 1371916917, 1371916920, 1371916914, 1371916916, 1371916919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47966384887695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:22:16.878846
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_44_10611.jpg', 2), ('/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_24_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_13_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/20/21/image_12072025_20_22_04_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_54_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_44_10611.jpg', '/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_34_9610.jpg', '/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_24_10614.jpg', '/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_13_9627.jpg', '/home/nano/Desktop/images/12072025/20/21/image_12072025_20_22_04_9629.jpg', '/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_44_10611.jpg
/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_34_9610.jpg
/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_24_10614.jpg
/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_13_9627.jpg
/home/nano/Desktop/images/12072025/20/21/image_12072025_20_22_04_9629.jpg
/home/nano/Desktop/images/12072025/20/21/image_12072025_20_21_54_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916930","1371916927","1371916924","1371916932","1371916929","1371916925"],"photo_ids_order":["1371916924","1371916925","1371916927","1371916929","1371916930","1371916932"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b16f37e2ed44e41e54133ba6a2ead8dc.jpg","text":"TemporaryFile(/tmp/multipartBody6066613289869151988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344599366,"filename":"image_12072025_20_22_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6bdf24ea59830e4aec5d864576e60114.jpg","text":"TemporaryFile(/tmp/multipartBody3423725833875755608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344599366,"filename":"image_12072025_20_22_24_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54c3110919ba5405b4acc854bedbef3e.jpg","text":"TemporaryFile(/tmp/multipartBody595408054333104639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344599366,"filename":"image_12072025_20_22_44_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/801702a1b034ab02dbb658adf9646480.jpg","text":"TemporaryFile(/tmp/multipartBody1479818116934046726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344599366,"filename":"image_12072025_20_21_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b30b9659b6855bc6b085d9d867939f0c.jpg","text":"TemporaryFile(/tmp/multipartBody8684651218534095510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344599366,"filename":"image_12072025_20_22_13_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/edd6f970faae56c345b4a9432f65bf84.jpg","text":"TemporaryFile(/tmp/multipartBody4069073993646448523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344599366,"filename":"image_12072025_20_22_34_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916927","file1":"1371916925","file0":"1371916924","file4":"1371916930","file5":"1371916932","file3":"1371916929"},"map_files_photo_id_array":[{"photo_id":"1371916932","filename":"file5"},{"photo_id":"1371916927","filename":"file2"},{"photo_id":"1371916930","filename":"file4"},{"photo_id":"1371916925","filename":"file1"},{"photo_id":"1371916924","filename":"file0"},{"photo_id":"1371916929","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916930":["hashtag1","hashtag2"]},{"1371916927":["hashtag1","hashtag2"]},{"1371916924":["hashtag1","hashtag2"]},{"1371916932":["hashtag1","hashtag2"]},{"1371916929":["hashtag1","hashtag2"]},{"1371916925":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916930, 1371916927, 1371916924, 1371916932, 1371916929, 1371916925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97174835205078 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:23:02.673083
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/15/image_10072025_16_16_04_10628.jpg', 2), ('/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_53_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_44_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_34_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_23_9695.jpg', 2), ('/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_14_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/15/image_10072025_16_16_04_10628.jpg', '/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_53_9630.jpg', '/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_44_9623.jpg', '/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_34_10645.jpg', '/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_23_9695.jpg', '/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_14_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/15/image_10072025_16_16_04_10628.jpg
/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_53_9630.jpg
/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_44_9623.jpg
/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_34_10645.jpg
/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_23_9695.jpg
/home/nano/Desktop/images/10072025/16/15/image_10072025_16_15_14_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916945","1371916939","1371916948","1371916942","1371916944","1371916940"],"photo_ids_order":["1371916939","1371916940","1371916942","1371916944","1371916945","1371916948"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/543f584a5ff662a7a85e0810e78452d6.jpg","text":"TemporaryFile(/tmp/multipartBody5088295134767867036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344646062,"filename":"image_10072025_16_15_23_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2cfcd09ca47b953cbb2becc968190e4.jpg","text":"TemporaryFile(/tmp/multipartBody7980511501286377244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344646062,"filename":"image_10072025_16_16_04_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0aa003f81fa909035ce6c813fda8cfa9.jpg","text":"TemporaryFile(/tmp/multipartBody3697160151952163966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344646062,"filename":"image_10072025_16_15_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92a29752a673701c5f3a7541fbb8f002.jpg","text":"TemporaryFile(/tmp/multipartBody5326264792821001457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344646062,"filename":"image_10072025_16_15_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f75b6509fd9828052479e8adf8126f8.jpg","text":"TemporaryFile(/tmp/multipartBody7743933962385771208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344646062,"filename":"image_10072025_16_15_34_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27c57d98b8435aa4d102faf14465684d.jpg","text":"TemporaryFile(/tmp/multipartBody5908385357117448349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344646062,"filename":"image_10072025_16_15_53_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916942","file1":"1371916940","file0":"1371916939","file4":"1371916945","file5":"1371916948","file3":"1371916944"},"map_files_photo_id_array":[{"photo_id":"1371916948","filename":"file5"},{"photo_id":"1371916942","filename":"file2"},{"photo_id":"1371916945","filename":"file4"},{"photo_id":"1371916940","filename":"file1"},{"photo_id":"1371916939","filename":"file0"},{"photo_id":"1371916944","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371916945":["hashtag1","hashtag2"]},{"1371916939":["hashtag1","hashtag2"]},{"1371916948":["hashtag1","hashtag2"]},{"1371916942":["hashtag1","hashtag2"]},{"1371916944":["hashtag1","hashtag2"]},{"1371916940":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371916945, 1371916939, 1371916948, 1371916942, 1371916944, 1371916940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20890545845032 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:23:46.986237
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_44_10606.jpg', 2), ('/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_24_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_14_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/20/22/image_12072025_20_23_04_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_54_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_44_10606.jpg', '/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_33_9608.jpg', '/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_24_9625.jpg', '/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_14_10653.jpg', '/home/nano/Desktop/images/12072025/20/22/image_12072025_20_23_04_9655.jpg', '/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_54_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_44_10606.jpg
/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_33_9608.jpg
/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_24_9625.jpg
/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_14_10653.jpg
/home/nano/Desktop/images/12072025/20/22/image_12072025_20_23_04_9655.jpg
/home/nano/Desktop/images/12072025/20/22/image_12072025_20_22_54_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916966","1371916962","1371916956","1371916959","1371916964","1371916961"],"photo_ids_order":["1371916956","1371916959","1371916961","1371916962","1371916964","1371916966"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6b5702e73054480de1b68435658c4c6.jpg","text":"TemporaryFile(/tmp/multipartBody6689749550267558333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344689585,"filename":"image_12072025_20_22_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79ce840f97047cab26db0fb2d96a8851.jpg","text":"TemporaryFile(/tmp/multipartBody2547644874962566402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344689585,"filename":"image_12072025_20_23_14_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f95220df7033c301988863e04388c93.jpg","text":"TemporaryFile(/tmp/multipartBody300390033179122532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344689585,"filename":"image_12072025_20_23_44_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbcf052fe573cafa105684f242e1ab22.jpg","text":"TemporaryFile(/tmp/multipartBody1389477700072705446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344689585,"filename":"image_12072025_20_23_33_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1eb9f59b6a4fcd225f2f452b8fc2178.jpg","text":"TemporaryFile(/tmp/multipartBody7250081321199246557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344689585,"filename":"image_12072025_20_23_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42d1f02a6a52e6d60303bbef71a30c3e.jpg","text":"TemporaryFile(/tmp/multipartBody6934012717252457035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344689585,"filename":"image_12072025_20_23_24_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916961","file1":"1371916959","file0":"1371916956","file4":"1371916964","file5":"1371916966","file3":"1371916962"},"map_files_photo_id_array":[{"photo_id":"1371916966","filename":"file5"},{"photo_id":"1371916961","filename":"file2"},{"photo_id":"1371916964","filename":"file4"},{"photo_id":"1371916959","filename":"file1"},{"photo_id":"1371916956","filename":"file0"},{"photo_id":"1371916962","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916966":["hashtag1","hashtag2"]},{"1371916962":["hashtag1","hashtag2"]},{"1371916956":["hashtag1","hashtag2"]},{"1371916959":["hashtag1","hashtag2"]},{"1371916964":["hashtag1","hashtag2"]},{"1371916961":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916966, 1371916962, 1371916956, 1371916959, 1371916964, 1371916961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19914221763611 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:24:32.076088
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/24/image_12072025_20_24_44_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/20/24/image_12072025_20_24_34_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/20/24/image_12072025_20_24_24_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/20/23/image_12072025_20_24_04_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_54_9603.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/24/image_12072025_20_24_44_9622.jpg', '/home/nano/Desktop/images/12072025/20/24/image_12072025_20_24_34_10649.jpg', '/home/nano/Desktop/images/12072025/20/24/image_12072025_20_24_24_9617.jpg', '/home/nano/Desktop/images/12072025/20/23/image_12072025_20_24_04_10635.jpg', '/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_54_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/24/image_12072025_20_24_44_9622.jpg
/home/nano/Desktop/images/12072025/20/24/image_12072025_20_24_34_10649.jpg
/home/nano/Desktop/images/12072025/20/24/image_12072025_20_24_24_9617.jpg
/home/nano/Desktop/images/12072025/20/23/image_12072025_20_24_04_10635.jpg
/home/nano/Desktop/images/12072025/20/23/image_12072025_20_23_54_9603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916969","1371916972","1371916974","1371916968","1371916970"],"photo_ids_order":["1371916968","1371916969","1371916970","1371916972","1371916974"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8aa3cec8a5ef78f5c131b5b77984268f.jpg","text":"TemporaryFile(/tmp/multipartBody5239802777796719360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344733903,"filename":"image_12072025_20_24_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/751cc0596a5f57a307cea2e65c7aeabd.jpg","text":"TemporaryFile(/tmp/multipartBody1002550860536319583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344733903,"filename":"image_12072025_20_24_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99518caf615a8bfafd7a650a478bce43.jpg","text":"TemporaryFile(/tmp/multipartBody8842236611373671421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344733903,"filename":"image_12072025_20_23_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c4026348338c3112ab41667562bdf8d.jpg","text":"TemporaryFile(/tmp/multipartBody5012634815657966204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344733903,"filename":"image_12072025_20_24_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b153eb2baabdaadfc9278d8990b8f95.jpg","text":"TemporaryFile(/tmp/multipartBody252087240510050354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344733903,"filename":"image_12072025_20_24_24_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916970","file1":"1371916969","file0":"1371916968","file4":"1371916974","file3":"1371916972"},"map_files_photo_id_array":[{"photo_id":"1371916970","filename":"file2"},{"photo_id":"1371916974","filename":"file4"},{"photo_id":"1371916969","filename":"file1"},{"photo_id":"1371916968","filename":"file0"},{"photo_id":"1371916972","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916969":["hashtag1","hashtag2"]},{"1371916972":["hashtag1","hashtag2"]},{"1371916974":["hashtag1","hashtag2"]},{"1371916968":["hashtag1","hashtag2"]},{"1371916970":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916969, 1371916972, 1371916974, 1371916968, 1371916970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.322508811950684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:25:02.895241
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/14/image_10072025_16_15_04_10670.jpg', 2), ('/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_53_9735.jpg', 2), ('/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_43_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_34_10659.jpg', 2), ('/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_23_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_14_9671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/14/image_10072025_16_15_04_10670.jpg', '/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_53_9735.jpg', '/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_43_9665.jpg', '/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_34_10659.jpg', '/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_23_9636.jpg', '/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_14_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/14/image_10072025_16_15_04_10670.jpg
/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_53_9735.jpg
/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_43_9665.jpg
/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_34_10659.jpg
/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_23_9636.jpg
/home/nano/Desktop/images/10072025/16/14/image_10072025_16_14_14_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916984","1371916978","1371916986","1371916980","1371916977","1371916982"],"photo_ids_order":["1371916977","1371916978","1371916980","1371916982","1371916984","1371916986"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37118493de91fa884a0178ae89763951.jpg","text":"TemporaryFile(/tmp/multipartBody4282558873119349584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344766273,"filename":"image_10072025_16_14_23_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3e7c1c24f4f065b071f6f011fa1dca1.jpg","text":"TemporaryFile(/tmp/multipartBody7811984910285370174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344766273,"filename":"image_10072025_16_14_53_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1039a0e9e0120fe9087fe0a7a0aad9df.jpg","text":"TemporaryFile(/tmp/multipartBody2857174168575451470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344766273,"filename":"image_10072025_16_14_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bc7579034160c79124345fbd5edcba4.jpg","text":"TemporaryFile(/tmp/multipartBody2394776409479564782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344766273,"filename":"image_10072025_16_14_43_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/762e6aa43b45a5a5f159f70fb4c26d54.jpg","text":"TemporaryFile(/tmp/multipartBody5359657193217783870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344766273,"filename":"image_10072025_16_15_04_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/58b83b53ecb1bace803065be1ab8c2da.jpg","text":"TemporaryFile(/tmp/multipartBody131132874860376133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344766273,"filename":"image_10072025_16_14_34_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916980","file1":"1371916978","file0":"1371916977","file4":"1371916984","file5":"1371916986","file3":"1371916982"},"map_files_photo_id_array":[{"photo_id":"1371916986","filename":"file5"},{"photo_id":"1371916980","filename":"file2"},{"photo_id":"1371916984","filename":"file4"},{"photo_id":"1371916978","filename":"file1"},{"photo_id":"1371916977","filename":"file0"},{"photo_id":"1371916982","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371916984":["hashtag1","hashtag2"]},{"1371916978":["hashtag1","hashtag2"]},{"1371916986":["hashtag1","hashtag2"]},{"1371916980":["hashtag1","hashtag2"]},{"1371916977":["hashtag1","hashtag2"]},{"1371916982":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371916984, 1371916978, 1371916986, 1371916980, 1371916977, 1371916982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9990816116333 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:25:47.181186
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/25/image_12072025_20_25_34_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/20/25/image_12072025_20_25_23_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/20/25/image_12072025_20_25_14_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/20/24/image_12072025_20_25_04_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/20/24/image_12072025_20_24_53_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/25/image_12072025_20_25_34_10630.jpg', '/home/nano/Desktop/images/12072025/20/25/image_12072025_20_25_23_9634.jpg', '/home/nano/Desktop/images/12072025/20/25/image_12072025_20_25_14_9648.jpg', '/home/nano/Desktop/images/12072025/20/24/image_12072025_20_25_04_10635.jpg', '/home/nano/Desktop/images/12072025/20/24/image_12072025_20_24_53_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/25/image_12072025_20_25_34_10630.jpg
/home/nano/Desktop/images/12072025/20/25/image_12072025_20_25_23_9634.jpg
/home/nano/Desktop/images/12072025/20/25/image_12072025_20_25_14_9648.jpg
/home/nano/Desktop/images/12072025/20/24/image_12072025_20_25_04_10635.jpg
/home/nano/Desktop/images/12072025/20/24/image_12072025_20_24_53_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916990","1371916992","1371916989","1371916991","1371916993"],"photo_ids_order":["1371916989","1371916990","1371916991","1371916992","1371916993"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/425bdf378eb7b7877deb861935008b20.jpg","text":"TemporaryFile(/tmp/multipartBody7111250015027149285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344808715,"filename":"image_12072025_20_25_23_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b58851bc9c1c31d8a21f4e639e5d5e8.jpg","text":"TemporaryFile(/tmp/multipartBody4342905588421633862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344808715,"filename":"image_12072025_20_25_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d9e04cab45a32eb04d8b6d4724b98a16.jpg","text":"TemporaryFile(/tmp/multipartBody3348332103474680508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344808715,"filename":"image_12072025_20_25_34_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d82bb6a53acb65211689e9af7fa4bc25.jpg","text":"TemporaryFile(/tmp/multipartBody5340793878215379144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344808715,"filename":"image_12072025_20_25_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/785e797a99606b3b52e164d36ef17291.jpg","text":"TemporaryFile(/tmp/multipartBody2250881834813877101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344808715,"filename":"image_12072025_20_24_53_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916991","file1":"1371916990","file0":"1371916989","file4":"1371916993","file3":"1371916992"},"map_files_photo_id_array":[{"photo_id":"1371916991","filename":"file2"},{"photo_id":"1371916993","filename":"file4"},{"photo_id":"1371916990","filename":"file1"},{"photo_id":"1371916989","filename":"file0"},{"photo_id":"1371916992","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916990":["hashtag1","hashtag2"]},{"1371916992":["hashtag1","hashtag2"]},{"1371916989":["hashtag1","hashtag2"]},{"1371916991":["hashtag1","hashtag2"]},{"1371916993":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916990, 1371916992, 1371916989, 1371916991, 1371916993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.810727834701538 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:26:17.320543
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_43_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_34_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_24_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_14_9655.jpg', 2), ('/home/nano/Desktop/images/12072025/20/25/image_12072025_20_26_04_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/20/25/image_12072025_20_25_54_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_43_9620.jpg', '/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_34_9617.jpg', '/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_24_10632.jpg', '/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_14_9655.jpg', '/home/nano/Desktop/images/12072025/20/25/image_12072025_20_26_04_9629.jpg', '/home/nano/Desktop/images/12072025/20/25/image_12072025_20_25_54_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_43_9620.jpg
/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_34_9617.jpg
/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_24_10632.jpg
/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_14_9655.jpg
/home/nano/Desktop/images/12072025/20/25/image_12072025_20_26_04_9629.jpg
/home/nano/Desktop/images/12072025/20/25/image_12072025_20_25_54_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371916996","1371916999","1371916998","1371917001","1371916997","1371917000"],"photo_ids_order":["1371916996","1371916997","1371916998","1371916999","1371917000","1371917001"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e778f81dae5842f872762b03c8ffed9.jpg","text":"TemporaryFile(/tmp/multipartBody4645145514867801767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344838674,"filename":"image_12072025_20_26_43_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa7cbb69050be41e29918c4703f40159.jpg","text":"TemporaryFile(/tmp/multipartBody1240350746897074427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344838674,"filename":"image_12072025_20_26_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/067a3e269865ce80464aa3a46dcd7956.jpg","text":"TemporaryFile(/tmp/multipartBody2903443199152924680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344838674,"filename":"image_12072025_20_26_24_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b234a3fec2e280d85aebf8e7405fb245.jpg","text":"TemporaryFile(/tmp/multipartBody2986057319602817677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344838674,"filename":"image_12072025_20_25_54_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd3d6a5f5f99639b84508048f863e72b.jpg","text":"TemporaryFile(/tmp/multipartBody205570679063811611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344838674,"filename":"image_12072025_20_26_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/486544d7c2ddbc4bc65ed169f85abf88.jpg","text":"TemporaryFile(/tmp/multipartBody5489455456354436830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344838674,"filename":"image_12072025_20_26_04_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371916998","file1":"1371916997","file0":"1371916996","file4":"1371917000","file5":"1371917001","file3":"1371916999"},"map_files_photo_id_array":[{"photo_id":"1371917001","filename":"file5"},{"photo_id":"1371916998","filename":"file2"},{"photo_id":"1371917000","filename":"file4"},{"photo_id":"1371916997","filename":"file1"},{"photo_id":"1371916996","filename":"file0"},{"photo_id":"1371916999","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371916996":["hashtag1","hashtag2"]},{"1371916999":["hashtag1","hashtag2"]},{"1371916998":["hashtag1","hashtag2"]},{"1371917001":["hashtag1","hashtag2"]},{"1371916997":["hashtag1","hashtag2"]},{"1371917000":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371916996, 1371916999, 1371916998, 1371917001, 1371916997, 1371917000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.922536373138428 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:27:03.155016
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/13/image_10072025_16_14_04_10701.jpg', 2), ('/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_53_9672.jpg', 2), ('/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_43_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_34_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_23_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_14_9697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/13/image_10072025_16_14_04_10701.jpg', '/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_53_9672.jpg', '/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_43_9651.jpg', '/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_34_10637.jpg', '/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_23_9628.jpg', '/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_14_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/13/image_10072025_16_14_04_10701.jpg
/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_53_9672.jpg
/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_43_9651.jpg
/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_34_10637.jpg
/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_23_9628.jpg
/home/nano/Desktop/images/10072025/16/13/image_10072025_16_13_14_9697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917014","1371917017","1371917019","1371917010","1371917015","1371917012"],"photo_ids_order":["1371917010","1371917012","1371917014","1371917015","1371917017","1371917019"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70f8aa4e2e05dd808717d594cdd75c87.jpg","text":"TemporaryFile(/tmp/multipartBody4880074525076739674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344886935,"filename":"image_10072025_16_13_43_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff0884883a1984875b110aada36a36bb.jpg","text":"TemporaryFile(/tmp/multipartBody4988070799598224805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344886935,"filename":"image_10072025_16_13_23_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da1decc30db7e66b51475bbf80055c8d.jpg","text":"TemporaryFile(/tmp/multipartBody6593264356464738646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344886935,"filename":"image_10072025_16_13_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77d3a56041309026f0a7c17004253c3f.jpg","text":"TemporaryFile(/tmp/multipartBody499533104827166645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344886935,"filename":"image_10072025_16_14_04_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b50803c6284a13eceea8a54442380bf.jpg","text":"TemporaryFile(/tmp/multipartBody6451201650973656737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344886935,"filename":"image_10072025_16_13_34_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80ee398ea24a1cc3b90c1ffb16a6838e.jpg","text":"TemporaryFile(/tmp/multipartBody3076197261886075177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344886935,"filename":"image_10072025_16_13_53_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917014","file1":"1371917012","file0":"1371917010","file4":"1371917017","file5":"1371917019","file3":"1371917015"},"map_files_photo_id_array":[{"photo_id":"1371917019","filename":"file5"},{"photo_id":"1371917014","filename":"file2"},{"photo_id":"1371917017","filename":"file4"},{"photo_id":"1371917012","filename":"file1"},{"photo_id":"1371917010","filename":"file0"},{"photo_id":"1371917015","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917014":["hashtag1","hashtag2"]},{"1371917017":["hashtag1","hashtag2"]},{"1371917019":["hashtag1","hashtag2"]},{"1371917010":["hashtag1","hashtag2"]},{"1371917015":["hashtag1","hashtag2"]},{"1371917012":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917014, 1371917017, 1371917019, 1371917010, 1371917015, 1371917012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26059889793396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:27:47.377659
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_44_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_34_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/20/26/image_12072025_20_27_04_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_54_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_44_10630.jpg', '/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_34_9615.jpg', '/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_24_10625.jpg', '/home/nano/Desktop/images/12072025/20/26/image_12072025_20_27_04_9631.jpg', '/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_54_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_44_10630.jpg
/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_34_9615.jpg
/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_24_10625.jpg
/home/nano/Desktop/images/12072025/20/26/image_12072025_20_27_04_9631.jpg
/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_54_10632.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5368447303771973 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:28:03.070411
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_44_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_34_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/20/26/image_12072025_20_27_04_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_54_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_44_10630.jpg', '/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_34_9615.jpg', '/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_24_10625.jpg', '/home/nano/Desktop/images/12072025/20/26/image_12072025_20_27_04_9631.jpg', '/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_54_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_44_10630.jpg
/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_34_9615.jpg
/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_24_10625.jpg
/home/nano/Desktop/images/12072025/20/26/image_12072025_20_27_04_9631.jpg
/home/nano/Desktop/images/12072025/20/26/image_12072025_20_26_54_10632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917041","1371917040","1371917034","1371917043","1371917037"],"photo_ids_order":["1371917034","1371917037","1371917040","1371917041","1371917043"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26ee493afa12df7a0fbee6b866829878.jpg","text":"TemporaryFile(/tmp/multipartBody2590266080829535160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344944646,"filename":"image_12072025_20_27_04_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d4b69632df36bb0bf3ba860b8215651.jpg","text":"TemporaryFile(/tmp/multipartBody3097115606034889044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344944646,"filename":"image_12072025_20_27_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2156ecde290692a2c7954535f8c39c3.jpg","text":"TemporaryFile(/tmp/multipartBody6020716205602249700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344944646,"filename":"image_12072025_20_27_44_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f1b3ef76e100e361d114b08308402de.jpg","text":"TemporaryFile(/tmp/multipartBody2762518445281509382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344944646,"filename":"image_12072025_20_26_54_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07541937dbebe8e710009a9eb1b4dbdc.jpg","text":"TemporaryFile(/tmp/multipartBody924204171527073031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344944646,"filename":"image_12072025_20_27_34_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917040","file1":"1371917037","file0":"1371917034","file4":"1371917043","file3":"1371917041"},"map_files_photo_id_array":[{"photo_id":"1371917040","filename":"file2"},{"photo_id":"1371917043","filename":"file4"},{"photo_id":"1371917037","filename":"file1"},{"photo_id":"1371917034","filename":"file0"},{"photo_id":"1371917041","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917041":["hashtag1","hashtag2"]},{"1371917040":["hashtag1","hashtag2"]},{"1371917034":["hashtag1","hashtag2"]},{"1371917043":["hashtag1","hashtag2"]},{"1371917037":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917041, 1371917040, 1371917034, 1371917043, 1371917037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.574253797531128 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:28:32.484240
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/28/image_12072025_20_28_44_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/20/28/image_12072025_20_28_33_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/20/27/image_12072025_20_28_03_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/28/image_12072025_20_28_44_10645.jpg', '/home/nano/Desktop/images/12072025/20/28/image_12072025_20_28_33_9618.jpg', '/home/nano/Desktop/images/12072025/20/27/image_12072025_20_28_03_9632.jpg', '/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/28/image_12072025_20_28_44_10645.jpg
/home/nano/Desktop/images/12072025/20/28/image_12072025_20_28_33_9618.jpg
/home/nano/Desktop/images/12072025/20/27/image_12072025_20_28_03_9632.jpg
/home/nano/Desktop/images/12072025/20/27/image_12072025_20_27_54_9626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917050","1371917047","1371917046","1371917045"],"photo_ids_order":["1371917045","1371917046","1371917047","1371917050"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/685505842b4db2b4c8d3907e931074a2.jpg","text":"TemporaryFile(/tmp/multipartBody271598446140531464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344974225,"filename":"image_12072025_20_27_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d6e7f74c34e899fe286a89852bbb15e.jpg","text":"TemporaryFile(/tmp/multipartBody2406846133039037421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344974225,"filename":"image_12072025_20_28_03_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf92ff3e6eaa830d79870f79ffa44a56.jpg","text":"TemporaryFile(/tmp/multipartBody7536848203683742776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344974225,"filename":"image_12072025_20_28_33_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c3a3dfcbe35a6b846ac263bbe63cf55.jpg","text":"TemporaryFile(/tmp/multipartBody8629463929800360457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752344974225,"filename":"image_12072025_20_28_44_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917047","file1":"1371917046","file0":"1371917045","file3":"1371917050"},"map_files_photo_id_array":[{"photo_id":"1371917047","filename":"file2"},{"photo_id":"1371917046","filename":"file1"},{"photo_id":"1371917045","filename":"file0"},{"photo_id":"1371917050","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917050":["hashtag1","hashtag2"]},{"1371917047":["hashtag1","hashtag2"]},{"1371917046":["hashtag1","hashtag2"]},{"1371917045":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917050, 1371917047, 1371917046, 1371917045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.396628618240356 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:29:03.378400
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/12/image_10072025_16_13_04_10699.jpg', 2), ('/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_53_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_44_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_34_10652.jpg', 2), ('/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_23_9684.jpg', 2), ('/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_14_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/12/image_10072025_16_13_04_10699.jpg', '/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_53_9632.jpg', '/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_44_9619.jpg', '/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_34_10652.jpg', '/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_23_9684.jpg', '/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_14_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/12/image_10072025_16_13_04_10699.jpg
/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_53_9632.jpg
/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_44_9619.jpg
/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_34_10652.jpg
/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_23_9684.jpg
/home/nano/Desktop/images/10072025/16/12/image_10072025_16_12_14_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917065","1371917061","1371917058","1371917060","1371917062","1371917056"],"photo_ids_order":["1371917056","1371917058","1371917060","1371917061","1371917062","1371917065"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72f74b2ce95495d438e6e282962fe06d.jpg","text":"TemporaryFile(/tmp/multipartBody3021894844378267808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345006983,"filename":"image_10072025_16_12_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2af45f52c45e3bc5b9278678208e410e.jpg","text":"TemporaryFile(/tmp/multipartBody5551265678040262199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345006983,"filename":"image_10072025_16_12_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fb031fa37621d9822cb4866509b1884.jpg","text":"TemporaryFile(/tmp/multipartBody5692270714141589376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345006983,"filename":"image_10072025_16_12_53_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8a3ae3a1ce8fe7d5ad58fbef6588d79.jpg","text":"TemporaryFile(/tmp/multipartBody847332690189334182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345006983,"filename":"image_10072025_16_12_44_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f3b735c2ef814a8338439fd9fcae05f.jpg","text":"TemporaryFile(/tmp/multipartBody8678044606758586272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345006983,"filename":"image_10072025_16_12_23_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/223767dc0dca008ad499a43c2eb64873.jpg","text":"TemporaryFile(/tmp/multipartBody1698296211723933428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345006983,"filename":"image_10072025_16_13_04_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917060","file1":"1371917058","file0":"1371917056","file4":"1371917062","file5":"1371917065","file3":"1371917061"},"map_files_photo_id_array":[{"photo_id":"1371917065","filename":"file5"},{"photo_id":"1371917060","filename":"file2"},{"photo_id":"1371917062","filename":"file4"},{"photo_id":"1371917058","filename":"file1"},{"photo_id":"1371917056","filename":"file0"},{"photo_id":"1371917061","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917065":["hashtag1","hashtag2"]},{"1371917061":["hashtag1","hashtag2"]},{"1371917058":["hashtag1","hashtag2"]},{"1371917060":["hashtag1","hashtag2"]},{"1371917062":["hashtag1","hashtag2"]},{"1371917056":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917065, 1371917061, 1371917058, 1371917060, 1371917062, 1371917056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49570560455322 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:29:47.598127
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/29/image_12072025_20_29_44_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/20/29/image_12072025_20_29_34_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/20/29/image_12072025_20_29_14_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/20/28/image_12072025_20_29_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/20/28/image_12072025_20_28_54_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/29/image_12072025_20_29_44_9635.jpg', '/home/nano/Desktop/images/12072025/20/29/image_12072025_20_29_34_10628.jpg', '/home/nano/Desktop/images/12072025/20/29/image_12072025_20_29_14_10652.jpg', '/home/nano/Desktop/images/12072025/20/28/image_12072025_20_29_03_9642.jpg', '/home/nano/Desktop/images/12072025/20/28/image_12072025_20_28_54_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/29/image_12072025_20_29_44_9635.jpg
/home/nano/Desktop/images/12072025/20/29/image_12072025_20_29_34_10628.jpg
/home/nano/Desktop/images/12072025/20/29/image_12072025_20_29_14_10652.jpg
/home/nano/Desktop/images/12072025/20/28/image_12072025_20_29_03_9642.jpg
/home/nano/Desktop/images/12072025/20/28/image_12072025_20_28_54_9621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917086","1371917082","1371917090","1371917084","1371917089"],"photo_ids_order":["1371917082","1371917084","1371917086","1371917089","1371917090"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31765a193f76b853a742040b320675a2.jpg","text":"TemporaryFile(/tmp/multipartBody8554580162063611858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345049277,"filename":"image_12072025_20_29_14_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eae5199ea6ddb28c9ac546cfd2c9065e.jpg","text":"TemporaryFile(/tmp/multipartBody2214224637630698162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345049277,"filename":"image_12072025_20_29_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cfce2c80c49d23ba5a70094c99bc0993.jpg","text":"TemporaryFile(/tmp/multipartBody2642790708777656082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345049277,"filename":"image_12072025_20_28_54_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab2878659ccfec13d6403ae1cd7d24bb.jpg","text":"TemporaryFile(/tmp/multipartBody2525253419120544752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345049277,"filename":"image_12072025_20_29_34_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d3490b58ce69ad49612812e56b90037.jpg","text":"TemporaryFile(/tmp/multipartBody5455228026569695379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345049277,"filename":"image_12072025_20_29_03_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917086","file1":"1371917084","file0":"1371917082","file4":"1371917090","file3":"1371917089"},"map_files_photo_id_array":[{"photo_id":"1371917086","filename":"file2"},{"photo_id":"1371917090","filename":"file4"},{"photo_id":"1371917084","filename":"file1"},{"photo_id":"1371917082","filename":"file0"},{"photo_id":"1371917089","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917086":["hashtag1","hashtag2"]},{"1371917082":["hashtag1","hashtag2"]},{"1371917090":["hashtag1","hashtag2"]},{"1371917084":["hashtag1","hashtag2"]},{"1371917089":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917086, 1371917082, 1371917090, 1371917084, 1371917089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.023876667022705 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:30:17.705151
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/30/image_12072025_20_30_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/20/30/image_12072025_20_30_34_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/20/30/image_12072025_20_30_23_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/20/29/image_12072025_20_30_04_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/20/29/image_12072025_20_29_53_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/30/image_12072025_20_30_44_9616.jpg', '/home/nano/Desktop/images/12072025/20/30/image_12072025_20_30_34_10627.jpg', '/home/nano/Desktop/images/12072025/20/30/image_12072025_20_30_23_9626.jpg', '/home/nano/Desktop/images/12072025/20/29/image_12072025_20_30_04_10630.jpg', '/home/nano/Desktop/images/12072025/20/29/image_12072025_20_29_53_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/30/image_12072025_20_30_44_9616.jpg
/home/nano/Desktop/images/12072025/20/30/image_12072025_20_30_34_10627.jpg
/home/nano/Desktop/images/12072025/20/30/image_12072025_20_30_23_9626.jpg
/home/nano/Desktop/images/12072025/20/29/image_12072025_20_30_04_10630.jpg
/home/nano/Desktop/images/12072025/20/29/image_12072025_20_29_53_9626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917097","1371917096","1371917100","1371917099","1371917098"],"photo_ids_order":["1371917096","1371917097","1371917098","1371917099","1371917100"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c0529f2d302ce7c7caebdc06ff6a631.jpg","text":"TemporaryFile(/tmp/multipartBody7211777100309827899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345079572,"filename":"image_12072025_20_30_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42e3b43888b70c0502441d3754dbe81a.jpg","text":"TemporaryFile(/tmp/multipartBody3658810360419766221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345079572,"filename":"image_12072025_20_30_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb0cbbccaadc6b322e2e1e2992e333ca.jpg","text":"TemporaryFile(/tmp/multipartBody7586355050300221686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345079572,"filename":"image_12072025_20_29_53_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/890b428c07ea5736f15e62757c25d6fb.jpg","text":"TemporaryFile(/tmp/multipartBody594954782958413485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345079572,"filename":"image_12072025_20_30_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71d2a208b263023ca3a68ef82feb0975.jpg","text":"TemporaryFile(/tmp/multipartBody1500938126041482084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345079572,"filename":"image_12072025_20_30_23_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917098","file1":"1371917097","file0":"1371917096","file4":"1371917100","file3":"1371917099"},"map_files_photo_id_array":[{"photo_id":"1371917098","filename":"file2"},{"photo_id":"1371917100","filename":"file4"},{"photo_id":"1371917097","filename":"file1"},{"photo_id":"1371917096","filename":"file0"},{"photo_id":"1371917099","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917097":["hashtag1","hashtag2"]},{"1371917096":["hashtag1","hashtag2"]},{"1371917100":["hashtag1","hashtag2"]},{"1371917099":["hashtag1","hashtag2"]},{"1371917098":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917097, 1371917096, 1371917100, 1371917099, 1371917098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.183530569076538 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:30:47.725091
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/11/image_10072025_16_12_04_10658.jpg', 2), ('/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_53_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_44_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_34_10679.jpg', 2), ('/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_23_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_14_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/11/image_10072025_16_12_04_10658.jpg', '/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_53_9614.jpg', '/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_44_9641.jpg', '/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_34_10679.jpg', '/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_23_9630.jpg', '/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_14_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/11/image_10072025_16_12_04_10658.jpg
/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_53_9614.jpg
/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_44_9641.jpg
/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_34_10679.jpg
/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_23_9630.jpg
/home/nano/Desktop/images/10072025/16/11/image_10072025_16_11_14_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917110","1371917113","1371917112","1371917106","1371917108","1371917105"],"photo_ids_order":["1371917105","1371917106","1371917108","1371917110","1371917112","1371917113"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04b09bad14ca17cfd931262fe9f14b9c.jpg","text":"TemporaryFile(/tmp/multipartBody9090996403305739380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345111163,"filename":"image_10072025_16_11_34_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4baadd4edfb8d8d3a85aa3bf6a0e2e05.jpg","text":"TemporaryFile(/tmp/multipartBody72958714936144208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345111163,"filename":"image_10072025_16_11_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7e65a44523cc9ef17b5ced94e3c5fa85.jpg","text":"TemporaryFile(/tmp/multipartBody7409134926942469751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345111163,"filename":"image_10072025_16_11_23_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5997f8c1790d043efefcb5fa0500b48b.jpg","text":"TemporaryFile(/tmp/multipartBody423346658084736482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345111163,"filename":"image_10072025_16_11_53_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61807900ea089a273596c525b618efb6.jpg","text":"TemporaryFile(/tmp/multipartBody835429050892914597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345111163,"filename":"image_10072025_16_11_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9a741c1ec38b99d6d8d908ba05a4979.jpg","text":"TemporaryFile(/tmp/multipartBody6351895773925188730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345111163,"filename":"image_10072025_16_12_04_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917108","file1":"1371917106","file0":"1371917105","file4":"1371917112","file5":"1371917113","file3":"1371917110"},"map_files_photo_id_array":[{"photo_id":"1371917113","filename":"file5"},{"photo_id":"1371917108","filename":"file2"},{"photo_id":"1371917112","filename":"file4"},{"photo_id":"1371917106","filename":"file1"},{"photo_id":"1371917105","filename":"file0"},{"photo_id":"1371917110","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917110":["hashtag1","hashtag2"]},{"1371917113":["hashtag1","hashtag2"]},{"1371917112":["hashtag1","hashtag2"]},{"1371917106":["hashtag1","hashtag2"]},{"1371917108":["hashtag1","hashtag2"]},{"1371917105":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917110, 1371917113, 1371917112, 1371917106, 1371917108, 1371917105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80282545089722 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:31:31.803131
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/31/image_12072025_20_31_43_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/20/31/image_12072025_20_31_24_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/20/31/image_12072025_20_31_14_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/20/30/image_12072025_20_31_04_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/20/30/image_12072025_20_30_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/31/image_12072025_20_31_43_9617.jpg', '/home/nano/Desktop/images/12072025/20/31/image_12072025_20_31_24_10646.jpg', '/home/nano/Desktop/images/12072025/20/31/image_12072025_20_31_14_9637.jpg', '/home/nano/Desktop/images/12072025/20/30/image_12072025_20_31_04_9634.jpg', '/home/nano/Desktop/images/12072025/20/30/image_12072025_20_30_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/31/image_12072025_20_31_43_9617.jpg
/home/nano/Desktop/images/12072025/20/31/image_12072025_20_31_24_10646.jpg
/home/nano/Desktop/images/12072025/20/31/image_12072025_20_31_14_9637.jpg
/home/nano/Desktop/images/12072025/20/30/image_12072025_20_31_04_9634.jpg
/home/nano/Desktop/images/12072025/20/30/image_12072025_20_30_54_10637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917119","1371917116","1371917115","1371917120","1371917117"],"photo_ids_order":["1371917115","1371917116","1371917117","1371917119","1371917120"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eab3a00e54bf03bd83b17bf9cd048313.jpg","text":"TemporaryFile(/tmp/multipartBody5564296389466799296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345153727,"filename":"image_12072025_20_31_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f4c4bd5a2fde7db27bda93553530c85.jpg","text":"TemporaryFile(/tmp/multipartBody4494650266865255099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345153727,"filename":"image_12072025_20_31_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eeac80f0270608293d15925aeb71e215.jpg","text":"TemporaryFile(/tmp/multipartBody5126614212526148047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345153727,"filename":"image_12072025_20_31_43_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c2ff7428277bac15d9fee96724c6520.jpg","text":"TemporaryFile(/tmp/multipartBody3680313470048848383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345153727,"filename":"image_12072025_20_30_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66d23dacb5d6a439cb37b9d18996323d.jpg","text":"TemporaryFile(/tmp/multipartBody4793071023731869806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345153727,"filename":"image_12072025_20_31_14_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917117","file1":"1371917116","file0":"1371917115","file4":"1371917120","file3":"1371917119"},"map_files_photo_id_array":[{"photo_id":"1371917117","filename":"file2"},{"photo_id":"1371917120","filename":"file4"},{"photo_id":"1371917116","filename":"file1"},{"photo_id":"1371917115","filename":"file0"},{"photo_id":"1371917119","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917119":["hashtag1","hashtag2"]},{"1371917116":["hashtag1","hashtag2"]},{"1371917115":["hashtag1","hashtag2"]},{"1371917120":["hashtag1","hashtag2"]},{"1371917117":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917119, 1371917116, 1371917115, 1371917120, 1371917117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.234197854995728 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:32:02.493595
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/10/image_10072025_16_11_04_10646.jpg', 2), ('/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_53_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_44_10629.jpg', 2), ('/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_33_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_24_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_14_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/10/image_10072025_16_11_04_10646.jpg', '/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_53_9625.jpg', '/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_44_10629.jpg', '/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_33_9643.jpg', '/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_24_9648.jpg', '/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_14_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/10/image_10072025_16_11_04_10646.jpg
/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_53_9625.jpg
/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_44_10629.jpg
/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_33_9643.jpg
/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_24_9648.jpg
/home/nano/Desktop/images/10072025/16/10/image_10072025_16_10_14_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917125","1371917122","1371917121","1371917124","1371917126","1371917123"],"photo_ids_order":["1371917121","1371917122","1371917123","1371917124","1371917125","1371917126"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85d6e55106c4af8cc1b6c964750ea22e.jpg","text":"TemporaryFile(/tmp/multipartBody3377466014593146239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345185858,"filename":"image_10072025_16_10_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efd590f2aa62067c73bdadad0e434ff5.jpg","text":"TemporaryFile(/tmp/multipartBody3239963840506772300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345185858,"filename":"image_10072025_16_10_53_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e86c96b82412d85cbc518490f5af4ff.jpg","text":"TemporaryFile(/tmp/multipartBody2235412289262956032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345185858,"filename":"image_10072025_16_11_04_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bad25095fcea3c60d4ee05b658dce8c.jpg","text":"TemporaryFile(/tmp/multipartBody6574949171690373871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345185858,"filename":"image_10072025_16_10_33_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7586036f7e47c20547e4bdcb0d384c71.jpg","text":"TemporaryFile(/tmp/multipartBody673836247738945987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345185858,"filename":"image_10072025_16_10_14_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36d9589120139e47235827e20a63579e.jpg","text":"TemporaryFile(/tmp/multipartBody5856134725087386201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345185858,"filename":"image_10072025_16_10_44_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917123","file1":"1371917122","file0":"1371917121","file4":"1371917125","file5":"1371917126","file3":"1371917124"},"map_files_photo_id_array":[{"photo_id":"1371917126","filename":"file5"},{"photo_id":"1371917123","filename":"file2"},{"photo_id":"1371917125","filename":"file4"},{"photo_id":"1371917122","filename":"file1"},{"photo_id":"1371917121","filename":"file0"},{"photo_id":"1371917124","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917125":["hashtag1","hashtag2"]},{"1371917122":["hashtag1","hashtag2"]},{"1371917121":["hashtag1","hashtag2"]},{"1371917124":["hashtag1","hashtag2"]},{"1371917126":["hashtag1","hashtag2"]},{"1371917123":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917125, 1371917122, 1371917121, 1371917124, 1371917126, 1371917123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.976048707962036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:32:46.911051
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/32/image_12072025_20_32_13_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/20/31/image_12072025_20_32_04_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/20/31/image_12072025_20_31_54_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/32/image_12072025_20_32_13_9636.jpg', '/home/nano/Desktop/images/12072025/20/31/image_12072025_20_32_04_9634.jpg', '/home/nano/Desktop/images/12072025/20/31/image_12072025_20_31_54_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/32/image_12072025_20_32_13_9636.jpg
/home/nano/Desktop/images/12072025/20/31/image_12072025_20_32_04_9634.jpg
/home/nano/Desktop/images/12072025/20/31/image_12072025_20_31_54_10634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917133","1371917136","1371917135"],"photo_ids_order":["1371917133","1371917135","1371917136"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b83e5fd59583471751304977d3329ff4.jpg","text":"TemporaryFile(/tmp/multipartBody515418284485424771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345228352,"filename":"image_12072025_20_32_13_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/160ed42837cc880e182a43d45c98dc0a.jpg","text":"TemporaryFile(/tmp/multipartBody8407693000603800796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345228352,"filename":"image_12072025_20_31_54_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a25198bf9050d331dee164e5c8c7b76.jpg","text":"TemporaryFile(/tmp/multipartBody4742604514153746113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345228352,"filename":"image_12072025_20_32_04_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917136","file1":"1371917135","file0":"1371917133"},"map_files_photo_id_array":[{"photo_id":"1371917136","filename":"file2"},{"photo_id":"1371917135","filename":"file1"},{"photo_id":"1371917133","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917133":["hashtag1","hashtag2"]},{"1371917136":["hashtag1","hashtag2"]},{"1371917135":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917133, 1371917136, 1371917135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.43483567237854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:33:17.036511
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/33/image_12072025_20_33_33_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/20/33/image_12072025_20_33_24_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/20/33/image_12072025_20_33_14_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/20/32/image_12072025_20_33_03_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/20/32/image_12072025_20_32_54_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/33/image_12072025_20_33_33_9619.jpg', '/home/nano/Desktop/images/12072025/20/33/image_12072025_20_33_24_9624.jpg', '/home/nano/Desktop/images/12072025/20/33/image_12072025_20_33_14_10661.jpg', '/home/nano/Desktop/images/12072025/20/32/image_12072025_20_33_03_9630.jpg', '/home/nano/Desktop/images/12072025/20/32/image_12072025_20_32_54_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/33/image_12072025_20_33_33_9619.jpg
/home/nano/Desktop/images/12072025/20/33/image_12072025_20_33_24_9624.jpg
/home/nano/Desktop/images/12072025/20/33/image_12072025_20_33_14_10661.jpg
/home/nano/Desktop/images/12072025/20/32/image_12072025_20_33_03_9630.jpg
/home/nano/Desktop/images/12072025/20/32/image_12072025_20_32_54_9623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917143","1371917146","1371917140","1371917145","1371917139"],"photo_ids_order":["1371917139","1371917140","1371917143","1371917145","1371917146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a32dd02b791c0f70b498941c1c47eb2.jpg","text":"TemporaryFile(/tmp/multipartBody2714717053320558091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345258672,"filename":"image_12072025_20_33_14_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f2cbf2343ce57eb409b2c60229b3c42.jpg","text":"TemporaryFile(/tmp/multipartBody5150326667045689040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345258672,"filename":"image_12072025_20_32_54_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/968eacfce3b6fc61bb9a0b1091cd67c4.jpg","text":"TemporaryFile(/tmp/multipartBody1559422082223423161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345258672,"filename":"image_12072025_20_33_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1db8f8c6e1098b14218c54dabac5ab9.jpg","text":"TemporaryFile(/tmp/multipartBody5896914442414758161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345258672,"filename":"image_12072025_20_33_03_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4fc594ea76933bdd72ff2f60b9851f03.jpg","text":"TemporaryFile(/tmp/multipartBody8629960740982298491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345258672,"filename":"image_12072025_20_33_33_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917143","file1":"1371917140","file0":"1371917139","file4":"1371917146","file3":"1371917145"},"map_files_photo_id_array":[{"photo_id":"1371917143","filename":"file2"},{"photo_id":"1371917146","filename":"file4"},{"photo_id":"1371917140","filename":"file1"},{"photo_id":"1371917139","filename":"file0"},{"photo_id":"1371917145","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917143":["hashtag1","hashtag2"]},{"1371917146":["hashtag1","hashtag2"]},{"1371917140":["hashtag1","hashtag2"]},{"1371917145":["hashtag1","hashtag2"]},{"1371917139":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917143, 1371917146, 1371917140, 1371917145, 1371917139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.850514888763428 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:33:47.061155
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/09/image_10072025_16_10_03_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_54_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_44_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_33_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_24_10634.jpg', 2), ('/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_13_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/09/image_10072025_16_10_03_9637.jpg', '/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_54_9615.jpg', '/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_44_10639.jpg', '/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_33_9619.jpg', '/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_24_10634.jpg', '/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_13_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/09/image_10072025_16_10_03_9637.jpg
/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_54_9615.jpg
/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_44_10639.jpg
/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_33_9619.jpg
/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_24_10634.jpg
/home/nano/Desktop/images/10072025/16/09/image_10072025_16_09_13_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917151","1371917154","1371917157","1371917153","1371917156","1371917155"],"photo_ids_order":["1371917151","1371917153","1371917154","1371917155","1371917156","1371917157"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e7181caa9b50299fb10916c0424776c.jpg","text":"TemporaryFile(/tmp/multipartBody7812598441979607224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345290339,"filename":"image_10072025_16_10_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4868aa8d3e976dcde79104c59986a97e.jpg","text":"TemporaryFile(/tmp/multipartBody4184602790557668832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345290339,"filename":"image_10072025_16_09_44_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4447ab552d734d79ee162cb0ac2f3791.jpg","text":"TemporaryFile(/tmp/multipartBody6763488737541470209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345290339,"filename":"image_10072025_16_09_13_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b823440d7f6f08bec9c54b4db1998b4.jpg","text":"TemporaryFile(/tmp/multipartBody3879527304184304055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345290339,"filename":"image_10072025_16_09_54_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/432404debcbad7a978d69ca30dec057a.jpg","text":"TemporaryFile(/tmp/multipartBody1007102375000809051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345290339,"filename":"image_10072025_16_09_24_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f0ab2ec333d5746a0c1119eb877c2a6.jpg","text":"TemporaryFile(/tmp/multipartBody6778483979037725856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345290339,"filename":"image_10072025_16_09_33_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917154","file1":"1371917153","file0":"1371917151","file4":"1371917156","file5":"1371917157","file3":"1371917155"},"map_files_photo_id_array":[{"photo_id":"1371917157","filename":"file5"},{"photo_id":"1371917154","filename":"file2"},{"photo_id":"1371917156","filename":"file4"},{"photo_id":"1371917153","filename":"file1"},{"photo_id":"1371917151","filename":"file0"},{"photo_id":"1371917155","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917151":["hashtag1","hashtag2"]},{"1371917154":["hashtag1","hashtag2"]},{"1371917157":["hashtag1","hashtag2"]},{"1371917153":["hashtag1","hashtag2"]},{"1371917156":["hashtag1","hashtag2"]},{"1371917155":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917151, 1371917154, 1371917157, 1371917153, 1371917156, 1371917155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.911633014678955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:34:32.171632
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/34/image_12072025_20_34_44_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/20/34/image_12072025_20_34_34_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/20/34/image_12072025_20_34_14_9678.jpg', 2), ('/home/nano/Desktop/images/12072025/20/33/image_12072025_20_34_04_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/20/33/image_12072025_20_33_44_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/34/image_12072025_20_34_44_9628.jpg', '/home/nano/Desktop/images/12072025/20/34/image_12072025_20_34_34_10639.jpg', '/home/nano/Desktop/images/12072025/20/34/image_12072025_20_34_14_9678.jpg', '/home/nano/Desktop/images/12072025/20/33/image_12072025_20_34_04_10635.jpg', '/home/nano/Desktop/images/12072025/20/33/image_12072025_20_33_44_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/34/image_12072025_20_34_44_9628.jpg
/home/nano/Desktop/images/12072025/20/34/image_12072025_20_34_34_10639.jpg
/home/nano/Desktop/images/12072025/20/34/image_12072025_20_34_14_9678.jpg
/home/nano/Desktop/images/12072025/20/33/image_12072025_20_34_04_10635.jpg
/home/nano/Desktop/images/12072025/20/33/image_12072025_20_33_44_10635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917166","1371917171","1371917165","1371917168","1371917173"],"photo_ids_order":["1371917165","1371917166","1371917168","1371917171","1371917173"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1852a7e705641a5f63afcc59b3eb339.jpg","text":"TemporaryFile(/tmp/multipartBody7677814496348593720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345333812,"filename":"image_12072025_20_34_34_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29b4e428144958d6421eb95a4783e6a8.jpg","text":"TemporaryFile(/tmp/multipartBody2581198396665550131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345333812,"filename":"image_12072025_20_34_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a84e3770f82ac878870e9e95cab5df97.jpg","text":"TemporaryFile(/tmp/multipartBody8916976670403189335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345333812,"filename":"image_12072025_20_34_44_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1bf805e3c9b9a2a73c37ec26349cb9e0.jpg","text":"TemporaryFile(/tmp/multipartBody8295501526911946547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345333812,"filename":"image_12072025_20_34_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/997f98fd88b3edbc4452bb389d309a06.jpg","text":"TemporaryFile(/tmp/multipartBody8785869699527543627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345333812,"filename":"image_12072025_20_33_44_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917168","file1":"1371917166","file0":"1371917165","file4":"1371917173","file3":"1371917171"},"map_files_photo_id_array":[{"photo_id":"1371917168","filename":"file2"},{"photo_id":"1371917173","filename":"file4"},{"photo_id":"1371917166","filename":"file1"},{"photo_id":"1371917165","filename":"file0"},{"photo_id":"1371917171","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917166":["hashtag1","hashtag2"]},{"1371917171":["hashtag1","hashtag2"]},{"1371917165":["hashtag1","hashtag2"]},{"1371917168":["hashtag1","hashtag2"]},{"1371917173":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917166, 1371917171, 1371917165, 1371917168, 1371917173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.296480178833008 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:35:02.960995
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/08/image_10072025_16_09_03_9704.jpg', 2), ('/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_54_9722.jpg', 2), ('/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_44_10692.jpg', 2), ('/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_33_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_24_9751.jpg', 2), ('/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_14_10811.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/08/image_10072025_16_09_03_9704.jpg', '/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_54_9722.jpg', '/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_44_10692.jpg', '/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_33_9667.jpg', '/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_24_9751.jpg', '/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_14_10811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/08/image_10072025_16_09_03_9704.jpg
/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_54_9722.jpg
/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_44_10692.jpg
/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_33_9667.jpg
/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_24_9751.jpg
/home/nano/Desktop/images/10072025/16/08/image_10072025_16_08_14_10811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917179","1371917184","1371917187","1371917181","1371917180","1371917183"],"photo_ids_order":["1371917179","1371917180","1371917181","1371917183","1371917184","1371917187"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/958872b21b89026e8efcb9c1e13cdbb7.jpg","text":"TemporaryFile(/tmp/multipartBody2050605191903874955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345366683,"filename":"image_10072025_16_09_03_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2f039872e2cc35f31169e161c1c6698.jpg","text":"TemporaryFile(/tmp/multipartBody660584060282592714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345366683,"filename":"image_10072025_16_08_24_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35f273713a26ba624514b7bd8a584e83.jpg","text":"TemporaryFile(/tmp/multipartBody8992529117176615178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345366683,"filename":"image_10072025_16_08_14_10811.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a01556bd2e73aa617cee249153f86a48.jpg","text":"TemporaryFile(/tmp/multipartBody3270666516943195719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345366683,"filename":"image_10072025_16_08_44_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26c0eebb1bd53850a0d2c4b492e451b2.jpg","text":"TemporaryFile(/tmp/multipartBody507066475899868278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345366683,"filename":"image_10072025_16_08_54_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/842bc3c18cac91513edddf758a09f24e.jpg","text":"TemporaryFile(/tmp/multipartBody4720010369198660443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345366683,"filename":"image_10072025_16_08_33_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917181","file1":"1371917180","file0":"1371917179","file4":"1371917184","file5":"1371917187","file3":"1371917183"},"map_files_photo_id_array":[{"photo_id":"1371917187","filename":"file5"},{"photo_id":"1371917181","filename":"file2"},{"photo_id":"1371917184","filename":"file4"},{"photo_id":"1371917180","filename":"file1"},{"photo_id":"1371917179","filename":"file0"},{"photo_id":"1371917183","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917179":["hashtag1","hashtag2"]},{"1371917184":["hashtag1","hashtag2"]},{"1371917187":["hashtag1","hashtag2"]},{"1371917181":["hashtag1","hashtag2"]},{"1371917180":["hashtag1","hashtag2"]},{"1371917183":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917179, 1371917184, 1371917187, 1371917181, 1371917180, 1371917183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27652859687805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:35:47.256255
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_34_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_23_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_14_9653.jpg', 2), ('/home/nano/Desktop/images/12072025/20/34/image_12072025_20_35_04_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/20/34/image_12072025_20_34_53_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_34_10638.jpg', '/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_23_9615.jpg', '/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_14_9653.jpg', '/home/nano/Desktop/images/12072025/20/34/image_12072025_20_35_04_10659.jpg', '/home/nano/Desktop/images/12072025/20/34/image_12072025_20_34_53_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_34_10638.jpg
/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_23_9615.jpg
/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_14_9653.jpg
/home/nano/Desktop/images/12072025/20/34/image_12072025_20_35_04_10659.jpg
/home/nano/Desktop/images/12072025/20/34/image_12072025_20_34_53_9619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917200","1371917199","1371917202","1371917201","1371917197"],"photo_ids_order":["1371917197","1371917199","1371917200","1371917201","1371917202"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f9a3812097bef9b6a90d76b7492c5c7.jpg","text":"TemporaryFile(/tmp/multipartBody7383297185663778549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345409092,"filename":"image_12072025_20_35_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b47ffeacfa5a9e7132ddbcf087269056.jpg","text":"TemporaryFile(/tmp/multipartBody7825070009630323274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345409092,"filename":"image_12072025_20_35_23_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9204e8772452cbf49e8db11ab53056ae.jpg","text":"TemporaryFile(/tmp/multipartBody1094060751468047394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345409092,"filename":"image_12072025_20_34_53_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be5a09e81aedc238cdd22683539f567d.jpg","text":"TemporaryFile(/tmp/multipartBody6534097117311069434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345409092,"filename":"image_12072025_20_35_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1a52febe3a48e464d45a4af3572db9b5.jpg","text":"TemporaryFile(/tmp/multipartBody3214735588162684106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345409092,"filename":"image_12072025_20_35_34_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917200","file1":"1371917199","file0":"1371917197","file4":"1371917202","file3":"1371917201"},"map_files_photo_id_array":[{"photo_id":"1371917200","filename":"file2"},{"photo_id":"1371917202","filename":"file4"},{"photo_id":"1371917199","filename":"file1"},{"photo_id":"1371917197","filename":"file0"},{"photo_id":"1371917201","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917200":["hashtag1","hashtag2"]},{"1371917199":["hashtag1","hashtag2"]},{"1371917202":["hashtag1","hashtag2"]},{"1371917201":["hashtag1","hashtag2"]},{"1371917197":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917200, 1371917199, 1371917202, 1371917201, 1371917197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.51277184486389 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:36:17.359077
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_14_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/20/35/image_12072025_20_36_04_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_24_10647.jpg', '/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_14_9648.jpg', '/home/nano/Desktop/images/12072025/20/35/image_12072025_20_36_04_9637.jpg', '/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_24_10647.jpg
/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_14_9648.jpg
/home/nano/Desktop/images/12072025/20/35/image_12072025_20_36_04_9637.jpg
/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_44_9640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3421921730041504 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:36:32.399107
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_24_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_14_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/20/35/image_12072025_20_36_04_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_44_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_24_10647.jpg', '/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_14_9648.jpg', '/home/nano/Desktop/images/12072025/20/35/image_12072025_20_36_04_9637.jpg', '/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_24_10647.jpg
/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_14_9648.jpg
/home/nano/Desktop/images/12072025/20/35/image_12072025_20_36_04_9637.jpg
/home/nano/Desktop/images/12072025/20/35/image_12072025_20_35_44_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917206","1371917208","1371917207","1371917210"],"photo_ids_order":["1371917206","1371917207","1371917208","1371917210"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b86cea9a2807d7dd73e97ba0604c6a99.jpg","text":"TemporaryFile(/tmp/multipartBody1176663279660321838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345453893,"filename":"image_12072025_20_36_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/285199c9401a7332419fe0938e299751.jpg","text":"TemporaryFile(/tmp/multipartBody238797997617083824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345453893,"filename":"image_12072025_20_36_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20a323fd21e631d086455bce23c45c5b.jpg","text":"TemporaryFile(/tmp/multipartBody2552597661708442462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345453893,"filename":"image_12072025_20_36_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06b6fa176e0c1f0408db9ddc1fa72c10.jpg","text":"TemporaryFile(/tmp/multipartBody3125875755878531419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345453893,"filename":"image_12072025_20_35_44_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917208","file1":"1371917207","file0":"1371917206","file3":"1371917210"},"map_files_photo_id_array":[{"photo_id":"1371917208","filename":"file2"},{"photo_id":"1371917207","filename":"file1"},{"photo_id":"1371917206","filename":"file0"},{"photo_id":"1371917210","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917206":["hashtag1","hashtag2"]},{"1371917208":["hashtag1","hashtag2"]},{"1371917207":["hashtag1","hashtag2"]},{"1371917210":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917206, 1371917208, 1371917207, 1371917210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.439123392105103 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:37:03.123170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/07/image_10072025_16_08_03_9758.jpg', 2), ('/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_53_9738.jpg', 2), ('/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_44_9697.jpg', 2), ('/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_34_10697.jpg', 2), ('/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_23_9677.jpg', 2), ('/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_14_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/07/image_10072025_16_08_03_9758.jpg', '/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_53_9738.jpg', '/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_44_9697.jpg', '/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_34_10697.jpg', '/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_23_9677.jpg', '/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_14_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/07/image_10072025_16_08_03_9758.jpg
/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_53_9738.jpg
/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_44_9697.jpg
/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_34_10697.jpg
/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_23_9677.jpg
/home/nano/Desktop/images/10072025/16/07/image_10072025_16_07_14_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917218","1371917215","1371917220","1371917217","1371917213","1371917222"],"photo_ids_order":["1371917213","1371917215","1371917217","1371917218","1371917220","1371917222"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c35a6fa16ff597ef8d938f3ed104279.jpg","text":"TemporaryFile(/tmp/multipartBody2250581429990973459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345487095,"filename":"image_10072025_16_07_34_10697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d111c1d9a543a56bf7c3a1e56bbed40d.jpg","text":"TemporaryFile(/tmp/multipartBody6557706572454792255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345487095,"filename":"image_10072025_16_07_53_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9421fc51d8f58d571cc97334603e0cc3.jpg","text":"TemporaryFile(/tmp/multipartBody3043848075723184744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345487095,"filename":"image_10072025_16_07_23_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f38356379fdeb5a89984e827c2a1e4ad.jpg","text":"TemporaryFile(/tmp/multipartBody7405438374376127335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345487095,"filename":"image_10072025_16_07_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/404b0a3485adbf408830f100f27d6d03.jpg","text":"TemporaryFile(/tmp/multipartBody997285626411743553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345487095,"filename":"image_10072025_16_08_03_9758.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b9332403136ef96505d5f4731de95b8.jpg","text":"TemporaryFile(/tmp/multipartBody247352347504988832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345487095,"filename":"image_10072025_16_07_14_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917217","file1":"1371917215","file0":"1371917213","file4":"1371917220","file5":"1371917222","file3":"1371917218"},"map_files_photo_id_array":[{"photo_id":"1371917222","filename":"file5"},{"photo_id":"1371917217","filename":"file2"},{"photo_id":"1371917220","filename":"file4"},{"photo_id":"1371917215","filename":"file1"},{"photo_id":"1371917213","filename":"file0"},{"photo_id":"1371917218","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917218":["hashtag1","hashtag2"]},{"1371917215":["hashtag1","hashtag2"]},{"1371917220":["hashtag1","hashtag2"]},{"1371917217":["hashtag1","hashtag2"]},{"1371917213":["hashtag1","hashtag2"]},{"1371917222":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917218, 1371917215, 1371917220, 1371917217, 1371917213, 1371917222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68442153930664 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:37:47.546868
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_44_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_34_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_34_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_44_10634.jpg', '/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_34_9621.jpg', '/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_34_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_44_10634.jpg
/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_34_9621.jpg
/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_34_9625.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0293691158294678 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:38:03.118572
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_44_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_34_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_34_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_44_10634.jpg', '/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_34_9621.jpg', '/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_34_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_44_10634.jpg
/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_34_9621.jpg
/home/nano/Desktop/images/12072025/20/36/image_12072025_20_36_34_9625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917233","1371917235","1371917231"],"photo_ids_order":["1371917231","1371917233","1371917235"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f75f684e5ba0d152bb792f8194c77d68.jpg","text":"TemporaryFile(/tmp/multipartBody6312901231371890354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345544170,"filename":"image_12072025_20_37_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94286350b49802557b71916d9cc5a5c1.jpg","text":"TemporaryFile(/tmp/multipartBody2714418353948251813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345544170,"filename":"image_12072025_20_36_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bc43017898c29a614f35257a274664d9.jpg","text":"TemporaryFile(/tmp/multipartBody180534642661949135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345544170,"filename":"image_12072025_20_37_44_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917235","file1":"1371917233","file0":"1371917231"},"map_files_photo_id_array":[{"photo_id":"1371917235","filename":"file2"},{"photo_id":"1371917233","filename":"file1"},{"photo_id":"1371917231","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917233":["hashtag1","hashtag2"]},{"1371917235":["hashtag1","hashtag2"]},{"1371917231":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917233, 1371917235, 1371917231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.346534252166748 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:38:32.646292
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/38/image_12072025_20_38_33_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/20/38/image_12072025_20_38_24_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/20/37/image_12072025_20_38_04_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_54_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/38/image_12072025_20_38_33_9619.jpg', '/home/nano/Desktop/images/12072025/20/38/image_12072025_20_38_24_9621.jpg', '/home/nano/Desktop/images/12072025/20/37/image_12072025_20_38_04_9641.jpg', '/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_54_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/38/image_12072025_20_38_33_9619.jpg
/home/nano/Desktop/images/12072025/20/38/image_12072025_20_38_24_9621.jpg
/home/nano/Desktop/images/12072025/20/37/image_12072025_20_38_04_9641.jpg
/home/nano/Desktop/images/12072025/20/37/image_12072025_20_37_54_9622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917242","1371917245","1371917239","1371917241"],"photo_ids_order":["1371917239","1371917241","1371917242","1371917245"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f41b6f490949953a7ee54a9fe1bc6c2.jpg","text":"TemporaryFile(/tmp/multipartBody4259102854944126559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345574053,"filename":"image_12072025_20_38_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f543216be2c8d10eb62999362f86e79d.jpg","text":"TemporaryFile(/tmp/multipartBody3432153683796553205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345574053,"filename":"image_12072025_20_37_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dfd20fdf4511316e80b88938f3ffe72a.jpg","text":"TemporaryFile(/tmp/multipartBody3464149498384444122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345574053,"filename":"image_12072025_20_38_33_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/992c85338578f86922b946f905bb8b4c.jpg","text":"TemporaryFile(/tmp/multipartBody6883074973553136445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345574053,"filename":"image_12072025_20_38_24_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917242","file1":"1371917241","file0":"1371917239","file3":"1371917245"},"map_files_photo_id_array":[{"photo_id":"1371917242","filename":"file2"},{"photo_id":"1371917241","filename":"file1"},{"photo_id":"1371917239","filename":"file0"},{"photo_id":"1371917245","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917242":["hashtag1","hashtag2"]},{"1371917245":["hashtag1","hashtag2"]},{"1371917239":["hashtag1","hashtag2"]},{"1371917241":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917242, 1371917245, 1371917239, 1371917241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.599677801132202 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:39:02.876499
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/06/image_10072025_16_07_04_10666.jpg', 2), ('/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_53_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_44_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_34_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_23_9642.jpg', 2), ('/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_14_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/06/image_10072025_16_07_04_10666.jpg', '/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_53_9619.jpg', '/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_44_9628.jpg', '/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_34_10633.jpg', '/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_23_9642.jpg', '/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_14_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/06/image_10072025_16_07_04_10666.jpg
/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_53_9619.jpg
/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_44_9628.jpg
/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_34_10633.jpg
/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_23_9642.jpg
/home/nano/Desktop/images/10072025/16/06/image_10072025_16_06_14_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917257","1371917251","1371917253","1371917256","1371917258","1371917255"],"photo_ids_order":["1371917251","1371917253","1371917255","1371917256","1371917257","1371917258"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5b1bd8ef7d0bd0e42bbb01b3092e238.jpg","text":"TemporaryFile(/tmp/multipartBody3044088952100995950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345606196,"filename":"image_10072025_16_06_23_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2958fa05cc1c012661a34b183d0aaea.jpg","text":"TemporaryFile(/tmp/multipartBody428674595925471661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345606196,"filename":"image_10072025_16_07_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e9c29890a3b45ae5856f3380e6a9a60.jpg","text":"TemporaryFile(/tmp/multipartBody6093999019407291660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345606196,"filename":"image_10072025_16_06_53_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18a097a82deafc634a8e261cc3798c74.jpg","text":"TemporaryFile(/tmp/multipartBody2541952720333056682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345606196,"filename":"image_10072025_16_06_34_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21cd5a5a69de58c7da5d89dc4ce76cc9.jpg","text":"TemporaryFile(/tmp/multipartBody2341824613727061310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345606196,"filename":"image_10072025_16_06_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11c8c1f210a1b274b68457f25a187676.jpg","text":"TemporaryFile(/tmp/multipartBody1069316528023529120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345606196,"filename":"image_10072025_16_06_44_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917255","file1":"1371917253","file0":"1371917251","file4":"1371917257","file5":"1371917258","file3":"1371917256"},"map_files_photo_id_array":[{"photo_id":"1371917258","filename":"file5"},{"photo_id":"1371917255","filename":"file2"},{"photo_id":"1371917257","filename":"file4"},{"photo_id":"1371917253","filename":"file1"},{"photo_id":"1371917251","filename":"file0"},{"photo_id":"1371917256","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917257":["hashtag1","hashtag2"]},{"1371917251":["hashtag1","hashtag2"]},{"1371917253":["hashtag1","hashtag2"]},{"1371917256":["hashtag1","hashtag2"]},{"1371917258":["hashtag1","hashtag2"]},{"1371917255":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917257, 1371917251, 1371917253, 1371917256, 1371917258, 1371917255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.963253021240234 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:39:46.806953
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/39/image_12072025_20_39_44_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/20/38/image_12072025_20_39_03_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/20/38/image_12072025_20_38_44_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/39/image_12072025_20_39_44_9619.jpg', '/home/nano/Desktop/images/12072025/20/38/image_12072025_20_39_03_9622.jpg', '/home/nano/Desktop/images/12072025/20/38/image_12072025_20_38_44_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/39/image_12072025_20_39_44_9619.jpg
/home/nano/Desktop/images/12072025/20/38/image_12072025_20_39_03_9622.jpg
/home/nano/Desktop/images/12072025/20/38/image_12072025_20_38_44_10632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917271","1371917270","1371917272"],"photo_ids_order":["1371917270","1371917271","1371917272"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b91d95d19508a7f72612264e22bfba5f.jpg","text":"TemporaryFile(/tmp/multipartBody5301101993927805924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345648256,"filename":"image_12072025_20_39_03_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a343e19f273eb779c76473fd5f5257d8.jpg","text":"TemporaryFile(/tmp/multipartBody3516626539057348478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345648256,"filename":"image_12072025_20_39_44_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e006e21f5d421f7b3e0ac0303fd797da.jpg","text":"TemporaryFile(/tmp/multipartBody6698399323248897727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345648256,"filename":"image_12072025_20_38_44_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917272","file1":"1371917271","file0":"1371917270"},"map_files_photo_id_array":[{"photo_id":"1371917272","filename":"file2"},{"photo_id":"1371917271","filename":"file1"},{"photo_id":"1371917270","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917271":["hashtag1","hashtag2"]},{"1371917270":["hashtag1","hashtag2"]},{"1371917272":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917271, 1371917270, 1371917272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.20706605911255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:40:16.907450
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/40/image_12072025_20_40_44_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/20/40/image_12072025_20_40_34_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/20/40/image_12072025_20_40_23_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/20/39/image_12072025_20_40_04_10665.jpg', 2), ('/home/nano/Desktop/images/12072025/20/39/image_12072025_20_39_53_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/40/image_12072025_20_40_44_9626.jpg', '/home/nano/Desktop/images/12072025/20/40/image_12072025_20_40_34_10628.jpg', '/home/nano/Desktop/images/12072025/20/40/image_12072025_20_40_23_9634.jpg', '/home/nano/Desktop/images/12072025/20/39/image_12072025_20_40_04_10665.jpg', '/home/nano/Desktop/images/12072025/20/39/image_12072025_20_39_53_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/40/image_12072025_20_40_44_9626.jpg
/home/nano/Desktop/images/12072025/20/40/image_12072025_20_40_34_10628.jpg
/home/nano/Desktop/images/12072025/20/40/image_12072025_20_40_23_9634.jpg
/home/nano/Desktop/images/12072025/20/39/image_12072025_20_40_04_10665.jpg
/home/nano/Desktop/images/12072025/20/39/image_12072025_20_39_53_9623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917283","1371917282","1371917276","1371917279","1371917275"],"photo_ids_order":["1371917275","1371917276","1371917279","1371917282","1371917283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60705a43821801d226a1b1c39596fa3a.jpg","text":"TemporaryFile(/tmp/multipartBody4323686392560098289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345678611,"filename":"image_12072025_20_39_53_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/575f044ac505497e4eb1b1d1aac20ca7.jpg","text":"TemporaryFile(/tmp/multipartBody4860399077788207836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345678611,"filename":"image_12072025_20_40_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b609b3dfbdff4e8b902e3d0312ce456c.jpg","text":"TemporaryFile(/tmp/multipartBody3377151175161379950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345678611,"filename":"image_12072025_20_40_34_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9010205275f6c914b5852c669ab74c9c.jpg","text":"TemporaryFile(/tmp/multipartBody414250077787741510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345678611,"filename":"image_12072025_20_40_23_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98704ed2bf1120daae7b86b1ac8248ca.jpg","text":"TemporaryFile(/tmp/multipartBody2120550651992486074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345678611,"filename":"image_12072025_20_40_44_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917279","file1":"1371917276","file0":"1371917275","file4":"1371917283","file3":"1371917282"},"map_files_photo_id_array":[{"photo_id":"1371917279","filename":"file2"},{"photo_id":"1371917283","filename":"file4"},{"photo_id":"1371917276","filename":"file1"},{"photo_id":"1371917275","filename":"file0"},{"photo_id":"1371917282","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917283":["hashtag1","hashtag2"]},{"1371917282":["hashtag1","hashtag2"]},{"1371917276":["hashtag1","hashtag2"]},{"1371917279":["hashtag1","hashtag2"]},{"1371917275":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917283, 1371917282, 1371917276, 1371917279, 1371917275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.8156316280365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:40:46.920327
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/05/image_10072025_16_06_04_10707.jpg', 2), ('/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_53_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_44_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_34_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_23_9692.jpg', 2), ('/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_14_9756.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/05/image_10072025_16_06_04_10707.jpg', '/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_53_9667.jpg', '/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_44_9665.jpg', '/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_34_10660.jpg', '/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_23_9692.jpg', '/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_14_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/05/image_10072025_16_06_04_10707.jpg
/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_53_9667.jpg
/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_44_9665.jpg
/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_34_10660.jpg
/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_23_9692.jpg
/home/nano/Desktop/images/10072025/16/05/image_10072025_16_05_14_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917295","1371917292","1371917294","1371917290","1371917293","1371917296"],"photo_ids_order":["1371917290","1371917292","1371917293","1371917294","1371917295","1371917296"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b20088d05f4449e128416af4b2ae2d7.jpg","text":"TemporaryFile(/tmp/multipartBody6023477696782002626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345710403,"filename":"image_10072025_16_05_23_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38b080c86cfaf09542d95f664ac51677.jpg","text":"TemporaryFile(/tmp/multipartBody357531482628352788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345710403,"filename":"image_10072025_16_05_53_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f48a715379b3ef63354509b1fa00a9be.jpg","text":"TemporaryFile(/tmp/multipartBody9023259213680129516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345710403,"filename":"image_10072025_16_05_34_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8043e764e093744296694eba81e3d38.jpg","text":"TemporaryFile(/tmp/multipartBody7902379263405718597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345710403,"filename":"image_10072025_16_06_04_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3736ee8f9bccd71d776185af1119f01c.jpg","text":"TemporaryFile(/tmp/multipartBody5032504281776194875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345710403,"filename":"image_10072025_16_05_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e44b2ef7a2908f0b450653b95a1840a6.jpg","text":"TemporaryFile(/tmp/multipartBody4203149736400233745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345710403,"filename":"image_10072025_16_05_14_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917293","file1":"1371917292","file0":"1371917290","file4":"1371917295","file5":"1371917296","file3":"1371917294"},"map_files_photo_id_array":[{"photo_id":"1371917296","filename":"file5"},{"photo_id":"1371917293","filename":"file2"},{"photo_id":"1371917295","filename":"file4"},{"photo_id":"1371917292","filename":"file1"},{"photo_id":"1371917290","filename":"file0"},{"photo_id":"1371917294","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917295":["hashtag1","hashtag2"]},{"1371917292":["hashtag1","hashtag2"]},{"1371917294":["hashtag1","hashtag2"]},{"1371917290":["hashtag1","hashtag2"]},{"1371917293":["hashtag1","hashtag2"]},{"1371917296":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917295, 1371917292, 1371917294, 1371917290, 1371917293, 1371917296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.277098417282104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:41:32.002582
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/40/image_12072025_20_41_04_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/20/40/image_12072025_20_40_54_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/40/image_12072025_20_41_04_9638.jpg', '/home/nano/Desktop/images/12072025/20/40/image_12072025_20_40_54_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/40/image_12072025_20_41_04_9638.jpg
/home/nano/Desktop/images/12072025/20/40/image_12072025_20_40_54_10629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917301","1371917304"],"photo_ids_order":["1371917301","1371917304"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/033ffb4c1515d5c7f6f787e2aa5a3396.jpg","text":"TemporaryFile(/tmp/multipartBody3164051847053658435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345753306,"filename":"image_12072025_20_41_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca218a5fdcdaf44aa378b7b1ef66af86.jpg","text":"TemporaryFile(/tmp/multipartBody5656102911201069113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345753306,"filename":"image_12072025_20_40_54_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371917304","file0":"1371917301"},"map_files_photo_id_array":[{"photo_id":"1371917304","filename":"file1"},{"photo_id":"1371917301","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917301":["hashtag1","hashtag2"]},{"1371917304":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917301, 1371917304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.779712438583374 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:42:02.765063
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/04/image_10072025_16_05_04_10726.jpg', 2), ('/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_53_9680.jpg', 2), ('/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_43_9687.jpg', 2), ('/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_34_10683.jpg', 2), ('/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_23_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_13_9672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/04/image_10072025_16_05_04_10726.jpg', '/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_53_9680.jpg', '/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_43_9687.jpg', '/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_34_10683.jpg', '/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_23_9657.jpg', '/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_13_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/04/image_10072025_16_05_04_10726.jpg
/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_53_9680.jpg
/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_43_9687.jpg
/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_34_10683.jpg
/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_23_9657.jpg
/home/nano/Desktop/images/10072025/16/04/image_10072025_16_04_13_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917317","1371917311","1371917314","1371917313","1371917316","1371917319"],"photo_ids_order":["1371917311","1371917313","1371917314","1371917316","1371917317","1371917319"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0a3104be0c2477b139028a69f521370.jpg","text":"TemporaryFile(/tmp/multipartBody5618598937004003466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345786487,"filename":"image_10072025_16_04_23_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc37db2ff0e4bb42ab1e466edd9b34e4.jpg","text":"TemporaryFile(/tmp/multipartBody2870194191939066990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345786487,"filename":"image_10072025_16_05_04_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03f6a4f59558521f1173b9eac8f8c37a.jpg","text":"TemporaryFile(/tmp/multipartBody34519483654901411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345786487,"filename":"image_10072025_16_04_43_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dfe6ef52a5cd1a392d8718da73d205d2.jpg","text":"TemporaryFile(/tmp/multipartBody536798145408507100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345786487,"filename":"image_10072025_16_04_53_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ced882f34fd4fe09bc8d9488aa41d6f5.jpg","text":"TemporaryFile(/tmp/multipartBody6224222940709023790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345786487,"filename":"image_10072025_16_04_34_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3ffa187e627f8693a85550c9fbe6f28.jpg","text":"TemporaryFile(/tmp/multipartBody7852601102678877459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345786487,"filename":"image_10072025_16_04_13_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917314","file1":"1371917313","file0":"1371917311","file4":"1371917317","file5":"1371917319","file3":"1371917316"},"map_files_photo_id_array":[{"photo_id":"1371917319","filename":"file5"},{"photo_id":"1371917314","filename":"file2"},{"photo_id":"1371917317","filename":"file4"},{"photo_id":"1371917313","filename":"file1"},{"photo_id":"1371917311","filename":"file0"},{"photo_id":"1371917316","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917317":["hashtag1","hashtag2"]},{"1371917311":["hashtag1","hashtag2"]},{"1371917314":["hashtag1","hashtag2"]},{"1371917313":["hashtag1","hashtag2"]},{"1371917316":["hashtag1","hashtag2"]},{"1371917319":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917317, 1371917311, 1371917314, 1371917313, 1371917316, 1371917319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.58059096336365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:42:47.106282
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/42/image_12072025_20_42_44_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/20/42/image_12072025_20_42_34_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/20/42/image_12072025_20_42_13_9656.jpg', 2), ('/home/nano/Desktop/images/12072025/20/41/image_12072025_20_42_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/20/41/image_12072025_20_41_43_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/42/image_12072025_20_42_44_10635.jpg', '/home/nano/Desktop/images/12072025/20/42/image_12072025_20_42_34_9629.jpg', '/home/nano/Desktop/images/12072025/20/42/image_12072025_20_42_13_9656.jpg', '/home/nano/Desktop/images/12072025/20/41/image_12072025_20_42_04_9626.jpg', '/home/nano/Desktop/images/12072025/20/41/image_12072025_20_41_43_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/42/image_12072025_20_42_44_10635.jpg
/home/nano/Desktop/images/12072025/20/42/image_12072025_20_42_34_9629.jpg
/home/nano/Desktop/images/12072025/20/42/image_12072025_20_42_13_9656.jpg
/home/nano/Desktop/images/12072025/20/41/image_12072025_20_42_04_9626.jpg
/home/nano/Desktop/images/12072025/20/41/image_12072025_20_41_43_9617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917329","1371917328","1371917325","1371917330","1371917327"],"photo_ids_order":["1371917325","1371917327","1371917328","1371917329","1371917330"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6839d39f87e2dd47938058142d28f768.jpg","text":"TemporaryFile(/tmp/multipartBody6267125310200402080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345828762,"filename":"image_12072025_20_42_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43c068c550efe831b2e408108c8a6c3f.jpg","text":"TemporaryFile(/tmp/multipartBody6628904168096275707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345828762,"filename":"image_12072025_20_42_13_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f3033b4751c80fdf352afeed26a1a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4071761733565706502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345828762,"filename":"image_12072025_20_42_44_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cef3dd53e5857e593ed42a1cb6e9520c.jpg","text":"TemporaryFile(/tmp/multipartBody4497600238736213194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345828762,"filename":"image_12072025_20_41_43_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18a8d8694f8f8378eef467c43fbea76d.jpg","text":"TemporaryFile(/tmp/multipartBody7075441228616651258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345828762,"filename":"image_12072025_20_42_34_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917328","file1":"1371917327","file0":"1371917325","file4":"1371917330","file3":"1371917329"},"map_files_photo_id_array":[{"photo_id":"1371917328","filename":"file2"},{"photo_id":"1371917330","filename":"file4"},{"photo_id":"1371917327","filename":"file1"},{"photo_id":"1371917325","filename":"file0"},{"photo_id":"1371917329","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917329":["hashtag1","hashtag2"]},{"1371917328":["hashtag1","hashtag2"]},{"1371917325":["hashtag1","hashtag2"]},{"1371917330":["hashtag1","hashtag2"]},{"1371917327":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917329, 1371917328, 1371917325, 1371917330, 1371917327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.843607902526855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:43:17.221307
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/43/image_12072025_20_43_33_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/20/43/image_12072025_20_43_24_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/20/43/image_12072025_20_43_14_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/20/42/image_12072025_20_43_04_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/20/42/image_12072025_20_42_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/43/image_12072025_20_43_33_9629.jpg', '/home/nano/Desktop/images/12072025/20/43/image_12072025_20_43_24_9618.jpg', '/home/nano/Desktop/images/12072025/20/43/image_12072025_20_43_14_10655.jpg', '/home/nano/Desktop/images/12072025/20/42/image_12072025_20_43_04_9625.jpg', '/home/nano/Desktop/images/12072025/20/42/image_12072025_20_42_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/43/image_12072025_20_43_33_9629.jpg
/home/nano/Desktop/images/12072025/20/43/image_12072025_20_43_24_9618.jpg
/home/nano/Desktop/images/12072025/20/43/image_12072025_20_43_14_10655.jpg
/home/nano/Desktop/images/12072025/20/42/image_12072025_20_43_04_9625.jpg
/home/nano/Desktop/images/12072025/20/42/image_12072025_20_42_54_9626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917341","1371917338","1371917340","1371917334","1371917336"],"photo_ids_order":["1371917334","1371917336","1371917338","1371917340","1371917341"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7be4109df66d7de319a26cd63a507d9d.jpg","text":"TemporaryFile(/tmp/multipartBody7677999108462428427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345858526,"filename":"image_12072025_20_42_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8ac1f396082e5dba978b27e186d83d1.jpg","text":"TemporaryFile(/tmp/multipartBody6494311356623802401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345858526,"filename":"image_12072025_20_43_14_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db015fd45b8760ba1ec8acba2d018624.jpg","text":"TemporaryFile(/tmp/multipartBody4518583623370811916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345858526,"filename":"image_12072025_20_43_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ddfc6cb208dc822752deaa2e14e3b5e3.jpg","text":"TemporaryFile(/tmp/multipartBody6737433807704425501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345858526,"filename":"image_12072025_20_43_33_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/696bc2231a896c8de2f4147cb6310013.jpg","text":"TemporaryFile(/tmp/multipartBody1097542962667727606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345858526,"filename":"image_12072025_20_43_24_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917338","file1":"1371917336","file0":"1371917334","file4":"1371917341","file3":"1371917340"},"map_files_photo_id_array":[{"photo_id":"1371917338","filename":"file2"},{"photo_id":"1371917341","filename":"file4"},{"photo_id":"1371917336","filename":"file1"},{"photo_id":"1371917334","filename":"file0"},{"photo_id":"1371917340","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917341":["hashtag1","hashtag2"]},{"1371917338":["hashtag1","hashtag2"]},{"1371917340":["hashtag1","hashtag2"]},{"1371917334":["hashtag1","hashtag2"]},{"1371917336":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917341, 1371917338, 1371917340, 1371917334, 1371917336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.364399671554565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:43:47.203272
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/03/image_10072025_16_04_04_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_53_9668.jpg', 2), ('/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_43_9642.jpg', 2), ('/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_34_10668.jpg', 2), ('/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_23_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_14_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/03/image_10072025_16_04_04_10637.jpg', '/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_53_9668.jpg', '/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_43_9642.jpg', '/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_34_10668.jpg', '/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_23_9625.jpg', '/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_14_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/03/image_10072025_16_04_04_10637.jpg
/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_53_9668.jpg
/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_43_9642.jpg
/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_34_10668.jpg
/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_23_9625.jpg
/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_14_9658.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.4546701908111572 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:44:03.161384
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/03/image_10072025_16_04_04_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_53_9668.jpg', 2), ('/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_43_9642.jpg', 2), ('/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_34_10668.jpg', 2), ('/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_23_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_14_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/03/image_10072025_16_04_04_10637.jpg', '/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_53_9668.jpg', '/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_43_9642.jpg', '/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_34_10668.jpg', '/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_23_9625.jpg', '/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_14_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/03/image_10072025_16_04_04_10637.jpg
/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_53_9668.jpg
/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_43_9642.jpg
/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_34_10668.jpg
/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_23_9625.jpg
/home/nano/Desktop/images/10072025/16/03/image_10072025_16_03_14_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917359","1371917361","1371917355","1371917360","1371917363","1371917357"],"photo_ids_order":["1371917355","1371917357","1371917359","1371917360","1371917361","1371917363"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/817fe172f5828357682428ac2d92f0b1.jpg","text":"TemporaryFile(/tmp/multipartBody3201552095157434468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345906385,"filename":"image_10072025_16_03_43_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3dedece8316733d3b5a23bf0497f1f8b.jpg","text":"TemporaryFile(/tmp/multipartBody2872965200797794842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345906385,"filename":"image_10072025_16_03_23_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39048c2e9c785c889b11895e49230090.jpg","text":"TemporaryFile(/tmp/multipartBody2787195145938449186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345906385,"filename":"image_10072025_16_04_04_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9dc7ba7e3225d55104bc3f07c35d8b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6019148304768804105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345906385,"filename":"image_10072025_16_03_34_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be98f855777d6076df4b3dc9a9a69e75.jpg","text":"TemporaryFile(/tmp/multipartBody1070042720985537051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345906385,"filename":"image_10072025_16_03_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8488c6b0cd32f9267cd880b64954b57e.jpg","text":"TemporaryFile(/tmp/multipartBody518668613290591787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345906385,"filename":"image_10072025_16_03_53_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917359","file1":"1371917357","file0":"1371917355","file4":"1371917361","file5":"1371917363","file3":"1371917360"},"map_files_photo_id_array":[{"photo_id":"1371917363","filename":"file5"},{"photo_id":"1371917359","filename":"file2"},{"photo_id":"1371917361","filename":"file4"},{"photo_id":"1371917357","filename":"file1"},{"photo_id":"1371917355","filename":"file0"},{"photo_id":"1371917360","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917359":["hashtag1","hashtag2"]},{"1371917361":["hashtag1","hashtag2"]},{"1371917355":["hashtag1","hashtag2"]},{"1371917360":["hashtag1","hashtag2"]},{"1371917363":["hashtag1","hashtag2"]},{"1371917357":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917359, 1371917361, 1371917355, 1371917360, 1371917363, 1371917357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.055564165115356 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:44:47.300270
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/44/image_12072025_20_44_34_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/20/44/image_12072025_20_44_24_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/20/44/image_12072025_20_44_14_10653.jpg', 2), ('/home/nano/Desktop/images/12072025/20/43/image_12072025_20_43_44_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/44/image_12072025_20_44_34_10646.jpg', '/home/nano/Desktop/images/12072025/20/44/image_12072025_20_44_24_9621.jpg', '/home/nano/Desktop/images/12072025/20/44/image_12072025_20_44_14_10653.jpg', '/home/nano/Desktop/images/12072025/20/43/image_12072025_20_43_44_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/44/image_12072025_20_44_34_10646.jpg
/home/nano/Desktop/images/12072025/20/44/image_12072025_20_44_24_9621.jpg
/home/nano/Desktop/images/12072025/20/44/image_12072025_20_44_14_10653.jpg
/home/nano/Desktop/images/12072025/20/43/image_12072025_20_43_44_10626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917377","1371917372","1371917375","1371917374"],"photo_ids_order":["1371917372","1371917374","1371917375","1371917377"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b16ff661a84af0eef309fc2039bed1e.jpg","text":"TemporaryFile(/tmp/multipartBody1300857462531840358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345948700,"filename":"image_12072025_20_43_44_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a572f692b3b45c17b7db34b4724e4c33.jpg","text":"TemporaryFile(/tmp/multipartBody6531513526159554278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345948700,"filename":"image_12072025_20_44_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d95eb10f746e837e8c6c04a5d335db38.jpg","text":"TemporaryFile(/tmp/multipartBody6181650295216686750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345948700,"filename":"image_12072025_20_44_14_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ae191cbcf8adbe9d36cb67759c9cb28.jpg","text":"TemporaryFile(/tmp/multipartBody6871821577183094097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345948700,"filename":"image_12072025_20_44_24_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917375","file1":"1371917374","file0":"1371917372","file3":"1371917377"},"map_files_photo_id_array":[{"photo_id":"1371917375","filename":"file2"},{"photo_id":"1371917374","filename":"file1"},{"photo_id":"1371917372","filename":"file0"},{"photo_id":"1371917377","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917377":["hashtag1","hashtag2"]},{"1371917372":["hashtag1","hashtag2"]},{"1371917375":["hashtag1","hashtag2"]},{"1371917374":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917377, 1371917372, 1371917375, 1371917374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.32075047492981 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:45:17.431733
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_34_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_14_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/20/44/image_12072025_20_45_04_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/20/44/image_12072025_20_44_53_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_44_9617.jpg', '/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_34_10627.jpg', '/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_23_9616.jpg', '/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_14_9648.jpg', '/home/nano/Desktop/images/12072025/20/44/image_12072025_20_45_04_10655.jpg', '/home/nano/Desktop/images/12072025/20/44/image_12072025_20_44_53_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_44_9617.jpg
/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_34_10627.jpg
/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_23_9616.jpg
/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_14_9648.jpg
/home/nano/Desktop/images/12072025/20/44/image_12072025_20_45_04_10655.jpg
/home/nano/Desktop/images/12072025/20/44/image_12072025_20_44_53_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917385","1371917388","1371917381","1371917383","1371917386","1371917380"],"photo_ids_order":["1371917380","1371917381","1371917383","1371917385","1371917386","1371917388"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f55d3b7ad8ae55736a8f343807ab6fe.jpg","text":"TemporaryFile(/tmp/multipartBody7304700832507868671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345979193,"filename":"image_12072025_20_45_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66fa0a41f5187df2e30f41ad74451c9a.jpg","text":"TemporaryFile(/tmp/multipartBody6527883787459117243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345979193,"filename":"image_12072025_20_44_53_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee120cd1e5446f3330ffddeab7820fa4.jpg","text":"TemporaryFile(/tmp/multipartBody1650412980094045813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345979193,"filename":"image_12072025_20_45_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d36b427b497b812a9d83869c83db6b3.jpg","text":"TemporaryFile(/tmp/multipartBody5658486551741059103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345979193,"filename":"image_12072025_20_45_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59335d8e353dc58d9ad337f54e7b32b0.jpg","text":"TemporaryFile(/tmp/multipartBody6456239892001860979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345979193,"filename":"image_12072025_20_45_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d4baeda6eb0c46334f12b37b79f10d1.jpg","text":"TemporaryFile(/tmp/multipartBody9153854032732779915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752345979193,"filename":"image_12072025_20_45_44_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917383","file1":"1371917381","file0":"1371917380","file4":"1371917386","file5":"1371917388","file3":"1371917385"},"map_files_photo_id_array":[{"photo_id":"1371917388","filename":"file5"},{"photo_id":"1371917383","filename":"file2"},{"photo_id":"1371917386","filename":"file4"},{"photo_id":"1371917381","filename":"file1"},{"photo_id":"1371917380","filename":"file0"},{"photo_id":"1371917385","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917385":["hashtag1","hashtag2"]},{"1371917388":["hashtag1","hashtag2"]},{"1371917381":["hashtag1","hashtag2"]},{"1371917383":["hashtag1","hashtag2"]},{"1371917386":["hashtag1","hashtag2"]},{"1371917380":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917385, 1371917388, 1371917381, 1371917383, 1371917386, 1371917380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.9649441242218 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:46:03.165565
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/02/image_10072025_16_03_04_9823.jpg', 2), ('/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_54_10719.jpg', 2), ('/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_43_9722.jpg', 2), ('/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_34_9686.jpg', 2), ('/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_24_10748.jpg', 2), ('/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_13_9726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/02/image_10072025_16_03_04_9823.jpg', '/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_54_10719.jpg', '/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_43_9722.jpg', '/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_34_9686.jpg', '/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_24_10748.jpg', '/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_13_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/02/image_10072025_16_03_04_9823.jpg
/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_54_10719.jpg
/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_43_9722.jpg
/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_34_9686.jpg
/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_24_10748.jpg
/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_13_9726.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.8347811698913574 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:46:17.570201
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/46/image_12072025_20_46_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/20/46/image_12072025_20_46_24_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/20/46/image_12072025_20_46_14_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/20/45/image_12072025_20_46_04_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_54_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/46/image_12072025_20_46_34_9610.jpg', '/home/nano/Desktop/images/12072025/20/46/image_12072025_20_46_24_10621.jpg', '/home/nano/Desktop/images/12072025/20/46/image_12072025_20_46_14_9634.jpg', '/home/nano/Desktop/images/12072025/20/45/image_12072025_20_46_04_9608.jpg', '/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/46/image_12072025_20_46_34_9610.jpg
/home/nano/Desktop/images/12072025/20/46/image_12072025_20_46_24_10621.jpg
/home/nano/Desktop/images/12072025/20/46/image_12072025_20_46_14_9634.jpg
/home/nano/Desktop/images/12072025/20/45/image_12072025_20_46_04_9608.jpg
/home/nano/Desktop/images/12072025/20/45/image_12072025_20_45_54_10623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917401","1371917397","1371917400","1371917398","1371917402"],"photo_ids_order":["1371917397","1371917398","1371917400","1371917401","1371917402"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/448ae4d70d6ca8dab42dc0cd3902edfa.jpg","text":"TemporaryFile(/tmp/multipartBody7255439542790854776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346039004,"filename":"image_12072025_20_46_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ed99adf1e3dcf3a3dc0a36a9df90886.jpg","text":"TemporaryFile(/tmp/multipartBody5485156777424741357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346039004,"filename":"image_12072025_20_46_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd168e4ea5ef4d2a321a4f84ae6e8e30.jpg","text":"TemporaryFile(/tmp/multipartBody8403879619687443526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346039004,"filename":"image_12072025_20_46_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74edbb11c957abde181ed493ae3a71f7.jpg","text":"TemporaryFile(/tmp/multipartBody4308093420186905547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346039004,"filename":"image_12072025_20_46_24_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87a2323c8ae6d7d26e3238aa81a8cceb.jpg","text":"TemporaryFile(/tmp/multipartBody4389628117239640512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346039004,"filename":"image_12072025_20_45_54_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917400","file1":"1371917398","file0":"1371917397","file4":"1371917402","file3":"1371917401"},"map_files_photo_id_array":[{"photo_id":"1371917400","filename":"file2"},{"photo_id":"1371917402","filename":"file4"},{"photo_id":"1371917398","filename":"file1"},{"photo_id":"1371917397","filename":"file0"},{"photo_id":"1371917401","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917401":["hashtag1","hashtag2"]},{"1371917397":["hashtag1","hashtag2"]},{"1371917400":["hashtag1","hashtag2"]},{"1371917398":["hashtag1","hashtag2"]},{"1371917402":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917401, 1371917397, 1371917400, 1371917398, 1371917402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.566656827926636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:46:47.553920
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/02/image_10072025_16_03_04_9823.jpg', 2), ('/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_54_10719.jpg', 2), ('/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_43_9722.jpg', 2), ('/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_34_9686.jpg', 2), ('/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_24_10748.jpg', 2), ('/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_13_9726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/02/image_10072025_16_03_04_9823.jpg', '/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_54_10719.jpg', '/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_43_9722.jpg', '/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_34_9686.jpg', '/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_24_10748.jpg', '/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_13_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/02/image_10072025_16_03_04_9823.jpg
/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_54_10719.jpg
/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_43_9722.jpg
/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_34_9686.jpg
/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_24_10748.jpg
/home/nano/Desktop/images/10072025/16/02/image_10072025_16_02_13_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917410","1371917413","1371917415","1371917406","1371917411","1371917408"],"photo_ids_order":["1371917406","1371917408","1371917410","1371917411","1371917413","1371917415"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca73cba1d16172b09e63fd4343453b34.jpg","text":"TemporaryFile(/tmp/multipartBody6424769737381687839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346071235,"filename":"image_10072025_16_02_43_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b84cdfc616dc1d2925af21779ecb41bb.jpg","text":"TemporaryFile(/tmp/multipartBody8108959552479948336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346071235,"filename":"image_10072025_16_02_24_10748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/978b74cc26ddb4dcbc2733183d8b3a15.jpg","text":"TemporaryFile(/tmp/multipartBody1259203366021535273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346071235,"filename":"image_10072025_16_02_13_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d65f9922e8da21457ec1ceafcad8ce7.jpg","text":"TemporaryFile(/tmp/multipartBody4002711978841936439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346071235,"filename":"image_10072025_16_03_04_9823.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e48c325401f201cc19f59fc458d49361.jpg","text":"TemporaryFile(/tmp/multipartBody821664537457566462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346071235,"filename":"image_10072025_16_02_34_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6fe3d4100b0b61356ad11c9e01625b4.jpg","text":"TemporaryFile(/tmp/multipartBody2362614993652143656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346071235,"filename":"image_10072025_16_02_54_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917410","file1":"1371917408","file0":"1371917406","file4":"1371917413","file5":"1371917415","file3":"1371917411"},"map_files_photo_id_array":[{"photo_id":"1371917415","filename":"file5"},{"photo_id":"1371917410","filename":"file2"},{"photo_id":"1371917413","filename":"file4"},{"photo_id":"1371917408","filename":"file1"},{"photo_id":"1371917406","filename":"file0"},{"photo_id":"1371917411","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917410":["hashtag1","hashtag2"]},{"1371917413":["hashtag1","hashtag2"]},{"1371917415":["hashtag1","hashtag2"]},{"1371917406":["hashtag1","hashtag2"]},{"1371917411":["hashtag1","hashtag2"]},{"1371917408":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917410, 1371917413, 1371917415, 1371917406, 1371917411, 1371917408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43452024459839 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:47:32.764046
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/47/image_12072025_20_47_44_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/20/47/image_12072025_20_47_34_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/20/47/image_12072025_20_47_24_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/20/46/image_12072025_20_47_04_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/20/46/image_12072025_20_46_54_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/47/image_12072025_20_47_44_10628.jpg', '/home/nano/Desktop/images/12072025/20/47/image_12072025_20_47_34_9604.jpg', '/home/nano/Desktop/images/12072025/20/47/image_12072025_20_47_24_9618.jpg', '/home/nano/Desktop/images/12072025/20/46/image_12072025_20_47_04_9633.jpg', '/home/nano/Desktop/images/12072025/20/46/image_12072025_20_46_54_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/47/image_12072025_20_47_44_10628.jpg
/home/nano/Desktop/images/12072025/20/47/image_12072025_20_47_34_9604.jpg
/home/nano/Desktop/images/12072025/20/47/image_12072025_20_47_24_9618.jpg
/home/nano/Desktop/images/12072025/20/46/image_12072025_20_47_04_9633.jpg
/home/nano/Desktop/images/12072025/20/46/image_12072025_20_46_54_10618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917422","1371917425","1371917421","1371917424","1371917420"],"photo_ids_order":["1371917420","1371917421","1371917422","1371917424","1371917425"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3bfc3f53928c2fef55271bafd494db4.jpg","text":"TemporaryFile(/tmp/multipartBody1682005992039451581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346114286,"filename":"image_12072025_20_47_24_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c6e9528597e27b07bf066040ef951c1.jpg","text":"TemporaryFile(/tmp/multipartBody7558275500333238828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346114286,"filename":"image_12072025_20_46_54_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d4afbaa58fb7ef7de926d682d0eb4f7.jpg","text":"TemporaryFile(/tmp/multipartBody2904159472813470887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346114286,"filename":"image_12072025_20_47_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6fe8377eb2208df65fa151380a9385e.jpg","text":"TemporaryFile(/tmp/multipartBody4685464689411662388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346114286,"filename":"image_12072025_20_47_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2bd6f187da25195f903eb1663689aa02.jpg","text":"TemporaryFile(/tmp/multipartBody5957518227628832439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346114286,"filename":"image_12072025_20_47_44_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917422","file1":"1371917421","file0":"1371917420","file4":"1371917425","file3":"1371917424"},"map_files_photo_id_array":[{"photo_id":"1371917422","filename":"file2"},{"photo_id":"1371917425","filename":"file4"},{"photo_id":"1371917421","filename":"file1"},{"photo_id":"1371917420","filename":"file0"},{"photo_id":"1371917424","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917422":["hashtag1","hashtag2"]},{"1371917425":["hashtag1","hashtag2"]},{"1371917421":["hashtag1","hashtag2"]},{"1371917424":["hashtag1","hashtag2"]},{"1371917420":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917422, 1371917425, 1371917421, 1371917424, 1371917420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.651384115219116 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:48:02.427609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/01/image_10072025_16_02_03_9719.jpg', 2), ('/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_54_9685.jpg', 2), ('/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_44_10695.jpg', 2), ('/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_33_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_24_9788.jpg', 2), ('/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_14_10708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/01/image_10072025_16_02_03_9719.jpg', '/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_54_9685.jpg', '/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_44_10695.jpg', '/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_33_9623.jpg', '/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_24_9788.jpg', '/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_14_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/01/image_10072025_16_02_03_9719.jpg
/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_54_9685.jpg
/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_44_10695.jpg
/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_33_9623.jpg
/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_24_9788.jpg
/home/nano/Desktop/images/10072025/16/01/image_10072025_16_01_14_10708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917431","1371917430","1371917433","1371917436","1371917435","1371917438"],"photo_ids_order":["1371917430","1371917431","1371917433","1371917435","1371917436","1371917438"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c856173893528ae2676eae83d8f24e88.jpg","text":"TemporaryFile(/tmp/multipartBody2986431693287885780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346146326,"filename":"image_10072025_16_01_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da071cfc2f42dd8f429cf4ded1891dbc.jpg","text":"TemporaryFile(/tmp/multipartBody511642779845790526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346146326,"filename":"image_10072025_16_02_03_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5afd702425e9a3ffe834f4a513b152cc.jpg","text":"TemporaryFile(/tmp/multipartBody4782675392431260674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346146326,"filename":"image_10072025_16_01_44_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a1087c0e012e6fdd3541d75ae9be1f8.jpg","text":"TemporaryFile(/tmp/multipartBody2093002480722497607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346146326,"filename":"image_10072025_16_01_24_9788.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9edb81c92e6771a15f0a0e3e30550a70.jpg","text":"TemporaryFile(/tmp/multipartBody1555822990934405019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346146326,"filename":"image_10072025_16_01_33_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/501dfc5b966dee5e4df491a2ef44dd07.jpg","text":"TemporaryFile(/tmp/multipartBody2395473670329032670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346146326,"filename":"image_10072025_16_01_14_10708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917433","file1":"1371917431","file0":"1371917430","file4":"1371917436","file5":"1371917438","file3":"1371917435"},"map_files_photo_id_array":[{"photo_id":"1371917438","filename":"file5"},{"photo_id":"1371917433","filename":"file2"},{"photo_id":"1371917436","filename":"file4"},{"photo_id":"1371917431","filename":"file1"},{"photo_id":"1371917430","filename":"file0"},{"photo_id":"1371917435","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917431":["hashtag1","hashtag2"]},{"1371917430":["hashtag1","hashtag2"]},{"1371917433":["hashtag1","hashtag2"]},{"1371917436":["hashtag1","hashtag2"]},{"1371917435":["hashtag1","hashtag2"]},{"1371917438":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917431, 1371917430, 1371917433, 1371917436, 1371917435, 1371917438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98085594177246 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:48:46.862990
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/47/image_12072025_20_48_03_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/20/47/image_12072025_20_47_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/47/image_12072025_20_48_03_9618.jpg', '/home/nano/Desktop/images/12072025/20/47/image_12072025_20_47_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/47/image_12072025_20_48_03_9618.jpg
/home/nano/Desktop/images/12072025/20/47/image_12072025_20_47_54_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917443","1371917441"],"photo_ids_order":["1371917441","1371917443"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d54b4d859082bc918e0724760338ca9.jpg","text":"TemporaryFile(/tmp/multipartBody1189450012343363272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346187788,"filename":"image_12072025_20_47_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f32d031f9da2f3a8a3a70b4e9a3f07d.jpg","text":"TemporaryFile(/tmp/multipartBody1738519587674352284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346187788,"filename":"image_12072025_20_48_03_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371917443","file0":"1371917441"},"map_files_photo_id_array":[{"photo_id":"1371917443","filename":"file1"},{"photo_id":"1371917441","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917443":["hashtag1","hashtag2"]},{"1371917441":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917443, 1371917441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.143172979354858 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:49:16.963675
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/49/image_12072025_20_49_23_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/20/49/image_12072025_20_49_14_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/20/48/image_12072025_20_48_53_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/49/image_12072025_20_49_23_9619.jpg', '/home/nano/Desktop/images/12072025/20/49/image_12072025_20_49_14_9650.jpg', '/home/nano/Desktop/images/12072025/20/48/image_12072025_20_48_53_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/49/image_12072025_20_49_23_9619.jpg
/home/nano/Desktop/images/12072025/20/49/image_12072025_20_49_14_9650.jpg
/home/nano/Desktop/images/12072025/20/48/image_12072025_20_48_53_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917449","1371917451","1371917452"],"photo_ids_order":["1371917449","1371917451","1371917452"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ebfcdc5e0dc12fbb552a8da558e87b4.jpg","text":"TemporaryFile(/tmp/multipartBody8480767035981443669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346218168,"filename":"image_12072025_20_49_23_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c13ec5aee96e2eb0628e2dd4ce62484c.jpg","text":"TemporaryFile(/tmp/multipartBody2378354789305784725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346218168,"filename":"image_12072025_20_49_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5124d8597a5f76c1e365b7371e191ede.jpg","text":"TemporaryFile(/tmp/multipartBody2318251638985472624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346218168,"filename":"image_12072025_20_48_53_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917452","file1":"1371917451","file0":"1371917449"},"map_files_photo_id_array":[{"photo_id":"1371917452","filename":"file2"},{"photo_id":"1371917451","filename":"file1"},{"photo_id":"1371917449","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917449":["hashtag1","hashtag2"]},{"1371917451":["hashtag1","hashtag2"]},{"1371917452":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917449, 1371917451, 1371917452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.636635303497314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:49:46.975801
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/16/00/image_10072025_16_01_03_9803.jpg', 2), ('/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_53_9779.jpg', 2), ('/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_44_9709.jpg', 2), ('/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_34_10696.jpg', 2), ('/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_23_9750.jpg', 2), ('/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_13_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/16/00/image_10072025_16_01_03_9803.jpg', '/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_53_9779.jpg', '/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_44_9709.jpg', '/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_34_10696.jpg', '/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_23_9750.jpg', '/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_13_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/16/00/image_10072025_16_01_03_9803.jpg
/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_53_9779.jpg
/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_44_9709.jpg
/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_34_10696.jpg
/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_23_9750.jpg
/home/nano/Desktop/images/10072025/16/00/image_10072025_16_00_13_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917475","1371917469","1371917466","1371917471","1371917474","1371917467"],"photo_ids_order":["1371917466","1371917467","1371917469","1371917471","1371917474","1371917475"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db4f212865e798330538f03f1291fb64.jpg","text":"TemporaryFile(/tmp/multipartBody1604311962010239095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346251207,"filename":"image_10072025_16_00_13_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba268db6db155c6671028dc99c3e856e.jpg","text":"TemporaryFile(/tmp/multipartBody4516321683797327995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346251207,"filename":"image_10072025_16_00_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c89fc73e5f3a7752a6802e3e7885288.jpg","text":"TemporaryFile(/tmp/multipartBody2733549325506489623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346251207,"filename":"image_10072025_16_01_03_9803.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c210d7d0013e46642f3698200159fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4508624579719203558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346251207,"filename":"image_10072025_16_00_34_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aebad209818218b93d33830e142d37bb.jpg","text":"TemporaryFile(/tmp/multipartBody3436982432728415912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346251207,"filename":"image_10072025_16_00_23_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/288168716cca1341490221230fb980c7.jpg","text":"TemporaryFile(/tmp/multipartBody7558306422569475259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346251207,"filename":"image_10072025_16_00_53_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917469","file1":"1371917467","file0":"1371917466","file4":"1371917474","file5":"1371917475","file3":"1371917471"},"map_files_photo_id_array":[{"photo_id":"1371917475","filename":"file5"},{"photo_id":"1371917469","filename":"file2"},{"photo_id":"1371917474","filename":"file4"},{"photo_id":"1371917467","filename":"file1"},{"photo_id":"1371917466","filename":"file0"},{"photo_id":"1371917471","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917475":["hashtag1","hashtag2"]},{"1371917469":["hashtag1","hashtag2"]},{"1371917466":["hashtag1","hashtag2"]},{"1371917471":["hashtag1","hashtag2"]},{"1371917474":["hashtag1","hashtag2"]},{"1371917467":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917475, 1371917469, 1371917466, 1371917471, 1371917474, 1371917467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36870098114014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:50:32.126812
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_43_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_34_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_24_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_14_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/20/49/image_12072025_20_49_34_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_43_9611.jpg', '/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_34_9617.jpg', '/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_24_10628.jpg', '/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_14_9627.jpg', '/home/nano/Desktop/images/12072025/20/49/image_12072025_20_49_34_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_43_9611.jpg
/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_34_9617.jpg
/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_24_10628.jpg
/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_14_9627.jpg
/home/nano/Desktop/images/12072025/20/49/image_12072025_20_49_34_10635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917481","1371917486","1371917480","1371917483","1371917479"],"photo_ids_order":["1371917479","1371917480","1371917481","1371917483","1371917486"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fbbd2d8b6b4fa1d553f250643316dcf.jpg","text":"TemporaryFile(/tmp/multipartBody8007429450721181192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346293815,"filename":"image_12072025_20_50_24_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e70a286b6520a0c7b40c37f13760bf9b.jpg","text":"TemporaryFile(/tmp/multipartBody4396380657722335498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346293815,"filename":"image_12072025_20_49_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d876e76b170c3396b2891cd930b39e3.jpg","text":"TemporaryFile(/tmp/multipartBody7725255047628340604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346293815,"filename":"image_12072025_20_50_34_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5cabbcaa6cf3e9b3d78b924a2c71a30b.jpg","text":"TemporaryFile(/tmp/multipartBody6951133469359755908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346293815,"filename":"image_12072025_20_50_14_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98a1523f9e0cf5d6490bbd6d8b5dd7a4.jpg","text":"TemporaryFile(/tmp/multipartBody5110592313426334208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346293815,"filename":"image_12072025_20_50_43_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917481","file1":"1371917480","file0":"1371917479","file4":"1371917486","file3":"1371917483"},"map_files_photo_id_array":[{"photo_id":"1371917481","filename":"file2"},{"photo_id":"1371917486","filename":"file4"},{"photo_id":"1371917480","filename":"file1"},{"photo_id":"1371917479","filename":"file0"},{"photo_id":"1371917483","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917481":["hashtag1","hashtag2"]},{"1371917486":["hashtag1","hashtag2"]},{"1371917480":["hashtag1","hashtag2"]},{"1371917483":["hashtag1","hashtag2"]},{"1371917479":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917481, 1371917486, 1371917480, 1371917483, 1371917479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.661997318267822 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:51:03.000884
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/59/image_10072025_16_00_04_10687.jpg', 2), ('/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_53_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_44_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_34_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_23_9827.jpg', 2), ('/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_13_9679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/59/image_10072025_16_00_04_10687.jpg', '/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_53_9632.jpg', '/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_44_9664.jpg', '/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_34_10660.jpg', '/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_23_9827.jpg', '/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_13_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/59/image_10072025_16_00_04_10687.jpg
/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_53_9632.jpg
/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_44_9664.jpg
/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_34_10660.jpg
/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_23_9827.jpg
/home/nano/Desktop/images/10072025/15/59/image_10072025_15_59_13_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917500","1371917493","1371917499","1371917495","1371917497","1371917501"],"photo_ids_order":["1371917493","1371917495","1371917497","1371917499","1371917500","1371917501"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4afa3e72cf4282b603f50380eab82c35.jpg","text":"TemporaryFile(/tmp/multipartBody3786178488530420875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346326742,"filename":"image_10072025_15_59_23_9827.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db361847a287118d50f75a75814e7cfb.jpg","text":"TemporaryFile(/tmp/multipartBody5095300969617591014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346326742,"filename":"image_10072025_16_00_04_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94affea93feecac91243492cafe62d1f.jpg","text":"TemporaryFile(/tmp/multipartBody4965549447206012382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346326742,"filename":"image_10072025_15_59_34_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f9dd2b622e500001cc4b7d28dc9c731.jpg","text":"TemporaryFile(/tmp/multipartBody8840373997056974482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346326742,"filename":"image_10072025_15_59_53_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3ae107da8798cacbc78e1f775b67d2c.jpg","text":"TemporaryFile(/tmp/multipartBody5538022816920064165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346326742,"filename":"image_10072025_15_59_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/96bef6388da25710b74efe1744cec248.jpg","text":"TemporaryFile(/tmp/multipartBody5261270440850557693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346326742,"filename":"image_10072025_15_59_13_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917497","file1":"1371917495","file0":"1371917493","file4":"1371917500","file5":"1371917501","file3":"1371917499"},"map_files_photo_id_array":[{"photo_id":"1371917501","filename":"file5"},{"photo_id":"1371917497","filename":"file2"},{"photo_id":"1371917500","filename":"file4"},{"photo_id":"1371917495","filename":"file1"},{"photo_id":"1371917493","filename":"file0"},{"photo_id":"1371917499","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917500":["hashtag1","hashtag2"]},{"1371917493":["hashtag1","hashtag2"]},{"1371917499":["hashtag1","hashtag2"]},{"1371917495":["hashtag1","hashtag2"]},{"1371917497":["hashtag1","hashtag2"]},{"1371917501":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917500, 1371917493, 1371917499, 1371917495, 1371917497, 1371917501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.588730573654175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:51:47.179988
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/51/image_12072025_20_51_24_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/20/50/image_12072025_20_51_04_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_54_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/51/image_12072025_20_51_24_9616.jpg', '/home/nano/Desktop/images/12072025/20/50/image_12072025_20_51_04_9632.jpg', '/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_54_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/51/image_12072025_20_51_24_9616.jpg
/home/nano/Desktop/images/12072025/20/50/image_12072025_20_51_04_9632.jpg
/home/nano/Desktop/images/12072025/20/50/image_12072025_20_50_54_10624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917506","1371917508","1371917504"],"photo_ids_order":["1371917504","1371917506","1371917508"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33a7d3a85dbc4a9dd7827228c88b958e.jpg","text":"TemporaryFile(/tmp/multipartBody5482255944947245321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346368646,"filename":"image_12072025_20_51_04_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5b0ed6243fe134a6904b75d1e5afcf7.jpg","text":"TemporaryFile(/tmp/multipartBody7368254852447918156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346368646,"filename":"image_12072025_20_50_54_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f19c2c10fd054e447ba2c240f22f85dd.jpg","text":"TemporaryFile(/tmp/multipartBody5733165634726647097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346368646,"filename":"image_12072025_20_51_24_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917508","file1":"1371917506","file0":"1371917504"},"map_files_photo_id_array":[{"photo_id":"1371917508","filename":"file2"},{"photo_id":"1371917506","filename":"file1"},{"photo_id":"1371917504","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917506":["hashtag1","hashtag2"]},{"1371917508":["hashtag1","hashtag2"]},{"1371917504":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917506, 1371917508, 1371917504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.322676181793213 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:52:17.275432
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_44_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_14_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/20/51/image_12072025_20_52_03_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/20/51/image_12072025_20_51_33_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_44_9610.jpg', '/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_34_10620.jpg', '/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_24_9608.jpg', '/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_14_10656.jpg', '/home/nano/Desktop/images/12072025/20/51/image_12072025_20_52_03_9622.jpg', '/home/nano/Desktop/images/12072025/20/51/image_12072025_20_51_33_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_44_9610.jpg
/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_34_10620.jpg
/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_24_9608.jpg
/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_14_10656.jpg
/home/nano/Desktop/images/12072025/20/51/image_12072025_20_52_03_9622.jpg
/home/nano/Desktop/images/12072025/20/51/image_12072025_20_51_33_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917518","1371917520","1371917514","1371917517","1371917516","1371917519"],"photo_ids_order":["1371917514","1371917516","1371917517","1371917518","1371917519","1371917520"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/872744ab57a540b48e54cc410faeb912.jpg","text":"TemporaryFile(/tmp/multipartBody4961114920234721542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346399580,"filename":"image_12072025_20_52_14_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba990b87cbfda22b8392f056a1dac031.jpg","text":"TemporaryFile(/tmp/multipartBody3395055876338266773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346399580,"filename":"image_12072025_20_51_33_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a6c5af242a3170c29ea5d434327ad16.jpg","text":"TemporaryFile(/tmp/multipartBody6306776970823428188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346399580,"filename":"image_12072025_20_52_44_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f86041b4dcf7abd519d4924210d1b62c.jpg","text":"TemporaryFile(/tmp/multipartBody9197630380705933647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346399580,"filename":"image_12072025_20_52_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27f90a5d2072456c506f83a10d2d1833.jpg","text":"TemporaryFile(/tmp/multipartBody8773218528952343214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346399580,"filename":"image_12072025_20_52_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/457fbcda8e50040a925a5b7badf7790c.jpg","text":"TemporaryFile(/tmp/multipartBody7789466410270014789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346399580,"filename":"image_12072025_20_52_03_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917517","file1":"1371917516","file0":"1371917514","file4":"1371917519","file5":"1371917520","file3":"1371917518"},"map_files_photo_id_array":[{"photo_id":"1371917520","filename":"file5"},{"photo_id":"1371917517","filename":"file2"},{"photo_id":"1371917519","filename":"file4"},{"photo_id":"1371917516","filename":"file1"},{"photo_id":"1371917514","filename":"file0"},{"photo_id":"1371917518","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917518":["hashtag1","hashtag2"]},{"1371917520":["hashtag1","hashtag2"]},{"1371917514":["hashtag1","hashtag2"]},{"1371917517":["hashtag1","hashtag2"]},{"1371917516":["hashtag1","hashtag2"]},{"1371917519":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917518, 1371917520, 1371917514, 1371917517, 1371917516, 1371917519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26001572608948 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:53:03.239340
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/58/image_10072025_15_59_04_9686.jpg', 2), ('/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_54_10700.jpg', 2), ('/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_43_9702.jpg', 2), ('/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_34_9659.jpg', 2), ('/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_24_10624.jpg', 2), ('/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_13_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/58/image_10072025_15_59_04_9686.jpg', '/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_54_10700.jpg', '/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_43_9702.jpg', '/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_34_9659.jpg', '/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_24_10624.jpg', '/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_13_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/58/image_10072025_15_59_04_9686.jpg
/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_54_10700.jpg
/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_43_9702.jpg
/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_34_9659.jpg
/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_24_10624.jpg
/home/nano/Desktop/images/10072025/15/58/image_10072025_15_58_13_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917536","1371917530","1371917532","1371917535","1371917534","1371917537"],"photo_ids_order":["1371917530","1371917532","1371917534","1371917535","1371917536","1371917537"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7cc53936e0f1a5fd2ad85b2a42216ad.jpg","text":"TemporaryFile(/tmp/multipartBody5135080375086513033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346446839,"filename":"image_10072025_15_58_24_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/569f140642f57f6eaedd5c305b29135d.jpg","text":"TemporaryFile(/tmp/multipartBody3658749232560402401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346446839,"filename":"image_10072025_15_59_04_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a1623fe12d02f2dd77afc26961ae73d.jpg","text":"TemporaryFile(/tmp/multipartBody7906039916350999411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346446839,"filename":"image_10072025_15_58_54_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a83562a7963c4533d3dc8830b687836b.jpg","text":"TemporaryFile(/tmp/multipartBody7564569633538597334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346446839,"filename":"image_10072025_15_58_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d8e12699c4dc6d77614647d35d3d4007.jpg","text":"TemporaryFile(/tmp/multipartBody333928626222254680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346446839,"filename":"image_10072025_15_58_43_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65c641cfcbacc8cde41689e60860dc4e.jpg","text":"TemporaryFile(/tmp/multipartBody6245165227524863585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346446839,"filename":"image_10072025_15_58_13_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917534","file1":"1371917532","file0":"1371917530","file4":"1371917536","file5":"1371917537","file3":"1371917535"},"map_files_photo_id_array":[{"photo_id":"1371917537","filename":"file5"},{"photo_id":"1371917534","filename":"file2"},{"photo_id":"1371917536","filename":"file4"},{"photo_id":"1371917532","filename":"file1"},{"photo_id":"1371917530","filename":"file0"},{"photo_id":"1371917535","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917536":["hashtag1","hashtag2"]},{"1371917530":["hashtag1","hashtag2"]},{"1371917532":["hashtag1","hashtag2"]},{"1371917535":["hashtag1","hashtag2"]},{"1371917534":["hashtag1","hashtag2"]},{"1371917537":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917536, 1371917530, 1371917532, 1371917535, 1371917534, 1371917537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02712440490723 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:53:47.385780
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_34_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_23_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_14_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_53_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_34_10626.jpg', '/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_23_9610.jpg', '/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_14_9629.jpg', '/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_53_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_34_10626.jpg
/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_23_9610.jpg
/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_14_9629.jpg
/home/nano/Desktop/images/12072025/20/52/image_12072025_20_52_53_9608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917542","1371917539","1371917549","1371917545"],"photo_ids_order":["1371917539","1371917542","1371917545","1371917549"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b8415f37d86d94a8837fc75b17654b6.jpg","text":"TemporaryFile(/tmp/multipartBody6756365862958347950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346488944,"filename":"image_12072025_20_53_23_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6d0d285c34e5870d222b54c6e5f2f368.jpg","text":"TemporaryFile(/tmp/multipartBody7975762997007146382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346488944,"filename":"image_12072025_20_53_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb73053206722aeb59e512fc3e8f6ec3.jpg","text":"TemporaryFile(/tmp/multipartBody4122449621254304183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346488944,"filename":"image_12072025_20_52_53_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e2bf58a36ca5ad1b1fce2eb6e893950.jpg","text":"TemporaryFile(/tmp/multipartBody1091261434395152726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346488944,"filename":"image_12072025_20_53_14_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917545","file1":"1371917542","file0":"1371917539","file3":"1371917549"},"map_files_photo_id_array":[{"photo_id":"1371917545","filename":"file2"},{"photo_id":"1371917542","filename":"file1"},{"photo_id":"1371917539","filename":"file0"},{"photo_id":"1371917549","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917542":["hashtag1","hashtag2"]},{"1371917539":["hashtag1","hashtag2"]},{"1371917549":["hashtag1","hashtag2"]},{"1371917545":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917542, 1371917539, 1371917549, 1371917545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.116541624069214 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:54:17.508815
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_34_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_24_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_13_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/20/53/image_12072025_20_54_04_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_44_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_34_9609.jpg', '/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_24_10623.jpg', '/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_13_9638.jpg', '/home/nano/Desktop/images/12072025/20/53/image_12072025_20_54_04_9635.jpg', '/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_44_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_34_9609.jpg
/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_24_10623.jpg
/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_13_9638.jpg
/home/nano/Desktop/images/12072025/20/53/image_12072025_20_54_04_9635.jpg
/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_44_9616.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.567840814590454 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:54:32.493234
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_34_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_24_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_13_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/20/53/image_12072025_20_54_04_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_44_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_34_9609.jpg', '/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_24_10623.jpg', '/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_13_9638.jpg', '/home/nano/Desktop/images/12072025/20/53/image_12072025_20_54_04_9635.jpg', '/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_44_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_34_9609.jpg
/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_24_10623.jpg
/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_13_9638.jpg
/home/nano/Desktop/images/12072025/20/53/image_12072025_20_54_04_9635.jpg
/home/nano/Desktop/images/12072025/20/53/image_12072025_20_53_44_9616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917560","1371917562","1371917565","1371917567","1371917561"],"photo_ids_order":["1371917560","1371917561","1371917562","1371917565","1371917567"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/285db2e69a7d6eb9603b073f9a15305b.jpg","text":"TemporaryFile(/tmp/multipartBody109423466784479858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346533954,"filename":"image_12072025_20_54_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc984c4dc7f0e3e471472f18d9730712.jpg","text":"TemporaryFile(/tmp/multipartBody3272950783783809810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346533954,"filename":"image_12072025_20_54_13_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8e58c7ad6aee909b114009379ffc23f.jpg","text":"TemporaryFile(/tmp/multipartBody4155909778942952922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346533954,"filename":"image_12072025_20_54_04_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2db7f230cdfe89bd0f1f4b55d5b0a565.jpg","text":"TemporaryFile(/tmp/multipartBody5870908499041923717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346533954,"filename":"image_12072025_20_53_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fe430afb1a223100209f81d29cb2bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6597054680174276920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346533954,"filename":"image_12072025_20_54_24_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917562","file1":"1371917561","file0":"1371917560","file4":"1371917567","file3":"1371917565"},"map_files_photo_id_array":[{"photo_id":"1371917562","filename":"file2"},{"photo_id":"1371917567","filename":"file4"},{"photo_id":"1371917561","filename":"file1"},{"photo_id":"1371917560","filename":"file0"},{"photo_id":"1371917565","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917560":["hashtag1","hashtag2"]},{"1371917562":["hashtag1","hashtag2"]},{"1371917565":["hashtag1","hashtag2"]},{"1371917567":["hashtag1","hashtag2"]},{"1371917561":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917560, 1371917562, 1371917565, 1371917567, 1371917561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.937225818634033 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:55:03.063374
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/57/image_10072025_15_58_04_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_53_9606.jpg', 2), ('/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_43_9609.jpg', 2), ('/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_34_10611.jpg', 2), ('/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_23_9601.jpg', 2), ('/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_14_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/57/image_10072025_15_58_04_10627.jpg', '/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_53_9606.jpg', '/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_43_9609.jpg', '/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_34_10611.jpg', '/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_23_9601.jpg', '/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_14_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/57/image_10072025_15_58_04_10627.jpg
/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_53_9606.jpg
/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_43_9609.jpg
/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_34_10611.jpg
/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_23_9601.jpg
/home/nano/Desktop/images/10072025/15/57/image_10072025_15_57_14_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917580","1371917573","1371917576","1371917581","1371917578","1371917572"],"photo_ids_order":["1371917572","1371917573","1371917576","1371917578","1371917580","1371917581"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9414afbd79d1b2fb7e6daa95422c615c.jpg","text":"TemporaryFile(/tmp/multipartBody1005108993845460475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346566226,"filename":"image_10072025_15_57_23_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6653e44b25b6e3072d694e5fce6d1d0.jpg","text":"TemporaryFile(/tmp/multipartBody1485110342806265217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346566226,"filename":"image_10072025_15_57_53_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ced78d8e773dbad7c6bd855cb570c12f.jpg","text":"TemporaryFile(/tmp/multipartBody6126040098272659096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346566226,"filename":"image_10072025_15_57_43_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f162616341140cb59b6b21501a40a92b.jpg","text":"TemporaryFile(/tmp/multipartBody8972769779775167128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346566226,"filename":"image_10072025_15_57_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40333cbdf13b2c5bd6d8807d3fd3448c.jpg","text":"TemporaryFile(/tmp/multipartBody3836788794507505663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346566226,"filename":"image_10072025_15_57_34_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d230aea6a2eb157cb09c7d685f0375a.jpg","text":"TemporaryFile(/tmp/multipartBody2140277404748792761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346566226,"filename":"image_10072025_15_58_04_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917576","file1":"1371917573","file0":"1371917572","file4":"1371917580","file5":"1371917581","file3":"1371917578"},"map_files_photo_id_array":[{"photo_id":"1371917581","filename":"file5"},{"photo_id":"1371917576","filename":"file2"},{"photo_id":"1371917580","filename":"file4"},{"photo_id":"1371917573","filename":"file1"},{"photo_id":"1371917572","filename":"file0"},{"photo_id":"1371917578","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917580":["hashtag1","hashtag2"]},{"1371917573":["hashtag1","hashtag2"]},{"1371917576":["hashtag1","hashtag2"]},{"1371917581":["hashtag1","hashtag2"]},{"1371917578":["hashtag1","hashtag2"]},{"1371917572":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917580, 1371917573, 1371917576, 1371917581, 1371917578, 1371917572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92759561538696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:55:47.607981
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/55/image_12072025_20_55_33_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/20/55/image_12072025_20_55_24_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/20/55/image_12072025_20_55_14_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/20/54/image_12072025_20_55_04_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_43_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/55/image_12072025_20_55_33_9625.jpg', '/home/nano/Desktop/images/12072025/20/55/image_12072025_20_55_24_9614.jpg', '/home/nano/Desktop/images/12072025/20/55/image_12072025_20_55_14_10640.jpg', '/home/nano/Desktop/images/12072025/20/54/image_12072025_20_55_04_9617.jpg', '/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_43_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/55/image_12072025_20_55_33_9625.jpg
/home/nano/Desktop/images/12072025/20/55/image_12072025_20_55_24_9614.jpg
/home/nano/Desktop/images/12072025/20/55/image_12072025_20_55_14_10640.jpg
/home/nano/Desktop/images/12072025/20/54/image_12072025_20_55_04_9617.jpg
/home/nano/Desktop/images/12072025/20/54/image_12072025_20_54_43_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917586","1371917589","1371917591","1371917594","1371917596"],"photo_ids_order":["1371917586","1371917589","1371917591","1371917594","1371917596"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ec021ec4fa3e95c5f8d6cb8cecfcf4c.jpg","text":"TemporaryFile(/tmp/multipartBody3981744794002376543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346609754,"filename":"image_12072025_20_55_33_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/521861ec80235e88d74bd66852e8731a.jpg","text":"TemporaryFile(/tmp/multipartBody726470848544202766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346609754,"filename":"image_12072025_20_55_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aad9867184923d8f751d77f08b391707.jpg","text":"TemporaryFile(/tmp/multipartBody6079833588096338111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346609754,"filename":"image_12072025_20_55_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d36247d96e2925d0b696bc81801ba143.jpg","text":"TemporaryFile(/tmp/multipartBody7217619809109186553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346609754,"filename":"image_12072025_20_55_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0838bb2fbade3f1819d3991b0a1860ff.jpg","text":"TemporaryFile(/tmp/multipartBody5268590860476660592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346609754,"filename":"image_12072025_20_54_43_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917591","file1":"1371917589","file0":"1371917586","file4":"1371917596","file3":"1371917594"},"map_files_photo_id_array":[{"photo_id":"1371917591","filename":"file2"},{"photo_id":"1371917596","filename":"file4"},{"photo_id":"1371917589","filename":"file1"},{"photo_id":"1371917586","filename":"file0"},{"photo_id":"1371917594","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917586":["hashtag1","hashtag2"]},{"1371917589":["hashtag1","hashtag2"]},{"1371917591":["hashtag1","hashtag2"]},{"1371917594":["hashtag1","hashtag2"]},{"1371917596":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917586, 1371917589, 1371917591, 1371917594, 1371917596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.01978325843811 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:56:17.729574
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_24_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_14_9665.jpg', 2), ('/home/nano/Desktop/images/12072025/20/55/image_12072025_20_55_44_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_34_10618.jpg', '/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_24_9612.jpg', '/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_14_9665.jpg', '/home/nano/Desktop/images/12072025/20/55/image_12072025_20_55_44_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_34_10618.jpg
/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_24_9612.jpg
/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_14_9665.jpg
/home/nano/Desktop/images/12072025/20/55/image_12072025_20_55_44_10623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917602","1371917604","1371917601","1371917599"],"photo_ids_order":["1371917599","1371917601","1371917602","1371917604"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c91e92df6f54c7bfe338aab1363d73f7.jpg","text":"TemporaryFile(/tmp/multipartBody5223055601610746655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346639089,"filename":"image_12072025_20_56_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca26c2340d1b96b2bf9346c754fb840f.jpg","text":"TemporaryFile(/tmp/multipartBody6464601916344114045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346639089,"filename":"image_12072025_20_55_44_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8ca2cdcf79b19b50fa84d65efeed0ac.jpg","text":"TemporaryFile(/tmp/multipartBody6211897513304340282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346639089,"filename":"image_12072025_20_56_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87079f0d71823b830fa543edb4433c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5323169809185178130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346639089,"filename":"image_12072025_20_56_34_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917602","file1":"1371917601","file0":"1371917599","file3":"1371917604"},"map_files_photo_id_array":[{"photo_id":"1371917602","filename":"file2"},{"photo_id":"1371917601","filename":"file1"},{"photo_id":"1371917599","filename":"file0"},{"photo_id":"1371917604","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371917602":["hashtag1","hashtag2"]},{"1371917604":["hashtag1","hashtag2"]},{"1371917601":["hashtag1","hashtag2"]},{"1371917599":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371917602, 1371917604, 1371917601, 1371917599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.712724685668945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:56:47.702885
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/56/image_10072025_15_57_04_10625.jpg', 2), ('/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_53_9606.jpg', 2), ('/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_44_10623.jpg', 2), ('/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_33_9600.jpg', 2), ('/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_24_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_14_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/56/image_10072025_15_57_04_10625.jpg', '/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_53_9606.jpg', '/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_44_10623.jpg', '/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_33_9600.jpg', '/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_24_9615.jpg', '/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_14_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/56/image_10072025_15_57_04_10625.jpg
/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_53_9606.jpg
/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_44_10623.jpg
/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_33_9600.jpg
/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_24_9615.jpg
/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_14_10631.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.133805990219116 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:57:02.584959
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/56/image_10072025_15_57_04_10625.jpg', 2), ('/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_53_9606.jpg', 2), ('/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_44_10623.jpg', 2), ('/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_33_9600.jpg', 2), ('/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_24_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_14_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/56/image_10072025_15_57_04_10625.jpg', '/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_53_9606.jpg', '/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_44_10623.jpg', '/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_33_9600.jpg', '/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_24_9615.jpg', '/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_14_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/56/image_10072025_15_57_04_10625.jpg
/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_53_9606.jpg
/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_44_10623.jpg
/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_33_9600.jpg
/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_24_9615.jpg
/home/nano/Desktop/images/10072025/15/56/image_10072025_15_56_14_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371917623","1371917646","1371917625","1371917619","1371917621","1371917624"],"photo_ids_order":["1371917619","1371917621","1371917623","1371917624","1371917625","1371917646"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53b0de09e992ff842804a4018eed2a85.jpg","text":"TemporaryFile(/tmp/multipartBody2176105413559796841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346685543,"filename":"image_10072025_15_56_44_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09d57e4d94a1f115a44b675bd0c7865a.jpg","text":"TemporaryFile(/tmp/multipartBody7132026262659748223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346685543,"filename":"image_10072025_15_56_14_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e95cb078d457591e368c506a0833e267.jpg","text":"TemporaryFile(/tmp/multipartBody7158556849824200460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346685543,"filename":"image_10072025_15_56_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75cdba896861129f1afdf25062935daf.jpg","text":"TemporaryFile(/tmp/multipartBody2348867995537224977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346685543,"filename":"image_10072025_15_57_04_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a4bd942c2f014294cfe053c83c24303.jpg","text":"TemporaryFile(/tmp/multipartBody3421637204514487329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346685543,"filename":"image_10072025_15_56_53_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40901c8ef889ba842ad4fc10bfca2aa6.jpg","text":"TemporaryFile(/tmp/multipartBody5626474106836433167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346685543,"filename":"image_10072025_15_56_33_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371917623","file1":"1371917621","file0":"1371917619","file4":"1371917625","file5":"1371917646","file3":"1371917624"},"map_files_photo_id_array":[{"photo_id":"1371917646","filename":"file5"},{"photo_id":"1371917623","filename":"file2"},{"photo_id":"1371917625","filename":"file4"},{"photo_id":"1371917621","filename":"file1"},{"photo_id":"1371917619","filename":"file0"},{"photo_id":"1371917624","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371917623":["hashtag1","hashtag2"]},{"1371917646":["hashtag1","hashtag2"]},{"1371917625":["hashtag1","hashtag2"]},{"1371917619":["hashtag1","hashtag2"]},{"1371917621":["hashtag1","hashtag2"]},{"1371917624":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371917623, 1371917646, 1371917625, 1371917619, 1371917621, 1371917624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41180348396301 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:57:46.808208
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_44_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_34_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_24_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_14_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/20/56/image_12072025_20_57_04_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_53_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_44_9624.jpg', '/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_34_9628.jpg', '/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_24_10627.jpg', '/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_14_9627.jpg', '/home/nano/Desktop/images/12072025/20/56/image_12072025_20_57_04_10625.jpg', '/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_53_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_44_9624.jpg
/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_34_9628.jpg
/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_24_10627.jpg
/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_14_9627.jpg
/home/nano/Desktop/images/12072025/20/56/image_12072025_20_57_04_10625.jpg
/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_53_9611.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:59:02.927927
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/58/image_12072025_20_58_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/20/58/image_12072025_20_58_24_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/20/57/image_12072025_20_58_04_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_54_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_44_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_34_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/58/image_12072025_20_58_34_9611.jpg', '/home/nano/Desktop/images/12072025/20/58/image_12072025_20_58_24_10619.jpg', '/home/nano/Desktop/images/12072025/20/57/image_12072025_20_58_04_9627.jpg', '/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_54_10623.jpg', '/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_44_9624.jpg', '/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_34_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/58/image_12072025_20_58_34_9611.jpg
/home/nano/Desktop/images/12072025/20/58/image_12072025_20_58_24_10619.jpg
/home/nano/Desktop/images/12072025/20/57/image_12072025_20_58_04_9627.jpg
/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_54_10623.jpg
/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_44_9624.jpg
/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_34_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371918246","1371918219","1371918338","1371918196","1371918190","1371918292"],"photo_ids_order":["1371918190","1371918196","1371918219","1371918246","1371918292","1371918338"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a02bcb80e38594305217f117932db1e7.jpg","text":"TemporaryFile(/tmp/multipartBody8894334581711110586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346804433,"filename":"image_12072025_20_57_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f6ffb980de27500ca07927ecfe05ac9.jpg","text":"TemporaryFile(/tmp/multipartBody6390722997296520351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346804433,"filename":"image_12072025_20_58_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afdfb2fcb6d0d7d7367aceee0536a849.jpg","text":"TemporaryFile(/tmp/multipartBody2407110321177851346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346804433,"filename":"image_12072025_20_57_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd02bb7999ee4df2ea99af2e68e5cbda.jpg","text":"TemporaryFile(/tmp/multipartBody6111881878929171442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346804433,"filename":"image_12072025_20_58_24_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c30124573e13469d7fc191d55c37f7b.jpg","text":"TemporaryFile(/tmp/multipartBody7813055603182217558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346804433,"filename":"image_12072025_20_58_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb209193f83af3734e59beb4e078f7ae.jpg","text":"TemporaryFile(/tmp/multipartBody8808985325793068511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346804433,"filename":"image_12072025_20_57_44_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371918219","file1":"1371918196","file0":"1371918190","file4":"1371918292","file5":"1371918338","file3":"1371918246"},"map_files_photo_id_array":[{"photo_id":"1371918338","filename":"file5"},{"photo_id":"1371918219","filename":"file2"},{"photo_id":"1371918292","filename":"file4"},{"photo_id":"1371918196","filename":"file1"},{"photo_id":"1371918190","filename":"file0"},{"photo_id":"1371918246","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371918246":["hashtag1","hashtag2"]},{"1371918219":["hashtag1","hashtag2"]},{"1371918338":["hashtag1","hashtag2"]},{"1371918196":["hashtag1","hashtag2"]},{"1371918190":["hashtag1","hashtag2"]},{"1371918292":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371918246, 1371918219, 1371918338, 1371918196, 1371918190, 1371918292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05566596984863 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 20:59:46.925659
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_44_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_33_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/20/58/image_12072025_20_59_03_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/20/58/image_12072025_20_58_54_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_24_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_44_10619.jpg', '/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_33_9609.jpg', '/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_24_9608.jpg', '/home/nano/Desktop/images/12072025/20/58/image_12072025_20_59_03_9614.jpg', '/home/nano/Desktop/images/12072025/20/58/image_12072025_20_58_54_9610.jpg', '/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_24_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_44_10619.jpg
/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_33_9609.jpg
/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_24_9608.jpg
/home/nano/Desktop/images/12072025/20/58/image_12072025_20_59_03_9614.jpg
/home/nano/Desktop/images/12072025/20/58/image_12072025_20_58_54_9610.jpg
/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_24_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371918681","1371918624","1371918599","1371918574","1371918541","1371918658"],"photo_ids_order":["1371918541","1371918574","1371918599","1371918624","1371918658","1371918681"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64ade34ade0401a22459efc14cb91feb.jpg","text":"TemporaryFile(/tmp/multipartBody5112477691863753587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346848265,"filename":"image_12072025_20_57_24_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3222f8d75291391b6e6a5125e19631c.jpg","text":"TemporaryFile(/tmp/multipartBody6640019165216608391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346848265,"filename":"image_12072025_20_59_03_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/895af5d45e5ee83ed7ac35b008897cf7.jpg","text":"TemporaryFile(/tmp/multipartBody1988745956383215730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346848265,"filename":"image_12072025_20_59_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3eeb3409c3a45c76e0f8a5f01e7e309d.jpg","text":"TemporaryFile(/tmp/multipartBody630426302592046956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346848265,"filename":"image_12072025_20_59_33_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/baa55f7d263ce0d81fc4c29a2b6537e5.jpg","text":"TemporaryFile(/tmp/multipartBody153616575531361651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346848265,"filename":"image_12072025_20_59_44_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8029ed8bcfa477006bd2e6f78d7f605.jpg","text":"TemporaryFile(/tmp/multipartBody5727410780432776637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346848265,"filename":"image_12072025_20_58_54_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371918599","file1":"1371918574","file0":"1371918541","file4":"1371918658","file5":"1371918681","file3":"1371918624"},"map_files_photo_id_array":[{"photo_id":"1371918681","filename":"file5"},{"photo_id":"1371918599","filename":"file2"},{"photo_id":"1371918658","filename":"file4"},{"photo_id":"1371918574","filename":"file1"},{"photo_id":"1371918541","filename":"file0"},{"photo_id":"1371918624","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371918681":["hashtag1","hashtag2"]},{"1371918624":["hashtag1","hashtag2"]},{"1371918599":["hashtag1","hashtag2"]},{"1371918574":["hashtag1","hashtag2"]},{"1371918541":["hashtag1","hashtag2"]},{"1371918658":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371918681, 1371918624, 1371918599, 1371918574, 1371918541, 1371918658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12206983566284 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:00:32.061727
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_23_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_14_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/20/59/image_12072025_21_00_04_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_54_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_14_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_44_9616.jpg', '/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_23_9615.jpg', '/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_14_9628.jpg', '/home/nano/Desktop/images/12072025/20/59/image_12072025_21_00_04_10627.jpg', '/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_54_9633.jpg', '/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_14_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_44_9616.jpg
/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_23_9615.jpg
/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_14_9628.jpg
/home/nano/Desktop/images/12072025/20/59/image_12072025_21_00_04_10627.jpg
/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_54_9633.jpg
/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_14_9627.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4284775257110596 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:00:47.016323
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_23_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_14_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/20/59/image_12072025_21_00_04_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_54_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_14_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_44_9616.jpg', '/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_23_9615.jpg', '/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_14_9628.jpg', '/home/nano/Desktop/images/12072025/20/59/image_12072025_21_00_04_10627.jpg', '/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_54_9633.jpg', '/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_14_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_44_9616.jpg
/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_23_9615.jpg
/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_14_9628.jpg
/home/nano/Desktop/images/12072025/20/59/image_12072025_21_00_04_10627.jpg
/home/nano/Desktop/images/12072025/20/59/image_12072025_20_59_54_9633.jpg
/home/nano/Desktop/images/12072025/20/57/image_12072025_20_57_14_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371919146","1371919118","1371919171","1371919039","1371919092","1371919068"],"photo_ids_order":["1371919039","1371919068","1371919092","1371919118","1371919146","1371919171"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/99f647b1f22fbc95518d53e4b7dbb584.jpg","text":"TemporaryFile(/tmp/multipartBody8688478607380818954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346908403,"filename":"image_12072025_20_59_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc2554f4fa9a72223b0d47f534fd61d1.jpg","text":"TemporaryFile(/tmp/multipartBody1356538998318458710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346908403,"filename":"image_12072025_21_00_04_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/42b09de3201d7d543a4dc2e180a11d33.jpg","text":"TemporaryFile(/tmp/multipartBody8613857787571173271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346908403,"filename":"image_12072025_20_57_14_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9faa44b1ddf65a2ced68f9e2203c31a6.jpg","text":"TemporaryFile(/tmp/multipartBody8126367657495127766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346908403,"filename":"image_12072025_21_00_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4044ae7b00cb1263212db02556443941.jpg","text":"TemporaryFile(/tmp/multipartBody3548967190487596831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346908403,"filename":"image_12072025_21_00_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25ebceef46651fe21fbdd59cab0e3eb7.jpg","text":"TemporaryFile(/tmp/multipartBody5814113833562189281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346908403,"filename":"image_12072025_21_00_23_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371919092","file1":"1371919068","file0":"1371919039","file4":"1371919146","file5":"1371919171","file3":"1371919118"},"map_files_photo_id_array":[{"photo_id":"1371919171","filename":"file5"},{"photo_id":"1371919092","filename":"file2"},{"photo_id":"1371919146","filename":"file4"},{"photo_id":"1371919068","filename":"file1"},{"photo_id":"1371919039","filename":"file0"},{"photo_id":"1371919118","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371919146":["hashtag1","hashtag2"]},{"1371919118":["hashtag1","hashtag2"]},{"1371919171":["hashtag1","hashtag2"]},{"1371919039":["hashtag1","hashtag2"]},{"1371919092":["hashtag1","hashtag2"]},{"1371919068":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371919146, 1371919118, 1371919171, 1371919039, 1371919092, 1371919068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.08073377609253 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:01:32.129623
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_43_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_34_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_24_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_14_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/21/00/image_12072025_21_01_04_10655.jpg', 2), ('/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_53_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_43_9607.jpg', '/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_34_9608.jpg', '/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_24_10624.jpg', '/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_14_9634.jpg', '/home/nano/Desktop/images/12072025/21/00/image_12072025_21_01_04_10655.jpg', '/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_53_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_43_9607.jpg
/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_34_9608.jpg
/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_24_10624.jpg
/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_14_9634.jpg
/home/nano/Desktop/images/12072025/21/00/image_12072025_21_01_04_10655.jpg
/home/nano/Desktop/images/12072025/21/00/image_12072025_21_00_53_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371919449","1371919568","1371919607","1371919543","1371919497","1371919638"],"photo_ids_order":["1371919449","1371919497","1371919543","1371919568","1371919607","1371919638"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/960273e634c990aca0ae19431ea62ead.jpg","text":"TemporaryFile(/tmp/multipartBody825396457385478703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346953595,"filename":"image_12072025_21_01_43_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a64e2f0051b3e13b2190e69744748ccd.jpg","text":"TemporaryFile(/tmp/multipartBody502000975574513720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346953595,"filename":"image_12072025_21_01_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fec57605262cc84d0cfb6cd3dcc1bea1.jpg","text":"TemporaryFile(/tmp/multipartBody7934552606918484842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346953595,"filename":"image_12072025_21_01_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/58cb3d113205c4cd0cff777be159d557.jpg","text":"TemporaryFile(/tmp/multipartBody563365395083342179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346953595,"filename":"image_12072025_21_01_24_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a142865176cbbf47a0d9bad35cd6b9f.jpg","text":"TemporaryFile(/tmp/multipartBody8546950573241705735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346953595,"filename":"image_12072025_21_01_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/735ad7f05fc372b9a9d28abd5a0f914c.jpg","text":"TemporaryFile(/tmp/multipartBody2806804705829193576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346953595,"filename":"image_12072025_21_00_53_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371919543","file1":"1371919497","file0":"1371919449","file4":"1371919607","file5":"1371919638","file3":"1371919568"},"map_files_photo_id_array":[{"photo_id":"1371919638","filename":"file5"},{"photo_id":"1371919543","filename":"file2"},{"photo_id":"1371919607","filename":"file4"},{"photo_id":"1371919497","filename":"file1"},{"photo_id":"1371919449","filename":"file0"},{"photo_id":"1371919568","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371919449":["hashtag1","hashtag2"]},{"1371919568":["hashtag1","hashtag2"]},{"1371919607":["hashtag1","hashtag2"]},{"1371919543":["hashtag1","hashtag2"]},{"1371919497":["hashtag1","hashtag2"]},{"1371919638":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371919449, 1371919568, 1371919607, 1371919543, 1371919497, 1371919638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.687973260879517 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:02:17.232131
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/02/image_12072025_21_02_44_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/21/02/image_12072025_21_02_34_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/21/02/image_12072025_21_02_13_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/21/01/image_12072025_21_02_04_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_54_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/20/56/image_12072025_20_57_04_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/02/image_12072025_21_02_44_10619.jpg', '/home/nano/Desktop/images/12072025/21/02/image_12072025_21_02_34_9614.jpg', '/home/nano/Desktop/images/12072025/21/02/image_12072025_21_02_13_9634.jpg', '/home/nano/Desktop/images/12072025/21/01/image_12072025_21_02_04_9613.jpg', '/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_54_10628.jpg', '/home/nano/Desktop/images/12072025/20/56/image_12072025_20_57_04_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/02/image_12072025_21_02_44_10619.jpg
/home/nano/Desktop/images/12072025/21/02/image_12072025_21_02_34_9614.jpg
/home/nano/Desktop/images/12072025/21/02/image_12072025_21_02_13_9634.jpg
/home/nano/Desktop/images/12072025/21/01/image_12072025_21_02_04_9613.jpg
/home/nano/Desktop/images/12072025/21/01/image_12072025_21_01_54_10628.jpg
/home/nano/Desktop/images/12072025/20/56/image_12072025_20_57_04_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371919833","1371919883","1371919889","1371919888","1371919890","1371919857"],"photo_ids_order":["1371919833","1371919857","1371919883","1371919888","1371919889","1371919890"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4763550855607034c014983f72fe391.jpg","text":"TemporaryFile(/tmp/multipartBody5574775748563184274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346998838,"filename":"image_12072025_21_02_44_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/46d711858ef6d4c241ddeb92d1e0a9de.jpg","text":"TemporaryFile(/tmp/multipartBody5687608661259562781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346998838,"filename":"image_12072025_21_02_13_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9aa60ea50d07106ca8b380a1fb234ab8.jpg","text":"TemporaryFile(/tmp/multipartBody7638769457680389172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346998838,"filename":"image_12072025_21_01_54_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/72cb3cfa0af2365c37628850036e1d8e.jpg","text":"TemporaryFile(/tmp/multipartBody6856751701283413079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346998838,"filename":"image_12072025_21_02_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d74f424992565719dc0baa507662874.jpg","text":"TemporaryFile(/tmp/multipartBody8137368747614128846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346998838,"filename":"image_12072025_20_57_04_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f772fea9744ecdb69afdb7741d157a59.jpg","text":"TemporaryFile(/tmp/multipartBody4104370877211582255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752346998838,"filename":"image_12072025_21_02_34_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371919883","file1":"1371919857","file0":"1371919833","file4":"1371919889","file5":"1371919890","file3":"1371919888"},"map_files_photo_id_array":[{"photo_id":"1371919890","filename":"file5"},{"photo_id":"1371919883","filename":"file2"},{"photo_id":"1371919889","filename":"file4"},{"photo_id":"1371919857","filename":"file1"},{"photo_id":"1371919833","filename":"file0"},{"photo_id":"1371919888","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371919833":["hashtag1","hashtag2"]},{"1371919883":["hashtag1","hashtag2"]},{"1371919889":["hashtag1","hashtag2"]},{"1371919888":["hashtag1","hashtag2"]},{"1371919890":["hashtag1","hashtag2"]},{"1371919857":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371919833, 1371919883, 1371919889, 1371919888, 1371919890, 1371919857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.666492223739624 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:03:02.944729
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_53_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_53_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/20/56/image_12072025_20_56_53_9611.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371919900"],"photo_id":"1371919900","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e3d4905138ad65691b237edf78a1ede.jpg","text":"TemporaryFile(/tmp/multipartBody3971951885718590545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347043776,"filename":"image_12072025_20_56_53_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371919900"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371919900"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.78212833404541 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:03:17.329497
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/03/image_12072025_21_03_44_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/21/03/image_12072025_21_03_34_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/02/image_12072025_21_03_03_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/21/02/image_12072025_21_02_54_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/03/image_12072025_21_03_44_9609.jpg', '/home/nano/Desktop/images/12072025/21/03/image_12072025_21_03_34_10616.jpg', '/home/nano/Desktop/images/12072025/21/02/image_12072025_21_03_03_9637.jpg', '/home/nano/Desktop/images/12072025/21/02/image_12072025_21_02_54_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/03/image_12072025_21_03_44_9609.jpg
/home/nano/Desktop/images/12072025/21/03/image_12072025_21_03_34_10616.jpg
/home/nano/Desktop/images/12072025/21/02/image_12072025_21_03_03_9637.jpg
/home/nano/Desktop/images/12072025/21/02/image_12072025_21_02_54_9610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920067","1371920043","1371920018","1371919992"],"photo_ids_order":["1371919992","1371920018","1371920043","1371920067"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c46a2cbb9590a240501fcf885cfdfe5b.jpg","text":"TemporaryFile(/tmp/multipartBody6262839091472781895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347058229,"filename":"image_12072025_21_02_54_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dda7bd7e04b4b81148d579df1c3230d9.jpg","text":"TemporaryFile(/tmp/multipartBody574978213273701138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347058229,"filename":"image_12072025_21_03_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/662f3695ba02ada92fa2b887f1a159ca.jpg","text":"TemporaryFile(/tmp/multipartBody4904886403445799117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347058229,"filename":"image_12072025_21_03_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32f919b37a2715c807305753b66e6604.jpg","text":"TemporaryFile(/tmp/multipartBody6757441522756574063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347058229,"filename":"image_12072025_21_03_44_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920043","file1":"1371920018","file0":"1371919992","file3":"1371920067"},"map_files_photo_id_array":[{"photo_id":"1371920043","filename":"file2"},{"photo_id":"1371920018","filename":"file1"},{"photo_id":"1371919992","filename":"file0"},{"photo_id":"1371920067","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920067":["hashtag1","hashtag2"]},{"1371920043":["hashtag1","hashtag2"]},{"1371920018":["hashtag1","hashtag2"]},{"1371919992":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920067, 1371920043, 1371920018, 1371919992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.775519371032715 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:03:47.325352
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/55/image_10072025_15_56_03_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/15/55/image_10072025_15_55_54_10621.jpg', 2), ('/home/nano/Desktop/images/10072025/15/55/image_10072025_15_55_43_9605.jpg', 2), ('/home/nano/Desktop/images/10072025/15/55/image_10072025_15_55_33_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/15/55/image_10072025_15_55_24_10614.jpg', 2), ('/home/nano/Desktop/images/10072025/15/54/image_10072025_15_55_04_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/55/image_10072025_15_56_03_9631.jpg', '/home/nano/Desktop/images/10072025/15/55/image_10072025_15_55_54_10621.jpg', '/home/nano/Desktop/images/10072025/15/55/image_10072025_15_55_43_9605.jpg', '/home/nano/Desktop/images/10072025/15/55/image_10072025_15_55_33_9607.jpg', '/home/nano/Desktop/images/10072025/15/55/image_10072025_15_55_24_10614.jpg', '/home/nano/Desktop/images/10072025/15/54/image_10072025_15_55_04_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/55/image_10072025_15_56_03_9631.jpg
/home/nano/Desktop/images/10072025/15/55/image_10072025_15_55_54_10621.jpg
/home/nano/Desktop/images/10072025/15/55/image_10072025_15_55_43_9605.jpg
/home/nano/Desktop/images/10072025/15/55/image_10072025_15_55_33_9607.jpg
/home/nano/Desktop/images/10072025/15/55/image_10072025_15_55_24_10614.jpg
/home/nano/Desktop/images/10072025/15/54/image_10072025_15_55_04_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920151","1371920181","1371920124","1371920177","1371920207","1371920179"],"photo_ids_order":["1371920124","1371920151","1371920177","1371920179","1371920181","1371920207"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/011fc09a7ee792b05c0fc7052221075c.jpg","text":"TemporaryFile(/tmp/multipartBody7154295647881689346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347090312,"filename":"image_10072025_15_55_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45803850e2b19cd92e2e3f6cc644a4d0.jpg","text":"TemporaryFile(/tmp/multipartBody695755811028580769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347090312,"filename":"image_10072025_15_55_24_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55245f7a5f12d0d9056beea9bd07e014.jpg","text":"TemporaryFile(/tmp/multipartBody151400536239543668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347090312,"filename":"image_10072025_15_56_03_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef4304dfb2504b1aaefb6af4ca06cb4b.jpg","text":"TemporaryFile(/tmp/multipartBody4346685494449349322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347090312,"filename":"image_10072025_15_55_43_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75d3aee80b6583f8fd9bb6e5b2cfdd15.jpg","text":"TemporaryFile(/tmp/multipartBody6532456665829772816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347090312,"filename":"image_10072025_15_55_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da5a77dd224504b21c1c1fb0a771112f.jpg","text":"TemporaryFile(/tmp/multipartBody5228808443251651594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347090312,"filename":"image_10072025_15_55_33_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920177","file1":"1371920151","file0":"1371920124","file4":"1371920181","file5":"1371920207","file3":"1371920179"},"map_files_photo_id_array":[{"photo_id":"1371920207","filename":"file5"},{"photo_id":"1371920177","filename":"file2"},{"photo_id":"1371920181","filename":"file4"},{"photo_id":"1371920151","filename":"file1"},{"photo_id":"1371920124","filename":"file0"},{"photo_id":"1371920179","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920151":["hashtag1","hashtag2"]},{"1371920181":["hashtag1","hashtag2"]},{"1371920124":["hashtag1","hashtag2"]},{"1371920177":["hashtag1","hashtag2"]},{"1371920207":["hashtag1","hashtag2"]},{"1371920179":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920151, 1371920181, 1371920124, 1371920177, 1371920207, 1371920179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12473940849304 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:04:32.458991
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/04/image_12072025_21_04_44_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/21/04/image_12072025_21_04_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/21/04/image_12072025_21_04_23_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/21/03/image_12072025_21_04_04_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/21/03/image_12072025_21_03_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/04/image_12072025_21_04_44_9607.jpg', '/home/nano/Desktop/images/12072025/21/04/image_12072025_21_04_34_10618.jpg', '/home/nano/Desktop/images/12072025/21/04/image_12072025_21_04_23_9622.jpg', '/home/nano/Desktop/images/12072025/21/03/image_12072025_21_04_04_10631.jpg', '/home/nano/Desktop/images/12072025/21/03/image_12072025_21_03_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/04/image_12072025_21_04_44_9607.jpg
/home/nano/Desktop/images/12072025/21/04/image_12072025_21_04_34_10618.jpg
/home/nano/Desktop/images/12072025/21/04/image_12072025_21_04_23_9622.jpg
/home/nano/Desktop/images/12072025/21/03/image_12072025_21_04_04_10631.jpg
/home/nano/Desktop/images/12072025/21/03/image_12072025_21_03_54_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920240","1371920234","1371920236","1371920239","1371920233"],"photo_ids_order":["1371920233","1371920234","1371920236","1371920239","1371920240"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a541c7fbc18606ba3bf443bdf6260099.jpg","text":"TemporaryFile(/tmp/multipartBody7269912459003722292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347134213,"filename":"image_12072025_21_03_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b131a4770e63f993bf0ea2f73ec12e6.jpg","text":"TemporaryFile(/tmp/multipartBody8423434599416148286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347134213,"filename":"image_12072025_21_04_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f6d1fb5a40d90ff94833b43125fee26.jpg","text":"TemporaryFile(/tmp/multipartBody3408363223525513577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347134213,"filename":"image_12072025_21_04_23_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f407fc6f3166fcc280027af84fc90cb.jpg","text":"TemporaryFile(/tmp/multipartBody6882469610639495072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347134213,"filename":"image_12072025_21_04_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f194b12860f6455a0c545d56e5fce9e4.jpg","text":"TemporaryFile(/tmp/multipartBody7519536425601552033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347134213,"filename":"image_12072025_21_04_44_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920236","file1":"1371920234","file0":"1371920233","file4":"1371920240","file3":"1371920239"},"map_files_photo_id_array":[{"photo_id":"1371920236","filename":"file2"},{"photo_id":"1371920240","filename":"file4"},{"photo_id":"1371920234","filename":"file1"},{"photo_id":"1371920233","filename":"file0"},{"photo_id":"1371920239","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920240":["hashtag1","hashtag2"]},{"1371920234":["hashtag1","hashtag2"]},{"1371920236":["hashtag1","hashtag2"]},{"1371920239":["hashtag1","hashtag2"]},{"1371920233":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920240, 1371920234, 1371920236, 1371920239, 1371920233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.929903030395508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:05:03.309481
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/54/image_10072025_15_54_54_10617.jpg', 2), ('/home/nano/Desktop/images/10072025/15/54/image_10072025_15_54_23_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/15/53/image_10072025_15_53_53_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/15/53/image_10072025_15_53_44_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/15/53/image_10072025_15_53_34_10615.jpg', 2), ('/home/nano/Desktop/images/10072025/15/53/image_10072025_15_53_23_9604.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/54/image_10072025_15_54_54_10617.jpg', '/home/nano/Desktop/images/10072025/15/54/image_10072025_15_54_23_9614.jpg', '/home/nano/Desktop/images/10072025/15/53/image_10072025_15_53_53_9607.jpg', '/home/nano/Desktop/images/10072025/15/53/image_10072025_15_53_44_9607.jpg', '/home/nano/Desktop/images/10072025/15/53/image_10072025_15_53_34_10615.jpg', '/home/nano/Desktop/images/10072025/15/53/image_10072025_15_53_23_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/54/image_10072025_15_54_54_10617.jpg
/home/nano/Desktop/images/10072025/15/54/image_10072025_15_54_23_9614.jpg
/home/nano/Desktop/images/10072025/15/53/image_10072025_15_53_53_9607.jpg
/home/nano/Desktop/images/10072025/15/53/image_10072025_15_53_44_9607.jpg
/home/nano/Desktop/images/10072025/15/53/image_10072025_15_53_34_10615.jpg
/home/nano/Desktop/images/10072025/15/53/image_10072025_15_53_23_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920250","1371920246","1371920249","1371920248","1371920251","1371920245"],"photo_ids_order":["1371920245","1371920246","1371920248","1371920249","1371920250","1371920251"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/181d978a641506c0c7e6a70a851fe6eb.jpg","text":"TemporaryFile(/tmp/multipartBody4101761443740991709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347166411,"filename":"image_10072025_15_53_34_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7184c86ac4ca3fe99e1314ca2e9f57b5.jpg","text":"TemporaryFile(/tmp/multipartBody8854947219726889551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347166411,"filename":"image_10072025_15_54_23_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/779199869e835063237ed97b4c8d7273.jpg","text":"TemporaryFile(/tmp/multipartBody4529449130403325673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347166411,"filename":"image_10072025_15_53_44_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ab96449be4b718ee85a1ebe682dba7d.jpg","text":"TemporaryFile(/tmp/multipartBody1872568487760135825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347166411,"filename":"image_10072025_15_53_53_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a28e055948919c138358ae3e4496827.jpg","text":"TemporaryFile(/tmp/multipartBody2726227927456041538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347166411,"filename":"image_10072025_15_53_23_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b631d7ef10d1ab587d3767c2867cb958.jpg","text":"TemporaryFile(/tmp/multipartBody8554193147978443346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347166411,"filename":"image_10072025_15_54_54_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920248","file1":"1371920246","file0":"1371920245","file4":"1371920250","file5":"1371920251","file3":"1371920249"},"map_files_photo_id_array":[{"photo_id":"1371920251","filename":"file5"},{"photo_id":"1371920248","filename":"file2"},{"photo_id":"1371920250","filename":"file4"},{"photo_id":"1371920246","filename":"file1"},{"photo_id":"1371920245","filename":"file0"},{"photo_id":"1371920249","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920250":["hashtag1","hashtag2"]},{"1371920246":["hashtag1","hashtag2"]},{"1371920249":["hashtag1","hashtag2"]},{"1371920248":["hashtag1","hashtag2"]},{"1371920251":["hashtag1","hashtag2"]},{"1371920245":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920250, 1371920246, 1371920249, 1371920248, 1371920251, 1371920245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.987309455871582 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:05:47.583493
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/05/image_12072025_21_05_24_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/21/05/image_12072025_21_05_14_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/21/04/image_12072025_21_05_04_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/21/04/image_12072025_21_04_54_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/05/image_12072025_21_05_24_10638.jpg', '/home/nano/Desktop/images/12072025/21/05/image_12072025_21_05_14_9627.jpg', '/home/nano/Desktop/images/12072025/21/04/image_12072025_21_05_04_9624.jpg', '/home/nano/Desktop/images/12072025/21/04/image_12072025_21_04_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/05/image_12072025_21_05_24_10638.jpg
/home/nano/Desktop/images/12072025/21/05/image_12072025_21_05_14_9627.jpg
/home/nano/Desktop/images/12072025/21/04/image_12072025_21_05_04_9624.jpg
/home/nano/Desktop/images/12072025/21/04/image_12072025_21_04_54_10623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920259","1371920261","1371920255","1371920257"],"photo_ids_order":["1371920255","1371920257","1371920259","1371920261"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c08c59341f9f5997b59209689befebd5.jpg","text":"TemporaryFile(/tmp/multipartBody2326259235273910829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347209056,"filename":"image_12072025_21_05_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4fea72ee7490469eaf0ff2732d80edce.jpg","text":"TemporaryFile(/tmp/multipartBody7627348705060983314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347209056,"filename":"image_12072025_21_04_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68e8dad6b0fce4258dd16a97e681c2c3.jpg","text":"TemporaryFile(/tmp/multipartBody9019577612317369804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347209056,"filename":"image_12072025_21_05_24_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6cfdd8cdae60e9b333c9f8677823cf6e.jpg","text":"TemporaryFile(/tmp/multipartBody3577896262993276273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347209056,"filename":"image_12072025_21_05_14_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920259","file1":"1371920257","file0":"1371920255","file3":"1371920261"},"map_files_photo_id_array":[{"photo_id":"1371920259","filename":"file2"},{"photo_id":"1371920257","filename":"file1"},{"photo_id":"1371920255","filename":"file0"},{"photo_id":"1371920261","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920259":["hashtag1","hashtag2"]},{"1371920261":["hashtag1","hashtag2"]},{"1371920255":["hashtag1","hashtag2"]},{"1371920257":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920259, 1371920261, 1371920255, 1371920257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.54260277748108 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:06:17.706996
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/06/image_12072025_21_06_34_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/21/06/image_12072025_21_06_14_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/21/05/image_12072025_21_06_04_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/21/05/image_12072025_21_05_54_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/06/image_12072025_21_06_34_9612.jpg', '/home/nano/Desktop/images/12072025/21/06/image_12072025_21_06_14_10654.jpg', '/home/nano/Desktop/images/12072025/21/05/image_12072025_21_06_04_9648.jpg', '/home/nano/Desktop/images/12072025/21/05/image_12072025_21_05_54_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/06/image_12072025_21_06_34_9612.jpg
/home/nano/Desktop/images/12072025/21/06/image_12072025_21_06_14_10654.jpg
/home/nano/Desktop/images/12072025/21/05/image_12072025_21_06_04_9648.jpg
/home/nano/Desktop/images/12072025/21/05/image_12072025_21_05_54_10621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920271","1371920268","1371920266","1371920269"],"photo_ids_order":["1371920266","1371920268","1371920269","1371920271"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b0f1a80f129e9c58578f8ed2354296a.jpg","text":"TemporaryFile(/tmp/multipartBody4767218948637686863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347239002,"filename":"image_12072025_21_05_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44f0d13f3137d4ae699a9d77773ce589.jpg","text":"TemporaryFile(/tmp/multipartBody6404738158467093770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347239002,"filename":"image_12072025_21_06_14_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ecc843ac6f51a6ea764e23a28534606.jpg","text":"TemporaryFile(/tmp/multipartBody3172998958535391716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347239002,"filename":"image_12072025_21_06_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a10db4b5e712f664765ff4a51b76790c.jpg","text":"TemporaryFile(/tmp/multipartBody7753090329890880639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347239002,"filename":"image_12072025_21_06_04_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920269","file1":"1371920268","file0":"1371920266","file3":"1371920271"},"map_files_photo_id_array":[{"photo_id":"1371920269","filename":"file2"},{"photo_id":"1371920268","filename":"file1"},{"photo_id":"1371920266","filename":"file0"},{"photo_id":"1371920271","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920271":["hashtag1","hashtag2"]},{"1371920268":["hashtag1","hashtag2"]},{"1371920266":["hashtag1","hashtag2"]},{"1371920269":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920271, 1371920268, 1371920266, 1371920269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.786778450012207 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:06:47.658290
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/52/image_10072025_15_53_03_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/15/52/image_10072025_15_52_54_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/15/52/image_10072025_15_52_44_10615.jpg', 2), ('/home/nano/Desktop/images/10072025/15/52/image_10072025_15_52_33_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/15/52/image_10072025_15_52_24_10629.jpg', 2), ('/home/nano/Desktop/images/10072025/15/51/image_10072025_15_52_03_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/52/image_10072025_15_53_03_9620.jpg', '/home/nano/Desktop/images/10072025/15/52/image_10072025_15_52_54_9607.jpg', '/home/nano/Desktop/images/10072025/15/52/image_10072025_15_52_44_10615.jpg', '/home/nano/Desktop/images/10072025/15/52/image_10072025_15_52_33_9607.jpg', '/home/nano/Desktop/images/10072025/15/52/image_10072025_15_52_24_10629.jpg', '/home/nano/Desktop/images/10072025/15/51/image_10072025_15_52_03_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/52/image_10072025_15_53_03_9620.jpg
/home/nano/Desktop/images/10072025/15/52/image_10072025_15_52_54_9607.jpg
/home/nano/Desktop/images/10072025/15/52/image_10072025_15_52_44_10615.jpg
/home/nano/Desktop/images/10072025/15/52/image_10072025_15_52_33_9607.jpg
/home/nano/Desktop/images/10072025/15/52/image_10072025_15_52_24_10629.jpg
/home/nano/Desktop/images/10072025/15/51/image_10072025_15_52_03_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920276","1371920285","1371920279","1371920284","1371920281","1371920278"],"photo_ids_order":["1371920276","1371920278","1371920279","1371920281","1371920284","1371920285"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4241ab5d5b42baf9bf727f9d482fb86e.jpg","text":"TemporaryFile(/tmp/multipartBody4346626288071664776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347270972,"filename":"image_10072025_15_53_03_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c82145bafb33e72a4ea8177f8b65d22c.jpg","text":"TemporaryFile(/tmp/multipartBody4915829561929493710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347270972,"filename":"image_10072025_15_52_03_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/514dc7453ac98a93426569e1f4bd15e2.jpg","text":"TemporaryFile(/tmp/multipartBody4995095574472692233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347270972,"filename":"image_10072025_15_52_44_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3ee47159198dbdb3084974a2c54c315.jpg","text":"TemporaryFile(/tmp/multipartBody7048878769281502946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347270972,"filename":"image_10072025_15_52_24_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/489a91fe0ac7075b1133470a5605df9c.jpg","text":"TemporaryFile(/tmp/multipartBody8005658607705590897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347270972,"filename":"image_10072025_15_52_33_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d3f44d00413f78d1540056c83acfaf9.jpg","text":"TemporaryFile(/tmp/multipartBody1194087844679637720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347270972,"filename":"image_10072025_15_52_54_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920279","file1":"1371920278","file0":"1371920276","file4":"1371920284","file5":"1371920285","file3":"1371920281"},"map_files_photo_id_array":[{"photo_id":"1371920285","filename":"file5"},{"photo_id":"1371920279","filename":"file2"},{"photo_id":"1371920284","filename":"file4"},{"photo_id":"1371920278","filename":"file1"},{"photo_id":"1371920276","filename":"file0"},{"photo_id":"1371920281","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920276":["hashtag1","hashtag2"]},{"1371920285":["hashtag1","hashtag2"]},{"1371920279":["hashtag1","hashtag2"]},{"1371920284":["hashtag1","hashtag2"]},{"1371920281":["hashtag1","hashtag2"]},{"1371920278":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920276, 1371920285, 1371920279, 1371920284, 1371920281, 1371920278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12392473220825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:07:31.763880
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_44_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_34_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_24_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_14_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/21/06/image_12072025_21_07_03_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/21/06/image_12072025_21_06_44_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_44_9613.jpg', '/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_34_10622.jpg', '/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_24_9616.jpg', '/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_14_10643.jpg', '/home/nano/Desktop/images/12072025/21/06/image_12072025_21_07_03_9627.jpg', '/home/nano/Desktop/images/12072025/21/06/image_12072025_21_06_44_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_44_9613.jpg
/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_34_10622.jpg
/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_24_9616.jpg
/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_14_10643.jpg
/home/nano/Desktop/images/12072025/21/06/image_12072025_21_07_03_9627.jpg
/home/nano/Desktop/images/12072025/21/06/image_12072025_21_06_44_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920289","1371920294","1371920288","1371920291","1371920287","1371920296"],"photo_ids_order":["1371920287","1371920288","1371920289","1371920291","1371920294","1371920296"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29ff5092fa2530a72581668430f4c9d7.jpg","text":"TemporaryFile(/tmp/multipartBody1635795877002883046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347313420,"filename":"image_12072025_21_07_24_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e2d6abb4fbdaa9571c360c63993ed38.jpg","text":"TemporaryFile(/tmp/multipartBody6246966349920683498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347313420,"filename":"image_12072025_21_07_03_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e47ad93ed6f48fd384509828660e491.jpg","text":"TemporaryFile(/tmp/multipartBody7691946993837439194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347313420,"filename":"image_12072025_21_07_34_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ca54e4a6e8f774380e4664a0dee6015.jpg","text":"TemporaryFile(/tmp/multipartBody4737350646568449252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347313420,"filename":"image_12072025_21_07_14_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1af8cc13c60107d3cd96de775becfef1.jpg","text":"TemporaryFile(/tmp/multipartBody808828422504524495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347313420,"filename":"image_12072025_21_07_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3919280478a51bd252d83598b34ad45d.jpg","text":"TemporaryFile(/tmp/multipartBody1532739680042743538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347313420,"filename":"image_12072025_21_06_44_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920289","file1":"1371920288","file0":"1371920287","file4":"1371920294","file5":"1371920296","file3":"1371920291"},"map_files_photo_id_array":[{"photo_id":"1371920296","filename":"file5"},{"photo_id":"1371920289","filename":"file2"},{"photo_id":"1371920294","filename":"file4"},{"photo_id":"1371920288","filename":"file1"},{"photo_id":"1371920287","filename":"file0"},{"photo_id":"1371920291","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920289":["hashtag1","hashtag2"]},{"1371920294":["hashtag1","hashtag2"]},{"1371920288":["hashtag1","hashtag2"]},{"1371920291":["hashtag1","hashtag2"]},{"1371920287":["hashtag1","hashtag2"]},{"1371920296":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920289, 1371920294, 1371920288, 1371920291, 1371920287, 1371920296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96425485610962 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:08:16.952008
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/08/image_12072025_21_08_34_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/21/07/image_12072025_21_08_04_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/08/image_12072025_21_08_34_10622.jpg', '/home/nano/Desktop/images/12072025/21/07/image_12072025_21_08_04_10629.jpg', '/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/08/image_12072025_21_08_34_10622.jpg
/home/nano/Desktop/images/12072025/21/07/image_12072025_21_08_04_10629.jpg
/home/nano/Desktop/images/12072025/21/07/image_12072025_21_07_54_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920308","1371920307","1371920305"],"photo_ids_order":["1371920305","1371920307","1371920308"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/358f065f481c0d220fb7af529eccf986.jpg","text":"TemporaryFile(/tmp/multipartBody1815711839936600365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347358108,"filename":"image_12072025_21_07_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cabc928d5bc52f6434067839d1756a28.jpg","text":"TemporaryFile(/tmp/multipartBody7641897212747790590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347358108,"filename":"image_12072025_21_08_04_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0bd8d4de0c025c941025ee1591ced2a.jpg","text":"TemporaryFile(/tmp/multipartBody6084450973229426576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347358108,"filename":"image_12072025_21_08_34_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920308","file1":"1371920307","file0":"1371920305"},"map_files_photo_id_array":[{"photo_id":"1371920308","filename":"file2"},{"photo_id":"1371920307","filename":"file1"},{"photo_id":"1371920305","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920308":["hashtag1","hashtag2"]},{"1371920307":["hashtag1","hashtag2"]},{"1371920305":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920308, 1371920307, 1371920305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.521387577056885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:08:46.866603
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_54_10616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_43_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_34_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_24_10616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_13_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/15/50/image_10072025_15_51_04_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_54_10616.jpg', '/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_43_9607.jpg', '/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_34_9607.jpg', '/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_24_10616.jpg', '/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_13_9625.jpg', '/home/nano/Desktop/images/10072025/15/50/image_10072025_15_51_04_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_54_10616.jpg
/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_43_9607.jpg
/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_34_9607.jpg
/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_24_10616.jpg
/home/nano/Desktop/images/10072025/15/51/image_10072025_15_51_13_9625.jpg
/home/nano/Desktop/images/10072025/15/50/image_10072025_15_51_04_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920314","1371920313","1371920310","1371920312","1371920315","1371920311"],"photo_ids_order":["1371920310","1371920311","1371920312","1371920313","1371920314","1371920315"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b771f66572ba27d13c2c842bdc41ea1.jpg","text":"TemporaryFile(/tmp/multipartBody3504282382738143935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347389960,"filename":"image_10072025_15_51_13_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d52a24211a67ed644acab6a5574e44a.jpg","text":"TemporaryFile(/tmp/multipartBody5806313628071809598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347389960,"filename":"image_10072025_15_51_24_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6d5c70cfd32cf5b3a5db73365478fd7.jpg","text":"TemporaryFile(/tmp/multipartBody7964636804630744864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347389960,"filename":"image_10072025_15_51_54_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a7ea76c1acc05ff78fb1fbe938163f5.jpg","text":"TemporaryFile(/tmp/multipartBody8631888407913409752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347389960,"filename":"image_10072025_15_51_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca7d22fb30e437de975aa3ef973cb3a0.jpg","text":"TemporaryFile(/tmp/multipartBody5521655848684609538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347389960,"filename":"image_10072025_15_51_04_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/463b986d4ac0ef4d0c42b4d87fa10815.jpg","text":"TemporaryFile(/tmp/multipartBody6170529187467150917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347389960,"filename":"image_10072025_15_51_43_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920312","file1":"1371920311","file0":"1371920310","file4":"1371920314","file5":"1371920315","file3":"1371920313"},"map_files_photo_id_array":[{"photo_id":"1371920315","filename":"file5"},{"photo_id":"1371920312","filename":"file2"},{"photo_id":"1371920314","filename":"file4"},{"photo_id":"1371920311","filename":"file1"},{"photo_id":"1371920310","filename":"file0"},{"photo_id":"1371920313","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920314":["hashtag1","hashtag2"]},{"1371920313":["hashtag1","hashtag2"]},{"1371920310":["hashtag1","hashtag2"]},{"1371920312":["hashtag1","hashtag2"]},{"1371920315":["hashtag1","hashtag2"]},{"1371920311":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920314, 1371920313, 1371920310, 1371920312, 1371920315, 1371920311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.412052631378174 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:09:31.988368
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_43_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_34_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_24_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/21/08/image_12072025_21_08_44_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_43_9611.jpg', '/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_34_9615.jpg', '/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_24_10626.jpg', '/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_14_9631.jpg', '/home/nano/Desktop/images/12072025/21/08/image_12072025_21_08_44_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_43_9611.jpg
/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_34_9615.jpg
/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_24_10626.jpg
/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_14_9631.jpg
/home/nano/Desktop/images/12072025/21/08/image_12072025_21_08_44_9630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920319","1371920339","1371920336","1371920321","1371920323"],"photo_ids_order":["1371920319","1371920321","1371920323","1371920336","1371920339"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1b90a8e78a43b7d52c6a0545d9d824b.jpg","text":"TemporaryFile(/tmp/multipartBody804738154048273840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347433832,"filename":"image_12072025_21_09_43_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d76a982a6bc81348d3a5e43ffdc9259.jpg","text":"TemporaryFile(/tmp/multipartBody7337238509733145351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347433832,"filename":"image_12072025_21_08_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ceeefc0acf0b1116f67f0994da641c75.jpg","text":"TemporaryFile(/tmp/multipartBody7014165085456979542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347433832,"filename":"image_12072025_21_09_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a843d71f282569a1f67142c9ca6afd0f.jpg","text":"TemporaryFile(/tmp/multipartBody1450984885901628424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347433832,"filename":"image_12072025_21_09_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d912c739f5b376a646017aadcfc47f5.jpg","text":"TemporaryFile(/tmp/multipartBody2088162380272972234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347433832,"filename":"image_12072025_21_09_24_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920323","file1":"1371920321","file0":"1371920319","file4":"1371920339","file3":"1371920336"},"map_files_photo_id_array":[{"photo_id":"1371920323","filename":"file2"},{"photo_id":"1371920339","filename":"file4"},{"photo_id":"1371920321","filename":"file1"},{"photo_id":"1371920319","filename":"file0"},{"photo_id":"1371920336","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920319":["hashtag1","hashtag2"]},{"1371920339":["hashtag1","hashtag2"]},{"1371920336":["hashtag1","hashtag2"]},{"1371920321":["hashtag1","hashtag2"]},{"1371920323":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920319, 1371920339, 1371920336, 1371920321, 1371920323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.576936721801758 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:10:02.745018
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/50/image_10072025_15_50_53_9610.jpg', 2), ('/home/nano/Desktop/images/10072025/15/50/image_10072025_15_50_44_9606.jpg', 2), ('/home/nano/Desktop/images/10072025/15/50/image_10072025_15_50_34_10620.jpg', 2), ('/home/nano/Desktop/images/10072025/15/50/image_10072025_15_50_23_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/15/49/image_10072025_15_50_03_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_53_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/50/image_10072025_15_50_53_9610.jpg', '/home/nano/Desktop/images/10072025/15/50/image_10072025_15_50_44_9606.jpg', '/home/nano/Desktop/images/10072025/15/50/image_10072025_15_50_34_10620.jpg', '/home/nano/Desktop/images/10072025/15/50/image_10072025_15_50_23_9607.jpg', '/home/nano/Desktop/images/10072025/15/49/image_10072025_15_50_03_9626.jpg', '/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_53_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/50/image_10072025_15_50_53_9610.jpg
/home/nano/Desktop/images/10072025/15/50/image_10072025_15_50_44_9606.jpg
/home/nano/Desktop/images/10072025/15/50/image_10072025_15_50_34_10620.jpg
/home/nano/Desktop/images/10072025/15/50/image_10072025_15_50_23_9607.jpg
/home/nano/Desktop/images/10072025/15/49/image_10072025_15_50_03_9626.jpg
/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_53_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920346","1371920345","1371920348","1371920347","1371920350","1371920344"],"photo_ids_order":["1371920344","1371920345","1371920346","1371920347","1371920348","1371920350"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f428ffefafeb6634f7cdd9faffae6e25.jpg","text":"TemporaryFile(/tmp/multipartBody6701634588626523641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347465998,"filename":"image_10072025_15_50_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35571398e5749541b31e62b95d267343.jpg","text":"TemporaryFile(/tmp/multipartBody972516762460616283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347465998,"filename":"image_10072025_15_50_44_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90bbfe7484e03c7342fc8230af88b89f.jpg","text":"TemporaryFile(/tmp/multipartBody6377316486601275286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347465998,"filename":"image_10072025_15_50_03_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41c4d84610ebd9a5ef366ecc231bc81e.jpg","text":"TemporaryFile(/tmp/multipartBody8117372591169840035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347465998,"filename":"image_10072025_15_50_23_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f20e8cf67b618207c01a51459d547034.jpg","text":"TemporaryFile(/tmp/multipartBody4396881580639858874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347465998,"filename":"image_10072025_15_49_53_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f99d1ab7049021d2b220710ba75aa67.jpg","text":"TemporaryFile(/tmp/multipartBody8485550894112238181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347465998,"filename":"image_10072025_15_50_53_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920346","file1":"1371920345","file0":"1371920344","file4":"1371920348","file5":"1371920350","file3":"1371920347"},"map_files_photo_id_array":[{"photo_id":"1371920350","filename":"file5"},{"photo_id":"1371920346","filename":"file2"},{"photo_id":"1371920348","filename":"file4"},{"photo_id":"1371920345","filename":"file1"},{"photo_id":"1371920344","filename":"file0"},{"photo_id":"1371920347","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920346":["hashtag1","hashtag2"]},{"1371920345":["hashtag1","hashtag2"]},{"1371920348":["hashtag1","hashtag2"]},{"1371920347":["hashtag1","hashtag2"]},{"1371920350":["hashtag1","hashtag2"]},{"1371920344":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920346, 1371920345, 1371920348, 1371920347, 1371920350, 1371920344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11953163146973 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:10:47.101312
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/10/image_12072025_21_10_44_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/10/image_12072025_21_10_34_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/10/image_12072025_21_10_13_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/21/09/image_12072025_21_10_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_54_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/10/image_12072025_21_10_44_10620.jpg', '/home/nano/Desktop/images/12072025/21/10/image_12072025_21_10_34_9616.jpg', '/home/nano/Desktop/images/12072025/21/10/image_12072025_21_10_13_9652.jpg', '/home/nano/Desktop/images/12072025/21/09/image_12072025_21_10_04_9626.jpg', '/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_54_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/10/image_12072025_21_10_44_10620.jpg
/home/nano/Desktop/images/12072025/21/10/image_12072025_21_10_34_9616.jpg
/home/nano/Desktop/images/12072025/21/10/image_12072025_21_10_13_9652.jpg
/home/nano/Desktop/images/12072025/21/09/image_12072025_21_10_04_9626.jpg
/home/nano/Desktop/images/12072025/21/09/image_12072025_21_09_54_10625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920358","1371920361","1371920360","1371920363","1371920365"],"photo_ids_order":["1371920358","1371920360","1371920361","1371920363","1371920365"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a93cd270b6b511daecf111d17613490.jpg","text":"TemporaryFile(/tmp/multipartBody5247406374629248177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347509131,"filename":"image_12072025_21_10_44_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6021276bf4c5bb283f71c95c810d9932.jpg","text":"TemporaryFile(/tmp/multipartBody6738331300285467380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347509131,"filename":"image_12072025_21_10_13_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b8d9c4ce908f791168dea10a211776c.jpg","text":"TemporaryFile(/tmp/multipartBody2522582441329927287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347509131,"filename":"image_12072025_21_10_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a172b9ec92f755f16b5af072f6a52ad0.jpg","text":"TemporaryFile(/tmp/multipartBody3738166452605876713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347509131,"filename":"image_12072025_21_10_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f2b3c0ffb96a72d0a880b503ae93960.jpg","text":"TemporaryFile(/tmp/multipartBody2764827548543748573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347509131,"filename":"image_12072025_21_09_54_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920361","file1":"1371920360","file0":"1371920358","file4":"1371920365","file3":"1371920363"},"map_files_photo_id_array":[{"photo_id":"1371920361","filename":"file2"},{"photo_id":"1371920365","filename":"file4"},{"photo_id":"1371920360","filename":"file1"},{"photo_id":"1371920358","filename":"file0"},{"photo_id":"1371920363","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920358":["hashtag1","hashtag2"]},{"1371920361":["hashtag1","hashtag2"]},{"1371920360":["hashtag1","hashtag2"]},{"1371920363":["hashtag1","hashtag2"]},{"1371920365":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920358, 1371920361, 1371920360, 1371920363, 1371920365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.949301719665527 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:11:17.275757
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_33_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_24_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_14_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/21/10/image_12072025_21_11_03_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/21/10/image_12072025_21_10_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_44_10621.jpg', '/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_33_9617.jpg', '/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_24_9614.jpg', '/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_14_10659.jpg', '/home/nano/Desktop/images/12072025/21/10/image_12072025_21_11_03_9645.jpg', '/home/nano/Desktop/images/12072025/21/10/image_12072025_21_10_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_44_10621.jpg
/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_33_9617.jpg
/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_24_9614.jpg
/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_14_10659.jpg
/home/nano/Desktop/images/12072025/21/10/image_12072025_21_11_03_9645.jpg
/home/nano/Desktop/images/12072025/21/10/image_12072025_21_10_54_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920370","1371920373","1371920367","1371920375","1371920372","1371920368"],"photo_ids_order":["1371920367","1371920368","1371920370","1371920372","1371920373","1371920375"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3990acefd90a84086a511591ead2ee16.jpg","text":"TemporaryFile(/tmp/multipartBody1788764246830238598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347538954,"filename":"image_12072025_21_11_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f4543fb0fdbb780457fc10cb0afdb720.jpg","text":"TemporaryFile(/tmp/multipartBody3418976014511477489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347538954,"filename":"image_12072025_21_11_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08218832a27dd77be9fdff6c7b7cacb5.jpg","text":"TemporaryFile(/tmp/multipartBody5901539162004442473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347538954,"filename":"image_12072025_21_11_44_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61224934bcbb7fc32c761da7cf3bf013.jpg","text":"TemporaryFile(/tmp/multipartBody8268444166890751928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347538954,"filename":"image_12072025_21_10_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8900c064e34bcf83d0197bbd63eaecef.jpg","text":"TemporaryFile(/tmp/multipartBody5297696066823804853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347538954,"filename":"image_12072025_21_11_14_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c00e3ed29183c513d51d21caa0eca827.jpg","text":"TemporaryFile(/tmp/multipartBody2383380754133276266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347538954,"filename":"image_12072025_21_11_33_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920370","file1":"1371920368","file0":"1371920367","file4":"1371920373","file5":"1371920375","file3":"1371920372"},"map_files_photo_id_array":[{"photo_id":"1371920375","filename":"file5"},{"photo_id":"1371920370","filename":"file2"},{"photo_id":"1371920373","filename":"file4"},{"photo_id":"1371920368","filename":"file1"},{"photo_id":"1371920367","filename":"file0"},{"photo_id":"1371920372","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920370":["hashtag1","hashtag2"]},{"1371920373":["hashtag1","hashtag2"]},{"1371920367":["hashtag1","hashtag2"]},{"1371920375":["hashtag1","hashtag2"]},{"1371920372":["hashtag1","hashtag2"]},{"1371920368":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920370, 1371920373, 1371920367, 1371920375, 1371920372, 1371920368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.050373554229736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:12:02.764034
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_44_10634.jpg', 2), ('/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_33_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_24_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_14_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_54_9608.jpg', 2), ('/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_44_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_44_10634.jpg', '/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_33_9616.jpg', '/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_24_9615.jpg', '/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_14_10655.jpg', '/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_54_9608.jpg', '/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_44_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_44_10634.jpg
/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_33_9616.jpg
/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_24_9615.jpg
/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_14_10655.jpg
/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_54_9608.jpg
/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_44_10641.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0415282249450684 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:12:17.307685
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_44_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_34_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_23_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/21/11/image_12072025_21_12_04_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_54_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_44_9624.jpg', '/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_34_10635.jpg', '/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_23_9628.jpg', '/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_14_9631.jpg', '/home/nano/Desktop/images/12072025/21/11/image_12072025_21_12_04_10632.jpg', '/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_54_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_44_9624.jpg
/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_34_10635.jpg
/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_23_9628.jpg
/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_14_9631.jpg
/home/nano/Desktop/images/12072025/21/11/image_12072025_21_12_04_10632.jpg
/home/nano/Desktop/images/12072025/21/11/image_12072025_21_11_54_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920387","1371920396","1371920390","1371920392","1371920389","1371920394"],"photo_ids_order":["1371920387","1371920389","1371920390","1371920392","1371920394","1371920396"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10ccc835714fa284c1251126fdc83075.jpg","text":"TemporaryFile(/tmp/multipartBody3040082865257494002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347599229,"filename":"image_12072025_21_12_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/505d9eebd5f15df438f13407156776bb.jpg","text":"TemporaryFile(/tmp/multipartBody4146602529118688673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347599229,"filename":"image_12072025_21_11_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a41570f477aeb5ab18e0c278d4eccaf.jpg","text":"TemporaryFile(/tmp/multipartBody5513660489716513639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347599229,"filename":"image_12072025_21_12_23_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6fbb6c8881c927433b711b3c64944295.jpg","text":"TemporaryFile(/tmp/multipartBody7120673315833085334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347599229,"filename":"image_12072025_21_12_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3578b35da84c5ee90cc4d21e4ba2e99.jpg","text":"TemporaryFile(/tmp/multipartBody9129352554760084769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347599229,"filename":"image_12072025_21_12_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0efb53420a454f9a00d07db9d0c6526d.jpg","text":"TemporaryFile(/tmp/multipartBody5484270074999194745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347599229,"filename":"image_12072025_21_12_04_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920390","file1":"1371920389","file0":"1371920387","file4":"1371920394","file5":"1371920396","file3":"1371920392"},"map_files_photo_id_array":[{"photo_id":"1371920396","filename":"file5"},{"photo_id":"1371920390","filename":"file2"},{"photo_id":"1371920394","filename":"file4"},{"photo_id":"1371920389","filename":"file1"},{"photo_id":"1371920387","filename":"file0"},{"photo_id":"1371920392","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920387":["hashtag1","hashtag2"]},{"1371920396":["hashtag1","hashtag2"]},{"1371920390":["hashtag1","hashtag2"]},{"1371920392":["hashtag1","hashtag2"]},{"1371920389":["hashtag1","hashtag2"]},{"1371920394":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920387, 1371920396, 1371920390, 1371920392, 1371920389, 1371920394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.164631605148315 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:13:03.213470
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/13/image_12072025_21_13_14_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/13/image_12072025_21_13_14_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/13/image_12072025_21_13_14_9629.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920407"],"photo_id":"1371920407","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce8415f21a79b1a52cab724ec29ff4ab.jpg","text":"TemporaryFile(/tmp/multipartBody4128906599220971083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347644044,"filename":"image_12072025_21_13_14_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371920407"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371920407"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.2969810962677 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:13:17.380805
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/13/image_12072025_21_13_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/12/image_12072025_21_13_04_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_53_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/13/image_12072025_21_13_24_10620.jpg', '/home/nano/Desktop/images/12072025/21/12/image_12072025_21_13_04_10623.jpg', '/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_53_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/13/image_12072025_21_13_24_10620.jpg
/home/nano/Desktop/images/12072025/21/12/image_12072025_21_13_04_10623.jpg
/home/nano/Desktop/images/12072025/21/12/image_12072025_21_12_53_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920413","1371920411","1371920410"],"photo_ids_order":["1371920410","1371920411","1371920413"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d299da2731b77f308ddc43f8b9ed9e48.jpg","text":"TemporaryFile(/tmp/multipartBody5534562431619409512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347658458,"filename":"image_12072025_21_12_53_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e094ace17bf45f6433c81f5f0391338e.jpg","text":"TemporaryFile(/tmp/multipartBody3497180375372622688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347658458,"filename":"image_12072025_21_13_04_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/750e7bda7826b2247de35ef4d3f4a686.jpg","text":"TemporaryFile(/tmp/multipartBody1849693449636239099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347658458,"filename":"image_12072025_21_13_24_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920413","file1":"1371920411","file0":"1371920410"},"map_files_photo_id_array":[{"photo_id":"1371920413","filename":"file2"},{"photo_id":"1371920411","filename":"file1"},{"photo_id":"1371920410","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920413":["hashtag1","hashtag2"]},{"1371920411":["hashtag1","hashtag2"]},{"1371920410":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920413, 1371920411, 1371920410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.215569496154785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:13:47.380095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_44_10634.jpg', 2), ('/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_33_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_24_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_14_10655.jpg', 2), ('/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_54_9608.jpg', 2), ('/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_44_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_44_10634.jpg', '/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_33_9616.jpg', '/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_24_9615.jpg', '/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_14_10655.jpg', '/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_54_9608.jpg', '/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_44_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_44_10634.jpg
/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_33_9616.jpg
/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_24_9615.jpg
/home/nano/Desktop/images/10072025/15/49/image_10072025_15_49_14_10655.jpg
/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_54_9608.jpg
/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_44_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920421","1371920424","1371920432","1371920426","1371920429","1371920422"],"photo_ids_order":["1371920421","1371920422","1371920424","1371920426","1371920429","1371920432"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3d3b26a24925c8470c01e3a109e8e1e.jpg","text":"TemporaryFile(/tmp/multipartBody5212868461570811435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347691096,"filename":"image_10072025_15_49_44_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ddc102fb242def63d947be5e289add88.jpg","text":"TemporaryFile(/tmp/multipartBody1033588714186990841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347691096,"filename":"image_10072025_15_49_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9537d63001c9b46cf97197ae595c75bd.jpg","text":"TemporaryFile(/tmp/multipartBody4514519565713963846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347691096,"filename":"image_10072025_15_48_44_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cdfbb2ecbe283ce6d9cc888a40ba7fd0.jpg","text":"TemporaryFile(/tmp/multipartBody7055805856394473875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347691096,"filename":"image_10072025_15_49_14_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b53b9edc138ff53578d8db83506acf24.jpg","text":"TemporaryFile(/tmp/multipartBody2912079132903081384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347691096,"filename":"image_10072025_15_48_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/acb48aa3eb3bbffb9171fd748a298c60.jpg","text":"TemporaryFile(/tmp/multipartBody4991434390364260373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347691096,"filename":"image_10072025_15_49_33_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920424","file1":"1371920422","file0":"1371920421","file4":"1371920429","file5":"1371920432","file3":"1371920426"},"map_files_photo_id_array":[{"photo_id":"1371920432","filename":"file5"},{"photo_id":"1371920424","filename":"file2"},{"photo_id":"1371920429","filename":"file4"},{"photo_id":"1371920422","filename":"file1"},{"photo_id":"1371920421","filename":"file0"},{"photo_id":"1371920426","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920421":["hashtag1","hashtag2"]},{"1371920424":["hashtag1","hashtag2"]},{"1371920432":["hashtag1","hashtag2"]},{"1371920426":["hashtag1","hashtag2"]},{"1371920429":["hashtag1","hashtag2"]},{"1371920422":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920421, 1371920424, 1371920432, 1371920426, 1371920429, 1371920422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34085035324097 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:14:32.462731
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/14/image_12072025_21_14_34_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/21/14/image_12072025_21_14_13_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/21/13/image_12072025_21_14_04_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/21/13/image_12072025_21_13_34_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/14/image_12072025_21_14_34_9609.jpg', '/home/nano/Desktop/images/12072025/21/14/image_12072025_21_14_13_9636.jpg', '/home/nano/Desktop/images/12072025/21/13/image_12072025_21_14_04_9618.jpg', '/home/nano/Desktop/images/12072025/21/13/image_12072025_21_13_34_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/14/image_12072025_21_14_34_9609.jpg
/home/nano/Desktop/images/12072025/21/14/image_12072025_21_14_13_9636.jpg
/home/nano/Desktop/images/12072025/21/13/image_12072025_21_14_04_9618.jpg
/home/nano/Desktop/images/12072025/21/13/image_12072025_21_13_34_9612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920436","1371920441","1371920438","1371920437"],"photo_ids_order":["1371920436","1371920437","1371920438","1371920441"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f395cb6f6c85333fbb231314d21b8cc.jpg","text":"TemporaryFile(/tmp/multipartBody763683384569942832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347734086,"filename":"image_12072025_21_14_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3752f9b140299eddf917f60f41b9373c.jpg","text":"TemporaryFile(/tmp/multipartBody4172118995232008827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347734086,"filename":"image_12072025_21_13_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b906969f4b600a3551e937d1d40cd7f9.jpg","text":"TemporaryFile(/tmp/multipartBody7030592969480366079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347734086,"filename":"image_12072025_21_14_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25e6136d55d5a814f3fa2e4c0fb37830.jpg","text":"TemporaryFile(/tmp/multipartBody6573390617252893300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347734086,"filename":"image_12072025_21_14_13_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920438","file1":"1371920437","file0":"1371920436","file3":"1371920441"},"map_files_photo_id_array":[{"photo_id":"1371920438","filename":"file2"},{"photo_id":"1371920437","filename":"file1"},{"photo_id":"1371920436","filename":"file0"},{"photo_id":"1371920441","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920436":["hashtag1","hashtag2"]},{"1371920441":["hashtag1","hashtag2"]},{"1371920438":["hashtag1","hashtag2"]},{"1371920437":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920436, 1371920441, 1371920438, 1371920437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.493385791778564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:15:03.256333
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_33_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_24_10615.jpg', 2), ('/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_13_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/47/image_10072025_15_48_04_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_54_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_43_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_33_9615.jpg', '/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_24_10615.jpg', '/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_13_9627.jpg', '/home/nano/Desktop/images/10072025/15/47/image_10072025_15_48_04_9635.jpg', '/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_54_10627.jpg', '/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_43_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_33_9615.jpg
/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_24_10615.jpg
/home/nano/Desktop/images/10072025/15/48/image_10072025_15_48_13_9627.jpg
/home/nano/Desktop/images/10072025/15/47/image_10072025_15_48_04_9635.jpg
/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_54_10627.jpg
/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_43_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920451","1371920445","1371920450","1371920447","1371920452","1371920449"],"photo_ids_order":["1371920445","1371920447","1371920449","1371920450","1371920451","1371920452"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/556d254ca77cc9bd1afca45cca4d8751.jpg","text":"TemporaryFile(/tmp/multipartBody4903871517069846776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347766585,"filename":"image_10072025_15_47_54_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19c55fbb340b1fa07922010a5c4dc2e0.jpg","text":"TemporaryFile(/tmp/multipartBody6824661905137474960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347766585,"filename":"image_10072025_15_48_33_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29f73fda2e2d9cf86b2f4d00956e6083.jpg","text":"TemporaryFile(/tmp/multipartBody5063621978397363879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347766585,"filename":"image_10072025_15_48_04_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b628c0686e7939bb6baf1e772af52373.jpg","text":"TemporaryFile(/tmp/multipartBody5555037276858855686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347766585,"filename":"image_10072025_15_48_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b4dde76f0733b09f18e52d9e77e3657.jpg","text":"TemporaryFile(/tmp/multipartBody6825067384256508420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347766585,"filename":"image_10072025_15_47_43_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/795277f0835d17a71469bea31f0830ad.jpg","text":"TemporaryFile(/tmp/multipartBody2270662197335595464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347766585,"filename":"image_10072025_15_48_13_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920449","file1":"1371920447","file0":"1371920445","file4":"1371920451","file5":"1371920452","file3":"1371920450"},"map_files_photo_id_array":[{"photo_id":"1371920452","filename":"file5"},{"photo_id":"1371920449","filename":"file2"},{"photo_id":"1371920451","filename":"file4"},{"photo_id":"1371920447","filename":"file1"},{"photo_id":"1371920445","filename":"file0"},{"photo_id":"1371920450","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920451":["hashtag1","hashtag2"]},{"1371920445":["hashtag1","hashtag2"]},{"1371920450":["hashtag1","hashtag2"]},{"1371920447":["hashtag1","hashtag2"]},{"1371920452":["hashtag1","hashtag2"]},{"1371920449":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920451, 1371920445, 1371920450, 1371920447, 1371920452, 1371920449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22046613693237 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:15:47.605507
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_14_10647.jpg', 2), ('/home/nano/Desktop/images/12072025/21/14/image_12072025_21_15_03_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/21/14/image_12072025_21_14_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_34_10623.jpg', '/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_24_9608.jpg', '/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_14_10647.jpg', '/home/nano/Desktop/images/12072025/21/14/image_12072025_21_15_03_9648.jpg', '/home/nano/Desktop/images/12072025/21/14/image_12072025_21_14_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_34_10623.jpg
/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_24_9608.jpg
/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_14_10647.jpg
/home/nano/Desktop/images/12072025/21/14/image_12072025_21_15_03_9648.jpg
/home/nano/Desktop/images/12072025/21/14/image_12072025_21_14_54_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920463","1371920460","1371920456","1371920461","1371920458"],"photo_ids_order":["1371920456","1371920458","1371920460","1371920461","1371920463"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a62f8075afd9bb4a964504e2124c3bb.jpg","text":"TemporaryFile(/tmp/multipartBody123978388224625096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347809326,"filename":"image_12072025_21_14_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef678de6325f387f30b732be2a07917b.jpg","text":"TemporaryFile(/tmp/multipartBody1156465758560188935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347809326,"filename":"image_12072025_21_15_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/883348c94233190b5cffa13e78671fee.jpg","text":"TemporaryFile(/tmp/multipartBody2476541553398290898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347809326,"filename":"image_12072025_21_15_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04fdc0bfa94a25965accd481a368cdce.jpg","text":"TemporaryFile(/tmp/multipartBody2362327785121061595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347809326,"filename":"image_12072025_21_15_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e0cd91df0cb6612a5a53be045df6644.jpg","text":"TemporaryFile(/tmp/multipartBody4325740374595469090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347809326,"filename":"image_12072025_21_15_24_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920460","file1":"1371920458","file0":"1371920456","file4":"1371920463","file3":"1371920461"},"map_files_photo_id_array":[{"photo_id":"1371920460","filename":"file2"},{"photo_id":"1371920463","filename":"file4"},{"photo_id":"1371920458","filename":"file1"},{"photo_id":"1371920456","filename":"file0"},{"photo_id":"1371920461","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920463":["hashtag1","hashtag2"]},{"1371920460":["hashtag1","hashtag2"]},{"1371920456":["hashtag1","hashtag2"]},{"1371920461":["hashtag1","hashtag2"]},{"1371920458":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920463, 1371920460, 1371920456, 1371920461, 1371920458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.7158522605896 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:16:17.729382
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_44_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_14_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_44_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_44_9611.jpg', '/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_23_9609.jpg', '/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_14_9640.jpg', '/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_44_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_44_9611.jpg
/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_23_9609.jpg
/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_14_9640.jpg
/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_44_9611.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2591722011566162 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:16:32.739510
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_44_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_14_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_44_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_44_9611.jpg', '/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_23_9609.jpg', '/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_14_9640.jpg', '/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_44_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_44_9611.jpg
/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_23_9609.jpg
/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_14_9640.jpg
/home/nano/Desktop/images/12072025/21/15/image_12072025_21_15_44_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920475","1371920472","1371920471","1371920470"],"photo_ids_order":["1371920470","1371920471","1371920472","1371920475"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98c67ccf8bff0c45699c2c4d8eb037d0.jpg","text":"TemporaryFile(/tmp/multipartBody2511918961747456599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347854417,"filename":"image_12072025_21_15_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/099c034ae6190d775720b3722c729ef3.jpg","text":"TemporaryFile(/tmp/multipartBody5143660005227326340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347854417,"filename":"image_12072025_21_16_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f58e5acd7f43f8f5618e34ce40735307.jpg","text":"TemporaryFile(/tmp/multipartBody8229096180905183250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347854417,"filename":"image_12072025_21_16_23_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8920656e809f18260e99bd8b41aa393.jpg","text":"TemporaryFile(/tmp/multipartBody7484147801023249828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347854417,"filename":"image_12072025_21_16_44_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920472","file1":"1371920471","file0":"1371920470","file3":"1371920475"},"map_files_photo_id_array":[{"photo_id":"1371920472","filename":"file2"},{"photo_id":"1371920471","filename":"file1"},{"photo_id":"1371920470","filename":"file0"},{"photo_id":"1371920475","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920475":["hashtag1","hashtag2"]},{"1371920472":["hashtag1","hashtag2"]},{"1371920471":["hashtag1","hashtag2"]},{"1371920470":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920475, 1371920472, 1371920471, 1371920470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.229636907577515 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:17:02.455287
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_34_10618.jpg', 2), ('/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_23_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_13_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/15/46/image_10072025_15_47_04_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_53_9621.jpg', 2), ('/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_44_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_34_10618.jpg', '/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_23_9614.jpg', '/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_13_9623.jpg', '/home/nano/Desktop/images/10072025/15/46/image_10072025_15_47_04_10632.jpg', '/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_53_9621.jpg', '/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_44_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_34_10618.jpg
/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_23_9614.jpg
/home/nano/Desktop/images/10072025/15/47/image_10072025_15_47_13_9623.jpg
/home/nano/Desktop/images/10072025/15/46/image_10072025_15_47_04_10632.jpg
/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_53_9621.jpg
/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_44_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920481","1371920487","1371920486","1371920483","1371920485","1371920488"],"photo_ids_order":["1371920481","1371920483","1371920485","1371920486","1371920487","1371920488"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12c2807931156b49926e9c9e85947233.jpg","text":"TemporaryFile(/tmp/multipartBody5417247687168284459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347885700,"filename":"image_10072025_15_47_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f505459cda4d5f7ac0384708dd1d7aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2109380538041760213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347885700,"filename":"image_10072025_15_46_53_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2684bbe1228796c62ea8b1d3f3aaa7fd.jpg","text":"TemporaryFile(/tmp/multipartBody1052085731457681753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347885700,"filename":"image_10072025_15_47_04_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/338f602146a51a5f70da2d4437a1d322.jpg","text":"TemporaryFile(/tmp/multipartBody1200108838901849769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347885700,"filename":"image_10072025_15_47_23_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7aab2c728fadb7cf59c5077da93eccea.jpg","text":"TemporaryFile(/tmp/multipartBody4268541424583843705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347885700,"filename":"image_10072025_15_47_13_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5212d15e9483509108cacbd114aff93d.jpg","text":"TemporaryFile(/tmp/multipartBody7602821304733249096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347885700,"filename":"image_10072025_15_46_44_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920485","file1":"1371920483","file0":"1371920481","file4":"1371920487","file5":"1371920488","file3":"1371920486"},"map_files_photo_id_array":[{"photo_id":"1371920488","filename":"file5"},{"photo_id":"1371920485","filename":"file2"},{"photo_id":"1371920487","filename":"file4"},{"photo_id":"1371920483","filename":"file1"},{"photo_id":"1371920481","filename":"file0"},{"photo_id":"1371920486","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920481":["hashtag1","hashtag2"]},{"1371920487":["hashtag1","hashtag2"]},{"1371920486":["hashtag1","hashtag2"]},{"1371920483":["hashtag1","hashtag2"]},{"1371920485":["hashtag1","hashtag2"]},{"1371920488":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920481, 1371920487, 1371920486, 1371920483, 1371920485, 1371920488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.413493633270264 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:17:46.799536
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_43_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_34_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_24_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/21/16/image_12072025_21_17_04_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_54_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_43_9627.jpg', '/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_34_9609.jpg', '/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_24_10617.jpg', '/home/nano/Desktop/images/12072025/21/16/image_12072025_21_17_04_9629.jpg', '/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_54_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_43_9627.jpg
/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_34_9609.jpg
/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_24_10617.jpg
/home/nano/Desktop/images/12072025/21/16/image_12072025_21_17_04_9629.jpg
/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_54_10627.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6462152004241943 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:18:02.406753
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_43_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_34_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_24_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/21/16/image_12072025_21_17_04_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_54_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_43_9627.jpg', '/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_34_9609.jpg', '/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_24_10617.jpg', '/home/nano/Desktop/images/12072025/21/16/image_12072025_21_17_04_9629.jpg', '/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_54_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_43_9627.jpg
/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_34_9609.jpg
/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_24_10617.jpg
/home/nano/Desktop/images/12072025/21/16/image_12072025_21_17_04_9629.jpg
/home/nano/Desktop/images/12072025/21/16/image_12072025_21_16_54_10627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920499","1371920505","1371920507","1371920501","1371920503"],"photo_ids_order":["1371920499","1371920501","1371920503","1371920505","1371920507"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b56e644cb32dc2e822a69fa8533efd7d.jpg","text":"TemporaryFile(/tmp/multipartBody4317763716493004993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347944096,"filename":"image_12072025_21_17_43_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a31d67411dcf30ecbb1ee016937c357.jpg","text":"TemporaryFile(/tmp/multipartBody7856590203031830320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347944096,"filename":"image_12072025_21_17_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3183b2989a01ce588aba0875ca5554bf.jpg","text":"TemporaryFile(/tmp/multipartBody925468563672322783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347944096,"filename":"image_12072025_21_16_54_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1be2c75f66e9dee32db3d14853fba1c.jpg","text":"TemporaryFile(/tmp/multipartBody5496947151181180260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347944096,"filename":"image_12072025_21_17_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6634452c5f34c5b958fce862ea075db4.jpg","text":"TemporaryFile(/tmp/multipartBody1934809961986921730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347944096,"filename":"image_12072025_21_17_24_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920503","file1":"1371920501","file0":"1371920499","file4":"1371920507","file3":"1371920505"},"map_files_photo_id_array":[{"photo_id":"1371920503","filename":"file2"},{"photo_id":"1371920507","filename":"file4"},{"photo_id":"1371920501","filename":"file1"},{"photo_id":"1371920499","filename":"file0"},{"photo_id":"1371920505","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920499":["hashtag1","hashtag2"]},{"1371920505":["hashtag1","hashtag2"]},{"1371920507":["hashtag1","hashtag2"]},{"1371920501":["hashtag1","hashtag2"]},{"1371920503":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920499, 1371920505, 1371920507, 1371920501, 1371920503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.290526866912842 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:18:31.907772
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/18/image_12072025_21_18_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/21/18/image_12072025_21_18_34_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/21/18/image_12072025_21_18_24_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_54_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/18/image_12072025_21_18_44_10622.jpg', '/home/nano/Desktop/images/12072025/21/18/image_12072025_21_18_34_9615.jpg', '/home/nano/Desktop/images/12072025/21/18/image_12072025_21_18_24_9609.jpg', '/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_54_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/18/image_12072025_21_18_44_10622.jpg
/home/nano/Desktop/images/12072025/21/18/image_12072025_21_18_34_9615.jpg
/home/nano/Desktop/images/12072025/21/18/image_12072025_21_18_24_9609.jpg
/home/nano/Desktop/images/12072025/21/17/image_12072025_21_17_54_10625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920512","1371920511","1371920510","1371920515"],"photo_ids_order":["1371920510","1371920511","1371920512","1371920515"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/865644469b07af5c99d018cf60d8f2d9.jpg","text":"TemporaryFile(/tmp/multipartBody8786639380859039144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347973289,"filename":"image_12072025_21_18_24_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9cc0b8473622f95a0edf79e6c95af78.jpg","text":"TemporaryFile(/tmp/multipartBody514936258520584502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347973289,"filename":"image_12072025_21_18_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67cdf796f1011a38b20838727f95d856.jpg","text":"TemporaryFile(/tmp/multipartBody4488157006210045833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347973289,"filename":"image_12072025_21_18_44_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79018046facda00f6ff2e31b0c40034e.jpg","text":"TemporaryFile(/tmp/multipartBody1211256554405086723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752347973289,"filename":"image_12072025_21_17_54_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920512","file1":"1371920511","file0":"1371920510","file3":"1371920515"},"map_files_photo_id_array":[{"photo_id":"1371920512","filename":"file2"},{"photo_id":"1371920511","filename":"file1"},{"photo_id":"1371920510","filename":"file0"},{"photo_id":"1371920515","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920512":["hashtag1","hashtag2"]},{"1371920511":["hashtag1","hashtag2"]},{"1371920510":["hashtag1","hashtag2"]},{"1371920515":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920512, 1371920511, 1371920510, 1371920515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.526302337646484 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:19:03.129385
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_34_10618.jpg', 2), ('/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_23_9609.jpg', 2), ('/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_14_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/15/45/image_10072025_15_46_03_9609.jpg', 2), ('/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_53_9609.jpg', 2), ('/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_44_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_34_10618.jpg', '/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_23_9609.jpg', '/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_14_10637.jpg', '/home/nano/Desktop/images/10072025/15/45/image_10072025_15_46_03_9609.jpg', '/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_53_9609.jpg', '/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_44_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_34_10618.jpg
/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_23_9609.jpg
/home/nano/Desktop/images/10072025/15/46/image_10072025_15_46_14_10637.jpg
/home/nano/Desktop/images/10072025/15/45/image_10072025_15_46_03_9609.jpg
/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_53_9609.jpg
/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_44_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920520","1371920523","1371920525","1371920527","1371920521","1371920524"],"photo_ids_order":["1371920520","1371920521","1371920523","1371920524","1371920525","1371920527"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3326acd45dbe652783e75df71b99075.jpg","text":"TemporaryFile(/tmp/multipartBody4082970232577969067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348006296,"filename":"image_10072025_15_46_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/490bd8045e8b40addd5d2c10df222ffa.jpg","text":"TemporaryFile(/tmp/multipartBody5100223578331270088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348006296,"filename":"image_10072025_15_46_14_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59b88883f1fcdb8ca056fa91e9cd82da.jpg","text":"TemporaryFile(/tmp/multipartBody5306044053905021085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348006296,"filename":"image_10072025_15_45_53_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a8e79ae74a0e96f7cd4e8cd3d21c08d.jpg","text":"TemporaryFile(/tmp/multipartBody7971438556492924543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348006296,"filename":"image_10072025_15_45_44_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2a697a8219f87b57202d7dab68f5ce0.jpg","text":"TemporaryFile(/tmp/multipartBody1123702803717908894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348006296,"filename":"image_10072025_15_46_23_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fbeab5a4d743f95cdb314cdeef46f4c9.jpg","text":"TemporaryFile(/tmp/multipartBody920868375122283767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348006296,"filename":"image_10072025_15_46_03_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920523","file1":"1371920521","file0":"1371920520","file4":"1371920525","file5":"1371920527","file3":"1371920524"},"map_files_photo_id_array":[{"photo_id":"1371920527","filename":"file5"},{"photo_id":"1371920523","filename":"file2"},{"photo_id":"1371920525","filename":"file4"},{"photo_id":"1371920521","filename":"file1"},{"photo_id":"1371920520","filename":"file0"},{"photo_id":"1371920524","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920520":["hashtag1","hashtag2"]},{"1371920523":["hashtag1","hashtag2"]},{"1371920525":["hashtag1","hashtag2"]},{"1371920527":["hashtag1","hashtag2"]},{"1371920521":["hashtag1","hashtag2"]},{"1371920524":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920520, 1371920523, 1371920525, 1371920527, 1371920521, 1371920524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06738352775574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:19:47.035498
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/19/image_12072025_21_19_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/21/19/image_12072025_21_19_24_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/21/18/image_12072025_21_18_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/19/image_12072025_21_19_34_10618.jpg', '/home/nano/Desktop/images/12072025/21/19/image_12072025_21_19_24_9612.jpg', '/home/nano/Desktop/images/12072025/21/18/image_12072025_21_18_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/19/image_12072025_21_19_34_10618.jpg
/home/nano/Desktop/images/12072025/21/19/image_12072025_21_19_24_9612.jpg
/home/nano/Desktop/images/12072025/21/18/image_12072025_21_18_54_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920544","1371920547","1371920546"],"photo_ids_order":["1371920544","1371920546","1371920547"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b12ad69f271b76c21f80517d38c3885d.jpg","text":"TemporaryFile(/tmp/multipartBody2391309332573571666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348048396,"filename":"image_12072025_21_19_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f564ea886214d534d738f4848b29f31b.jpg","text":"TemporaryFile(/tmp/multipartBody4754072791118549330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348048396,"filename":"image_12072025_21_18_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4178f84bcceef8399593112cdb70a1d0.jpg","text":"TemporaryFile(/tmp/multipartBody7265334500449837527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348048396,"filename":"image_12072025_21_19_24_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920547","file1":"1371920546","file0":"1371920544"},"map_files_photo_id_array":[{"photo_id":"1371920547","filename":"file2"},{"photo_id":"1371920546","filename":"file1"},{"photo_id":"1371920544","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920544":["hashtag1","hashtag2"]},{"1371920547":["hashtag1","hashtag2"]},{"1371920546":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920544, 1371920547, 1371920546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.083303928375244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:20:17.137914
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_34_10614.jpg', 2), ('/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_23_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_14_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/21/19/image_12072025_21_20_04_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/21/19/image_12072025_21_19_44_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_44_9616.jpg', '/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_34_10614.jpg', '/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_23_9619.jpg', '/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_14_9632.jpg', '/home/nano/Desktop/images/12072025/21/19/image_12072025_21_20_04_10631.jpg', '/home/nano/Desktop/images/12072025/21/19/image_12072025_21_19_44_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_44_9616.jpg
/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_34_10614.jpg
/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_23_9619.jpg
/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_14_9632.jpg
/home/nano/Desktop/images/12072025/21/19/image_12072025_21_20_04_10631.jpg
/home/nano/Desktop/images/12072025/21/19/image_12072025_21_19_44_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920553","1371920552","1371920555","1371920558","1371920560","1371920557"],"photo_ids_order":["1371920552","1371920553","1371920555","1371920557","1371920558","1371920560"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/407eda5278fa9844e427bf1b84283c47.jpg","text":"TemporaryFile(/tmp/multipartBody6753975177257528656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348079080,"filename":"image_12072025_21_20_34_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88934398be1d031f90706c27777719b0.jpg","text":"TemporaryFile(/tmp/multipartBody1835461431304687870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348079080,"filename":"image_12072025_21_20_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2724f59efe5865f0a9474e80a48a49c2.jpg","text":"TemporaryFile(/tmp/multipartBody5814525730947409384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348079080,"filename":"image_12072025_21_20_23_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29b17f44af6d00ba4074425409d2fe94.jpg","text":"TemporaryFile(/tmp/multipartBody5226466776522689562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348079080,"filename":"image_12072025_21_20_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/709cc067c9b96719da0970b2e682ac0b.jpg","text":"TemporaryFile(/tmp/multipartBody3521496005109832183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348079080,"filename":"image_12072025_21_19_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c812d797637b860798db4806469e82b3.jpg","text":"TemporaryFile(/tmp/multipartBody1794143195232464801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348079080,"filename":"image_12072025_21_20_14_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920555","file1":"1371920553","file0":"1371920552","file4":"1371920558","file5":"1371920560","file3":"1371920557"},"map_files_photo_id_array":[{"photo_id":"1371920560","filename":"file5"},{"photo_id":"1371920555","filename":"file2"},{"photo_id":"1371920558","filename":"file4"},{"photo_id":"1371920553","filename":"file1"},{"photo_id":"1371920552","filename":"file0"},{"photo_id":"1371920557","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920553":["hashtag1","hashtag2"]},{"1371920552":["hashtag1","hashtag2"]},{"1371920555":["hashtag1","hashtag2"]},{"1371920558":["hashtag1","hashtag2"]},{"1371920560":["hashtag1","hashtag2"]},{"1371920557":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920553, 1371920552, 1371920555, 1371920558, 1371920560, 1371920557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.166505098342896 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:21:03.027298
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_33_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_24_9608.jpg', 2), ('/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_14_10631.jpg', 2), ('/home/nano/Desktop/images/10072025/15/44/image_10072025_15_45_03_9608.jpg', 2), ('/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_54_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_43_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_33_9607.jpg', '/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_24_9608.jpg', '/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_14_10631.jpg', '/home/nano/Desktop/images/10072025/15/44/image_10072025_15_45_03_9608.jpg', '/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_54_10627.jpg', '/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_43_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_33_9607.jpg
/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_24_9608.jpg
/home/nano/Desktop/images/10072025/15/45/image_10072025_15_45_14_10631.jpg
/home/nano/Desktop/images/10072025/15/44/image_10072025_15_45_03_9608.jpg
/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_54_10627.jpg
/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_43_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920568","1371920571","1371920565","1371920567","1371920566","1371920569"],"photo_ids_order":["1371920565","1371920566","1371920567","1371920568","1371920569","1371920571"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94f8558465e92b9cc0ac787cab701fcd.jpg","text":"TemporaryFile(/tmp/multipartBody6171569245738391384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348126738,"filename":"image_10072025_15_45_03_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60d5ace94782982fdd16576c41dd7847.jpg","text":"TemporaryFile(/tmp/multipartBody677707833086735526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348126738,"filename":"image_10072025_15_44_43_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/212a5ccf57927442d61a8899e3a931e5.jpg","text":"TemporaryFile(/tmp/multipartBody2837610632534522108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348126738,"filename":"image_10072025_15_45_33_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31d89394f2111bd6fd676680bbbdb151.jpg","text":"TemporaryFile(/tmp/multipartBody4875367512525674269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348126738,"filename":"image_10072025_15_45_14_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6c2caa89487b50bc20ee7cfa81e37ab.jpg","text":"TemporaryFile(/tmp/multipartBody7534386803174281908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348126738,"filename":"image_10072025_15_45_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44f97b8ef274b104184c7e5cdc434ef2.jpg","text":"TemporaryFile(/tmp/multipartBody8479884985848798096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348126738,"filename":"image_10072025_15_44_54_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920567","file1":"1371920566","file0":"1371920565","file4":"1371920569","file5":"1371920571","file3":"1371920568"},"map_files_photo_id_array":[{"photo_id":"1371920571","filename":"file5"},{"photo_id":"1371920567","filename":"file2"},{"photo_id":"1371920569","filename":"file4"},{"photo_id":"1371920566","filename":"file1"},{"photo_id":"1371920565","filename":"file0"},{"photo_id":"1371920568","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920568":["hashtag1","hashtag2"]},{"1371920571":["hashtag1","hashtag2"]},{"1371920565":["hashtag1","hashtag2"]},{"1371920567":["hashtag1","hashtag2"]},{"1371920566":["hashtag1","hashtag2"]},{"1371920569":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920568, 1371920571, 1371920565, 1371920567, 1371920566, 1371920569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57345128059387 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:21:47.277803
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_43_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_34_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_24_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_13_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/21/20/image_12072025_21_21_04_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_54_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_43_9611.jpg', '/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_34_9636.jpg', '/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_24_10622.jpg', '/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_13_9632.jpg', '/home/nano/Desktop/images/12072025/21/20/image_12072025_21_21_04_9618.jpg', '/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_54_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_43_9611.jpg
/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_34_9636.jpg
/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_24_10622.jpg
/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_13_9632.jpg
/home/nano/Desktop/images/12072025/21/20/image_12072025_21_21_04_9618.jpg
/home/nano/Desktop/images/12072025/21/20/image_12072025_21_20_54_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920580","1371920583","1371920582","1371920581","1371920584","1371920578"],"photo_ids_order":["1371920578","1371920580","1371920581","1371920582","1371920583","1371920584"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec971046364a6277457db1fbbdcf14b1.jpg","text":"TemporaryFile(/tmp/multipartBody7523559320142970036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348169755,"filename":"image_12072025_21_21_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc6b697c98bae74b3ee48822e17c9a71.jpg","text":"TemporaryFile(/tmp/multipartBody4238526040150415456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348169755,"filename":"image_12072025_21_21_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5a179f5a3b108047a9e517a85c39efb.jpg","text":"TemporaryFile(/tmp/multipartBody5526005897138781289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348169755,"filename":"image_12072025_21_21_13_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b4c3008d6a6ee678b310970eb56ea6c.jpg","text":"TemporaryFile(/tmp/multipartBody4606219486407092079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348169755,"filename":"image_12072025_21_21_24_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35f73a12152be995ddd1b691bb98315f.jpg","text":"TemporaryFile(/tmp/multipartBody4508633919004022550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348169755,"filename":"image_12072025_21_20_54_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb787bd19dcbe5909d94188ae41fcbf3.jpg","text":"TemporaryFile(/tmp/multipartBody6545139145191067145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348169755,"filename":"image_12072025_21_21_43_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920581","file1":"1371920580","file0":"1371920578","file4":"1371920583","file5":"1371920584","file3":"1371920582"},"map_files_photo_id_array":[{"photo_id":"1371920584","filename":"file5"},{"photo_id":"1371920581","filename":"file2"},{"photo_id":"1371920583","filename":"file4"},{"photo_id":"1371920580","filename":"file1"},{"photo_id":"1371920578","filename":"file0"},{"photo_id":"1371920582","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920580":["hashtag1","hashtag2"]},{"1371920583":["hashtag1","hashtag2"]},{"1371920582":["hashtag1","hashtag2"]},{"1371920581":["hashtag1","hashtag2"]},{"1371920584":["hashtag1","hashtag2"]},{"1371920578":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920580, 1371920583, 1371920582, 1371920581, 1371920584, 1371920578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.19468069076538 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:22:32.376212
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/22/image_12072025_21_22_33_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/21/22/image_12072025_21_22_24_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/21/22/image_12072025_21_22_14_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/21/21/image_12072025_21_22_04_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_54_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/22/image_12072025_21_22_33_9610.jpg', '/home/nano/Desktop/images/12072025/21/22/image_12072025_21_22_24_9607.jpg', '/home/nano/Desktop/images/12072025/21/22/image_12072025_21_22_14_10652.jpg', '/home/nano/Desktop/images/12072025/21/21/image_12072025_21_22_04_9648.jpg', '/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_54_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/22/image_12072025_21_22_33_9610.jpg
/home/nano/Desktop/images/12072025/21/22/image_12072025_21_22_24_9607.jpg
/home/nano/Desktop/images/12072025/21/22/image_12072025_21_22_14_10652.jpg
/home/nano/Desktop/images/12072025/21/21/image_12072025_21_22_04_9648.jpg
/home/nano/Desktop/images/12072025/21/21/image_12072025_21_21_54_10628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920595","1371920589","1371920597","1371920591","1371920593"],"photo_ids_order":["1371920589","1371920591","1371920593","1371920595","1371920597"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31b0f666de24212b51d9a0595f0eeb8d.jpg","text":"TemporaryFile(/tmp/multipartBody3080576158538938392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348214220,"filename":"image_12072025_21_22_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ef2d2e177bca7556adc1cc62a1b32a2.jpg","text":"TemporaryFile(/tmp/multipartBody7002697221574426715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348214220,"filename":"image_12072025_21_22_33_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c3a2c8aed5602841ff6541098225b42f.jpg","text":"TemporaryFile(/tmp/multipartBody6326128776977640216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348214220,"filename":"image_12072025_21_21_54_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/369cbe92a3b7e2ce39a5722d39bc6850.jpg","text":"TemporaryFile(/tmp/multipartBody6595590283647777213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348214220,"filename":"image_12072025_21_22_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f99918c1d279207da7e5f6a49607b1b2.jpg","text":"TemporaryFile(/tmp/multipartBody3157417061455621063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348214220,"filename":"image_12072025_21_22_14_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920593","file1":"1371920591","file0":"1371920589","file4":"1371920597","file3":"1371920595"},"map_files_photo_id_array":[{"photo_id":"1371920593","filename":"file2"},{"photo_id":"1371920597","filename":"file4"},{"photo_id":"1371920591","filename":"file1"},{"photo_id":"1371920589","filename":"file0"},{"photo_id":"1371920595","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920595":["hashtag1","hashtag2"]},{"1371920589":["hashtag1","hashtag2"]},{"1371920597":["hashtag1","hashtag2"]},{"1371920591":["hashtag1","hashtag2"]},{"1371920593":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920595, 1371920589, 1371920597, 1371920591, 1371920593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.999279975891113 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:23:02.954336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_34_9621.jpg', 2), ('/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_24_10626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_13_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/43/image_10072025_15_44_04_10624.jpg', 2), ('/home/nano/Desktop/images/10072025/15/43/image_10072025_15_43_53_9618.jpg', 2), ('/home/nano/Desktop/images/10072025/15/43/image_10072025_15_43_43_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_34_9621.jpg', '/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_24_10626.jpg', '/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_13_9626.jpg', '/home/nano/Desktop/images/10072025/15/43/image_10072025_15_44_04_10624.jpg', '/home/nano/Desktop/images/10072025/15/43/image_10072025_15_43_53_9618.jpg', '/home/nano/Desktop/images/10072025/15/43/image_10072025_15_43_43_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_34_9621.jpg
/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_24_10626.jpg
/home/nano/Desktop/images/10072025/15/44/image_10072025_15_44_13_9626.jpg
/home/nano/Desktop/images/10072025/15/43/image_10072025_15_44_04_10624.jpg
/home/nano/Desktop/images/10072025/15/43/image_10072025_15_43_53_9618.jpg
/home/nano/Desktop/images/10072025/15/43/image_10072025_15_43_43_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920605","1371920601","1371920603","1371920600","1371920599","1371920602"],"photo_ids_order":["1371920599","1371920600","1371920601","1371920602","1371920603","1371920605"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16d735be0c2d87a8649bf517237b88e9.jpg","text":"TemporaryFile(/tmp/multipartBody5363129473114168718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348246368,"filename":"image_10072025_15_43_43_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0d29b7f47274350ebab02a5263213a0.jpg","text":"TemporaryFile(/tmp/multipartBody4206985371580654598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348246368,"filename":"image_10072025_15_44_13_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b9c1fba9dc08cdcbc52587a0530922f.jpg","text":"TemporaryFile(/tmp/multipartBody1323005807577339862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348246368,"filename":"image_10072025_15_43_53_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39cd5daf86327fb54f1c887eff9211d3.jpg","text":"TemporaryFile(/tmp/multipartBody5420384871878253317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348246368,"filename":"image_10072025_15_44_24_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee4529edc04cf15b060071db071d34df.jpg","text":"TemporaryFile(/tmp/multipartBody5910645922917672309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348246368,"filename":"image_10072025_15_44_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91f8cf3298b7e0e54f9903f0c5184397.jpg","text":"TemporaryFile(/tmp/multipartBody802240351844356415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348246368,"filename":"image_10072025_15_44_04_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920601","file1":"1371920600","file0":"1371920599","file4":"1371920603","file5":"1371920605","file3":"1371920602"},"map_files_photo_id_array":[{"photo_id":"1371920605","filename":"file5"},{"photo_id":"1371920601","filename":"file2"},{"photo_id":"1371920603","filename":"file4"},{"photo_id":"1371920600","filename":"file1"},{"photo_id":"1371920599","filename":"file0"},{"photo_id":"1371920602","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920605":["hashtag1","hashtag2"]},{"1371920601":["hashtag1","hashtag2"]},{"1371920603":["hashtag1","hashtag2"]},{"1371920600":["hashtag1","hashtag2"]},{"1371920599":["hashtag1","hashtag2"]},{"1371920602":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920605, 1371920601, 1371920603, 1371920600, 1371920599, 1371920602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.082836866378784 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:23:47.455367
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/23/image_12072025_21_23_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/21/23/image_12072025_21_23_34_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/21/23/image_12072025_21_23_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/21/22/image_12072025_21_23_03_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/21/22/image_12072025_21_22_44_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/23/image_12072025_21_23_44_9617.jpg', '/home/nano/Desktop/images/12072025/21/23/image_12072025_21_23_34_10621.jpg', '/home/nano/Desktop/images/12072025/21/23/image_12072025_21_23_14_10639.jpg', '/home/nano/Desktop/images/12072025/21/22/image_12072025_21_23_03_9618.jpg', '/home/nano/Desktop/images/12072025/21/22/image_12072025_21_22_44_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/23/image_12072025_21_23_44_9617.jpg
/home/nano/Desktop/images/12072025/21/23/image_12072025_21_23_34_10621.jpg
/home/nano/Desktop/images/12072025/21/23/image_12072025_21_23_14_10639.jpg
/home/nano/Desktop/images/12072025/21/22/image_12072025_21_23_03_9618.jpg
/home/nano/Desktop/images/12072025/21/22/image_12072025_21_22_44_10623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920616","1371920615","1371920612","1371920614","1371920617"],"photo_ids_order":["1371920612","1371920614","1371920615","1371920616","1371920617"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e66959582db755dcc8d7335fd14a806.jpg","text":"TemporaryFile(/tmp/multipartBody7558162393748336958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348289632,"filename":"image_12072025_21_23_03_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18b897318dfb22348b6d34753693f75d.jpg","text":"TemporaryFile(/tmp/multipartBody7293941916489884096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348289632,"filename":"image_12072025_21_23_14_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14ccaae11ab91ce58e14005d6b5c9771.jpg","text":"TemporaryFile(/tmp/multipartBody4685904493399761304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348289632,"filename":"image_12072025_21_23_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7b8d4cb8bf32a0956df7e3f2a947b2e.jpg","text":"TemporaryFile(/tmp/multipartBody2872750521633502276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348289632,"filename":"image_12072025_21_23_34_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d45640879fba5f94c6d1985ffeb822d8.jpg","text":"TemporaryFile(/tmp/multipartBody7921406745231275898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348289632,"filename":"image_12072025_21_22_44_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920615","file1":"1371920614","file0":"1371920612","file4":"1371920617","file3":"1371920616"},"map_files_photo_id_array":[{"photo_id":"1371920615","filename":"file2"},{"photo_id":"1371920617","filename":"file4"},{"photo_id":"1371920614","filename":"file1"},{"photo_id":"1371920612","filename":"file0"},{"photo_id":"1371920616","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920616":["hashtag1","hashtag2"]},{"1371920615":["hashtag1","hashtag2"]},{"1371920612":["hashtag1","hashtag2"]},{"1371920614":["hashtag1","hashtag2"]},{"1371920617":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920616, 1371920615, 1371920612, 1371920614, 1371920617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.74115014076233 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:24:17.579292
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/24/image_12072025_21_24_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/24/image_12072025_21_24_23_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/21/23/image_12072025_21_24_04_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/21/23/image_12072025_21_23_53_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/24/image_12072025_21_24_44_9616.jpg', '/home/nano/Desktop/images/12072025/21/24/image_12072025_21_24_23_9615.jpg', '/home/nano/Desktop/images/12072025/21/23/image_12072025_21_24_04_10634.jpg', '/home/nano/Desktop/images/12072025/21/23/image_12072025_21_23_53_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/24/image_12072025_21_24_44_9616.jpg
/home/nano/Desktop/images/12072025/21/24/image_12072025_21_24_23_9615.jpg
/home/nano/Desktop/images/12072025/21/23/image_12072025_21_24_04_10634.jpg
/home/nano/Desktop/images/12072025/21/23/image_12072025_21_23_53_9608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920625","1371920622","1371920620","1371920623"],"photo_ids_order":["1371920620","1371920622","1371920623","1371920625"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18df842187e52894923e601936d75da6.jpg","text":"TemporaryFile(/tmp/multipartBody1940265358400544730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348318923,"filename":"image_12072025_21_23_53_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/185986a57c9157bde9f66d54a38019a8.jpg","text":"TemporaryFile(/tmp/multipartBody5224563164114672208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348318923,"filename":"image_12072025_21_24_23_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/559e3a935af447e0598a3b1126cee032.jpg","text":"TemporaryFile(/tmp/multipartBody5910639074181687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348318923,"filename":"image_12072025_21_24_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ddcdeb8220c3a9829b5ec1a735d4dc6e.jpg","text":"TemporaryFile(/tmp/multipartBody4416230114382839483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348318923,"filename":"image_12072025_21_24_04_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920623","file1":"1371920622","file0":"1371920620","file3":"1371920625"},"map_files_photo_id_array":[{"photo_id":"1371920623","filename":"file2"},{"photo_id":"1371920622","filename":"file1"},{"photo_id":"1371920620","filename":"file0"},{"photo_id":"1371920625","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920625":["hashtag1","hashtag2"]},{"1371920622":["hashtag1","hashtag2"]},{"1371920620":["hashtag1","hashtag2"]},{"1371920623":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920625, 1371920622, 1371920620, 1371920623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.684612035751343 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:24:47.597994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/42/image_10072025_15_43_04_10629.jpg', 2), ('/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_53_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_44_10617.jpg', 2), ('/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_33_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_23_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_14_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/42/image_10072025_15_43_04_10629.jpg', '/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_53_9625.jpg', '/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_44_10617.jpg', '/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_33_9626.jpg', '/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_23_9613.jpg', '/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_14_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/42/image_10072025_15_43_04_10629.jpg
/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_53_9625.jpg
/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_44_10617.jpg
/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_33_9626.jpg
/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_23_9613.jpg
/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_14_10640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0913193225860596 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:25:03.335978
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/42/image_10072025_15_43_04_10629.jpg', 2), ('/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_53_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_44_10617.jpg', 2), ('/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_33_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_23_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_14_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/42/image_10072025_15_43_04_10629.jpg', '/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_53_9625.jpg', '/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_44_10617.jpg', '/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_33_9626.jpg', '/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_23_9613.jpg', '/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_14_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/42/image_10072025_15_43_04_10629.jpg
/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_53_9625.jpg
/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_44_10617.jpg
/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_33_9626.jpg
/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_23_9613.jpg
/home/nano/Desktop/images/10072025/15/42/image_10072025_15_42_14_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920643","1371920637","1371920640","1371920633","1371920639","1371920635"],"photo_ids_order":["1371920633","1371920635","1371920637","1371920639","1371920640","1371920643"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55b53f82c7735a60ceff872a3ce00cf9.jpg","text":"TemporaryFile(/tmp/multipartBody6166622331683841947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348366688,"filename":"image_10072025_15_42_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c63e8d35711bb37911ebfca6063815ad.jpg","text":"TemporaryFile(/tmp/multipartBody8550266899384871126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348366688,"filename":"image_10072025_15_42_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/983d2b18c74f97351fabea2d776a3207.jpg","text":"TemporaryFile(/tmp/multipartBody7645737845187828320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348366688,"filename":"image_10072025_15_42_23_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2739e928eaee6c240031d616c5a7ca7f.jpg","text":"TemporaryFile(/tmp/multipartBody3197122088245439602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348366688,"filename":"image_10072025_15_43_04_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b58228b8248cc140a1b18613083a5ab.jpg","text":"TemporaryFile(/tmp/multipartBody2240240134325618104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348366688,"filename":"image_10072025_15_42_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9fdb915dc99351deb94e48eb22c98303.jpg","text":"TemporaryFile(/tmp/multipartBody3445677726520479356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348366688,"filename":"image_10072025_15_42_53_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920637","file1":"1371920635","file0":"1371920633","file4":"1371920640","file5":"1371920643","file3":"1371920639"},"map_files_photo_id_array":[{"photo_id":"1371920643","filename":"file5"},{"photo_id":"1371920637","filename":"file2"},{"photo_id":"1371920640","filename":"file4"},{"photo_id":"1371920635","filename":"file1"},{"photo_id":"1371920633","filename":"file0"},{"photo_id":"1371920639","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920643":["hashtag1","hashtag2"]},{"1371920637":["hashtag1","hashtag2"]},{"1371920640":["hashtag1","hashtag2"]},{"1371920633":["hashtag1","hashtag2"]},{"1371920639":["hashtag1","hashtag2"]},{"1371920635":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920643, 1371920637, 1371920640, 1371920633, 1371920639, 1371920635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.302404165267944 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:25:47.686000
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/25/image_12072025_21_25_34_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/21/25/image_12072025_21_25_24_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/21/25/image_12072025_21_25_13_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/21/24/image_12072025_21_25_04_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/21/24/image_12072025_21_24_54_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/25/image_12072025_21_25_34_9609.jpg', '/home/nano/Desktop/images/12072025/21/25/image_12072025_21_25_24_10615.jpg', '/home/nano/Desktop/images/12072025/21/25/image_12072025_21_25_13_9642.jpg', '/home/nano/Desktop/images/12072025/21/24/image_12072025_21_25_04_9613.jpg', '/home/nano/Desktop/images/12072025/21/24/image_12072025_21_24_54_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/25/image_12072025_21_25_34_9609.jpg
/home/nano/Desktop/images/12072025/21/25/image_12072025_21_25_24_10615.jpg
/home/nano/Desktop/images/12072025/21/25/image_12072025_21_25_13_9642.jpg
/home/nano/Desktop/images/12072025/21/24/image_12072025_21_25_04_9613.jpg
/home/nano/Desktop/images/12072025/21/24/image_12072025_21_24_54_10618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920658","1371920652","1371920654","1371920653","1371920656"],"photo_ids_order":["1371920652","1371920653","1371920654","1371920656","1371920658"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ed870600b65a9f85a62ca6396b03ad0.jpg","text":"TemporaryFile(/tmp/multipartBody8667137823409318834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348409123,"filename":"image_12072025_21_24_54_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11edbbe72bee2754c6a17738a8b461b2.jpg","text":"TemporaryFile(/tmp/multipartBody7746718421836429586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348409123,"filename":"image_12072025_21_25_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c1e2a4aaee3f9fb4c4225f68d6f9842.jpg","text":"TemporaryFile(/tmp/multipartBody6122507847775329170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348409123,"filename":"image_12072025_21_25_13_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51cf95d451a838f00e784cd4d309d3ba.jpg","text":"TemporaryFile(/tmp/multipartBody4122368123903773213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348409123,"filename":"image_12072025_21_25_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bc80834a371aaf5c1791b15b47a8deb.jpg","text":"TemporaryFile(/tmp/multipartBody5213662527689142586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348409123,"filename":"image_12072025_21_25_04_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920654","file1":"1371920653","file0":"1371920652","file4":"1371920658","file3":"1371920656"},"map_files_photo_id_array":[{"photo_id":"1371920654","filename":"file2"},{"photo_id":"1371920658","filename":"file4"},{"photo_id":"1371920653","filename":"file1"},{"photo_id":"1371920652","filename":"file0"},{"photo_id":"1371920656","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920658":["hashtag1","hashtag2"]},{"1371920652":["hashtag1","hashtag2"]},{"1371920654":["hashtag1","hashtag2"]},{"1371920653":["hashtag1","hashtag2"]},{"1371920656":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920658, 1371920652, 1371920654, 1371920653, 1371920656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.280774116516113 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:26:16.850485
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/26/image_12072025_21_26_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/21/26/image_12072025_21_26_33_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/21/26/image_12072025_21_26_24_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/21/25/image_12072025_21_26_04_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/21/25/image_12072025_21_25_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/26/image_12072025_21_26_44_10621.jpg', '/home/nano/Desktop/images/12072025/21/26/image_12072025_21_26_33_9609.jpg', '/home/nano/Desktop/images/12072025/21/26/image_12072025_21_26_24_9628.jpg', '/home/nano/Desktop/images/12072025/21/25/image_12072025_21_26_04_9627.jpg', '/home/nano/Desktop/images/12072025/21/25/image_12072025_21_25_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/26/image_12072025_21_26_44_10621.jpg
/home/nano/Desktop/images/12072025/21/26/image_12072025_21_26_33_9609.jpg
/home/nano/Desktop/images/12072025/21/26/image_12072025_21_26_24_9628.jpg
/home/nano/Desktop/images/12072025/21/25/image_12072025_21_26_04_9627.jpg
/home/nano/Desktop/images/12072025/21/25/image_12072025_21_25_54_9618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920661","1371920660","1371920663","1371920662","1371920659"],"photo_ids_order":["1371920659","1371920660","1371920661","1371920662","1371920663"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06e9d33c1bdaa9892491d32fb67a22f2.jpg","text":"TemporaryFile(/tmp/multipartBody431397178206237695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348438406,"filename":"image_12072025_21_26_24_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2598d234d05a2862a99cb31a3ce83d1c.jpg","text":"TemporaryFile(/tmp/multipartBody6183973996329780876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348438406,"filename":"image_12072025_21_26_33_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2010550cc6a7c888e99888a373c40493.jpg","text":"TemporaryFile(/tmp/multipartBody5987688991666546269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348438406,"filename":"image_12072025_21_25_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de35cfa7bab87a0fcba1e09d8aaa66f5.jpg","text":"TemporaryFile(/tmp/multipartBody4720676051574169057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348438406,"filename":"image_12072025_21_26_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff8c182984e197014a79ec8b6b35a25b.jpg","text":"TemporaryFile(/tmp/multipartBody6454035601484142619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348438406,"filename":"image_12072025_21_26_44_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920661","file1":"1371920660","file0":"1371920659","file4":"1371920663","file3":"1371920662"},"map_files_photo_id_array":[{"photo_id":"1371920661","filename":"file2"},{"photo_id":"1371920663","filename":"file4"},{"photo_id":"1371920660","filename":"file1"},{"photo_id":"1371920659","filename":"file0"},{"photo_id":"1371920662","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920661":["hashtag1","hashtag2"]},{"1371920660":["hashtag1","hashtag2"]},{"1371920663":["hashtag1","hashtag2"]},{"1371920662":["hashtag1","hashtag2"]},{"1371920659":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920661, 1371920660, 1371920663, 1371920662, 1371920659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.234228372573853 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:26:46.785356
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/41/image_10072025_15_42_03_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_54_9606.jpg', 2), ('/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_44_10621.jpg', 2), ('/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_33_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_24_10613.jpg', 2), ('/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_13_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/41/image_10072025_15_42_03_9629.jpg', '/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_54_9606.jpg', '/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_44_10621.jpg', '/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_33_9616.jpg', '/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_24_10613.jpg', '/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_13_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/41/image_10072025_15_42_03_9629.jpg
/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_54_9606.jpg
/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_44_10621.jpg
/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_33_9616.jpg
/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_24_10613.jpg
/home/nano/Desktop/images/10072025/15/41/image_10072025_15_41_13_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920667","1371920670","1371920672","1371920669","1371920665","1371920674"],"photo_ids_order":["1371920665","1371920667","1371920669","1371920670","1371920672","1371920674"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/561066be91e8e0ecf8de31bb958aa584.jpg","text":"TemporaryFile(/tmp/multipartBody4201441867591906386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348469993,"filename":"image_10072025_15_41_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fdfdf4df34c31ec4602a20fc66638946.jpg","text":"TemporaryFile(/tmp/multipartBody1804228171569115687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348469993,"filename":"image_10072025_15_41_33_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12788b626c193ecd4e1c3ab758ef927f.jpg","text":"TemporaryFile(/tmp/multipartBody4451673363329276816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348469993,"filename":"image_10072025_15_41_24_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae32c24049fb4db50141799c05a61a06.jpg","text":"TemporaryFile(/tmp/multipartBody2654536098084080176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348469993,"filename":"image_10072025_15_41_44_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a964a58a1c0941f2d28175fc90181193.jpg","text":"TemporaryFile(/tmp/multipartBody8418419303765488062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348469993,"filename":"image_10072025_15_42_03_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8dec29fd4b2996596847f8840e22a437.jpg","text":"TemporaryFile(/tmp/multipartBody1439406706259832977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348469993,"filename":"image_10072025_15_41_13_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920669","file1":"1371920667","file0":"1371920665","file4":"1371920672","file5":"1371920674","file3":"1371920670"},"map_files_photo_id_array":[{"photo_id":"1371920674","filename":"file5"},{"photo_id":"1371920669","filename":"file2"},{"photo_id":"1371920672","filename":"file4"},{"photo_id":"1371920667","filename":"file1"},{"photo_id":"1371920665","filename":"file0"},{"photo_id":"1371920670","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920667":["hashtag1","hashtag2"]},{"1371920670":["hashtag1","hashtag2"]},{"1371920672":["hashtag1","hashtag2"]},{"1371920669":["hashtag1","hashtag2"]},{"1371920665":["hashtag1","hashtag2"]},{"1371920674":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920667, 1371920670, 1371920672, 1371920669, 1371920665, 1371920674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.181737184524536 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:27:31.876917
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_44_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_24_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_14_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/21/26/image_12072025_21_27_04_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/26/image_12072025_21_26_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_44_9607.jpg', '/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_34_10623.jpg', '/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_24_9618.jpg', '/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_14_9628.jpg', '/home/nano/Desktop/images/12072025/21/26/image_12072025_21_27_04_10620.jpg', '/home/nano/Desktop/images/12072025/21/26/image_12072025_21_26_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_44_9607.jpg
/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_34_10623.jpg
/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_24_9618.jpg
/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_14_9628.jpg
/home/nano/Desktop/images/12072025/21/26/image_12072025_21_27_04_10620.jpg
/home/nano/Desktop/images/12072025/21/26/image_12072025_21_26_54_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920679","1371920678","1371920689","1371920680","1371920683","1371920686"],"photo_ids_order":["1371920678","1371920679","1371920680","1371920683","1371920686","1371920689"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c5a36a4b5f847bbd38f2cdccce5f60a.jpg","text":"TemporaryFile(/tmp/multipartBody470625980900631632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348513673,"filename":"image_12072025_21_27_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f5a3c4216623bf4491fde55981f384d.jpg","text":"TemporaryFile(/tmp/multipartBody8647456306372979827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348513673,"filename":"image_12072025_21_27_44_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7cf3d9e2d35ac9b766a61ed210750e1.jpg","text":"TemporaryFile(/tmp/multipartBody1488323229670397379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348513673,"filename":"image_12072025_21_26_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87ede9b54c275c88436dc0557c6ae2a8.jpg","text":"TemporaryFile(/tmp/multipartBody3932742920914225501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348513673,"filename":"image_12072025_21_27_24_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2121fdc4acd039733fed65844051210.jpg","text":"TemporaryFile(/tmp/multipartBody1570153001591060516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348513673,"filename":"image_12072025_21_27_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b72c30ed85b17bc0f873c3db44e6d349.jpg","text":"TemporaryFile(/tmp/multipartBody6597408018490624636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348513673,"filename":"image_12072025_21_27_04_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920680","file1":"1371920679","file0":"1371920678","file4":"1371920686","file5":"1371920689","file3":"1371920683"},"map_files_photo_id_array":[{"photo_id":"1371920689","filename":"file5"},{"photo_id":"1371920680","filename":"file2"},{"photo_id":"1371920686","filename":"file4"},{"photo_id":"1371920679","filename":"file1"},{"photo_id":"1371920678","filename":"file0"},{"photo_id":"1371920683","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920679":["hashtag1","hashtag2"]},{"1371920678":["hashtag1","hashtag2"]},{"1371920689":["hashtag1","hashtag2"]},{"1371920680":["hashtag1","hashtag2"]},{"1371920683":["hashtag1","hashtag2"]},{"1371920686":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920679, 1371920678, 1371920689, 1371920680, 1371920683, 1371920686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.613211154937744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:28:17.006690
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/28/image_12072025_21_28_34_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/21/28/image_12072025_21_28_24_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/21/28/image_12072025_21_28_14_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/21/27/image_12072025_21_28_04_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_53_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/28/image_12072025_21_28_34_9613.jpg', '/home/nano/Desktop/images/12072025/21/28/image_12072025_21_28_24_10629.jpg', '/home/nano/Desktop/images/12072025/21/28/image_12072025_21_28_14_9629.jpg', '/home/nano/Desktop/images/12072025/21/27/image_12072025_21_28_04_10627.jpg', '/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_53_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/28/image_12072025_21_28_34_9613.jpg
/home/nano/Desktop/images/12072025/21/28/image_12072025_21_28_24_10629.jpg
/home/nano/Desktop/images/12072025/21/28/image_12072025_21_28_14_9629.jpg
/home/nano/Desktop/images/12072025/21/27/image_12072025_21_28_04_10627.jpg
/home/nano/Desktop/images/12072025/21/27/image_12072025_21_27_53_9619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920697","1371920696","1371920700","1371920699","1371920698"],"photo_ids_order":["1371920696","1371920697","1371920698","1371920699","1371920700"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e43318f66f3d50194345bf07f23a3bde.jpg","text":"TemporaryFile(/tmp/multipartBody7538405799577947395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348558730,"filename":"image_12072025_21_28_24_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f81ab4c36f7b0d39f22a761824ad057b.jpg","text":"TemporaryFile(/tmp/multipartBody4940391156115992140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348558730,"filename":"image_12072025_21_28_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2662b42d934a1769665837290aa61c8.jpg","text":"TemporaryFile(/tmp/multipartBody1312616356562568558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348558730,"filename":"image_12072025_21_27_53_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/994eedeeaf5f7e78f8af8d39d9761d78.jpg","text":"TemporaryFile(/tmp/multipartBody1442553220665622582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348558730,"filename":"image_12072025_21_28_04_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9c0bc40f0cc909d8a52a8b3af085fb99.jpg","text":"TemporaryFile(/tmp/multipartBody2818318560679535413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348558730,"filename":"image_12072025_21_28_14_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920698","file1":"1371920697","file0":"1371920696","file4":"1371920700","file3":"1371920699"},"map_files_photo_id_array":[{"photo_id":"1371920698","filename":"file2"},{"photo_id":"1371920700","filename":"file4"},{"photo_id":"1371920697","filename":"file1"},{"photo_id":"1371920696","filename":"file0"},{"photo_id":"1371920699","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920697":["hashtag1","hashtag2"]},{"1371920696":["hashtag1","hashtag2"]},{"1371920700":["hashtag1","hashtag2"]},{"1371920699":["hashtag1","hashtag2"]},{"1371920698":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920697, 1371920696, 1371920700, 1371920699, 1371920698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.788712978363037 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:28:46.986315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/40/image_10072025_15_41_03_9606.jpg', 2), ('/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_54_10626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_43_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_34_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_24_10617.jpg', 2), ('/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_13_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/40/image_10072025_15_41_03_9606.jpg', '/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_54_10626.jpg', '/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_43_9616.jpg', '/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_34_9614.jpg', '/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_24_10617.jpg', '/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_13_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/40/image_10072025_15_41_03_9606.jpg
/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_54_10626.jpg
/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_43_9616.jpg
/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_34_9614.jpg
/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_24_10617.jpg
/home/nano/Desktop/images/10072025/15/40/image_10072025_15_40_13_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920704","1371920712","1371920709","1371920711","1371920705","1371920707"],"photo_ids_order":["1371920704","1371920705","1371920707","1371920709","1371920711","1371920712"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39f9b0cb00e92b7de5e81da9d0b893d4.jpg","text":"TemporaryFile(/tmp/multipartBody7517450180499377625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348590179,"filename":"image_10072025_15_41_03_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16199bb12d191e06ea6fde073c35ee48.jpg","text":"TemporaryFile(/tmp/multipartBody8641972133655264752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348590179,"filename":"image_10072025_15_40_13_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a54bdefaef059ba191eaf410f146f7a.jpg","text":"TemporaryFile(/tmp/multipartBody2078741666750600384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348590179,"filename":"image_10072025_15_40_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1a3ad276f5d59966eadf0198e41d031.jpg","text":"TemporaryFile(/tmp/multipartBody718076508628023266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348590179,"filename":"image_10072025_15_40_24_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/066c11e0c1c743d7ce9c16e759e0ef89.jpg","text":"TemporaryFile(/tmp/multipartBody6675407076724762952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348590179,"filename":"image_10072025_15_40_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55636ca2318b85ca6509c0b2ecc7c424.jpg","text":"TemporaryFile(/tmp/multipartBody3052201267836156923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348590179,"filename":"image_10072025_15_40_43_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920707","file1":"1371920705","file0":"1371920704","file4":"1371920711","file5":"1371920712","file3":"1371920709"},"map_files_photo_id_array":[{"photo_id":"1371920712","filename":"file5"},{"photo_id":"1371920707","filename":"file2"},{"photo_id":"1371920711","filename":"file4"},{"photo_id":"1371920705","filename":"file1"},{"photo_id":"1371920704","filename":"file0"},{"photo_id":"1371920709","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920704":["hashtag1","hashtag2"]},{"1371920712":["hashtag1","hashtag2"]},{"1371920709":["hashtag1","hashtag2"]},{"1371920711":["hashtag1","hashtag2"]},{"1371920705":["hashtag1","hashtag2"]},{"1371920707":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920704, 1371920712, 1371920709, 1371920711, 1371920705, 1371920707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69358801841736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:29:32.130167
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/29/image_12072025_21_29_13_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/21/28/image_12072025_21_29_04_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/21/28/image_12072025_21_28_43_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/29/image_12072025_21_29_13_9629.jpg', '/home/nano/Desktop/images/12072025/21/28/image_12072025_21_29_04_9619.jpg', '/home/nano/Desktop/images/12072025/21/28/image_12072025_21_28_43_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/29/image_12072025_21_29_13_9629.jpg
/home/nano/Desktop/images/12072025/21/28/image_12072025_21_29_04_9619.jpg
/home/nano/Desktop/images/12072025/21/28/image_12072025_21_28_43_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920719","1371920717","1371920716"],"photo_ids_order":["1371920716","1371920717","1371920719"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f476b35bf114bef28fc766ee30534a09.jpg","text":"TemporaryFile(/tmp/multipartBody7543196881866403212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348633319,"filename":"image_12072025_21_28_43_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64e662454055543eb7f5ab8d7017bf8d.jpg","text":"TemporaryFile(/tmp/multipartBody3670687799616923574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348633319,"filename":"image_12072025_21_29_04_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bff04be032f8322de9028671648cd9f1.jpg","text":"TemporaryFile(/tmp/multipartBody8494676851297726684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348633319,"filename":"image_12072025_21_29_13_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920719","file1":"1371920717","file0":"1371920716"},"map_files_photo_id_array":[{"photo_id":"1371920719","filename":"file2"},{"photo_id":"1371920717","filename":"file1"},{"photo_id":"1371920716","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920719":["hashtag1","hashtag2"]},{"1371920717":["hashtag1","hashtag2"]},{"1371920716":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920719, 1371920717, 1371920716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.449390411376953 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:30:02.592572
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/39/image_10072025_15_40_04_10628.jpg', 2), ('/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_53_9605.jpg', 2), ('/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_44_9612.jpg', 2), ('/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_34_10616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_23_9605.jpg', 2), ('/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_14_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/39/image_10072025_15_40_04_10628.jpg', '/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_53_9605.jpg', '/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_44_9612.jpg', '/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_34_10616.jpg', '/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_23_9605.jpg', '/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_14_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/39/image_10072025_15_40_04_10628.jpg
/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_53_9605.jpg
/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_44_9612.jpg
/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_34_10616.jpg
/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_23_9605.jpg
/home/nano/Desktop/images/10072025/15/39/image_10072025_15_39_14_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920742","1371920736","1371920741","1371920744","1371920738","1371920743"],"photo_ids_order":["1371920736","1371920738","1371920741","1371920742","1371920743","1371920744"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f57bae3561640e21e2f986820e1c02a5.jpg","text":"TemporaryFile(/tmp/multipartBody7364475454354433749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348665786,"filename":"image_10072025_15_39_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/633518a9597cd0389f5e30b93b0e1ca7.jpg","text":"TemporaryFile(/tmp/multipartBody6518600816346644680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348665786,"filename":"image_10072025_15_40_04_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04203b0c57566f5f3f7c2262e540fb14.jpg","text":"TemporaryFile(/tmp/multipartBody1861842840278344118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348665786,"filename":"image_10072025_15_39_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/58446a3816cb0f56f319d1887107b508.jpg","text":"TemporaryFile(/tmp/multipartBody6326321539302392753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348665786,"filename":"image_10072025_15_39_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27de9a9201578e5b6f171d6845339e56.jpg","text":"TemporaryFile(/tmp/multipartBody8155178257161173482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348665786,"filename":"image_10072025_15_39_53_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af59495a68763c8e39bdb7cc9a223530.jpg","text":"TemporaryFile(/tmp/multipartBody3296094608937292899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348665786,"filename":"image_10072025_15_39_23_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920741","file1":"1371920738","file0":"1371920736","file4":"1371920743","file5":"1371920744","file3":"1371920742"},"map_files_photo_id_array":[{"photo_id":"1371920744","filename":"file5"},{"photo_id":"1371920741","filename":"file2"},{"photo_id":"1371920743","filename":"file4"},{"photo_id":"1371920738","filename":"file1"},{"photo_id":"1371920736","filename":"file0"},{"photo_id":"1371920742","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920742":["hashtag1","hashtag2"]},{"1371920736":["hashtag1","hashtag2"]},{"1371920741":["hashtag1","hashtag2"]},{"1371920744":["hashtag1","hashtag2"]},{"1371920738":["hashtag1","hashtag2"]},{"1371920743":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920742, 1371920736, 1371920741, 1371920744, 1371920738, 1371920743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.148354291915894 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:30:47.210512
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_44_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_33_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_24_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_14_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/21/29/image_12072025_21_30_03_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/21/29/image_12072025_21_29_54_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_44_10620.jpg', '/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_33_9621.jpg', '/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_24_9610.jpg', '/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_14_10648.jpg', '/home/nano/Desktop/images/12072025/21/29/image_12072025_21_30_03_9640.jpg', '/home/nano/Desktop/images/12072025/21/29/image_12072025_21_29_54_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_44_10620.jpg
/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_33_9621.jpg
/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_24_9610.jpg
/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_14_10648.jpg
/home/nano/Desktop/images/12072025/21/29/image_12072025_21_30_03_9640.jpg
/home/nano/Desktop/images/12072025/21/29/image_12072025_21_29_54_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920754","1371920757","1371920751","1371920761","1371920758","1371920749"],"photo_ids_order":["1371920749","1371920751","1371920754","1371920757","1371920758","1371920761"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90af2d2061ec66125c422f0656c66097.jpg","text":"TemporaryFile(/tmp/multipartBody2215894321386085644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348709033,"filename":"image_12072025_21_30_24_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a871256a784a33ccca781374d6758340.jpg","text":"TemporaryFile(/tmp/multipartBody7952102051924166320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348709033,"filename":"image_12072025_21_30_14_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c3054e84fcb9e24464985315403604fe.jpg","text":"TemporaryFile(/tmp/multipartBody2935633289690660977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348709033,"filename":"image_12072025_21_30_33_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10a1c61d19b891364269e798ac891d7e.jpg","text":"TemporaryFile(/tmp/multipartBody7346172622708181693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348709033,"filename":"image_12072025_21_29_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20b6092ee77b4a81570a1bd88db446e7.jpg","text":"TemporaryFile(/tmp/multipartBody6420066227224397317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348709033,"filename":"image_12072025_21_30_03_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dcde2c3c5fcfe83297c2246107026c4b.jpg","text":"TemporaryFile(/tmp/multipartBody9034859047784011166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348709033,"filename":"image_12072025_21_30_44_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920754","file1":"1371920751","file0":"1371920749","file4":"1371920758","file5":"1371920761","file3":"1371920757"},"map_files_photo_id_array":[{"photo_id":"1371920761","filename":"file5"},{"photo_id":"1371920754","filename":"file2"},{"photo_id":"1371920758","filename":"file4"},{"photo_id":"1371920751","filename":"file1"},{"photo_id":"1371920749","filename":"file0"},{"photo_id":"1371920757","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920754":["hashtag1","hashtag2"]},{"1371920757":["hashtag1","hashtag2"]},{"1371920751":["hashtag1","hashtag2"]},{"1371920761":["hashtag1","hashtag2"]},{"1371920758":["hashtag1","hashtag2"]},{"1371920749":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920754, 1371920757, 1371920751, 1371920761, 1371920758, 1371920749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.498119592666626 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:31:32.289764
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_44_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_34_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_14_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_44_9631.jpg', '/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_34_10625.jpg', '/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_23_9609.jpg', '/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_14_9636.jpg', '/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_44_9631.jpg
/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_34_10625.jpg
/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_23_9609.jpg
/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_14_9636.jpg
/home/nano/Desktop/images/12072025/21/30/image_12072025_21_30_54_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920766","1371920771","1371920765","1371920770","1371920767"],"photo_ids_order":["1371920765","1371920766","1371920767","1371920770","1371920771"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e95d80d03a19a9f4ecbfa80f51084f6.jpg","text":"TemporaryFile(/tmp/multipartBody1837053737045665034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348753952,"filename":"image_12072025_21_31_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af3cd79107fda7f972f1bced7c4d102b.jpg","text":"TemporaryFile(/tmp/multipartBody3184127058533010199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348753952,"filename":"image_12072025_21_30_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa792972e0db510f983fe36627a0a565.jpg","text":"TemporaryFile(/tmp/multipartBody1914473255280537561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348753952,"filename":"image_12072025_21_31_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2165b7259f47d1b885f5df752750910.jpg","text":"TemporaryFile(/tmp/multipartBody1129048217593902006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348753952,"filename":"image_12072025_21_31_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9be4870c9c6c02d0f813f9ecc935ed74.jpg","text":"TemporaryFile(/tmp/multipartBody5169184406227011765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348753952,"filename":"image_12072025_21_31_23_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920767","file1":"1371920766","file0":"1371920765","file4":"1371920771","file3":"1371920770"},"map_files_photo_id_array":[{"photo_id":"1371920767","filename":"file2"},{"photo_id":"1371920771","filename":"file4"},{"photo_id":"1371920766","filename":"file1"},{"photo_id":"1371920765","filename":"file0"},{"photo_id":"1371920770","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920766":["hashtag1","hashtag2"]},{"1371920771":["hashtag1","hashtag2"]},{"1371920765":["hashtag1","hashtag2"]},{"1371920770":["hashtag1","hashtag2"]},{"1371920767":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920766, 1371920771, 1371920765, 1371920770, 1371920767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.353906869888306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:32:02.783443
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/38/image_10072025_15_39_04_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_53_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_44_10646.jpg', 2), ('/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_33_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_23_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_14_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/38/image_10072025_15_39_04_10657.jpg', '/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_53_9627.jpg', '/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_44_10646.jpg', '/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_33_9646.jpg', '/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_23_9649.jpg', '/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_14_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/38/image_10072025_15_39_04_10657.jpg
/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_53_9627.jpg
/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_44_10646.jpg
/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_33_9646.jpg
/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_23_9649.jpg
/home/nano/Desktop/images/10072025/15/38/image_10072025_15_38_14_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920778","1371920783","1371920782","1371920785","1371920779","1371920784"],"photo_ids_order":["1371920778","1371920779","1371920782","1371920783","1371920784","1371920785"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9ccb777eb7d83b47e0d817405a5670e.jpg","text":"TemporaryFile(/tmp/multipartBody2359403974258077640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348786386,"filename":"image_10072025_15_39_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b68b8dee53b7b7bc67cbd45f53978be.jpg","text":"TemporaryFile(/tmp/multipartBody7749926326191845366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348786386,"filename":"image_10072025_15_38_33_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62c028d27cacf4284032250d0d15039e.jpg","text":"TemporaryFile(/tmp/multipartBody4046473412240493307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348786386,"filename":"image_10072025_15_38_44_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e22b0fd39f94b656792928c194c2b12.jpg","text":"TemporaryFile(/tmp/multipartBody5381633400310685900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348786386,"filename":"image_10072025_15_38_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9e165fef722376c5e5babfdb71c6e92.jpg","text":"TemporaryFile(/tmp/multipartBody4224082589623252081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348786386,"filename":"image_10072025_15_38_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d20cda784b037128b87af41630eb14b4.jpg","text":"TemporaryFile(/tmp/multipartBody6355232584737603126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348786386,"filename":"image_10072025_15_38_23_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920782","file1":"1371920779","file0":"1371920778","file4":"1371920784","file5":"1371920785","file3":"1371920783"},"map_files_photo_id_array":[{"photo_id":"1371920785","filename":"file5"},{"photo_id":"1371920782","filename":"file2"},{"photo_id":"1371920784","filename":"file4"},{"photo_id":"1371920779","filename":"file1"},{"photo_id":"1371920778","filename":"file0"},{"photo_id":"1371920783","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920778":["hashtag1","hashtag2"]},{"1371920783":["hashtag1","hashtag2"]},{"1371920782":["hashtag1","hashtag2"]},{"1371920785":["hashtag1","hashtag2"]},{"1371920779":["hashtag1","hashtag2"]},{"1371920784":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920778, 1371920783, 1371920782, 1371920785, 1371920779, 1371920784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32132649421692 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:32:47.381283
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_34_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_14_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/21/31/image_12072025_21_32_04_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_34_9612.jpg', '/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_24_10620.jpg', '/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_14_9643.jpg', '/home/nano/Desktop/images/12072025/21/31/image_12072025_21_32_04_10622.jpg', '/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_34_9612.jpg
/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_24_10620.jpg
/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_14_9643.jpg
/home/nano/Desktop/images/12072025/21/31/image_12072025_21_32_04_10622.jpg
/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_53_9617.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4898905754089355 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:33:03.089159
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_34_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_14_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/21/31/image_12072025_21_32_04_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_34_9612.jpg', '/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_24_10620.jpg', '/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_14_9643.jpg', '/home/nano/Desktop/images/12072025/21/31/image_12072025_21_32_04_10622.jpg', '/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_34_9612.jpg
/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_24_10620.jpg
/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_14_9643.jpg
/home/nano/Desktop/images/12072025/21/31/image_12072025_21_32_04_10622.jpg
/home/nano/Desktop/images/12072025/21/31/image_12072025_21_31_53_9617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920802","1371920795","1371920801","1371920797","1371920800"],"photo_ids_order":["1371920795","1371920797","1371920800","1371920801","1371920802"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c943938f6d5a6aad9194f3ba8acdaf5a.jpg","text":"TemporaryFile(/tmp/multipartBody6338079279327455676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348844852,"filename":"image_12072025_21_31_53_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c23ef05d94796ffb4db912fb96eb0919.jpg","text":"TemporaryFile(/tmp/multipartBody6591201975683246299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348844852,"filename":"image_12072025_21_32_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0fb8d97182602056a044d844411036ca.jpg","text":"TemporaryFile(/tmp/multipartBody3755814871386787407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348844852,"filename":"image_12072025_21_32_04_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a22ab7c9d4ff01ae4e35dbb0c99cc317.jpg","text":"TemporaryFile(/tmp/multipartBody2854717873120648037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348844852,"filename":"image_12072025_21_32_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c96f188e7a0271c1c044ac908a705ce7.jpg","text":"TemporaryFile(/tmp/multipartBody5798620103914627035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348844852,"filename":"image_12072025_21_32_14_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920800","file1":"1371920797","file0":"1371920795","file4":"1371920802","file3":"1371920801"},"map_files_photo_id_array":[{"photo_id":"1371920800","filename":"file2"},{"photo_id":"1371920802","filename":"file4"},{"photo_id":"1371920797","filename":"file1"},{"photo_id":"1371920795","filename":"file0"},{"photo_id":"1371920801","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920802":["hashtag1","hashtag2"]},{"1371920795":["hashtag1","hashtag2"]},{"1371920801":["hashtag1","hashtag2"]},{"1371920797":["hashtag1","hashtag2"]},{"1371920800":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920802, 1371920795, 1371920801, 1371920797, 1371920800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.64846706390381 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:33:32.449105
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_44_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_34_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_24_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_13_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/21/32/image_12072025_21_33_04_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_44_10624.jpg', '/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_34_9618.jpg', '/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_24_10621.jpg', '/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_13_9646.jpg', '/home/nano/Desktop/images/12072025/21/32/image_12072025_21_33_04_9625.jpg', '/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_44_10624.jpg
/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_34_9618.jpg
/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_24_10621.jpg
/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_13_9646.jpg
/home/nano/Desktop/images/12072025/21/32/image_12072025_21_33_04_9625.jpg
/home/nano/Desktop/images/12072025/21/32/image_12072025_21_32_54_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920803","1371920811","1371920814","1371920808","1371920804","1371920806"],"photo_ids_order":["1371920803","1371920804","1371920806","1371920808","1371920811","1371920814"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ddd1932989fa009e08ce170c471fc2d0.jpg","text":"TemporaryFile(/tmp/multipartBody3255727030785186534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348874105,"filename":"image_12072025_21_33_44_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ccbeb15025dbccb045609d7857de2814.jpg","text":"TemporaryFile(/tmp/multipartBody360091769983364919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348874105,"filename":"image_12072025_21_33_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97cfb5d0061fb437fddca465be5165fc.jpg","text":"TemporaryFile(/tmp/multipartBody6407282975288732435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348874105,"filename":"image_12072025_21_32_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/292b4ad1304bff4101bf08999809b788.jpg","text":"TemporaryFile(/tmp/multipartBody2222460812532608795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348874105,"filename":"image_12072025_21_33_13_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01f8bcdfc24af65093de78e54932bd5c.jpg","text":"TemporaryFile(/tmp/multipartBody4964190426776280222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348874105,"filename":"image_12072025_21_33_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9b4bad1d47af0cf785683d4a680d28f.jpg","text":"TemporaryFile(/tmp/multipartBody4017604048153940969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348874105,"filename":"image_12072025_21_33_24_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920806","file1":"1371920804","file0":"1371920803","file4":"1371920811","file5":"1371920814","file3":"1371920808"},"map_files_photo_id_array":[{"photo_id":"1371920814","filename":"file5"},{"photo_id":"1371920806","filename":"file2"},{"photo_id":"1371920811","filename":"file4"},{"photo_id":"1371920804","filename":"file1"},{"photo_id":"1371920803","filename":"file0"},{"photo_id":"1371920808","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920803":["hashtag1","hashtag2"]},{"1371920811":["hashtag1","hashtag2"]},{"1371920814":["hashtag1","hashtag2"]},{"1371920808":["hashtag1","hashtag2"]},{"1371920804":["hashtag1","hashtag2"]},{"1371920806":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920803, 1371920811, 1371920814, 1371920808, 1371920804, 1371920806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01586031913757 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:34:17.595560
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/34/image_12072025_21_34_44_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/21/34/image_12072025_21_34_33_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/33/image_12072025_21_34_04_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_54_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/34/image_12072025_21_34_44_10625.jpg', '/home/nano/Desktop/images/12072025/21/34/image_12072025_21_34_33_9620.jpg', '/home/nano/Desktop/images/12072025/21/33/image_12072025_21_34_04_9649.jpg', '/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/34/image_12072025_21_34_44_10625.jpg
/home/nano/Desktop/images/12072025/21/34/image_12072025_21_34_33_9620.jpg
/home/nano/Desktop/images/12072025/21/33/image_12072025_21_34_04_9649.jpg
/home/nano/Desktop/images/12072025/21/33/image_12072025_21_33_54_9616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920823","1371920822","1371920825","1371920824"],"photo_ids_order":["1371920822","1371920823","1371920824","1371920825"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f35fb73e751836f4c51455ac7ecefde.jpg","text":"TemporaryFile(/tmp/multipartBody7635503743393726115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348918903,"filename":"image_12072025_21_34_33_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/165f77e451ed3c8c2a89becb44b64711.jpg","text":"TemporaryFile(/tmp/multipartBody9180895048549595619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348918903,"filename":"image_12072025_21_34_44_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3588d01493b54d405d804208f8a9ebaa.jpg","text":"TemporaryFile(/tmp/multipartBody2207113600703282614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348918903,"filename":"image_12072025_21_33_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aee8b5a46c4193829edcda171aa7a6aa.jpg","text":"TemporaryFile(/tmp/multipartBody7148167087873552319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348918903,"filename":"image_12072025_21_34_04_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920824","file1":"1371920823","file0":"1371920822","file3":"1371920825"},"map_files_photo_id_array":[{"photo_id":"1371920824","filename":"file2"},{"photo_id":"1371920823","filename":"file1"},{"photo_id":"1371920822","filename":"file0"},{"photo_id":"1371920825","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920823":["hashtag1","hashtag2"]},{"1371920822":["hashtag1","hashtag2"]},{"1371920825":["hashtag1","hashtag2"]},{"1371920824":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920823, 1371920822, 1371920825, 1371920824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.318520069122314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:34:47.601047
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/37/image_10072025_15_38_03_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_54_9642.jpg', 2), ('/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_44_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_33_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_24_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_14_10686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/37/image_10072025_15_38_03_9633.jpg', '/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_54_9642.jpg', '/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_44_10647.jpg', '/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_33_9635.jpg', '/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_24_9634.jpg', '/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_14_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/37/image_10072025_15_38_03_9633.jpg
/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_54_9642.jpg
/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_44_10647.jpg
/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_33_9635.jpg
/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_24_9634.jpg
/home/nano/Desktop/images/10072025/15/37/image_10072025_15_37_14_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920835","1371920829","1371920838","1371920832","1371920837","1371920830"],"photo_ids_order":["1371920829","1371920830","1371920832","1371920835","1371920837","1371920838"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c981711e1099ef333ddc03598bf1b21.jpg","text":"TemporaryFile(/tmp/multipartBody6136933152984362677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348951178,"filename":"image_10072025_15_37_33_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f1eefb62f871b0a0f5e95aa7b8c2cfe5.jpg","text":"TemporaryFile(/tmp/multipartBody2036092177360548330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348951178,"filename":"image_10072025_15_38_03_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/252027f8616a908d70979a02583bb9b0.jpg","text":"TemporaryFile(/tmp/multipartBody6664190153275235840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348951178,"filename":"image_10072025_15_37_14_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d313bcdbb6085ea2460b4469d6631c7.jpg","text":"TemporaryFile(/tmp/multipartBody993439736084618560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348951178,"filename":"image_10072025_15_37_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/17bd7861be4662e1173a057abb878e11.jpg","text":"TemporaryFile(/tmp/multipartBody3540002843948990158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348951178,"filename":"image_10072025_15_37_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be3cc01df668ddf08d26644869f6b055.jpg","text":"TemporaryFile(/tmp/multipartBody1264452835297260246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348951178,"filename":"image_10072025_15_37_54_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920832","file1":"1371920830","file0":"1371920829","file4":"1371920837","file5":"1371920838","file3":"1371920835"},"map_files_photo_id_array":[{"photo_id":"1371920838","filename":"file5"},{"photo_id":"1371920832","filename":"file2"},{"photo_id":"1371920837","filename":"file4"},{"photo_id":"1371920830","filename":"file1"},{"photo_id":"1371920829","filename":"file0"},{"photo_id":"1371920835","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920835":["hashtag1","hashtag2"]},{"1371920829":["hashtag1","hashtag2"]},{"1371920838":["hashtag1","hashtag2"]},{"1371920832":["hashtag1","hashtag2"]},{"1371920837":["hashtag1","hashtag2"]},{"1371920830":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920835, 1371920829, 1371920838, 1371920832, 1371920837, 1371920830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34846520423889 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:35:32.711040
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_44_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_34_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_24_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_14_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/21/34/image_12072025_21_35_03_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/21/34/image_12072025_21_34_54_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_44_9611.jpg', '/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_34_10621.jpg', '/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_24_9614.jpg', '/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_14_10646.jpg', '/home/nano/Desktop/images/12072025/21/34/image_12072025_21_35_03_9622.jpg', '/home/nano/Desktop/images/12072025/21/34/image_12072025_21_34_54_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_44_9611.jpg
/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_34_10621.jpg
/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_24_9614.jpg
/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_14_10646.jpg
/home/nano/Desktop/images/12072025/21/34/image_12072025_21_35_03_9622.jpg
/home/nano/Desktop/images/12072025/21/34/image_12072025_21_34_54_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920847","1371920841","1371920849","1371920840","1371920842","1371920845"],"photo_ids_order":["1371920840","1371920841","1371920842","1371920845","1371920847","1371920849"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/149287c189c7ee04cf40f76fb306b708.jpg","text":"TemporaryFile(/tmp/multipartBody4475228490749920027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348994521,"filename":"image_12072025_21_35_03_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf0d293ac2a19b29b862d822e3204808.jpg","text":"TemporaryFile(/tmp/multipartBody2818532578787690993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348994521,"filename":"image_12072025_21_35_34_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca553abef2eb712c02037f2be8180942.jpg","text":"TemporaryFile(/tmp/multipartBody4062299486414720376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348994521,"filename":"image_12072025_21_34_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1d6d512f58143c4d2c5cc285fcb6168a.jpg","text":"TemporaryFile(/tmp/multipartBody8792417331612830380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348994521,"filename":"image_12072025_21_35_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e9c79b0ff5527f223044db3010e6b97.jpg","text":"TemporaryFile(/tmp/multipartBody1928518325271451847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348994521,"filename":"image_12072025_21_35_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ab2a3ea3b5f00e5c2ead7f225f0addb.jpg","text":"TemporaryFile(/tmp/multipartBody3824915965950955700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752348994521,"filename":"image_12072025_21_35_14_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920842","file1":"1371920841","file0":"1371920840","file4":"1371920847","file5":"1371920849","file3":"1371920845"},"map_files_photo_id_array":[{"photo_id":"1371920849","filename":"file5"},{"photo_id":"1371920842","filename":"file2"},{"photo_id":"1371920847","filename":"file4"},{"photo_id":"1371920841","filename":"file1"},{"photo_id":"1371920840","filename":"file0"},{"photo_id":"1371920845","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920847":["hashtag1","hashtag2"]},{"1371920841":["hashtag1","hashtag2"]},{"1371920849":["hashtag1","hashtag2"]},{"1371920840":["hashtag1","hashtag2"]},{"1371920842":["hashtag1","hashtag2"]},{"1371920845":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920847, 1371920841, 1371920849, 1371920840, 1371920842, 1371920845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.11592674255371 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:36:16.772259
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/36/image_12072025_21_36_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/21/36/image_12072025_21_36_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/21/35/image_12072025_21_36_04_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/36/image_12072025_21_36_24_10625.jpg', '/home/nano/Desktop/images/12072025/21/36/image_12072025_21_36_14_9631.jpg', '/home/nano/Desktop/images/12072025/21/35/image_12072025_21_36_04_10635.jpg', '/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/36/image_12072025_21_36_24_10625.jpg
/home/nano/Desktop/images/12072025/21/36/image_12072025_21_36_14_9631.jpg
/home/nano/Desktop/images/12072025/21/35/image_12072025_21_36_04_10635.jpg
/home/nano/Desktop/images/12072025/21/35/image_12072025_21_35_53_9617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920856","1371920859","1371920858","1371920860"],"photo_ids_order":["1371920856","1371920858","1371920859","1371920860"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6082c38aac16266fc092c4ed65153488.jpg","text":"TemporaryFile(/tmp/multipartBody3597840807570291895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349038169,"filename":"image_12072025_21_36_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd80b79b851377ff5a667d7774bb0ee6.jpg","text":"TemporaryFile(/tmp/multipartBody6320488453116526584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349038169,"filename":"image_12072025_21_36_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed43d3750863515ea87a11e9c09a29a4.jpg","text":"TemporaryFile(/tmp/multipartBody2188060547626005488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349038169,"filename":"image_12072025_21_36_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79768b194b79c2ca14b3f798cc59a9d8.jpg","text":"TemporaryFile(/tmp/multipartBody3701669462055054812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349038169,"filename":"image_12072025_21_35_53_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920859","file1":"1371920858","file0":"1371920856","file3":"1371920860"},"map_files_photo_id_array":[{"photo_id":"1371920859","filename":"file2"},{"photo_id":"1371920858","filename":"file1"},{"photo_id":"1371920856","filename":"file0"},{"photo_id":"1371920860","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920856":["hashtag1","hashtag2"]},{"1371920859":["hashtag1","hashtag2"]},{"1371920858":["hashtag1","hashtag2"]},{"1371920860":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920856, 1371920859, 1371920858, 1371920860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.71320080757141 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:36:46.800768
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/36/image_10072025_15_37_03_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_54_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_44_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_33_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_24_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_14_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/36/image_10072025_15_37_03_9667.jpg', '/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_54_9664.jpg', '/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_44_10661.jpg', '/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_33_9665.jpg', '/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_24_9627.jpg', '/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_14_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/36/image_10072025_15_37_03_9667.jpg
/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_54_9664.jpg
/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_44_10661.jpg
/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_33_9665.jpg
/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_24_9627.jpg
/home/nano/Desktop/images/10072025/15/36/image_10072025_15_36_14_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920865","1371920870","1371920864","1371920873","1371920867","1371920869"],"photo_ids_order":["1371920864","1371920865","1371920867","1371920869","1371920870","1371920873"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e713f2a5337419b7f3d723fa7243c9f.jpg","text":"TemporaryFile(/tmp/multipartBody1747711032549281954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349070151,"filename":"image_10072025_15_36_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7311267d8aa11ed9f986eaae620ffa4.jpg","text":"TemporaryFile(/tmp/multipartBody1515465652147988496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349070151,"filename":"image_10072025_15_36_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/04978b0d7594a6b12a19944009517513.jpg","text":"TemporaryFile(/tmp/multipartBody6371567421889135357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349070151,"filename":"image_10072025_15_37_03_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57f5d3354d079da9bde8093e7776bae5.jpg","text":"TemporaryFile(/tmp/multipartBody5114831252281677581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349070151,"filename":"image_10072025_15_36_14_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64ce7b3c303d077c5094f9be41029e20.jpg","text":"TemporaryFile(/tmp/multipartBody2055007636554074582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349070151,"filename":"image_10072025_15_36_44_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c95a84be6bf53c9b3ab8c6c7ffe60f4.jpg","text":"TemporaryFile(/tmp/multipartBody1123353379598750887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349070151,"filename":"image_10072025_15_36_33_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920867","file1":"1371920865","file0":"1371920864","file4":"1371920870","file5":"1371920873","file3":"1371920869"},"map_files_photo_id_array":[{"photo_id":"1371920873","filename":"file5"},{"photo_id":"1371920867","filename":"file2"},{"photo_id":"1371920870","filename":"file4"},{"photo_id":"1371920865","filename":"file1"},{"photo_id":"1371920864","filename":"file0"},{"photo_id":"1371920869","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920865":["hashtag1","hashtag2"]},{"1371920870":["hashtag1","hashtag2"]},{"1371920864":["hashtag1","hashtag2"]},{"1371920873":["hashtag1","hashtag2"]},{"1371920867":["hashtag1","hashtag2"]},{"1371920869":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920865, 1371920870, 1371920864, 1371920873, 1371920867, 1371920869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79106545448303 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:37:31.875829
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/37/image_12072025_21_37_34_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/37/image_12072025_21_37_24_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/21/37/image_12072025_21_37_13_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/21/36/image_12072025_21_36_44_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/37/image_12072025_21_37_34_9620.jpg', '/home/nano/Desktop/images/12072025/21/37/image_12072025_21_37_24_10622.jpg', '/home/nano/Desktop/images/12072025/21/37/image_12072025_21_37_13_9626.jpg', '/home/nano/Desktop/images/12072025/21/36/image_12072025_21_36_44_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/37/image_12072025_21_37_34_9620.jpg
/home/nano/Desktop/images/12072025/21/37/image_12072025_21_37_24_10622.jpg
/home/nano/Desktop/images/12072025/21/37/image_12072025_21_37_13_9626.jpg
/home/nano/Desktop/images/12072025/21/36/image_12072025_21_36_44_9619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920877","1371920879","1371920881","1371920884"],"photo_ids_order":["1371920877","1371920879","1371920881","1371920884"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fae561d6f32fc2de13c43bd9fbccab13.jpg","text":"TemporaryFile(/tmp/multipartBody1502749497442455549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349113253,"filename":"image_12072025_21_37_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95497c2c99eea5aac91edcaf109e49be.jpg","text":"TemporaryFile(/tmp/multipartBody6329026235465934650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349113253,"filename":"image_12072025_21_37_24_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/29c2ecd1d2a81dfb29e7398045969842.jpg","text":"TemporaryFile(/tmp/multipartBody1971224442542266205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349113253,"filename":"image_12072025_21_37_13_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca89506c67b0240d037ad204dc1675e2.jpg","text":"TemporaryFile(/tmp/multipartBody7736465735151837174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349113253,"filename":"image_12072025_21_36_44_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920881","file1":"1371920879","file0":"1371920877","file3":"1371920884"},"map_files_photo_id_array":[{"photo_id":"1371920881","filename":"file2"},{"photo_id":"1371920879","filename":"file1"},{"photo_id":"1371920877","filename":"file0"},{"photo_id":"1371920884","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920877":["hashtag1","hashtag2"]},{"1371920879":["hashtag1","hashtag2"]},{"1371920881":["hashtag1","hashtag2"]},{"1371920884":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920877, 1371920879, 1371920881, 1371920884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.11416983604431 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:38:02.469966
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/35/image_10072025_15_36_03_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_54_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_44_10624.jpg', 2), ('/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_33_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_24_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_13_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/35/image_10072025_15_36_03_9655.jpg', '/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_54_9627.jpg', '/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_44_10624.jpg', '/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_33_9627.jpg', '/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_24_10636.jpg', '/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_13_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/35/image_10072025_15_36_03_9655.jpg
/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_54_9627.jpg
/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_44_10624.jpg
/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_33_9627.jpg
/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_24_10636.jpg
/home/nano/Desktop/images/10072025/15/35/image_10072025_15_35_13_9639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920895","1371920894","1371920897","1371920891","1371920893","1371920896"],"photo_ids_order":["1371920891","1371920893","1371920894","1371920895","1371920896","1371920897"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b28a6cd69cc60ac4450e5981e7eb182.jpg","text":"TemporaryFile(/tmp/multipartBody6732235262420393154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349145824,"filename":"image_10072025_15_35_33_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e86624c7bf6009c9bf742905d8f320c1.jpg","text":"TemporaryFile(/tmp/multipartBody161360852719396080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349145824,"filename":"image_10072025_15_35_44_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a18ab659eb3273779995bf47dae53f03.jpg","text":"TemporaryFile(/tmp/multipartBody5343560845442639303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349145824,"filename":"image_10072025_15_35_13_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb02bc13bfd49276409fdeff24a6abe2.jpg","text":"TemporaryFile(/tmp/multipartBody8749547311175373265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349145824,"filename":"image_10072025_15_36_03_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe58a6290c664c8e23796685c4bfc93b.jpg","text":"TemporaryFile(/tmp/multipartBody463663929290107696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349145824,"filename":"image_10072025_15_35_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d0abdc23fd1e9fabccfcd275235b907.jpg","text":"TemporaryFile(/tmp/multipartBody58032661227267639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349145824,"filename":"image_10072025_15_35_24_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920894","file1":"1371920893","file0":"1371920891","file4":"1371920896","file5":"1371920897","file3":"1371920895"},"map_files_photo_id_array":[{"photo_id":"1371920897","filename":"file5"},{"photo_id":"1371920894","filename":"file2"},{"photo_id":"1371920896","filename":"file4"},{"photo_id":"1371920893","filename":"file1"},{"photo_id":"1371920891","filename":"file0"},{"photo_id":"1371920895","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920895":["hashtag1","hashtag2"]},{"1371920894":["hashtag1","hashtag2"]},{"1371920897":["hashtag1","hashtag2"]},{"1371920891":["hashtag1","hashtag2"]},{"1371920893":["hashtag1","hashtag2"]},{"1371920896":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920895, 1371920894, 1371920897, 1371920891, 1371920893, 1371920896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96974778175354 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:38:46.995104
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/38/image_12072025_21_38_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/21/38/image_12072025_21_38_33_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/21/37/image_12072025_21_38_04_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/21/37/image_12072025_21_37_44_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/38/image_12072025_21_38_44_10622.jpg', '/home/nano/Desktop/images/12072025/21/38/image_12072025_21_38_33_9623.jpg', '/home/nano/Desktop/images/12072025/21/37/image_12072025_21_38_04_9613.jpg', '/home/nano/Desktop/images/12072025/21/37/image_12072025_21_37_44_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/38/image_12072025_21_38_44_10622.jpg
/home/nano/Desktop/images/12072025/21/38/image_12072025_21_38_33_9623.jpg
/home/nano/Desktop/images/12072025/21/37/image_12072025_21_38_04_9613.jpg
/home/nano/Desktop/images/12072025/21/37/image_12072025_21_37_44_10622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920902","1371920904","1371920900","1371920905"],"photo_ids_order":["1371920900","1371920902","1371920904","1371920905"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa2815ad909416fe6e6c51c002747739.jpg","text":"TemporaryFile(/tmp/multipartBody3269802967859700783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349188616,"filename":"image_12072025_21_38_33_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0a15472fae39ac8f0da4c1d6417b8692.jpg","text":"TemporaryFile(/tmp/multipartBody8103749317082655871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349188616,"filename":"image_12072025_21_38_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c595b5b634f3c1e2be7af8e52fa3900d.jpg","text":"TemporaryFile(/tmp/multipartBody510481920061051509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349188616,"filename":"image_12072025_21_38_44_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91bdbda81e33baf36961ddc6827f1b5d.jpg","text":"TemporaryFile(/tmp/multipartBody8931353115666836970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349188616,"filename":"image_12072025_21_37_44_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920904","file1":"1371920902","file0":"1371920900","file3":"1371920905"},"map_files_photo_id_array":[{"photo_id":"1371920904","filename":"file2"},{"photo_id":"1371920902","filename":"file1"},{"photo_id":"1371920900","filename":"file0"},{"photo_id":"1371920905","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920902":["hashtag1","hashtag2"]},{"1371920904":["hashtag1","hashtag2"]},{"1371920900":["hashtag1","hashtag2"]},{"1371920905":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920902, 1371920904, 1371920900, 1371920905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.891982316970825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:39:17.207909
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_44_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_34_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_24_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_14_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/21/38/image_12072025_21_39_03_9647.jpg', 2), ('/home/nano/Desktop/images/12072025/21/38/image_12072025_21_38_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_44_9621.jpg', '/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_34_10625.jpg', '/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_24_9618.jpg', '/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_14_10646.jpg', '/home/nano/Desktop/images/12072025/21/38/image_12072025_21_39_03_9647.jpg', '/home/nano/Desktop/images/12072025/21/38/image_12072025_21_38_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_44_9621.jpg
/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_34_10625.jpg
/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_24_9618.jpg
/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_14_10646.jpg
/home/nano/Desktop/images/12072025/21/38/image_12072025_21_39_03_9647.jpg
/home/nano/Desktop/images/12072025/21/38/image_12072025_21_38_54_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920916","1371920913","1371920912","1371920915","1371920911","1371920914"],"photo_ids_order":["1371920911","1371920912","1371920913","1371920914","1371920915","1371920916"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2495470d0a0af3754bece9b36639524b.jpg","text":"TemporaryFile(/tmp/multipartBody3309737629961125718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349218925,"filename":"image_12072025_21_38_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38804bd1c7b83e10e7b1f7fba0b614b5.jpg","text":"TemporaryFile(/tmp/multipartBody463350419773593157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349218925,"filename":"image_12072025_21_39_24_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0398576744f17c48651d03a15e1aac6a.jpg","text":"TemporaryFile(/tmp/multipartBody3038831638016232111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349218925,"filename":"image_12072025_21_39_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1894f68b782f927f1088e1ccc15bf09a.jpg","text":"TemporaryFile(/tmp/multipartBody216573869260625539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349218925,"filename":"image_12072025_21_39_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db5a94557929e7bd9750456919fc785c.jpg","text":"TemporaryFile(/tmp/multipartBody2756470987336907953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349218925,"filename":"image_12072025_21_39_44_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/991ccc01a7538a6c10b15f7f4a47a319.jpg","text":"TemporaryFile(/tmp/multipartBody5924482921575202782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349218925,"filename":"image_12072025_21_39_14_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920913","file1":"1371920912","file0":"1371920911","file4":"1371920915","file5":"1371920916","file3":"1371920914"},"map_files_photo_id_array":[{"photo_id":"1371920916","filename":"file5"},{"photo_id":"1371920913","filename":"file2"},{"photo_id":"1371920915","filename":"file4"},{"photo_id":"1371920912","filename":"file1"},{"photo_id":"1371920911","filename":"file0"},{"photo_id":"1371920914","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920916":["hashtag1","hashtag2"]},{"1371920913":["hashtag1","hashtag2"]},{"1371920912":["hashtag1","hashtag2"]},{"1371920915":["hashtag1","hashtag2"]},{"1371920911":["hashtag1","hashtag2"]},{"1371920914":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920916, 1371920913, 1371920912, 1371920915, 1371920911, 1371920914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0531485080719 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:40:02.593866
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/34/image_10072025_15_35_04_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_54_10626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_43_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_34_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_24_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_13_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/34/image_10072025_15_35_04_9633.jpg', '/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_54_10626.jpg', '/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_43_9620.jpg', '/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_34_9620.jpg', '/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_24_10638.jpg', '/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_13_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/34/image_10072025_15_35_04_9633.jpg
/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_54_10626.jpg
/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_43_9620.jpg
/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_34_9620.jpg
/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_24_10638.jpg
/home/nano/Desktop/images/10072025/15/34/image_10072025_15_34_13_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920946","1371920943","1371920937","1371920939","1371920941","1371920944"],"photo_ids_order":["1371920937","1371920939","1371920941","1371920943","1371920944","1371920946"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8105321912a577a03ffe5c9cf9c7d156.jpg","text":"TemporaryFile(/tmp/multipartBody1215082475414645285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349265902,"filename":"image_10072025_15_34_13_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c3c35a318857433aec8e41d9c7f2c589.jpg","text":"TemporaryFile(/tmp/multipartBody5503025007184199922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349265902,"filename":"image_10072025_15_34_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13962dea231d054b405e6786b7229a93.jpg","text":"TemporaryFile(/tmp/multipartBody8902229213492348093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349265902,"filename":"image_10072025_15_35_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a06e0f73b2941ec623f9e58ed72fa12.jpg","text":"TemporaryFile(/tmp/multipartBody6534711415464285648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349265902,"filename":"image_10072025_15_34_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/002d25491a58853dcf2365af22375e18.jpg","text":"TemporaryFile(/tmp/multipartBody321285512910902487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349265902,"filename":"image_10072025_15_34_43_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d6eac555361256ce137dea356f0341f.jpg","text":"TemporaryFile(/tmp/multipartBody3791982103830402820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349265902,"filename":"image_10072025_15_34_24_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920941","file1":"1371920939","file0":"1371920937","file4":"1371920944","file5":"1371920946","file3":"1371920943"},"map_files_photo_id_array":[{"photo_id":"1371920946","filename":"file5"},{"photo_id":"1371920941","filename":"file2"},{"photo_id":"1371920944","filename":"file4"},{"photo_id":"1371920939","filename":"file1"},{"photo_id":"1371920937","filename":"file0"},{"photo_id":"1371920943","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920946":["hashtag1","hashtag2"]},{"1371920943":["hashtag1","hashtag2"]},{"1371920937":["hashtag1","hashtag2"]},{"1371920939":["hashtag1","hashtag2"]},{"1371920941":["hashtag1","hashtag2"]},{"1371920944":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920946, 1371920943, 1371920937, 1371920939, 1371920941, 1371920944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90219235420227 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:40:47.180219
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_44_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_34_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_23_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_14_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/21/39/image_12072025_21_40_04_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_53_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_44_9615.jpg', '/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_34_10650.jpg', '/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_23_9611.jpg', '/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_14_9632.jpg', '/home/nano/Desktop/images/12072025/21/39/image_12072025_21_40_04_10650.jpg', '/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_53_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_44_9615.jpg
/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_34_10650.jpg
/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_23_9611.jpg
/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_14_9632.jpg
/home/nano/Desktop/images/12072025/21/39/image_12072025_21_40_04_10650.jpg
/home/nano/Desktop/images/12072025/21/39/image_12072025_21_39_53_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920964","1371920963","1371920951","1371920960","1371920954","1371920953"],"photo_ids_order":["1371920951","1371920953","1371920954","1371920960","1371920963","1371920964"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/825c8d2de421f7b5c51393a739082ad7.jpg","text":"TemporaryFile(/tmp/multipartBody1397890169467037048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349309069,"filename":"image_12072025_21_39_53_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e6e789c46ed628af3b328f62a281521.jpg","text":"TemporaryFile(/tmp/multipartBody3425265113733512895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349309069,"filename":"image_12072025_21_40_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/267abe01e16920d28e280afaf1b0c8ff.jpg","text":"TemporaryFile(/tmp/multipartBody882150397922204076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349309069,"filename":"image_12072025_21_40_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f06eaaae0296c8e3884a4e07e02dcf04.jpg","text":"TemporaryFile(/tmp/multipartBody6008573467660706130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349309069,"filename":"image_12072025_21_40_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9dc2eacc78bb7c8ec59723669ae53211.jpg","text":"TemporaryFile(/tmp/multipartBody6566279471529893254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349309069,"filename":"image_12072025_21_40_23_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fdf65c4b441ebf5f4f22397f7ee599d.jpg","text":"TemporaryFile(/tmp/multipartBody4956109396431365355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349309069,"filename":"image_12072025_21_40_34_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920954","file1":"1371920953","file0":"1371920951","file4":"1371920963","file5":"1371920964","file3":"1371920960"},"map_files_photo_id_array":[{"photo_id":"1371920964","filename":"file5"},{"photo_id":"1371920954","filename":"file2"},{"photo_id":"1371920963","filename":"file4"},{"photo_id":"1371920953","filename":"file1"},{"photo_id":"1371920951","filename":"file0"},{"photo_id":"1371920960","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920964":["hashtag1","hashtag2"]},{"1371920963":["hashtag1","hashtag2"]},{"1371920951":["hashtag1","hashtag2"]},{"1371920960":["hashtag1","hashtag2"]},{"1371920954":["hashtag1","hashtag2"]},{"1371920953":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920964, 1371920963, 1371920951, 1371920960, 1371920954, 1371920953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.353105545043945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:41:32.278635
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/41/image_12072025_21_41_43_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/21/41/image_12072025_21_41_24_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/21/41/image_12072025_21_41_13_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/21/40/image_12072025_21_41_04_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/41/image_12072025_21_41_43_9613.jpg', '/home/nano/Desktop/images/12072025/21/41/image_12072025_21_41_24_10628.jpg', '/home/nano/Desktop/images/12072025/21/41/image_12072025_21_41_13_9636.jpg', '/home/nano/Desktop/images/12072025/21/40/image_12072025_21_41_04_9616.jpg', '/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/41/image_12072025_21_41_43_9613.jpg
/home/nano/Desktop/images/12072025/21/41/image_12072025_21_41_24_10628.jpg
/home/nano/Desktop/images/12072025/21/41/image_12072025_21_41_13_9636.jpg
/home/nano/Desktop/images/12072025/21/40/image_12072025_21_41_04_9616.jpg
/home/nano/Desktop/images/12072025/21/40/image_12072025_21_40_54_10622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920970","1371920976","1371920969","1371920971","1371920974"],"photo_ids_order":["1371920969","1371920970","1371920971","1371920974","1371920976"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fed7f511b8967281357aaf7b1b466ddf.jpg","text":"TemporaryFile(/tmp/multipartBody5469240512284507303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349353645,"filename":"image_12072025_21_41_24_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a82eb59dcecb25869a473c4abd187d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8521115473628696838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349353645,"filename":"image_12072025_21_40_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1951b57dcf03e6cd907eb662f337da05.jpg","text":"TemporaryFile(/tmp/multipartBody340237129193762273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349353645,"filename":"image_12072025_21_41_43_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0e786d9618c7da9539a7cbd5a54113a.jpg","text":"TemporaryFile(/tmp/multipartBody357753279897512026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349353645,"filename":"image_12072025_21_41_13_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d83ac831a5b0dc7ef3008a08f44f6fd.jpg","text":"TemporaryFile(/tmp/multipartBody2925539409094911302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349353645,"filename":"image_12072025_21_41_04_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920971","file1":"1371920970","file0":"1371920969","file4":"1371920976","file3":"1371920974"},"map_files_photo_id_array":[{"photo_id":"1371920971","filename":"file2"},{"photo_id":"1371920976","filename":"file4"},{"photo_id":"1371920970","filename":"file1"},{"photo_id":"1371920969","filename":"file0"},{"photo_id":"1371920974","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371920970":["hashtag1","hashtag2"]},{"1371920976":["hashtag1","hashtag2"]},{"1371920969":["hashtag1","hashtag2"]},{"1371920971":["hashtag1","hashtag2"]},{"1371920974":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371920970, 1371920976, 1371920969, 1371920971, 1371920974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.99083971977234 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:42:02.887389
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/33/image_10072025_15_34_04_10650.jpg', 2), ('/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_53_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_43_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_34_10623.jpg', 2), ('/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_23_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_14_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/33/image_10072025_15_34_04_10650.jpg', '/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_53_9620.jpg', '/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_43_9614.jpg', '/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_34_10623.jpg', '/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_23_9613.jpg', '/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_14_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/33/image_10072025_15_34_04_10650.jpg
/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_53_9620.jpg
/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_43_9614.jpg
/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_34_10623.jpg
/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_23_9613.jpg
/home/nano/Desktop/images/10072025/15/33/image_10072025_15_33_14_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371920988","1371920984","1371920986","1371920989","1371920980","1371920982"],"photo_ids_order":["1371920980","1371920982","1371920984","1371920986","1371920988","1371920989"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b17044e4d321e53003683308ba6bed9.jpg","text":"TemporaryFile(/tmp/multipartBody1940875004537634676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349386185,"filename":"image_10072025_15_33_23_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6999dd4c46627782206dc731e3941e3.jpg","text":"TemporaryFile(/tmp/multipartBody2170810395121398571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349386185,"filename":"image_10072025_15_33_43_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/765e5c833e1c9ac3e53c317eba4eff07.jpg","text":"TemporaryFile(/tmp/multipartBody2950722157371674605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349386185,"filename":"image_10072025_15_33_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ced39af09dbb15fffb2f4dbd0d7a5ab.jpg","text":"TemporaryFile(/tmp/multipartBody2252997240963121129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349386185,"filename":"image_10072025_15_33_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d260d6d9df520daccc8a2df26485c491.jpg","text":"TemporaryFile(/tmp/multipartBody8680272345200184000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349386185,"filename":"image_10072025_15_34_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8db3c26c1267570dcb88f0f87f70cd60.jpg","text":"TemporaryFile(/tmp/multipartBody7577012089868614842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349386185,"filename":"image_10072025_15_33_53_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920984","file1":"1371920982","file0":"1371920980","file4":"1371920988","file5":"1371920989","file3":"1371920986"},"map_files_photo_id_array":[{"photo_id":"1371920989","filename":"file5"},{"photo_id":"1371920984","filename":"file2"},{"photo_id":"1371920988","filename":"file4"},{"photo_id":"1371920982","filename":"file1"},{"photo_id":"1371920980","filename":"file0"},{"photo_id":"1371920986","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371920988":["hashtag1","hashtag2"]},{"1371920984":["hashtag1","hashtag2"]},{"1371920986":["hashtag1","hashtag2"]},{"1371920989":["hashtag1","hashtag2"]},{"1371920980":["hashtag1","hashtag2"]},{"1371920982":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371920988, 1371920984, 1371920986, 1371920989, 1371920980, 1371920982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11115765571594 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:42:47.443789
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/42/image_12072025_21_42_33_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/21/42/image_12072025_21_42_24_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/42/image_12072025_21_42_14_10648.jpg', 2), ('/home/nano/Desktop/images/12072025/21/41/image_12072025_21_42_04_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/21/41/image_12072025_21_41_54_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/42/image_12072025_21_42_33_9610.jpg', '/home/nano/Desktop/images/12072025/21/42/image_12072025_21_42_24_9616.jpg', '/home/nano/Desktop/images/12072025/21/42/image_12072025_21_42_14_10648.jpg', '/home/nano/Desktop/images/12072025/21/41/image_12072025_21_42_04_9629.jpg', '/home/nano/Desktop/images/12072025/21/41/image_12072025_21_41_54_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/42/image_12072025_21_42_33_9610.jpg
/home/nano/Desktop/images/12072025/21/42/image_12072025_21_42_24_9616.jpg
/home/nano/Desktop/images/12072025/21/42/image_12072025_21_42_14_10648.jpg
/home/nano/Desktop/images/12072025/21/41/image_12072025_21_42_04_9629.jpg
/home/nano/Desktop/images/12072025/21/41/image_12072025_21_41_54_10618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921000","1371920999","1371921002","1371920995","1371920997"],"photo_ids_order":["1371920995","1371920997","1371920999","1371921000","1371921002"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7791e21d17a09d7bc5cee7e01616c150.jpg","text":"TemporaryFile(/tmp/multipartBody4432460035456614409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349429192,"filename":"image_12072025_21_42_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a44bbe325482942ed3958fd6d38d169.jpg","text":"TemporaryFile(/tmp/multipartBody5786784582657682357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349429192,"filename":"image_12072025_21_42_14_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10aecb1ff589cc86ed6886f63ed9dfbb.jpg","text":"TemporaryFile(/tmp/multipartBody1659786813674575500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349429192,"filename":"image_12072025_21_41_54_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2254ec5973f50c90bd18fdf868b3f1d1.jpg","text":"TemporaryFile(/tmp/multipartBody6138959405608918397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349429192,"filename":"image_12072025_21_42_33_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88f48b384d1f06936a5cc5f379b6e8be.jpg","text":"TemporaryFile(/tmp/multipartBody1887583914746158673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349429192,"filename":"image_12072025_21_42_24_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371920999","file1":"1371920997","file0":"1371920995","file4":"1371921002","file3":"1371921000"},"map_files_photo_id_array":[{"photo_id":"1371920999","filename":"file2"},{"photo_id":"1371921002","filename":"file4"},{"photo_id":"1371920997","filename":"file1"},{"photo_id":"1371920995","filename":"file0"},{"photo_id":"1371921000","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921000":["hashtag1","hashtag2"]},{"1371920999":["hashtag1","hashtag2"]},{"1371921002":["hashtag1","hashtag2"]},{"1371920995":["hashtag1","hashtag2"]},{"1371920997":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921000, 1371920999, 1371921002, 1371920995, 1371920997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.6812162399292 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:43:17.589559
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_34_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_24_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_14_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/21/42/image_12072025_21_43_03_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/21/42/image_12072025_21_42_44_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_44_9617.jpg', '/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_34_10619.jpg', '/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_24_9630.jpg', '/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_14_10661.jpg', '/home/nano/Desktop/images/12072025/21/42/image_12072025_21_43_03_9619.jpg', '/home/nano/Desktop/images/12072025/21/42/image_12072025_21_42_44_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_44_9617.jpg
/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_34_10619.jpg
/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_24_9630.jpg
/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_14_10661.jpg
/home/nano/Desktop/images/12072025/21/42/image_12072025_21_43_03_9619.jpg
/home/nano/Desktop/images/12072025/21/42/image_12072025_21_42_44_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921009","1371921006","1371921011","1371921008","1371921010","1371921007"],"photo_ids_order":["1371921006","1371921007","1371921008","1371921009","1371921010","1371921011"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ec79c9e713242b6bf625e7851eec637.jpg","text":"TemporaryFile(/tmp/multipartBody2175728894647373421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349459195,"filename":"image_12072025_21_43_14_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0af27a6f957d627627a53b58b7007a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1180760345480663936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349459195,"filename":"image_12072025_21_43_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20dc2270d193ee5830aec96ddc4faf3c.jpg","text":"TemporaryFile(/tmp/multipartBody2712328680639270740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349459195,"filename":"image_12072025_21_42_44_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26d1f664575b0b73f5b56c55ff5acf4e.jpg","text":"TemporaryFile(/tmp/multipartBody1939959638956118527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349459195,"filename":"image_12072025_21_43_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e8ec1aefcdda3bd5ca704388bc28b7d.jpg","text":"TemporaryFile(/tmp/multipartBody3324199151392972645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349459195,"filename":"image_12072025_21_43_03_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8aab63f0ba3a4e51a4ec538b1476dfb7.jpg","text":"TemporaryFile(/tmp/multipartBody5846726084137717809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349459195,"filename":"image_12072025_21_43_34_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921008","file1":"1371921007","file0":"1371921006","file4":"1371921010","file5":"1371921011","file3":"1371921009"},"map_files_photo_id_array":[{"photo_id":"1371921011","filename":"file5"},{"photo_id":"1371921008","filename":"file2"},{"photo_id":"1371921010","filename":"file4"},{"photo_id":"1371921007","filename":"file1"},{"photo_id":"1371921006","filename":"file0"},{"photo_id":"1371921009","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921009":["hashtag1","hashtag2"]},{"1371921006":["hashtag1","hashtag2"]},{"1371921011":["hashtag1","hashtag2"]},{"1371921008":["hashtag1","hashtag2"]},{"1371921010":["hashtag1","hashtag2"]},{"1371921007":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921009, 1371921006, 1371921011, 1371921008, 1371921010, 1371921007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.1800434589386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:44:03.517140
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/32/image_10072025_15_33_04_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_53_9611.jpg', 2), ('/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_44_10630.jpg', 2), ('/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_33_9618.jpg', 2), ('/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_24_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_14_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/32/image_10072025_15_33_04_10636.jpg', '/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_53_9611.jpg', '/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_44_10630.jpg', '/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_33_9618.jpg', '/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_24_9632.jpg', '/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_14_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/32/image_10072025_15_33_04_10636.jpg
/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_53_9611.jpg
/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_44_10630.jpg
/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_33_9618.jpg
/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_24_9632.jpg
/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_14_10642.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3771212100982666 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:44:17.652357
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_44_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_23_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_14_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/21/43/image_12072025_21_44_04_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_53_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_44_9626.jpg', '/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_34_10620.jpg', '/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_23_9611.jpg', '/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_14_9628.jpg', '/home/nano/Desktop/images/12072025/21/43/image_12072025_21_44_04_10642.jpg', '/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_53_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_44_9626.jpg
/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_34_10620.jpg
/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_23_9611.jpg
/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_14_9628.jpg
/home/nano/Desktop/images/12072025/21/43/image_12072025_21_44_04_10642.jpg
/home/nano/Desktop/images/12072025/21/43/image_12072025_21_43_53_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921030","1371921032","1371921026","1371921034","1371921031","1371921028"],"photo_ids_order":["1371921026","1371921028","1371921030","1371921031","1371921032","1371921034"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3bb39c9004f28c1cc22e7132f70e506.jpg","text":"TemporaryFile(/tmp/multipartBody4524556513381557595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349519493,"filename":"image_12072025_21_44_23_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb9fb1cc91911a72b510e1f1a735f299.jpg","text":"TemporaryFile(/tmp/multipartBody2479227306949591148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349519493,"filename":"image_12072025_21_44_04_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbc5f16657db95252e3f1464c8341f01.jpg","text":"TemporaryFile(/tmp/multipartBody7693478748832600710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349519493,"filename":"image_12072025_21_44_44_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44219c41c0d528dcc2d31cad344268f0.jpg","text":"TemporaryFile(/tmp/multipartBody6817979110846360651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349519493,"filename":"image_12072025_21_43_53_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/139e7f7cffad3f2812ee2b6a67dcc9d2.jpg","text":"TemporaryFile(/tmp/multipartBody2818255053324225069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349519493,"filename":"image_12072025_21_44_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8c1680a45f7728240342a03021e076c.jpg","text":"TemporaryFile(/tmp/multipartBody3759170218119088717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349519493,"filename":"image_12072025_21_44_34_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921030","file1":"1371921028","file0":"1371921026","file4":"1371921032","file5":"1371921034","file3":"1371921031"},"map_files_photo_id_array":[{"photo_id":"1371921034","filename":"file5"},{"photo_id":"1371921030","filename":"file2"},{"photo_id":"1371921032","filename":"file4"},{"photo_id":"1371921028","filename":"file1"},{"photo_id":"1371921026","filename":"file0"},{"photo_id":"1371921031","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921030":["hashtag1","hashtag2"]},{"1371921032":["hashtag1","hashtag2"]},{"1371921026":["hashtag1","hashtag2"]},{"1371921034":["hashtag1","hashtag2"]},{"1371921031":["hashtag1","hashtag2"]},{"1371921028":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921030, 1371921032, 1371921026, 1371921034, 1371921031, 1371921028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24738168716431 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:45:03.514592
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/32/image_10072025_15_33_04_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_53_9611.jpg', 2), ('/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_44_10630.jpg', 2), ('/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_33_9618.jpg', 2), ('/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_24_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_14_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/32/image_10072025_15_33_04_10636.jpg', '/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_53_9611.jpg', '/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_44_10630.jpg', '/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_33_9618.jpg', '/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_24_9632.jpg', '/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_14_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/32/image_10072025_15_33_04_10636.jpg
/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_53_9611.jpg
/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_44_10630.jpg
/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_33_9618.jpg
/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_24_9632.jpg
/home/nano/Desktop/images/10072025/15/32/image_10072025_15_32_14_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921048","1371921050","1371921049","1371921046","1371921051","1371921045"],"photo_ids_order":["1371921045","1371921046","1371921048","1371921049","1371921050","1371921051"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d53c6d834d32f7d26c9cb18c572c8727.jpg","text":"TemporaryFile(/tmp/multipartBody4198708097387613116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349566679,"filename":"image_10072025_15_32_44_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f650f6afb03e29867449132998224758.jpg","text":"TemporaryFile(/tmp/multipartBody7719603110505458488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349566679,"filename":"image_10072025_15_32_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5c5a6c8a2d68865f68ba7b6f896923c.jpg","text":"TemporaryFile(/tmp/multipartBody2520584228827727627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349566679,"filename":"image_10072025_15_32_33_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec6c3d51de06a61e274f6795a637f675.jpg","text":"TemporaryFile(/tmp/multipartBody1462118475047975377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349566679,"filename":"image_10072025_15_32_53_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/800ec8bd531e4206a1ab316671cf976e.jpg","text":"TemporaryFile(/tmp/multipartBody1133216824794928051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349566679,"filename":"image_10072025_15_32_14_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d4503f9113f85661f045df17cc759e0.jpg","text":"TemporaryFile(/tmp/multipartBody1888448335594069501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349566679,"filename":"image_10072025_15_33_04_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921048","file1":"1371921046","file0":"1371921045","file4":"1371921050","file5":"1371921051","file3":"1371921049"},"map_files_photo_id_array":[{"photo_id":"1371921051","filename":"file5"},{"photo_id":"1371921048","filename":"file2"},{"photo_id":"1371921050","filename":"file4"},{"photo_id":"1371921046","filename":"file1"},{"photo_id":"1371921045","filename":"file0"},{"photo_id":"1371921049","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371921048":["hashtag1","hashtag2"]},{"1371921050":["hashtag1","hashtag2"]},{"1371921049":["hashtag1","hashtag2"]},{"1371921046":["hashtag1","hashtag2"]},{"1371921051":["hashtag1","hashtag2"]},{"1371921045":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371921048, 1371921050, 1371921049, 1371921046, 1371921051, 1371921045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16848063468933 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:45:47.734669
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/45/image_12072025_21_45_43_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/21/45/image_12072025_21_45_34_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/21/45/image_12072025_21_45_13_9658.jpg', 2), ('/home/nano/Desktop/images/12072025/21/44/image_12072025_21_45_04_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_54_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/45/image_12072025_21_45_43_9609.jpg', '/home/nano/Desktop/images/12072025/21/45/image_12072025_21_45_34_9623.jpg', '/home/nano/Desktop/images/12072025/21/45/image_12072025_21_45_13_9658.jpg', '/home/nano/Desktop/images/12072025/21/44/image_12072025_21_45_04_9616.jpg', '/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/45/image_12072025_21_45_43_9609.jpg
/home/nano/Desktop/images/12072025/21/45/image_12072025_21_45_34_9623.jpg
/home/nano/Desktop/images/12072025/21/45/image_12072025_21_45_13_9658.jpg
/home/nano/Desktop/images/12072025/21/44/image_12072025_21_45_04_9616.jpg
/home/nano/Desktop/images/12072025/21/44/image_12072025_21_44_54_10623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921060","1371921054","1371921057","1371921064","1371921063"],"photo_ids_order":["1371921054","1371921057","1371921060","1371921063","1371921064"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2896d65ebee78d2a4bd9ef515e967bc.jpg","text":"TemporaryFile(/tmp/multipartBody7555044477804380507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349609621,"filename":"image_12072025_21_45_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ce99fe3d7f5ab6543b6aec031090c58.jpg","text":"TemporaryFile(/tmp/multipartBody6187782614083951693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349609621,"filename":"image_12072025_21_45_43_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3e94179e37bae548f2367b4657ea6be.jpg","text":"TemporaryFile(/tmp/multipartBody8769784759368434006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349609621,"filename":"image_12072025_21_45_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8b73b4e97ad2f89ecb60f428db03a73.jpg","text":"TemporaryFile(/tmp/multipartBody2136212364970015789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349609621,"filename":"image_12072025_21_44_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fb98bc0878d20a99f3dd61d795e860f.jpg","text":"TemporaryFile(/tmp/multipartBody6607844038705223204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349609621,"filename":"image_12072025_21_45_04_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921060","file1":"1371921057","file0":"1371921054","file4":"1371921064","file3":"1371921063"},"map_files_photo_id_array":[{"photo_id":"1371921060","filename":"file2"},{"photo_id":"1371921064","filename":"file4"},{"photo_id":"1371921057","filename":"file1"},{"photo_id":"1371921054","filename":"file0"},{"photo_id":"1371921063","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921060":["hashtag1","hashtag2"]},{"1371921054":["hashtag1","hashtag2"]},{"1371921057":["hashtag1","hashtag2"]},{"1371921064":["hashtag1","hashtag2"]},{"1371921063":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921060, 1371921054, 1371921057, 1371921064, 1371921063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.26504373550415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:46:16.902561
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/46/image_12072025_21_46_44_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/46/image_12072025_21_46_24_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/21/46/image_12072025_21_46_14_10659.jpg', 2), ('/home/nano/Desktop/images/12072025/21/45/image_12072025_21_46_04_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/21/45/image_12072025_21_45_54_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/46/image_12072025_21_46_44_10620.jpg', '/home/nano/Desktop/images/12072025/21/46/image_12072025_21_46_24_9619.jpg', '/home/nano/Desktop/images/12072025/21/46/image_12072025_21_46_14_10659.jpg', '/home/nano/Desktop/images/12072025/21/45/image_12072025_21_46_04_9624.jpg', '/home/nano/Desktop/images/12072025/21/45/image_12072025_21_45_54_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/46/image_12072025_21_46_44_10620.jpg
/home/nano/Desktop/images/12072025/21/46/image_12072025_21_46_24_9619.jpg
/home/nano/Desktop/images/12072025/21/46/image_12072025_21_46_14_10659.jpg
/home/nano/Desktop/images/12072025/21/45/image_12072025_21_46_04_9624.jpg
/home/nano/Desktop/images/12072025/21/45/image_12072025_21_45_54_10630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921074","1371921071","1371921070","1371921073","1371921072"],"photo_ids_order":["1371921070","1371921071","1371921072","1371921073","1371921074"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/520a5af182fcea7336473704af7c317a.jpg","text":"TemporaryFile(/tmp/multipartBody3238345344373196436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349638504,"filename":"image_12072025_21_45_54_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ece6b506c9ebdc696d171d1eb13f8fc.jpg","text":"TemporaryFile(/tmp/multipartBody1965868318308340166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349638504,"filename":"image_12072025_21_46_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f0259ab96cbccdeecd3f9e9bec2be9b8.jpg","text":"TemporaryFile(/tmp/multipartBody7761007010680305555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349638504,"filename":"image_12072025_21_46_44_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e90f8dbc27665e07704e4724323635b.jpg","text":"TemporaryFile(/tmp/multipartBody8678499803223077833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349638504,"filename":"image_12072025_21_46_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f316a971853337603d2426620486fd4.jpg","text":"TemporaryFile(/tmp/multipartBody1069344036121499836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349638504,"filename":"image_12072025_21_46_14_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921072","file1":"1371921071","file0":"1371921070","file4":"1371921074","file3":"1371921073"},"map_files_photo_id_array":[{"photo_id":"1371921072","filename":"file2"},{"photo_id":"1371921074","filename":"file4"},{"photo_id":"1371921071","filename":"file1"},{"photo_id":"1371921070","filename":"file0"},{"photo_id":"1371921073","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921074":["hashtag1","hashtag2"]},{"1371921071":["hashtag1","hashtag2"]},{"1371921070":["hashtag1","hashtag2"]},{"1371921073":["hashtag1","hashtag2"]},{"1371921072":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921074, 1371921071, 1371921070, 1371921073, 1371921072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.838533878326416 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:46:46.818820
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/31/image_10072025_15_32_03_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_54_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_44_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_33_9648.jpg', 2), ('/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_24_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_14_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/31/image_10072025_15_32_03_9624.jpg', '/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_54_9615.jpg', '/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_44_10632.jpg', '/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_33_9648.jpg', '/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_24_9641.jpg', '/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_14_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/31/image_10072025_15_32_03_9624.jpg
/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_54_9615.jpg
/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_44_10632.jpg
/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_33_9648.jpg
/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_24_9641.jpg
/home/nano/Desktop/images/10072025/15/31/image_10072025_15_31_14_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921086","1371921080","1371921083","1371921082","1371921076","1371921078"],"photo_ids_order":["1371921076","1371921078","1371921080","1371921082","1371921083","1371921086"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45e959f5f17ac6017247763659d68b85.jpg","text":"TemporaryFile(/tmp/multipartBody217233784809260330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349669985,"filename":"image_10072025_15_31_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4adc85350945c1397933eaba26cecbff.jpg","text":"TemporaryFile(/tmp/multipartBody2115785645473795910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349669985,"filename":"image_10072025_15_31_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b733f9a5a740d36039f1c69b9f92f1e3.jpg","text":"TemporaryFile(/tmp/multipartBody7766967597710841044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349669985,"filename":"image_10072025_15_31_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4fdc2f4e6aee03e2894f616052974528.jpg","text":"TemporaryFile(/tmp/multipartBody5172226264531928382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349669985,"filename":"image_10072025_15_31_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/897347602ee561e4d4660b569aee0d52.jpg","text":"TemporaryFile(/tmp/multipartBody6227824066697693186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349669985,"filename":"image_10072025_15_32_03_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/654c417c752a9cddeecf6dce21e279e7.jpg","text":"TemporaryFile(/tmp/multipartBody1690415962891356818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349669985,"filename":"image_10072025_15_31_54_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921080","file1":"1371921078","file0":"1371921076","file4":"1371921083","file5":"1371921086","file3":"1371921082"},"map_files_photo_id_array":[{"photo_id":"1371921086","filename":"file5"},{"photo_id":"1371921080","filename":"file2"},{"photo_id":"1371921083","filename":"file4"},{"photo_id":"1371921078","filename":"file1"},{"photo_id":"1371921076","filename":"file0"},{"photo_id":"1371921082","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371921086":["hashtag1","hashtag2"]},{"1371921080":["hashtag1","hashtag2"]},{"1371921083":["hashtag1","hashtag2"]},{"1371921082":["hashtag1","hashtag2"]},{"1371921076":["hashtag1","hashtag2"]},{"1371921078":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371921086, 1371921080, 1371921083, 1371921082, 1371921076, 1371921078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.478705644607544 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:47:31.940742
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/47/image_12072025_21_47_44_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/21/47/image_12072025_21_47_34_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/21/47/image_12072025_21_47_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/21/46/image_12072025_21_47_03_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/21/46/image_12072025_21_46_54_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/47/image_12072025_21_47_44_9623.jpg', '/home/nano/Desktop/images/12072025/21/47/image_12072025_21_47_34_10640.jpg', '/home/nano/Desktop/images/12072025/21/47/image_12072025_21_47_14_10639.jpg', '/home/nano/Desktop/images/12072025/21/46/image_12072025_21_47_03_9618.jpg', '/home/nano/Desktop/images/12072025/21/46/image_12072025_21_46_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/47/image_12072025_21_47_44_9623.jpg
/home/nano/Desktop/images/12072025/21/47/image_12072025_21_47_34_10640.jpg
/home/nano/Desktop/images/12072025/21/47/image_12072025_21_47_14_10639.jpg
/home/nano/Desktop/images/12072025/21/46/image_12072025_21_47_03_9618.jpg
/home/nano/Desktop/images/12072025/21/46/image_12072025_21_46_54_9620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921095","1371921097","1371921101","1371921094","1371921093"],"photo_ids_order":["1371921093","1371921094","1371921095","1371921097","1371921101"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c8dbee442c0c86d07ad87fa11d8d596.jpg","text":"TemporaryFile(/tmp/multipartBody8947366606223813920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349713759,"filename":"image_12072025_21_47_14_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b88ec8922131a0907b1a2957b919e72.jpg","text":"TemporaryFile(/tmp/multipartBody710762625997879827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349713759,"filename":"image_12072025_21_47_03_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95e5ecc62cf92c14b7ee225a01d37dbc.jpg","text":"TemporaryFile(/tmp/multipartBody1436003042354980443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349713759,"filename":"image_12072025_21_46_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/942d2578f6ebc0400dd8927916d49cf4.jpg","text":"TemporaryFile(/tmp/multipartBody4787997990640460437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349713759,"filename":"image_12072025_21_47_34_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89407b64b0535fdc6da51a1703b3093c.jpg","text":"TemporaryFile(/tmp/multipartBody4090125826436845230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349713759,"filename":"image_12072025_21_47_44_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921095","file1":"1371921094","file0":"1371921093","file4":"1371921101","file3":"1371921097"},"map_files_photo_id_array":[{"photo_id":"1371921095","filename":"file2"},{"photo_id":"1371921101","filename":"file4"},{"photo_id":"1371921094","filename":"file1"},{"photo_id":"1371921093","filename":"file0"},{"photo_id":"1371921097","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921095":["hashtag1","hashtag2"]},{"1371921097":["hashtag1","hashtag2"]},{"1371921101":["hashtag1","hashtag2"]},{"1371921094":["hashtag1","hashtag2"]},{"1371921093":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921095, 1371921097, 1371921101, 1371921094, 1371921093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.652031898498535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:48:02.655937
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/30/image_10072025_15_31_03_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_54_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_43_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_34_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_24_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_13_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/30/image_10072025_15_31_03_9626.jpg', '/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_54_10637.jpg', '/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_43_9622.jpg', '/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_34_9627.jpg', '/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_24_10654.jpg', '/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_13_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/30/image_10072025_15_31_03_9626.jpg
/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_54_10637.jpg
/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_43_9622.jpg
/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_34_9627.jpg
/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_24_10654.jpg
/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_13_9650.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.078761339187622 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:48:17.086782
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_44_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_23_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_14_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/21/47/image_12072025_21_48_04_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/21/47/image_12072025_21_47_53_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_44_9629.jpg', '/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_34_10623.jpg', '/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_23_9613.jpg', '/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_14_9644.jpg', '/home/nano/Desktop/images/12072025/21/47/image_12072025_21_48_04_10632.jpg', '/home/nano/Desktop/images/12072025/21/47/image_12072025_21_47_53_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_44_9629.jpg
/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_34_10623.jpg
/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_23_9613.jpg
/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_14_9644.jpg
/home/nano/Desktop/images/12072025/21/47/image_12072025_21_48_04_10632.jpg
/home/nano/Desktop/images/12072025/21/47/image_12072025_21_47_53_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921120","1371921114","1371921119","1371921116","1371921121","1371921118"],"photo_ids_order":["1371921114","1371921116","1371921118","1371921119","1371921120","1371921121"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/451d557fb011d4ae1bfe8ca48e1d3e37.jpg","text":"TemporaryFile(/tmp/multipartBody5709920420238633563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349758509,"filename":"image_12072025_21_48_04_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e16f6d091136f1c8480ebd9a607f5b0.jpg","text":"TemporaryFile(/tmp/multipartBody1477056124437333752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349758509,"filename":"image_12072025_21_48_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe5e29afb712122218aa7984e278aaa4.jpg","text":"TemporaryFile(/tmp/multipartBody1438207371915847829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349758509,"filename":"image_12072025_21_48_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d537a692622524c4173a483260f506bc.jpg","text":"TemporaryFile(/tmp/multipartBody2980581301968700156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349758509,"filename":"image_12072025_21_48_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/094956c1d6304f80a3603b21d9c1ee18.jpg","text":"TemporaryFile(/tmp/multipartBody1245626288120969649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349758509,"filename":"image_12072025_21_47_53_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ba875f3b1ac2d9ba2656b7d6630dd28.jpg","text":"TemporaryFile(/tmp/multipartBody9165021441749503998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349758509,"filename":"image_12072025_21_48_23_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921118","file1":"1371921116","file0":"1371921114","file4":"1371921120","file5":"1371921121","file3":"1371921119"},"map_files_photo_id_array":[{"photo_id":"1371921121","filename":"file5"},{"photo_id":"1371921118","filename":"file2"},{"photo_id":"1371921120","filename":"file4"},{"photo_id":"1371921116","filename":"file1"},{"photo_id":"1371921114","filename":"file0"},{"photo_id":"1371921119","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921120":["hashtag1","hashtag2"]},{"1371921114":["hashtag1","hashtag2"]},{"1371921119":["hashtag1","hashtag2"]},{"1371921116":["hashtag1","hashtag2"]},{"1371921121":["hashtag1","hashtag2"]},{"1371921118":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921120, 1371921114, 1371921119, 1371921116, 1371921121, 1371921118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.177526235580444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:49:03.308227
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/49/image_12072025_21_49_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/49/image_12072025_21_49_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/49/image_12072025_21_49_54_10622.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921128"],"photo_id":"1371921128","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c97606d9eb538aa012af5f5d8b687d0b.jpg","text":"TemporaryFile(/tmp/multipartBody4099272657104260222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349803992,"filename":"image_12072025_21_49_54_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371921128"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371921128"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.854345560073853 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:49:17.250017
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/49/image_12072025_21_49_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/21/49/image_12072025_21_49_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/48/image_12072025_21_49_04_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/49/image_12072025_21_49_34_9610.jpg', '/home/nano/Desktop/images/12072025/21/49/image_12072025_21_49_24_10620.jpg', '/home/nano/Desktop/images/12072025/21/48/image_12072025_21_49_04_9624.jpg', '/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/49/image_12072025_21_49_34_9610.jpg
/home/nano/Desktop/images/12072025/21/49/image_12072025_21_49_24_10620.jpg
/home/nano/Desktop/images/12072025/21/48/image_12072025_21_49_04_9624.jpg
/home/nano/Desktop/images/12072025/21/48/image_12072025_21_48_54_10619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921135","1371921134","1371921133","1371921136"],"photo_ids_order":["1371921133","1371921134","1371921135","1371921136"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/467a0544a1a54ae9d4679e2acc2395dd.jpg","text":"TemporaryFile(/tmp/multipartBody4202369862296232577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349818541,"filename":"image_12072025_21_49_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a338ee35a3e9e05c4734bc716d90cfc9.jpg","text":"TemporaryFile(/tmp/multipartBody7789506930560810576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349818541,"filename":"image_12072025_21_49_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ef512ad5072b062ab0a3011412de5b3.jpg","text":"TemporaryFile(/tmp/multipartBody1759148840810902103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349818541,"filename":"image_12072025_21_49_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03c68d62fe93a32c6ca0f5ac9ac68fec.jpg","text":"TemporaryFile(/tmp/multipartBody8885458635375268696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349818541,"filename":"image_12072025_21_48_54_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921135","file1":"1371921134","file0":"1371921133","file3":"1371921136"},"map_files_photo_id_array":[{"photo_id":"1371921135","filename":"file2"},{"photo_id":"1371921134","filename":"file1"},{"photo_id":"1371921133","filename":"file0"},{"photo_id":"1371921136","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921135":["hashtag1","hashtag2"]},{"1371921134":["hashtag1","hashtag2"]},{"1371921133":["hashtag1","hashtag2"]},{"1371921136":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921135, 1371921134, 1371921133, 1371921136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.589159965515137 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:49:47.204985
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/30/image_10072025_15_31_03_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_54_10637.jpg', 2), ('/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_43_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_34_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_24_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_13_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/30/image_10072025_15_31_03_9626.jpg', '/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_54_10637.jpg', '/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_43_9622.jpg', '/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_34_9627.jpg', '/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_24_10654.jpg', '/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_13_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/30/image_10072025_15_31_03_9626.jpg
/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_54_10637.jpg
/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_43_9622.jpg
/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_34_9627.jpg
/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_24_10654.jpg
/home/nano/Desktop/images/10072025/15/30/image_10072025_15_30_13_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921156","1371921155","1371921152","1371921166","1371921162","1371921159"],"photo_ids_order":["1371921152","1371921155","1371921156","1371921159","1371921162","1371921166"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f71e9447697313660125043c50941738.jpg","text":"TemporaryFile(/tmp/multipartBody5805878323179350087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349850417,"filename":"image_10072025_15_30_43_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f6de37211eb635055e020995c705258.jpg","text":"TemporaryFile(/tmp/multipartBody8356866426513169544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349850417,"filename":"image_10072025_15_30_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0c0dd45a5e8965f7dd5b840015403ad.jpg","text":"TemporaryFile(/tmp/multipartBody9119564133401895417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349850417,"filename":"image_10072025_15_31_03_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e9ec9017e05f9493531ec97500a15814.jpg","text":"TemporaryFile(/tmp/multipartBody8106387113998417689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349850417,"filename":"image_10072025_15_30_13_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b1aecbd94f8e19e362c3c873e23ebd2.jpg","text":"TemporaryFile(/tmp/multipartBody5751367512991931391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349850417,"filename":"image_10072025_15_30_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/93746728122e0eceb94811dafc17a359.jpg","text":"TemporaryFile(/tmp/multipartBody290246480499253228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349850417,"filename":"image_10072025_15_30_34_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921156","file1":"1371921155","file0":"1371921152","file4":"1371921162","file5":"1371921166","file3":"1371921159"},"map_files_photo_id_array":[{"photo_id":"1371921166","filename":"file5"},{"photo_id":"1371921156","filename":"file2"},{"photo_id":"1371921162","filename":"file4"},{"photo_id":"1371921155","filename":"file1"},{"photo_id":"1371921152","filename":"file0"},{"photo_id":"1371921159","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371921156":["hashtag1","hashtag2"]},{"1371921155":["hashtag1","hashtag2"]},{"1371921152":["hashtag1","hashtag2"]},{"1371921166":["hashtag1","hashtag2"]},{"1371921162":["hashtag1","hashtag2"]},{"1371921159":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371921156, 1371921155, 1371921152, 1371921166, 1371921162, 1371921159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.830933570861816 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:50:32.318142
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/50/image_12072025_21_50_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/21/50/image_12072025_21_50_24_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/21/50/image_12072025_21_50_14_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/21/49/image_12072025_21_50_04_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/21/49/image_12072025_21_49_43_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/50/image_12072025_21_50_44_10621.jpg', '/home/nano/Desktop/images/12072025/21/50/image_12072025_21_50_24_9614.jpg', '/home/nano/Desktop/images/12072025/21/50/image_12072025_21_50_14_10643.jpg', '/home/nano/Desktop/images/12072025/21/49/image_12072025_21_50_04_9625.jpg', '/home/nano/Desktop/images/12072025/21/49/image_12072025_21_49_43_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/50/image_12072025_21_50_44_10621.jpg
/home/nano/Desktop/images/12072025/21/50/image_12072025_21_50_24_9614.jpg
/home/nano/Desktop/images/12072025/21/50/image_12072025_21_50_14_10643.jpg
/home/nano/Desktop/images/12072025/21/49/image_12072025_21_50_04_9625.jpg
/home/nano/Desktop/images/12072025/21/49/image_12072025_21_49_43_9615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921174","1371921168","1371921175","1371921169","1371921171"],"photo_ids_order":["1371921168","1371921169","1371921171","1371921174","1371921175"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13b58a2ac5efd05f136e7a6f9b9cbdf5.jpg","text":"TemporaryFile(/tmp/multipartBody7635751584868402468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349894052,"filename":"image_12072025_21_50_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/474ef8ccbd68f713070aa475beddc444.jpg","text":"TemporaryFile(/tmp/multipartBody8124763276092780794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349894052,"filename":"image_12072025_21_50_44_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81bc2cf26a21a65fa5212d9e1f8d35ae.jpg","text":"TemporaryFile(/tmp/multipartBody2445536846797887976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349894052,"filename":"image_12072025_21_49_43_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a53ddf7827bf59c6fab3885ed3c78302.jpg","text":"TemporaryFile(/tmp/multipartBody1753473913297719743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349894052,"filename":"image_12072025_21_50_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d49df87ac84d471d6149f18097ecd12f.jpg","text":"TemporaryFile(/tmp/multipartBody9214408794500732840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349894052,"filename":"image_12072025_21_50_14_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921171","file1":"1371921169","file0":"1371921168","file4":"1371921175","file3":"1371921174"},"map_files_photo_id_array":[{"photo_id":"1371921171","filename":"file2"},{"photo_id":"1371921175","filename":"file4"},{"photo_id":"1371921169","filename":"file1"},{"photo_id":"1371921168","filename":"file0"},{"photo_id":"1371921174","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921174":["hashtag1","hashtag2"]},{"1371921168":["hashtag1","hashtag2"]},{"1371921175":["hashtag1","hashtag2"]},{"1371921169":["hashtag1","hashtag2"]},{"1371921171":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921174, 1371921168, 1371921175, 1371921169, 1371921171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.74656343460083 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:51:03.020995
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/29/image_10072025_15_30_04_9664.jpg', 2), ('/home/nano/Desktop/images/10072025/15/29/image_10072025_15_29_54_10646.jpg', 2), ('/home/nano/Desktop/images/10072025/15/29/image_10072025_15_29_43_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/15/29/image_10072025_15_29_34_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/15/29/image_10072025_15_29_13_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/15/28/image_10072025_15_29_04_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/29/image_10072025_15_30_04_9664.jpg', '/home/nano/Desktop/images/10072025/15/29/image_10072025_15_29_54_10646.jpg', '/home/nano/Desktop/images/10072025/15/29/image_10072025_15_29_43_9625.jpg', '/home/nano/Desktop/images/10072025/15/29/image_10072025_15_29_34_9628.jpg', '/home/nano/Desktop/images/10072025/15/29/image_10072025_15_29_13_9636.jpg', '/home/nano/Desktop/images/10072025/15/28/image_10072025_15_29_04_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/29/image_10072025_15_30_04_9664.jpg
/home/nano/Desktop/images/10072025/15/29/image_10072025_15_29_54_10646.jpg
/home/nano/Desktop/images/10072025/15/29/image_10072025_15_29_43_9625.jpg
/home/nano/Desktop/images/10072025/15/29/image_10072025_15_29_34_9628.jpg
/home/nano/Desktop/images/10072025/15/29/image_10072025_15_29_13_9636.jpg
/home/nano/Desktop/images/10072025/15/28/image_10072025_15_29_04_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921185","1371921188","1371921190","1371921187","1371921189","1371921183"],"photo_ids_order":["1371921183","1371921185","1371921187","1371921188","1371921189","1371921190"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d3c75ef72317fb0cb63b70488b3fb9c.jpg","text":"TemporaryFile(/tmp/multipartBody8534098096780134659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349926105,"filename":"image_10072025_15_29_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b291f2a4ba0645698e6809b7b05c1ec6.jpg","text":"TemporaryFile(/tmp/multipartBody5050112803173611285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349926105,"filename":"image_10072025_15_29_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2b8541d43259725b96dfc0c75c1d2ec.jpg","text":"TemporaryFile(/tmp/multipartBody8777268439873284530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349926105,"filename":"image_10072025_15_29_04_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4f83a72cbf54f08b13cbf33e8f51bcc.jpg","text":"TemporaryFile(/tmp/multipartBody5781320727933712696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349926105,"filename":"image_10072025_15_29_43_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef8d3b3280a70c5e08fe624ea72a6127.jpg","text":"TemporaryFile(/tmp/multipartBody4365052452591193574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349926105,"filename":"image_10072025_15_29_13_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6845944e1df788d77f1012ac708275e1.jpg","text":"TemporaryFile(/tmp/multipartBody8320598401109079826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349926105,"filename":"image_10072025_15_30_04_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921187","file1":"1371921185","file0":"1371921183","file4":"1371921189","file5":"1371921190","file3":"1371921188"},"map_files_photo_id_array":[{"photo_id":"1371921190","filename":"file5"},{"photo_id":"1371921187","filename":"file2"},{"photo_id":"1371921189","filename":"file4"},{"photo_id":"1371921185","filename":"file1"},{"photo_id":"1371921183","filename":"file0"},{"photo_id":"1371921188","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371921185":["hashtag1","hashtag2"]},{"1371921188":["hashtag1","hashtag2"]},{"1371921190":["hashtag1","hashtag2"]},{"1371921187":["hashtag1","hashtag2"]},{"1371921189":["hashtag1","hashtag2"]},{"1371921183":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371921185, 1371921188, 1371921190, 1371921187, 1371921189, 1371921183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55537247657776 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:51:47.421745
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_24_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_14_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/21/50/image_12072025_21_51_03_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/21/50/image_12072025_21_50_54_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_34_10620.jpg', '/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_24_9620.jpg', '/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_14_10643.jpg', '/home/nano/Desktop/images/12072025/21/50/image_12072025_21_51_03_9631.jpg', '/home/nano/Desktop/images/12072025/21/50/image_12072025_21_50_54_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_34_10620.jpg
/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_24_9620.jpg
/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_14_10643.jpg
/home/nano/Desktop/images/12072025/21/50/image_12072025_21_51_03_9631.jpg
/home/nano/Desktop/images/12072025/21/50/image_12072025_21_50_54_9623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921194","1371921196","1371921200","1371921202","1371921198"],"photo_ids_order":["1371921194","1371921196","1371921198","1371921200","1371921202"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0913f37b5db84b5a82898ffd2e32fc0.jpg","text":"TemporaryFile(/tmp/multipartBody7987648966886121727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349968946,"filename":"image_12072025_21_51_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fec92484c6d83ccc0ada71595a8f6ede.jpg","text":"TemporaryFile(/tmp/multipartBody8584676807380477813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349968946,"filename":"image_12072025_21_51_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/125bc876b6bff3836bbccfa1e899a66f.jpg","text":"TemporaryFile(/tmp/multipartBody1430184283733591943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349968946,"filename":"image_12072025_21_51_03_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/120d89dfecfaab69576c5fe82e31a479.jpg","text":"TemporaryFile(/tmp/multipartBody357085426019092561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349968946,"filename":"image_12072025_21_50_54_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc84297fec2accc59888303808a42abd.jpg","text":"TemporaryFile(/tmp/multipartBody2330410370408087316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752349968946,"filename":"image_12072025_21_51_14_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921198","file1":"1371921196","file0":"1371921194","file4":"1371921202","file3":"1371921200"},"map_files_photo_id_array":[{"photo_id":"1371921198","filename":"file2"},{"photo_id":"1371921202","filename":"file4"},{"photo_id":"1371921196","filename":"file1"},{"photo_id":"1371921194","filename":"file0"},{"photo_id":"1371921200","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921194":["hashtag1","hashtag2"]},{"1371921196":["hashtag1","hashtag2"]},{"1371921200":["hashtag1","hashtag2"]},{"1371921202":["hashtag1","hashtag2"]},{"1371921198":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921194, 1371921196, 1371921200, 1371921202, 1371921198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.095892190933228 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:52:17.521016
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/52/image_12072025_21_52_14_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_53_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/52/image_12072025_21_52_14_9639.jpg', '/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_53_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/52/image_12072025_21_52_14_9639.jpg
/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_53_9613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8347294330596924 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:52:32.520716
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/52/image_12072025_21_52_14_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_53_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/52/image_12072025_21_52_14_9639.jpg', '/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_53_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/52/image_12072025_21_52_14_9639.jpg
/home/nano/Desktop/images/12072025/21/51/image_12072025_21_51_53_9613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921207","1371921208"],"photo_ids_order":["1371921207","1371921208"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3b69d99424a7023368f8ec513be8c47.jpg","text":"TemporaryFile(/tmp/multipartBody4759636360038011886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350013571,"filename":"image_12072025_21_52_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48e49ce87c414483cca28fe7cf79a51d.jpg","text":"TemporaryFile(/tmp/multipartBody5044479079479692434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350013571,"filename":"image_12072025_21_51_53_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1371921208","file0":"1371921207"},"map_files_photo_id_array":[{"photo_id":"1371921208","filename":"file1"},{"photo_id":"1371921207","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921207":["hashtag1","hashtag2"]},{"1371921208":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921207, 1371921208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.842584609985352 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:53:03.313413
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_53_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_43_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_34_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_23_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_14_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/15/27/image_10072025_15_28_04_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_53_9627.jpg', '/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_43_9623.jpg', '/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_34_10638.jpg', '/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_23_9622.jpg', '/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_14_9641.jpg', '/home/nano/Desktop/images/10072025/15/27/image_10072025_15_28_04_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_53_9627.jpg
/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_43_9623.jpg
/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_34_10638.jpg
/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_23_9622.jpg
/home/nano/Desktop/images/10072025/15/28/image_10072025_15_28_14_9641.jpg
/home/nano/Desktop/images/10072025/15/27/image_10072025_15_28_04_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921222","1371921216","1371921219","1371921221","1371921214","1371921223"],"photo_ids_order":["1371921214","1371921216","1371921219","1371921221","1371921222","1371921223"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e9beaf574b3d89fcb7911ff20966570.jpg","text":"TemporaryFile(/tmp/multipartBody4757801249416071586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350046828,"filename":"image_10072025_15_28_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe83d92c5d7843571172f5f551a6a166.jpg","text":"TemporaryFile(/tmp/multipartBody4267604411815133621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350046828,"filename":"image_10072025_15_28_43_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd43d3f755a43ad7b8cdf4d343cfa0ca.jpg","text":"TemporaryFile(/tmp/multipartBody2522998653637085540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350046828,"filename":"image_10072025_15_28_34_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a7099042662a53e540785b34b1de6dc2.jpg","text":"TemporaryFile(/tmp/multipartBody1679231229936987746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350046828,"filename":"image_10072025_15_28_23_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d421ce26b5c2026e74b8c51222f0fbd2.jpg","text":"TemporaryFile(/tmp/multipartBody3419832710715530475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350046828,"filename":"image_10072025_15_28_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/918d0251648b83ed26c6e29901a9ebb1.jpg","text":"TemporaryFile(/tmp/multipartBody8940214696607781615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350046828,"filename":"image_10072025_15_28_04_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921219","file1":"1371921216","file0":"1371921214","file4":"1371921222","file5":"1371921223","file3":"1371921221"},"map_files_photo_id_array":[{"photo_id":"1371921223","filename":"file5"},{"photo_id":"1371921219","filename":"file2"},{"photo_id":"1371921222","filename":"file4"},{"photo_id":"1371921216","filename":"file1"},{"photo_id":"1371921214","filename":"file0"},{"photo_id":"1371921221","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371921222":["hashtag1","hashtag2"]},{"1371921216":["hashtag1","hashtag2"]},{"1371921219":["hashtag1","hashtag2"]},{"1371921221":["hashtag1","hashtag2"]},{"1371921214":["hashtag1","hashtag2"]},{"1371921223":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371921222, 1371921216, 1371921219, 1371921221, 1371921214, 1371921223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.271729707717896 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:53:47.650307
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_43_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_34_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_24_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_13_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/21/52/image_12072025_21_53_04_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/21/52/image_12072025_21_52_23_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_43_9616.jpg', '/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_34_9613.jpg', '/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_24_10621.jpg', '/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_13_9635.jpg', '/home/nano/Desktop/images/12072025/21/52/image_12072025_21_53_04_9615.jpg', '/home/nano/Desktop/images/12072025/21/52/image_12072025_21_52_23_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_43_9616.jpg
/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_34_9613.jpg
/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_24_10621.jpg
/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_13_9635.jpg
/home/nano/Desktop/images/12072025/21/52/image_12072025_21_53_04_9615.jpg
/home/nano/Desktop/images/12072025/21/52/image_12072025_21_52_23_9612.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.356015682220459 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:54:03.503989
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_43_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_34_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_24_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_13_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/21/52/image_12072025_21_53_04_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/21/52/image_12072025_21_52_23_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_43_9616.jpg', '/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_34_9613.jpg', '/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_24_10621.jpg', '/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_13_9635.jpg', '/home/nano/Desktop/images/12072025/21/52/image_12072025_21_53_04_9615.jpg', '/home/nano/Desktop/images/12072025/21/52/image_12072025_21_52_23_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_43_9616.jpg
/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_34_9613.jpg
/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_24_10621.jpg
/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_13_9635.jpg
/home/nano/Desktop/images/12072025/21/52/image_12072025_21_53_04_9615.jpg
/home/nano/Desktop/images/12072025/21/52/image_12072025_21_52_23_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921246","1371921240","1371921237","1371921242","1371921244","1371921243"],"photo_ids_order":["1371921237","1371921240","1371921242","1371921243","1371921244","1371921246"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f112260f50f09e98e4db80ab2112614.jpg","text":"TemporaryFile(/tmp/multipartBody1665875516265099682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350105266,"filename":"image_12072025_21_52_23_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c13cd88a60ec02b00d43502dec4f11c4.jpg","text":"TemporaryFile(/tmp/multipartBody4853931180012514903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350105266,"filename":"image_12072025_21_53_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b0361162d3a14ec5a07d85c089ba6b4.jpg","text":"TemporaryFile(/tmp/multipartBody4956689088658128821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350105266,"filename":"image_12072025_21_53_43_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43d185e6005e479df1a8d05ccb1b531f.jpg","text":"TemporaryFile(/tmp/multipartBody198386721725002730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350105266,"filename":"image_12072025_21_53_24_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/558a1856ae20d5f798a5205a697e4763.jpg","text":"TemporaryFile(/tmp/multipartBody4922864092021353531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350105266,"filename":"image_12072025_21_53_04_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52bbb3fe1779088261591de9eaebbb5f.jpg","text":"TemporaryFile(/tmp/multipartBody2504502805069377700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350105266,"filename":"image_12072025_21_53_13_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921242","file1":"1371921240","file0":"1371921237","file4":"1371921244","file5":"1371921246","file3":"1371921243"},"map_files_photo_id_array":[{"photo_id":"1371921246","filename":"file5"},{"photo_id":"1371921242","filename":"file2"},{"photo_id":"1371921244","filename":"file4"},{"photo_id":"1371921240","filename":"file1"},{"photo_id":"1371921237","filename":"file0"},{"photo_id":"1371921243","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921246":["hashtag1","hashtag2"]},{"1371921240":["hashtag1","hashtag2"]},{"1371921237":["hashtag1","hashtag2"]},{"1371921242":["hashtag1","hashtag2"]},{"1371921244":["hashtag1","hashtag2"]},{"1371921243":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921246, 1371921240, 1371921237, 1371921242, 1371921244, 1371921243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.655356884002686 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:54:47.735298
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_44_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_33_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_24_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_14_10661.jpg', 2), ('/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_44_10620.jpg', '/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_33_9614.jpg', '/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_24_9609.jpg', '/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_14_10661.jpg', '/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_44_10620.jpg
/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_33_9614.jpg
/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_24_9609.jpg
/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_14_10661.jpg
/home/nano/Desktop/images/12072025/21/53/image_12072025_21_53_54_10622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921252","1371921254","1371921250","1371921256","1371921258"],"photo_ids_order":["1371921250","1371921252","1371921254","1371921256","1371921258"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0149083943ba2eef4afcf07df9e6543.jpg","text":"TemporaryFile(/tmp/multipartBody5213098543052569617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350149412,"filename":"image_12072025_21_54_33_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8b2d526d1391bf84e7a7d657ede3aed.jpg","text":"TemporaryFile(/tmp/multipartBody6779842444363675258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350149412,"filename":"image_12072025_21_54_24_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d730311fb21fe8f406db8ffc5818e90.jpg","text":"TemporaryFile(/tmp/multipartBody5053502680366952588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350149412,"filename":"image_12072025_21_54_44_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/725b8d87757f5294b9feb6f5829d4bbd.jpg","text":"TemporaryFile(/tmp/multipartBody7935864450493552593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350149412,"filename":"image_12072025_21_54_14_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4da0392009161546ddedeb252ae070a.jpg","text":"TemporaryFile(/tmp/multipartBody8329100385273136547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350149412,"filename":"image_12072025_21_53_54_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921254","file1":"1371921252","file0":"1371921250","file4":"1371921258","file3":"1371921256"},"map_files_photo_id_array":[{"photo_id":"1371921254","filename":"file2"},{"photo_id":"1371921258","filename":"file4"},{"photo_id":"1371921252","filename":"file1"},{"photo_id":"1371921250","filename":"file0"},{"photo_id":"1371921256","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921252":["hashtag1","hashtag2"]},{"1371921254":["hashtag1","hashtag2"]},{"1371921250":["hashtag1","hashtag2"]},{"1371921256":["hashtag1","hashtag2"]},{"1371921258":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921252, 1371921254, 1371921250, 1371921256, 1371921258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.546344757080078 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:55:16.870915
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_24_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_14_10683.jpg', 2), ('/home/nano/Desktop/images/12072025/21/54/image_12072025_21_55_03_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_54_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_44_9617.jpg', '/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_34_10620.jpg', '/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_24_9627.jpg', '/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_14_10683.jpg', '/home/nano/Desktop/images/12072025/21/54/image_12072025_21_55_03_9642.jpg', '/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_54_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_44_9617.jpg
/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_34_10620.jpg
/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_24_9627.jpg
/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_14_10683.jpg
/home/nano/Desktop/images/12072025/21/54/image_12072025_21_55_03_9642.jpg
/home/nano/Desktop/images/12072025/21/54/image_12072025_21_54_54_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921267","1371921266","1371921269","1371921265","1371921268","1371921264"],"photo_ids_order":["1371921264","1371921265","1371921266","1371921267","1371921268","1371921269"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c58980849fa45ef02181b6d170d2ed4.jpg","text":"TemporaryFile(/tmp/multipartBody4165556261688453515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350178668,"filename":"image_12072025_21_55_14_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e11f1b9b29fbd06d7de2e149fb8393a.jpg","text":"TemporaryFile(/tmp/multipartBody2064244566854803392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350178668,"filename":"image_12072025_21_55_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37b8286c18b2e8e5697693a7e744e953.jpg","text":"TemporaryFile(/tmp/multipartBody8830576117846306734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350178668,"filename":"image_12072025_21_54_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0c054023852eb1233c88f092a9ad901.jpg","text":"TemporaryFile(/tmp/multipartBody7546141763110165310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350178668,"filename":"image_12072025_21_55_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f796ed86204c0c0cc55f320a197a493.jpg","text":"TemporaryFile(/tmp/multipartBody6339754909746951098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350178668,"filename":"image_12072025_21_55_03_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/58129c51f32503c70167b4ac0b0f2566.jpg","text":"TemporaryFile(/tmp/multipartBody1740101742239662067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350178668,"filename":"image_12072025_21_55_44_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921266","file1":"1371921265","file0":"1371921264","file4":"1371921268","file5":"1371921269","file3":"1371921267"},"map_files_photo_id_array":[{"photo_id":"1371921269","filename":"file5"},{"photo_id":"1371921266","filename":"file2"},{"photo_id":"1371921268","filename":"file4"},{"photo_id":"1371921265","filename":"file1"},{"photo_id":"1371921264","filename":"file0"},{"photo_id":"1371921267","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921267":["hashtag1","hashtag2"]},{"1371921266":["hashtag1","hashtag2"]},{"1371921269":["hashtag1","hashtag2"]},{"1371921265":["hashtag1","hashtag2"]},{"1371921268":["hashtag1","hashtag2"]},{"1371921264":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921267, 1371921266, 1371921269, 1371921265, 1371921268, 1371921264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.585631370544434 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:56:02.536497
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_53_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_44_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_33_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_23_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_14_10648.jpg', 2), ('/home/nano/Desktop/images/10072025/15/26/image_10072025_15_27_03_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_53_9625.jpg', '/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_44_10639.jpg', '/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_33_9639.jpg', '/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_23_9627.jpg', '/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_14_10648.jpg', '/home/nano/Desktop/images/10072025/15/26/image_10072025_15_27_03_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_53_9625.jpg
/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_44_10639.jpg
/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_33_9639.jpg
/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_23_9627.jpg
/home/nano/Desktop/images/10072025/15/27/image_10072025_15_27_14_10648.jpg
/home/nano/Desktop/images/10072025/15/26/image_10072025_15_27_03_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921284","1371921281","1371921278","1371921283","1371921286","1371921276"],"photo_ids_order":["1371921276","1371921278","1371921281","1371921283","1371921284","1371921286"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de942db4a73992d75568cff9ceb4e591.jpg","text":"TemporaryFile(/tmp/multipartBody7771241733237388384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350225411,"filename":"image_10072025_15_27_14_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62cbce4c6c25d5fb9ffe355f8df62269.jpg","text":"TemporaryFile(/tmp/multipartBody154642311581192644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350225411,"filename":"image_10072025_15_27_33_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d68211c793327969cc59b69b40f6416.jpg","text":"TemporaryFile(/tmp/multipartBody7529934847801064959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350225411,"filename":"image_10072025_15_27_44_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/27cf8a88b49a169d6817463edd1b2554.jpg","text":"TemporaryFile(/tmp/multipartBody3235564210872646487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350225411,"filename":"image_10072025_15_27_23_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/586cda44290a6d7a50963417be3cb634.jpg","text":"TemporaryFile(/tmp/multipartBody3939416365723200429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350225411,"filename":"image_10072025_15_27_03_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01eedc7041f0093947d125941accd98a.jpg","text":"TemporaryFile(/tmp/multipartBody1272133790493969620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350225411,"filename":"image_10072025_15_27_53_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921281","file1":"1371921278","file0":"1371921276","file4":"1371921284","file5":"1371921286","file3":"1371921283"},"map_files_photo_id_array":[{"photo_id":"1371921286","filename":"file5"},{"photo_id":"1371921281","filename":"file2"},{"photo_id":"1371921284","filename":"file4"},{"photo_id":"1371921278","filename":"file1"},{"photo_id":"1371921276","filename":"file0"},{"photo_id":"1371921283","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371921284":["hashtag1","hashtag2"]},{"1371921281":["hashtag1","hashtag2"]},{"1371921278":["hashtag1","hashtag2"]},{"1371921283":["hashtag1","hashtag2"]},{"1371921286":["hashtag1","hashtag2"]},{"1371921276":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371921284, 1371921281, 1371921278, 1371921283, 1371921286, 1371921276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.70263123512268 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:56:46.933455
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/56/image_12072025_21_56_34_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/21/56/image_12072025_21_56_23_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/21/56/image_12072025_21_56_14_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/21/55/image_12072025_21_56_04_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_54_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/56/image_12072025_21_56_34_10639.jpg', '/home/nano/Desktop/images/12072025/21/56/image_12072025_21_56_23_9631.jpg', '/home/nano/Desktop/images/12072025/21/56/image_12072025_21_56_14_9649.jpg', '/home/nano/Desktop/images/12072025/21/55/image_12072025_21_56_04_10643.jpg', '/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_54_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/56/image_12072025_21_56_34_10639.jpg
/home/nano/Desktop/images/12072025/21/56/image_12072025_21_56_23_9631.jpg
/home/nano/Desktop/images/12072025/21/56/image_12072025_21_56_14_9649.jpg
/home/nano/Desktop/images/12072025/21/55/image_12072025_21_56_04_10643.jpg
/home/nano/Desktop/images/12072025/21/55/image_12072025_21_55_54_9610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921296","1371921298","1371921301","1371921294","1371921291"],"photo_ids_order":["1371921291","1371921294","1371921296","1371921298","1371921301"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/41b3d8db696513c37fd9383b47f0240f.jpg","text":"TemporaryFile(/tmp/multipartBody5219767232787558775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350268451,"filename":"image_12072025_21_56_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ebf7339bfc4526d7251ae78606e4c5c.jpg","text":"TemporaryFile(/tmp/multipartBody4352049580227170806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350268451,"filename":"image_12072025_21_56_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53df162ee1450d457744315dcfebab51.jpg","text":"TemporaryFile(/tmp/multipartBody2222079649918108442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350268451,"filename":"image_12072025_21_55_54_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/061a9a691ed5ee4804caab7446350de9.jpg","text":"TemporaryFile(/tmp/multipartBody5620497393019180410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350268451,"filename":"image_12072025_21_56_23_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/74e921735d3754ff2fcb6b4c77266693.jpg","text":"TemporaryFile(/tmp/multipartBody5017954467895209646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350268451,"filename":"image_12072025_21_56_34_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921296","file1":"1371921294","file0":"1371921291","file4":"1371921301","file3":"1371921298"},"map_files_photo_id_array":[{"photo_id":"1371921296","filename":"file2"},{"photo_id":"1371921301","filename":"file4"},{"photo_id":"1371921294","filename":"file1"},{"photo_id":"1371921291","filename":"file0"},{"photo_id":"1371921298","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921296":["hashtag1","hashtag2"]},{"1371921298":["hashtag1","hashtag2"]},{"1371921301":["hashtag1","hashtag2"]},{"1371921294":["hashtag1","hashtag2"]},{"1371921291":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921296, 1371921298, 1371921301, 1371921294, 1371921291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.143919229507446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:57:17.054494
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_43_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_14_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/21/56/image_12072025_21_56_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_43_9613.jpg', '/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_34_9611.jpg', '/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_24_10625.jpg', '/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_14_9636.jpg', '/home/nano/Desktop/images/12072025/21/56/image_12072025_21_56_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_43_9613.jpg
/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_34_9611.jpg
/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_24_10625.jpg
/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_14_9636.jpg
/home/nano/Desktop/images/12072025/21/56/image_12072025_21_56_54_10619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371921309","1371921305","1371921308","1371921304","1371921307"],"photo_ids_order":["1371921304","1371921305","1371921307","1371921308","1371921309"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d742bf3b266d2309c10e2306dfc6c84.jpg","text":"TemporaryFile(/tmp/multipartBody8141505911549561150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350298867,"filename":"image_12072025_21_56_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae9ccc1febb888f20a35bea2c88c4c62.jpg","text":"TemporaryFile(/tmp/multipartBody3724000200167940543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350298867,"filename":"image_12072025_21_57_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/171028ead6b8d6ba60040576992c0472.jpg","text":"TemporaryFile(/tmp/multipartBody3226271696126505523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350298867,"filename":"image_12072025_21_57_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43cf25ab0a68bbb48654c3bf7dc674e1.jpg","text":"TemporaryFile(/tmp/multipartBody5025021798297607425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350298867,"filename":"image_12072025_21_57_43_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e12c92be9a627ebfb7c61b026e9ecbf3.jpg","text":"TemporaryFile(/tmp/multipartBody5357352997933975255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350298867,"filename":"image_12072025_21_57_24_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371921307","file1":"1371921305","file0":"1371921304","file4":"1371921309","file3":"1371921308"},"map_files_photo_id_array":[{"photo_id":"1371921307","filename":"file2"},{"photo_id":"1371921309","filename":"file4"},{"photo_id":"1371921305","filename":"file1"},{"photo_id":"1371921304","filename":"file0"},{"photo_id":"1371921308","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371921309":["hashtag1","hashtag2"]},{"1371921305":["hashtag1","hashtag2"]},{"1371921308":["hashtag1","hashtag2"]},{"1371921304":["hashtag1","hashtag2"]},{"1371921307":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371921309, 1371921305, 1371921308, 1371921304, 1371921307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.21162700653076 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:57:47.041022
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_44_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_33_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_24_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_14_10652.jpg', 2), ('/home/nano/Desktop/images/10072025/15/25/image_10072025_15_26_03_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_54_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_44_10632.jpg', '/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_33_9624.jpg', '/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_24_9619.jpg', '/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_14_10652.jpg', '/home/nano/Desktop/images/10072025/15/25/image_10072025_15_26_03_9633.jpg', '/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_54_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_44_10632.jpg
/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_33_9624.jpg
/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_24_9619.jpg
/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_14_10652.jpg
/home/nano/Desktop/images/10072025/15/25/image_10072025_15_26_03_9633.jpg
/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_54_10633.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:59:03.207225
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_44_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_33_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_24_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_14_10652.jpg', 2), ('/home/nano/Desktop/images/10072025/15/25/image_10072025_15_26_03_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_54_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_44_10632.jpg', '/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_33_9624.jpg', '/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_24_9619.jpg', '/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_14_10652.jpg', '/home/nano/Desktop/images/10072025/15/25/image_10072025_15_26_03_9633.jpg', '/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_54_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_44_10632.jpg
/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_33_9624.jpg
/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_24_9619.jpg
/home/nano/Desktop/images/10072025/15/26/image_10072025_15_26_14_10652.jpg
/home/nano/Desktop/images/10072025/15/25/image_10072025_15_26_03_9633.jpg
/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_54_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371922277","1371922169","1371922372","1371922129","1371922197","1371922332"],"photo_ids_order":["1371922129","1371922169","1371922197","1371922277","1371922332","1371922372"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ecf3b447dead6a64771ace40e719fab.jpg","text":"TemporaryFile(/tmp/multipartBody601586924059392905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350406073,"filename":"image_10072025_15_26_14_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77db1544501aac91caf645a830cea4f9.jpg","text":"TemporaryFile(/tmp/multipartBody2866198351797252290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350406073,"filename":"image_10072025_15_26_33_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e303bd8c403173a59bb6f35d27895d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1580466315755399286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350406073,"filename":"image_10072025_15_25_54_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6e0ac221a4812cc26f7f5bb365f07de.jpg","text":"TemporaryFile(/tmp/multipartBody6776700264272476659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350406073,"filename":"image_10072025_15_26_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6eb88ab52e86bc83358b9d1f98e92c9.jpg","text":"TemporaryFile(/tmp/multipartBody3847392496093616968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350406073,"filename":"image_10072025_15_26_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f2f86cd1148d65cf0e82e2085cc240a.jpg","text":"TemporaryFile(/tmp/multipartBody1370317821458901006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350406073,"filename":"image_10072025_15_26_03_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371922197","file1":"1371922169","file0":"1371922129","file4":"1371922332","file5":"1371922372","file3":"1371922277"},"map_files_photo_id_array":[{"photo_id":"1371922372","filename":"file5"},{"photo_id":"1371922197","filename":"file2"},{"photo_id":"1371922332","filename":"file4"},{"photo_id":"1371922169","filename":"file1"},{"photo_id":"1371922129","filename":"file0"},{"photo_id":"1371922277","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371922277":["hashtag1","hashtag2"]},{"1371922169":["hashtag1","hashtag2"]},{"1371922372":["hashtag1","hashtag2"]},{"1371922129":["hashtag1","hashtag2"]},{"1371922197":["hashtag1","hashtag2"]},{"1371922332":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371922277, 1371922169, 1371922372, 1371922129, 1371922197, 1371922332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.094911336898804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 21:59:47.162460
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_44_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_34_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_24_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_14_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_54_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_34_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_44_9611.jpg', '/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_34_10616.jpg', '/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_24_9629.jpg', '/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_14_10628.jpg', '/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_54_9614.jpg', '/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_34_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_44_9611.jpg
/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_34_10616.jpg
/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_24_9629.jpg
/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_14_10628.jpg
/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_54_9614.jpg
/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_34_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371922427","1371922597","1371922436","1371922474","1371922527","1371922500"],"photo_ids_order":["1371922427","1371922436","1371922474","1371922500","1371922527","1371922597"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7f80f323cff2e101971af771c000f624.jpg","text":"TemporaryFile(/tmp/multipartBody2309484461243509451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350448337,"filename":"image_12072025_21_59_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9184d312852bcdf3a66290027273fd2c.jpg","text":"TemporaryFile(/tmp/multipartBody3939397908027044510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350448337,"filename":"image_12072025_21_58_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3024dff9a5f17a5b22f04567b0e7e12.jpg","text":"TemporaryFile(/tmp/multipartBody1401709112560212136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350448337,"filename":"image_12072025_21_59_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38d428dd998089620a1f6f113efd5608.jpg","text":"TemporaryFile(/tmp/multipartBody8310803031470417902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350448337,"filename":"image_12072025_21_59_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e33ab4d8ac106e3a8fda248cfb145a6a.jpg","text":"TemporaryFile(/tmp/multipartBody8973701186699823205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350448337,"filename":"image_12072025_21_58_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6331a730e9ee2a786ee98b4a9123af7.jpg","text":"TemporaryFile(/tmp/multipartBody416430742104693284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350448337,"filename":"image_12072025_21_59_14_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371922474","file1":"1371922436","file0":"1371922427","file4":"1371922527","file5":"1371922597","file3":"1371922500"},"map_files_photo_id_array":[{"photo_id":"1371922597","filename":"file5"},{"photo_id":"1371922474","filename":"file2"},{"photo_id":"1371922527","filename":"file4"},{"photo_id":"1371922436","filename":"file1"},{"photo_id":"1371922427","filename":"file0"},{"photo_id":"1371922500","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371922427":["hashtag1","hashtag2"]},{"1371922597":["hashtag1","hashtag2"]},{"1371922436":["hashtag1","hashtag2"]},{"1371922474":["hashtag1","hashtag2"]},{"1371922527":["hashtag1","hashtag2"]},{"1371922500":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371922427, 1371922597, 1371922436, 1371922474, 1371922527, 1371922500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.18306231498718 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:00:32.265181
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_34_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_23_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/59/image_12072025_22_00_04_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_54_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_24_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_44_9617.jpg', '/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_34_10619.jpg', '/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_23_9620.jpg', '/home/nano/Desktop/images/12072025/21/59/image_12072025_22_00_04_10636.jpg', '/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_54_9613.jpg', '/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_24_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_44_9617.jpg
/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_34_10619.jpg
/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_23_9620.jpg
/home/nano/Desktop/images/12072025/21/59/image_12072025_22_00_04_10636.jpg
/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_54_9613.jpg
/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_24_9621.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9785346984863281 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:00:47.268554
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_34_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_23_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/21/59/image_12072025_22_00_04_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_54_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_24_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_44_9617.jpg', '/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_34_10619.jpg', '/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_23_9620.jpg', '/home/nano/Desktop/images/12072025/21/59/image_12072025_22_00_04_10636.jpg', '/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_54_9613.jpg', '/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_24_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_44_9617.jpg
/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_34_10619.jpg
/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_23_9620.jpg
/home/nano/Desktop/images/12072025/21/59/image_12072025_22_00_04_10636.jpg
/home/nano/Desktop/images/12072025/21/59/image_12072025_21_59_54_9613.jpg
/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_24_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371922712","1371922672","1371922669","1371922764","1371922737","1371922686"],"photo_ids_order":["1371922669","1371922672","1371922686","1371922712","1371922737","1371922764"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/25275b0ea4e1a7b1e3903255bb1146d4.jpg","text":"TemporaryFile(/tmp/multipartBody5686442364673243455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350508902,"filename":"image_12072025_22_00_04_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bdefbfae0258415a80f3714158fb3262.jpg","text":"TemporaryFile(/tmp/multipartBody9044487313230698501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350508902,"filename":"image_12072025_22_00_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a97a3dafdb6808fb57b883d9dc6d7f31.jpg","text":"TemporaryFile(/tmp/multipartBody8201696895143510149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350508902,"filename":"image_12072025_22_00_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/779efed023bd9e65993604e73e8db243.jpg","text":"TemporaryFile(/tmp/multipartBody2082432300249907894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350508902,"filename":"image_12072025_21_58_24_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4537915ccfc6bd68b373032d83e88500.jpg","text":"TemporaryFile(/tmp/multipartBody3589401662135871961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350508902,"filename":"image_12072025_21_59_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec7b4b43aa4167adede6d040a1b15e52.jpg","text":"TemporaryFile(/tmp/multipartBody5461820491302409944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350508902,"filename":"image_12072025_22_00_23_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371922686","file1":"1371922672","file0":"1371922669","file4":"1371922737","file5":"1371922764","file3":"1371922712"},"map_files_photo_id_array":[{"photo_id":"1371922764","filename":"file5"},{"photo_id":"1371922686","filename":"file2"},{"photo_id":"1371922737","filename":"file4"},{"photo_id":"1371922672","filename":"file1"},{"photo_id":"1371922669","filename":"file0"},{"photo_id":"1371922712","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371922712":["hashtag1","hashtag2"]},{"1371922672":["hashtag1","hashtag2"]},{"1371922669":["hashtag1","hashtag2"]},{"1371922764":["hashtag1","hashtag2"]},{"1371922737":["hashtag1","hashtag2"]},{"1371922686":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371922712, 1371922672, 1371922669, 1371922764, 1371922737, 1371922686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02991485595703 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:01:32.449461
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/01/image_12072025_22_01_34_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/22/01/image_12072025_22_01_24_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/22/01/image_12072025_22_01_14_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/22/00/image_12072025_22_01_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_54_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_14_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/01/image_12072025_22_01_34_9613.jpg', '/home/nano/Desktop/images/12072025/22/01/image_12072025_22_01_24_10624.jpg', '/home/nano/Desktop/images/12072025/22/01/image_12072025_22_01_14_9627.jpg', '/home/nano/Desktop/images/12072025/22/00/image_12072025_22_01_04_9626.jpg', '/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_54_10623.jpg', '/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_14_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/01/image_12072025_22_01_34_9613.jpg
/home/nano/Desktop/images/12072025/22/01/image_12072025_22_01_24_10624.jpg
/home/nano/Desktop/images/12072025/22/01/image_12072025_22_01_14_9627.jpg
/home/nano/Desktop/images/12072025/22/00/image_12072025_22_01_04_9626.jpg
/home/nano/Desktop/images/12072025/22/00/image_12072025_22_00_54_10623.jpg
/home/nano/Desktop/images/12072025/21/58/image_12072025_21_58_14_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371923027","1371922955","1371922978","1371922930","1371923002","1371923052"],"photo_ids_order":["1371922930","1371922955","1371922978","1371923002","1371923027","1371923052"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5839205361775d9dbc3717b6ff0ebcc.jpg","text":"TemporaryFile(/tmp/multipartBody375946998266436564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350553755,"filename":"image_12072025_22_00_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b55b6ccbf8e2da3261893eec244f6a02.jpg","text":"TemporaryFile(/tmp/multipartBody8866019600619825009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350553755,"filename":"image_12072025_22_01_24_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/620fe6a5521ea4eb460db5470531eb3d.jpg","text":"TemporaryFile(/tmp/multipartBody5350041509897395986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350553755,"filename":"image_12072025_22_01_14_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/69e6bf0f49e32d6e75d3459bf78ebb25.jpg","text":"TemporaryFile(/tmp/multipartBody5683321638764126275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350553755,"filename":"image_12072025_22_01_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0faa158a2127a45f6360515f9cf5d6c4.jpg","text":"TemporaryFile(/tmp/multipartBody5299375679716775303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350553755,"filename":"image_12072025_22_01_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0764188922faccda3ca73b66aefc6171.jpg","text":"TemporaryFile(/tmp/multipartBody8313685551684328034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350553755,"filename":"image_12072025_21_58_14_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371922978","file1":"1371922955","file0":"1371922930","file4":"1371923027","file5":"1371923052","file3":"1371923002"},"map_files_photo_id_array":[{"photo_id":"1371923052","filename":"file5"},{"photo_id":"1371922978","filename":"file2"},{"photo_id":"1371923027","filename":"file4"},{"photo_id":"1371922955","filename":"file1"},{"photo_id":"1371922930","filename":"file0"},{"photo_id":"1371923002","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371923027":["hashtag1","hashtag2"]},{"1371922955":["hashtag1","hashtag2"]},{"1371922978":["hashtag1","hashtag2"]},{"1371922930":["hashtag1","hashtag2"]},{"1371923002":["hashtag1","hashtag2"]},{"1371923052":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371923027, 1371922955, 1371922978, 1371922930, 1371923002, 1371923052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.72160005569458 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:02:17.559740
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_44_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_24_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_14_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/22/01/image_12072025_22_02_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/22/01/image_12072025_22_01_43_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_44_10640.jpg', '/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_33_9615.jpg', '/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_24_9612.jpg', '/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_14_10660.jpg', '/home/nano/Desktop/images/12072025/22/01/image_12072025_22_02_04_9626.jpg', '/home/nano/Desktop/images/12072025/22/01/image_12072025_22_01_43_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_44_10640.jpg
/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_33_9615.jpg
/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_24_9612.jpg
/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_14_10660.jpg
/home/nano/Desktop/images/12072025/22/01/image_12072025_22_02_04_9626.jpg
/home/nano/Desktop/images/12072025/22/01/image_12072025_22_01_43_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371923828","1371923564","1371923355","1371923762","1371923675","1371923456"],"photo_ids_order":["1371923355","1371923456","1371923564","1371923675","1371923762","1371923828"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d4915a94b1c625b07a92870e821b6f9.jpg","text":"TemporaryFile(/tmp/multipartBody3234056955074357684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350599997,"filename":"image_12072025_22_01_43_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40903664a0fccd5491523489864f4937.jpg","text":"TemporaryFile(/tmp/multipartBody880756028871172245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350599997,"filename":"image_12072025_22_02_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/568e06f17459d259bdd69e41e504444d.jpg","text":"TemporaryFile(/tmp/multipartBody2419333980308225078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350599997,"filename":"image_12072025_22_02_44_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1466c76553cd07f413e83eb5903c0ba1.jpg","text":"TemporaryFile(/tmp/multipartBody3834959927683920550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350599997,"filename":"image_12072025_22_02_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6da868e1cb89aab967227db35fa208a0.jpg","text":"TemporaryFile(/tmp/multipartBody4849703658689788100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350599997,"filename":"image_12072025_22_02_14_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/091569c789bf1076c60f4cbf3a1d0c5a.jpg","text":"TemporaryFile(/tmp/multipartBody3379139930101821490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350599997,"filename":"image_12072025_22_02_33_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371923564","file1":"1371923456","file0":"1371923355","file4":"1371923762","file5":"1371923828","file3":"1371923675"},"map_files_photo_id_array":[{"photo_id":"1371923828","filename":"file5"},{"photo_id":"1371923564","filename":"file2"},{"photo_id":"1371923762","filename":"file4"},{"photo_id":"1371923456","filename":"file1"},{"photo_id":"1371923355","filename":"file0"},{"photo_id":"1371923675","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371923828":["hashtag1","hashtag2"]},{"1371923564":["hashtag1","hashtag2"]},{"1371923355":["hashtag1","hashtag2"]},{"1371923762":["hashtag1","hashtag2"]},{"1371923675":["hashtag1","hashtag2"]},{"1371923456":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371923828, 1371923564, 1371923355, 1371923762, 1371923675, 1371923456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.47176480293274 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:03:17.694965
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_44_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_24_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_14_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_54_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/21/57/image_12072025_21_58_04_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_44_9618.jpg', '/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_34_10623.jpg', '/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_24_9617.jpg', '/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_14_10660.jpg', '/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_54_9630.jpg', '/home/nano/Desktop/images/12072025/21/57/image_12072025_21_58_04_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_44_9618.jpg
/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_34_10623.jpg
/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_24_9617.jpg
/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_14_10660.jpg
/home/nano/Desktop/images/12072025/22/02/image_12072025_22_02_54_9630.jpg
/home/nano/Desktop/images/12072025/21/57/image_12072025_21_58_04_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371924043","1371924046","1371924063","1371924138","1371924045","1371924089"],"photo_ids_order":["1371924043","1371924045","1371924046","1371924063","1371924089","1371924138"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5684e219e17d0afbbe44e77aea00f42f.jpg","text":"TemporaryFile(/tmp/multipartBody1526436581921101629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350659084,"filename":"image_12072025_22_03_44_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef3b92c94ba19b6151f0809ed6d37e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4271024036680783455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350659084,"filename":"image_12072025_22_03_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4c87a6ca784b4f697f5023d2371fd10b.jpg","text":"TemporaryFile(/tmp/multipartBody7653414678922205017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350659084,"filename":"image_12072025_22_03_14_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d91974b05eed37d42b34777191662fe.jpg","text":"TemporaryFile(/tmp/multipartBody7418871472177917648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350659084,"filename":"image_12072025_21_58_04_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84d7a2032cab785f0a31e9289be0a9db.jpg","text":"TemporaryFile(/tmp/multipartBody8386917139964143798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350659084,"filename":"image_12072025_22_03_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ecd1222736f1f7fdaaf4e7dfbaf29d40.jpg","text":"TemporaryFile(/tmp/multipartBody1842515890215684907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350659084,"filename":"image_12072025_22_02_54_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371924046","file1":"1371924045","file0":"1371924043","file4":"1371924089","file5":"1371924138","file3":"1371924063"},"map_files_photo_id_array":[{"photo_id":"1371924138","filename":"file5"},{"photo_id":"1371924046","filename":"file2"},{"photo_id":"1371924089","filename":"file4"},{"photo_id":"1371924045","filename":"file1"},{"photo_id":"1371924043","filename":"file0"},{"photo_id":"1371924063","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371924043":["hashtag1","hashtag2"]},{"1371924046":["hashtag1","hashtag2"]},{"1371924063":["hashtag1","hashtag2"]},{"1371924138":["hashtag1","hashtag2"]},{"1371924045":["hashtag1","hashtag2"]},{"1371924089":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371924043, 1371924046, 1371924063, 1371924138, 1371924045, 1371924089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.683695793151855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:04:02.852406
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/21/57/image_12072025_21_57_54_10620.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371924458"],"photo_id":"1371924458","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c6966014caa74ef9ce70b2f02a71aff.jpg","text":"TemporaryFile(/tmp/multipartBody4682236640061581794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350703374,"filename":"image_12072025_21_57_54_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371924458"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371924458"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.721481800079346 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:04:16.784820
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/04/image_12072025_22_04_44_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/22/04/image_12072025_22_04_34_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/22/04/image_12072025_22_04_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/04/image_12072025_22_04_44_9613.jpg', '/home/nano/Desktop/images/12072025/22/04/image_12072025_22_04_34_10627.jpg', '/home/nano/Desktop/images/12072025/22/04/image_12072025_22_04_23_9609.jpg', '/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/04/image_12072025_22_04_44_9613.jpg
/home/nano/Desktop/images/12072025/22/04/image_12072025_22_04_34_10627.jpg
/home/nano/Desktop/images/12072025/22/04/image_12072025_22_04_23_9609.jpg
/home/nano/Desktop/images/12072025/22/03/image_12072025_22_03_54_9618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371924718","1371924616","1371924666","1371924576"],"photo_ids_order":["1371924576","1371924616","1371924666","1371924718"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2938ce63c01e508d9fbeb85f8e8514e.jpg","text":"TemporaryFile(/tmp/multipartBody7468205838449048716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350717896,"filename":"image_12072025_22_03_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db094bb5b0a401b33fa19b76f53e09a6.jpg","text":"TemporaryFile(/tmp/multipartBody494060067673494876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350717896,"filename":"image_12072025_22_04_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b44711b9f8566738c1d22592e8973412.jpg","text":"TemporaryFile(/tmp/multipartBody2526404319393151362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350717896,"filename":"image_12072025_22_04_23_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c51de1dee18945f1b94c1d03a27325c2.jpg","text":"TemporaryFile(/tmp/multipartBody7438770554482744712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350717896,"filename":"image_12072025_22_04_44_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371924666","file1":"1371924616","file0":"1371924576","file3":"1371924718"},"map_files_photo_id_array":[{"photo_id":"1371924666","filename":"file2"},{"photo_id":"1371924616","filename":"file1"},{"photo_id":"1371924576","filename":"file0"},{"photo_id":"1371924718","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371924718":["hashtag1","hashtag2"]},{"1371924616":["hashtag1","hashtag2"]},{"1371924666":["hashtag1","hashtag2"]},{"1371924576":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371924718, 1371924616, 1371924666, 1371924576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.477497816085815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:04:46.798984
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_43_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_33_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_24_10643.jpg', 2), ('/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_13_9665.jpg', 2), ('/home/nano/Desktop/images/10072025/15/24/image_10072025_15_25_04_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_43_9622.jpg', '/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_33_9628.jpg', '/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_24_10643.jpg', '/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_13_9665.jpg', '/home/nano/Desktop/images/10072025/15/24/image_10072025_15_25_04_9641.jpg', '/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_43_9622.jpg
/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_33_9628.jpg
/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_24_10643.jpg
/home/nano/Desktop/images/10072025/15/25/image_10072025_15_25_13_9665.jpg
/home/nano/Desktop/images/10072025/15/24/image_10072025_15_25_04_9641.jpg
/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_54_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371924892","1371925062","1371924981","1371925035","1371925008","1371924950"],"photo_ids_order":["1371924892","1371924950","1371924981","1371925008","1371925035","1371925062"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf3d4cbe3d319d5b74076195e2bc1d6c.jpg","text":"TemporaryFile(/tmp/multipartBody6800369746032819848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350749984,"filename":"image_10072025_15_25_43_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6eedb0cb5b6e400b0680ce9e8c94c082.jpg","text":"TemporaryFile(/tmp/multipartBody177189940675599988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350749984,"filename":"image_10072025_15_24_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7cf8c19e10a635f358ecab0cfd822d58.jpg","text":"TemporaryFile(/tmp/multipartBody8291480940130057676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350749984,"filename":"image_10072025_15_25_24_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e56ac1caffd1b2e560b38853d542f5d4.jpg","text":"TemporaryFile(/tmp/multipartBody1637784780336899907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350749984,"filename":"image_10072025_15_25_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50c9254200315fd94909317e70c729ab.jpg","text":"TemporaryFile(/tmp/multipartBody4366079963684887341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350749984,"filename":"image_10072025_15_25_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a089af6cd7b28786e402de87caa40b2.jpg","text":"TemporaryFile(/tmp/multipartBody6267883093231063632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350749984,"filename":"image_10072025_15_25_33_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371924981","file1":"1371924950","file0":"1371924892","file4":"1371925035","file5":"1371925062","file3":"1371925008"},"map_files_photo_id_array":[{"photo_id":"1371925062","filename":"file5"},{"photo_id":"1371924981","filename":"file2"},{"photo_id":"1371925035","filename":"file4"},{"photo_id":"1371924950","filename":"file1"},{"photo_id":"1371924892","filename":"file0"},{"photo_id":"1371925008","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371924892":["hashtag1","hashtag2"]},{"1371925062":["hashtag1","hashtag2"]},{"1371924981":["hashtag1","hashtag2"]},{"1371925035":["hashtag1","hashtag2"]},{"1371925008":["hashtag1","hashtag2"]},{"1371924950":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371924892, 1371925062, 1371924981, 1371925035, 1371925008, 1371924950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57855939865112 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:05:31.908042
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_43_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_24_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/22/04/image_12072025_22_05_04_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/22/04/image_12072025_22_04_54_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_43_9619.jpg', '/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_34_9610.jpg', '/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_24_10624.jpg', '/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_14_9631.jpg', '/home/nano/Desktop/images/12072025/22/04/image_12072025_22_05_04_9625.jpg', '/home/nano/Desktop/images/12072025/22/04/image_12072025_22_04_54_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_43_9619.jpg
/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_34_9610.jpg
/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_24_10624.jpg
/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_14_9631.jpg
/home/nano/Desktop/images/12072025/22/04/image_12072025_22_05_04_9625.jpg
/home/nano/Desktop/images/12072025/22/04/image_12072025_22_04_54_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371925398","1371925200","1371925256","1371925301","1371925447","1371925348"],"photo_ids_order":["1371925200","1371925256","1371925301","1371925348","1371925398","1371925447"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ca5ca0dbb645c08cfe02bb99eada1b89.jpg","text":"TemporaryFile(/tmp/multipartBody3602703345176550144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350793385,"filename":"image_12072025_22_05_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ac77236c3ad4414ce3adcc1ef1413b6.jpg","text":"TemporaryFile(/tmp/multipartBody7500246961840511429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350793385,"filename":"image_12072025_22_05_43_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad4ae9dbc3c4445af234bbe087b988fe.jpg","text":"TemporaryFile(/tmp/multipartBody966359159395318565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350793385,"filename":"image_12072025_22_05_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb396ed81f17593f53c0033c3d631af3.jpg","text":"TemporaryFile(/tmp/multipartBody5416010376692902961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350793385,"filename":"image_12072025_22_05_24_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5a45fcdd87bd30e512c5680dbf52515.jpg","text":"TemporaryFile(/tmp/multipartBody5477240223567530741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350793385,"filename":"image_12072025_22_04_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d169a2ee96fb7fe28c658eaa0d252497.jpg","text":"TemporaryFile(/tmp/multipartBody655342924198757544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350793385,"filename":"image_12072025_22_05_14_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371925301","file1":"1371925256","file0":"1371925200","file4":"1371925398","file5":"1371925447","file3":"1371925348"},"map_files_photo_id_array":[{"photo_id":"1371925447","filename":"file5"},{"photo_id":"1371925301","filename":"file2"},{"photo_id":"1371925398","filename":"file4"},{"photo_id":"1371925256","filename":"file1"},{"photo_id":"1371925200","filename":"file0"},{"photo_id":"1371925348","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371925398":["hashtag1","hashtag2"]},{"1371925200":["hashtag1","hashtag2"]},{"1371925256":["hashtag1","hashtag2"]},{"1371925301":["hashtag1","hashtag2"]},{"1371925447":["hashtag1","hashtag2"]},{"1371925348":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371925398, 1371925200, 1371925256, 1371925301, 1371925447, 1371925348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.238613605499268 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:06:17.057667
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_34_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_14_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/22/05/image_12072025_22_06_04_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_54_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_44_10622.jpg', '/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_34_9614.jpg', '/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_14_10642.jpg', '/home/nano/Desktop/images/12072025/22/05/image_12072025_22_06_04_9612.jpg', '/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_54_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_44_10622.jpg
/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_34_9614.jpg
/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_14_10642.jpg
/home/nano/Desktop/images/12072025/22/05/image_12072025_22_06_04_9612.jpg
/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_54_10624.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6985235214233398 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:06:32.024019
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_34_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_14_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/22/05/image_12072025_22_06_04_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_54_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_44_10622.jpg', '/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_34_9614.jpg', '/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_14_10642.jpg', '/home/nano/Desktop/images/12072025/22/05/image_12072025_22_06_04_9612.jpg', '/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_54_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_44_10622.jpg
/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_34_9614.jpg
/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_14_10642.jpg
/home/nano/Desktop/images/12072025/22/05/image_12072025_22_06_04_9612.jpg
/home/nano/Desktop/images/12072025/22/05/image_12072025_22_05_54_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371926574","1371926579","1371926456","1371926068","1371926347"],"photo_ids_order":["1371926068","1371926347","1371926456","1371926574","1371926579"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52095a20687f00e5aee51dcbccd552fa.jpg","text":"TemporaryFile(/tmp/multipartBody15024515913391166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350854168,"filename":"image_12072025_22_06_04_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2fdfda64af35d67637009d2b6541314.jpg","text":"TemporaryFile(/tmp/multipartBody1498004604787973009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350854168,"filename":"image_12072025_22_05_54_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8fe29d1702581ad806e81a7668213b8.jpg","text":"TemporaryFile(/tmp/multipartBody7422065627193173920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350854168,"filename":"image_12072025_22_06_14_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8be2b4ead1d577d8dd08f50798c700a.jpg","text":"TemporaryFile(/tmp/multipartBody4216865144789818765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350854168,"filename":"image_12072025_22_06_44_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e61c353bf69dc2cf62864e31723d6440.jpg","text":"TemporaryFile(/tmp/multipartBody6291428267176099603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350854168,"filename":"image_12072025_22_06_34_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371926456","file1":"1371926347","file0":"1371926068","file4":"1371926579","file3":"1371926574"},"map_files_photo_id_array":[{"photo_id":"1371926456","filename":"file2"},{"photo_id":"1371926579","filename":"file4"},{"photo_id":"1371926347","filename":"file1"},{"photo_id":"1371926068","filename":"file0"},{"photo_id":"1371926574","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371926574":["hashtag1","hashtag2"]},{"1371926579":["hashtag1","hashtag2"]},{"1371926456":["hashtag1","hashtag2"]},{"1371926068":["hashtag1","hashtag2"]},{"1371926347":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371926574, 1371926579, 1371926456, 1371926068, 1371926347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 37.38210701942444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:07:17.123216
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_44_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_34_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_24_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_14_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/22/06/image_12072025_22_07_03_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_54_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_44_9626.jpg', '/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_34_10624.jpg', '/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_24_9621.jpg', '/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_14_10645.jpg', '/home/nano/Desktop/images/12072025/22/06/image_12072025_22_07_03_9614.jpg', '/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_44_9626.jpg
/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_34_10624.jpg
/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_24_9621.jpg
/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_14_10645.jpg
/home/nano/Desktop/images/12072025/22/06/image_12072025_22_07_03_9614.jpg
/home/nano/Desktop/images/12072025/22/06/image_12072025_22_06_54_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371926888","1371926780","1371926849","1371926804","1371926875","1371926889"],"photo_ids_order":["1371926780","1371926804","1371926849","1371926875","1371926888","1371926889"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e364aa05afb4dd0ea547e807382f9cd.jpg","text":"TemporaryFile(/tmp/multipartBody7684526564979356423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350899251,"filename":"image_12072025_22_07_03_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16567c0d1c57ef4aa5909679f1d2a865.jpg","text":"TemporaryFile(/tmp/multipartBody1088162849582182743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350899251,"filename":"image_12072025_22_07_44_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c146f844b2ceca692eee77f9344c2eb.jpg","text":"TemporaryFile(/tmp/multipartBody8144066329942984153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350899251,"filename":"image_12072025_22_07_24_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b39ded8804c70e2fa66c01d66a1767c.jpg","text":"TemporaryFile(/tmp/multipartBody3431374522314440449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350899251,"filename":"image_12072025_22_07_34_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b92266924035ec7e0a4ae18200944d53.jpg","text":"TemporaryFile(/tmp/multipartBody3845464061381289759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350899251,"filename":"image_12072025_22_07_14_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b1c8af18be8f8015174ea9a05eec908e.jpg","text":"TemporaryFile(/tmp/multipartBody6440454090291511601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350899251,"filename":"image_12072025_22_06_54_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371926849","file1":"1371926804","file0":"1371926780","file4":"1371926888","file5":"1371926889","file3":"1371926875"},"map_files_photo_id_array":[{"photo_id":"1371926889","filename":"file5"},{"photo_id":"1371926849","filename":"file2"},{"photo_id":"1371926888","filename":"file4"},{"photo_id":"1371926804","filename":"file1"},{"photo_id":"1371926780","filename":"file0"},{"photo_id":"1371926875","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371926888":["hashtag1","hashtag2"]},{"1371926780":["hashtag1","hashtag2"]},{"1371926849":["hashtag1","hashtag2"]},{"1371926804":["hashtag1","hashtag2"]},{"1371926875":["hashtag1","hashtag2"]},{"1371926889":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371926888, 1371926780, 1371926849, 1371926804, 1371926875, 1371926889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.291088819503784 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:08:02.677601
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_43_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_34_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_24_10634.jpg', 2), ('/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_13_9674.jpg', 2), ('/home/nano/Desktop/images/10072025/15/23/image_10072025_15_24_04_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/15/23/image_10072025_15_23_54_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_43_9630.jpg', '/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_34_9629.jpg', '/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_24_10634.jpg', '/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_13_9674.jpg', '/home/nano/Desktop/images/10072025/15/23/image_10072025_15_24_04_9650.jpg', '/home/nano/Desktop/images/10072025/15/23/image_10072025_15_23_54_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_43_9630.jpg
/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_34_9629.jpg
/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_24_10634.jpg
/home/nano/Desktop/images/10072025/15/24/image_10072025_15_24_13_9674.jpg
/home/nano/Desktop/images/10072025/15/23/image_10072025_15_24_04_9650.jpg
/home/nano/Desktop/images/10072025/15/23/image_10072025_15_23_54_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371926979","1371926975","1371926978","1371926980","1371926974","1371926977"],"photo_ids_order":["1371926974","1371926975","1371926977","1371926978","1371926979","1371926980"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66498141d58463132d5ccec0b60bdada.jpg","text":"TemporaryFile(/tmp/multipartBody2295787862509946428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350946194,"filename":"image_10072025_15_24_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a11f0c80e00c30696167c487b59f53c9.jpg","text":"TemporaryFile(/tmp/multipartBody1292927538230997182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350946194,"filename":"image_10072025_15_24_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/441d9ef2b8a542eac144643183e96ed7.jpg","text":"TemporaryFile(/tmp/multipartBody4432281768279396292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350946194,"filename":"image_10072025_15_24_13_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e8ee0a68281232f555e61df11e99e621.jpg","text":"TemporaryFile(/tmp/multipartBody226099574193373935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350946194,"filename":"image_10072025_15_23_54_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ceb5e0d5ae6e0d6f6fa7fa20c78881a.jpg","text":"TemporaryFile(/tmp/multipartBody4495588539731737236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350946194,"filename":"image_10072025_15_24_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d98c874d685cd22f779ee798a9b03bef.jpg","text":"TemporaryFile(/tmp/multipartBody2959149040890043005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350946194,"filename":"image_10072025_15_24_24_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371926977","file1":"1371926975","file0":"1371926974","file4":"1371926979","file5":"1371926980","file3":"1371926978"},"map_files_photo_id_array":[{"photo_id":"1371926980","filename":"file5"},{"photo_id":"1371926977","filename":"file2"},{"photo_id":"1371926979","filename":"file4"},{"photo_id":"1371926975","filename":"file1"},{"photo_id":"1371926974","filename":"file0"},{"photo_id":"1371926978","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371926979":["hashtag1","hashtag2"]},{"1371926975":["hashtag1","hashtag2"]},{"1371926978":["hashtag1","hashtag2"]},{"1371926980":["hashtag1","hashtag2"]},{"1371926974":["hashtag1","hashtag2"]},{"1371926977":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371926979, 1371926975, 1371926978, 1371926980, 1371926974, 1371926977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.760247707366943 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:08:47.179814
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_34_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_23_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_14_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/22/07/image_12072025_22_08_04_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_54_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_44_9616.jpg', '/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_34_10624.jpg', '/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_23_9617.jpg', '/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_14_9624.jpg', '/home/nano/Desktop/images/12072025/22/07/image_12072025_22_08_04_10649.jpg', '/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_54_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_44_9616.jpg
/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_34_10624.jpg
/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_23_9617.jpg
/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_14_9624.jpg
/home/nano/Desktop/images/12072025/22/07/image_12072025_22_08_04_10649.jpg
/home/nano/Desktop/images/12072025/22/07/image_12072025_22_07_54_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371926987","1371926984","1371926983","1371926986","1371926988","1371926982"],"photo_ids_order":["1371926982","1371926983","1371926984","1371926986","1371926987","1371926988"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/927d0528be991176b92c20f3e76a94ac.jpg","text":"TemporaryFile(/tmp/multipartBody6518581409586694562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350988932,"filename":"image_12072025_22_08_04_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ccc8f2a21aedf93a11be612d408d69b.jpg","text":"TemporaryFile(/tmp/multipartBody3110840459708174557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350988932,"filename":"image_12072025_22_08_23_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2408f22820aa2aaeac8390a4a8b92dc.jpg","text":"TemporaryFile(/tmp/multipartBody2544180037736178924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350988932,"filename":"image_12072025_22_08_34_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/297d2f30e6eb4b6bb230b51b5a2597e6.jpg","text":"TemporaryFile(/tmp/multipartBody8770674357446454450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350988932,"filename":"image_12072025_22_08_14_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88d92886dc0c5c22f3275740caf02624.jpg","text":"TemporaryFile(/tmp/multipartBody8270189187191211369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350988932,"filename":"image_12072025_22_07_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd32d43b4ff2ff9149faeb29b5a80de6.jpg","text":"TemporaryFile(/tmp/multipartBody763019616242378740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752350988932,"filename":"image_12072025_22_08_44_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371926984","file1":"1371926983","file0":"1371926982","file4":"1371926987","file5":"1371926988","file3":"1371926986"},"map_files_photo_id_array":[{"photo_id":"1371926988","filename":"file5"},{"photo_id":"1371926984","filename":"file2"},{"photo_id":"1371926987","filename":"file4"},{"photo_id":"1371926983","filename":"file1"},{"photo_id":"1371926982","filename":"file0"},{"photo_id":"1371926986","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371926987":["hashtag1","hashtag2"]},{"1371926984":["hashtag1","hashtag2"]},{"1371926983":["hashtag1","hashtag2"]},{"1371926986":["hashtag1","hashtag2"]},{"1371926988":["hashtag1","hashtag2"]},{"1371926982":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371926987, 1371926984, 1371926983, 1371926986, 1371926988, 1371926982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.191802978515625 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:09:47.314176
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_43_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_34_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_24_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_14_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/22/08/image_12072025_22_09_04_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_43_9611.jpg', '/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_34_9618.jpg', '/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_24_10627.jpg', '/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_14_9628.jpg', '/home/nano/Desktop/images/12072025/22/08/image_12072025_22_09_04_9620.jpg', '/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_43_9611.jpg
/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_34_9618.jpg
/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_24_10627.jpg
/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_14_9628.jpg
/home/nano/Desktop/images/12072025/22/08/image_12072025_22_09_04_9620.jpg
/home/nano/Desktop/images/12072025/22/08/image_12072025_22_08_54_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371927009","1371927076","1371927229","1371927007","1371927282","1371927138"],"photo_ids_order":["1371927007","1371927009","1371927076","1371927138","1371927229","1371927282"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d1d8f5abdf3f26ba9dd5ddc871d9ae5.jpg","text":"TemporaryFile(/tmp/multipartBody629609631502987626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351049462,"filename":"image_12072025_22_09_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e840ca2fea867187dee057054afd392c.jpg","text":"TemporaryFile(/tmp/multipartBody89208325622153685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351049462,"filename":"image_12072025_22_09_24_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cdf2c065ccb98bbe7f45ad12fb0f11c5.jpg","text":"TemporaryFile(/tmp/multipartBody2689619289054688630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351049462,"filename":"image_12072025_22_09_04_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/247a447163ab5e86e68e75934ddcf3a0.jpg","text":"TemporaryFile(/tmp/multipartBody7475142263317080332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351049462,"filename":"image_12072025_22_09_43_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fb1cde89af90abaf435a17837efc10c.jpg","text":"TemporaryFile(/tmp/multipartBody1284548306371683240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351049462,"filename":"image_12072025_22_08_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be015cd4ae766bd06a6f30388f41ac31.jpg","text":"TemporaryFile(/tmp/multipartBody5705133233263225349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351049462,"filename":"image_12072025_22_09_14_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371927076","file1":"1371927009","file0":"1371927007","file4":"1371927229","file5":"1371927282","file3":"1371927138"},"map_files_photo_id_array":[{"photo_id":"1371927282","filename":"file5"},{"photo_id":"1371927076","filename":"file2"},{"photo_id":"1371927229","filename":"file4"},{"photo_id":"1371927009","filename":"file1"},{"photo_id":"1371927007","filename":"file0"},{"photo_id":"1371927138","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371927009":["hashtag1","hashtag2"]},{"1371927076":["hashtag1","hashtag2"]},{"1371927229":["hashtag1","hashtag2"]},{"1371927007":["hashtag1","hashtag2"]},{"1371927282":["hashtag1","hashtag2"]},{"1371927138":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371927009, 1371927076, 1371927229, 1371927007, 1371927282, 1371927138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.95467257499695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:11:03.236941
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_34_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_24_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_13_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/22/09/image_12072025_22_10_04_9648.jpg', 2), ('/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_44_10621.jpg', '/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_34_9614.jpg', '/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_24_10623.jpg', '/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_13_9651.jpg', '/home/nano/Desktop/images/12072025/22/09/image_12072025_22_10_04_9648.jpg', '/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_44_10621.jpg
/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_34_9614.jpg
/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_24_10623.jpg
/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_13_9651.jpg
/home/nano/Desktop/images/12072025/22/09/image_12072025_22_10_04_9648.jpg
/home/nano/Desktop/images/12072025/22/09/image_12072025_22_09_54_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371927596","1371927572","1371927496","1371927469","1371927523","1371927549"],"photo_ids_order":["1371927469","1371927496","1371927523","1371927549","1371927572","1371927596"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc28fa3fa5881d07e1797f391a107a20.jpg","text":"TemporaryFile(/tmp/multipartBody4052645736113168170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351125179,"filename":"image_12072025_22_09_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a141f8036514acb13414ae9073a050c.jpg","text":"TemporaryFile(/tmp/multipartBody2676942914716675480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351125179,"filename":"image_12072025_22_10_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b727e929953f1d45138d27d5678bedae.jpg","text":"TemporaryFile(/tmp/multipartBody777494885033762556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351125179,"filename":"image_12072025_22_10_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76eeb49600d68b0fda3d9b65b9e5b398.jpg","text":"TemporaryFile(/tmp/multipartBody7306023599111688673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351125179,"filename":"image_12072025_22_10_44_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b879330cdfed5b268fe5ad6f3f7db0b.jpg","text":"TemporaryFile(/tmp/multipartBody3208185675856010171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351125179,"filename":"image_12072025_22_10_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3cd00ce060d369c7678a15e86f29618.jpg","text":"TemporaryFile(/tmp/multipartBody2258499791258245434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351125179,"filename":"image_12072025_22_10_13_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371927523","file1":"1371927496","file0":"1371927469","file4":"1371927572","file5":"1371927596","file3":"1371927549"},"map_files_photo_id_array":[{"photo_id":"1371927596","filename":"file5"},{"photo_id":"1371927523","filename":"file2"},{"photo_id":"1371927572","filename":"file4"},{"photo_id":"1371927496","filename":"file1"},{"photo_id":"1371927469","filename":"file0"},{"photo_id":"1371927549","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371927596":["hashtag1","hashtag2"]},{"1371927572":["hashtag1","hashtag2"]},{"1371927496":["hashtag1","hashtag2"]},{"1371927469":["hashtag1","hashtag2"]},{"1371927523":["hashtag1","hashtag2"]},{"1371927549":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371927596, 1371927572, 1371927496, 1371927469, 1371927523, 1371927549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.095001459121704 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:11:47.492884
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_44_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_24_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/22/10/image_12072025_22_11_03_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_44_9631.jpg', '/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_34_10623.jpg', '/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_24_9610.jpg', '/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_14_10639.jpg', '/home/nano/Desktop/images/12072025/22/10/image_12072025_22_11_03_9626.jpg', '/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_44_9631.jpg
/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_34_10623.jpg
/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_24_9610.jpg
/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_14_10639.jpg
/home/nano/Desktop/images/12072025/22/10/image_12072025_22_11_03_9626.jpg
/home/nano/Desktop/images/12072025/22/10/image_12072025_22_10_54_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371927866","1371928420","1371928599","1371927916","1371927975","1371928571"],"photo_ids_order":["1371927866","1371927916","1371927975","1371928420","1371928571","1371928599"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8fb7130316df2cfe927e1e1b079df989.jpg","text":"TemporaryFile(/tmp/multipartBody299672714467783777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351169269,"filename":"image_12072025_22_11_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f382199ac14093a19575177d76628b0.jpg","text":"TemporaryFile(/tmp/multipartBody3024750836721318485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351169269,"filename":"image_12072025_22_11_14_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ab7010981197a0c2b50bb652816911a.jpg","text":"TemporaryFile(/tmp/multipartBody5300034312046211667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351169269,"filename":"image_12072025_22_10_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e635aa9684e5f18422adcba6e69dfa6e.jpg","text":"TemporaryFile(/tmp/multipartBody6182365955859149695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351169269,"filename":"image_12072025_22_11_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a775e66584258469a39eb7df1d733cb.jpg","text":"TemporaryFile(/tmp/multipartBody2775758770920842119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351169269,"filename":"image_12072025_22_11_24_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e685ea25ffe1fb08028b77becae3190.jpg","text":"TemporaryFile(/tmp/multipartBody6653605414465430636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351169269,"filename":"image_12072025_22_11_03_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371927975","file1":"1371927916","file0":"1371927866","file4":"1371928571","file5":"1371928599","file3":"1371928420"},"map_files_photo_id_array":[{"photo_id":"1371928599","filename":"file5"},{"photo_id":"1371927975","filename":"file2"},{"photo_id":"1371928571","filename":"file4"},{"photo_id":"1371927916","filename":"file1"},{"photo_id":"1371927866","filename":"file0"},{"photo_id":"1371928420","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371927866":["hashtag1","hashtag2"]},{"1371928420":["hashtag1","hashtag2"]},{"1371928599":["hashtag1","hashtag2"]},{"1371927916":["hashtag1","hashtag2"]},{"1371927975":["hashtag1","hashtag2"]},{"1371928571":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371927866, 1371928420, 1371928599, 1371927916, 1371927975, 1371928571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.87676811218262 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:12:47.602443
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_44_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_34_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_14_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/22/11/image_12072025_22_12_04_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_44_9629.jpg', '/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_34_10624.jpg', '/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_23_9609.jpg', '/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_14_9646.jpg', '/home/nano/Desktop/images/12072025/22/11/image_12072025_22_12_04_10642.jpg', '/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_44_9629.jpg
/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_34_10624.jpg
/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_23_9609.jpg
/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_14_9646.jpg
/home/nano/Desktop/images/12072025/22/11/image_12072025_22_12_04_10642.jpg
/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_54_9626.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.653398036956787 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:13:03.345102
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_44_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_34_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_14_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/22/11/image_12072025_22_12_04_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_44_9629.jpg', '/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_34_10624.jpg', '/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_23_9609.jpg', '/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_14_9646.jpg', '/home/nano/Desktop/images/12072025/22/11/image_12072025_22_12_04_10642.jpg', '/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_44_9629.jpg
/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_34_10624.jpg
/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_23_9609.jpg
/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_14_9646.jpg
/home/nano/Desktop/images/12072025/22/11/image_12072025_22_12_04_10642.jpg
/home/nano/Desktop/images/12072025/22/11/image_12072025_22_11_54_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371929108","1371929242","1371929059","1371929338","1371929288","1371929156"],"photo_ids_order":["1371929059","1371929108","1371929156","1371929242","1371929288","1371929338"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59863531d580c8b3b1f00ab0ed425ca6.jpg","text":"TemporaryFile(/tmp/multipartBody6601693463870967989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351245003,"filename":"image_12072025_22_12_34_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a3654e53916eeb8a14f1ca183ca3078.jpg","text":"TemporaryFile(/tmp/multipartBody4585430083979155915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351245003,"filename":"image_12072025_22_12_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d1b84b5527cce55ab5601ddd895831d.jpg","text":"TemporaryFile(/tmp/multipartBody8095949109800917143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351245003,"filename":"image_12072025_22_12_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fac462309b24da9119cd17b2adb1e8ef.jpg","text":"TemporaryFile(/tmp/multipartBody3442831958521400514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351245003,"filename":"image_12072025_22_11_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/814e465637bf680b1fc463d3f94da2a8.jpg","text":"TemporaryFile(/tmp/multipartBody5193747689365596346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351245003,"filename":"image_12072025_22_12_04_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/317829da23128aec381f70fd7104e6b1.jpg","text":"TemporaryFile(/tmp/multipartBody7563230135148890001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351245003,"filename":"image_12072025_22_12_23_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371929156","file1":"1371929108","file0":"1371929059","file4":"1371929288","file5":"1371929338","file3":"1371929242"},"map_files_photo_id_array":[{"photo_id":"1371929338","filename":"file5"},{"photo_id":"1371929156","filename":"file2"},{"photo_id":"1371929288","filename":"file4"},{"photo_id":"1371929108","filename":"file1"},{"photo_id":"1371929059","filename":"file0"},{"photo_id":"1371929242","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371929108":["hashtag1","hashtag2"]},{"1371929242":["hashtag1","hashtag2"]},{"1371929059":["hashtag1","hashtag2"]},{"1371929338":["hashtag1","hashtag2"]},{"1371929288":["hashtag1","hashtag2"]},{"1371929156":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371929108, 1371929242, 1371929059, 1371929338, 1371929288, 1371929156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2645628452301 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:13:47.709350
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/13/image_12072025_22_13_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/22/13/image_12072025_22_13_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/22/12/image_12072025_22_13_04_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_53_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/13/image_12072025_22_13_24_10625.jpg', '/home/nano/Desktop/images/12072025/22/13/image_12072025_22_13_14_9631.jpg', '/home/nano/Desktop/images/12072025/22/12/image_12072025_22_13_04_10623.jpg', '/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_53_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/13/image_12072025_22_13_24_10625.jpg
/home/nano/Desktop/images/12072025/22/13/image_12072025_22_13_14_9631.jpg
/home/nano/Desktop/images/12072025/22/12/image_12072025_22_13_04_10623.jpg
/home/nano/Desktop/images/12072025/22/12/image_12072025_22_12_53_9615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371929440","1371929481","1371929390","1371929414"],"photo_ids_order":["1371929390","1371929414","1371929440","1371929481"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cee6e4ef3f44bc539228d03b47915559.jpg","text":"TemporaryFile(/tmp/multipartBody7829717506893171659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351289194,"filename":"image_12072025_22_13_04_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cfc5d4cc996cce0c49113c2576360396.jpg","text":"TemporaryFile(/tmp/multipartBody2829519654175559742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351289194,"filename":"image_12072025_22_12_53_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a58dba47177bbc62e35725a308693bdc.jpg","text":"TemporaryFile(/tmp/multipartBody2722337170093222677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351289194,"filename":"image_12072025_22_13_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5f139bbb5bd6a50a5b080e7f824c000c.jpg","text":"TemporaryFile(/tmp/multipartBody4265927976612546053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351289194,"filename":"image_12072025_22_13_14_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371929440","file1":"1371929414","file0":"1371929390","file3":"1371929481"},"map_files_photo_id_array":[{"photo_id":"1371929440","filename":"file2"},{"photo_id":"1371929414","filename":"file1"},{"photo_id":"1371929390","filename":"file0"},{"photo_id":"1371929481","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371929440":["hashtag1","hashtag2"]},{"1371929481":["hashtag1","hashtag2"]},{"1371929390":["hashtag1","hashtag2"]},{"1371929414":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371929440, 1371929481, 1371929390, 1371929414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.72220516204834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:14:16.821449
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_44_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_34_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_24_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_13_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/22/13/image_12072025_22_13_34_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_44_10627.jpg', '/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_34_9616.jpg', '/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_24_10633.jpg', '/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_13_9634.jpg', '/home/nano/Desktop/images/12072025/22/13/image_12072025_22_13_34_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_44_10627.jpg
/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_34_9616.jpg
/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_24_10633.jpg
/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_13_9634.jpg
/home/nano/Desktop/images/12072025/22/13/image_12072025_22_13_34_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371929871","1371929718","1371929897","1371929843","1371929786"],"photo_ids_order":["1371929718","1371929786","1371929843","1371929871","1371929897"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cae1ef6ea35a906defab7f770b95bc1e.jpg","text":"TemporaryFile(/tmp/multipartBody6595890276584667124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351318311,"filename":"image_12072025_22_14_13_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63a6951b8b5e1e5746786b7e58697878.jpg","text":"TemporaryFile(/tmp/multipartBody3105919627846092977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351318311,"filename":"image_12072025_22_14_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c9e1f35739ce6b14fb2df6bacec8447.jpg","text":"TemporaryFile(/tmp/multipartBody3693152095503166848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351318311,"filename":"image_12072025_22_13_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8ce17fe6f61f0ef1b10d3926698e3ac.jpg","text":"TemporaryFile(/tmp/multipartBody1201355337235321923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351318311,"filename":"image_12072025_22_14_24_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3b87d6a926686b5d97437c34321f055.jpg","text":"TemporaryFile(/tmp/multipartBody8873045352890579088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351318311,"filename":"image_12072025_22_14_34_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371929843","file1":"1371929786","file0":"1371929718","file4":"1371929897","file3":"1371929871"},"map_files_photo_id_array":[{"photo_id":"1371929843","filename":"file2"},{"photo_id":"1371929897","filename":"file4"},{"photo_id":"1371929786","filename":"file1"},{"photo_id":"1371929718","filename":"file0"},{"photo_id":"1371929871","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371929871":["hashtag1","hashtag2"]},{"1371929718":["hashtag1","hashtag2"]},{"1371929897":["hashtag1","hashtag2"]},{"1371929843":["hashtag1","hashtag2"]},{"1371929786":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371929871, 1371929718, 1371929897, 1371929843, 1371929786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.44111204147339 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:14:46.813594
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/23/image_10072025_15_23_43_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/15/23/image_10072025_15_23_34_10628.jpg', 2), ('/home/nano/Desktop/images/10072025/15/23/image_10072025_15_23_14_9646.jpg', 2), ('/home/nano/Desktop/images/10072025/15/22/image_10072025_15_23_04_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_53_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_44_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/23/image_10072025_15_23_43_9620.jpg', '/home/nano/Desktop/images/10072025/15/23/image_10072025_15_23_34_10628.jpg', '/home/nano/Desktop/images/10072025/15/23/image_10072025_15_23_14_9646.jpg', '/home/nano/Desktop/images/10072025/15/22/image_10072025_15_23_04_10647.jpg', '/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_53_9639.jpg', '/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_44_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/23/image_10072025_15_23_43_9620.jpg
/home/nano/Desktop/images/10072025/15/23/image_10072025_15_23_34_10628.jpg
/home/nano/Desktop/images/10072025/15/23/image_10072025_15_23_14_9646.jpg
/home/nano/Desktop/images/10072025/15/22/image_10072025_15_23_04_10647.jpg
/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_53_9639.jpg
/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_44_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371930233","1371930205","1371930180","1371930096","1371930144","1371930072"],"photo_ids_order":["1371930072","1371930096","1371930144","1371930180","1371930205","1371930233"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/165d1491bf6c899466ea33722123b76b.jpg","text":"TemporaryFile(/tmp/multipartBody412339984673282919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351350754,"filename":"image_10072025_15_22_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbc3319361deb22ea546f957592c8cd9.jpg","text":"TemporaryFile(/tmp/multipartBody186898316920128421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351350754,"filename":"image_10072025_15_22_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86f9acc3f650d5a03317522149564ef3.jpg","text":"TemporaryFile(/tmp/multipartBody8061824288696442182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351350754,"filename":"image_10072025_15_23_04_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe6bab74d9b30a3c0c360e2e9980b603.jpg","text":"TemporaryFile(/tmp/multipartBody2773820542413515648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351350754,"filename":"image_10072025_15_23_34_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/636805f28b772dfc1e6c86771c2ad0cc.jpg","text":"TemporaryFile(/tmp/multipartBody4392885983012238198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351350754,"filename":"image_10072025_15_23_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44a8537563f3ab71918e1a7e2d6c1848.jpg","text":"TemporaryFile(/tmp/multipartBody360769036329788660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351350754,"filename":"image_10072025_15_23_43_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371930144","file1":"1371930096","file0":"1371930072","file4":"1371930205","file5":"1371930233","file3":"1371930180"},"map_files_photo_id_array":[{"photo_id":"1371930233","filename":"file5"},{"photo_id":"1371930144","filename":"file2"},{"photo_id":"1371930205","filename":"file4"},{"photo_id":"1371930096","filename":"file1"},{"photo_id":"1371930072","filename":"file0"},{"photo_id":"1371930180","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371930233":["hashtag1","hashtag2"]},{"1371930205":["hashtag1","hashtag2"]},{"1371930180":["hashtag1","hashtag2"]},{"1371930096":["hashtag1","hashtag2"]},{"1371930144":["hashtag1","hashtag2"]},{"1371930072":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371930233, 1371930205, 1371930180, 1371930096, 1371930144, 1371930072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99836564064026 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:15:31.915019
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_33_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_24_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_14_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/22/14/image_12072025_22_15_03_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_54_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_44_10622.jpg', '/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_33_9616.jpg', '/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_24_9620.jpg', '/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_14_10660.jpg', '/home/nano/Desktop/images/12072025/22/14/image_12072025_22_15_03_9612.jpg', '/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_54_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_44_10622.jpg
/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_33_9616.jpg
/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_24_9620.jpg
/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_14_10660.jpg
/home/nano/Desktop/images/12072025/22/14/image_12072025_22_15_03_9612.jpg
/home/nano/Desktop/images/12072025/22/14/image_12072025_22_14_54_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371930491","1371931093","1371930728","1371931012","1371930850","1371930612"],"photo_ids_order":["1371930491","1371930612","1371930728","1371930850","1371931012","1371931093"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6fd1fbeecd066edff97ddb1fda4c98c.jpg","text":"TemporaryFile(/tmp/multipartBody7030288450526143765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351394219,"filename":"image_12072025_22_15_44_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd235852f1893b27443161054ba421a1.jpg","text":"TemporaryFile(/tmp/multipartBody3996020705649967718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351394219,"filename":"image_12072025_22_14_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/931931da29c38e1acaa9e3666fbfed74.jpg","text":"TemporaryFile(/tmp/multipartBody4751877971336790458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351394219,"filename":"image_12072025_22_15_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ceb03360fec797085dbb2afe0885e12.jpg","text":"TemporaryFile(/tmp/multipartBody3577106198646640613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351394219,"filename":"image_12072025_22_15_03_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/43e2ffd022562f26f98393c5093f2189.jpg","text":"TemporaryFile(/tmp/multipartBody533949534897827457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351394219,"filename":"image_12072025_22_15_14_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c16c8e7aafa2acfc858f16703f948381.jpg","text":"TemporaryFile(/tmp/multipartBody661221500080663254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351394219,"filename":"image_12072025_22_15_33_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371930728","file1":"1371930612","file0":"1371930491","file4":"1371931012","file5":"1371931093","file3":"1371930850"},"map_files_photo_id_array":[{"photo_id":"1371931093","filename":"file5"},{"photo_id":"1371930728","filename":"file2"},{"photo_id":"1371931012","filename":"file4"},{"photo_id":"1371930612","filename":"file1"},{"photo_id":"1371930491","filename":"file0"},{"photo_id":"1371930850","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371930491":["hashtag1","hashtag2"]},{"1371931093":["hashtag1","hashtag2"]},{"1371930728":["hashtag1","hashtag2"]},{"1371931012":["hashtag1","hashtag2"]},{"1371930850":["hashtag1","hashtag2"]},{"1371930612":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371930491, 1371931093, 1371930728, 1371931012, 1371930850, 1371930612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.89760494232178 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:16:32.029638
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/16/image_12072025_22_16_44_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/22/16/image_12072025_22_16_34_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/22/16/image_12072025_22_16_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_54_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/16/image_12072025_22_16_44_9608.jpg', '/home/nano/Desktop/images/12072025/22/16/image_12072025_22_16_34_10627.jpg', '/home/nano/Desktop/images/12072025/22/16/image_12072025_22_16_14_9631.jpg', '/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/16/image_12072025_22_16_44_9608.jpg
/home/nano/Desktop/images/12072025/22/16/image_12072025_22_16_34_10627.jpg
/home/nano/Desktop/images/12072025/22/16/image_12072025_22_16_14_9631.jpg
/home/nano/Desktop/images/12072025/22/15/image_12072025_22_15_54_9614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371931619","1371931414","1371931341","1371931484"],"photo_ids_order":["1371931341","1371931414","1371931484","1371931619"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/562c51defc59a2fea51a1be88057f03b.jpg","text":"TemporaryFile(/tmp/multipartBody5181678737270365385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351453596,"filename":"image_12072025_22_15_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5d1ff3a7a25ceb6a43359f27d4f6328.jpg","text":"TemporaryFile(/tmp/multipartBody1450230575532875245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351453596,"filename":"image_12072025_22_16_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35a1ba86a0b1187af29ed706ba41363a.jpg","text":"TemporaryFile(/tmp/multipartBody8303701406303042716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351453596,"filename":"image_12072025_22_16_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee6b2ad2a76aaa3b645b6a7f38d42759.jpg","text":"TemporaryFile(/tmp/multipartBody4499905886945505271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351453596,"filename":"image_12072025_22_16_14_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371931484","file1":"1371931414","file0":"1371931341","file3":"1371931619"},"map_files_photo_id_array":[{"photo_id":"1371931484","filename":"file2"},{"photo_id":"1371931414","filename":"file1"},{"photo_id":"1371931341","filename":"file0"},{"photo_id":"1371931619","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371931619":["hashtag1","hashtag2"]},{"1371931414":["hashtag1","hashtag2"]},{"1371931341":["hashtag1","hashtag2"]},{"1371931484":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371931619, 1371931414, 1371931341, 1371931484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.12827754020691 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:17:02.858688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_34_10628.jpg', 2), ('/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_23_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_14_10656.jpg', 2), ('/home/nano/Desktop/images/10072025/15/21/image_10072025_15_22_03_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_53_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_44_10634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_34_10628.jpg', '/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_23_9622.jpg', '/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_14_10656.jpg', '/home/nano/Desktop/images/10072025/15/21/image_10072025_15_22_03_9637.jpg', '/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_53_9613.jpg', '/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_44_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_34_10628.jpg
/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_23_9622.jpg
/home/nano/Desktop/images/10072025/15/22/image_10072025_15_22_14_10656.jpg
/home/nano/Desktop/images/10072025/15/21/image_10072025_15_22_03_9637.jpg
/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_53_9613.jpg
/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_44_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371932946","1371932384","1371932996","1371932549","1371932900","1371932822"],"photo_ids_order":["1371932384","1371932549","1371932822","1371932900","1371932946","1371932996"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0cdf9e87dd942466fa7bf5aa02436754.jpg","text":"TemporaryFile(/tmp/multipartBody8229742135711732691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351486194,"filename":"image_10072025_15_21_53_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d5cb1bdf9c56687da2602d7339b66120.jpg","text":"TemporaryFile(/tmp/multipartBody6495880858062173448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351486194,"filename":"image_10072025_15_22_34_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad826ad8f978f123aee9997b03ad6b6a.jpg","text":"TemporaryFile(/tmp/multipartBody7390931175744996296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351486194,"filename":"image_10072025_15_21_44_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f6d40903699c5d5356bd26973dcdf75.jpg","text":"TemporaryFile(/tmp/multipartBody7998899877164187159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351486194,"filename":"image_10072025_15_22_23_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08ea2296abb3958bc0d37c72e13a4a6c.jpg","text":"TemporaryFile(/tmp/multipartBody4719234696641802813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351486194,"filename":"image_10072025_15_22_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0db1fd93ddf62fe83bcd16b7694c3db.jpg","text":"TemporaryFile(/tmp/multipartBody305659275032428367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351486194,"filename":"image_10072025_15_22_14_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371932822","file1":"1371932549","file0":"1371932384","file4":"1371932946","file5":"1371932996","file3":"1371932900"},"map_files_photo_id_array":[{"photo_id":"1371932996","filename":"file5"},{"photo_id":"1371932822","filename":"file2"},{"photo_id":"1371932946","filename":"file4"},{"photo_id":"1371932549","filename":"file1"},{"photo_id":"1371932384","filename":"file0"},{"photo_id":"1371932900","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371932946":["hashtag1","hashtag2"]},{"1371932384":["hashtag1","hashtag2"]},{"1371932996":["hashtag1","hashtag2"]},{"1371932549":["hashtag1","hashtag2"]},{"1371932900":["hashtag1","hashtag2"]},{"1371932822":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371932946, 1371932384, 1371932996, 1371932549, 1371932900, 1371932822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.66637682914734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:18:02.666993
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_34_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_24_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_14_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/22/16/image_12072025_22_17_04_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/22/16/image_12072025_22_16_53_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_34_9609.jpg', '/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_24_10622.jpg', '/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_14_9637.jpg', '/home/nano/Desktop/images/12072025/22/16/image_12072025_22_17_04_10645.jpg', '/home/nano/Desktop/images/12072025/22/16/image_12072025_22_16_53_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_34_9609.jpg
/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_24_10622.jpg
/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_14_9637.jpg
/home/nano/Desktop/images/12072025/22/16/image_12072025_22_17_04_10645.jpg
/home/nano/Desktop/images/12072025/22/16/image_12072025_22_16_53_9619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371933526","1371933613","1371933672","1371933569","1371933743"],"photo_ids_order":["1371933526","1371933569","1371933613","1371933672","1371933743"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3d485b1b30f031348b87e576bf74315.jpg","text":"TemporaryFile(/tmp/multipartBody6319573778602330644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351544084,"filename":"image_12072025_22_17_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0a8da1e3de6c6056e824d36603c2875.jpg","text":"TemporaryFile(/tmp/multipartBody7061564693091653822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351544084,"filename":"image_12072025_22_17_14_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31af5cf022b4c03e3a034ccb9b2260a9.jpg","text":"TemporaryFile(/tmp/multipartBody4861059642118424419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351544084,"filename":"image_12072025_22_17_04_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd0e9a03f1e709c2e19c0c8153300c34.jpg","text":"TemporaryFile(/tmp/multipartBody5900902580983351727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351544084,"filename":"image_12072025_22_17_24_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6e232a8085f19bdfdab60ddb1a77d4b.jpg","text":"TemporaryFile(/tmp/multipartBody2448928909626524866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351544084,"filename":"image_12072025_22_16_53_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371933613","file1":"1371933569","file0":"1371933526","file4":"1371933743","file3":"1371933672"},"map_files_photo_id_array":[{"photo_id":"1371933613","filename":"file2"},{"photo_id":"1371933743","filename":"file4"},{"photo_id":"1371933569","filename":"file1"},{"photo_id":"1371933526","filename":"file0"},{"photo_id":"1371933672","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371933526":["hashtag1","hashtag2"]},{"1371933613":["hashtag1","hashtag2"]},{"1371933672":["hashtag1","hashtag2"]},{"1371933569":["hashtag1","hashtag2"]},{"1371933743":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371933526, 1371933613, 1371933672, 1371933569, 1371933743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.67965340614319 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:18:32.235746
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_24_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_13_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/22/17/image_12072025_22_18_04_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_54_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_34_9611.jpg', '/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_24_10622.jpg', '/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_13_9638.jpg', '/home/nano/Desktop/images/12072025/22/17/image_12072025_22_18_04_9616.jpg', '/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_34_9611.jpg
/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_24_10622.jpg
/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_13_9638.jpg
/home/nano/Desktop/images/12072025/22/17/image_12072025_22_18_04_9616.jpg
/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_54_10623.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5652217864990234 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:18:47.216206
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_24_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_13_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/22/17/image_12072025_22_18_04_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_54_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_34_9611.jpg', '/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_24_10622.jpg', '/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_13_9638.jpg', '/home/nano/Desktop/images/12072025/22/17/image_12072025_22_18_04_9616.jpg', '/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_34_9611.jpg
/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_24_10622.jpg
/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_13_9638.jpg
/home/nano/Desktop/images/12072025/22/17/image_12072025_22_18_04_9616.jpg
/home/nano/Desktop/images/12072025/22/17/image_12072025_22_17_54_10623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371933984","1371933924","1371933965","1371933935","1371933973"],"photo_ids_order":["1371933924","1371933935","1371933965","1371933973","1371933984"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c5bd1038731e017725bae767cbaa219.jpg","text":"TemporaryFile(/tmp/multipartBody885738450789526483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351588770,"filename":"image_12072025_22_17_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a065d97b2c08d2e96033681e47cbb3ce.jpg","text":"TemporaryFile(/tmp/multipartBody7288255784983212561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351588770,"filename":"image_12072025_22_18_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b161de20e4551d06777c447fbd32ab2.jpg","text":"TemporaryFile(/tmp/multipartBody2885845847408072156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351588770,"filename":"image_12072025_22_18_13_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d02185dae42036ecbff2fd3b07d17c70.jpg","text":"TemporaryFile(/tmp/multipartBody3890332390433199887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351588770,"filename":"image_12072025_22_18_24_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c6d77e11a50d1b94a6d44f221e25c07.jpg","text":"TemporaryFile(/tmp/multipartBody7512384439360150822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351588770,"filename":"image_12072025_22_18_04_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371933965","file1":"1371933935","file0":"1371933924","file4":"1371933984","file3":"1371933973"},"map_files_photo_id_array":[{"photo_id":"1371933965","filename":"file2"},{"photo_id":"1371933984","filename":"file4"},{"photo_id":"1371933935","filename":"file1"},{"photo_id":"1371933924","filename":"file0"},{"photo_id":"1371933973","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371933984":["hashtag1","hashtag2"]},{"1371933924":["hashtag1","hashtag2"]},{"1371933965":["hashtag1","hashtag2"]},{"1371933935":["hashtag1","hashtag2"]},{"1371933973":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371933984, 1371933924, 1371933965, 1371933935, 1371933973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.1366925239563 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:19:17.351138
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/19/image_12072025_22_19_33_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/22/19/image_12072025_22_19_24_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/22/18/image_12072025_22_19_03_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_44_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/19/image_12072025_22_19_33_9619.jpg', '/home/nano/Desktop/images/12072025/22/19/image_12072025_22_19_24_9617.jpg', '/home/nano/Desktop/images/12072025/22/18/image_12072025_22_19_03_9625.jpg', '/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_44_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/19/image_12072025_22_19_33_9619.jpg
/home/nano/Desktop/images/12072025/22/19/image_12072025_22_19_24_9617.jpg
/home/nano/Desktop/images/12072025/22/18/image_12072025_22_19_03_9625.jpg
/home/nano/Desktop/images/12072025/22/18/image_12072025_22_18_44_10617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371934095","1371934068","1371934147","1371934120"],"photo_ids_order":["1371934068","1371934095","1371934120","1371934147"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/718f0eb30817317298ba18aa032afab0.jpg","text":"TemporaryFile(/tmp/multipartBody6917031818483274894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351618587,"filename":"image_12072025_22_19_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e6278260d77139bcd47db31d9c8f443.jpg","text":"TemporaryFile(/tmp/multipartBody5144832832775104668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351618587,"filename":"image_12072025_22_19_33_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62e0b2b750c13aa510ac3ca1ff21aaf1.jpg","text":"TemporaryFile(/tmp/multipartBody5665232497837909024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351618587,"filename":"image_12072025_22_18_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e17b25fe7ce03c1627d6419a14fa196.jpg","text":"TemporaryFile(/tmp/multipartBody2000696940766797386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351618587,"filename":"image_12072025_22_19_03_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371934120","file1":"1371934095","file0":"1371934068","file3":"1371934147"},"map_files_photo_id_array":[{"photo_id":"1371934120","filename":"file2"},{"photo_id":"1371934095","filename":"file1"},{"photo_id":"1371934068","filename":"file0"},{"photo_id":"1371934147","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371934095":["hashtag1","hashtag2"]},{"1371934068":["hashtag1","hashtag2"]},{"1371934147":["hashtag1","hashtag2"]},{"1371934120":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371934095, 1371934068, 1371934147, 1371934120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.6979923248291 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:19:47.334062
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_33_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_24_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_14_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/15/20/image_10072025_15_21_03_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_54_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_44_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_33_9622.jpg', '/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_24_9631.jpg', '/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_14_10647.jpg', '/home/nano/Desktop/images/10072025/15/20/image_10072025_15_21_03_9627.jpg', '/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_54_9627.jpg', '/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_44_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_33_9622.jpg
/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_24_9631.jpg
/home/nano/Desktop/images/10072025/15/21/image_10072025_15_21_14_10647.jpg
/home/nano/Desktop/images/10072025/15/20/image_10072025_15_21_03_9627.jpg
/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_54_9627.jpg
/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_44_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371934230","1371934343","1371934235","1371934316","1371934301","1371934372"],"photo_ids_order":["1371934230","1371934235","1371934301","1371934316","1371934343","1371934372"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8203fa16909921bd58e51e79f7df6882.jpg","text":"TemporaryFile(/tmp/multipartBody4238162045744996050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351650872,"filename":"image_10072025_15_21_33_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c8a8c3d2743895c0255e70cf603dbdd.jpg","text":"TemporaryFile(/tmp/multipartBody6226276775896398119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351650872,"filename":"image_10072025_15_20_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0ac098702bb5812711e47ebb4e0dfa84.jpg","text":"TemporaryFile(/tmp/multipartBody303866146540760469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351650872,"filename":"image_10072025_15_21_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e7e7a7a95d7bb55189620ef52a50491.jpg","text":"TemporaryFile(/tmp/multipartBody4810678565129565591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351650872,"filename":"image_10072025_15_21_03_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2da8609dc4b079a6d36e1b2991b44fe4.jpg","text":"TemporaryFile(/tmp/multipartBody1204610860590462461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351650872,"filename":"image_10072025_15_21_14_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4a1e8f35172f1e71b8edfb5608eb9635.jpg","text":"TemporaryFile(/tmp/multipartBody8105012064785358030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351650872,"filename":"image_10072025_15_20_44_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371934301","file1":"1371934235","file0":"1371934230","file4":"1371934343","file5":"1371934372","file3":"1371934316"},"map_files_photo_id_array":[{"photo_id":"1371934372","filename":"file5"},{"photo_id":"1371934301","filename":"file2"},{"photo_id":"1371934343","filename":"file4"},{"photo_id":"1371934235","filename":"file1"},{"photo_id":"1371934230","filename":"file0"},{"photo_id":"1371934316","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371934230":["hashtag1","hashtag2"]},{"1371934343":["hashtag1","hashtag2"]},{"1371934235":["hashtag1","hashtag2"]},{"1371934316":["hashtag1","hashtag2"]},{"1371934301":["hashtag1","hashtag2"]},{"1371934372":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371934230, 1371934343, 1371934235, 1371934316, 1371934301, 1371934372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.56054377555847 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:20:47.451719
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_44_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_34_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_14_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/22/19/image_12072025_22_20_04_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/22/19/image_12072025_22_19_44_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_44_9611.jpg', '/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_34_10622.jpg', '/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_23_9609.jpg', '/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_14_9640.jpg', '/home/nano/Desktop/images/12072025/22/19/image_12072025_22_20_04_10644.jpg', '/home/nano/Desktop/images/12072025/22/19/image_12072025_22_19_44_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_44_9611.jpg
/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_34_10622.jpg
/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_23_9609.jpg
/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_14_9640.jpg
/home/nano/Desktop/images/12072025/22/19/image_12072025_22_20_04_10644.jpg
/home/nano/Desktop/images/12072025/22/19/image_12072025_22_19_44_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371934556","1371934529","1371934757","1371934681","1371934633","1371934504"],"photo_ids_order":["1371934504","1371934529","1371934556","1371934633","1371934681","1371934757"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6b9250b99d675baca282ffa92d5b4a8.jpg","text":"TemporaryFile(/tmp/multipartBody5906902564425309459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351709252,"filename":"image_12072025_22_20_23_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/71b18c660456089343bb9ccbccb6084c.jpg","text":"TemporaryFile(/tmp/multipartBody7426531891519440698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351709252,"filename":"image_12072025_22_20_34_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fb7b3aa47bcfd9684239a3ce77d51269.jpg","text":"TemporaryFile(/tmp/multipartBody7095504223144132017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351709252,"filename":"image_12072025_22_19_44_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57b94a1b1e062a1183523aec5939b9d3.jpg","text":"TemporaryFile(/tmp/multipartBody9079358403978023019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351709252,"filename":"image_12072025_22_20_04_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ce4a074ce51c85d7849cb663a4b8387.jpg","text":"TemporaryFile(/tmp/multipartBody3419351518549847363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351709252,"filename":"image_12072025_22_20_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0c7d62f811979ca080610c1aa3acdab.jpg","text":"TemporaryFile(/tmp/multipartBody6260355337158153806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351709252,"filename":"image_12072025_22_20_44_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371934556","file1":"1371934529","file0":"1371934504","file4":"1371934681","file5":"1371934757","file3":"1371934633"},"map_files_photo_id_array":[{"photo_id":"1371934757","filename":"file5"},{"photo_id":"1371934556","filename":"file2"},{"photo_id":"1371934681","filename":"file4"},{"photo_id":"1371934529","filename":"file1"},{"photo_id":"1371934504","filename":"file0"},{"photo_id":"1371934633","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371934556":["hashtag1","hashtag2"]},{"1371934529":["hashtag1","hashtag2"]},{"1371934757":["hashtag1","hashtag2"]},{"1371934681":["hashtag1","hashtag2"]},{"1371934633":["hashtag1","hashtag2"]},{"1371934504":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371934556, 1371934529, 1371934757, 1371934681, 1371934633, 1371934504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.4080765247345 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:21:47.574692
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/21/image_12072025_22_21_34_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/22/21/image_12072025_22_21_24_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/22/20/image_12072025_22_21_04_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_54_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/21/image_12072025_22_21_34_9626.jpg', '/home/nano/Desktop/images/12072025/22/21/image_12072025_22_21_24_10617.jpg', '/home/nano/Desktop/images/12072025/22/20/image_12072025_22_21_04_9639.jpg', '/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_54_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/21/image_12072025_22_21_34_9626.jpg
/home/nano/Desktop/images/12072025/22/21/image_12072025_22_21_24_10617.jpg
/home/nano/Desktop/images/12072025/22/20/image_12072025_22_21_04_9639.jpg
/home/nano/Desktop/images/12072025/22/20/image_12072025_22_20_54_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371935153","1371934923","1371935248","1371935008"],"photo_ids_order":["1371934923","1371935008","1371935153","1371935248"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52eb888aac0452172e8988330226e907.jpg","text":"TemporaryFile(/tmp/multipartBody2062882660991788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351769475,"filename":"image_12072025_22_21_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a3a2ae0ee71d0ddbc641fc7e75d97e4.jpg","text":"TemporaryFile(/tmp/multipartBody6145544259847500762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351769475,"filename":"image_12072025_22_21_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e7f83dccb9dfba5cc619e9a6264f5dae.jpg","text":"TemporaryFile(/tmp/multipartBody6153825452379682483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351769475,"filename":"image_12072025_22_20_54_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee660175f25ba525ed51719deed633bd.jpg","text":"TemporaryFile(/tmp/multipartBody5658781048214959549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351769475,"filename":"image_12072025_22_21_24_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371935153","file1":"1371935008","file0":"1371934923","file3":"1371935248"},"map_files_photo_id_array":[{"photo_id":"1371935153","filename":"file2"},{"photo_id":"1371935008","filename":"file1"},{"photo_id":"1371934923","filename":"file0"},{"photo_id":"1371935248","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371935153":["hashtag1","hashtag2"]},{"1371934923":["hashtag1","hashtag2"]},{"1371935248":["hashtag1","hashtag2"]},{"1371935008":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371935153, 1371934923, 1371935248, 1371935008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 46.34255838394165 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:22:47.647402
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_34_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_24_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_13_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/22/21/image_12072025_22_22_04_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/22/21/image_12072025_22_21_43_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_44_10622.jpg', '/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_34_9609.jpg', '/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_24_10618.jpg', '/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_13_9638.jpg', '/home/nano/Desktop/images/12072025/22/21/image_12072025_22_22_04_9630.jpg', '/home/nano/Desktop/images/12072025/22/21/image_12072025_22_21_43_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_44_10622.jpg
/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_34_9609.jpg
/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_24_10618.jpg
/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_13_9638.jpg
/home/nano/Desktop/images/12072025/22/21/image_12072025_22_22_04_9630.jpg
/home/nano/Desktop/images/12072025/22/21/image_12072025_22_21_43_9617.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8426275253295898 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:23:03.465055
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_34_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_24_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_13_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/22/21/image_12072025_22_22_04_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/22/21/image_12072025_22_21_43_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_44_10622.jpg', '/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_34_9609.jpg', '/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_24_10618.jpg', '/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_13_9638.jpg', '/home/nano/Desktop/images/12072025/22/21/image_12072025_22_22_04_9630.jpg', '/home/nano/Desktop/images/12072025/22/21/image_12072025_22_21_43_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_44_10622.jpg
/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_34_9609.jpg
/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_24_10618.jpg
/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_13_9638.jpg
/home/nano/Desktop/images/12072025/22/21/image_12072025_22_22_04_9630.jpg
/home/nano/Desktop/images/12072025/22/21/image_12072025_22_21_43_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371936483","1371936381","1371936243","1371936306","1371936114","1371936581"],"photo_ids_order":["1371936114","1371936243","1371936306","1371936381","1371936483","1371936581"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/287fb0ffd99b4cadb1b6a8f309e90189.jpg","text":"TemporaryFile(/tmp/multipartBody7922782898794658937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351844809,"filename":"image_12072025_22_22_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b616bfaaf15bc952924f7aa812189dfd.jpg","text":"TemporaryFile(/tmp/multipartBody7417531838128129513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351844809,"filename":"image_12072025_22_22_13_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b205f2995462f6f36f00c9cda1a7c26.jpg","text":"TemporaryFile(/tmp/multipartBody669090333641790340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351844809,"filename":"image_12072025_22_22_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/102111fb5c048305b5b4dfccbfa79c11.jpg","text":"TemporaryFile(/tmp/multipartBody3648538926978449603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351844809,"filename":"image_12072025_22_22_24_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b6e08fcda70d65e86a91096bf174084d.jpg","text":"TemporaryFile(/tmp/multipartBody6981672648577189376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351844809,"filename":"image_12072025_22_22_44_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94b790ae178b267128ef9ed187dad455.jpg","text":"TemporaryFile(/tmp/multipartBody1179663489651521197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351844809,"filename":"image_12072025_22_21_43_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371936306","file1":"1371936243","file0":"1371936114","file4":"1371936483","file5":"1371936581","file3":"1371936381"},"map_files_photo_id_array":[{"photo_id":"1371936581","filename":"file5"},{"photo_id":"1371936306","filename":"file2"},{"photo_id":"1371936483","filename":"file4"},{"photo_id":"1371936243","filename":"file1"},{"photo_id":"1371936114","filename":"file0"},{"photo_id":"1371936381","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371936483":["hashtag1","hashtag2"]},{"1371936381":["hashtag1","hashtag2"]},{"1371936243":["hashtag1","hashtag2"]},{"1371936306":["hashtag1","hashtag2"]},{"1371936114":["hashtag1","hashtag2"]},{"1371936581":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371936483, 1371936381, 1371936243, 1371936306, 1371936114, 1371936581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.944308280944824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:23:47.766225
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/23/image_12072025_22_23_44_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/22/23/image_12072025_22_23_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/22/23/image_12072025_22_23_24_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/22/image_12072025_22_23_03_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_54_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/23/image_12072025_22_23_44_9609.jpg', '/home/nano/Desktop/images/12072025/22/23/image_12072025_22_23_34_10623.jpg', '/home/nano/Desktop/images/12072025/22/23/image_12072025_22_23_24_9611.jpg', '/home/nano/Desktop/images/12072025/22/22/image_12072025_22_23_03_9624.jpg', '/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_54_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/23/image_12072025_22_23_44_9609.jpg
/home/nano/Desktop/images/12072025/22/23/image_12072025_22_23_34_10623.jpg
/home/nano/Desktop/images/12072025/22/23/image_12072025_22_23_24_9611.jpg
/home/nano/Desktop/images/12072025/22/22/image_12072025_22_23_03_9624.jpg
/home/nano/Desktop/images/12072025/22/22/image_12072025_22_22_54_9613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371937231","1371937278","1371937134","1371937181","1371937070"],"photo_ids_order":["1371937070","1371937134","1371937181","1371937231","1371937278"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0bd33555ca4e5a63776e7860bab27f79.jpg","text":"TemporaryFile(/tmp/multipartBody3200622946490262049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351889483,"filename":"image_12072025_22_23_03_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1f564f6407766be8b984b8ee5c40b71.jpg","text":"TemporaryFile(/tmp/multipartBody1003419599011828010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351889483,"filename":"image_12072025_22_22_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b69c538090ab77bdc60729ca24a21cc.jpg","text":"TemporaryFile(/tmp/multipartBody797295896586785612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351889483,"filename":"image_12072025_22_23_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1121f74f24ba47582733b1ac3f8ec0d0.jpg","text":"TemporaryFile(/tmp/multipartBody620448753365963442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351889483,"filename":"image_12072025_22_23_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3edb47df1c6d5cd10cb5c9166ba6c020.jpg","text":"TemporaryFile(/tmp/multipartBody7371780758513625705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351889483,"filename":"image_12072025_22_23_44_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371937181","file1":"1371937134","file0":"1371937070","file4":"1371937278","file3":"1371937231"},"map_files_photo_id_array":[{"photo_id":"1371937181","filename":"file2"},{"photo_id":"1371937278","filename":"file4"},{"photo_id":"1371937134","filename":"file1"},{"photo_id":"1371937070","filename":"file0"},{"photo_id":"1371937231","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371937231":["hashtag1","hashtag2"]},{"1371937278":["hashtag1","hashtag2"]},{"1371937134":["hashtag1","hashtag2"]},{"1371937181":["hashtag1","hashtag2"]},{"1371937070":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371937231, 1371937278, 1371937134, 1371937181, 1371937070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.540300369262695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:24:16.861801
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_44_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_34_10642.jpg', 2), ('/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_23_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_14_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/22/23/image_12072025_22_24_04_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/22/23/image_12072025_22_23_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_44_9625.jpg', '/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_34_10642.jpg', '/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_23_9613.jpg', '/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_14_9628.jpg', '/home/nano/Desktop/images/12072025/22/23/image_12072025_22_24_04_10625.jpg', '/home/nano/Desktop/images/12072025/22/23/image_12072025_22_23_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_44_9625.jpg
/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_34_10642.jpg
/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_23_9613.jpg
/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_14_9628.jpg
/home/nano/Desktop/images/12072025/22/23/image_12072025_22_24_04_10625.jpg
/home/nano/Desktop/images/12072025/22/23/image_12072025_22_23_54_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371937759","1371937567","1371937531","1371937423","1371937685","1371937634"],"photo_ids_order":["1371937423","1371937531","1371937567","1371937634","1371937685","1371937759"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/33ec0222ee6c0ef4c006c1199fa08e51.jpg","text":"TemporaryFile(/tmp/multipartBody1273965305555543376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351918569,"filename":"image_12072025_22_23_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/917ca988b33eef17a9e2bb75b4bc411d.jpg","text":"TemporaryFile(/tmp/multipartBody7247912790619961725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351918569,"filename":"image_12072025_22_24_23_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/912d458e048eb50956cb87d1169e8280.jpg","text":"TemporaryFile(/tmp/multipartBody6593952308071810238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351918569,"filename":"image_12072025_22_24_34_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8852a3c68122eb0f0d5f240a83fc3a9.jpg","text":"TemporaryFile(/tmp/multipartBody5560673098708268586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351918569,"filename":"image_12072025_22_24_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e3815316f0cca289546b0f9ec0c6b070.jpg","text":"TemporaryFile(/tmp/multipartBody8015963555279759381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351918569,"filename":"image_12072025_22_24_04_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/137cd9e8cc00a531b5f6e9417cd9be15.jpg","text":"TemporaryFile(/tmp/multipartBody8567179255231697942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351918569,"filename":"image_12072025_22_24_14_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371937567","file1":"1371937531","file0":"1371937423","file4":"1371937685","file5":"1371937759","file3":"1371937634"},"map_files_photo_id_array":[{"photo_id":"1371937759","filename":"file5"},{"photo_id":"1371937567","filename":"file2"},{"photo_id":"1371937685","filename":"file4"},{"photo_id":"1371937531","filename":"file1"},{"photo_id":"1371937423","filename":"file0"},{"photo_id":"1371937634","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371937759":["hashtag1","hashtag2"]},{"1371937567":["hashtag1","hashtag2"]},{"1371937531":["hashtag1","hashtag2"]},{"1371937423":["hashtag1","hashtag2"]},{"1371937685":["hashtag1","hashtag2"]},{"1371937634":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371937759, 1371937567, 1371937531, 1371937423, 1371937685, 1371937634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.477195262908936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:25:02.744384
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_33_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_24_10647.jpg', 2), ('/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_13_9649.jpg', 2), ('/home/nano/Desktop/images/10072025/15/19/image_10072025_15_20_03_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_54_10631.jpg', 2), ('/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_43_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_33_9626.jpg', '/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_24_10647.jpg', '/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_13_9649.jpg', '/home/nano/Desktop/images/10072025/15/19/image_10072025_15_20_03_9639.jpg', '/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_54_10631.jpg', '/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_43_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_33_9626.jpg
/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_24_10647.jpg
/home/nano/Desktop/images/10072025/15/20/image_10072025_15_20_13_9649.jpg
/home/nano/Desktop/images/10072025/15/19/image_10072025_15_20_03_9639.jpg
/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_54_10631.jpg
/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_43_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371938292","1371938262","1371938124","1371938192","1371938063","1371938237"],"photo_ids_order":["1371938063","1371938124","1371938192","1371938237","1371938262","1371938292"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21f5cf9ee3afca8ac3f8219bc9bf56ae.jpg","text":"TemporaryFile(/tmp/multipartBody9029754409721005947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351966442,"filename":"image_10072025_15_19_43_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d73d75d7dbb73ae6a3c94b87ad91e04.jpg","text":"TemporaryFile(/tmp/multipartBody8639109866393835274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351966442,"filename":"image_10072025_15_19_54_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c78284bbd46f10ddea21ccdf18755a5.jpg","text":"TemporaryFile(/tmp/multipartBody394381488269545374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351966442,"filename":"image_10072025_15_20_24_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28203cade9fe6d79059af35f28899026.jpg","text":"TemporaryFile(/tmp/multipartBody5859315890325105418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351966442,"filename":"image_10072025_15_20_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/538331939ab9c4654b78cbcbf891a53c.jpg","text":"TemporaryFile(/tmp/multipartBody7937134842997253634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351966442,"filename":"image_10072025_15_20_33_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59493b83b0d8647a52014d183001cd73.jpg","text":"TemporaryFile(/tmp/multipartBody1575888260169777227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752351966442,"filename":"image_10072025_15_20_03_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371938192","file1":"1371938124","file0":"1371938063","file4":"1371938262","file5":"1371938292","file3":"1371938237"},"map_files_photo_id_array":[{"photo_id":"1371938292","filename":"file5"},{"photo_id":"1371938192","filename":"file2"},{"photo_id":"1371938262","filename":"file4"},{"photo_id":"1371938124","filename":"file1"},{"photo_id":"1371938063","filename":"file0"},{"photo_id":"1371938237","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371938292":["hashtag1","hashtag2"]},{"1371938262":["hashtag1","hashtag2"]},{"1371938124":["hashtag1","hashtag2"]},{"1371938192":["hashtag1","hashtag2"]},{"1371938063":["hashtag1","hashtag2"]},{"1371938237":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371938292, 1371938262, 1371938124, 1371938192, 1371938063, 1371938237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.21194052696228 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:25:46.995572
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/25/image_12072025_22_25_43_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/22/25/image_12072025_22_25_24_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/22/25/image_12072025_22_25_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/22/24/image_12072025_22_25_04_9652.jpg', 2), ('/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_54_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/25/image_12072025_22_25_43_9609.jpg', '/home/nano/Desktop/images/12072025/22/25/image_12072025_22_25_24_10623.jpg', '/home/nano/Desktop/images/12072025/22/25/image_12072025_22_25_14_9626.jpg', '/home/nano/Desktop/images/12072025/22/24/image_12072025_22_25_04_9652.jpg', '/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_54_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/25/image_12072025_22_25_43_9609.jpg
/home/nano/Desktop/images/12072025/22/25/image_12072025_22_25_24_10623.jpg
/home/nano/Desktop/images/12072025/22/25/image_12072025_22_25_14_9626.jpg
/home/nano/Desktop/images/12072025/22/24/image_12072025_22_25_04_9652.jpg
/home/nano/Desktop/images/12072025/22/24/image_12072025_22_24_54_10638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371938431","1371938451","1371938427","1371938429","1371938476"],"photo_ids_order":["1371938427","1371938429","1371938431","1371938451","1371938476"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0c49a143b5c1d485c040d9967e8d044.jpg","text":"TemporaryFile(/tmp/multipartBody4227210730306294251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352008556,"filename":"image_12072025_22_25_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94acf7e4ac00bb4b1d492eeda65d0bcc.jpg","text":"TemporaryFile(/tmp/multipartBody8155606497540278019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352008556,"filename":"image_12072025_22_25_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01d265bae44bce0b54617e70ac0d0f35.jpg","text":"TemporaryFile(/tmp/multipartBody2735321363244259475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352008556,"filename":"image_12072025_22_25_43_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0a18c1f99e180414f256444860b3720.jpg","text":"TemporaryFile(/tmp/multipartBody6076558824943520380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352008556,"filename":"image_12072025_22_25_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f38283d4102d6822187f99a35a151903.jpg","text":"TemporaryFile(/tmp/multipartBody8017292753305209469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352008556,"filename":"image_12072025_22_24_54_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371938431","file1":"1371938429","file0":"1371938427","file4":"1371938476","file3":"1371938451"},"map_files_photo_id_array":[{"photo_id":"1371938431","filename":"file2"},{"photo_id":"1371938476","filename":"file4"},{"photo_id":"1371938429","filename":"file1"},{"photo_id":"1371938427","filename":"file0"},{"photo_id":"1371938451","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371938431":["hashtag1","hashtag2"]},{"1371938451":["hashtag1","hashtag2"]},{"1371938427":["hashtag1","hashtag2"]},{"1371938429":["hashtag1","hashtag2"]},{"1371938476":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371938431, 1371938451, 1371938427, 1371938429, 1371938476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.67668604850769 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:26:17.107032
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/26/image_12072025_22_26_13_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/22/25/image_12072025_22_26_04_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/22/25/image_12072025_22_25_54_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/26/image_12072025_22_26_13_9632.jpg', '/home/nano/Desktop/images/12072025/22/25/image_12072025_22_26_04_9635.jpg', '/home/nano/Desktop/images/12072025/22/25/image_12072025_22_25_54_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/26/image_12072025_22_26_13_9632.jpg
/home/nano/Desktop/images/12072025/22/25/image_12072025_22_26_04_9635.jpg
/home/nano/Desktop/images/12072025/22/25/image_12072025_22_25_54_10621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371938543","1371938567","1371938566"],"photo_ids_order":["1371938543","1371938566","1371938567"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/318b4fbb34559282f66f3d06c0c2b7a3.jpg","text":"TemporaryFile(/tmp/multipartBody8052732238204380185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352038566,"filename":"image_12072025_22_26_13_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6d78b37f9196e406f563c69e50246b2.jpg","text":"TemporaryFile(/tmp/multipartBody8019341414506667276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352038566,"filename":"image_12072025_22_25_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eaee018012923a99fb424758454ab46c.jpg","text":"TemporaryFile(/tmp/multipartBody6913472689913463142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352038566,"filename":"image_12072025_22_26_04_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371938567","file1":"1371938566","file0":"1371938543"},"map_files_photo_id_array":[{"photo_id":"1371938567","filename":"file2"},{"photo_id":"1371938566","filename":"file1"},{"photo_id":"1371938543","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371938543":["hashtag1","hashtag2"]},{"1371938567":["hashtag1","hashtag2"]},{"1371938566":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371938543, 1371938567, 1371938566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.57521915435791 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:26:47.118844
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_34_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_24_10632.jpg', 2), ('/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_13_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/15/18/image_10072025_15_19_04_9627.jpg', 2), ('/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_54_10630.jpg', 2), ('/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_43_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_34_9633.jpg', '/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_24_10632.jpg', '/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_13_9639.jpg', '/home/nano/Desktop/images/10072025/15/18/image_10072025_15_19_04_9627.jpg', '/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_54_10630.jpg', '/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_43_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_34_9633.jpg
/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_24_10632.jpg
/home/nano/Desktop/images/10072025/15/19/image_10072025_15_19_13_9639.jpg
/home/nano/Desktop/images/10072025/15/18/image_10072025_15_19_04_9627.jpg
/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_54_10630.jpg
/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_43_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371939078","1371939024","1371938964","1371939114","1371939000","1371938913"],"photo_ids_order":["1371938913","1371938964","1371939000","1371939024","1371939078","1371939114"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55b4bcbad8c032ea202cfe52ed0db62e.jpg","text":"TemporaryFile(/tmp/multipartBody4340736344474954662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352070772,"filename":"image_10072025_15_18_54_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a02ccca02e5bc3f5e59f52e3469d5e0.jpg","text":"TemporaryFile(/tmp/multipartBody767275326419090752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352070772,"filename":"image_10072025_15_19_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ba5d14ffecb0b5610eceff3f97979d8.jpg","text":"TemporaryFile(/tmp/multipartBody2920447675013285443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352070772,"filename":"image_10072025_15_19_24_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d59423ccffdb30d4fb428a2b596dcec.jpg","text":"TemporaryFile(/tmp/multipartBody4100909400652218307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352070772,"filename":"image_10072025_15_18_43_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89d60b1992fe1621c50f6d7e25860db4.jpg","text":"TemporaryFile(/tmp/multipartBody3406658020716267981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352070772,"filename":"image_10072025_15_19_13_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac58f5eb74d08363c1c0a6d77b8292a8.jpg","text":"TemporaryFile(/tmp/multipartBody3051626835311589478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352070772,"filename":"image_10072025_15_19_34_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371939000","file1":"1371938964","file0":"1371938913","file4":"1371939078","file5":"1371939114","file3":"1371939024"},"map_files_photo_id_array":[{"photo_id":"1371939114","filename":"file5"},{"photo_id":"1371939000","filename":"file2"},{"photo_id":"1371939078","filename":"file4"},{"photo_id":"1371938964","filename":"file1"},{"photo_id":"1371938913","filename":"file0"},{"photo_id":"1371939024","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371939078":["hashtag1","hashtag2"]},{"1371939024":["hashtag1","hashtag2"]},{"1371938964":["hashtag1","hashtag2"]},{"1371939114":["hashtag1","hashtag2"]},{"1371939000":["hashtag1","hashtag2"]},{"1371938913":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371939078, 1371939024, 1371938964, 1371939114, 1371939000, 1371938913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97358012199402 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:27:32.207037
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/27/image_12072025_22_27_34_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/22/27/image_12072025_22_27_24_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/22/27/image_12072025_22_27_14_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/22/26/image_12072025_22_27_03_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/22/26/image_12072025_22_26_34_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/27/image_12072025_22_27_34_10621.jpg', '/home/nano/Desktop/images/12072025/22/27/image_12072025_22_27_24_9615.jpg', '/home/nano/Desktop/images/12072025/22/27/image_12072025_22_27_14_10654.jpg', '/home/nano/Desktop/images/12072025/22/26/image_12072025_22_27_03_9618.jpg', '/home/nano/Desktop/images/12072025/22/26/image_12072025_22_26_34_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/27/image_12072025_22_27_34_10621.jpg
/home/nano/Desktop/images/12072025/22/27/image_12072025_22_27_24_9615.jpg
/home/nano/Desktop/images/12072025/22/27/image_12072025_22_27_14_10654.jpg
/home/nano/Desktop/images/12072025/22/26/image_12072025_22_27_03_9618.jpg
/home/nano/Desktop/images/12072025/22/26/image_12072025_22_26_34_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371939321","1371939296","1371939272","1371939347","1371939376"],"photo_ids_order":["1371939272","1371939296","1371939321","1371939347","1371939376"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f26fe679bcc2256d76c9ca9e4bbaf06e.jpg","text":"TemporaryFile(/tmp/multipartBody9030741565231609565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352114205,"filename":"image_12072025_22_27_14_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2b8f08a34d37aa647307c512a9d0021.jpg","text":"TemporaryFile(/tmp/multipartBody7252427514798766435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352114205,"filename":"image_12072025_22_27_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39cdbfc96f7043c33984b3e524b56a12.jpg","text":"TemporaryFile(/tmp/multipartBody7550927108963988401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352114205,"filename":"image_12072025_22_27_34_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c48f51e5afe9098692328e5a859a860c.jpg","text":"TemporaryFile(/tmp/multipartBody4143052446717549569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352114205,"filename":"image_12072025_22_27_03_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c2205ae0d875655c276ce82479629904.jpg","text":"TemporaryFile(/tmp/multipartBody8348853774777554721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352114205,"filename":"image_12072025_22_26_34_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371939321","file1":"1371939296","file0":"1371939272","file4":"1371939376","file3":"1371939347"},"map_files_photo_id_array":[{"photo_id":"1371939321","filename":"file2"},{"photo_id":"1371939376","filename":"file4"},{"photo_id":"1371939296","filename":"file1"},{"photo_id":"1371939272","filename":"file0"},{"photo_id":"1371939347","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371939321":["hashtag1","hashtag2"]},{"1371939296":["hashtag1","hashtag2"]},{"1371939272":["hashtag1","hashtag2"]},{"1371939347":["hashtag1","hashtag2"]},{"1371939376":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371939321, 1371939296, 1371939272, 1371939347, 1371939376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.55715322494507 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:28:02.840328
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_34_10630.jpg', 2), ('/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_23_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_14_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/15/17/image_10072025_15_18_04_10660.jpg', 2), ('/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_53_9612.jpg', 2), ('/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_44_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_34_10630.jpg', '/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_23_9623.jpg', '/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_14_9632.jpg', '/home/nano/Desktop/images/10072025/15/17/image_10072025_15_18_04_10660.jpg', '/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_53_9612.jpg', '/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_44_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_34_10630.jpg
/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_23_9623.jpg
/home/nano/Desktop/images/10072025/15/18/image_10072025_15_18_14_9632.jpg
/home/nano/Desktop/images/10072025/15/17/image_10072025_15_18_04_10660.jpg
/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_53_9612.jpg
/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_44_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371939540","1371939590","1371939515","1371939565","1371939487","1371939616"],"photo_ids_order":["1371939487","1371939515","1371939540","1371939565","1371939590","1371939616"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36d9eb5c2d593d6331616edf6ac49a0d.jpg","text":"TemporaryFile(/tmp/multipartBody7164854459424060009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352146047,"filename":"image_10072025_15_18_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ace70ed10d4b24fb730065cd426f4abc.jpg","text":"TemporaryFile(/tmp/multipartBody2032087631334154981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352146047,"filename":"image_10072025_15_17_53_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90df13b3d9dc74ed2903ce83436fa2d8.jpg","text":"TemporaryFile(/tmp/multipartBody7173077813949800423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352146047,"filename":"image_10072025_15_18_23_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a4797c7323e230e1202b74368a88e7e1.jpg","text":"TemporaryFile(/tmp/multipartBody4481327723842844781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352146047,"filename":"image_10072025_15_18_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9973d14276c29ff2f7d9c43f5cfe625f.jpg","text":"TemporaryFile(/tmp/multipartBody738354948598883916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352146047,"filename":"image_10072025_15_18_34_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68a02606041e89a63fd3738a2e555fcd.jpg","text":"TemporaryFile(/tmp/multipartBody635913159951917028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352146047,"filename":"image_10072025_15_17_44_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371939540","file1":"1371939515","file0":"1371939487","file4":"1371939590","file5":"1371939616","file3":"1371939565"},"map_files_photo_id_array":[{"photo_id":"1371939616","filename":"file5"},{"photo_id":"1371939540","filename":"file2"},{"photo_id":"1371939590","filename":"file4"},{"photo_id":"1371939515","filename":"file1"},{"photo_id":"1371939487","filename":"file0"},{"photo_id":"1371939565","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371939540":["hashtag1","hashtag2"]},{"1371939590":["hashtag1","hashtag2"]},{"1371939515":["hashtag1","hashtag2"]},{"1371939565":["hashtag1","hashtag2"]},{"1371939487":["hashtag1","hashtag2"]},{"1371939616":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371939540, 1371939590, 1371939515, 1371939565, 1371939487, 1371939616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26491641998291 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:28:47.327544
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_44_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_34_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_23_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_14_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/22/27/image_12072025_22_28_04_10657.jpg', 2), ('/home/nano/Desktop/images/12072025/22/27/image_12072025_22_27_44_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_44_9629.jpg', '/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_34_10632.jpg', '/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_23_9615.jpg', '/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_14_9649.jpg', '/home/nano/Desktop/images/12072025/22/27/image_12072025_22_28_04_10657.jpg', '/home/nano/Desktop/images/12072025/22/27/image_12072025_22_27_44_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_44_9629.jpg
/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_34_10632.jpg
/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_23_9615.jpg
/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_14_9649.jpg
/home/nano/Desktop/images/12072025/22/27/image_12072025_22_28_04_10657.jpg
/home/nano/Desktop/images/12072025/22/27/image_12072025_22_27_44_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371939855","1371939926","1371939827","1371939740","1371939880","1371939784"],"photo_ids_order":["1371939740","1371939784","1371939827","1371939855","1371939880","1371939926"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/01d0848729d1281654c3fe342b3c2c70.jpg","text":"TemporaryFile(/tmp/multipartBody8350105475280141895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352189382,"filename":"image_12072025_22_28_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3d6806468ebbbc36e84895b7303ef14.jpg","text":"TemporaryFile(/tmp/multipartBody2728542506939358446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352189382,"filename":"image_12072025_22_27_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a915f4547a7fb1907bff9137f2ef0038.jpg","text":"TemporaryFile(/tmp/multipartBody2018926537788858093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352189382,"filename":"image_12072025_22_28_23_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2af7e28123919ed025e9ca4f82b3444d.jpg","text":"TemporaryFile(/tmp/multipartBody1419055593979652530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352189382,"filename":"image_12072025_22_28_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd350954de34a507b25b73058244aa21.jpg","text":"TemporaryFile(/tmp/multipartBody3419545218107082485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352189382,"filename":"image_12072025_22_28_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fc8b73d789108e73848d8d9fab104d6.jpg","text":"TemporaryFile(/tmp/multipartBody5761638482210599802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352189382,"filename":"image_12072025_22_28_34_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371939827","file1":"1371939784","file0":"1371939740","file4":"1371939880","file5":"1371939926","file3":"1371939855"},"map_files_photo_id_array":[{"photo_id":"1371939926","filename":"file5"},{"photo_id":"1371939827","filename":"file2"},{"photo_id":"1371939880","filename":"file4"},{"photo_id":"1371939784","filename":"file1"},{"photo_id":"1371939740","filename":"file0"},{"photo_id":"1371939855","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371939855":["hashtag1","hashtag2"]},{"1371939926":["hashtag1","hashtag2"]},{"1371939827":["hashtag1","hashtag2"]},{"1371939740":["hashtag1","hashtag2"]},{"1371939880":["hashtag1","hashtag2"]},{"1371939784":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371939855, 1371939926, 1371939827, 1371939740, 1371939880, 1371939784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38293814659119 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:29:32.468879
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/29/image_12072025_22_29_24_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/22/29/image_12072025_22_29_14_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/22/28/image_12072025_22_29_04_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_53_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/29/image_12072025_22_29_24_10617.jpg', '/home/nano/Desktop/images/12072025/22/29/image_12072025_22_29_14_9639.jpg', '/home/nano/Desktop/images/12072025/22/28/image_12072025_22_29_04_10641.jpg', '/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_53_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/29/image_12072025_22_29_24_10617.jpg
/home/nano/Desktop/images/12072025/22/29/image_12072025_22_29_14_9639.jpg
/home/nano/Desktop/images/12072025/22/28/image_12072025_22_29_04_10641.jpg
/home/nano/Desktop/images/12072025/22/28/image_12072025_22_28_53_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371940194","1371940164","1371940248","1371940221"],"photo_ids_order":["1371940164","1371940194","1371940221","1371940248"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b2f15117a80fdceccb347fbe954508a9.jpg","text":"TemporaryFile(/tmp/multipartBody4319121428493705917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352233849,"filename":"image_12072025_22_29_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/22b4ee1bd859103d2be281f921129816.jpg","text":"TemporaryFile(/tmp/multipartBody3334369441906685931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352233849,"filename":"image_12072025_22_29_24_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52b69909d5c42bfc75f7e1a27441a1bf.jpg","text":"TemporaryFile(/tmp/multipartBody4099135656028478858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352233849,"filename":"image_12072025_22_28_53_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/54bc6aedd3086d540e7c0ed7c9889d31.jpg","text":"TemporaryFile(/tmp/multipartBody3302356709553878093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352233849,"filename":"image_12072025_22_29_04_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371940221","file1":"1371940194","file0":"1371940164","file3":"1371940248"},"map_files_photo_id_array":[{"photo_id":"1371940221","filename":"file2"},{"photo_id":"1371940194","filename":"file1"},{"photo_id":"1371940164","filename":"file0"},{"photo_id":"1371940248","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371940194":["hashtag1","hashtag2"]},{"1371940164":["hashtag1","hashtag2"]},{"1371940248":["hashtag1","hashtag2"]},{"1371940221":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371940194, 1371940164, 1371940248, 1371940221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.58077883720398 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:30:03.166795
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_34_10626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_23_9618.jpg', 2), ('/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_14_10666.jpg', 2), ('/home/nano/Desktop/images/10072025/15/16/image_10072025_15_17_03_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_53_9608.jpg', 2), ('/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_44_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_34_10626.jpg', '/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_23_9618.jpg', '/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_14_10666.jpg', '/home/nano/Desktop/images/10072025/15/16/image_10072025_15_17_03_9622.jpg', '/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_53_9608.jpg', '/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_44_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_34_10626.jpg
/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_23_9618.jpg
/home/nano/Desktop/images/10072025/15/17/image_10072025_15_17_14_10666.jpg
/home/nano/Desktop/images/10072025/15/16/image_10072025_15_17_03_9622.jpg
/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_53_9608.jpg
/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_44_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371940360","1371940362","1371940367","1371940397","1371940361","1371940463"],"photo_ids_order":["1371940360","1371940361","1371940362","1371940367","1371940397","1371940463"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e8d84cb707eaa71c4a3f72f0c9ea0e4.jpg","text":"TemporaryFile(/tmp/multipartBody639434523000558810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352266529,"filename":"image_10072025_15_17_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00f1568114642cf09a7231618aaae97c.jpg","text":"TemporaryFile(/tmp/multipartBody6256174761222002458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352266529,"filename":"image_10072025_15_17_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/460c684a927f539ddd79ecaffc1762ff.jpg","text":"TemporaryFile(/tmp/multipartBody6496784551397197122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352266529,"filename":"image_10072025_15_17_03_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ecb6827be62935c9086961564795cbc.jpg","text":"TemporaryFile(/tmp/multipartBody4831071742684044825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352266529,"filename":"image_10072025_15_16_53_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb83ea9b6b971d96952cd7450fa26a82.jpg","text":"TemporaryFile(/tmp/multipartBody529507282625832562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352266529,"filename":"image_10072025_15_17_23_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ba8bf34be0779dd8bd3b5e50da93416.jpg","text":"TemporaryFile(/tmp/multipartBody9037072132867092508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352266529,"filename":"image_10072025_15_16_44_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371940362","file1":"1371940361","file0":"1371940360","file4":"1371940397","file5":"1371940463","file3":"1371940367"},"map_files_photo_id_array":[{"photo_id":"1371940463","filename":"file5"},{"photo_id":"1371940362","filename":"file2"},{"photo_id":"1371940397","filename":"file4"},{"photo_id":"1371940361","filename":"file1"},{"photo_id":"1371940360","filename":"file0"},{"photo_id":"1371940367","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371940360":["hashtag1","hashtag2"]},{"1371940362":["hashtag1","hashtag2"]},{"1371940367":["hashtag1","hashtag2"]},{"1371940397":["hashtag1","hashtag2"]},{"1371940361":["hashtag1","hashtag2"]},{"1371940463":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371940360, 1371940362, 1371940367, 1371940397, 1371940361, 1371940463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.919116735458374 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:30:47.621347
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/30/image_12072025_22_30_34_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/22/30/image_12072025_22_30_24_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/22/30/image_12072025_22_30_13_9654.jpg', 2), ('/home/nano/Desktop/images/12072025/22/29/image_12072025_22_29_34_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/30/image_12072025_22_30_34_9608.jpg', '/home/nano/Desktop/images/12072025/22/30/image_12072025_22_30_24_10636.jpg', '/home/nano/Desktop/images/12072025/22/30/image_12072025_22_30_13_9654.jpg', '/home/nano/Desktop/images/12072025/22/29/image_12072025_22_29_34_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/30/image_12072025_22_30_34_9608.jpg
/home/nano/Desktop/images/12072025/22/30/image_12072025_22_30_24_10636.jpg
/home/nano/Desktop/images/12072025/22/30/image_12072025_22_30_13_9654.jpg
/home/nano/Desktop/images/12072025/22/29/image_12072025_22_29_34_9627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371940759","1371940825","1371940655","1371940684"],"photo_ids_order":["1371940655","1371940684","1371940759","1371940825"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20e2c646484367219c99eff3338552ec.jpg","text":"TemporaryFile(/tmp/multipartBody8012745544215649516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352309040,"filename":"image_12072025_22_30_13_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90a257aa6b94278cea5bfc8a0622f08e.jpg","text":"TemporaryFile(/tmp/multipartBody8450023796428062436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352309040,"filename":"image_12072025_22_29_34_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bbd0ca1f98d458a1054951bf925030b8.jpg","text":"TemporaryFile(/tmp/multipartBody6229614600936835326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352309040,"filename":"image_12072025_22_30_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/663b0e2c1bdc1a99e198cd955d3c0931.jpg","text":"TemporaryFile(/tmp/multipartBody8901012560764328132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352309040,"filename":"image_12072025_22_30_24_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371940759","file1":"1371940684","file0":"1371940655","file3":"1371940825"},"map_files_photo_id_array":[{"photo_id":"1371940759","filename":"file2"},{"photo_id":"1371940684","filename":"file1"},{"photo_id":"1371940655","filename":"file0"},{"photo_id":"1371940825","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371940759":["hashtag1","hashtag2"]},{"1371940825":["hashtag1","hashtag2"]},{"1371940655":["hashtag1","hashtag2"]},{"1371940684":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371940759, 1371940825, 1371940655, 1371940684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.113969326019287 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:31:17.763338
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/31/image_12072025_22_31_44_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/22/30/image_12072025_22_31_03_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/22/30/image_12072025_22_30_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/31/image_12072025_22_31_44_10623.jpg', '/home/nano/Desktop/images/12072025/22/30/image_12072025_22_31_03_9622.jpg', '/home/nano/Desktop/images/12072025/22/30/image_12072025_22_30_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/31/image_12072025_22_31_44_10623.jpg
/home/nano/Desktop/images/12072025/22/30/image_12072025_22_31_03_9622.jpg
/home/nano/Desktop/images/12072025/22/30/image_12072025_22_30_54_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371941184","1371941064","1371941116"],"photo_ids_order":["1371941064","1371941116","1371941184"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21c21477a6334f92aa55257e9b5cb5ec.jpg","text":"TemporaryFile(/tmp/multipartBody1171488318695243709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352339284,"filename":"image_12072025_22_30_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/39a53e91d206645a7a680535f2d7601d.jpg","text":"TemporaryFile(/tmp/multipartBody6577212363435662640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352339284,"filename":"image_12072025_22_31_44_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/596abbb4142acc4544d35ee118e2ea7a.jpg","text":"TemporaryFile(/tmp/multipartBody9184252516390574796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352339284,"filename":"image_12072025_22_31_03_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371941184","file1":"1371941116","file0":"1371941064"},"map_files_photo_id_array":[{"photo_id":"1371941184","filename":"file2"},{"photo_id":"1371941116","filename":"file1"},{"photo_id":"1371941064","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371941184":["hashtag1","hashtag2"]},{"1371941064":["hashtag1","hashtag2"]},{"1371941116":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371941184, 1371941064, 1371941116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.856449127197266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:31:47.754371
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_33_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_24_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_14_10649.jpg', 2), ('/home/nano/Desktop/images/10072025/15/15/image_10072025_15_16_03_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_54_10634.jpg', 2), ('/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_43_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_33_9616.jpg', '/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_24_9615.jpg', '/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_14_10649.jpg', '/home/nano/Desktop/images/10072025/15/15/image_10072025_15_16_03_9616.jpg', '/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_54_10634.jpg', '/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_43_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_33_9616.jpg
/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_24_9615.jpg
/home/nano/Desktop/images/10072025/15/16/image_10072025_15_16_14_10649.jpg
/home/nano/Desktop/images/10072025/15/15/image_10072025_15_16_03_9616.jpg
/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_54_10634.jpg
/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_43_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371941988","1371941760","1371941907","1371941696","1371941828","1371941626"],"photo_ids_order":["1371941626","1371941696","1371941760","1371941828","1371941907","1371941988"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20cef7d05ca47894eddcc23068339186.jpg","text":"TemporaryFile(/tmp/multipartBody1299009855340120832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352371135,"filename":"image_10072025_15_15_43_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9c58f9d3f340d8a0f90fce994589cd3.jpg","text":"TemporaryFile(/tmp/multipartBody95843008876499894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352371135,"filename":"image_10072025_15_16_14_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e9f51ba8ca559d600a994e915c8ac6b.jpg","text":"TemporaryFile(/tmp/multipartBody5942784891208326426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352371135,"filename":"image_10072025_15_15_54_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/338329cacab723803eb0e7efe0cb7438.jpg","text":"TemporaryFile(/tmp/multipartBody994947987057823796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352371135,"filename":"image_10072025_15_16_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16a4818a14c3e76d685af41fa2deebb2.jpg","text":"TemporaryFile(/tmp/multipartBody6487120840394428398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352371135,"filename":"image_10072025_15_16_03_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6ebeccae014f3b3ec04342ab907624f.jpg","text":"TemporaryFile(/tmp/multipartBody9953153525819859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352371135,"filename":"image_10072025_15_16_33_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371941760","file1":"1371941696","file0":"1371941626","file4":"1371941907","file5":"1371941988","file3":"1371941828"},"map_files_photo_id_array":[{"photo_id":"1371941988","filename":"file5"},{"photo_id":"1371941760","filename":"file2"},{"photo_id":"1371941907","filename":"file4"},{"photo_id":"1371941696","filename":"file1"},{"photo_id":"1371941626","filename":"file0"},{"photo_id":"1371941828","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371941988":["hashtag1","hashtag2"]},{"1371941760":["hashtag1","hashtag2"]},{"1371941907":["hashtag1","hashtag2"]},{"1371941696":["hashtag1","hashtag2"]},{"1371941828":["hashtag1","hashtag2"]},{"1371941626":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371941988, 1371941760, 1371941907, 1371941696, 1371941828, 1371941626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.999595403671265 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:32:31.909940
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_44_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_34_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_23_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/31/image_12072025_22_32_04_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/22/31/image_12072025_22_31_54_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_44_9627.jpg', '/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_34_10617.jpg', '/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_23_9611.jpg', '/home/nano/Desktop/images/12072025/22/31/image_12072025_22_32_04_10619.jpg', '/home/nano/Desktop/images/12072025/22/31/image_12072025_22_31_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_44_9627.jpg
/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_34_10617.jpg
/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_23_9611.jpg
/home/nano/Desktop/images/12072025/22/31/image_12072025_22_32_04_10619.jpg
/home/nano/Desktop/images/12072025/22/31/image_12072025_22_31_54_9616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371942327","1371942377","1371942622","1371942768","1371942471"],"photo_ids_order":["1371942327","1371942377","1371942471","1371942622","1371942768"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/62fee3868681bf40f6554b0c40e6f62f.jpg","text":"TemporaryFile(/tmp/multipartBody8253510292899769728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352413500,"filename":"image_12072025_22_32_44_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cfd797dd85a7d6814336837e83a26f63.jpg","text":"TemporaryFile(/tmp/multipartBody7575222673398706742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352413500,"filename":"image_12072025_22_32_34_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8c7d04fec4da65777dadc708d2c4f9c6.jpg","text":"TemporaryFile(/tmp/multipartBody5436316644689484331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352413500,"filename":"image_12072025_22_32_04_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/38399206e6d230a4dbd93e5625b4bc34.jpg","text":"TemporaryFile(/tmp/multipartBody6277984504299467706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352413500,"filename":"image_12072025_22_31_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e7261b4067f801e5ba03288fdf8f95f.jpg","text":"TemporaryFile(/tmp/multipartBody7367578208754691596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352413500,"filename":"image_12072025_22_32_23_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371942471","file1":"1371942377","file0":"1371942327","file4":"1371942768","file3":"1371942622"},"map_files_photo_id_array":[{"photo_id":"1371942471","filename":"file2"},{"photo_id":"1371942768","filename":"file4"},{"photo_id":"1371942377","filename":"file1"},{"photo_id":"1371942327","filename":"file0"},{"photo_id":"1371942622","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371942327":["hashtag1","hashtag2"]},{"1371942377":["hashtag1","hashtag2"]},{"1371942622":["hashtag1","hashtag2"]},{"1371942768":["hashtag1","hashtag2"]},{"1371942471":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371942327, 1371942377, 1371942622, 1371942768, 1371942471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.605108976364136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:33:02.713183
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_33_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_24_10628.jpg', 2), ('/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_13_9640.jpg', 2), ('/home/nano/Desktop/images/10072025/15/14/image_10072025_15_15_04_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_54_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_43_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_33_9620.jpg', '/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_24_10628.jpg', '/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_13_9640.jpg', '/home/nano/Desktop/images/10072025/15/14/image_10072025_15_15_04_9619.jpg', '/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_54_10633.jpg', '/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_43_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_33_9620.jpg
/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_24_10628.jpg
/home/nano/Desktop/images/10072025/15/15/image_10072025_15_15_13_9640.jpg
/home/nano/Desktop/images/10072025/15/14/image_10072025_15_15_04_9619.jpg
/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_54_10633.jpg
/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_43_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371943469","1371943337","1371943517","1371943468","1371943397","1371943314"],"photo_ids_order":["1371943314","1371943337","1371943397","1371943468","1371943469","1371943517"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f65ca91a5130dca9363f2c48a0a8d39.jpg","text":"TemporaryFile(/tmp/multipartBody7501420778158550269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352445791,"filename":"image_10072025_15_14_54_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45a25c4de7e60a7830e35554f1a77000.jpg","text":"TemporaryFile(/tmp/multipartBody6869195220676224326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352445791,"filename":"image_10072025_15_15_24_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9dd22d513af60ff6c7de22c53ecbaeae.jpg","text":"TemporaryFile(/tmp/multipartBody7383928984742432212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352445791,"filename":"image_10072025_15_14_43_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/24d27c0aa2429fa5a0edb86e12f5e2ed.jpg","text":"TemporaryFile(/tmp/multipartBody7731312160798060710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352445791,"filename":"image_10072025_15_15_04_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7fe72069834fdaadb8aab15fb79473e.jpg","text":"TemporaryFile(/tmp/multipartBody6582307892250060899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352445791,"filename":"image_10072025_15_15_13_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c16b3e62384bf0a2b35d0603eb29f45d.jpg","text":"TemporaryFile(/tmp/multipartBody1584936435187639072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352445791,"filename":"image_10072025_15_15_33_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371943397","file1":"1371943337","file0":"1371943314","file4":"1371943469","file5":"1371943517","file3":"1371943468"},"map_files_photo_id_array":[{"photo_id":"1371943517","filename":"file5"},{"photo_id":"1371943397","filename":"file2"},{"photo_id":"1371943469","filename":"file4"},{"photo_id":"1371943337","filename":"file1"},{"photo_id":"1371943314","filename":"file0"},{"photo_id":"1371943468","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371943469":["hashtag1","hashtag2"]},{"1371943337":["hashtag1","hashtag2"]},{"1371943517":["hashtag1","hashtag2"]},{"1371943468":["hashtag1","hashtag2"]},{"1371943397":["hashtag1","hashtag2"]},{"1371943314":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371943469, 1371943337, 1371943517, 1371943468, 1371943397, 1371943314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30001211166382 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:33:46.975558
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_43_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_34_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_24_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_14_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/22/32/image_12072025_22_33_04_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_53_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_43_9610.jpg', '/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_34_9612.jpg', '/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_24_10627.jpg', '/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_14_9633.jpg', '/home/nano/Desktop/images/12072025/22/32/image_12072025_22_33_04_10634.jpg', '/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_53_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_43_9610.jpg
/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_34_9612.jpg
/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_24_10627.jpg
/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_14_9633.jpg
/home/nano/Desktop/images/12072025/22/32/image_12072025_22_33_04_10634.jpg
/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_53_9622.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.62235426902771 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:34:02.845994
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_43_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_34_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_24_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_14_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/22/32/image_12072025_22_33_04_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_53_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_43_9610.jpg', '/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_34_9612.jpg', '/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_24_10627.jpg', '/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_14_9633.jpg', '/home/nano/Desktop/images/12072025/22/32/image_12072025_22_33_04_10634.jpg', '/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_53_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_43_9610.jpg
/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_34_9612.jpg
/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_24_10627.jpg
/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_14_9633.jpg
/home/nano/Desktop/images/12072025/22/32/image_12072025_22_33_04_10634.jpg
/home/nano/Desktop/images/12072025/22/32/image_12072025_22_32_53_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371943889","1371943952","1371943901","1371943981","1371944008","1371943926"],"photo_ids_order":["1371943889","1371943901","1371943926","1371943952","1371943981","1371944008"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/442052237e0fb9de5016a40768d0ca7d.jpg","text":"TemporaryFile(/tmp/multipartBody5156320070051570921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352504699,"filename":"image_12072025_22_33_43_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4b169947078e4a6f9b5e003901e1425a.jpg","text":"TemporaryFile(/tmp/multipartBody7801516687677888470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352504699,"filename":"image_12072025_22_33_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2641b1d0e00b3f3e09d4f90180e5ba72.jpg","text":"TemporaryFile(/tmp/multipartBody760757942883457140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352504699,"filename":"image_12072025_22_33_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc0692e579b0bd3e9e21f6263f759158.jpg","text":"TemporaryFile(/tmp/multipartBody7240460348457499051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352504699,"filename":"image_12072025_22_33_04_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/db687f1bee677e9e92ae71b9f5b6df74.jpg","text":"TemporaryFile(/tmp/multipartBody7814978115729614229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352504699,"filename":"image_12072025_22_32_53_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c7c22571f0c9767dae6edc3f44e46d23.jpg","text":"TemporaryFile(/tmp/multipartBody1482901230536483236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352504699,"filename":"image_12072025_22_33_24_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371943926","file1":"1371943901","file0":"1371943889","file4":"1371943981","file5":"1371944008","file3":"1371943952"},"map_files_photo_id_array":[{"photo_id":"1371944008","filename":"file5"},{"photo_id":"1371943926","filename":"file2"},{"photo_id":"1371943981","filename":"file4"},{"photo_id":"1371943901","filename":"file1"},{"photo_id":"1371943889","filename":"file0"},{"photo_id":"1371943952","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371943889":["hashtag1","hashtag2"]},{"1371943952":["hashtag1","hashtag2"]},{"1371943901":["hashtag1","hashtag2"]},{"1371943981":["hashtag1","hashtag2"]},{"1371944008":["hashtag1","hashtag2"]},{"1371943926":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371943889, 1371943952, 1371943901, 1371943981, 1371944008, 1371943926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.966781616210938 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:34:47.112947
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/34/image_12072025_22_34_34_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/22/34/image_12072025_22_34_13_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/22/33/image_12072025_22_34_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_54_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/34/image_12072025_22_34_34_9620.jpg', '/home/nano/Desktop/images/12072025/22/34/image_12072025_22_34_13_9632.jpg', '/home/nano/Desktop/images/12072025/22/33/image_12072025_22_34_04_9645.jpg', '/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/34/image_12072025_22_34_34_9620.jpg
/home/nano/Desktop/images/12072025/22/34/image_12072025_22_34_13_9632.jpg
/home/nano/Desktop/images/12072025/22/33/image_12072025_22_34_04_9645.jpg
/home/nano/Desktop/images/12072025/22/33/image_12072025_22_33_54_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944123","1371944126","1371944128","1371944121"],"photo_ids_order":["1371944121","1371944123","1371944126","1371944128"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0da06d0ac60ab0e66de54fa86007d702.jpg","text":"TemporaryFile(/tmp/multipartBody1678759724302336698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352548809,"filename":"image_12072025_22_34_13_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0fdc44fd5581e6990763d4054cb3b1c3.jpg","text":"TemporaryFile(/tmp/multipartBody5671042839292902575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352548809,"filename":"image_12072025_22_34_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c486a242e92de074d47ffd8d7d63fad.jpg","text":"TemporaryFile(/tmp/multipartBody3886051459142551747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352548809,"filename":"image_12072025_22_33_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e454d20636f5456e6e5430b6152a3f70.jpg","text":"TemporaryFile(/tmp/multipartBody8092290952394538861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352548809,"filename":"image_12072025_22_34_34_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944126","file1":"1371944123","file0":"1371944121","file3":"1371944128"},"map_files_photo_id_array":[{"photo_id":"1371944126","filename":"file2"},{"photo_id":"1371944123","filename":"file1"},{"photo_id":"1371944121","filename":"file0"},{"photo_id":"1371944128","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944123":["hashtag1","hashtag2"]},{"1371944126":["hashtag1","hashtag2"]},{"1371944128":["hashtag1","hashtag2"]},{"1371944121":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944123, 1371944126, 1371944128, 1371944121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.309942960739136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:35:32.193627
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/35/image_12072025_22_35_24_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/35/image_12072025_22_35_14_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/22/34/image_12072025_22_34_44_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/35/image_12072025_22_35_24_9611.jpg', '/home/nano/Desktop/images/12072025/22/35/image_12072025_22_35_14_10634.jpg', '/home/nano/Desktop/images/12072025/22/34/image_12072025_22_34_44_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/35/image_12072025_22_35_24_9611.jpg
/home/nano/Desktop/images/12072025/22/35/image_12072025_22_35_14_10634.jpg
/home/nano/Desktop/images/12072025/22/34/image_12072025_22_34_44_10638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944138","1371944137","1371944136"],"photo_ids_order":["1371944136","1371944137","1371944138"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ed9f9fb688975bb1dc2596874dfdd90f.jpg","text":"TemporaryFile(/tmp/multipartBody4247774157569689240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352593585,"filename":"image_12072025_22_34_44_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0acf0773b5d6dfc43fb586ff9c64df7c.jpg","text":"TemporaryFile(/tmp/multipartBody1744450030051817710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352593585,"filename":"image_12072025_22_35_14_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a0cd444bd284c1db43c16545b6ea730b.jpg","text":"TemporaryFile(/tmp/multipartBody1819948962777049279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352593585,"filename":"image_12072025_22_35_24_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944138","file1":"1371944137","file0":"1371944136"},"map_files_photo_id_array":[{"photo_id":"1371944138","filename":"file2"},{"photo_id":"1371944137","filename":"file1"},{"photo_id":"1371944136","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944138":["hashtag1","hashtag2"]},{"1371944137":["hashtag1","hashtag2"]},{"1371944136":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944138, 1371944137, 1371944136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.77951979637146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:36:02.961145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_34_10617.jpg', 2), ('/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_23_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_13_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/15/13/image_10072025_15_14_04_10665.jpg', 2), ('/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_53_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_44_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_34_10617.jpg', '/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_23_9625.jpg', '/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_13_9632.jpg', '/home/nano/Desktop/images/10072025/15/13/image_10072025_15_14_04_10665.jpg', '/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_53_9622.jpg', '/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_44_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_34_10617.jpg
/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_23_9625.jpg
/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_13_9632.jpg
/home/nano/Desktop/images/10072025/15/13/image_10072025_15_14_04_10665.jpg
/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_53_9622.jpg
/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_44_9620.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.216435194015503 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:36:17.327418
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/36/image_12072025_22_36_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/22/36/image_12072025_22_36_23_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/22/36/image_12072025_22_36_14_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/22/35/image_12072025_22_36_04_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/22/35/image_12072025_22_35_54_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/36/image_12072025_22_36_34_10623.jpg', '/home/nano/Desktop/images/12072025/22/36/image_12072025_22_36_23_9616.jpg', '/home/nano/Desktop/images/12072025/22/36/image_12072025_22_36_14_9636.jpg', '/home/nano/Desktop/images/12072025/22/35/image_12072025_22_36_04_10631.jpg', '/home/nano/Desktop/images/12072025/22/35/image_12072025_22_35_54_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/36/image_12072025_22_36_34_10623.jpg
/home/nano/Desktop/images/12072025/22/36/image_12072025_22_36_23_9616.jpg
/home/nano/Desktop/images/12072025/22/36/image_12072025_22_36_14_9636.jpg
/home/nano/Desktop/images/12072025/22/35/image_12072025_22_36_04_10631.jpg
/home/nano/Desktop/images/12072025/22/35/image_12072025_22_35_54_9610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944152","1371944146","1371944149","1371944151","1371944145"],"photo_ids_order":["1371944145","1371944146","1371944149","1371944151","1371944152"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1cf1e5b7e5b297b91c2740292687c6c.jpg","text":"TemporaryFile(/tmp/multipartBody7452643155830534117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352638802,"filename":"image_12072025_22_35_54_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/be9d9784d0cdc6b978a39b7513f6a984.jpg","text":"TemporaryFile(/tmp/multipartBody7239169443646462449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352638802,"filename":"image_12072025_22_36_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/79071018883abf17aeb22905f33524eb.jpg","text":"TemporaryFile(/tmp/multipartBody3646343422190347059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352638802,"filename":"image_12072025_22_36_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ff81787bb9e1857d379d38d2f796d7d.jpg","text":"TemporaryFile(/tmp/multipartBody356289326522638109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352638802,"filename":"image_12072025_22_36_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ab28d9b65c3c148849f51d2b277276c.jpg","text":"TemporaryFile(/tmp/multipartBody674776483207032483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352638802,"filename":"image_12072025_22_36_34_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944149","file1":"1371944146","file0":"1371944145","file4":"1371944152","file3":"1371944151"},"map_files_photo_id_array":[{"photo_id":"1371944149","filename":"file2"},{"photo_id":"1371944152","filename":"file4"},{"photo_id":"1371944146","filename":"file1"},{"photo_id":"1371944145","filename":"file0"},{"photo_id":"1371944151","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944152":["hashtag1","hashtag2"]},{"1371944146":["hashtag1","hashtag2"]},{"1371944149":["hashtag1","hashtag2"]},{"1371944151":["hashtag1","hashtag2"]},{"1371944145":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944152, 1371944146, 1371944149, 1371944151, 1371944145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.065848112106323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:36:47.309206
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_34_10617.jpg', 2), ('/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_23_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_13_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/15/13/image_10072025_15_14_04_10665.jpg', 2), ('/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_53_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_44_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_34_10617.jpg', '/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_23_9625.jpg', '/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_13_9632.jpg', '/home/nano/Desktop/images/10072025/15/13/image_10072025_15_14_04_10665.jpg', '/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_53_9622.jpg', '/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_44_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_34_10617.jpg
/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_23_9625.jpg
/home/nano/Desktop/images/10072025/15/14/image_10072025_15_14_13_9632.jpg
/home/nano/Desktop/images/10072025/15/13/image_10072025_15_14_04_10665.jpg
/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_53_9622.jpg
/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_44_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944162","1371944159","1371944161","1371944160","1371944163","1371944157"],"photo_ids_order":["1371944157","1371944159","1371944160","1371944161","1371944162","1371944163"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d38d471ee3b2b9c40bf77320eacb93af.jpg","text":"TemporaryFile(/tmp/multipartBody626133622430754561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352670517,"filename":"image_10072025_15_13_53_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd404670b1b20dde318d3e4cd824d422.jpg","text":"TemporaryFile(/tmp/multipartBody566069787603733242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352670517,"filename":"image_10072025_15_14_23_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9bfcd43b9c1784fac33a514f57207cbe.jpg","text":"TemporaryFile(/tmp/multipartBody6748026666811395183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352670517,"filename":"image_10072025_15_14_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f85673167c14a97820dab16f6e3a99dc.jpg","text":"TemporaryFile(/tmp/multipartBody6554984751302612382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352670517,"filename":"image_10072025_15_14_13_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50aedf35e20861761d63c0fff6b7a161.jpg","text":"TemporaryFile(/tmp/multipartBody7776593410609154495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352670517,"filename":"image_10072025_15_13_44_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0bf574c64d66e8652a16fa6f19e7d189.jpg","text":"TemporaryFile(/tmp/multipartBody4463157909075349805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352670517,"filename":"image_10072025_15_14_34_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944160","file1":"1371944159","file0":"1371944157","file4":"1371944162","file5":"1371944163","file3":"1371944161"},"map_files_photo_id_array":[{"photo_id":"1371944163","filename":"file5"},{"photo_id":"1371944160","filename":"file2"},{"photo_id":"1371944162","filename":"file4"},{"photo_id":"1371944159","filename":"file1"},{"photo_id":"1371944157","filename":"file0"},{"photo_id":"1371944161","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371944162":["hashtag1","hashtag2"]},{"1371944159":["hashtag1","hashtag2"]},{"1371944161":["hashtag1","hashtag2"]},{"1371944160":["hashtag1","hashtag2"]},{"1371944163":["hashtag1","hashtag2"]},{"1371944157":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371944162, 1371944159, 1371944161, 1371944160, 1371944163, 1371944157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.56140375137329 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:37:32.410444
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_43_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_34_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_24_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_14_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/22/36/image_12072025_22_37_04_10630.jpg', 2), ('/home/nano/Desktop/images/12072025/22/36/image_12072025_22_36_53_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_43_9613.jpg', '/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_34_9616.jpg', '/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_24_10618.jpg', '/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_14_9638.jpg', '/home/nano/Desktop/images/12072025/22/36/image_12072025_22_37_04_10630.jpg', '/home/nano/Desktop/images/12072025/22/36/image_12072025_22_36_53_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_43_9613.jpg
/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_34_9616.jpg
/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_24_10618.jpg
/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_14_9638.jpg
/home/nano/Desktop/images/12072025/22/36/image_12072025_22_37_04_10630.jpg
/home/nano/Desktop/images/12072025/22/36/image_12072025_22_36_53_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944176","1371944167","1371944169","1371944178","1371944171","1371944174"],"photo_ids_order":["1371944167","1371944169","1371944171","1371944174","1371944176","1371944178"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b03d55228a24d5fbb040380aec886d57.jpg","text":"TemporaryFile(/tmp/multipartBody8603465471358622172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352714101,"filename":"image_12072025_22_37_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77e11d0099a918362d0044349a8bc2b9.jpg","text":"TemporaryFile(/tmp/multipartBody3521872194635577990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352714101,"filename":"image_12072025_22_37_43_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/00e34ed9b5f938d4d1f518d7dae8e5a6.jpg","text":"TemporaryFile(/tmp/multipartBody8323511913023652024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352714101,"filename":"image_12072025_22_37_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/94f5470f2a4bec610b128e4be9ad3a4b.jpg","text":"TemporaryFile(/tmp/multipartBody9151474766680989465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352714101,"filename":"image_12072025_22_36_53_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f6b93be388ca200d4faa9a4c83af831.jpg","text":"TemporaryFile(/tmp/multipartBody9112134713065429034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352714101,"filename":"image_12072025_22_37_24_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ab8c6a703e8ab650cdf7c790eeab78b.jpg","text":"TemporaryFile(/tmp/multipartBody6910572329613536527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352714101,"filename":"image_12072025_22_37_14_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944171","file1":"1371944169","file0":"1371944167","file4":"1371944176","file5":"1371944178","file3":"1371944174"},"map_files_photo_id_array":[{"photo_id":"1371944178","filename":"file5"},{"photo_id":"1371944171","filename":"file2"},{"photo_id":"1371944176","filename":"file4"},{"photo_id":"1371944169","filename":"file1"},{"photo_id":"1371944167","filename":"file0"},{"photo_id":"1371944174","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944176":["hashtag1","hashtag2"]},{"1371944167":["hashtag1","hashtag2"]},{"1371944169":["hashtag1","hashtag2"]},{"1371944178":["hashtag1","hashtag2"]},{"1371944171":["hashtag1","hashtag2"]},{"1371944174":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944176, 1371944167, 1371944169, 1371944178, 1371944171, 1371944174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47230935096741 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:38:17.529005
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_44_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_34_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_13_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_44_10640.jpg', '/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_34_9608.jpg', '/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_24_10625.jpg', '/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_13_9637.jpg', '/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_44_10640.jpg
/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_34_9608.jpg
/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_24_10625.jpg
/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_13_9637.jpg
/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_54_10647.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4859600067138672 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:38:32.555246
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_44_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_34_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_24_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_13_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_44_10640.jpg', '/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_34_9608.jpg', '/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_24_10625.jpg', '/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_13_9637.jpg', '/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_44_10640.jpg
/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_34_9608.jpg
/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_24_10625.jpg
/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_13_9637.jpg
/home/nano/Desktop/images/12072025/22/37/image_12072025_22_37_54_10647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944194","1371944188","1371944190","1371944196","1371944192"],"photo_ids_order":["1371944188","1371944190","1371944192","1371944194","1371944196"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19ac7d5653c5811ee3ca44ee4b6cca85.jpg","text":"TemporaryFile(/tmp/multipartBody8570439894728723229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352773940,"filename":"image_12072025_22_38_13_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cefa07a5365a7949450cafb740c6895b.jpg","text":"TemporaryFile(/tmp/multipartBody6896006140265497871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352773940,"filename":"image_12072025_22_38_44_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c77170f7a2bf602c0e529fdb0d3eefd3.jpg","text":"TemporaryFile(/tmp/multipartBody2372601204517740310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352773940,"filename":"image_12072025_22_38_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73f0484009c9637b63d5bb02b5748047.jpg","text":"TemporaryFile(/tmp/multipartBody6986897312922485824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352773940,"filename":"image_12072025_22_37_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/724e59ed2917066f89973ac2bb7f7a8a.jpg","text":"TemporaryFile(/tmp/multipartBody8544034548477562070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352773940,"filename":"image_12072025_22_38_24_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944192","file1":"1371944190","file0":"1371944188","file4":"1371944196","file3":"1371944194"},"map_files_photo_id_array":[{"photo_id":"1371944192","filename":"file2"},{"photo_id":"1371944196","filename":"file4"},{"photo_id":"1371944190","filename":"file1"},{"photo_id":"1371944188","filename":"file0"},{"photo_id":"1371944194","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944194":["hashtag1","hashtag2"]},{"1371944188":["hashtag1","hashtag2"]},{"1371944190":["hashtag1","hashtag2"]},{"1371944196":["hashtag1","hashtag2"]},{"1371944192":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944194, 1371944188, 1371944190, 1371944196, 1371944192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.9598867893219 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:39:17.633159
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_33_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_24_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_54_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_44_10621.jpg', '/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_33_9624.jpg', '/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_24_9611.jpg', '/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_54_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_44_10621.jpg
/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_33_9624.jpg
/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_24_9611.jpg
/home/nano/Desktop/images/12072025/22/38/image_12072025_22_38_54_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944201","1371944207","1371944200","1371944203"],"photo_ids_order":["1371944200","1371944201","1371944203","1371944207"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d3385ade0adc8ee5a062aab561e6423.jpg","text":"TemporaryFile(/tmp/multipartBody1035827794983739841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352818981,"filename":"image_12072025_22_39_33_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44d1b9eb8a642d0c5adb0a07f6fdbade.jpg","text":"TemporaryFile(/tmp/multipartBody7283976160133670408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352818981,"filename":"image_12072025_22_38_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ad1cad2b49056b94d198cf0f35777e7.jpg","text":"TemporaryFile(/tmp/multipartBody7025898044234421112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352818981,"filename":"image_12072025_22_39_44_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/537e96c9221c62bb96f6347b1ec3a1b8.jpg","text":"TemporaryFile(/tmp/multipartBody233028621114923556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352818981,"filename":"image_12072025_22_39_24_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944203","file1":"1371944201","file0":"1371944200","file3":"1371944207"},"map_files_photo_id_array":[{"photo_id":"1371944203","filename":"file2"},{"photo_id":"1371944201","filename":"file1"},{"photo_id":"1371944200","filename":"file0"},{"photo_id":"1371944207","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944201":["hashtag1","hashtag2"]},{"1371944207":["hashtag1","hashtag2"]},{"1371944200":["hashtag1","hashtag2"]},{"1371944203":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944201, 1371944207, 1371944200, 1371944203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.931750774383545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:40:03.240426
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_34_10625.jpg', 2), ('/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_23_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_14_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/15/12/image_10072025_15_13_04_10622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_53_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_44_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_34_10625.jpg', '/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_23_9624.jpg', '/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_14_9635.jpg', '/home/nano/Desktop/images/10072025/15/12/image_10072025_15_13_04_10622.jpg', '/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_53_9616.jpg', '/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_44_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_34_10625.jpg
/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_23_9624.jpg
/home/nano/Desktop/images/10072025/15/13/image_10072025_15_13_14_9635.jpg
/home/nano/Desktop/images/10072025/15/12/image_10072025_15_13_04_10622.jpg
/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_53_9616.jpg
/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_44_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944216","1371944213","1371944221","1371944215","1371944218","1371944217"],"photo_ids_order":["1371944213","1371944215","1371944216","1371944217","1371944218","1371944221"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a2ad0d5649f64a6722fd730ebcd6bdef.jpg","text":"TemporaryFile(/tmp/multipartBody1010310167780380441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352866589,"filename":"image_10072025_15_13_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2f3e3fc96aec44273008e7c36adde7c6.jpg","text":"TemporaryFile(/tmp/multipartBody1736390711036691431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352866589,"filename":"image_10072025_15_13_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9289cea7b0452bd26650cdefb4e62078.jpg","text":"TemporaryFile(/tmp/multipartBody3775703394863727389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352866589,"filename":"image_10072025_15_12_44_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a8eb371fa594fc3b625df50f2dd769c.jpg","text":"TemporaryFile(/tmp/multipartBody7438924870776039200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352866589,"filename":"image_10072025_15_13_23_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3887fb2e7687c11f2585cb744e567a2d.jpg","text":"TemporaryFile(/tmp/multipartBody5620165480771014283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352866589,"filename":"image_10072025_15_12_53_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3da04fd70b36907c1837b9e9754e560d.jpg","text":"TemporaryFile(/tmp/multipartBody996410494739267642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352866589,"filename":"image_10072025_15_13_04_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944216","file1":"1371944215","file0":"1371944213","file4":"1371944218","file5":"1371944221","file3":"1371944217"},"map_files_photo_id_array":[{"photo_id":"1371944221","filename":"file5"},{"photo_id":"1371944216","filename":"file2"},{"photo_id":"1371944218","filename":"file4"},{"photo_id":"1371944215","filename":"file1"},{"photo_id":"1371944213","filename":"file0"},{"photo_id":"1371944217","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371944216":["hashtag1","hashtag2"]},{"1371944213":["hashtag1","hashtag2"]},{"1371944221":["hashtag1","hashtag2"]},{"1371944215":["hashtag1","hashtag2"]},{"1371944218":["hashtag1","hashtag2"]},{"1371944217":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371944216, 1371944213, 1371944221, 1371944215, 1371944218, 1371944217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23890566825867 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:40:47.723733
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_44_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_34_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_14_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_54_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_44_9607.jpg', '/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_34_10633.jpg', '/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_14_9628.jpg', '/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_44_9607.jpg
/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_34_10633.jpg
/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_14_9628.jpg
/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_54_9616.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.275331735610962 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:41:02.413895
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_44_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_34_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_14_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_54_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_44_9607.jpg', '/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_34_10633.jpg', '/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_14_9628.jpg', '/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_44_9607.jpg
/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_34_10633.jpg
/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_14_9628.jpg
/home/nano/Desktop/images/12072025/22/39/image_12072025_22_39_54_9616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944245","1371944239","1371944242","1371944244"],"photo_ids_order":["1371944239","1371944242","1371944244","1371944245"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6b9cf90c4f48518b2ca94dc5af50180a.jpg","text":"TemporaryFile(/tmp/multipartBody7489709925454898482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352923793,"filename":"image_12072025_22_39_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/189cef44ccc314233f1dc8b10945b21e.jpg","text":"TemporaryFile(/tmp/multipartBody1112509169614362888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352923793,"filename":"image_12072025_22_40_44_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b04d562e4ea7612d7813779f67131c94.jpg","text":"TemporaryFile(/tmp/multipartBody7310148153885967512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352923793,"filename":"image_12072025_22_40_34_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a3c18306a1d7df3fef584203025e243.jpg","text":"TemporaryFile(/tmp/multipartBody3630653981297272594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352923793,"filename":"image_12072025_22_40_14_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944244","file1":"1371944242","file0":"1371944239","file3":"1371944245"},"map_files_photo_id_array":[{"photo_id":"1371944244","filename":"file2"},{"photo_id":"1371944242","filename":"file1"},{"photo_id":"1371944239","filename":"file0"},{"photo_id":"1371944245","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944245":["hashtag1","hashtag2"]},{"1371944239":["hashtag1","hashtag2"]},{"1371944242":["hashtag1","hashtag2"]},{"1371944244":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944245, 1371944239, 1371944242, 1371944244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.276074171066284 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:41:31.818181
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_43_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_34_9637.jpg', 2), ('/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_14_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_53_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_43_9607.jpg', '/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_34_9637.jpg', '/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_24_10620.jpg', '/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_14_9643.jpg', '/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_53_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_43_9607.jpg
/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_34_9637.jpg
/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_24_10620.jpg
/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_14_9643.jpg
/home/nano/Desktop/images/12072025/22/40/image_12072025_22_40_53_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944249","1371944251","1371944248","1371944253","1371944247"],"photo_ids_order":["1371944247","1371944248","1371944249","1371944251","1371944253"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f77eab32fe2a03771c7d0d141d5ea4c2.jpg","text":"TemporaryFile(/tmp/multipartBody7316902210954427438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352953351,"filename":"image_12072025_22_41_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e5324fc841507b9bdc33b7b774b7a91.jpg","text":"TemporaryFile(/tmp/multipartBody6777200211050655389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352953351,"filename":"image_12072025_22_41_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2053f8e979ebf94664bfbd2769fdb321.jpg","text":"TemporaryFile(/tmp/multipartBody4177998763924021863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352953351,"filename":"image_12072025_22_41_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3d52a9774556c5159cf10c8f2bef0b4.jpg","text":"TemporaryFile(/tmp/multipartBody6226468848008478901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352953351,"filename":"image_12072025_22_40_53_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5fb0d19dbedfd5bb0a40a3081d055b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3344757735422037897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352953351,"filename":"image_12072025_22_41_43_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944249","file1":"1371944248","file0":"1371944247","file4":"1371944253","file3":"1371944251"},"map_files_photo_id_array":[{"photo_id":"1371944249","filename":"file2"},{"photo_id":"1371944253","filename":"file4"},{"photo_id":"1371944248","filename":"file1"},{"photo_id":"1371944247","filename":"file0"},{"photo_id":"1371944251","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944249":["hashtag1","hashtag2"]},{"1371944251":["hashtag1","hashtag2"]},{"1371944248":["hashtag1","hashtag2"]},{"1371944253":["hashtag1","hashtag2"]},{"1371944247":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944249, 1371944251, 1371944248, 1371944253, 1371944247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.508015394210815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:42:02.457314
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_33_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_24_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_14_10635.jpg', 2), ('/home/nano/Desktop/images/10072025/15/11/image_10072025_15_12_03_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_54_9617.jpg', 2), ('/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_44_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_33_9629.jpg', '/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_24_9626.jpg', '/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_14_10635.jpg', '/home/nano/Desktop/images/10072025/15/11/image_10072025_15_12_03_9635.jpg', '/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_54_9617.jpg', '/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_44_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_33_9629.jpg
/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_24_9626.jpg
/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_14_10635.jpg
/home/nano/Desktop/images/10072025/15/11/image_10072025_15_12_03_9635.jpg
/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_54_9617.jpg
/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_44_10632.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.756686210632324 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:42:16.898337
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/42/image_12072025_22_42_44_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/22/42/image_12072025_22_42_34_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/22/42/image_12072025_22_42_13_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/22/41/image_12072025_22_42_04_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_54_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/42/image_12072025_22_42_44_10620.jpg', '/home/nano/Desktop/images/12072025/22/42/image_12072025_22_42_34_9613.jpg', '/home/nano/Desktop/images/12072025/22/42/image_12072025_22_42_13_9629.jpg', '/home/nano/Desktop/images/12072025/22/41/image_12072025_22_42_04_9631.jpg', '/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_54_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/42/image_12072025_22_42_44_10620.jpg
/home/nano/Desktop/images/12072025/22/42/image_12072025_22_42_34_9613.jpg
/home/nano/Desktop/images/12072025/22/42/image_12072025_22_42_13_9629.jpg
/home/nano/Desktop/images/12072025/22/41/image_12072025_22_42_04_9631.jpg
/home/nano/Desktop/images/12072025/22/41/image_12072025_22_41_54_10621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944269","1371944272","1371944271","1371944274","1371944273"],"photo_ids_order":["1371944269","1371944271","1371944272","1371944273","1371944274"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec3ff680582aad1ea2079c8aa9b4bbd2.jpg","text":"TemporaryFile(/tmp/multipartBody5713593176797184994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352998476,"filename":"image_12072025_22_42_44_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4e48869782a0e461f9e744bfe2020b4.jpg","text":"TemporaryFile(/tmp/multipartBody3836801384927350915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352998476,"filename":"image_12072025_22_42_13_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4d1e066674bd6f6996eb04076d796578.jpg","text":"TemporaryFile(/tmp/multipartBody4076378600843468825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352998476,"filename":"image_12072025_22_42_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/177a8a379ffaeee1b8c65f19c5106a66.jpg","text":"TemporaryFile(/tmp/multipartBody2012132858034341548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352998476,"filename":"image_12072025_22_41_54_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e2626c924f8e0e6798310b61c62119e.jpg","text":"TemporaryFile(/tmp/multipartBody8515074493757383549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752352998476,"filename":"image_12072025_22_42_04_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944272","file1":"1371944271","file0":"1371944269","file4":"1371944274","file3":"1371944273"},"map_files_photo_id_array":[{"photo_id":"1371944272","filename":"file2"},{"photo_id":"1371944274","filename":"file4"},{"photo_id":"1371944271","filename":"file1"},{"photo_id":"1371944269","filename":"file0"},{"photo_id":"1371944273","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944269":["hashtag1","hashtag2"]},{"1371944272":["hashtag1","hashtag2"]},{"1371944271":["hashtag1","hashtag2"]},{"1371944274":["hashtag1","hashtag2"]},{"1371944273":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944269, 1371944272, 1371944271, 1371944274, 1371944273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.190518617630005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:42:46.905049
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_33_9629.jpg', 2), ('/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_24_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_14_10635.jpg', 2), ('/home/nano/Desktop/images/10072025/15/11/image_10072025_15_12_03_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_54_9617.jpg', 2), ('/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_44_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_33_9629.jpg', '/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_24_9626.jpg', '/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_14_10635.jpg', '/home/nano/Desktop/images/10072025/15/11/image_10072025_15_12_03_9635.jpg', '/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_54_9617.jpg', '/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_44_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_33_9629.jpg
/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_24_9626.jpg
/home/nano/Desktop/images/10072025/15/12/image_10072025_15_12_14_10635.jpg
/home/nano/Desktop/images/10072025/15/11/image_10072025_15_12_03_9635.jpg
/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_54_9617.jpg
/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_44_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944281","1371944278","1371944286","1371944283","1371944291","1371944288"],"photo_ids_order":["1371944278","1371944281","1371944283","1371944286","1371944288","1371944291"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/517114a249ed8bfbb50cddd32af777ab.jpg","text":"TemporaryFile(/tmp/multipartBody3912299832056816351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353029675,"filename":"image_10072025_15_12_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0421d5400eb4433c679c446871843c1d.jpg","text":"TemporaryFile(/tmp/multipartBody4907195983239814648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353029675,"filename":"image_10072025_15_12_33_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5574b4c20e252beb14b0897d404ffc0f.jpg","text":"TemporaryFile(/tmp/multipartBody8368850865879451616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353029675,"filename":"image_10072025_15_12_03_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6e2153ad5198bf1c066545bf71d0a7a.jpg","text":"TemporaryFile(/tmp/multipartBody346067193290045597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353029675,"filename":"image_10072025_15_12_14_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70b90a507d9ba24163820b3c9f69b2ac.jpg","text":"TemporaryFile(/tmp/multipartBody3732808868388501814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353029675,"filename":"image_10072025_15_11_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c50f235c9f63e4db14f9b6fffcd5ae19.jpg","text":"TemporaryFile(/tmp/multipartBody371245079213693374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353029675,"filename":"image_10072025_15_11_54_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944283","file1":"1371944281","file0":"1371944278","file4":"1371944288","file5":"1371944291","file3":"1371944286"},"map_files_photo_id_array":[{"photo_id":"1371944291","filename":"file5"},{"photo_id":"1371944283","filename":"file2"},{"photo_id":"1371944288","filename":"file4"},{"photo_id":"1371944281","filename":"file1"},{"photo_id":"1371944278","filename":"file0"},{"photo_id":"1371944286","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371944281":["hashtag1","hashtag2"]},{"1371944278":["hashtag1","hashtag2"]},{"1371944286":["hashtag1","hashtag2"]},{"1371944283":["hashtag1","hashtag2"]},{"1371944291":["hashtag1","hashtag2"]},{"1371944288":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371944281, 1371944278, 1371944286, 1371944283, 1371944291, 1371944288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55516076087952 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:43:32.032595
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_44_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_24_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_14_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/22/42/image_12072025_22_43_03_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/22/42/image_12072025_22_42_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_44_10618.jpg', '/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_33_9615.jpg', '/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_24_9615.jpg', '/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_14_10640.jpg', '/home/nano/Desktop/images/12072025/22/42/image_12072025_22_43_03_9620.jpg', '/home/nano/Desktop/images/12072025/22/42/image_12072025_22_42_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_44_10618.jpg
/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_33_9615.jpg
/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_24_9615.jpg
/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_14_10640.jpg
/home/nano/Desktop/images/12072025/22/42/image_12072025_22_43_03_9620.jpg
/home/nano/Desktop/images/12072025/22/42/image_12072025_22_42_54_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944300","1371944296","1371944302","1371944295","1371944304","1371944297"],"photo_ids_order":["1371944295","1371944296","1371944297","1371944300","1371944302","1371944304"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a983c5a5105292d5398cb659964b6f45.jpg","text":"TemporaryFile(/tmp/multipartBody4446211938085253106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353074233,"filename":"image_12072025_22_43_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efd5a05e6278475dc9b08f348f806fa7.jpg","text":"TemporaryFile(/tmp/multipartBody6718046618838634209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353074233,"filename":"image_12072025_22_43_33_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3713c94f47c7c2c63a6770c3d0cba63e.jpg","text":"TemporaryFile(/tmp/multipartBody7073771583315635699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353074233,"filename":"image_12072025_22_43_03_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d9a6b813d65da51c2d1124df1e0fd93.jpg","text":"TemporaryFile(/tmp/multipartBody7117194724501227564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353074233,"filename":"image_12072025_22_43_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d7d245f78fa8239dfadce541c0494b7.jpg","text":"TemporaryFile(/tmp/multipartBody8484301912600887557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353074233,"filename":"image_12072025_22_42_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf0709b00274373f59c32813a374a221.jpg","text":"TemporaryFile(/tmp/multipartBody6379243912016987675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353074233,"filename":"image_12072025_22_43_24_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944297","file1":"1371944296","file0":"1371944295","file4":"1371944302","file5":"1371944304","file3":"1371944300"},"map_files_photo_id_array":[{"photo_id":"1371944304","filename":"file5"},{"photo_id":"1371944297","filename":"file2"},{"photo_id":"1371944302","filename":"file4"},{"photo_id":"1371944296","filename":"file1"},{"photo_id":"1371944295","filename":"file0"},{"photo_id":"1371944300","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944300":["hashtag1","hashtag2"]},{"1371944296":["hashtag1","hashtag2"]},{"1371944302":["hashtag1","hashtag2"]},{"1371944295":["hashtag1","hashtag2"]},{"1371944304":["hashtag1","hashtag2"]},{"1371944297":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944300, 1371944296, 1371944302, 1371944295, 1371944304, 1371944297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.99975824356079 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:44:17.116917
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_44_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_23_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_14_9636.jpg', 2), ('/home/nano/Desktop/images/12072025/22/43/image_12072025_22_44_04_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_54_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_44_9611.jpg', '/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_34_10620.jpg', '/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_23_9617.jpg', '/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_14_9636.jpg', '/home/nano/Desktop/images/12072025/22/43/image_12072025_22_44_04_10625.jpg', '/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_44_9611.jpg
/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_34_10620.jpg
/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_23_9617.jpg
/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_14_9636.jpg
/home/nano/Desktop/images/12072025/22/43/image_12072025_22_44_04_10625.jpg
/home/nano/Desktop/images/12072025/22/43/image_12072025_22_43_54_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944315","1371944318","1371944320","1371944314","1371944317","1371944319"],"photo_ids_order":["1371944314","1371944315","1371944317","1371944318","1371944319","1371944320"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ae7d3a43b1be443b9ea2a3b409bb05e.jpg","text":"TemporaryFile(/tmp/multipartBody7292827322278897324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353119243,"filename":"image_12072025_22_44_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d84d95a7e061c2784ca87aa41343e255.jpg","text":"TemporaryFile(/tmp/multipartBody5641421146969700511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353119243,"filename":"image_12072025_22_44_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f327ca0f55060a8e61cd234483cd8975.jpg","text":"TemporaryFile(/tmp/multipartBody3232293866031568909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353119243,"filename":"image_12072025_22_43_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cfc95e379ea2e723b6bc1e5cf59f839b.jpg","text":"TemporaryFile(/tmp/multipartBody2729604579253520057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353119243,"filename":"image_12072025_22_44_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2c24ee202b0c2cd80d05d61ac2a8436d.jpg","text":"TemporaryFile(/tmp/multipartBody5656593645491827162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353119243,"filename":"image_12072025_22_44_23_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9a47faffa8d559e0ef76ed655e67ab0e.jpg","text":"TemporaryFile(/tmp/multipartBody4144269419378829689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353119243,"filename":"image_12072025_22_44_04_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944317","file1":"1371944315","file0":"1371944314","file4":"1371944319","file5":"1371944320","file3":"1371944318"},"map_files_photo_id_array":[{"photo_id":"1371944320","filename":"file5"},{"photo_id":"1371944317","filename":"file2"},{"photo_id":"1371944319","filename":"file4"},{"photo_id":"1371944315","filename":"file1"},{"photo_id":"1371944314","filename":"file0"},{"photo_id":"1371944318","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944315":["hashtag1","hashtag2"]},{"1371944318":["hashtag1","hashtag2"]},{"1371944320":["hashtag1","hashtag2"]},{"1371944314":["hashtag1","hashtag2"]},{"1371944317":["hashtag1","hashtag2"]},{"1371944319":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944315, 1371944318, 1371944320, 1371944314, 1371944317, 1371944319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.475318670272827 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:45:02.972082
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_33_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_24_10621.jpg', 2), ('/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_13_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/15/10/image_10072025_15_11_04_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_54_10624.jpg', 2), ('/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_43_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_33_9616.jpg', '/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_24_10621.jpg', '/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_13_9632.jpg', '/home/nano/Desktop/images/10072025/15/10/image_10072025_15_11_04_9643.jpg', '/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_54_10624.jpg', '/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_43_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_33_9616.jpg
/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_24_10621.jpg
/home/nano/Desktop/images/10072025/15/11/image_10072025_15_11_13_9632.jpg
/home/nano/Desktop/images/10072025/15/10/image_10072025_15_11_04_9643.jpg
/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_54_10624.jpg
/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_43_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944336","1371944329","1371944334","1371944337","1371944331","1371944339"],"photo_ids_order":["1371944329","1371944331","1371944334","1371944336","1371944337","1371944339"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08da57f565ffc5d4f3992191293e145e.jpg","text":"TemporaryFile(/tmp/multipartBody1523057294515787149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353166308,"filename":"image_10072025_15_11_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2c3718206f6398d47125042ccb752c7.jpg","text":"TemporaryFile(/tmp/multipartBody7144220226649898028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353166308,"filename":"image_10072025_15_11_33_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90185b7f826e022cc333d6d28e0151bf.jpg","text":"TemporaryFile(/tmp/multipartBody1013543598755799458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353166308,"filename":"image_10072025_15_11_13_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06cc836dc2677c6f103d297a0f2d3229.jpg","text":"TemporaryFile(/tmp/multipartBody4818098896106354395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353166308,"filename":"image_10072025_15_10_54_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b94f79477577d6d294a5a1fb99b19507.jpg","text":"TemporaryFile(/tmp/multipartBody4679404926443401905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353166308,"filename":"image_10072025_15_11_24_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd96afa070065a87ba0113027b67d01d.jpg","text":"TemporaryFile(/tmp/multipartBody7898300311340011814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353166308,"filename":"image_10072025_15_10_43_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944334","file1":"1371944331","file0":"1371944329","file4":"1371944337","file5":"1371944339","file3":"1371944336"},"map_files_photo_id_array":[{"photo_id":"1371944339","filename":"file5"},{"photo_id":"1371944334","filename":"file2"},{"photo_id":"1371944337","filename":"file4"},{"photo_id":"1371944331","filename":"file1"},{"photo_id":"1371944329","filename":"file0"},{"photo_id":"1371944336","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371944336":["hashtag1","hashtag2"]},{"1371944329":["hashtag1","hashtag2"]},{"1371944334":["hashtag1","hashtag2"]},{"1371944337":["hashtag1","hashtag2"]},{"1371944331":["hashtag1","hashtag2"]},{"1371944339":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371944336, 1371944329, 1371944334, 1371944337, 1371944331, 1371944339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.768293142318726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:45:47.214581
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/45/image_12072025_22_45_24_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/22/45/image_12072025_22_45_14_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/22/44/image_12072025_22_45_04_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_54_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/45/image_12072025_22_45_24_10637.jpg', '/home/nano/Desktop/images/12072025/22/45/image_12072025_22_45_14_9633.jpg', '/home/nano/Desktop/images/12072025/22/44/image_12072025_22_45_04_9616.jpg', '/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_54_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/45/image_12072025_22_45_24_10637.jpg
/home/nano/Desktop/images/12072025/22/45/image_12072025_22_45_14_9633.jpg
/home/nano/Desktop/images/12072025/22/44/image_12072025_22_45_04_9616.jpg
/home/nano/Desktop/images/12072025/22/44/image_12072025_22_44_54_10636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944344","1371944347","1371944349","1371944346"],"photo_ids_order":["1371944344","1371944346","1371944347","1371944349"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/56ca16e7c5e41e462278c69d43e6e521.jpg","text":"TemporaryFile(/tmp/multipartBody3083034498497915918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353208647,"filename":"image_12072025_22_45_24_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af890c29cd2827e7a24ad1dcb299d9c7.jpg","text":"TemporaryFile(/tmp/multipartBody7395882214092276034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353208647,"filename":"image_12072025_22_45_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8da989182bf432d55c2d4af367f583f2.jpg","text":"TemporaryFile(/tmp/multipartBody7381519799221459984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353208647,"filename":"image_12072025_22_44_54_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cd006e006d039feeb4849446f9f2e484.jpg","text":"TemporaryFile(/tmp/multipartBody7321686097970013014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353208647,"filename":"image_12072025_22_45_14_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944347","file1":"1371944346","file0":"1371944344","file3":"1371944349"},"map_files_photo_id_array":[{"photo_id":"1371944347","filename":"file2"},{"photo_id":"1371944346","filename":"file1"},{"photo_id":"1371944344","filename":"file0"},{"photo_id":"1371944349","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944344":["hashtag1","hashtag2"]},{"1371944347":["hashtag1","hashtag2"]},{"1371944349":["hashtag1","hashtag2"]},{"1371944346":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944344, 1371944347, 1371944349, 1371944346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.879525661468506 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:46:17.306504
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/46/image_12072025_22_46_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/22/46/image_12072025_22_46_24_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/22/46/image_12072025_22_46_13_9644.jpg', 2), ('/home/nano/Desktop/images/12072025/22/45/image_12072025_22_46_04_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/22/45/image_12072025_22_45_43_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/46/image_12072025_22_46_34_9610.jpg', '/home/nano/Desktop/images/12072025/22/46/image_12072025_22_46_24_10626.jpg', '/home/nano/Desktop/images/12072025/22/46/image_12072025_22_46_13_9644.jpg', '/home/nano/Desktop/images/12072025/22/45/image_12072025_22_46_04_9635.jpg', '/home/nano/Desktop/images/12072025/22/45/image_12072025_22_45_43_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/46/image_12072025_22_46_34_9610.jpg
/home/nano/Desktop/images/12072025/22/46/image_12072025_22_46_24_10626.jpg
/home/nano/Desktop/images/12072025/22/46/image_12072025_22_46_13_9644.jpg
/home/nano/Desktop/images/12072025/22/45/image_12072025_22_46_04_9635.jpg
/home/nano/Desktop/images/12072025/22/45/image_12072025_22_45_43_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944354","1371944356","1371944359","1371944361","1371944357"],"photo_ids_order":["1371944354","1371944356","1371944357","1371944359","1371944361"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1b3b560b406aa1c26e0b5b0a7a180364.jpg","text":"TemporaryFile(/tmp/multipartBody2161740357471083490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353239044,"filename":"image_12072025_22_46_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cc1ae890620717b87fbef8185a357d69.jpg","text":"TemporaryFile(/tmp/multipartBody3750287379246880466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353239044,"filename":"image_12072025_22_46_24_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06d1ac3cdafbd1e6b97c6e696911871f.jpg","text":"TemporaryFile(/tmp/multipartBody7150283291308559477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353239044,"filename":"image_12072025_22_46_04_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ba338537658ab1eb594ecf78b7ebec84.jpg","text":"TemporaryFile(/tmp/multipartBody979460230958462828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353239044,"filename":"image_12072025_22_45_43_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36d4ea62503aac2530c87ae5fa995404.jpg","text":"TemporaryFile(/tmp/multipartBody3915720629583769543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353239044,"filename":"image_12072025_22_46_13_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944357","file1":"1371944356","file0":"1371944354","file4":"1371944361","file3":"1371944359"},"map_files_photo_id_array":[{"photo_id":"1371944357","filename":"file2"},{"photo_id":"1371944361","filename":"file4"},{"photo_id":"1371944356","filename":"file1"},{"photo_id":"1371944354","filename":"file0"},{"photo_id":"1371944359","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944354":["hashtag1","hashtag2"]},{"1371944356":["hashtag1","hashtag2"]},{"1371944359":["hashtag1","hashtag2"]},{"1371944361":["hashtag1","hashtag2"]},{"1371944357":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944354, 1371944356, 1371944359, 1371944361, 1371944357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.315479278564453 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:47:02.939576
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_34_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_24_10622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_13_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/15/09/image_10072025_15_10_04_10628.jpg', 2), ('/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_53_9610.jpg', 2), ('/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_44_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_34_9615.jpg', '/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_24_10622.jpg', '/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_13_9631.jpg', '/home/nano/Desktop/images/10072025/15/09/image_10072025_15_10_04_10628.jpg', '/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_53_9610.jpg', '/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_44_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_34_9615.jpg
/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_24_10622.jpg
/home/nano/Desktop/images/10072025/15/10/image_10072025_15_10_13_9631.jpg
/home/nano/Desktop/images/10072025/15/09/image_10072025_15_10_04_10628.jpg
/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_53_9610.jpg
/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_44_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944374","1371944368","1371944377","1371944370","1371944373","1371944375"],"photo_ids_order":["1371944368","1371944370","1371944373","1371944374","1371944375","1371944377"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21fc497850663d128d7d0de8940c53eb.jpg","text":"TemporaryFile(/tmp/multipartBody119578134953371093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353286177,"filename":"image_10072025_15_10_04_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d640e2361e5e9cb1bde240829089606.jpg","text":"TemporaryFile(/tmp/multipartBody9058438334879111808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353286177,"filename":"image_10072025_15_10_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ef863f4a2dd03298e663bcc1e0e2f889.jpg","text":"TemporaryFile(/tmp/multipartBody6763209613180948951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353286177,"filename":"image_10072025_15_09_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff1592c4f4ecac4c3df5bf5be1c11aff.jpg","text":"TemporaryFile(/tmp/multipartBody8636865849688499043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353286177,"filename":"image_10072025_15_10_24_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4cf037c6b4159c09c3754f9d40ce87f5.jpg","text":"TemporaryFile(/tmp/multipartBody6616110327502953494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353286177,"filename":"image_10072025_15_10_13_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/684a232a28736046150e61374542d52d.jpg","text":"TemporaryFile(/tmp/multipartBody6334776264515029684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353286177,"filename":"image_10072025_15_09_53_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944373","file1":"1371944370","file0":"1371944368","file4":"1371944375","file5":"1371944377","file3":"1371944374"},"map_files_photo_id_array":[{"photo_id":"1371944377","filename":"file5"},{"photo_id":"1371944373","filename":"file2"},{"photo_id":"1371944375","filename":"file4"},{"photo_id":"1371944370","filename":"file1"},{"photo_id":"1371944368","filename":"file0"},{"photo_id":"1371944374","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371944374":["hashtag1","hashtag2"]},{"1371944368":["hashtag1","hashtag2"]},{"1371944377":["hashtag1","hashtag2"]},{"1371944370":["hashtag1","hashtag2"]},{"1371944373":["hashtag1","hashtag2"]},{"1371944375":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371944374, 1371944368, 1371944377, 1371944370, 1371944373, 1371944375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.067776679992676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:47:47.470370
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/47/image_12072025_22_47_44_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/47/image_12072025_22_47_24_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/22/47/image_12072025_22_47_14_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/22/46/image_12072025_22_47_03_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/22/46/image_12072025_22_46_54_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/47/image_12072025_22_47_44_9611.jpg', '/home/nano/Desktop/images/12072025/22/47/image_12072025_22_47_24_9612.jpg', '/home/nano/Desktop/images/12072025/22/47/image_12072025_22_47_14_10645.jpg', '/home/nano/Desktop/images/12072025/22/46/image_12072025_22_47_03_9625.jpg', '/home/nano/Desktop/images/12072025/22/46/image_12072025_22_46_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/47/image_12072025_22_47_44_9611.jpg
/home/nano/Desktop/images/12072025/22/47/image_12072025_22_47_24_9612.jpg
/home/nano/Desktop/images/12072025/22/47/image_12072025_22_47_14_10645.jpg
/home/nano/Desktop/images/12072025/22/46/image_12072025_22_47_03_9625.jpg
/home/nano/Desktop/images/12072025/22/46/image_12072025_22_46_54_9616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944386","1371944383","1371944385","1371944388","1371944381"],"photo_ids_order":["1371944381","1371944383","1371944385","1371944386","1371944388"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e0aa677149cfb41e74dc538125f147da.jpg","text":"TemporaryFile(/tmp/multipartBody5550601386607736076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353329852,"filename":"image_12072025_22_47_03_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7272026ca43df3d1cc68262027b5706f.jpg","text":"TemporaryFile(/tmp/multipartBody2409979948007971670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353329852,"filename":"image_12072025_22_47_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/542bfe01f00fc065740b4878a1488c71.jpg","text":"TemporaryFile(/tmp/multipartBody6999612074395395663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353329852,"filename":"image_12072025_22_47_14_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/782fde36615049fbdf7b605878bf1469.jpg","text":"TemporaryFile(/tmp/multipartBody7633682777160019392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353329852,"filename":"image_12072025_22_46_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/956fbefca152f62c2787d97e7960ad28.jpg","text":"TemporaryFile(/tmp/multipartBody1226076218283529113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353329852,"filename":"image_12072025_22_47_44_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944385","file1":"1371944383","file0":"1371944381","file4":"1371944388","file3":"1371944386"},"map_files_photo_id_array":[{"photo_id":"1371944385","filename":"file2"},{"photo_id":"1371944388","filename":"file4"},{"photo_id":"1371944383","filename":"file1"},{"photo_id":"1371944381","filename":"file0"},{"photo_id":"1371944386","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944386":["hashtag1","hashtag2"]},{"1371944383":["hashtag1","hashtag2"]},{"1371944385":["hashtag1","hashtag2"]},{"1371944388":["hashtag1","hashtag2"]},{"1371944381":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944386, 1371944383, 1371944385, 1371944388, 1371944381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.528233766555786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:48:17.620066
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/48/image_12072025_22_48_44_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/22/48/image_12072025_22_48_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/22/48/image_12072025_22_48_14_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/22/47/image_12072025_22_48_04_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/22/47/image_12072025_22_47_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/48/image_12072025_22_48_44_9610.jpg', '/home/nano/Desktop/images/12072025/22/48/image_12072025_22_48_34_10618.jpg', '/home/nano/Desktop/images/12072025/22/48/image_12072025_22_48_14_9635.jpg', '/home/nano/Desktop/images/12072025/22/47/image_12072025_22_48_04_10634.jpg', '/home/nano/Desktop/images/12072025/22/47/image_12072025_22_47_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/48/image_12072025_22_48_44_9610.jpg
/home/nano/Desktop/images/12072025/22/48/image_12072025_22_48_34_10618.jpg
/home/nano/Desktop/images/12072025/22/48/image_12072025_22_48_14_9635.jpg
/home/nano/Desktop/images/12072025/22/47/image_12072025_22_48_04_10634.jpg
/home/nano/Desktop/images/12072025/22/47/image_12072025_22_47_54_9619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944395","1371944397","1371944394","1371944393","1371944396"],"photo_ids_order":["1371944393","1371944394","1371944395","1371944396","1371944397"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2bb6995562bd2519e383b69d1713b436.jpg","text":"TemporaryFile(/tmp/multipartBody6637074809383988012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353359157,"filename":"image_12072025_22_48_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1fa26935ef6df1a381d28b268b1bd7ff.jpg","text":"TemporaryFile(/tmp/multipartBody8526623193150005562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353359157,"filename":"image_12072025_22_47_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c0bb9c79fe5ce3a994aacd9185c1cc95.jpg","text":"TemporaryFile(/tmp/multipartBody8429954488852208637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353359157,"filename":"image_12072025_22_48_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/80e68bb6276b419a37c534b95deaf6f6.jpg","text":"TemporaryFile(/tmp/multipartBody5221318924124544011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353359157,"filename":"image_12072025_22_48_44_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/349e03a88070d7c43ef8536fcff301e5.jpg","text":"TemporaryFile(/tmp/multipartBody7372674673253899307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353359157,"filename":"image_12072025_22_48_04_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944395","file1":"1371944394","file0":"1371944393","file4":"1371944397","file3":"1371944396"},"map_files_photo_id_array":[{"photo_id":"1371944395","filename":"file2"},{"photo_id":"1371944397","filename":"file4"},{"photo_id":"1371944394","filename":"file1"},{"photo_id":"1371944393","filename":"file0"},{"photo_id":"1371944396","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944395":["hashtag1","hashtag2"]},{"1371944397":["hashtag1","hashtag2"]},{"1371944394":["hashtag1","hashtag2"]},{"1371944393":["hashtag1","hashtag2"]},{"1371944396":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944395, 1371944397, 1371944394, 1371944393, 1371944396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.719508409500122 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:48:47.564360
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_34_10631.jpg', 2), ('/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_23_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_14_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/15/08/image_10072025_15_09_04_10619.jpg', 2), ('/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_53_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_44_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_34_10631.jpg', '/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_23_9626.jpg', '/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_14_9625.jpg', '/home/nano/Desktop/images/10072025/15/08/image_10072025_15_09_04_10619.jpg', '/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_53_9622.jpg', '/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_44_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_34_10631.jpg
/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_23_9626.jpg
/home/nano/Desktop/images/10072025/15/09/image_10072025_15_09_14_9625.jpg
/home/nano/Desktop/images/10072025/15/08/image_10072025_15_09_04_10619.jpg
/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_53_9622.jpg
/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_44_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944411","1371944404","1371944407","1371944403","1371944412","1371944409"],"photo_ids_order":["1371944403","1371944404","1371944407","1371944409","1371944411","1371944412"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5c30e78bb1158ca6628550515851b9c.jpg","text":"TemporaryFile(/tmp/multipartBody1920071443549369114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353391228,"filename":"image_10072025_15_08_53_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7a63893df8a94abea72775562c36e071.jpg","text":"TemporaryFile(/tmp/multipartBody1401077342278147160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353391228,"filename":"image_10072025_15_09_23_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/799f7d667c70f19b66ad0565a4a2f856.jpg","text":"TemporaryFile(/tmp/multipartBody3956711586968627293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353391228,"filename":"image_10072025_15_09_14_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/283b283981e6292600411498fe1a0db7.jpg","text":"TemporaryFile(/tmp/multipartBody5187712656722495828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353391228,"filename":"image_10072025_15_09_34_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5666c9c5946e13c58329c5efae00cde2.jpg","text":"TemporaryFile(/tmp/multipartBody46987439521968040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353391228,"filename":"image_10072025_15_08_44_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55b3145a97d711787739b2a59a93fe2f.jpg","text":"TemporaryFile(/tmp/multipartBody7782585645513381397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353391228,"filename":"image_10072025_15_09_04_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944407","file1":"1371944404","file0":"1371944403","file4":"1371944411","file5":"1371944412","file3":"1371944409"},"map_files_photo_id_array":[{"photo_id":"1371944412","filename":"file5"},{"photo_id":"1371944407","filename":"file2"},{"photo_id":"1371944411","filename":"file4"},{"photo_id":"1371944404","filename":"file1"},{"photo_id":"1371944403","filename":"file0"},{"photo_id":"1371944409","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371944411":["hashtag1","hashtag2"]},{"1371944404":["hashtag1","hashtag2"]},{"1371944407":["hashtag1","hashtag2"]},{"1371944403":["hashtag1","hashtag2"]},{"1371944412":["hashtag1","hashtag2"]},{"1371944409":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371944411, 1371944404, 1371944407, 1371944403, 1371944412, 1371944409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65785574913025 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:49:32.676374
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_43_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_34_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_24_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/22/48/image_12072025_22_49_04_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/22/48/image_12072025_22_48_54_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_43_9606.jpg', '/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_34_9615.jpg', '/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_24_10631.jpg', '/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_14_9626.jpg', '/home/nano/Desktop/images/12072025/22/48/image_12072025_22_49_04_9624.jpg', '/home/nano/Desktop/images/12072025/22/48/image_12072025_22_48_54_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_43_9606.jpg
/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_34_9615.jpg
/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_24_10631.jpg
/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_14_9626.jpg
/home/nano/Desktop/images/12072025/22/48/image_12072025_22_49_04_9624.jpg
/home/nano/Desktop/images/12072025/22/48/image_12072025_22_48_54_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944426","1371944420","1371944422","1371944416","1371944415","1371944427"],"photo_ids_order":["1371944415","1371944416","1371944420","1371944422","1371944426","1371944427"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51f9b5316410bb2a239c976c056bd705.jpg","text":"TemporaryFile(/tmp/multipartBody3359983509093080030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353434348,"filename":"image_12072025_22_49_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12e8d617efe01497b4a333948f86867f.jpg","text":"TemporaryFile(/tmp/multipartBody7106324092974811184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353434348,"filename":"image_12072025_22_49_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0305dfcd88243f486d07a33b21387116.jpg","text":"TemporaryFile(/tmp/multipartBody1320936900090362787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353434348,"filename":"image_12072025_22_49_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f72629af22a2d0e729ca9c8292dcb7ba.jpg","text":"TemporaryFile(/tmp/multipartBody3134436681371805984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353434348,"filename":"image_12072025_22_49_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3405c74df5a8be2f2771947188ec62f9.jpg","text":"TemporaryFile(/tmp/multipartBody1581879778986195524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353434348,"filename":"image_12072025_22_49_43_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c9a9b3e2d07caa83d90b6a4dbd0e4ff.jpg","text":"TemporaryFile(/tmp/multipartBody5017649276898647414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353434348,"filename":"image_12072025_22_48_54_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944420","file1":"1371944416","file0":"1371944415","file4":"1371944426","file5":"1371944427","file3":"1371944422"},"map_files_photo_id_array":[{"photo_id":"1371944427","filename":"file5"},{"photo_id":"1371944420","filename":"file2"},{"photo_id":"1371944426","filename":"file4"},{"photo_id":"1371944416","filename":"file1"},{"photo_id":"1371944415","filename":"file0"},{"photo_id":"1371944422","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944426":["hashtag1","hashtag2"]},{"1371944420":["hashtag1","hashtag2"]},{"1371944422":["hashtag1","hashtag2"]},{"1371944416":["hashtag1","hashtag2"]},{"1371944415":["hashtag1","hashtag2"]},{"1371944427":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944426, 1371944420, 1371944422, 1371944416, 1371944415, 1371944427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.827381372451782 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:50:16.792641
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_44_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_33_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_24_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/22/49/image_12072025_22_50_04_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_54_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_44_10629.jpg', '/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_33_9620.jpg', '/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_24_9611.jpg', '/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_14_10639.jpg', '/home/nano/Desktop/images/12072025/22/49/image_12072025_22_50_04_9619.jpg', '/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_54_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_44_10629.jpg
/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_33_9620.jpg
/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_24_9611.jpg
/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_14_10639.jpg
/home/nano/Desktop/images/12072025/22/49/image_12072025_22_50_04_9619.jpg
/home/nano/Desktop/images/12072025/22/49/image_12072025_22_49_54_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944441","1371944440","1371944437","1371944442","1371944439","1371944438"],"photo_ids_order":["1371944437","1371944438","1371944439","1371944440","1371944441","1371944442"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98a2aec38346ff217c4588da16b9c15b.jpg","text":"TemporaryFile(/tmp/multipartBody4811947602604862989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353478483,"filename":"image_12072025_22_50_04_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df4c62fe71d0eaba488226e9c5245ceb.jpg","text":"TemporaryFile(/tmp/multipartBody8731032783362563719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353478483,"filename":"image_12072025_22_50_14_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c0a53e507d0b85453c7a52fbe475a73.jpg","text":"TemporaryFile(/tmp/multipartBody8868300299134297086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353478483,"filename":"image_12072025_22_50_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f41a5ce1ec5d1631fdaaf80b9ccc8a23.jpg","text":"TemporaryFile(/tmp/multipartBody2222295555928012314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353478483,"filename":"image_12072025_22_49_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0fb149eb7dc6e389c92e62805c9b3fb5.jpg","text":"TemporaryFile(/tmp/multipartBody3139207361422260021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353478483,"filename":"image_12072025_22_50_24_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fbf7866844442b96df54b66bbc2e211.jpg","text":"TemporaryFile(/tmp/multipartBody3016351123998735497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353478483,"filename":"image_12072025_22_50_33_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944439","file1":"1371944438","file0":"1371944437","file4":"1371944441","file5":"1371944442","file3":"1371944440"},"map_files_photo_id_array":[{"photo_id":"1371944442","filename":"file5"},{"photo_id":"1371944439","filename":"file2"},{"photo_id":"1371944441","filename":"file4"},{"photo_id":"1371944438","filename":"file1"},{"photo_id":"1371944437","filename":"file0"},{"photo_id":"1371944440","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944441":["hashtag1","hashtag2"]},{"1371944440":["hashtag1","hashtag2"]},{"1371944437":["hashtag1","hashtag2"]},{"1371944442":["hashtag1","hashtag2"]},{"1371944439":["hashtag1","hashtag2"]},{"1371944438":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944441, 1371944440, 1371944437, 1371944442, 1371944439, 1371944438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.53259539604187 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:51:02.601155
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_33_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_24_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_14_10657.jpg', 2), ('/home/nano/Desktop/images/10072025/15/07/image_10072025_15_08_03_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_54_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_44_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_33_9613.jpg', '/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_24_9616.jpg', '/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_14_10657.jpg', '/home/nano/Desktop/images/10072025/15/07/image_10072025_15_08_03_9619.jpg', '/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_54_9628.jpg', '/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_44_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_33_9613.jpg
/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_24_9616.jpg
/home/nano/Desktop/images/10072025/15/08/image_10072025_15_08_14_10657.jpg
/home/nano/Desktop/images/10072025/15/07/image_10072025_15_08_03_9619.jpg
/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_54_9628.jpg
/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_44_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944453","1371944455","1371944452","1371944454","1371944448","1371944450"],"photo_ids_order":["1371944448","1371944450","1371944452","1371944453","1371944454","1371944455"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7d6d7558f562bfb19b57bafa44eea9a7.jpg","text":"TemporaryFile(/tmp/multipartBody291232007747657180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353525732,"filename":"image_10072025_15_08_03_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa3115876b5a310b9fd3eb6b094dfe22.jpg","text":"TemporaryFile(/tmp/multipartBody350738114652356880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353525732,"filename":"image_10072025_15_07_44_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4e177b4af18f229bb43b05d5f0e35dfd.jpg","text":"TemporaryFile(/tmp/multipartBody7768829593750260345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353525732,"filename":"image_10072025_15_08_14_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20e5db1b484de37eba6e414842230afc.jpg","text":"TemporaryFile(/tmp/multipartBody2503656332538026910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353525732,"filename":"image_10072025_15_07_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f4b7f82ebb6031e6c427f0893585c6b.jpg","text":"TemporaryFile(/tmp/multipartBody3948191779886232632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353525732,"filename":"image_10072025_15_08_33_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/006e1803dc94e702c9f2a5cdf3a2d6fc.jpg","text":"TemporaryFile(/tmp/multipartBody3967877604147805729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353525732,"filename":"image_10072025_15_08_24_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944452","file1":"1371944450","file0":"1371944448","file4":"1371944454","file5":"1371944455","file3":"1371944453"},"map_files_photo_id_array":[{"photo_id":"1371944455","filename":"file5"},{"photo_id":"1371944452","filename":"file2"},{"photo_id":"1371944454","filename":"file4"},{"photo_id":"1371944450","filename":"file1"},{"photo_id":"1371944448","filename":"file0"},{"photo_id":"1371944453","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371944453":["hashtag1","hashtag2"]},{"1371944455":["hashtag1","hashtag2"]},{"1371944452":["hashtag1","hashtag2"]},{"1371944454":["hashtag1","hashtag2"]},{"1371944448":["hashtag1","hashtag2"]},{"1371944450":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371944453, 1371944455, 1371944452, 1371944454, 1371944448, 1371944450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0772271156311 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:51:46.882611
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/51/image_12072025_22_51_44_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/22/51/image_12072025_22_51_24_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/22/51/image_12072025_22_51_14_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_54_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/51/image_12072025_22_51_44_9612.jpg', '/home/nano/Desktop/images/12072025/22/51/image_12072025_22_51_24_9614.jpg', '/home/nano/Desktop/images/12072025/22/51/image_12072025_22_51_14_10643.jpg', '/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_54_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/51/image_12072025_22_51_44_9612.jpg
/home/nano/Desktop/images/12072025/22/51/image_12072025_22_51_24_9614.jpg
/home/nano/Desktop/images/12072025/22/51/image_12072025_22_51_14_10643.jpg
/home/nano/Desktop/images/12072025/22/50/image_12072025_22_50_54_9619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944467","1371944460","1371944463","1371944465"],"photo_ids_order":["1371944460","1371944463","1371944465","1371944467"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d605842d7ff29ea66fa8fe2365c2c828.jpg","text":"TemporaryFile(/tmp/multipartBody6241659489665940805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353568438,"filename":"image_12072025_22_50_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e699631bb927a5b462cd3168a5e11bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6326262906337979921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353568438,"filename":"image_12072025_22_51_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/efa71eaf53ebc72bcd07f5ac7eea17e3.jpg","text":"TemporaryFile(/tmp/multipartBody207629976553731414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353568438,"filename":"image_12072025_22_51_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6ebd2b8dde89955510b4656fec32a45.jpg","text":"TemporaryFile(/tmp/multipartBody6112027440702669884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353568438,"filename":"image_12072025_22_51_14_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944465","file1":"1371944463","file0":"1371944460","file3":"1371944467"},"map_files_photo_id_array":[{"photo_id":"1371944465","filename":"file2"},{"photo_id":"1371944463","filename":"file1"},{"photo_id":"1371944460","filename":"file0"},{"photo_id":"1371944467","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944467":["hashtag1","hashtag2"]},{"1371944460":["hashtag1","hashtag2"]},{"1371944463":["hashtag1","hashtag2"]},{"1371944465":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944467, 1371944460, 1371944463, 1371944465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.635550260543823 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:52:16.972692
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/52/image_12072025_22_52_44_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/22/52/image_12072025_22_52_34_10629.jpg', 2), ('/home/nano/Desktop/images/12072025/22/51/image_12072025_22_52_04_10650.jpg', 2), ('/home/nano/Desktop/images/12072025/22/51/image_12072025_22_51_53_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/52/image_12072025_22_52_44_9612.jpg', '/home/nano/Desktop/images/12072025/22/52/image_12072025_22_52_34_10629.jpg', '/home/nano/Desktop/images/12072025/22/51/image_12072025_22_52_04_10650.jpg', '/home/nano/Desktop/images/12072025/22/51/image_12072025_22_51_53_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/52/image_12072025_22_52_44_9612.jpg
/home/nano/Desktop/images/12072025/22/52/image_12072025_22_52_34_10629.jpg
/home/nano/Desktop/images/12072025/22/51/image_12072025_22_52_04_10650.jpg
/home/nano/Desktop/images/12072025/22/51/image_12072025_22_51_53_9608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944476","1371944472","1371944474","1371944471"],"photo_ids_order":["1371944471","1371944472","1371944474","1371944476"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d4d7629f3ea43c54c9fc66148f188ff.jpg","text":"TemporaryFile(/tmp/multipartBody2790147945683932569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353598916,"filename":"image_12072025_22_51_53_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/315acd494d0c7cce4308c42b66b19331.jpg","text":"TemporaryFile(/tmp/multipartBody1184070864757042398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353598916,"filename":"image_12072025_22_52_34_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59d5a6866f2e54ce17df39aab491633c.jpg","text":"TemporaryFile(/tmp/multipartBody5157522933735039269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353598916,"filename":"image_12072025_22_52_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ddc97d1167cfaddc92c759a77c3094d5.jpg","text":"TemporaryFile(/tmp/multipartBody6944154923374231967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353598916,"filename":"image_12072025_22_52_44_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944474","file1":"1371944472","file0":"1371944471","file3":"1371944476"},"map_files_photo_id_array":[{"photo_id":"1371944474","filename":"file2"},{"photo_id":"1371944472","filename":"file1"},{"photo_id":"1371944471","filename":"file0"},{"photo_id":"1371944476","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944476":["hashtag1","hashtag2"]},{"1371944472":["hashtag1","hashtag2"]},{"1371944474":["hashtag1","hashtag2"]},{"1371944471":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944476, 1371944472, 1371944474, 1371944471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.57874035835266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:52:46.988917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_33_9608.jpg', 2), ('/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_24_10625.jpg', 2), ('/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_13_9650.jpg', 2), ('/home/nano/Desktop/images/10072025/15/06/image_10072025_15_07_04_9617.jpg', 2), ('/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_54_10630.jpg', 2), ('/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_43_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_33_9608.jpg', '/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_24_10625.jpg', '/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_13_9650.jpg', '/home/nano/Desktop/images/10072025/15/06/image_10072025_15_07_04_9617.jpg', '/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_54_10630.jpg', '/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_43_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_33_9608.jpg
/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_24_10625.jpg
/home/nano/Desktop/images/10072025/15/07/image_10072025_15_07_13_9650.jpg
/home/nano/Desktop/images/10072025/15/06/image_10072025_15_07_04_9617.jpg
/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_54_10630.jpg
/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_43_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944491","1371944485","1371944482","1371944493","1371944487","1371944481"],"photo_ids_order":["1371944481","1371944482","1371944485","1371944487","1371944491","1371944493"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1f53f88196a34a2db81c1a0bd219172e.jpg","text":"TemporaryFile(/tmp/multipartBody315988407046130013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353630883,"filename":"image_10072025_15_06_54_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/673785a7e491d1fe1332cb5e48000b36.jpg","text":"TemporaryFile(/tmp/multipartBody7932128449765755588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353630883,"filename":"image_10072025_15_07_13_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/37eae7348ccf3adb281be6fd7dcdfe57.jpg","text":"TemporaryFile(/tmp/multipartBody6006385705988035825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353630883,"filename":"image_10072025_15_07_24_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c6872b7f281e6a6559719d1ae704c22.jpg","text":"TemporaryFile(/tmp/multipartBody1921815140590435068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353630883,"filename":"image_10072025_15_06_43_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/916c8aa49ed622a7d81116b659ed351b.jpg","text":"TemporaryFile(/tmp/multipartBody4132339376447920516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353630883,"filename":"image_10072025_15_07_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e07e0887243f4880f97594da4a6f774d.jpg","text":"TemporaryFile(/tmp/multipartBody3139982060986205187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353630883,"filename":"image_10072025_15_07_33_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944485","file1":"1371944482","file0":"1371944481","file4":"1371944491","file5":"1371944493","file3":"1371944487"},"map_files_photo_id_array":[{"photo_id":"1371944493","filename":"file5"},{"photo_id":"1371944485","filename":"file2"},{"photo_id":"1371944491","filename":"file4"},{"photo_id":"1371944482","filename":"file1"},{"photo_id":"1371944481","filename":"file0"},{"photo_id":"1371944487","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371944491":["hashtag1","hashtag2"]},{"1371944485":["hashtag1","hashtag2"]},{"1371944482":["hashtag1","hashtag2"]},{"1371944493":["hashtag1","hashtag2"]},{"1371944487":["hashtag1","hashtag2"]},{"1371944481":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371944491, 1371944485, 1371944482, 1371944493, 1371944487, 1371944481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72701811790466 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:53:32.107763
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_43_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_13_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/22/52/image_12072025_22_53_04_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/22/52/image_12072025_22_52_54_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_43_9620.jpg', '/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_34_9611.jpg', '/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_24_10620.jpg', '/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_13_9635.jpg', '/home/nano/Desktop/images/12072025/22/52/image_12072025_22_53_04_9617.jpg', '/home/nano/Desktop/images/12072025/22/52/image_12072025_22_52_54_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_43_9620.jpg
/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_34_9611.jpg
/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_24_10620.jpg
/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_13_9635.jpg
/home/nano/Desktop/images/12072025/22/52/image_12072025_22_53_04_9617.jpg
/home/nano/Desktop/images/12072025/22/52/image_12072025_22_52_54_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944504","1371944497","1371944506","1371944499","1371944502","1371944498"],"photo_ids_order":["1371944497","1371944498","1371944499","1371944502","1371944504","1371944506"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/03ba3f052cd34b9f1ceb77a9c37136fe.jpg","text":"TemporaryFile(/tmp/multipartBody1637116897127198542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353673767,"filename":"image_12072025_22_53_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c77e045cda56a860157f43eeac568778.jpg","text":"TemporaryFile(/tmp/multipartBody2117992050439632460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353673767,"filename":"image_12072025_22_53_43_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/851ed9c9ebc5b7a8f94169ef872ea802.jpg","text":"TemporaryFile(/tmp/multipartBody8052476055678865778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353673767,"filename":"image_12072025_22_52_54_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a6d0b08b3c40c7c74fb73fcfc1ee091.jpg","text":"TemporaryFile(/tmp/multipartBody2596494242312190085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353673767,"filename":"image_12072025_22_53_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e59d8c1562fb2f388499e38545203ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8300960356875486936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353673767,"filename":"image_12072025_22_53_13_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ffd85f67461a756411376c79bdad1c4.jpg","text":"TemporaryFile(/tmp/multipartBody390887487716235497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353673767,"filename":"image_12072025_22_53_34_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944499","file1":"1371944498","file0":"1371944497","file4":"1371944504","file5":"1371944506","file3":"1371944502"},"map_files_photo_id_array":[{"photo_id":"1371944506","filename":"file5"},{"photo_id":"1371944499","filename":"file2"},{"photo_id":"1371944504","filename":"file4"},{"photo_id":"1371944498","filename":"file1"},{"photo_id":"1371944497","filename":"file0"},{"photo_id":"1371944502","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944504":["hashtag1","hashtag2"]},{"1371944497":["hashtag1","hashtag2"]},{"1371944506":["hashtag1","hashtag2"]},{"1371944499":["hashtag1","hashtag2"]},{"1371944502":["hashtag1","hashtag2"]},{"1371944498":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944504, 1371944497, 1371944506, 1371944499, 1371944502, 1371944498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.74300742149353 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:54:17.293066
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_44_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_33_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_24_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_14_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/22/53/image_12072025_22_54_04_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_44_10622.jpg', '/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_33_9618.jpg', '/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_24_9615.jpg', '/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_14_10641.jpg', '/home/nano/Desktop/images/12072025/22/53/image_12072025_22_54_04_9622.jpg', '/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_44_10622.jpg
/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_33_9618.jpg
/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_24_9615.jpg
/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_14_10641.jpg
/home/nano/Desktop/images/12072025/22/53/image_12072025_22_54_04_9622.jpg
/home/nano/Desktop/images/12072025/22/53/image_12072025_22_53_54_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944513","1371944516","1371944521","1371944518","1371944520","1371944514"],"photo_ids_order":["1371944513","1371944514","1371944516","1371944518","1371944520","1371944521"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/083215654b1a620c56900a2d1f3e7a5e.jpg","text":"TemporaryFile(/tmp/multipartBody2499431317099679496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353719681,"filename":"image_12072025_22_54_44_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcc187e2cd6b101ce3cc74695d23654e.jpg","text":"TemporaryFile(/tmp/multipartBody4253249993431022367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353719681,"filename":"image_12072025_22_54_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59572f3fc62fd53ab013d7061123d4a0.jpg","text":"TemporaryFile(/tmp/multipartBody873815708651170360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353719681,"filename":"image_12072025_22_53_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dc97e6217629a342339463ef8e38c5d6.jpg","text":"TemporaryFile(/tmp/multipartBody7765549283629917673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353719681,"filename":"image_12072025_22_54_14_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4ce11e02b83f9cf207f4bbea8eef8a39.jpg","text":"TemporaryFile(/tmp/multipartBody1584917026365276483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353719681,"filename":"image_12072025_22_54_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcdf7aec379e9e9c6ebe100cdd88c3ab.jpg","text":"TemporaryFile(/tmp/multipartBody1516098084795108394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353719681,"filename":"image_12072025_22_54_33_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944516","file1":"1371944514","file0":"1371944513","file4":"1371944520","file5":"1371944521","file3":"1371944518"},"map_files_photo_id_array":[{"photo_id":"1371944521","filename":"file5"},{"photo_id":"1371944516","filename":"file2"},{"photo_id":"1371944520","filename":"file4"},{"photo_id":"1371944514","filename":"file1"},{"photo_id":"1371944513","filename":"file0"},{"photo_id":"1371944518","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944513":["hashtag1","hashtag2"]},{"1371944516":["hashtag1","hashtag2"]},{"1371944521":["hashtag1","hashtag2"]},{"1371944518":["hashtag1","hashtag2"]},{"1371944520":["hashtag1","hashtag2"]},{"1371944514":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944513, 1371944516, 1371944521, 1371944518, 1371944520, 1371944514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.225045919418335 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:55:03.177281
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_34_10631.jpg', 2), ('/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_23_9715.jpg', 2), ('/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_13_9709.jpg', 2), ('/home/nano/Desktop/images/10072025/15/05/image_10072025_15_06_04_9675.jpg', 2), ('/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_54_10784.jpg', 2), ('/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_43_9715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_34_10631.jpg', '/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_23_9715.jpg', '/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_13_9709.jpg', '/home/nano/Desktop/images/10072025/15/05/image_10072025_15_06_04_9675.jpg', '/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_54_10784.jpg', '/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_43_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_34_10631.jpg
/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_23_9715.jpg
/home/nano/Desktop/images/10072025/15/06/image_10072025_15_06_13_9709.jpg
/home/nano/Desktop/images/10072025/15/05/image_10072025_15_06_04_9675.jpg
/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_54_10784.jpg
/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_43_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944531","1371944534","1371944528","1371944532","1371944535","1371944529"],"photo_ids_order":["1371944528","1371944529","1371944531","1371944532","1371944534","1371944535"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45727171a0b236ec1b9dbf4fb1f13a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7013668652514786098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353766737,"filename":"image_10072025_15_06_13_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5756f5c9c5c15610080f14b4c77d1cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3728500405979487439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353766737,"filename":"image_10072025_15_05_54_10784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12fd94005dc816fd92503171d559403e.jpg","text":"TemporaryFile(/tmp/multipartBody1258333808106210554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353766737,"filename":"image_10072025_15_06_34_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9065a87e7dd8844be4b5a271cbdcbdea.jpg","text":"TemporaryFile(/tmp/multipartBody6173724390663404617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353766737,"filename":"image_10072025_15_06_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb54827666b3714c7301d78379b0a1bf.jpg","text":"TemporaryFile(/tmp/multipartBody6639641054564401593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353766737,"filename":"image_10072025_15_05_43_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70499a6c6deb7809edbd6b4cbb379a31.jpg","text":"TemporaryFile(/tmp/multipartBody6073223472208904115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353766737,"filename":"image_10072025_15_06_23_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944531","file1":"1371944529","file0":"1371944528","file4":"1371944534","file5":"1371944535","file3":"1371944532"},"map_files_photo_id_array":[{"photo_id":"1371944535","filename":"file5"},{"photo_id":"1371944531","filename":"file2"},{"photo_id":"1371944534","filename":"file4"},{"photo_id":"1371944529","filename":"file1"},{"photo_id":"1371944528","filename":"file0"},{"photo_id":"1371944532","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371944531":["hashtag1","hashtag2"]},{"1371944534":["hashtag1","hashtag2"]},{"1371944528":["hashtag1","hashtag2"]},{"1371944532":["hashtag1","hashtag2"]},{"1371944535":["hashtag1","hashtag2"]},{"1371944529":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371944531, 1371944534, 1371944528, 1371944532, 1371944535, 1371944529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10441017150879 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:55:47.365438
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_44_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_24_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_54_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_44_9609.jpg', '/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_34_10620.jpg', '/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_24_9615.jpg', '/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_14_10667.jpg', '/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_54_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_44_9609.jpg
/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_34_10620.jpg
/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_24_9615.jpg
/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_14_10667.jpg
/home/nano/Desktop/images/12072025/22/54/image_12072025_22_54_54_9610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944554","1371944548","1371944542","1371944551","1371944545"],"photo_ids_order":["1371944542","1371944545","1371944548","1371944551","1371944554"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87d677da1bd3e82b1f57276f5342d767.jpg","text":"TemporaryFile(/tmp/multipartBody334884740267705603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353809190,"filename":"image_12072025_22_54_54_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/70b5868cce47500d132566768ef24182.jpg","text":"TemporaryFile(/tmp/multipartBody4548532214849797653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353809190,"filename":"image_12072025_22_55_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f8bfc381b82a860d5cb392f1caf76593.jpg","text":"TemporaryFile(/tmp/multipartBody3055739520701544421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353809190,"filename":"image_12072025_22_55_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c260af88488e4b7e0d78ef65c845f88.jpg","text":"TemporaryFile(/tmp/multipartBody8174182353361342219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353809190,"filename":"image_12072025_22_55_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e8a4658f2374bb5225285ceb4e5fb65.jpg","text":"TemporaryFile(/tmp/multipartBody4487510734284576661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353809190,"filename":"image_12072025_22_55_34_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944548","file1":"1371944545","file0":"1371944542","file4":"1371944554","file3":"1371944551"},"map_files_photo_id_array":[{"photo_id":"1371944548","filename":"file2"},{"photo_id":"1371944554","filename":"file4"},{"photo_id":"1371944545","filename":"file1"},{"photo_id":"1371944542","filename":"file0"},{"photo_id":"1371944551","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944554":["hashtag1","hashtag2"]},{"1371944548":["hashtag1","hashtag2"]},{"1371944542":["hashtag1","hashtag2"]},{"1371944551":["hashtag1","hashtag2"]},{"1371944545":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944554, 1371944548, 1371944542, 1371944551, 1371944545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.65271759033203 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:56:17.504876
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_23_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_14_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/22/55/image_12072025_22_56_04_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_53_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_44_9616.jpg', '/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_34_10618.jpg', '/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_23_9611.jpg', '/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_14_9641.jpg', '/home/nano/Desktop/images/12072025/22/55/image_12072025_22_56_04_10644.jpg', '/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_53_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_44_9616.jpg
/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_34_10618.jpg
/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_23_9611.jpg
/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_14_9641.jpg
/home/nano/Desktop/images/12072025/22/55/image_12072025_22_56_04_10644.jpg
/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_53_9613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7903656959533691 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:56:32.469524
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_23_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_14_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/22/55/image_12072025_22_56_04_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_53_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_44_9616.jpg', '/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_34_10618.jpg', '/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_23_9611.jpg', '/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_14_9641.jpg', '/home/nano/Desktop/images/12072025/22/55/image_12072025_22_56_04_10644.jpg', '/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_53_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_44_9616.jpg
/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_34_10618.jpg
/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_23_9611.jpg
/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_14_9641.jpg
/home/nano/Desktop/images/12072025/22/55/image_12072025_22_56_04_10644.jpg
/home/nano/Desktop/images/12072025/22/55/image_12072025_22_55_53_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944567","1371944575","1371944569","1371944577","1371944571","1371944574"],"photo_ids_order":["1371944567","1371944569","1371944571","1371944574","1371944575","1371944577"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f844ec7161ef69d15c02ed6a9d53b312.jpg","text":"TemporaryFile(/tmp/multipartBody1623373862700414206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353853944,"filename":"image_12072025_22_56_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0eaf1a31ba36b666f41382482b14cf1a.jpg","text":"TemporaryFile(/tmp/multipartBody5032481400640808716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353853944,"filename":"image_12072025_22_56_04_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45a9ea654c8716d9b6aa95f8fb4e7107.jpg","text":"TemporaryFile(/tmp/multipartBody1075772983504860790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353853944,"filename":"image_12072025_22_56_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b15a9ddcb0a0e0f8bea16f108849d5dd.jpg","text":"TemporaryFile(/tmp/multipartBody5341341567008079977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353853944,"filename":"image_12072025_22_55_53_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e38f8c6d18c651a0c543f5c8ebf1e7fe.jpg","text":"TemporaryFile(/tmp/multipartBody6784565241800318398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353853944,"filename":"image_12072025_22_56_23_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/422c76403ec6f06d1e9ff820f885770d.jpg","text":"TemporaryFile(/tmp/multipartBody6881090916707734285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353853944,"filename":"image_12072025_22_56_14_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944571","file1":"1371944569","file0":"1371944567","file4":"1371944575","file5":"1371944577","file3":"1371944574"},"map_files_photo_id_array":[{"photo_id":"1371944577","filename":"file5"},{"photo_id":"1371944571","filename":"file2"},{"photo_id":"1371944575","filename":"file4"},{"photo_id":"1371944569","filename":"file1"},{"photo_id":"1371944567","filename":"file0"},{"photo_id":"1371944574","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944567":["hashtag1","hashtag2"]},{"1371944575":["hashtag1","hashtag2"]},{"1371944569":["hashtag1","hashtag2"]},{"1371944577":["hashtag1","hashtag2"]},{"1371944571":["hashtag1","hashtag2"]},{"1371944574":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944567, 1371944575, 1371944569, 1371944577, 1371944571, 1371944574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.197609186172485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:57:17.642865
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/57/image_12072025_22_57_34_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/22/57/image_12072025_22_57_24_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/22/57/image_12072025_22_57_13_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/22/56/image_12072025_22_57_04_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/57/image_12072025_22_57_34_9631.jpg', '/home/nano/Desktop/images/12072025/22/57/image_12072025_22_57_24_10631.jpg', '/home/nano/Desktop/images/12072025/22/57/image_12072025_22_57_13_9633.jpg', '/home/nano/Desktop/images/12072025/22/56/image_12072025_22_57_04_9616.jpg', '/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/57/image_12072025_22_57_34_9631.jpg
/home/nano/Desktop/images/12072025/22/57/image_12072025_22_57_24_10631.jpg
/home/nano/Desktop/images/12072025/22/57/image_12072025_22_57_13_9633.jpg
/home/nano/Desktop/images/12072025/22/56/image_12072025_22_57_04_9616.jpg
/home/nano/Desktop/images/12072025/22/56/image_12072025_22_56_54_10622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371944912","1371944720","1371944818","1371944769","1371944867"],"photo_ids_order":["1371944720","1371944769","1371944818","1371944867","1371944912"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7cdddca22843e265273321b8d13470ec.jpg","text":"TemporaryFile(/tmp/multipartBody8487967140831596010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353899451,"filename":"image_12072025_22_56_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a358d336bf254190db6ed34adf8548ac.jpg","text":"TemporaryFile(/tmp/multipartBody2520124281932037843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353899451,"filename":"image_12072025_22_57_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3c92dd68b271f2f4f6c14684a1cf963.jpg","text":"TemporaryFile(/tmp/multipartBody5097611555154534273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353899451,"filename":"image_12072025_22_57_13_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6eed981cc1dbe9ca4e10760433f98329.jpg","text":"TemporaryFile(/tmp/multipartBody8373346380559400596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353899451,"filename":"image_12072025_22_57_24_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7b0cfd3150c86d8be00b5cf398e15a2d.jpg","text":"TemporaryFile(/tmp/multipartBody1180211409126842230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353899451,"filename":"image_12072025_22_57_04_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371944818","file1":"1371944769","file0":"1371944720","file4":"1371944912","file3":"1371944867"},"map_files_photo_id_array":[{"photo_id":"1371944818","filename":"file2"},{"photo_id":"1371944912","filename":"file4"},{"photo_id":"1371944769","filename":"file1"},{"photo_id":"1371944720","filename":"file0"},{"photo_id":"1371944867","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371944912":["hashtag1","hashtag2"]},{"1371944720":["hashtag1","hashtag2"]},{"1371944818":["hashtag1","hashtag2"]},{"1371944769":["hashtag1","hashtag2"]},{"1371944867":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371944912, 1371944720, 1371944818, 1371944769, 1371944867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.939785480499268 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:57:47.621981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_33_9707.jpg', 2), ('/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_24_9736.jpg', 2), ('/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_14_10688.jpg', 2), ('/home/nano/Desktop/images/10072025/15/04/image_10072025_15_05_03_9722.jpg', 2), ('/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_54_9676.jpg', 2), ('/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_44_10703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_33_9707.jpg', '/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_24_9736.jpg', '/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_14_10688.jpg', '/home/nano/Desktop/images/10072025/15/04/image_10072025_15_05_03_9722.jpg', '/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_54_9676.jpg', '/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_44_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_33_9707.jpg
/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_24_9736.jpg
/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_14_10688.jpg
/home/nano/Desktop/images/10072025/15/04/image_10072025_15_05_03_9722.jpg
/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_54_9676.jpg
/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_44_10703.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:58:03.169743
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_33_9707.jpg', 2), ('/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_24_9736.jpg', 2), ('/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_14_10688.jpg', 2), ('/home/nano/Desktop/images/10072025/15/04/image_10072025_15_05_03_9722.jpg', 2), ('/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_54_9676.jpg', 2), ('/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_44_10703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_33_9707.jpg', '/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_24_9736.jpg', '/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_14_10688.jpg', '/home/nano/Desktop/images/10072025/15/04/image_10072025_15_05_03_9722.jpg', '/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_54_9676.jpg', '/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_44_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_33_9707.jpg
/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_24_9736.jpg
/home/nano/Desktop/images/10072025/15/05/image_10072025_15_05_14_10688.jpg
/home/nano/Desktop/images/10072025/15/04/image_10072025_15_05_03_9722.jpg
/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_54_9676.jpg
/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_44_10703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371945381","1371945561","1371945483","1371945531","1371945333","1371945434"],"photo_ids_order":["1371945333","1371945381","1371945434","1371945483","1371945531","1371945561"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec8c5e157436e1e87b842628652e556b.jpg","text":"TemporaryFile(/tmp/multipartBody829461199373300767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353946598,"filename":"image_10072025_15_05_24_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8ab8f98781a6bc93e42ab9ea49336ece.jpg","text":"TemporaryFile(/tmp/multipartBody1577632973437415936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353946598,"filename":"image_10072025_15_04_44_10703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b428d22dd7dfc49260ac812c75b7721.jpg","text":"TemporaryFile(/tmp/multipartBody6830820807142627537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353946598,"filename":"image_10072025_15_05_03_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fedb70924d655b77a57148bb2396d025.jpg","text":"TemporaryFile(/tmp/multipartBody4881502231848924985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353946598,"filename":"image_10072025_15_04_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35c9a8eb9c876ab62f46ef611d3ad005.jpg","text":"TemporaryFile(/tmp/multipartBody5660942538457292872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353946598,"filename":"image_10072025_15_05_33_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4cc3c6ffc6fd55b5a01b213a89d4212.jpg","text":"TemporaryFile(/tmp/multipartBody7486808430502583327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752353946598,"filename":"image_10072025_15_05_14_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371945434","file1":"1371945381","file0":"1371945333","file4":"1371945531","file5":"1371945561","file3":"1371945483"},"map_files_photo_id_array":[{"photo_id":"1371945561","filename":"file5"},{"photo_id":"1371945434","filename":"file2"},{"photo_id":"1371945531","filename":"file4"},{"photo_id":"1371945381","filename":"file1"},{"photo_id":"1371945333","filename":"file0"},{"photo_id":"1371945483","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371945381":["hashtag1","hashtag2"]},{"1371945561":["hashtag1","hashtag2"]},{"1371945483":["hashtag1","hashtag2"]},{"1371945531":["hashtag1","hashtag2"]},{"1371945333":["hashtag1","hashtag2"]},{"1371945434":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371945381, 1371945561, 1371945483, 1371945531, 1371945333, 1371945434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.95857858657837 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:59:02.833883
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/58/image_12072025_22_58_44_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/22/58/image_12072025_22_58_14_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/22/57/image_12072025_22_58_04_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/22/57/image_12072025_22_57_43_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/58/image_12072025_22_58_44_10616.jpg', '/home/nano/Desktop/images/12072025/22/58/image_12072025_22_58_14_10649.jpg', '/home/nano/Desktop/images/12072025/22/57/image_12072025_22_58_04_9629.jpg', '/home/nano/Desktop/images/12072025/22/57/image_12072025_22_57_43_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/58/image_12072025_22_58_44_10616.jpg
/home/nano/Desktop/images/12072025/22/58/image_12072025_22_58_14_10649.jpg
/home/nano/Desktop/images/12072025/22/57/image_12072025_22_58_04_9629.jpg
/home/nano/Desktop/images/12072025/22/57/image_12072025_22_57_43_9610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371945828","1371945804","1371945794","1371945773"],"photo_ids_order":["1371945773","1371945794","1371945804","1371945828"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ec6e743a44c48c3c510b777b1698952.jpg","text":"TemporaryFile(/tmp/multipartBody352668319802257986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354004031,"filename":"image_12072025_22_57_43_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa4cdcc20116d1f9fd165fd3365a3896.jpg","text":"TemporaryFile(/tmp/multipartBody3994793571515432986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354004031,"filename":"image_12072025_22_58_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b56c88d708568370ed9f012bd901698f.jpg","text":"TemporaryFile(/tmp/multipartBody1370530073969496057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354004031,"filename":"image_12072025_22_58_14_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/339b79705fa343a228df9a3267ca2d53.jpg","text":"TemporaryFile(/tmp/multipartBody1765513203886536881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354004031,"filename":"image_12072025_22_58_44_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371945804","file1":"1371945794","file0":"1371945773","file3":"1371945828"},"map_files_photo_id_array":[{"photo_id":"1371945804","filename":"file2"},{"photo_id":"1371945794","filename":"file1"},{"photo_id":"1371945773","filename":"file0"},{"photo_id":"1371945828","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371945828":["hashtag1","hashtag2"]},{"1371945804":["hashtag1","hashtag2"]},{"1371945794":["hashtag1","hashtag2"]},{"1371945773":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371945828, 1371945804, 1371945794, 1371945773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.827660083770752 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 22:59:31.883665
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_44_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_34_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_24_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_14_10656.jpg', 2), ('/home/nano/Desktop/images/12072025/22/58/image_12072025_22_59_03_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/22/58/image_12072025_22_58_54_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_44_9612.jpg', '/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_34_10619.jpg', '/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_24_9615.jpg', '/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_14_10656.jpg', '/home/nano/Desktop/images/12072025/22/58/image_12072025_22_59_03_9639.jpg', '/home/nano/Desktop/images/12072025/22/58/image_12072025_22_58_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_44_9612.jpg
/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_34_10619.jpg
/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_24_9615.jpg
/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_14_10656.jpg
/home/nano/Desktop/images/12072025/22/58/image_12072025_22_59_03_9639.jpg
/home/nano/Desktop/images/12072025/22/58/image_12072025_22_58_54_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371946027","1371945943","1371945963","1371945939","1371946070","1371945989"],"photo_ids_order":["1371945939","1371945943","1371945963","1371945989","1371946027","1371946070"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e99e3668ed6ccbd045985b1483223ff4.jpg","text":"TemporaryFile(/tmp/multipartBody2624293741226359665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354033440,"filename":"image_12072025_22_59_03_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/110c1e1c0fbebb97d9598da46194184e.jpg","text":"TemporaryFile(/tmp/multipartBody3414666529478480118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354033440,"filename":"image_12072025_22_59_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d34c9e29dbe1d323c15a1c41d23afbca.jpg","text":"TemporaryFile(/tmp/multipartBody5457549181183351574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354033440,"filename":"image_12072025_22_59_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7cf79f50cc5a94c318005544222d3614.jpg","text":"TemporaryFile(/tmp/multipartBody3251504723385671670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354033440,"filename":"image_12072025_22_59_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2acf64defe0fbe55a5a2ed41fa7f5b88.jpg","text":"TemporaryFile(/tmp/multipartBody777743571302957648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354033440,"filename":"image_12072025_22_58_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16df6b540f3264a58ec1c3b6ee8d8734.jpg","text":"TemporaryFile(/tmp/multipartBody1537798077435616705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354033440,"filename":"image_12072025_22_59_14_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371945963","file1":"1371945943","file0":"1371945939","file4":"1371946027","file5":"1371946070","file3":"1371945989"},"map_files_photo_id_array":[{"photo_id":"1371946070","filename":"file5"},{"photo_id":"1371945963","filename":"file2"},{"photo_id":"1371946027","filename":"file4"},{"photo_id":"1371945943","filename":"file1"},{"photo_id":"1371945939","filename":"file0"},{"photo_id":"1371945989","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371946027":["hashtag1","hashtag2"]},{"1371945943":["hashtag1","hashtag2"]},{"1371945963":["hashtag1","hashtag2"]},{"1371945939":["hashtag1","hashtag2"]},{"1371946070":["hashtag1","hashtag2"]},{"1371945989":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371946027, 1371945943, 1371945963, 1371945939, 1371946070, 1371945989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.97918939590454 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:00:17.007579
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/00/image_12072025_23_00_44_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/23/00/image_12072025_23_00_34_10631.jpg', 2), ('/home/nano/Desktop/images/12072025/23/00/image_12072025_23_00_23_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/22/59/image_12072025_23_00_04_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_53_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/00/image_12072025_23_00_44_9612.jpg', '/home/nano/Desktop/images/12072025/23/00/image_12072025_23_00_34_10631.jpg', '/home/nano/Desktop/images/12072025/23/00/image_12072025_23_00_23_9609.jpg', '/home/nano/Desktop/images/12072025/22/59/image_12072025_23_00_04_10644.jpg', '/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_53_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/00/image_12072025_23_00_44_9612.jpg
/home/nano/Desktop/images/12072025/23/00/image_12072025_23_00_34_10631.jpg
/home/nano/Desktop/images/12072025/23/00/image_12072025_23_00_23_9609.jpg
/home/nano/Desktop/images/12072025/22/59/image_12072025_23_00_04_10644.jpg
/home/nano/Desktop/images/12072025/22/59/image_12072025_22_59_53_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371946261","1371946237","1371946314","1371946339","1371946288"],"photo_ids_order":["1371946237","1371946261","1371946288","1371946314","1371946339"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a215dd66bbd060dd337db92de29a1fbd.jpg","text":"TemporaryFile(/tmp/multipartBody4725959865545554829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354078498,"filename":"image_12072025_23_00_34_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b42238a232824e1ce538bf1c9ed4b8f2.jpg","text":"TemporaryFile(/tmp/multipartBody8399884788908107107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354078498,"filename":"image_12072025_23_00_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4fc383bbe58c9a9b5a8a613fb259b69f.jpg","text":"TemporaryFile(/tmp/multipartBody5016288335553948423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354078498,"filename":"image_12072025_23_00_04_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d07988c339fc98a42390f9272e10f99.jpg","text":"TemporaryFile(/tmp/multipartBody4805123806650843853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354078498,"filename":"image_12072025_22_59_53_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91ccdc4fbe488091447f3b4cbab48073.jpg","text":"TemporaryFile(/tmp/multipartBody3791931278599253435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354078498,"filename":"image_12072025_23_00_23_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371946288","file1":"1371946261","file0":"1371946237","file4":"1371946339","file3":"1371946314"},"map_files_photo_id_array":[{"photo_id":"1371946288","filename":"file2"},{"photo_id":"1371946339","filename":"file4"},{"photo_id":"1371946261","filename":"file1"},{"photo_id":"1371946237","filename":"file0"},{"photo_id":"1371946314","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371946261":["hashtag1","hashtag2"]},{"1371946237":["hashtag1","hashtag2"]},{"1371946314":["hashtag1","hashtag2"]},{"1371946339":["hashtag1","hashtag2"]},{"1371946288":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371946261, 1371946237, 1371946314, 1371946339, 1371946288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.094457387924194 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:00:46.968350
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_33_9676.jpg', 2), ('/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_24_9690.jpg', 2), ('/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_14_10693.jpg', 2), ('/home/nano/Desktop/images/10072025/15/03/image_10072025_15_04_03_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_53_9688.jpg', 2), ('/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_44_10710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_33_9676.jpg', '/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_24_9690.jpg', '/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_14_10693.jpg', '/home/nano/Desktop/images/10072025/15/03/image_10072025_15_04_03_9667.jpg', '/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_53_9688.jpg', '/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_44_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_33_9676.jpg
/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_24_9690.jpg
/home/nano/Desktop/images/10072025/15/04/image_10072025_15_04_14_10693.jpg
/home/nano/Desktop/images/10072025/15/03/image_10072025_15_04_03_9667.jpg
/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_53_9688.jpg
/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_44_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371946528","1371946557","1371946503","1371946452","1371946478","1371946585"],"photo_ids_order":["1371946452","1371946478","1371946503","1371946528","1371946557","1371946585"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/48ffeb00cb886cb776993924f8a6d52c.jpg","text":"TemporaryFile(/tmp/multipartBody6358360154657123618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354110060,"filename":"image_10072025_15_04_03_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6e750dbca6e594197cf4ffd759d346c.jpg","text":"TemporaryFile(/tmp/multipartBody5500843936796762230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354110060,"filename":"image_10072025_15_03_53_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d87a79f806ee532ffdf2711be49ffe4a.jpg","text":"TemporaryFile(/tmp/multipartBody1353621410935079689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354110060,"filename":"image_10072025_15_04_14_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c571ea0a2402079b848492b0f80c093a.jpg","text":"TemporaryFile(/tmp/multipartBody4352939367294827240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354110060,"filename":"image_10072025_15_04_33_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5e65dac6ed2308251c88af44c13e9cee.jpg","text":"TemporaryFile(/tmp/multipartBody3491785453167414008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354110060,"filename":"image_10072025_15_04_24_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a8d3a38b7219219070eb5fb856b0b8b8.jpg","text":"TemporaryFile(/tmp/multipartBody3613695313746856183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354110060,"filename":"image_10072025_15_03_44_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371946503","file1":"1371946478","file0":"1371946452","file4":"1371946557","file5":"1371946585","file3":"1371946528"},"map_files_photo_id_array":[{"photo_id":"1371946585","filename":"file5"},{"photo_id":"1371946503","filename":"file2"},{"photo_id":"1371946557","filename":"file4"},{"photo_id":"1371946478","filename":"file1"},{"photo_id":"1371946452","filename":"file0"},{"photo_id":"1371946528","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371946528":["hashtag1","hashtag2"]},{"1371946557":["hashtag1","hashtag2"]},{"1371946503":["hashtag1","hashtag2"]},{"1371946452":["hashtag1","hashtag2"]},{"1371946478":["hashtag1","hashtag2"]},{"1371946585":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371946528, 1371946557, 1371946503, 1371946452, 1371946478, 1371946585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.639745473861694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:01:32.062337
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_43_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_24_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_13_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/23/00/image_12072025_23_00_54_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_43_9612.jpg', '/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_24_10618.jpg', '/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_13_9632.jpg', '/home/nano/Desktop/images/12072025/23/00/image_12072025_23_00_54_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_43_9612.jpg
/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_24_10618.jpg
/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_13_9632.jpg
/home/nano/Desktop/images/12072025/23/00/image_12072025_23_00_54_10635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371946773","1371946734","1371946760","1371946771"],"photo_ids_order":["1371946734","1371946760","1371946771","1371946773"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7772c1725be69158cdf2a604e7e8eed8.jpg","text":"TemporaryFile(/tmp/multipartBody8993293337815620530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354153436,"filename":"image_12072025_23_00_54_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ae43c6dbb9e965a541e0010ac8274847.jpg","text":"TemporaryFile(/tmp/multipartBody1540407123288158746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354153436,"filename":"image_12072025_23_01_43_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a36bd1a883c0586730f5558c017629c.jpg","text":"TemporaryFile(/tmp/multipartBody6872459749793645939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354153436,"filename":"image_12072025_23_01_24_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3ec76e0f3320edb3802aedf8f2bfd4c8.jpg","text":"TemporaryFile(/tmp/multipartBody353356376417661865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354153436,"filename":"image_12072025_23_01_13_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371946771","file1":"1371946760","file0":"1371946734","file3":"1371946773"},"map_files_photo_id_array":[{"photo_id":"1371946771","filename":"file2"},{"photo_id":"1371946760","filename":"file1"},{"photo_id":"1371946734","filename":"file0"},{"photo_id":"1371946773","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371946773":["hashtag1","hashtag2"]},{"1371946734":["hashtag1","hashtag2"]},{"1371946760":["hashtag1","hashtag2"]},{"1371946771":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371946773, 1371946734, 1371946760, 1371946771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.663780212402344 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:02:02.650432
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_24_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_24_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_24_9610.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371946777"],"photo_id":"1371946777","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75d0652392171438cd36671ba4b6d05e.jpg","text":"TemporaryFile(/tmp/multipartBody5295338920541753953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354183206,"filename":"image_12072025_23_02_24_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1371946777"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1371946777"}],"hashtags":[],"portfolio_id":"24862864","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.80673336982727 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:02:17.169647
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_44_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_14_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/23/01/image_12072025_23_02_04_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_54_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_44_10636.jpg', '/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_33_9608.jpg', '/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_14_10638.jpg', '/home/nano/Desktop/images/12072025/23/01/image_12072025_23_02_04_9628.jpg', '/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_54_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_44_10636.jpg
/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_33_9608.jpg
/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_14_10638.jpg
/home/nano/Desktop/images/12072025/23/01/image_12072025_23_02_04_9628.jpg
/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_54_10642.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.23811674118042 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:02:32.186717
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_44_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_14_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/23/01/image_12072025_23_02_04_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_54_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_44_10636.jpg', '/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_33_9608.jpg', '/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_14_10638.jpg', '/home/nano/Desktop/images/12072025/23/01/image_12072025_23_02_04_9628.jpg', '/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_54_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_44_10636.jpg
/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_33_9608.jpg
/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_14_10638.jpg
/home/nano/Desktop/images/12072025/23/01/image_12072025_23_02_04_9628.jpg
/home/nano/Desktop/images/12072025/23/01/image_12072025_23_01_54_10642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371946939","1371946947","1371946941","1371946943","1371946966"],"photo_ids_order":["1371946939","1371946941","1371946943","1371946947","1371946966"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/699e3091d690acaf15a349df231f60f0.jpg","text":"TemporaryFile(/tmp/multipartBody518897198465524282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354213382,"filename":"image_12072025_23_02_44_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad7a5bdba54163136331363fb331adc5.jpg","text":"TemporaryFile(/tmp/multipartBody4216508070771162231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354213382,"filename":"image_12072025_23_02_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11351fb030fc4d062ec523a314260092.jpg","text":"TemporaryFile(/tmp/multipartBody3920599895495945420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354213382,"filename":"image_12072025_23_02_33_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4276f5d1252d03e1b1d77cb3fa87162d.jpg","text":"TemporaryFile(/tmp/multipartBody3866203332274543958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354213382,"filename":"image_12072025_23_02_14_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/491bab5267bf8f95033d6b8f0fa61c1a.jpg","text":"TemporaryFile(/tmp/multipartBody8996997352544181208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354213382,"filename":"image_12072025_23_01_54_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371946943","file1":"1371946941","file0":"1371946939","file4":"1371946966","file3":"1371946947"},"map_files_photo_id_array":[{"photo_id":"1371946943","filename":"file2"},{"photo_id":"1371946966","filename":"file4"},{"photo_id":"1371946941","filename":"file1"},{"photo_id":"1371946939","filename":"file0"},{"photo_id":"1371946947","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371946939":["hashtag1","hashtag2"]},{"1371946947":["hashtag1","hashtag2"]},{"1371946941":["hashtag1","hashtag2"]},{"1371946943":["hashtag1","hashtag2"]},{"1371946966":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371946939, 1371946947, 1371946941, 1371946943, 1371946966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.918919563293457 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:03:03.047995
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_33_9667.jpg', 2), ('/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_23_9656.jpg', 2), ('/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_14_9754.jpg', 2), ('/home/nano/Desktop/images/10072025/15/02/image_10072025_15_03_04_10722.jpg', 2), ('/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_53_9720.jpg', 2), ('/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_44_9685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_33_9667.jpg', '/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_23_9656.jpg', '/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_14_9754.jpg', '/home/nano/Desktop/images/10072025/15/02/image_10072025_15_03_04_10722.jpg', '/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_53_9720.jpg', '/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_44_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_33_9667.jpg
/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_23_9656.jpg
/home/nano/Desktop/images/10072025/15/03/image_10072025_15_03_14_9754.jpg
/home/nano/Desktop/images/10072025/15/02/image_10072025_15_03_04_10722.jpg
/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_53_9720.jpg
/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_44_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947073","1371947076","1371947031","1371947078","1371947075","1371947056"],"photo_ids_order":["1371947031","1371947056","1371947073","1371947075","1371947076","1371947078"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f9f451119a4d177c2edf021ac25de49.jpg","text":"TemporaryFile(/tmp/multipartBody1459343049605552251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354246619,"filename":"image_10072025_15_03_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf1255e8a0d070a4d6c8612c945b86f6.jpg","text":"TemporaryFile(/tmp/multipartBody461151521526431682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354246619,"filename":"image_10072025_15_02_53_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75802333f28a3b48f0144d26fa234704.jpg","text":"TemporaryFile(/tmp/multipartBody4690980331288333050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354246619,"filename":"image_10072025_15_03_33_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/760156138d049b3dcbc2db6dbe19287e.jpg","text":"TemporaryFile(/tmp/multipartBody8723770120395760867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354246619,"filename":"image_10072025_15_02_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/90f397f9e593104409a72922c5091b03.jpg","text":"TemporaryFile(/tmp/multipartBody6896160697256247987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354246619,"filename":"image_10072025_15_03_04_10722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/61982242c6725bd720e88ef631d5a546.jpg","text":"TemporaryFile(/tmp/multipartBody5353383551122158709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354246619,"filename":"image_10072025_15_03_23_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947073","file1":"1371947056","file0":"1371947031","file4":"1371947076","file5":"1371947078","file3":"1371947075"},"map_files_photo_id_array":[{"photo_id":"1371947078","filename":"file5"},{"photo_id":"1371947073","filename":"file2"},{"photo_id":"1371947076","filename":"file4"},{"photo_id":"1371947056","filename":"file1"},{"photo_id":"1371947031","filename":"file0"},{"photo_id":"1371947075","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947073":["hashtag1","hashtag2"]},{"1371947076":["hashtag1","hashtag2"]},{"1371947031":["hashtag1","hashtag2"]},{"1371947078":["hashtag1","hashtag2"]},{"1371947075":["hashtag1","hashtag2"]},{"1371947056":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947073, 1371947076, 1371947031, 1371947078, 1371947075, 1371947056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25462746620178 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:03:47.259603
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_44_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_24_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/23/02/image_12072025_23_03_03_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_44_9607.jpg', '/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_34_10618.jpg', '/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_24_9610.jpg', '/home/nano/Desktop/images/12072025/23/02/image_12072025_23_03_03_9650.jpg', '/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_44_9607.jpg
/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_34_10618.jpg
/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_24_9610.jpg
/home/nano/Desktop/images/12072025/23/02/image_12072025_23_03_03_9650.jpg
/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_54_9626.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2457334995269775 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:04:03.245588
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_44_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_24_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/23/02/image_12072025_23_03_03_9650.jpg', 2), ('/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_44_9607.jpg', '/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_34_10618.jpg', '/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_24_9610.jpg', '/home/nano/Desktop/images/12072025/23/02/image_12072025_23_03_03_9650.jpg', '/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_44_9607.jpg
/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_34_10618.jpg
/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_24_9610.jpg
/home/nano/Desktop/images/12072025/23/02/image_12072025_23_03_03_9650.jpg
/home/nano/Desktop/images/12072025/23/02/image_12072025_23_02_54_9626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947094","1371947096","1371947099","1371947098","1371947092"],"photo_ids_order":["1371947092","1371947094","1371947096","1371947098","1371947099"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86bba555d40c2e432c0260e99dd7fa57.jpg","text":"TemporaryFile(/tmp/multipartBody3458760327193303511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354304843,"filename":"image_12072025_23_03_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60b7a5c65bd151966342c5ed8b8843c3.jpg","text":"TemporaryFile(/tmp/multipartBody2830538968437275899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354304843,"filename":"image_12072025_23_03_24_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/15c4248c5648f9f42272edea911813ff.jpg","text":"TemporaryFile(/tmp/multipartBody3748312144313384834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354304843,"filename":"image_12072025_23_02_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d3fc57c36160ff0033caa7182acdf84f.jpg","text":"TemporaryFile(/tmp/multipartBody7181752219533994732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354304843,"filename":"image_12072025_23_03_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/809992b58db57ae16a2a81fd99b77c22.jpg","text":"TemporaryFile(/tmp/multipartBody7906843932056334684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354304843,"filename":"image_12072025_23_03_44_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947096","file1":"1371947094","file0":"1371947092","file4":"1371947099","file3":"1371947098"},"map_files_photo_id_array":[{"photo_id":"1371947096","filename":"file2"},{"photo_id":"1371947099","filename":"file4"},{"photo_id":"1371947094","filename":"file1"},{"photo_id":"1371947092","filename":"file0"},{"photo_id":"1371947098","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947094":["hashtag1","hashtag2"]},{"1371947096":["hashtag1","hashtag2"]},{"1371947099":["hashtag1","hashtag2"]},{"1371947098":["hashtag1","hashtag2"]},{"1371947092":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947094, 1371947096, 1371947099, 1371947098, 1371947092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.4634370803833 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:04:32.370041
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/04/image_12072025_23_04_34_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/23/04/image_12072025_23_04_23_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/04/image_12072025_23_04_14_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/23/03/image_12072025_23_04_04_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_53_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/04/image_12072025_23_04_34_10617.jpg', '/home/nano/Desktop/images/12072025/23/04/image_12072025_23_04_23_9618.jpg', '/home/nano/Desktop/images/12072025/23/04/image_12072025_23_04_14_9632.jpg', '/home/nano/Desktop/images/12072025/23/03/image_12072025_23_04_04_10632.jpg', '/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_53_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/04/image_12072025_23_04_34_10617.jpg
/home/nano/Desktop/images/12072025/23/04/image_12072025_23_04_23_9618.jpg
/home/nano/Desktop/images/12072025/23/04/image_12072025_23_04_14_9632.jpg
/home/nano/Desktop/images/12072025/23/03/image_12072025_23_04_04_10632.jpg
/home/nano/Desktop/images/12072025/23/03/image_12072025_23_03_53_9625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947110","1371947103","1371947102","1371947105","1371947108"],"photo_ids_order":["1371947102","1371947103","1371947105","1371947108","1371947110"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/863a2db4ac10d6ae191b4c713e1224bf.jpg","text":"TemporaryFile(/tmp/multipartBody6227322529453596406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354333379,"filename":"image_12072025_23_03_53_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b75ef630c2e9b2b5df1b5067445a9cd6.jpg","text":"TemporaryFile(/tmp/multipartBody4809098235088581622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354333379,"filename":"image_12072025_23_04_23_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/05581703d3360ab698f16b227237ab39.jpg","text":"TemporaryFile(/tmp/multipartBody7231220579378356656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354333379,"filename":"image_12072025_23_04_34_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c7847f9f52d672cf307a47c273b5c93.jpg","text":"TemporaryFile(/tmp/multipartBody536722596672874860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354333379,"filename":"image_12072025_23_04_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3473232b1adf50e04cc0c7dc49fe19c2.jpg","text":"TemporaryFile(/tmp/multipartBody3366958127486548689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354333379,"filename":"image_12072025_23_04_04_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947105","file1":"1371947103","file0":"1371947102","file4":"1371947110","file3":"1371947108"},"map_files_photo_id_array":[{"photo_id":"1371947105","filename":"file2"},{"photo_id":"1371947110","filename":"file4"},{"photo_id":"1371947103","filename":"file1"},{"photo_id":"1371947102","filename":"file0"},{"photo_id":"1371947108","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947110":["hashtag1","hashtag2"]},{"1371947103":["hashtag1","hashtag2"]},{"1371947102":["hashtag1","hashtag2"]},{"1371947105":["hashtag1","hashtag2"]},{"1371947108":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947110, 1371947103, 1371947102, 1371947105, 1371947108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.796786785125732 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:05:03.264567
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_34_10730.jpg', 2), ('/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_23_9748.jpg', 2), ('/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_13_9745.jpg', 2), ('/home/nano/Desktop/images/10072025/15/01/image_10072025_15_02_04_9700.jpg', 2), ('/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_54_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_43_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_34_10730.jpg', '/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_23_9748.jpg', '/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_13_9745.jpg', '/home/nano/Desktop/images/10072025/15/01/image_10072025_15_02_04_9700.jpg', '/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_54_10661.jpg', '/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_43_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_34_10730.jpg
/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_23_9748.jpg
/home/nano/Desktop/images/10072025/15/02/image_10072025_15_02_13_9745.jpg
/home/nano/Desktop/images/10072025/15/01/image_10072025_15_02_04_9700.jpg
/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_54_10661.jpg
/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_43_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947119","1371947124","1371947121","1371947123","1371947117","1371947125"],"photo_ids_order":["1371947117","1371947119","1371947121","1371947123","1371947124","1371947125"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0246c536d1dde9a0860f6756657b67e6.jpg","text":"TemporaryFile(/tmp/multipartBody6600157315630302036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354366873,"filename":"image_10072025_15_02_23_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5c6b74df6bff62c391d937c1485d5b03.jpg","text":"TemporaryFile(/tmp/multipartBody1336193151421740326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354366873,"filename":"image_10072025_15_01_54_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f64e2ec03c44f7badc279eb0d97017cc.jpg","text":"TemporaryFile(/tmp/multipartBody804119970311629035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354366873,"filename":"image_10072025_15_02_13_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b39bfc18c2020df2bcf5e1e6b2b91110.jpg","text":"TemporaryFile(/tmp/multipartBody2229295761761448570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354366873,"filename":"image_10072025_15_02_04_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/97bbc3074ae3c85caf7b6f34b56dd696.jpg","text":"TemporaryFile(/tmp/multipartBody8863437416483136724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354366873,"filename":"image_10072025_15_02_34_10730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2288754881ad17c7fe5274c4eda33f72.jpg","text":"TemporaryFile(/tmp/multipartBody6168389057837070768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354366873,"filename":"image_10072025_15_01_43_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947121","file1":"1371947119","file0":"1371947117","file4":"1371947124","file5":"1371947125","file3":"1371947123"},"map_files_photo_id_array":[{"photo_id":"1371947125","filename":"file5"},{"photo_id":"1371947121","filename":"file2"},{"photo_id":"1371947124","filename":"file4"},{"photo_id":"1371947119","filename":"file1"},{"photo_id":"1371947117","filename":"file0"},{"photo_id":"1371947123","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947119":["hashtag1","hashtag2"]},{"1371947124":["hashtag1","hashtag2"]},{"1371947121":["hashtag1","hashtag2"]},{"1371947123":["hashtag1","hashtag2"]},{"1371947117":["hashtag1","hashtag2"]},{"1371947125":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947119, 1371947124, 1371947121, 1371947123, 1371947117, 1371947125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.327462673187256 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:05:47.545170
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_43_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_34_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_24_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_13_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/23/04/image_12072025_23_05_04_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/04/image_12072025_23_04_44_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_43_9626.jpg', '/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_34_9620.jpg', '/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_24_10639.jpg', '/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_13_9631.jpg', '/home/nano/Desktop/images/12072025/23/04/image_12072025_23_05_04_9620.jpg', '/home/nano/Desktop/images/12072025/23/04/image_12072025_23_04_44_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_43_9626.jpg
/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_34_9620.jpg
/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_24_10639.jpg
/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_13_9631.jpg
/home/nano/Desktop/images/12072025/23/04/image_12072025_23_05_04_9620.jpg
/home/nano/Desktop/images/12072025/23/04/image_12072025_23_04_44_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947130","1371947133","1371947132","1371947135","1371947128","1371947137"],"photo_ids_order":["1371947128","1371947130","1371947132","1371947133","1371947135","1371947137"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b85389693c8e95fd7d9caca86d5b9b1f.jpg","text":"TemporaryFile(/tmp/multipartBody5353858280349911841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354409050,"filename":"image_12072025_23_05_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eb4f811211d21ee9c06a1b8d048ea76b.jpg","text":"TemporaryFile(/tmp/multipartBody5445856203702111903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354409050,"filename":"image_12072025_23_05_13_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ae8a1a64f3b626d8f6738a3cfd37bfd.jpg","text":"TemporaryFile(/tmp/multipartBody3095522133957001352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354409050,"filename":"image_12072025_23_05_24_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/feea3d3f83442fc058757770669f004f.jpg","text":"TemporaryFile(/tmp/multipartBody37410051308887874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354409050,"filename":"image_12072025_23_05_04_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da3572c1f108d49125396b6b019d8f4a.jpg","text":"TemporaryFile(/tmp/multipartBody5528643164855513699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354409050,"filename":"image_12072025_23_05_43_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b90a506966bb4a3c9b59ee2228f60cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6968088963119978761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354409050,"filename":"image_12072025_23_04_44_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947132","file1":"1371947130","file0":"1371947128","file4":"1371947135","file5":"1371947137","file3":"1371947133"},"map_files_photo_id_array":[{"photo_id":"1371947137","filename":"file5"},{"photo_id":"1371947132","filename":"file2"},{"photo_id":"1371947135","filename":"file4"},{"photo_id":"1371947130","filename":"file1"},{"photo_id":"1371947128","filename":"file0"},{"photo_id":"1371947133","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947130":["hashtag1","hashtag2"]},{"1371947133":["hashtag1","hashtag2"]},{"1371947132":["hashtag1","hashtag2"]},{"1371947135":["hashtag1","hashtag2"]},{"1371947128":["hashtag1","hashtag2"]},{"1371947137":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947130, 1371947133, 1371947132, 1371947135, 1371947128, 1371947137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.1371591091156 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:06:32.646088
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/06/image_12072025_23_06_34_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/23/06/image_12072025_23_06_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/23/05/image_12072025_23_06_04_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_54_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/06/image_12072025_23_06_34_9629.jpg', '/home/nano/Desktop/images/12072025/23/06/image_12072025_23_06_14_10667.jpg', '/home/nano/Desktop/images/12072025/23/05/image_12072025_23_06_04_9626.jpg', '/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_54_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/06/image_12072025_23_06_34_9629.jpg
/home/nano/Desktop/images/12072025/23/06/image_12072025_23_06_14_10667.jpg
/home/nano/Desktop/images/12072025/23/05/image_12072025_23_06_04_9626.jpg
/home/nano/Desktop/images/12072025/23/05/image_12072025_23_05_54_10627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947142","1371947141","1371947143","1371947146"],"photo_ids_order":["1371947141","1371947142","1371947143","1371947146"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ab1c2ce0229412d85f7a2f81349183a.jpg","text":"TemporaryFile(/tmp/multipartBody2689416571081676482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354453837,"filename":"image_12072025_23_06_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1c79845d43940575465069af8faa80e5.jpg","text":"TemporaryFile(/tmp/multipartBody1031926615985105577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354453837,"filename":"image_12072025_23_06_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/06360a03fcac3f28d9981cf8a28e3bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6391680044927702140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354453837,"filename":"image_12072025_23_06_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98ae86991a284524e10a5f2f3464a5fc.jpg","text":"TemporaryFile(/tmp/multipartBody1712585475277850252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354453837,"filename":"image_12072025_23_05_54_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947143","file1":"1371947142","file0":"1371947141","file3":"1371947146"},"map_files_photo_id_array":[{"photo_id":"1371947143","filename":"file2"},{"photo_id":"1371947142","filename":"file1"},{"photo_id":"1371947141","filename":"file0"},{"photo_id":"1371947146","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947142":["hashtag1","hashtag2"]},{"1371947141":["hashtag1","hashtag2"]},{"1371947143":["hashtag1","hashtag2"]},{"1371947146":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947142, 1371947141, 1371947143, 1371947146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.30816650390625 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:07:03.464400
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_34_10622.jpg', 2), ('/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_23_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_13_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/15/00/image_10072025_15_01_04_10628.jpg', 2), ('/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_53_9604.jpg', 2), ('/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_44_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_34_10622.jpg', '/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_23_9616.jpg', '/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_13_9633.jpg', '/home/nano/Desktop/images/10072025/15/00/image_10072025_15_01_04_10628.jpg', '/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_53_9604.jpg', '/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_44_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_34_10622.jpg
/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_23_9616.jpg
/home/nano/Desktop/images/10072025/15/01/image_10072025_15_01_13_9633.jpg
/home/nano/Desktop/images/10072025/15/00/image_10072025_15_01_04_10628.jpg
/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_53_9604.jpg
/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_44_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947157","1371947151","1371947153","1371947156","1371947158","1371947155"],"photo_ids_order":["1371947151","1371947153","1371947155","1371947156","1371947157","1371947158"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9db0f866aebe3e7433716abc23b8275e.jpg","text":"TemporaryFile(/tmp/multipartBody1914690429780217100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354486451,"filename":"image_10072025_15_00_53_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/904e990807c58a551ddeb72b8cb87da6.jpg","text":"TemporaryFile(/tmp/multipartBody808741788303030354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354486451,"filename":"image_10072025_15_01_34_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b0f8db8327413c577ec7c03681a65743.jpg","text":"TemporaryFile(/tmp/multipartBody6041772808322893721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354486451,"filename":"image_10072025_15_01_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9db96c82961f0532036772cefdb2cd85.jpg","text":"TemporaryFile(/tmp/multipartBody8826156768412054600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354486451,"filename":"image_10072025_15_01_04_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d09cfbaf1303e87085db37a188ef264b.jpg","text":"TemporaryFile(/tmp/multipartBody3127996337615713906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354486451,"filename":"image_10072025_15_00_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1ae17a97a8ebe748f198defe5fd997a.jpg","text":"TemporaryFile(/tmp/multipartBody6019645048008889227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354486451,"filename":"image_10072025_15_01_13_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947155","file1":"1371947153","file0":"1371947151","file4":"1371947157","file5":"1371947158","file3":"1371947156"},"map_files_photo_id_array":[{"photo_id":"1371947158","filename":"file5"},{"photo_id":"1371947155","filename":"file2"},{"photo_id":"1371947157","filename":"file4"},{"photo_id":"1371947153","filename":"file1"},{"photo_id":"1371947151","filename":"file0"},{"photo_id":"1371947156","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947157":["hashtag1","hashtag2"]},{"1371947151":["hashtag1","hashtag2"]},{"1371947153":["hashtag1","hashtag2"]},{"1371947156":["hashtag1","hashtag2"]},{"1371947158":["hashtag1","hashtag2"]},{"1371947155":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947157, 1371947151, 1371947153, 1371947156, 1371947158, 1371947155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48971176147461 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:07:47.750782
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/07/image_12072025_23_07_44_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/07/image_12072025_23_07_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/23/07/image_12072025_23_07_14_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/23/06/image_12072025_23_07_03_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/23/06/image_12072025_23_06_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/07/image_12072025_23_07_44_9618.jpg', '/home/nano/Desktop/images/12072025/23/07/image_12072025_23_07_24_9608.jpg', '/home/nano/Desktop/images/12072025/23/07/image_12072025_23_07_14_10640.jpg', '/home/nano/Desktop/images/12072025/23/06/image_12072025_23_07_03_9623.jpg', '/home/nano/Desktop/images/12072025/23/06/image_12072025_23_06_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/07/image_12072025_23_07_44_9618.jpg
/home/nano/Desktop/images/12072025/23/07/image_12072025_23_07_24_9608.jpg
/home/nano/Desktop/images/12072025/23/07/image_12072025_23_07_14_10640.jpg
/home/nano/Desktop/images/12072025/23/06/image_12072025_23_07_03_9623.jpg
/home/nano/Desktop/images/12072025/23/06/image_12072025_23_06_54_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947166","1371947163","1371947161","1371947170","1371947173"],"photo_ids_order":["1371947161","1371947163","1371947166","1371947170","1371947173"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64a328d16c92f8daa107131f198e51e0.jpg","text":"TemporaryFile(/tmp/multipartBody1288527173497660290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354529539,"filename":"image_12072025_23_07_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9e7ed0e6cf9eace1d4dfc3087804c1c7.jpg","text":"TemporaryFile(/tmp/multipartBody3877876606306977453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354529539,"filename":"image_12072025_23_07_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cb4cd5c74e189ae4538b21d62c690337.jpg","text":"TemporaryFile(/tmp/multipartBody3921179646604922883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354529539,"filename":"image_12072025_23_07_44_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f08d480528274f93668b9083e1b13bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6036590334661852485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354529539,"filename":"image_12072025_23_07_03_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4494b7a9f1e77639ba992aa6ce868879.jpg","text":"TemporaryFile(/tmp/multipartBody3571349835521712135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354529539,"filename":"image_12072025_23_06_54_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947166","file1":"1371947163","file0":"1371947161","file4":"1371947173","file3":"1371947170"},"map_files_photo_id_array":[{"photo_id":"1371947166","filename":"file2"},{"photo_id":"1371947173","filename":"file4"},{"photo_id":"1371947163","filename":"file1"},{"photo_id":"1371947161","filename":"file0"},{"photo_id":"1371947170","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947166":["hashtag1","hashtag2"]},{"1371947163":["hashtag1","hashtag2"]},{"1371947161":["hashtag1","hashtag2"]},{"1371947170":["hashtag1","hashtag2"]},{"1371947173":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947166, 1371947163, 1371947161, 1371947170, 1371947173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.552107572555542 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:08:16.856911
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/08/image_12072025_23_08_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/08/image_12072025_23_08_23_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/23/08/image_12072025_23_08_14_9651.jpg', 2), ('/home/nano/Desktop/images/12072025/23/07/image_12072025_23_08_04_10643.jpg', 2), ('/home/nano/Desktop/images/12072025/23/07/image_12072025_23_07_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/08/image_12072025_23_08_34_10620.jpg', '/home/nano/Desktop/images/12072025/23/08/image_12072025_23_08_23_9626.jpg', '/home/nano/Desktop/images/12072025/23/08/image_12072025_23_08_14_9651.jpg', '/home/nano/Desktop/images/12072025/23/07/image_12072025_23_08_04_10643.jpg', '/home/nano/Desktop/images/12072025/23/07/image_12072025_23_07_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/08/image_12072025_23_08_34_10620.jpg
/home/nano/Desktop/images/12072025/23/08/image_12072025_23_08_23_9626.jpg
/home/nano/Desktop/images/12072025/23/08/image_12072025_23_08_14_9651.jpg
/home/nano/Desktop/images/12072025/23/07/image_12072025_23_08_04_10643.jpg
/home/nano/Desktop/images/12072025/23/07/image_12072025_23_07_53_9617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947183","1371947180","1371947182","1371947185","1371947184"],"photo_ids_order":["1371947180","1371947182","1371947183","1371947184","1371947185"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6aa4035cccf82a5f27601241b8fe985.jpg","text":"TemporaryFile(/tmp/multipartBody2082943349410815140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354558371,"filename":"image_12072025_23_08_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26f42aabf9c674d954b27e62fc0acaba.jpg","text":"TemporaryFile(/tmp/multipartBody6373244657812662690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354558371,"filename":"image_12072025_23_08_34_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df3317cd6f5ebe823a2efce18f4d6b21.jpg","text":"TemporaryFile(/tmp/multipartBody4900696792671776245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354558371,"filename":"image_12072025_23_08_23_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85a42ef222e26702c650ef0ff5538f97.jpg","text":"TemporaryFile(/tmp/multipartBody3358742755761242936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354558371,"filename":"image_12072025_23_07_53_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d2370e44741abf9e5fb7eb4fd5cedd8f.jpg","text":"TemporaryFile(/tmp/multipartBody2150801980616507453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354558371,"filename":"image_12072025_23_08_04_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947183","file1":"1371947182","file0":"1371947180","file4":"1371947185","file3":"1371947184"},"map_files_photo_id_array":[{"photo_id":"1371947183","filename":"file2"},{"photo_id":"1371947185","filename":"file4"},{"photo_id":"1371947182","filename":"file1"},{"photo_id":"1371947180","filename":"file0"},{"photo_id":"1371947184","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947183":["hashtag1","hashtag2"]},{"1371947180":["hashtag1","hashtag2"]},{"1371947182":["hashtag1","hashtag2"]},{"1371947185":["hashtag1","hashtag2"]},{"1371947184":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947183, 1371947180, 1371947182, 1371947185, 1371947184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.16954016685486 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:08:46.840309
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_34_10631.jpg', 2), ('/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_23_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_14_10652.jpg', 2), ('/home/nano/Desktop/images/10072025/14/59/image_10072025_15_00_03_9641.jpg', 2), ('/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_53_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_44_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_34_10631.jpg', '/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_23_9631.jpg', '/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_14_10652.jpg', '/home/nano/Desktop/images/10072025/14/59/image_10072025_15_00_03_9641.jpg', '/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_53_9636.jpg', '/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_44_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_34_10631.jpg
/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_23_9631.jpg
/home/nano/Desktop/images/10072025/15/00/image_10072025_15_00_14_10652.jpg
/home/nano/Desktop/images/10072025/14/59/image_10072025_15_00_03_9641.jpg
/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_53_9636.jpg
/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_44_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947196","1371947192","1371947189","1371947194","1371947199","1371947190"],"photo_ids_order":["1371947189","1371947190","1371947192","1371947194","1371947196","1371947199"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4100ee64fe09aedae36a04a5e34440a1.jpg","text":"TemporaryFile(/tmp/multipartBody4216661280545759065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354590155,"filename":"image_10072025_14_59_53_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83920c5fa378bc27bdbe60840f2bd56c.jpg","text":"TemporaryFile(/tmp/multipartBody1680902198834145861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354590155,"filename":"image_10072025_15_00_14_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a713a8df17f5c75b3efd50e8e342887.jpg","text":"TemporaryFile(/tmp/multipartBody4186531857804578594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354590155,"filename":"image_10072025_15_00_34_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/83aaa14ee40769a2e0b3cc00b2d7c950.jpg","text":"TemporaryFile(/tmp/multipartBody8088286599076921705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354590155,"filename":"image_10072025_15_00_03_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18729b7a7a3669777ab82bec8bb0c47f.jpg","text":"TemporaryFile(/tmp/multipartBody4502119351542216327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354590155,"filename":"image_10072025_14_59_44_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21e3d003fbf3ee53cbf28780f1b15d77.jpg","text":"TemporaryFile(/tmp/multipartBody1977436844770413946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354590155,"filename":"image_10072025_15_00_23_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947192","file1":"1371947190","file0":"1371947189","file4":"1371947196","file5":"1371947199","file3":"1371947194"},"map_files_photo_id_array":[{"photo_id":"1371947199","filename":"file5"},{"photo_id":"1371947192","filename":"file2"},{"photo_id":"1371947196","filename":"file4"},{"photo_id":"1371947190","filename":"file1"},{"photo_id":"1371947189","filename":"file0"},{"photo_id":"1371947194","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947196":["hashtag1","hashtag2"]},{"1371947192":["hashtag1","hashtag2"]},{"1371947189":["hashtag1","hashtag2"]},{"1371947194":["hashtag1","hashtag2"]},{"1371947199":["hashtag1","hashtag2"]},{"1371947190":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947196, 1371947192, 1371947189, 1371947194, 1371947199, 1371947190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23699331283569 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:09:31.937829
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/09/image_12072025_23_09_14_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/23/08/image_12072025_23_09_04_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/23/08/image_12072025_23_08_54_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/09/image_12072025_23_09_14_9642.jpg', '/home/nano/Desktop/images/12072025/23/08/image_12072025_23_09_04_9627.jpg', '/home/nano/Desktop/images/12072025/23/08/image_12072025_23_08_54_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/09/image_12072025_23_09_14_9642.jpg
/home/nano/Desktop/images/12072025/23/08/image_12072025_23_09_04_9627.jpg
/home/nano/Desktop/images/12072025/23/08/image_12072025_23_08_54_10627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947205","1371947207","1371947206"],"photo_ids_order":["1371947205","1371947206","1371947207"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3a7756f93cacf4db3b07c51906683ea0.jpg","text":"TemporaryFile(/tmp/multipartBody3980090657105841028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354633268,"filename":"image_12072025_23_09_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/874fd94a2438ffc5c345a4dde4a5d4d1.jpg","text":"TemporaryFile(/tmp/multipartBody1140531207378206529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354633268,"filename":"image_12072025_23_08_54_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b9cd216e382832e6fb965cba85b48154.jpg","text":"TemporaryFile(/tmp/multipartBody2502462158416588974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354633268,"filename":"image_12072025_23_09_04_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947207","file1":"1371947206","file0":"1371947205"},"map_files_photo_id_array":[{"photo_id":"1371947207","filename":"file2"},{"photo_id":"1371947206","filename":"file1"},{"photo_id":"1371947205","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947205":["hashtag1","hashtag2"]},{"1371947207":["hashtag1","hashtag2"]},{"1371947206":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947205, 1371947207, 1371947206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.017067432403564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:10:02.587337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_33_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_24_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_14_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/14/58/image_10072025_14_59_03_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_54_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_44_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_33_9614.jpg', '/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_24_9626.jpg', '/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_14_10645.jpg', '/home/nano/Desktop/images/10072025/14/58/image_10072025_14_59_03_9654.jpg', '/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_54_9652.jpg', '/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_44_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_33_9614.jpg
/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_24_9626.jpg
/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_14_10645.jpg
/home/nano/Desktop/images/10072025/14/58/image_10072025_14_59_03_9654.jpg
/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_54_9652.jpg
/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_44_10613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.370476722717285 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:10:17.028100
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/10/image_12072025_23_10_44_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/23/10/image_12072025_23_10_14_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/23/09/image_12072025_23_10_04_9624.jpg', 2), ('/home/nano/Desktop/images/12072025/23/09/image_12072025_23_09_24_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/10/image_12072025_23_10_44_10626.jpg', '/home/nano/Desktop/images/12072025/23/10/image_12072025_23_10_14_10641.jpg', '/home/nano/Desktop/images/12072025/23/09/image_12072025_23_10_04_9624.jpg', '/home/nano/Desktop/images/12072025/23/09/image_12072025_23_09_24_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/10/image_12072025_23_10_44_10626.jpg
/home/nano/Desktop/images/12072025/23/10/image_12072025_23_10_14_10641.jpg
/home/nano/Desktop/images/12072025/23/09/image_12072025_23_10_04_9624.jpg
/home/nano/Desktop/images/12072025/23/09/image_12072025_23_09_24_10620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947223","1371947225","1371947219","1371947221"],"photo_ids_order":["1371947219","1371947221","1371947223","1371947225"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fba8b2c97dd4fe47189b980bacd431e3.jpg","text":"TemporaryFile(/tmp/multipartBody1203658111581132082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354678374,"filename":"image_12072025_23_10_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/05cd2f2abe361601a3e4c931c11b6b03.jpg","text":"TemporaryFile(/tmp/multipartBody4975384720015479726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354678374,"filename":"image_12072025_23_09_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b04b1a4736bf22d7b51152100dd80d62.jpg","text":"TemporaryFile(/tmp/multipartBody4755142447734227613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354678374,"filename":"image_12072025_23_10_44_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fd1b749058ebd1e7eb0160c6de526bf0.jpg","text":"TemporaryFile(/tmp/multipartBody2839320462795056340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354678374,"filename":"image_12072025_23_10_14_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947223","file1":"1371947221","file0":"1371947219","file3":"1371947225"},"map_files_photo_id_array":[{"photo_id":"1371947223","filename":"file2"},{"photo_id":"1371947221","filename":"file1"},{"photo_id":"1371947219","filename":"file0"},{"photo_id":"1371947225","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947223":["hashtag1","hashtag2"]},{"1371947225":["hashtag1","hashtag2"]},{"1371947219":["hashtag1","hashtag2"]},{"1371947221":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947223, 1371947225, 1371947219, 1371947221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.5511417388916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:10:47.053592
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_33_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_24_9626.jpg', 2), ('/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_14_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/14/58/image_10072025_14_59_03_9654.jpg', 2), ('/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_54_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_44_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_33_9614.jpg', '/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_24_9626.jpg', '/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_14_10645.jpg', '/home/nano/Desktop/images/10072025/14/58/image_10072025_14_59_03_9654.jpg', '/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_54_9652.jpg', '/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_44_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_33_9614.jpg
/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_24_9626.jpg
/home/nano/Desktop/images/10072025/14/59/image_10072025_14_59_14_10645.jpg
/home/nano/Desktop/images/10072025/14/58/image_10072025_14_59_03_9654.jpg
/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_54_9652.jpg
/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_44_10613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947235","1371947231","1371947237","1371947242","1371947239","1371947233"],"photo_ids_order":["1371947231","1371947233","1371947235","1371947237","1371947239","1371947242"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/55ece09fe49d031c3462747bba701955.jpg","text":"TemporaryFile(/tmp/multipartBody3711045393542122651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354710279,"filename":"image_10072025_14_59_14_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e681b4732b552115dc933b31c73e048.jpg","text":"TemporaryFile(/tmp/multipartBody3850570119041941177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354710279,"filename":"image_10072025_14_59_33_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9b254c14d7cffd406442489adbc877c8.jpg","text":"TemporaryFile(/tmp/multipartBody4627263936535399617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354710279,"filename":"image_10072025_14_59_03_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f70320cd51fef81253f38c871d058ade.jpg","text":"TemporaryFile(/tmp/multipartBody7427217049801995848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354710279,"filename":"image_10072025_14_58_44_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a35cfc461949f555380f8637d5894dfc.jpg","text":"TemporaryFile(/tmp/multipartBody4467818724651360802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354710279,"filename":"image_10072025_14_58_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff97d70db02b99964a8f117955b5f6b8.jpg","text":"TemporaryFile(/tmp/multipartBody1197572913235519278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354710279,"filename":"image_10072025_14_59_24_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947235","file1":"1371947233","file0":"1371947231","file4":"1371947239","file5":"1371947242","file3":"1371947237"},"map_files_photo_id_array":[{"photo_id":"1371947242","filename":"file5"},{"photo_id":"1371947235","filename":"file2"},{"photo_id":"1371947239","filename":"file4"},{"photo_id":"1371947233","filename":"file1"},{"photo_id":"1371947231","filename":"file0"},{"photo_id":"1371947237","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947235":["hashtag1","hashtag2"]},{"1371947231":["hashtag1","hashtag2"]},{"1371947237":["hashtag1","hashtag2"]},{"1371947242":["hashtag1","hashtag2"]},{"1371947239":["hashtag1","hashtag2"]},{"1371947233":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947235, 1371947231, 1371947237, 1371947242, 1371947239, 1371947233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.890400648117065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:11:32.157621
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/11/image_12072025_23_11_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/11/image_12072025_23_11_24_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/23/11/image_12072025_23_11_14_10651.jpg', 2), ('/home/nano/Desktop/images/12072025/23/10/image_12072025_23_10_54_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/11/image_12072025_23_11_34_10618.jpg', '/home/nano/Desktop/images/12072025/23/11/image_12072025_23_11_24_9611.jpg', '/home/nano/Desktop/images/12072025/23/11/image_12072025_23_11_14_10651.jpg', '/home/nano/Desktop/images/12072025/23/10/image_12072025_23_10_54_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/11/image_12072025_23_11_34_10618.jpg
/home/nano/Desktop/images/12072025/23/11/image_12072025_23_11_24_9611.jpg
/home/nano/Desktop/images/12072025/23/11/image_12072025_23_11_14_10651.jpg
/home/nano/Desktop/images/12072025/23/10/image_12072025_23_10_54_9612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947244","1371947246","1371947249","1371947245"],"photo_ids_order":["1371947244","1371947245","1371947246","1371947249"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d77e804287736d06939eb865bca71ef.jpg","text":"TemporaryFile(/tmp/multipartBody7323345089496432428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354753692,"filename":"image_12072025_23_11_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dd790f12704b09a701f0cd3451a944db.jpg","text":"TemporaryFile(/tmp/multipartBody5677600182697742998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354753692,"filename":"image_12072025_23_11_14_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d543e9b45f6068c5832db98e2745cb3.jpg","text":"TemporaryFile(/tmp/multipartBody996972738546031001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354753692,"filename":"image_12072025_23_10_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4115b870550cb7a70895c88c67938df2.jpg","text":"TemporaryFile(/tmp/multipartBody4091779634402442807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354753692,"filename":"image_12072025_23_11_24_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947246","file1":"1371947245","file0":"1371947244","file3":"1371947249"},"map_files_photo_id_array":[{"photo_id":"1371947246","filename":"file2"},{"photo_id":"1371947245","filename":"file1"},{"photo_id":"1371947244","filename":"file0"},{"photo_id":"1371947249","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947244":["hashtag1","hashtag2"]},{"1371947246":["hashtag1","hashtag2"]},{"1371947249":["hashtag1","hashtag2"]},{"1371947245":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947244, 1371947246, 1371947249, 1371947245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.938024282455444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:12:02.819032
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_33_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_24_10634.jpg', 2), ('/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_13_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/14/57/image_10072025_14_58_03_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_54_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_43_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_33_9628.jpg', '/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_24_10634.jpg', '/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_13_9625.jpg', '/home/nano/Desktop/images/10072025/14/57/image_10072025_14_58_03_9623.jpg', '/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_54_10640.jpg', '/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_43_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_33_9628.jpg
/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_24_10634.jpg
/home/nano/Desktop/images/10072025/14/58/image_10072025_14_58_13_9625.jpg
/home/nano/Desktop/images/10072025/14/57/image_10072025_14_58_03_9623.jpg
/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_54_10640.jpg
/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_43_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947259","1371947261","1371947255","1371947263","1371947257","1371947254"],"photo_ids_order":["1371947254","1371947255","1371947257","1371947259","1371947261","1371947263"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/36f3b4d15f6c9c7c948e7c5b0c8e52ad.jpg","text":"TemporaryFile(/tmp/multipartBody208712924371416992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354786214,"filename":"image_10072025_14_58_03_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f046ecb1041cf57a5bc15c80f44f3cb.jpg","text":"TemporaryFile(/tmp/multipartBody3638522703466550111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354786214,"filename":"image_10072025_14_57_54_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/da9de90bc73510ed441ecc4c38f7d02e.jpg","text":"TemporaryFile(/tmp/multipartBody1825079377631513603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354786214,"filename":"image_10072025_14_58_24_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/918217aedbbe9c01ba4099ac0d523a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4545709317453632610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354786214,"filename":"image_10072025_14_57_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/460ab04dc13574b32869bb0333b37a3e.jpg","text":"TemporaryFile(/tmp/multipartBody164860809941942648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354786214,"filename":"image_10072025_14_58_13_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d706bf4d7278a49c928bd58e3467280.jpg","text":"TemporaryFile(/tmp/multipartBody4829574928929541441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354786214,"filename":"image_10072025_14_58_33_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947257","file1":"1371947255","file0":"1371947254","file4":"1371947261","file5":"1371947263","file3":"1371947259"},"map_files_photo_id_array":[{"photo_id":"1371947263","filename":"file5"},{"photo_id":"1371947257","filename":"file2"},{"photo_id":"1371947261","filename":"file4"},{"photo_id":"1371947255","filename":"file1"},{"photo_id":"1371947254","filename":"file0"},{"photo_id":"1371947259","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947259":["hashtag1","hashtag2"]},{"1371947261":["hashtag1","hashtag2"]},{"1371947255":["hashtag1","hashtag2"]},{"1371947263":["hashtag1","hashtag2"]},{"1371947257":["hashtag1","hashtag2"]},{"1371947254":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947259, 1371947261, 1371947255, 1371947263, 1371947257, 1371947254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93027710914612 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:12:47.254624
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_44_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_23_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/23/11/image_12072025_23_12_04_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/23/11/image_12072025_23_11_44_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_44_9609.jpg', '/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_34_10618.jpg', '/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_23_9631.jpg', '/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_14_9626.jpg', '/home/nano/Desktop/images/12072025/23/11/image_12072025_23_12_04_10624.jpg', '/home/nano/Desktop/images/12072025/23/11/image_12072025_23_11_44_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_44_9609.jpg
/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_34_10618.jpg
/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_23_9631.jpg
/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_14_9626.jpg
/home/nano/Desktop/images/12072025/23/11/image_12072025_23_12_04_10624.jpg
/home/nano/Desktop/images/12072025/23/11/image_12072025_23_11_44_9609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947274","1371947268","1371947277","1371947270","1371947267","1371947272"],"photo_ids_order":["1371947267","1371947268","1371947270","1371947272","1371947274","1371947277"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/18267afbdfebc9ef01abd41d843a40fe.jpg","text":"TemporaryFile(/tmp/multipartBody8065730812665458172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354829783,"filename":"image_12072025_23_12_04_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c5e1b944f68633caf7b31b966fa98206.jpg","text":"TemporaryFile(/tmp/multipartBody846791397150431098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354829783,"filename":"image_12072025_23_12_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c92443515cb6312134001789d16e6aa4.jpg","text":"TemporaryFile(/tmp/multipartBody8943742396342673404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354829783,"filename":"image_12072025_23_11_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/801990fc6e10446954e5ecb26da3ae23.jpg","text":"TemporaryFile(/tmp/multipartBody7052815529285159962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354829783,"filename":"image_12072025_23_12_23_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ed6e7fa3973e86a485727c64c06053b.jpg","text":"TemporaryFile(/tmp/multipartBody2950801843937278437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354829783,"filename":"image_12072025_23_12_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4fae6c518aed86c34cb17b1117689a20.jpg","text":"TemporaryFile(/tmp/multipartBody1128755532500064048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354829783,"filename":"image_12072025_23_12_14_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947270","file1":"1371947268","file0":"1371947267","file4":"1371947274","file5":"1371947277","file3":"1371947272"},"map_files_photo_id_array":[{"photo_id":"1371947277","filename":"file5"},{"photo_id":"1371947270","filename":"file2"},{"photo_id":"1371947274","filename":"file4"},{"photo_id":"1371947268","filename":"file1"},{"photo_id":"1371947267","filename":"file0"},{"photo_id":"1371947272","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947274":["hashtag1","hashtag2"]},{"1371947268":["hashtag1","hashtag2"]},{"1371947277":["hashtag1","hashtag2"]},{"1371947270":["hashtag1","hashtag2"]},{"1371947267":["hashtag1","hashtag2"]},{"1371947272":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947274, 1371947268, 1371947277, 1371947270, 1371947267, 1371947272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.141746044158936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:13:32.384425
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_43_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_34_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_13_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/23/12/image_12072025_23_13_04_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_43_9615.jpg', '/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_34_9611.jpg', '/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_24_10620.jpg', '/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_13_9630.jpg', '/home/nano/Desktop/images/12072025/23/12/image_12072025_23_13_04_9633.jpg', '/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_43_9615.jpg
/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_34_9611.jpg
/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_24_10620.jpg
/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_13_9630.jpg
/home/nano/Desktop/images/12072025/23/12/image_12072025_23_13_04_9633.jpg
/home/nano/Desktop/images/12072025/23/12/image_12072025_23_12_54_10637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947280","1371947285","1371947279","1371947287","1371947281","1371947284"],"photo_ids_order":["1371947279","1371947280","1371947281","1371947284","1371947285","1371947287"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/91487dd1b7345b0bf56a2e097ef9d356.jpg","text":"TemporaryFile(/tmp/multipartBody5999160102259354873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354874231,"filename":"image_12072025_23_13_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4583345610e0ec343d2699dd8772493f.jpg","text":"TemporaryFile(/tmp/multipartBody2611190155569401555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354874231,"filename":"image_12072025_23_13_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f351bfef349e8107c442a032b69a7d54.jpg","text":"TemporaryFile(/tmp/multipartBody6050449449737981804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354874231,"filename":"image_12072025_23_13_43_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a663699a36d0dd87550a0226d11cf0c5.jpg","text":"TemporaryFile(/tmp/multipartBody1876308001695317943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354874231,"filename":"image_12072025_23_12_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f160908347f696a156e83dd0eab6687.jpg","text":"TemporaryFile(/tmp/multipartBody1462010813356613655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354874231,"filename":"image_12072025_23_13_24_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bd0bda5a7e54835a13b847d11335072c.jpg","text":"TemporaryFile(/tmp/multipartBody8723354950370284713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354874231,"filename":"image_12072025_23_13_13_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947281","file1":"1371947280","file0":"1371947279","file4":"1371947285","file5":"1371947287","file3":"1371947284"},"map_files_photo_id_array":[{"photo_id":"1371947287","filename":"file5"},{"photo_id":"1371947281","filename":"file2"},{"photo_id":"1371947285","filename":"file4"},{"photo_id":"1371947280","filename":"file1"},{"photo_id":"1371947279","filename":"file0"},{"photo_id":"1371947284","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947280":["hashtag1","hashtag2"]},{"1371947285":["hashtag1","hashtag2"]},{"1371947279":["hashtag1","hashtag2"]},{"1371947287":["hashtag1","hashtag2"]},{"1371947281":["hashtag1","hashtag2"]},{"1371947284":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947280, 1371947285, 1371947279, 1371947287, 1371947281, 1371947284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.95214581489563 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:14:17.555136
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/14/image_12072025_23_14_33_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/14/image_12072025_23_14_14_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/23/13/image_12072025_23_14_04_9629.jpg', 2), ('/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_54_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/14/image_12072025_23_14_33_9618.jpg', '/home/nano/Desktop/images/12072025/23/14/image_12072025_23_14_14_10644.jpg', '/home/nano/Desktop/images/12072025/23/13/image_12072025_23_14_04_9629.jpg', '/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_54_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/14/image_12072025_23_14_33_9618.jpg
/home/nano/Desktop/images/12072025/23/14/image_12072025_23_14_14_10644.jpg
/home/nano/Desktop/images/12072025/23/13/image_12072025_23_14_04_9629.jpg
/home/nano/Desktop/images/12072025/23/13/image_12072025_23_13_54_10629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947297","1371947300","1371947299","1371947296"],"photo_ids_order":["1371947296","1371947297","1371947299","1371947300"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f27afd635d888aaee15080f994416e0c.jpg","text":"TemporaryFile(/tmp/multipartBody8203424291524357813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354918874,"filename":"image_12072025_23_14_14_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab8bbd17605a465e7c913269110af05d.jpg","text":"TemporaryFile(/tmp/multipartBody994928137278760156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354918874,"filename":"image_12072025_23_13_54_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ca9638eeee3e28c2efb95707baedccb.jpg","text":"TemporaryFile(/tmp/multipartBody7629398106660218435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354918874,"filename":"image_12072025_23_14_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53636008e065b7eb2b6f070432604128.jpg","text":"TemporaryFile(/tmp/multipartBody2278724867468161155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354918874,"filename":"image_12072025_23_14_33_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947299","file1":"1371947297","file0":"1371947296","file3":"1371947300"},"map_files_photo_id_array":[{"photo_id":"1371947299","filename":"file2"},{"photo_id":"1371947297","filename":"file1"},{"photo_id":"1371947296","filename":"file0"},{"photo_id":"1371947300","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947297":["hashtag1","hashtag2"]},{"1371947300":["hashtag1","hashtag2"]},{"1371947299":["hashtag1","hashtag2"]},{"1371947296":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947297, 1371947300, 1371947299, 1371947296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.991682291030884 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:14:47.552191
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_34_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_24_10623.jpg', 2), ('/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_13_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/14/56/image_10072025_14_57_04_9618.jpg', 2), ('/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_54_10611.jpg', 2), ('/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_43_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_34_9638.jpg', '/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_24_10623.jpg', '/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_13_9643.jpg', '/home/nano/Desktop/images/10072025/14/56/image_10072025_14_57_04_9618.jpg', '/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_54_10611.jpg', '/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_43_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_34_9638.jpg
/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_24_10623.jpg
/home/nano/Desktop/images/10072025/14/57/image_10072025_14_57_13_9643.jpg
/home/nano/Desktop/images/10072025/14/56/image_10072025_14_57_04_9618.jpg
/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_54_10611.jpg
/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_43_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947310","1371947313","1371947306","1371947305","1371947314","1371947308"],"photo_ids_order":["1371947305","1371947306","1371947308","1371947310","1371947313","1371947314"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1345d05c6f58c3a0a182098410a42da3.jpg","text":"TemporaryFile(/tmp/multipartBody5277064525074371511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354950885,"filename":"image_10072025_14_57_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3964acba6ce3f42979de6ab4df5313a7.jpg","text":"TemporaryFile(/tmp/multipartBody4682330681484278382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354950885,"filename":"image_10072025_14_56_54_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8eed91b4f19277f0d0b68184a2de4aad.jpg","text":"TemporaryFile(/tmp/multipartBody3407561140789454223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354950885,"filename":"image_10072025_14_57_24_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81b23a34eb7fd17560625f15e78c739d.jpg","text":"TemporaryFile(/tmp/multipartBody3176587974112244298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354950885,"filename":"image_10072025_14_57_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/005fdc4bc57705414f03219a470efbd6.jpg","text":"TemporaryFile(/tmp/multipartBody2795036990828706556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354950885,"filename":"image_10072025_14_56_43_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d042065d159e1a7276438e150bcb648a.jpg","text":"TemporaryFile(/tmp/multipartBody7528774483394811413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354950885,"filename":"image_10072025_14_57_13_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947308","file1":"1371947306","file0":"1371947305","file4":"1371947313","file5":"1371947314","file3":"1371947310"},"map_files_photo_id_array":[{"photo_id":"1371947314","filename":"file5"},{"photo_id":"1371947308","filename":"file2"},{"photo_id":"1371947313","filename":"file4"},{"photo_id":"1371947306","filename":"file1"},{"photo_id":"1371947305","filename":"file0"},{"photo_id":"1371947310","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947310":["hashtag1","hashtag2"]},{"1371947313":["hashtag1","hashtag2"]},{"1371947306":["hashtag1","hashtag2"]},{"1371947305":["hashtag1","hashtag2"]},{"1371947314":["hashtag1","hashtag2"]},{"1371947308":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947310, 1371947313, 1371947306, 1371947305, 1371947314, 1371947308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.335999727249146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:15:32.732579
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/15/image_12072025_23_15_44_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/23/15/image_12072025_23_15_14_10660.jpg', 2), ('/home/nano/Desktop/images/12072025/23/14/image_12072025_23_15_03_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/23/14/image_12072025_23_14_44_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/15/image_12072025_23_15_44_9627.jpg', '/home/nano/Desktop/images/12072025/23/15/image_12072025_23_15_14_10660.jpg', '/home/nano/Desktop/images/12072025/23/14/image_12072025_23_15_03_9616.jpg', '/home/nano/Desktop/images/12072025/23/14/image_12072025_23_14_44_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/15/image_12072025_23_15_44_9627.jpg
/home/nano/Desktop/images/12072025/23/15/image_12072025_23_15_14_10660.jpg
/home/nano/Desktop/images/12072025/23/14/image_12072025_23_15_03_9616.jpg
/home/nano/Desktop/images/12072025/23/14/image_12072025_23_14_44_10616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947322","1371947321","1371947324","1371947323"],"photo_ids_order":["1371947321","1371947322","1371947323","1371947324"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ffe6b91a7d6efb0c4f8e5b88defc59c4.jpg","text":"TemporaryFile(/tmp/multipartBody5500400225612875126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354994149,"filename":"image_12072025_23_15_14_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/65742f7e728c941aab647bd100515320.jpg","text":"TemporaryFile(/tmp/multipartBody3068110741183760170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354994149,"filename":"image_12072025_23_15_44_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/afc181c604206b6afb8b384761d79ce0.jpg","text":"TemporaryFile(/tmp/multipartBody9152615115801787579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354994149,"filename":"image_12072025_23_14_44_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/384907dbe86cadb19db2e33107553e5f.jpg","text":"TemporaryFile(/tmp/multipartBody9128598403940427470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752354994149,"filename":"image_12072025_23_15_03_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947323","file1":"1371947322","file0":"1371947321","file3":"1371947324"},"map_files_photo_id_array":[{"photo_id":"1371947323","filename":"file2"},{"photo_id":"1371947322","filename":"file1"},{"photo_id":"1371947321","filename":"file0"},{"photo_id":"1371947324","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947322":["hashtag1","hashtag2"]},{"1371947321":["hashtag1","hashtag2"]},{"1371947324":["hashtag1","hashtag2"]},{"1371947323":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947322, 1371947321, 1371947324, 1371947323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.52053999900818 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:16:02.343904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_34_10623.jpg', 2), ('/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_23_9645.jpg', 2), ('/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_14_9652.jpg', 2), ('/home/nano/Desktop/images/10072025/14/55/image_10072025_14_56_04_10661.jpg', 2), ('/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_53_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_44_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_34_10623.jpg', '/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_23_9645.jpg', '/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_14_9652.jpg', '/home/nano/Desktop/images/10072025/14/55/image_10072025_14_56_04_10661.jpg', '/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_53_9623.jpg', '/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_44_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_34_10623.jpg
/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_23_9645.jpg
/home/nano/Desktop/images/10072025/14/56/image_10072025_14_56_14_9652.jpg
/home/nano/Desktop/images/10072025/14/55/image_10072025_14_56_04_10661.jpg
/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_53_9623.jpg
/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_44_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947345","1371947342","1371947336","1371947350","1371947338","1371947347"],"photo_ids_order":["1371947336","1371947338","1371947342","1371947345","1371947347","1371947350"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ee60b77569ad6e88459112df9e61c531.jpg","text":"TemporaryFile(/tmp/multipartBody4128720228474193607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355025708,"filename":"image_10072025_14_56_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1a033f30f91d1dcfd2715d22244cfb4.jpg","text":"TemporaryFile(/tmp/multipartBody6870149780563539455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355025708,"filename":"image_10072025_14_56_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57e7a4ccbd592a1a7829300944235ea2.jpg","text":"TemporaryFile(/tmp/multipartBody1866318170784066688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355025708,"filename":"image_10072025_14_56_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10972c524b3721578c45bbda0fa96ff6.jpg","text":"TemporaryFile(/tmp/multipartBody1922150427360940637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355025708,"filename":"image_10072025_14_55_44_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/66039b22cb55844301b4c29c1b3766eb.jpg","text":"TemporaryFile(/tmp/multipartBody4427809684220672709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355025708,"filename":"image_10072025_14_56_23_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/550d4b49b39bd4fffc2fc093c7df6e3e.jpg","text":"TemporaryFile(/tmp/multipartBody2599791682992807348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355025708,"filename":"image_10072025_14_55_53_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947342","file1":"1371947338","file0":"1371947336","file4":"1371947347","file5":"1371947350","file3":"1371947345"},"map_files_photo_id_array":[{"photo_id":"1371947350","filename":"file5"},{"photo_id":"1371947342","filename":"file2"},{"photo_id":"1371947347","filename":"file4"},{"photo_id":"1371947338","filename":"file1"},{"photo_id":"1371947336","filename":"file0"},{"photo_id":"1371947345","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947345":["hashtag1","hashtag2"]},{"1371947342":["hashtag1","hashtag2"]},{"1371947336":["hashtag1","hashtag2"]},{"1371947350":["hashtag1","hashtag2"]},{"1371947338":["hashtag1","hashtag2"]},{"1371947347":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947345, 1371947342, 1371947336, 1371947350, 1371947338, 1371947347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11610126495361 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:16:46.801928
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_44_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_34_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_23_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/23/15/image_12072025_23_16_04_10634.jpg', 2), ('/home/nano/Desktop/images/12072025/23/15/image_12072025_23_15_53_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_44_9610.jpg', '/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_34_10625.jpg', '/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_23_9615.jpg', '/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_14_9631.jpg', '/home/nano/Desktop/images/12072025/23/15/image_12072025_23_16_04_10634.jpg', '/home/nano/Desktop/images/12072025/23/15/image_12072025_23_15_53_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_44_9610.jpg
/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_34_10625.jpg
/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_23_9615.jpg
/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_14_9631.jpg
/home/nano/Desktop/images/12072025/23/15/image_12072025_23_16_04_10634.jpg
/home/nano/Desktop/images/12072025/23/15/image_12072025_23_15_53_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947355","1371947357","1371947366","1371947369","1371947362","1371947359"],"photo_ids_order":["1371947355","1371947357","1371947359","1371947362","1371947366","1371947369"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e6f62703435c7d2f10896dd88e20bda0.jpg","text":"TemporaryFile(/tmp/multipartBody515799947234965270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355069115,"filename":"image_12072025_23_16_44_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b40de9463319d62aecc1bc3542a4226d.jpg","text":"TemporaryFile(/tmp/multipartBody3308697684942127705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355069115,"filename":"image_12072025_23_16_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/168eab73354f78071fbdf3064ae533e5.jpg","text":"TemporaryFile(/tmp/multipartBody1671261522393308365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355069115,"filename":"image_12072025_23_16_04_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ca81e12d7af06e04e0b7c632df7661c.jpg","text":"TemporaryFile(/tmp/multipartBody4952143051303212469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355069115,"filename":"image_12072025_23_15_53_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1463b1a2cb044a71930df6daad007464.jpg","text":"TemporaryFile(/tmp/multipartBody753140787431193330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355069115,"filename":"image_12072025_23_16_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f6920eac68e5302858887310b961c20b.jpg","text":"TemporaryFile(/tmp/multipartBody4323713579456547553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355069115,"filename":"image_12072025_23_16_23_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947359","file1":"1371947357","file0":"1371947355","file4":"1371947366","file5":"1371947369","file3":"1371947362"},"map_files_photo_id_array":[{"photo_id":"1371947369","filename":"file5"},{"photo_id":"1371947359","filename":"file2"},{"photo_id":"1371947366","filename":"file4"},{"photo_id":"1371947357","filename":"file1"},{"photo_id":"1371947355","filename":"file0"},{"photo_id":"1371947362","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947355":["hashtag1","hashtag2"]},{"1371947357":["hashtag1","hashtag2"]},{"1371947366":["hashtag1","hashtag2"]},{"1371947369":["hashtag1","hashtag2"]},{"1371947362":["hashtag1","hashtag2"]},{"1371947359":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947355, 1371947357, 1371947366, 1371947369, 1371947362, 1371947359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07442593574524 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:17:31.875214
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_43_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_34_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_24_10633.jpg', 2), ('/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_13_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/23/16/image_12072025_23_17_04_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_54_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_43_9611.jpg', '/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_34_9607.jpg', '/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_24_10633.jpg', '/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_13_9643.jpg', '/home/nano/Desktop/images/12072025/23/16/image_12072025_23_17_04_9643.jpg', '/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_54_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_43_9611.jpg
/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_34_9607.jpg
/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_24_10633.jpg
/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_13_9643.jpg
/home/nano/Desktop/images/12072025/23/16/image_12072025_23_17_04_9643.jpg
/home/nano/Desktop/images/12072025/23/16/image_12072025_23_16_54_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947379","1371947373","1371947376","1371947378","1371947372","1371947371"],"photo_ids_order":["1371947371","1371947372","1371947373","1371947376","1371947378","1371947379"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d3efbf925387f8254654debe02bf05b.jpg","text":"TemporaryFile(/tmp/multipartBody178764872534195570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355114055,"filename":"image_12072025_23_16_54_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e41cf7e7eead4e943b696aebe089fdf6.jpg","text":"TemporaryFile(/tmp/multipartBody5723160173291692401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355114055,"filename":"image_12072025_23_17_24_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e497dbfd44a7a9f9cbb5b87004031429.jpg","text":"TemporaryFile(/tmp/multipartBody788761908431533429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355114055,"filename":"image_12072025_23_17_13_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/167a9541e00904fa4641b59a30989531.jpg","text":"TemporaryFile(/tmp/multipartBody6141392759738023791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355114055,"filename":"image_12072025_23_17_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1809c95d9f9f607bbe56c13d1d8ec2ba.jpg","text":"TemporaryFile(/tmp/multipartBody7270307425669504723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355114055,"filename":"image_12072025_23_17_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/64629465abf2e6f3efb7fb684cd1da11.jpg","text":"TemporaryFile(/tmp/multipartBody5336237901959190291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355114055,"filename":"image_12072025_23_17_43_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947373","file1":"1371947372","file0":"1371947371","file4":"1371947378","file5":"1371947379","file3":"1371947376"},"map_files_photo_id_array":[{"photo_id":"1371947379","filename":"file5"},{"photo_id":"1371947373","filename":"file2"},{"photo_id":"1371947378","filename":"file4"},{"photo_id":"1371947372","filename":"file1"},{"photo_id":"1371947371","filename":"file0"},{"photo_id":"1371947376","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947379":["hashtag1","hashtag2"]},{"1371947373":["hashtag1","hashtag2"]},{"1371947376":["hashtag1","hashtag2"]},{"1371947378":["hashtag1","hashtag2"]},{"1371947372":["hashtag1","hashtag2"]},{"1371947371":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947379, 1371947373, 1371947376, 1371947378, 1371947372, 1371947371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41204118728638 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:18:16.982773
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_44_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_24_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/23/17/image_12072025_23_18_04_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_54_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_44_10627.jpg', '/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_33_9608.jpg', '/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_24_9610.jpg', '/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_14_10639.jpg', '/home/nano/Desktop/images/12072025/23/17/image_12072025_23_18_04_9614.jpg', '/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_54_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_44_10627.jpg
/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_33_9608.jpg
/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_24_9610.jpg
/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_14_10639.jpg
/home/nano/Desktop/images/12072025/23/17/image_12072025_23_18_04_9614.jpg
/home/nano/Desktop/images/12072025/23/17/image_12072025_23_17_54_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947394","1371947388","1371947393","1371947390","1371947387","1371947392"],"photo_ids_order":["1371947387","1371947388","1371947390","1371947392","1371947393","1371947394"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2ae970859ed77232b346b0fd5bd135e1.jpg","text":"TemporaryFile(/tmp/multipartBody8060892378320626797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355158737,"filename":"image_12072025_23_17_54_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fa845daa541c0eeda063617c37dabb96.jpg","text":"TemporaryFile(/tmp/multipartBody8829241024279119738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355158737,"filename":"image_12072025_23_18_33_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eda35cace8a5b356d2bf8f8b57ba6185.jpg","text":"TemporaryFile(/tmp/multipartBody6846482187963981039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355158737,"filename":"image_12072025_23_18_04_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb408ca1e968fc0e6105ed9b19e2d8c2.jpg","text":"TemporaryFile(/tmp/multipartBody6238614191774325922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355158737,"filename":"image_12072025_23_18_24_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c9820c7d032761c28e6b91cf5dddc3c8.jpg","text":"TemporaryFile(/tmp/multipartBody4342261581057656663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355158737,"filename":"image_12072025_23_18_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b7bd3af1631fb998fa55618ba73bfb0.jpg","text":"TemporaryFile(/tmp/multipartBody2851009752996543710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355158737,"filename":"image_12072025_23_18_14_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947390","file1":"1371947388","file0":"1371947387","file4":"1371947393","file5":"1371947394","file3":"1371947392"},"map_files_photo_id_array":[{"photo_id":"1371947394","filename":"file5"},{"photo_id":"1371947390","filename":"file2"},{"photo_id":"1371947393","filename":"file4"},{"photo_id":"1371947388","filename":"file1"},{"photo_id":"1371947387","filename":"file0"},{"photo_id":"1371947392","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947394":["hashtag1","hashtag2"]},{"1371947388":["hashtag1","hashtag2"]},{"1371947393":["hashtag1","hashtag2"]},{"1371947390":["hashtag1","hashtag2"]},{"1371947387":["hashtag1","hashtag2"]},{"1371947392":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947394, 1371947388, 1371947393, 1371947390, 1371947387, 1371947392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.622870683670044 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:19:03.073127
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_34_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_23_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_14_10641.jpg', 2), ('/home/nano/Desktop/images/10072025/14/54/image_10072025_14_55_03_9623.jpg', 2), ('/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_53_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_44_10621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_34_10654.jpg', '/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_23_9613.jpg', '/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_14_10641.jpg', '/home/nano/Desktop/images/10072025/14/54/image_10072025_14_55_03_9623.jpg', '/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_53_9625.jpg', '/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_44_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_34_10654.jpg
/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_23_9613.jpg
/home/nano/Desktop/images/10072025/14/55/image_10072025_14_55_14_10641.jpg
/home/nano/Desktop/images/10072025/14/54/image_10072025_14_55_03_9623.jpg
/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_53_9625.jpg
/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_44_10621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947409","1371947406","1371947411","1371947408","1371947404","1371947413"],"photo_ids_order":["1371947404","1371947406","1371947408","1371947409","1371947411","1371947413"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fe84b60b15917c1cc8d31c9e5d49d0e.jpg","text":"TemporaryFile(/tmp/multipartBody3730644971352555234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355206644,"filename":"image_10072025_14_55_03_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5060132fc557cfa52d7ae5313c8953a.jpg","text":"TemporaryFile(/tmp/multipartBody2417754919636348066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355206644,"filename":"image_10072025_14_55_23_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cf00fe46b9b472a3a1868ffd7d154453.jpg","text":"TemporaryFile(/tmp/multipartBody7786827564617759878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355206644,"filename":"image_10072025_14_54_53_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4129ed122ae6d402850c260a994664fe.jpg","text":"TemporaryFile(/tmp/multipartBody3342251085059905104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355206644,"filename":"image_10072025_14_55_14_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30373029eb9380e398fc3e12b86785ae.jpg","text":"TemporaryFile(/tmp/multipartBody6788954504068325694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355206644,"filename":"image_10072025_14_55_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ee4e3336814dbc86423036fe6dc2a86.jpg","text":"TemporaryFile(/tmp/multipartBody5541993925086957566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355206644,"filename":"image_10072025_14_54_44_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947408","file1":"1371947406","file0":"1371947404","file4":"1371947411","file5":"1371947413","file3":"1371947409"},"map_files_photo_id_array":[{"photo_id":"1371947413","filename":"file5"},{"photo_id":"1371947408","filename":"file2"},{"photo_id":"1371947411","filename":"file4"},{"photo_id":"1371947406","filename":"file1"},{"photo_id":"1371947404","filename":"file0"},{"photo_id":"1371947409","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947409":["hashtag1","hashtag2"]},{"1371947406":["hashtag1","hashtag2"]},{"1371947411":["hashtag1","hashtag2"]},{"1371947408":["hashtag1","hashtag2"]},{"1371947404":["hashtag1","hashtag2"]},{"1371947413":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947409, 1371947406, 1371947411, 1371947408, 1371947404, 1371947413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.786155223846436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:19:47.126122
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_44_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_34_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_24_9611.jpg', 2), ('/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_14_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/23/18/image_12072025_23_19_04_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_54_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_44_9608.jpg', '/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_34_10617.jpg', '/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_24_9611.jpg', '/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_14_9634.jpg', '/home/nano/Desktop/images/12072025/23/18/image_12072025_23_19_04_10628.jpg', '/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_54_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_44_9608.jpg
/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_34_10617.jpg
/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_24_9611.jpg
/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_14_9634.jpg
/home/nano/Desktop/images/12072025/23/18/image_12072025_23_19_04_10628.jpg
/home/nano/Desktop/images/12072025/23/18/image_12072025_23_18_54_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947433","1371947418","1371947426","1371947429","1371947420","1371947423"],"photo_ids_order":["1371947418","1371947420","1371947423","1371947426","1371947429","1371947433"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50488356799d65df5f58ddcc6716895a.jpg","text":"TemporaryFile(/tmp/multipartBody6585157768761400497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355249350,"filename":"image_12072025_23_18_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/77059b7a7409f0330ea9929a3ef375bf.jpg","text":"TemporaryFile(/tmp/multipartBody2279868665035948362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355249350,"filename":"image_12072025_23_19_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d41240ac5d223eca0e095526798bbff8.jpg","text":"TemporaryFile(/tmp/multipartBody7831366266712296809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355249350,"filename":"image_12072025_23_19_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0613852ff636f96190080bc1612816a4.jpg","text":"TemporaryFile(/tmp/multipartBody1129715203590911983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355249350,"filename":"image_12072025_23_19_04_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e8e69c3b3a0429d485f68eba90dcf46.jpg","text":"TemporaryFile(/tmp/multipartBody1996118474563226425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355249350,"filename":"image_12072025_23_19_34_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/256021d2c71de9efef8d99106ec83598.jpg","text":"TemporaryFile(/tmp/multipartBody6029527799869290515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355249350,"filename":"image_12072025_23_19_24_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947423","file1":"1371947420","file0":"1371947418","file4":"1371947429","file5":"1371947433","file3":"1371947426"},"map_files_photo_id_array":[{"photo_id":"1371947433","filename":"file5"},{"photo_id":"1371947423","filename":"file2"},{"photo_id":"1371947429","filename":"file4"},{"photo_id":"1371947420","filename":"file1"},{"photo_id":"1371947418","filename":"file0"},{"photo_id":"1371947426","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947433":["hashtag1","hashtag2"]},{"1371947418":["hashtag1","hashtag2"]},{"1371947426":["hashtag1","hashtag2"]},{"1371947429":["hashtag1","hashtag2"]},{"1371947420":["hashtag1","hashtag2"]},{"1371947423":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947433, 1371947418, 1371947426, 1371947429, 1371947420, 1371947423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.034719467163086 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:20:32.226219
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_44_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_34_9635.jpg', 2), ('/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_24_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_14_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_53_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_44_9623.jpg', '/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_34_9635.jpg', '/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_24_10637.jpg', '/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_14_9642.jpg', '/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_53_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_44_9623.jpg
/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_34_9635.jpg
/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_24_10637.jpg
/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_14_9642.jpg
/home/nano/Desktop/images/12072025/23/19/image_12072025_23_19_53_9610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947445","1371947439","1371947441","1371947440","1371947443"],"photo_ids_order":["1371947439","1371947440","1371947441","1371947443","1371947445"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a016778942803da858a0bad9a572ce99.jpg","text":"TemporaryFile(/tmp/multipartBody2514089689953406138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355294368,"filename":"image_12072025_23_19_53_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/113f09ef7fd30cd37cd3908db1c98b5f.jpg","text":"TemporaryFile(/tmp/multipartBody6893111395817949039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355294368,"filename":"image_12072025_23_20_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f12726926101405f0dd97e4a9ac3e9c7.jpg","text":"TemporaryFile(/tmp/multipartBody1129531866361208105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355294368,"filename":"image_12072025_23_20_24_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/af3f7331247745fc8c366c3e3e13c482.jpg","text":"TemporaryFile(/tmp/multipartBody616484941478056333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355294368,"filename":"image_12072025_23_20_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec078b5838efd72d0db104e2b899d058.jpg","text":"TemporaryFile(/tmp/multipartBody7371048095333161630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355294368,"filename":"image_12072025_23_20_14_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947441","file1":"1371947440","file0":"1371947439","file4":"1371947445","file3":"1371947443"},"map_files_photo_id_array":[{"photo_id":"1371947441","filename":"file2"},{"photo_id":"1371947445","filename":"file4"},{"photo_id":"1371947440","filename":"file1"},{"photo_id":"1371947439","filename":"file0"},{"photo_id":"1371947443","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947445":["hashtag1","hashtag2"]},{"1371947439":["hashtag1","hashtag2"]},{"1371947441":["hashtag1","hashtag2"]},{"1371947440":["hashtag1","hashtag2"]},{"1371947443":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947445, 1371947439, 1371947441, 1371947440, 1371947443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.891260862350464 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:21:02.816895
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_33_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_24_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_14_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/14/53/image_10072025_14_54_03_9657.jpg', 2), ('/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_54_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_44_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_33_9628.jpg', '/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_24_9620.jpg', '/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_14_10633.jpg', '/home/nano/Desktop/images/10072025/14/53/image_10072025_14_54_03_9657.jpg', '/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_54_9647.jpg', '/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_44_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_33_9628.jpg
/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_24_9620.jpg
/home/nano/Desktop/images/10072025/14/54/image_10072025_14_54_14_10633.jpg
/home/nano/Desktop/images/10072025/14/53/image_10072025_14_54_03_9657.jpg
/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_54_9647.jpg
/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_44_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947460","1371947454","1371947462","1371947461","1371947455","1371947458"],"photo_ids_order":["1371947454","1371947455","1371947458","1371947460","1371947461","1371947462"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/814da65ef214029ad035ee56a69de10c.jpg","text":"TemporaryFile(/tmp/multipartBody3254170472994903091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355326120,"filename":"image_10072025_14_54_03_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d7a2a06305881c87e2f7ed82a7fd1ccf.jpg","text":"TemporaryFile(/tmp/multipartBody5936923681550530909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355326120,"filename":"image_10072025_14_54_33_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe206d801a1931d9fb5dca8fc826559d.jpg","text":"TemporaryFile(/tmp/multipartBody2382444083445996669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355326120,"filename":"image_10072025_14_53_44_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1e4fccda6e34f4ee34e3f6268b320c5c.jpg","text":"TemporaryFile(/tmp/multipartBody683326471620775885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355326120,"filename":"image_10072025_14_53_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ffff08d5531ca0e7a6d92fdada0257b5.jpg","text":"TemporaryFile(/tmp/multipartBody6043545341843636070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355326120,"filename":"image_10072025_14_54_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/818dfe8343346647569e74e8ca637c4d.jpg","text":"TemporaryFile(/tmp/multipartBody1059075646983312673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355326120,"filename":"image_10072025_14_54_14_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947458","file1":"1371947455","file0":"1371947454","file4":"1371947461","file5":"1371947462","file3":"1371947460"},"map_files_photo_id_array":[{"photo_id":"1371947462","filename":"file5"},{"photo_id":"1371947458","filename":"file2"},{"photo_id":"1371947461","filename":"file4"},{"photo_id":"1371947455","filename":"file1"},{"photo_id":"1371947454","filename":"file0"},{"photo_id":"1371947460","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947460":["hashtag1","hashtag2"]},{"1371947454":["hashtag1","hashtag2"]},{"1371947462":["hashtag1","hashtag2"]},{"1371947461":["hashtag1","hashtag2"]},{"1371947455":["hashtag1","hashtag2"]},{"1371947458":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947460, 1371947454, 1371947462, 1371947461, 1371947455, 1371947458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.825989961624146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:21:47.329717
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_44_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_34_9618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_24_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_13_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/23/20/image_12072025_23_21_04_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_54_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_44_10624.jpg', '/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_34_9618.jpg', '/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_24_10619.jpg', '/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_13_9623.jpg', '/home/nano/Desktop/images/12072025/23/20/image_12072025_23_21_04_9612.jpg', '/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_54_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_44_10624.jpg
/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_34_9618.jpg
/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_24_10619.jpg
/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_13_9623.jpg
/home/nano/Desktop/images/12072025/23/20/image_12072025_23_21_04_9612.jpg
/home/nano/Desktop/images/12072025/23/20/image_12072025_23_20_54_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947478","1371947466","1371947469","1371947471","1371947473","1371947476"],"photo_ids_order":["1371947466","1371947469","1371947471","1371947473","1371947476","1371947478"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/252a3ff28bfd5aae5ec0cff75c0b7538.jpg","text":"TemporaryFile(/tmp/multipartBody1281717314736566752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355369289,"filename":"image_12072025_23_20_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0072376940e1207a9f3a5ad59becb18e.jpg","text":"TemporaryFile(/tmp/multipartBody7127720815999082735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355369289,"filename":"image_12072025_23_21_44_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8068347bbfc92495d21869b137a3b4d3.jpg","text":"TemporaryFile(/tmp/multipartBody1095287135229687541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355369289,"filename":"image_12072025_23_21_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b845858fb8626b95edde7e68c83aed2b.jpg","text":"TemporaryFile(/tmp/multipartBody2964654620966118152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355369289,"filename":"image_12072025_23_21_24_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/544c7ea3fe1d1f2e8323f2de4f72f96d.jpg","text":"TemporaryFile(/tmp/multipartBody349803801969965996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355369289,"filename":"image_12072025_23_21_13_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ef0fe43b96589a61515e39288670f41.jpg","text":"TemporaryFile(/tmp/multipartBody7153941756595746765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355369289,"filename":"image_12072025_23_21_04_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947471","file1":"1371947469","file0":"1371947466","file4":"1371947476","file5":"1371947478","file3":"1371947473"},"map_files_photo_id_array":[{"photo_id":"1371947478","filename":"file5"},{"photo_id":"1371947471","filename":"file2"},{"photo_id":"1371947476","filename":"file4"},{"photo_id":"1371947469","filename":"file1"},{"photo_id":"1371947466","filename":"file0"},{"photo_id":"1371947473","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947478":["hashtag1","hashtag2"]},{"1371947466":["hashtag1","hashtag2"]},{"1371947469":["hashtag1","hashtag2"]},{"1371947471":["hashtag1","hashtag2"]},{"1371947473":["hashtag1","hashtag2"]},{"1371947476":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947478, 1371947466, 1371947469, 1371947471, 1371947473, 1371947476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.502588987350464 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:22:32.447163
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_44_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_24_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_14_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_44_10623.jpg', '/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_33_9608.jpg', '/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_24_9606.jpg', '/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_14_10654.jpg', '/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_44_10623.jpg
/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_33_9608.jpg
/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_24_9606.jpg
/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_14_10654.jpg
/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_54_9607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8129332065582275 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:22:47.466503
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_44_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_24_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_14_10654.jpg', 2), ('/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_54_9607.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_44_10623.jpg', '/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_33_9608.jpg', '/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_24_9606.jpg', '/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_14_10654.jpg', '/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_44_10623.jpg
/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_33_9608.jpg
/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_24_9606.jpg
/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_14_10654.jpg
/home/nano/Desktop/images/12072025/23/21/image_12072025_23_21_54_9607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947490","1371947492","1371947495","1371947494","1371947488"],"photo_ids_order":["1371947488","1371947490","1371947492","1371947494","1371947495"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8f2c923d75b5c599a4c14db237a9489a.jpg","text":"TemporaryFile(/tmp/multipartBody376668077230088779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355429331,"filename":"image_12072025_23_22_33_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0173cc8628dd8b0311c4e6c65c1cea91.jpg","text":"TemporaryFile(/tmp/multipartBody2993118800244051954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355429331,"filename":"image_12072025_23_22_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6847fdc02f7c86009cba333e22b6fd29.jpg","text":"TemporaryFile(/tmp/multipartBody6034720342223021414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355429331,"filename":"image_12072025_23_21_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/53f7489d8cd4c99ec712c0733b1a441a.jpg","text":"TemporaryFile(/tmp/multipartBody3890399433069234717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355429331,"filename":"image_12072025_23_22_14_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/748d63ccf335abee9a022ea754eb1bae.jpg","text":"TemporaryFile(/tmp/multipartBody2452132507701306991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355429331,"filename":"image_12072025_23_22_44_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947492","file1":"1371947490","file0":"1371947488","file4":"1371947495","file3":"1371947494"},"map_files_photo_id_array":[{"photo_id":"1371947492","filename":"file2"},{"photo_id":"1371947495","filename":"file4"},{"photo_id":"1371947490","filename":"file1"},{"photo_id":"1371947488","filename":"file0"},{"photo_id":"1371947494","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947490":["hashtag1","hashtag2"]},{"1371947492":["hashtag1","hashtag2"]},{"1371947495":["hashtag1","hashtag2"]},{"1371947494":["hashtag1","hashtag2"]},{"1371947488":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947490, 1371947492, 1371947495, 1371947494, 1371947488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.133623600006104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:23:17.578057
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/23/image_12072025_23_23_34_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/23/23/image_12072025_23_23_23_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/23/22/image_12072025_23_23_04_10636.jpg', 2), ('/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/23/image_12072025_23_23_34_10627.jpg', '/home/nano/Desktop/images/12072025/23/23/image_12072025_23_23_23_9606.jpg', '/home/nano/Desktop/images/12072025/23/22/image_12072025_23_23_04_10636.jpg', '/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/23/image_12072025_23_23_34_10627.jpg
/home/nano/Desktop/images/12072025/23/23/image_12072025_23_23_23_9606.jpg
/home/nano/Desktop/images/12072025/23/22/image_12072025_23_23_04_10636.jpg
/home/nano/Desktop/images/12072025/23/22/image_12072025_23_22_54_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947500","1371947499","1371947498","1371947501"],"photo_ids_order":["1371947498","1371947499","1371947500","1371947501"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b39a987406aa878767652ccdc3d0907.jpg","text":"TemporaryFile(/tmp/multipartBody7825982827835170008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355458952,"filename":"image_12072025_23_23_04_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82d8a2949a9aeff44065e1f0e3edfb2d.jpg","text":"TemporaryFile(/tmp/multipartBody6304899541747062895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355458952,"filename":"image_12072025_23_23_23_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/20206db02a99838d8e1f291b06061bac.jpg","text":"TemporaryFile(/tmp/multipartBody4482499209719283514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355458952,"filename":"image_12072025_23_23_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d21f1db6d5a4c0715e9578cb6d858d1.jpg","text":"TemporaryFile(/tmp/multipartBody534919752694721536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355458952,"filename":"image_12072025_23_22_54_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947500","file1":"1371947499","file0":"1371947498","file3":"1371947501"},"map_files_photo_id_array":[{"photo_id":"1371947500","filename":"file2"},{"photo_id":"1371947499","filename":"file1"},{"photo_id":"1371947498","filename":"file0"},{"photo_id":"1371947501","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947500":["hashtag1","hashtag2"]},{"1371947499":["hashtag1","hashtag2"]},{"1371947498":["hashtag1","hashtag2"]},{"1371947501":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947500, 1371947499, 1371947498, 1371947501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.134005784988403 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:23:47.573813
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_33_9640.jpg', 2), ('/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_24_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_13_9640.jpg', 2), ('/home/nano/Desktop/images/10072025/14/52/image_10072025_14_53_03_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_54_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_43_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_33_9640.jpg', '/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_24_10633.jpg', '/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_13_9640.jpg', '/home/nano/Desktop/images/10072025/14/52/image_10072025_14_53_03_9616.jpg', '/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_54_10640.jpg', '/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_43_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_33_9640.jpg
/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_24_10633.jpg
/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_13_9640.jpg
/home/nano/Desktop/images/10072025/14/52/image_10072025_14_53_03_9616.jpg
/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_54_10640.jpg
/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_43_9605.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2844908237457275 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:24:03.306110
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_33_9640.jpg', 2), ('/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_24_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_13_9640.jpg', 2), ('/home/nano/Desktop/images/10072025/14/52/image_10072025_14_53_03_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_54_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_43_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_33_9640.jpg', '/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_24_10633.jpg', '/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_13_9640.jpg', '/home/nano/Desktop/images/10072025/14/52/image_10072025_14_53_03_9616.jpg', '/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_54_10640.jpg', '/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_43_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_33_9640.jpg
/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_24_10633.jpg
/home/nano/Desktop/images/10072025/14/53/image_10072025_14_53_13_9640.jpg
/home/nano/Desktop/images/10072025/14/52/image_10072025_14_53_03_9616.jpg
/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_54_10640.jpg
/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_43_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947526","1371947528","1371947522","1371947515","1371947524","1371947518"],"photo_ids_order":["1371947515","1371947518","1371947522","1371947524","1371947526","1371947528"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/775ee4c0742693b629b38b12deab0e6a.jpg","text":"TemporaryFile(/tmp/multipartBody7208089691424325353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355506412,"filename":"image_10072025_14_52_54_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d89d1b900232d25e7c523ef2c7db06b.jpg","text":"TemporaryFile(/tmp/multipartBody8014182076501142537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355506412,"filename":"image_10072025_14_52_43_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d74fa1a7194665b483c24ee0ae54095.jpg","text":"TemporaryFile(/tmp/multipartBody4511450101508766425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355506412,"filename":"image_10072025_14_53_13_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/df900b82a36fc78046d63000fd72c421.jpg","text":"TemporaryFile(/tmp/multipartBody4674867674962368367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355506412,"filename":"image_10072025_14_53_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ec5140f4f5785ad973e624a4ce9a2a2.jpg","text":"TemporaryFile(/tmp/multipartBody7179179868446160142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355506412,"filename":"image_10072025_14_53_03_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0cbb74e604fd54fbe327c8f615bb6435.jpg","text":"TemporaryFile(/tmp/multipartBody2087012726027148272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355506412,"filename":"image_10072025_14_53_24_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947522","file1":"1371947518","file0":"1371947515","file4":"1371947526","file5":"1371947528","file3":"1371947524"},"map_files_photo_id_array":[{"photo_id":"1371947528","filename":"file5"},{"photo_id":"1371947522","filename":"file2"},{"photo_id":"1371947526","filename":"file4"},{"photo_id":"1371947518","filename":"file1"},{"photo_id":"1371947515","filename":"file0"},{"photo_id":"1371947524","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947526":["hashtag1","hashtag2"]},{"1371947528":["hashtag1","hashtag2"]},{"1371947522":["hashtag1","hashtag2"]},{"1371947515":["hashtag1","hashtag2"]},{"1371947524":["hashtag1","hashtag2"]},{"1371947518":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947526, 1371947528, 1371947522, 1371947515, 1371947524, 1371947518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.126688718795776 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:24:47.670656
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_43_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_34_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_14_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/23/23/image_12072025_23_24_04_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/23/23/image_12072025_23_23_44_9610.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_43_9616.jpg', '/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_34_9608.jpg', '/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_24_10620.jpg', '/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_14_9628.jpg', '/home/nano/Desktop/images/12072025/23/23/image_12072025_23_24_04_10627.jpg', '/home/nano/Desktop/images/12072025/23/23/image_12072025_23_23_44_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_43_9616.jpg
/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_34_9608.jpg
/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_24_10620.jpg
/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_14_9628.jpg
/home/nano/Desktop/images/12072025/23/23/image_12072025_23_24_04_10627.jpg
/home/nano/Desktop/images/12072025/23/23/image_12072025_23_23_44_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947538","1371947540","1371947534","1371947533","1371947542","1371947536"],"photo_ids_order":["1371947533","1371947534","1371947536","1371947538","1371947540","1371947542"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5b87365019b538220e8d0e51f4027ecd.jpg","text":"TemporaryFile(/tmp/multipartBody138692323250228561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355549680,"filename":"image_12072025_23_24_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf429e070f6c735f3209252ae8692b67.jpg","text":"TemporaryFile(/tmp/multipartBody2417734160901150949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355549680,"filename":"image_12072025_23_24_04_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c88277b2cebd9db2be74bea96d7a053b.jpg","text":"TemporaryFile(/tmp/multipartBody7668502871452065729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355549680,"filename":"image_12072025_23_24_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c318f12247182413c0bef578e4a3117e.jpg","text":"TemporaryFile(/tmp/multipartBody7662534419139918253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355549680,"filename":"image_12072025_23_24_43_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ad6f0414ab236d0645e5f5af3d992d77.jpg","text":"TemporaryFile(/tmp/multipartBody5841085973420989952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355549680,"filename":"image_12072025_23_23_44_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a843ffee63f702d6b0c2f09a41cb36ca.jpg","text":"TemporaryFile(/tmp/multipartBody2396152120632561107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355549680,"filename":"image_12072025_23_24_24_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947536","file1":"1371947534","file0":"1371947533","file4":"1371947540","file5":"1371947542","file3":"1371947538"},"map_files_photo_id_array":[{"photo_id":"1371947542","filename":"file5"},{"photo_id":"1371947536","filename":"file2"},{"photo_id":"1371947540","filename":"file4"},{"photo_id":"1371947534","filename":"file1"},{"photo_id":"1371947533","filename":"file0"},{"photo_id":"1371947538","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947538":["hashtag1","hashtag2"]},{"1371947540":["hashtag1","hashtag2"]},{"1371947534":["hashtag1","hashtag2"]},{"1371947533":["hashtag1","hashtag2"]},{"1371947542":["hashtag1","hashtag2"]},{"1371947536":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947538, 1371947540, 1371947534, 1371947533, 1371947542, 1371947536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.50253653526306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:25:31.818558
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/25/image_12072025_23_25_44_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/23/25/image_12072025_23_25_34_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/23/25/image_12072025_23_25_13_9642.jpg', 2), ('/home/nano/Desktop/images/12072025/23/24/image_12072025_23_25_04_9633.jpg', 2), ('/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/25/image_12072025_23_25_44_10627.jpg', '/home/nano/Desktop/images/12072025/23/25/image_12072025_23_25_34_9615.jpg', '/home/nano/Desktop/images/12072025/23/25/image_12072025_23_25_13_9642.jpg', '/home/nano/Desktop/images/12072025/23/24/image_12072025_23_25_04_9633.jpg', '/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/25/image_12072025_23_25_44_10627.jpg
/home/nano/Desktop/images/12072025/23/25/image_12072025_23_25_34_9615.jpg
/home/nano/Desktop/images/12072025/23/25/image_12072025_23_25_13_9642.jpg
/home/nano/Desktop/images/12072025/23/24/image_12072025_23_25_04_9633.jpg
/home/nano/Desktop/images/12072025/23/24/image_12072025_23_24_54_10619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947553","1371947549","1371947546","1371947551","1371947548"],"photo_ids_order":["1371947546","1371947548","1371947549","1371947551","1371947553"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3240a89a90f23f42dfdca69553990d74.jpg","text":"TemporaryFile(/tmp/multipartBody4912655950479153116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355593499,"filename":"image_12072025_23_24_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/703d646943b2bc36628255f4515140b7.jpg","text":"TemporaryFile(/tmp/multipartBody2935130077984155947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355593499,"filename":"image_12072025_23_25_13_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0b69ee55c1577ed635b3f0cae86560b7.jpg","text":"TemporaryFile(/tmp/multipartBody6616172803532824626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355593499,"filename":"image_12072025_23_25_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c08f64f9bbe3b01b9758f63cddf2333.jpg","text":"TemporaryFile(/tmp/multipartBody725863264837842944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355593499,"filename":"image_12072025_23_25_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a77248570c8ea5a15f0b46f78878f56d.jpg","text":"TemporaryFile(/tmp/multipartBody4676000351358586009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355593499,"filename":"image_12072025_23_25_34_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947549","file1":"1371947548","file0":"1371947546","file4":"1371947553","file3":"1371947551"},"map_files_photo_id_array":[{"photo_id":"1371947549","filename":"file2"},{"photo_id":"1371947553","filename":"file4"},{"photo_id":"1371947548","filename":"file1"},{"photo_id":"1371947546","filename":"file0"},{"photo_id":"1371947551","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947553":["hashtag1","hashtag2"]},{"1371947549":["hashtag1","hashtag2"]},{"1371947546":["hashtag1","hashtag2"]},{"1371947551":["hashtag1","hashtag2"]},{"1371947548":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947553, 1371947549, 1371947546, 1371947551, 1371947548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.80177068710327 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:26:02.490669
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_34_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_24_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_13_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/14/51/image_10072025_14_52_04_10636.jpg', 2), ('/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_53_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_43_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_34_9615.jpg', '/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_24_10633.jpg', '/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_13_9643.jpg', '/home/nano/Desktop/images/10072025/14/51/image_10072025_14_52_04_10636.jpg', '/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_53_9613.jpg', '/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_43_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_34_9615.jpg
/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_24_10633.jpg
/home/nano/Desktop/images/10072025/14/52/image_10072025_14_52_13_9643.jpg
/home/nano/Desktop/images/10072025/14/51/image_10072025_14_52_04_10636.jpg
/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_53_9613.jpg
/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_43_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947556","1371947555","1371947558","1371947560","1371947554","1371947557"],"photo_ids_order":["1371947554","1371947555","1371947556","1371947557","1371947558","1371947560"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d8bb9a923f9cf9dd6ae7db2541951b1.jpg","text":"TemporaryFile(/tmp/multipartBody1456756104038034760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355625868,"filename":"image_10072025_14_52_13_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/84841e6da0582589bd3b1f722ce897b7.jpg","text":"TemporaryFile(/tmp/multipartBody43776554462540189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355625868,"filename":"image_10072025_14_52_24_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f3190a6d5c647928f12c5bfbe021021f.jpg","text":"TemporaryFile(/tmp/multipartBody7696260707646431196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355625868,"filename":"image_10072025_14_51_53_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/32279194f6cc8b195e7193e0adb53200.jpg","text":"TemporaryFile(/tmp/multipartBody7709190218850972660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355625868,"filename":"image_10072025_14_51_43_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/75990cf47bc418c0f727988632069b8e.jpg","text":"TemporaryFile(/tmp/multipartBody3043982018779490194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355625868,"filename":"image_10072025_14_52_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b9878de521336fe71bc52296fc75df4.jpg","text":"TemporaryFile(/tmp/multipartBody2797817808575163739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355625868,"filename":"image_10072025_14_52_04_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947556","file1":"1371947555","file0":"1371947554","file4":"1371947558","file5":"1371947560","file3":"1371947557"},"map_files_photo_id_array":[{"photo_id":"1371947560","filename":"file5"},{"photo_id":"1371947556","filename":"file2"},{"photo_id":"1371947558","filename":"file4"},{"photo_id":"1371947555","filename":"file1"},{"photo_id":"1371947554","filename":"file0"},{"photo_id":"1371947557","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947556":["hashtag1","hashtag2"]},{"1371947555":["hashtag1","hashtag2"]},{"1371947558":["hashtag1","hashtag2"]},{"1371947560":["hashtag1","hashtag2"]},{"1371947554":["hashtag1","hashtag2"]},{"1371947557":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947556, 1371947555, 1371947558, 1371947560, 1371947554, 1371947557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94634246826172 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:26:46.905096
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_44_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_34_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_24_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_14_10637.jpg', 2), ('/home/nano/Desktop/images/12072025/23/25/image_12072025_23_26_03_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/25/image_12072025_23_25_54_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_44_9606.jpg', '/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_34_10638.jpg', '/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_24_9614.jpg', '/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_14_10637.jpg', '/home/nano/Desktop/images/12072025/23/25/image_12072025_23_26_03_9620.jpg', '/home/nano/Desktop/images/12072025/23/25/image_12072025_23_25_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_44_9606.jpg
/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_34_10638.jpg
/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_24_9614.jpg
/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_14_10637.jpg
/home/nano/Desktop/images/12072025/23/25/image_12072025_23_26_03_9620.jpg
/home/nano/Desktop/images/12072025/23/25/image_12072025_23_25_54_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947571","1371947573","1371947567","1371947570","1371947572","1371947569"],"photo_ids_order":["1371947567","1371947569","1371947570","1371947571","1371947572","1371947573"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09ffd2b51045f86fca5ee53da98010f6.jpg","text":"TemporaryFile(/tmp/multipartBody3157451422637989753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355669052,"filename":"image_12072025_23_26_14_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/849c0b7cd555a373e2dcf207fdd0bc98.jpg","text":"TemporaryFile(/tmp/multipartBody7122003232373408741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355669052,"filename":"image_12072025_23_25_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9cd5c390806d7751087b7acf695d8083.jpg","text":"TemporaryFile(/tmp/multipartBody6203962336670565947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355669052,"filename":"image_12072025_23_26_44_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e97bfdfdc1eeb97529e50746df7c0767.jpg","text":"TemporaryFile(/tmp/multipartBody8736547021115847779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355669052,"filename":"image_12072025_23_26_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6730cbad21495b120d657b669577b8d7.jpg","text":"TemporaryFile(/tmp/multipartBody1699996638627578481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355669052,"filename":"image_12072025_23_26_03_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d40201f94b9e99c28e88c35ae8eee9e0.jpg","text":"TemporaryFile(/tmp/multipartBody8696930378484864734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355669052,"filename":"image_12072025_23_26_34_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947570","file1":"1371947569","file0":"1371947567","file4":"1371947572","file5":"1371947573","file3":"1371947571"},"map_files_photo_id_array":[{"photo_id":"1371947573","filename":"file5"},{"photo_id":"1371947570","filename":"file2"},{"photo_id":"1371947572","filename":"file4"},{"photo_id":"1371947569","filename":"file1"},{"photo_id":"1371947567","filename":"file0"},{"photo_id":"1371947571","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947571":["hashtag1","hashtag2"]},{"1371947573":["hashtag1","hashtag2"]},{"1371947567":["hashtag1","hashtag2"]},{"1371947570":["hashtag1","hashtag2"]},{"1371947572":["hashtag1","hashtag2"]},{"1371947569":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947571, 1371947573, 1371947567, 1371947570, 1371947572, 1371947569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00331497192383 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:27:32.001803
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/27/image_12072025_23_27_44_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/23/27/image_12072025_23_27_34_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/23/26/image_12072025_23_27_04_10652.jpg', 2), ('/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_54_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/27/image_12072025_23_27_44_9609.jpg', '/home/nano/Desktop/images/12072025/23/27/image_12072025_23_27_34_10617.jpg', '/home/nano/Desktop/images/12072025/23/26/image_12072025_23_27_04_10652.jpg', '/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/27/image_12072025_23_27_44_9609.jpg
/home/nano/Desktop/images/12072025/23/27/image_12072025_23_27_34_10617.jpg
/home/nano/Desktop/images/12072025/23/26/image_12072025_23_27_04_10652.jpg
/home/nano/Desktop/images/12072025/23/26/image_12072025_23_26_54_9616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947577","1371947576","1371947579","1371947575"],"photo_ids_order":["1371947575","1371947576","1371947577","1371947579"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c260cb84973585f1bd497b3a2b7f53ba.jpg","text":"TemporaryFile(/tmp/multipartBody8921581252543122219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355713628,"filename":"image_12072025_23_27_04_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f1263dcfdab648c1afc4185d8e1b684.jpg","text":"TemporaryFile(/tmp/multipartBody6237854149566187165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355713628,"filename":"image_12072025_23_27_34_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4fd6ba3d62a383515ee610856a87e253.jpg","text":"TemporaryFile(/tmp/multipartBody5516297474192874092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355713628,"filename":"image_12072025_23_26_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/57f87c42794770f17961048a4c4d0abc.jpg","text":"TemporaryFile(/tmp/multipartBody3410659225663370953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355713628,"filename":"image_12072025_23_27_44_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947577","file1":"1371947576","file0":"1371947575","file3":"1371947579"},"map_files_photo_id_array":[{"photo_id":"1371947577","filename":"file2"},{"photo_id":"1371947576","filename":"file1"},{"photo_id":"1371947575","filename":"file0"},{"photo_id":"1371947579","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947577":["hashtag1","hashtag2"]},{"1371947576":["hashtag1","hashtag2"]},{"1371947579":["hashtag1","hashtag2"]},{"1371947575":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947577, 1371947576, 1371947579, 1371947575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.798107862472534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:28:02.630291
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_34_10624.jpg', 2), ('/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_23_9612.jpg', 2), ('/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_14_9655.jpg', 2), ('/home/nano/Desktop/images/10072025/14/50/image_10072025_14_51_04_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_53_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_44_9601.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_34_10624.jpg', '/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_23_9612.jpg', '/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_14_9655.jpg', '/home/nano/Desktop/images/10072025/14/50/image_10072025_14_51_04_10645.jpg', '/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_53_9616.jpg', '/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_44_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_34_10624.jpg
/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_23_9612.jpg
/home/nano/Desktop/images/10072025/14/51/image_10072025_14_51_14_9655.jpg
/home/nano/Desktop/images/10072025/14/50/image_10072025_14_51_04_10645.jpg
/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_53_9616.jpg
/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_44_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947592","1371947588","1371947590","1371947584","1371947593","1371947587"],"photo_ids_order":["1371947584","1371947587","1371947588","1371947590","1371947592","1371947593"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b5b46d1a2ec0932732f66a26c68a62c6.jpg","text":"TemporaryFile(/tmp/multipartBody674565482699081618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355745971,"filename":"image_10072025_14_50_53_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/13c9611af53df252c0478068e1d4a4e0.jpg","text":"TemporaryFile(/tmp/multipartBody696841110789971785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355745971,"filename":"image_10072025_14_51_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/10f3b29789185bd7b1515ad369e38b47.jpg","text":"TemporaryFile(/tmp/multipartBody1337076326429445309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355745971,"filename":"image_10072025_14_51_04_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7337c5f0d1bfc744932ac72c29cf669b.jpg","text":"TemporaryFile(/tmp/multipartBody398869218588155813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355745971,"filename":"image_10072025_14_51_34_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0dca6127e9b51a76211d4488999f9a1e.jpg","text":"TemporaryFile(/tmp/multipartBody7851319654817147600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355745971,"filename":"image_10072025_14_50_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1d60044ad0d2a837bcbb88484bf0d6f.jpg","text":"TemporaryFile(/tmp/multipartBody5870557766629791850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355745971,"filename":"image_10072025_14_51_23_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947588","file1":"1371947587","file0":"1371947584","file4":"1371947592","file5":"1371947593","file3":"1371947590"},"map_files_photo_id_array":[{"photo_id":"1371947593","filename":"file5"},{"photo_id":"1371947588","filename":"file2"},{"photo_id":"1371947592","filename":"file4"},{"photo_id":"1371947587","filename":"file1"},{"photo_id":"1371947584","filename":"file0"},{"photo_id":"1371947590","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947592":["hashtag1","hashtag2"]},{"1371947588":["hashtag1","hashtag2"]},{"1371947590":["hashtag1","hashtag2"]},{"1371947584":["hashtag1","hashtag2"]},{"1371947593":["hashtag1","hashtag2"]},{"1371947587":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947592, 1371947588, 1371947590, 1371947584, 1371947593, 1371947587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7708535194397 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:28:47.115939
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_43_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_34_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_24_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/23/27/image_12072025_23_28_04_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/23/27/image_12072025_23_27_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_43_9609.jpg', '/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_34_9613.jpg', '/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_24_10639.jpg', '/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_14_9626.jpg', '/home/nano/Desktop/images/12072025/23/27/image_12072025_23_28_04_9639.jpg', '/home/nano/Desktop/images/12072025/23/27/image_12072025_23_27_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_43_9609.jpg
/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_34_9613.jpg
/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_24_10639.jpg
/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_14_9626.jpg
/home/nano/Desktop/images/12072025/23/27/image_12072025_23_28_04_9639.jpg
/home/nano/Desktop/images/12072025/23/27/image_12072025_23_27_54_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947608","1371947598","1371947601","1371947599","1371947603","1371947605"],"photo_ids_order":["1371947598","1371947599","1371947601","1371947603","1371947605","1371947608"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/372a926e2cfc7c644d3cab234c0331b2.jpg","text":"TemporaryFile(/tmp/multipartBody8173536962803473264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355789147,"filename":"image_12072025_23_27_54_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3540c75b9f8655c76580dde9b835b459.jpg","text":"TemporaryFile(/tmp/multipartBody817081300861117493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355789147,"filename":"image_12072025_23_28_43_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a5f22125aa3749a827d1206e27ada1ca.jpg","text":"TemporaryFile(/tmp/multipartBody755392447389765153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355789147,"filename":"image_12072025_23_28_24_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bf2dd17d6b9123401f907bf4c3dfc509.jpg","text":"TemporaryFile(/tmp/multipartBody6600616664630268654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355789147,"filename":"image_12072025_23_28_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/68a1ded39a495babf918789f5ac32a7d.jpg","text":"TemporaryFile(/tmp/multipartBody66866965522569539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355789147,"filename":"image_12072025_23_28_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/710ad81614a5bb2d256307fb95d438ce.jpg","text":"TemporaryFile(/tmp/multipartBody4391323520438903426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355789147,"filename":"image_12072025_23_28_04_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947601","file1":"1371947599","file0":"1371947598","file4":"1371947605","file5":"1371947608","file3":"1371947603"},"map_files_photo_id_array":[{"photo_id":"1371947608","filename":"file5"},{"photo_id":"1371947601","filename":"file2"},{"photo_id":"1371947605","filename":"file4"},{"photo_id":"1371947599","filename":"file1"},{"photo_id":"1371947598","filename":"file0"},{"photo_id":"1371947603","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947608":["hashtag1","hashtag2"]},{"1371947598":["hashtag1","hashtag2"]},{"1371947601":["hashtag1","hashtag2"]},{"1371947599":["hashtag1","hashtag2"]},{"1371947603":["hashtag1","hashtag2"]},{"1371947605":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947608, 1371947598, 1371947601, 1371947599, 1371947603, 1371947605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.508782625198364 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:29:32.223334
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/29/image_12072025_23_29_54_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/23/29/image_12072025_23_29_14_10639.jpg', 2), ('/home/nano/Desktop/images/12072025/23/28/image_12072025_23_29_04_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_54_10622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/29/image_12072025_23_29_54_9625.jpg', '/home/nano/Desktop/images/12072025/23/29/image_12072025_23_29_14_10639.jpg', '/home/nano/Desktop/images/12072025/23/28/image_12072025_23_29_04_9625.jpg', '/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_54_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/29/image_12072025_23_29_54_9625.jpg
/home/nano/Desktop/images/12072025/23/29/image_12072025_23_29_14_10639.jpg
/home/nano/Desktop/images/12072025/23/28/image_12072025_23_29_04_9625.jpg
/home/nano/Desktop/images/12072025/23/28/image_12072025_23_28_54_10622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947613","1371947612","1371947614","1371947617"],"photo_ids_order":["1371947612","1371947613","1371947614","1371947617"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6a047472613690b15892fd3550de4ea9.jpg","text":"TemporaryFile(/tmp/multipartBody5998294224272234391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355833548,"filename":"image_12072025_23_29_14_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a66c0da76a48553828e53d080e417fc.jpg","text":"TemporaryFile(/tmp/multipartBody223362284053295504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355833548,"filename":"image_12072025_23_29_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/51c5e45d776015dc03df466d37df8ad3.jpg","text":"TemporaryFile(/tmp/multipartBody7255772070919887283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355833548,"filename":"image_12072025_23_29_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8b83c080b5064e6326daffe01deea08b.jpg","text":"TemporaryFile(/tmp/multipartBody4098857956534033682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355833548,"filename":"image_12072025_23_28_54_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947614","file1":"1371947613","file0":"1371947612","file3":"1371947617"},"map_files_photo_id_array":[{"photo_id":"1371947614","filename":"file2"},{"photo_id":"1371947613","filename":"file1"},{"photo_id":"1371947612","filename":"file0"},{"photo_id":"1371947617","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947613":["hashtag1","hashtag2"]},{"1371947612":["hashtag1","hashtag2"]},{"1371947614":["hashtag1","hashtag2"]},{"1371947617":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947613, 1371947612, 1371947614, 1371947617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.554620504379272 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:30:02.820148
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_34_10625.jpg', 2), ('/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_23_9638.jpg', 2), ('/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_14_10664.jpg', 2), ('/home/nano/Desktop/images/10072025/14/49/image_10072025_14_50_03_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_53_9643.jpg', 2), ('/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_44_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_34_10625.jpg', '/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_23_9638.jpg', '/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_14_10664.jpg', '/home/nano/Desktop/images/10072025/14/49/image_10072025_14_50_03_9653.jpg', '/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_53_9643.jpg', '/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_44_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_34_10625.jpg
/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_23_9638.jpg
/home/nano/Desktop/images/10072025/14/50/image_10072025_14_50_14_10664.jpg
/home/nano/Desktop/images/10072025/14/49/image_10072025_14_50_03_9653.jpg
/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_53_9643.jpg
/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_44_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947631","1371947625","1371947628","1371947630","1371947629","1371947626"],"photo_ids_order":["1371947625","1371947626","1371947628","1371947629","1371947630","1371947631"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/096f922f72fbf3e55793f8a99c1d9b0a.jpg","text":"TemporaryFile(/tmp/multipartBody3936180987845766916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355866455,"filename":"image_10072025_14_49_44_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/987a14e064e2661df7dfbc7986bb2ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2998569284708610116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355866455,"filename":"image_10072025_14_50_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f18c4fcc98f612975c3997cc494359df.jpg","text":"TemporaryFile(/tmp/multipartBody8237344329788470521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355866455,"filename":"image_10072025_14_50_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/de5bab14ef8b3d57ac28a6e7c42ec3ba.jpg","text":"TemporaryFile(/tmp/multipartBody2961241970684629729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355866455,"filename":"image_10072025_14_49_53_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8a8d139a36af122a6c89ac1e1df353ab.jpg","text":"TemporaryFile(/tmp/multipartBody9190437971385398828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355866455,"filename":"image_10072025_14_50_03_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f638cbbc38b4ec82475dc4d575edeb3.jpg","text":"TemporaryFile(/tmp/multipartBody6113029339567674619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355866455,"filename":"image_10072025_14_50_23_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947628","file1":"1371947626","file0":"1371947625","file4":"1371947630","file5":"1371947631","file3":"1371947629"},"map_files_photo_id_array":[{"photo_id":"1371947631","filename":"file5"},{"photo_id":"1371947628","filename":"file2"},{"photo_id":"1371947630","filename":"file4"},{"photo_id":"1371947626","filename":"file1"},{"photo_id":"1371947625","filename":"file0"},{"photo_id":"1371947629","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947631":["hashtag1","hashtag2"]},{"1371947625":["hashtag1","hashtag2"]},{"1371947628":["hashtag1","hashtag2"]},{"1371947630":["hashtag1","hashtag2"]},{"1371947629":["hashtag1","hashtag2"]},{"1371947626":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947631, 1371947625, 1371947628, 1371947630, 1371947629, 1371947626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.968724727630615 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:30:47.360633
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/30/image_12072025_23_30_34_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/23/30/image_12072025_23_30_24_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/23/30/image_12072025_23_30_14_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/23/29/image_12072025_23_30_03_9621.jpg', 2), ('/home/nano/Desktop/images/12072025/23/29/image_12072025_23_29_24_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/30/image_12072025_23_30_34_10622.jpg', '/home/nano/Desktop/images/12072025/23/30/image_12072025_23_30_24_9608.jpg', '/home/nano/Desktop/images/12072025/23/30/image_12072025_23_30_14_10638.jpg', '/home/nano/Desktop/images/12072025/23/29/image_12072025_23_30_03_9621.jpg', '/home/nano/Desktop/images/12072025/23/29/image_12072025_23_29_24_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/30/image_12072025_23_30_34_10622.jpg
/home/nano/Desktop/images/12072025/23/30/image_12072025_23_30_24_9608.jpg
/home/nano/Desktop/images/12072025/23/30/image_12072025_23_30_14_10638.jpg
/home/nano/Desktop/images/12072025/23/29/image_12072025_23_30_03_9621.jpg
/home/nano/Desktop/images/12072025/23/29/image_12072025_23_29_24_9616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947640","1371947642","1371947647","1371947644","1371947638"],"photo_ids_order":["1371947638","1371947640","1371947642","1371947644","1371947647"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7fbfd2d5b8e1c86dbbc65e8640d5c2c0.jpg","text":"TemporaryFile(/tmp/multipartBody2815032673029671883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355909238,"filename":"image_12072025_23_30_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d59b41df4dab18b3fe553bb77bfa6f19.jpg","text":"TemporaryFile(/tmp/multipartBody597808519006984281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355909238,"filename":"image_12072025_23_30_14_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44d049513c6827e34f613a0ccfb841be.jpg","text":"TemporaryFile(/tmp/multipartBody4282642409781231483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355909238,"filename":"image_12072025_23_29_24_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/156faf4e7fcba78ce526915468d8c1c5.jpg","text":"TemporaryFile(/tmp/multipartBody7972491415302418174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355909238,"filename":"image_12072025_23_30_03_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fcae201eb19ed7f72b63141633504852.jpg","text":"TemporaryFile(/tmp/multipartBody3163624865766431993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355909238,"filename":"image_12072025_23_30_34_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947642","file1":"1371947640","file0":"1371947638","file4":"1371947647","file3":"1371947644"},"map_files_photo_id_array":[{"photo_id":"1371947642","filename":"file2"},{"photo_id":"1371947647","filename":"file4"},{"photo_id":"1371947640","filename":"file1"},{"photo_id":"1371947638","filename":"file0"},{"photo_id":"1371947644","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947640":["hashtag1","hashtag2"]},{"1371947642":["hashtag1","hashtag2"]},{"1371947647":["hashtag1","hashtag2"]},{"1371947644":["hashtag1","hashtag2"]},{"1371947638":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947640, 1371947642, 1371947647, 1371947644, 1371947638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.605539560317993 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:31:17.482337
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_44_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_34_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_23_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_14_9631.jpg', 2), ('/home/nano/Desktop/images/12072025/23/30/image_12072025_23_30_44_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_44_9612.jpg', '/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_34_10621.jpg', '/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_23_9606.jpg', '/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_14_9631.jpg', '/home/nano/Desktop/images/12072025/23/30/image_12072025_23_30_44_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_44_9612.jpg
/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_34_10621.jpg
/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_23_9606.jpg
/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_14_9631.jpg
/home/nano/Desktop/images/12072025/23/30/image_12072025_23_30_44_9630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947652","1371947655","1371947654","1371947653","1371947656"],"photo_ids_order":["1371947652","1371947653","1371947654","1371947655","1371947656"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2dd661167d67b284e19639766f70cc81.jpg","text":"TemporaryFile(/tmp/multipartBody8278540400932954101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355939034,"filename":"image_12072025_23_31_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f850a25e63976341d120b6d0c1af3118.jpg","text":"TemporaryFile(/tmp/multipartBody6661967378177133741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355939034,"filename":"image_12072025_23_31_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/89cd275fb6e32120bdfc2ec986eef75e.jpg","text":"TemporaryFile(/tmp/multipartBody7165242578806631032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355939034,"filename":"image_12072025_23_31_23_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e5cf9cf6e63ca56389cb3315ec4b1ff0.jpg","text":"TemporaryFile(/tmp/multipartBody5437911922173674385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355939034,"filename":"image_12072025_23_31_34_10621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7718c5f94e366dbdd22f1ab2e2c72a9e.jpg","text":"TemporaryFile(/tmp/multipartBody1046212615149368577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355939034,"filename":"image_12072025_23_30_44_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947654","file1":"1371947653","file0":"1371947652","file4":"1371947656","file3":"1371947655"},"map_files_photo_id_array":[{"photo_id":"1371947654","filename":"file2"},{"photo_id":"1371947656","filename":"file4"},{"photo_id":"1371947653","filename":"file1"},{"photo_id":"1371947652","filename":"file0"},{"photo_id":"1371947655","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947652":["hashtag1","hashtag2"]},{"1371947655":["hashtag1","hashtag2"]},{"1371947654":["hashtag1","hashtag2"]},{"1371947653":["hashtag1","hashtag2"]},{"1371947656":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947652, 1371947655, 1371947654, 1371947653, 1371947656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.39271116256714 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:31:47.439840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_33_9611.jpg', 2), ('/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_24_9622.jpg', 2), ('/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_14_10651.jpg', 2), ('/home/nano/Desktop/images/10072025/14/48/image_10072025_14_49_03_9636.jpg', 2), ('/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_54_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_44_10635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_33_9611.jpg', '/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_24_9622.jpg', '/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_14_10651.jpg', '/home/nano/Desktop/images/10072025/14/48/image_10072025_14_49_03_9636.jpg', '/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_54_9628.jpg', '/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_44_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_33_9611.jpg
/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_24_9622.jpg
/home/nano/Desktop/images/10072025/14/49/image_10072025_14_49_14_10651.jpg
/home/nano/Desktop/images/10072025/14/48/image_10072025_14_49_03_9636.jpg
/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_54_9628.jpg
/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_44_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947661","1371947664","1371947666","1371947663","1371947659","1371947668"],"photo_ids_order":["1371947659","1371947661","1371947663","1371947664","1371947666","1371947668"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a11886f4e2dc442a20293b4fe97e6c1.jpg","text":"TemporaryFile(/tmp/multipartBody2818997916005750998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355970862,"filename":"image_10072025_14_49_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0928aa74150ec2e341eed601d0e9a8d3.jpg","text":"TemporaryFile(/tmp/multipartBody1697812984138492924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355970862,"filename":"image_10072025_14_49_03_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ab2ce5b52805d28801188bde6dbd4cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6955560999707076244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355970862,"filename":"image_10072025_14_48_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/60f23c489f8b0b9839416e8c8c24e30f.jpg","text":"TemporaryFile(/tmp/multipartBody7860363866895927422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355970862,"filename":"image_10072025_14_49_14_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/07a7c31068f708da247759c2ef33dbfa.jpg","text":"TemporaryFile(/tmp/multipartBody6050006333552938716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355970862,"filename":"image_10072025_14_49_33_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/291b5603a8050033a5450db417bd36ed.jpg","text":"TemporaryFile(/tmp/multipartBody5194254834415361509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752355970862,"filename":"image_10072025_14_48_44_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947663","file1":"1371947661","file0":"1371947659","file4":"1371947666","file5":"1371947668","file3":"1371947664"},"map_files_photo_id_array":[{"photo_id":"1371947668","filename":"file5"},{"photo_id":"1371947663","filename":"file2"},{"photo_id":"1371947666","filename":"file4"},{"photo_id":"1371947661","filename":"file1"},{"photo_id":"1371947659","filename":"file0"},{"photo_id":"1371947664","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947661":["hashtag1","hashtag2"]},{"1371947664":["hashtag1","hashtag2"]},{"1371947666":["hashtag1","hashtag2"]},{"1371947663":["hashtag1","hashtag2"]},{"1371947659":["hashtag1","hashtag2"]},{"1371947668":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947661, 1371947664, 1371947666, 1371947663, 1371947659, 1371947668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04673433303833 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:32:32.547680
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_43_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_34_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_14_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/23/31/image_12072025_23_32_04_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_54_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_43_9612.jpg', '/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_34_9616.jpg', '/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_24_10620.jpg', '/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_14_9638.jpg', '/home/nano/Desktop/images/12072025/23/31/image_12072025_23_32_04_9609.jpg', '/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_54_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_43_9612.jpg
/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_34_9616.jpg
/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_24_10620.jpg
/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_14_9638.jpg
/home/nano/Desktop/images/12072025/23/31/image_12072025_23_32_04_9609.jpg
/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_54_10625.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6837139129638672 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:32:47.549281
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_43_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_34_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_24_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_14_9638.jpg', 2), ('/home/nano/Desktop/images/12072025/23/31/image_12072025_23_32_04_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_54_10625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_43_9612.jpg', '/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_34_9616.jpg', '/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_24_10620.jpg', '/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_14_9638.jpg', '/home/nano/Desktop/images/12072025/23/31/image_12072025_23_32_04_9609.jpg', '/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_54_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_43_9612.jpg
/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_34_9616.jpg
/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_24_10620.jpg
/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_14_9638.jpg
/home/nano/Desktop/images/12072025/23/31/image_12072025_23_32_04_9609.jpg
/home/nano/Desktop/images/12072025/23/31/image_12072025_23_31_54_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947697","1371947685","1371947681","1371947695","1371947692","1371947688"],"photo_ids_order":["1371947681","1371947685","1371947688","1371947692","1371947695","1371947697"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/861949bd02b0c943741d01ac748f4435.jpg","text":"TemporaryFile(/tmp/multipartBody6086067984976615561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356029376,"filename":"image_12072025_23_31_54_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8bb2fa53a0ea6161a40f2fa254fd7771.jpg","text":"TemporaryFile(/tmp/multipartBody974232686791215535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356029376,"filename":"image_12072025_23_32_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f9bbec1cd43b222818e2d1d15b6e7fe8.jpg","text":"TemporaryFile(/tmp/multipartBody5675880964461151494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356029376,"filename":"image_12072025_23_32_43_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a39049c8ff2c1a74eea5d76b7aa201c4.jpg","text":"TemporaryFile(/tmp/multipartBody3836656996538432709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356029376,"filename":"image_12072025_23_32_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/621ce039a6c4237b886da34591bbab87.jpg","text":"TemporaryFile(/tmp/multipartBody4237922287389166884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356029376,"filename":"image_12072025_23_32_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a3ac9f43444f465ef59e6e276ed5c373.jpg","text":"TemporaryFile(/tmp/multipartBody3819367674391905860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356029376,"filename":"image_12072025_23_32_24_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947688","file1":"1371947685","file0":"1371947681","file4":"1371947695","file5":"1371947697","file3":"1371947692"},"map_files_photo_id_array":[{"photo_id":"1371947697","filename":"file5"},{"photo_id":"1371947688","filename":"file2"},{"photo_id":"1371947695","filename":"file4"},{"photo_id":"1371947685","filename":"file1"},{"photo_id":"1371947681","filename":"file0"},{"photo_id":"1371947692","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947697":["hashtag1","hashtag2"]},{"1371947685":["hashtag1","hashtag2"]},{"1371947681":["hashtag1","hashtag2"]},{"1371947695":["hashtag1","hashtag2"]},{"1371947692":["hashtag1","hashtag2"]},{"1371947688":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947697, 1371947685, 1371947681, 1371947695, 1371947692, 1371947688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.787386655807495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:33:32.623617
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/33/image_12072025_23_33_33_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/23/33/image_12072025_23_33_24_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/33/image_12072025_23_33_33_9615.jpg', '/home/nano/Desktop/images/12072025/23/33/image_12072025_23_33_24_9612.jpg', '/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/33/image_12072025_23_33_33_9615.jpg
/home/nano/Desktop/images/12072025/23/33/image_12072025_23_33_24_9612.jpg
/home/nano/Desktop/images/12072025/23/32/image_12072025_23_32_54_10619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947712","1371947711","1371947714"],"photo_ids_order":["1371947711","1371947712","1371947714"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/eec063ed42bb211bfad75363e4fe9886.jpg","text":"TemporaryFile(/tmp/multipartBody7475754236564587664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356073963,"filename":"image_12072025_23_33_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/205944d87ede6f69964a7005455cb5a3.jpg","text":"TemporaryFile(/tmp/multipartBody4525090742383169677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356073963,"filename":"image_12072025_23_33_33_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f74b0ce0cf76cf63169ab16881004fdc.jpg","text":"TemporaryFile(/tmp/multipartBody6986916941677878591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356073963,"filename":"image_12072025_23_32_54_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947714","file1":"1371947712","file0":"1371947711"},"map_files_photo_id_array":[{"photo_id":"1371947714","filename":"file2"},{"photo_id":"1371947712","filename":"file1"},{"photo_id":"1371947711","filename":"file0"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947712":["hashtag1","hashtag2"]},{"1371947711":["hashtag1","hashtag2"]},{"1371947714":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947712, 1371947711, 1371947714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.960286140441895 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:34:03.542487
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_33_9628.jpg', 2), ('/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_24_10639.jpg', 2), ('/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_13_9618.jpg', 2), ('/home/nano/Desktop/images/10072025/14/47/image_10072025_14_48_04_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_54_10623.jpg', 2), ('/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_43_9592.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_33_9628.jpg', '/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_24_10639.jpg', '/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_13_9618.jpg', '/home/nano/Desktop/images/10072025/14/47/image_10072025_14_48_04_9632.jpg', '/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_54_10623.jpg', '/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_43_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_33_9628.jpg
/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_24_10639.jpg
/home/nano/Desktop/images/10072025/14/48/image_10072025_14_48_13_9618.jpg
/home/nano/Desktop/images/10072025/14/47/image_10072025_14_48_04_9632.jpg
/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_54_10623.jpg
/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_43_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947727","1371947723","1371947726","1371947728","1371947722","1371947725"],"photo_ids_order":["1371947722","1371947723","1371947725","1371947726","1371947727","1371947728"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbeff216ceb913b61349b4eacaf5b344.jpg","text":"TemporaryFile(/tmp/multipartBody8561884723549985359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356106863,"filename":"image_10072025_14_47_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4a694b1f1092dbf1173464734bcf9cc.jpg","text":"TemporaryFile(/tmp/multipartBody3491863335067186175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356106863,"filename":"image_10072025_14_48_24_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a64baed1d6c638ff0958460de757f072.jpg","text":"TemporaryFile(/tmp/multipartBody5435213595005097359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356106863,"filename":"image_10072025_14_48_04_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2569bfce351f5c7b87dd979820de32fb.jpg","text":"TemporaryFile(/tmp/multipartBody6619705628641242765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356106863,"filename":"image_10072025_14_47_43_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ee32d57518039fdbd4c65f92acc9415.jpg","text":"TemporaryFile(/tmp/multipartBody5633880329116726722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356106863,"filename":"image_10072025_14_48_33_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/778f5789e8a405dd02b7444776dd63e3.jpg","text":"TemporaryFile(/tmp/multipartBody1616375394758601585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356106863,"filename":"image_10072025_14_48_13_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947725","file1":"1371947723","file0":"1371947722","file4":"1371947727","file5":"1371947728","file3":"1371947726"},"map_files_photo_id_array":[{"photo_id":"1371947728","filename":"file5"},{"photo_id":"1371947725","filename":"file2"},{"photo_id":"1371947727","filename":"file4"},{"photo_id":"1371947723","filename":"file1"},{"photo_id":"1371947722","filename":"file0"},{"photo_id":"1371947726","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947727":["hashtag1","hashtag2"]},{"1371947723":["hashtag1","hashtag2"]},{"1371947726":["hashtag1","hashtag2"]},{"1371947728":["hashtag1","hashtag2"]},{"1371947722":["hashtag1","hashtag2"]},{"1371947725":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947727, 1371947723, 1371947726, 1371947728, 1371947722, 1371947725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.916067361831665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:34:47.729703
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_24_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_14_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/23/33/image_12072025_23_34_03_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/23/33/image_12072025_23_33_54_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_44_9616.jpg', '/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_34_10620.jpg', '/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_24_9619.jpg', '/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_14_10644.jpg', '/home/nano/Desktop/images/12072025/23/33/image_12072025_23_34_03_9614.jpg', '/home/nano/Desktop/images/12072025/23/33/image_12072025_23_33_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_44_9616.jpg
/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_34_10620.jpg
/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_24_9619.jpg
/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_14_10644.jpg
/home/nano/Desktop/images/12072025/23/33/image_12072025_23_34_03_9614.jpg
/home/nano/Desktop/images/12072025/23/33/image_12072025_23_33_54_9617.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5371038913726807 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:35:02.392886
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_34_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_24_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_14_10644.jpg', 2), ('/home/nano/Desktop/images/12072025/23/33/image_12072025_23_34_03_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/23/33/image_12072025_23_33_54_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_44_9616.jpg', '/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_34_10620.jpg', '/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_24_9619.jpg', '/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_14_10644.jpg', '/home/nano/Desktop/images/12072025/23/33/image_12072025_23_34_03_9614.jpg', '/home/nano/Desktop/images/12072025/23/33/image_12072025_23_33_54_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_44_9616.jpg
/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_34_10620.jpg
/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_24_9619.jpg
/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_14_10644.jpg
/home/nano/Desktop/images/12072025/23/33/image_12072025_23_34_03_9614.jpg
/home/nano/Desktop/images/12072025/23/33/image_12072025_23_33_54_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947745","1371947739","1371947748","1371947747","1371947746","1371947743"],"photo_ids_order":["1371947739","1371947743","1371947745","1371947746","1371947747","1371947748"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c805af299e41925dac0ddc54667f427b.jpg","text":"TemporaryFile(/tmp/multipartBody4737919935329137564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356163633,"filename":"image_12072025_23_34_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b7a6d503f29d26ae430daa81d00bc424.jpg","text":"TemporaryFile(/tmp/multipartBody8636411912074896950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356163633,"filename":"image_12072025_23_34_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/40e46f71d9f92b4bec7026d066d55d19.jpg","text":"TemporaryFile(/tmp/multipartBody5326324167458852744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356163633,"filename":"image_12072025_23_33_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0dfba3c3ba52157818cb7e60dcfd231a.jpg","text":"TemporaryFile(/tmp/multipartBody4261762094200892717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356163633,"filename":"image_12072025_23_34_03_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0e078a4495756d874d200de005794ce0.jpg","text":"TemporaryFile(/tmp/multipartBody7462668311409941600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356163633,"filename":"image_12072025_23_34_14_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6f043b4a288cbb407ac0e2dd0d218fd6.jpg","text":"TemporaryFile(/tmp/multipartBody3669456540189805232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356163633,"filename":"image_12072025_23_34_34_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947745","file1":"1371947743","file0":"1371947739","file4":"1371947747","file5":"1371947748","file3":"1371947746"},"map_files_photo_id_array":[{"photo_id":"1371947748","filename":"file5"},{"photo_id":"1371947745","filename":"file2"},{"photo_id":"1371947747","filename":"file4"},{"photo_id":"1371947743","filename":"file1"},{"photo_id":"1371947739","filename":"file0"},{"photo_id":"1371947746","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947745":["hashtag1","hashtag2"]},{"1371947739":["hashtag1","hashtag2"]},{"1371947748":["hashtag1","hashtag2"]},{"1371947747":["hashtag1","hashtag2"]},{"1371947746":["hashtag1","hashtag2"]},{"1371947743":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947745, 1371947739, 1371947748, 1371947747, 1371947746, 1371947743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25268483161926 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:35:46.840131
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_44_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_23_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_14_9643.jpg', 2), ('/home/nano/Desktop/images/12072025/23/34/image_12072025_23_35_04_10645.jpg', 2), ('/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_53_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_44_9617.jpg', '/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_34_10618.jpg', '/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_23_9620.jpg', '/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_14_9643.jpg', '/home/nano/Desktop/images/12072025/23/34/image_12072025_23_35_04_10645.jpg', '/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_53_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_44_9617.jpg
/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_34_10618.jpg
/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_23_9620.jpg
/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_14_9643.jpg
/home/nano/Desktop/images/12072025/23/34/image_12072025_23_35_04_10645.jpg
/home/nano/Desktop/images/12072025/23/34/image_12072025_23_34_53_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947754","1371947763","1371947751","1371947758","1371947761","1371947755"],"photo_ids_order":["1371947751","1371947754","1371947755","1371947758","1371947761","1371947763"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c093798f5fdc72572aec5beb1c3db57e.jpg","text":"TemporaryFile(/tmp/multipartBody1288103572497529485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356208811,"filename":"image_12072025_23_35_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/469ec2a741bee8d6cad31e0789852967.jpg","text":"TemporaryFile(/tmp/multipartBody327116674848239446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356208811,"filename":"image_12072025_23_34_53_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/78c26109716dce16f917846eb3b20a22.jpg","text":"TemporaryFile(/tmp/multipartBody2425717975070600978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356208811,"filename":"image_12072025_23_35_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f28dac954adabb14bc3a23acee6c423a.jpg","text":"TemporaryFile(/tmp/multipartBody2277949023573807725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356208811,"filename":"image_12072025_23_35_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/531d1b0f98e3f054db5e66fb1af0e521.jpg","text":"TemporaryFile(/tmp/multipartBody8019319760514893259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356208811,"filename":"image_12072025_23_35_04_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/022ae4d4c1a67dcf0c9ccfee42560323.jpg","text":"TemporaryFile(/tmp/multipartBody4569078712932711757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356208811,"filename":"image_12072025_23_35_23_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947755","file1":"1371947754","file0":"1371947751","file4":"1371947761","file5":"1371947763","file3":"1371947758"},"map_files_photo_id_array":[{"photo_id":"1371947763","filename":"file5"},{"photo_id":"1371947755","filename":"file2"},{"photo_id":"1371947761","filename":"file4"},{"photo_id":"1371947754","filename":"file1"},{"photo_id":"1371947751","filename":"file0"},{"photo_id":"1371947758","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947754":["hashtag1","hashtag2"]},{"1371947763":["hashtag1","hashtag2"]},{"1371947751":["hashtag1","hashtag2"]},{"1371947758":["hashtag1","hashtag2"]},{"1371947761":["hashtag1","hashtag2"]},{"1371947755":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947754, 1371947763, 1371947751, 1371947758, 1371947761, 1371947755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.355343341827393 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:36:31.944417
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_43_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_34_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_24_10628.jpg', 2), ('/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_13_9627.jpg', 2), ('/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_54_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_43_9608.jpg', '/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_34_9613.jpg', '/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_24_10628.jpg', '/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_13_9627.jpg', '/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_54_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_43_9608.jpg
/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_34_9613.jpg
/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_24_10628.jpg
/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_13_9627.jpg
/home/nano/Desktop/images/12072025/23/35/image_12072025_23_35_54_10628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947775","1371947769","1371947771","1371947773","1371947767"],"photo_ids_order":["1371947767","1371947769","1371947771","1371947773","1371947775"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/67314c1fc468d0136ad3e8bb494d1dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7937125042428297696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356253584,"filename":"image_12072025_23_35_54_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09f2cbaecb19f2f88482c118b5f05053.jpg","text":"TemporaryFile(/tmp/multipartBody214656428895793428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356253584,"filename":"image_12072025_23_36_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a11ff319a6cb253d9486071d22c7a0df.jpg","text":"TemporaryFile(/tmp/multipartBody2220219835903631694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356253584,"filename":"image_12072025_23_36_24_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d0571fb7ad88ad9678711f3345bebab.jpg","text":"TemporaryFile(/tmp/multipartBody188067701341878555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356253584,"filename":"image_12072025_23_36_13_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bcfd393bc3853d1252492545e3f50bad.jpg","text":"TemporaryFile(/tmp/multipartBody6839455868854187293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356253584,"filename":"image_12072025_23_36_43_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947771","file1":"1371947769","file0":"1371947767","file4":"1371947775","file3":"1371947773"},"map_files_photo_id_array":[{"photo_id":"1371947771","filename":"file2"},{"photo_id":"1371947775","filename":"file4"},{"photo_id":"1371947769","filename":"file1"},{"photo_id":"1371947767","filename":"file0"},{"photo_id":"1371947773","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947775":["hashtag1","hashtag2"]},{"1371947769":["hashtag1","hashtag2"]},{"1371947771":["hashtag1","hashtag2"]},{"1371947773":["hashtag1","hashtag2"]},{"1371947767":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947775, 1371947769, 1371947771, 1371947773, 1371947767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.276687383651733 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:37:02.857111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_34_9612.jpg', 2), ('/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_24_10626.jpg', 2), ('/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_13_9630.jpg', 2), ('/home/nano/Desktop/images/10072025/14/46/image_10072025_14_47_04_10634.jpg', 2), ('/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_53_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_44_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_34_9612.jpg', '/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_24_10626.jpg', '/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_13_9630.jpg', '/home/nano/Desktop/images/10072025/14/46/image_10072025_14_47_04_10634.jpg', '/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_53_9615.jpg', '/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_44_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_34_9612.jpg
/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_24_10626.jpg
/home/nano/Desktop/images/10072025/14/47/image_10072025_14_47_13_9630.jpg
/home/nano/Desktop/images/10072025/14/46/image_10072025_14_47_04_10634.jpg
/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_53_9615.jpg
/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_44_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947784","1371947792","1371947786","1371947791","1371947788","1371947790"],"photo_ids_order":["1371947784","1371947786","1371947788","1371947790","1371947791","1371947792"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/02731889e15af890646d705b7a87b711.jpg","text":"TemporaryFile(/tmp/multipartBody7125195918490392272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356286053,"filename":"image_10072025_14_47_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f39dcc31cd2fb490bb52299bd42264d8.jpg","text":"TemporaryFile(/tmp/multipartBody1287293454340681820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356286053,"filename":"image_10072025_14_46_44_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/85e61ed7601f971a56a374e9ea266228.jpg","text":"TemporaryFile(/tmp/multipartBody5425326100978388442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356286053,"filename":"image_10072025_14_47_24_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/44a15f1e2e3f62b986b0d78c672f43ec.jpg","text":"TemporaryFile(/tmp/multipartBody8727237619039170627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356286053,"filename":"image_10072025_14_46_53_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0c5b01ee4702c93bafb887f75d8c6495.jpg","text":"TemporaryFile(/tmp/multipartBody3077920603842209767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356286053,"filename":"image_10072025_14_47_13_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f7b8dada81b2ff650245576bf1405e5c.jpg","text":"TemporaryFile(/tmp/multipartBody4574170148909457740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356286053,"filename":"image_10072025_14_47_04_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947788","file1":"1371947786","file0":"1371947784","file4":"1371947791","file5":"1371947792","file3":"1371947790"},"map_files_photo_id_array":[{"photo_id":"1371947792","filename":"file5"},{"photo_id":"1371947788","filename":"file2"},{"photo_id":"1371947791","filename":"file4"},{"photo_id":"1371947786","filename":"file1"},{"photo_id":"1371947784","filename":"file0"},{"photo_id":"1371947790","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947784":["hashtag1","hashtag2"]},{"1371947792":["hashtag1","hashtag2"]},{"1371947786":["hashtag1","hashtag2"]},{"1371947791":["hashtag1","hashtag2"]},{"1371947788":["hashtag1","hashtag2"]},{"1371947790":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947784, 1371947792, 1371947786, 1371947791, 1371947788, 1371947790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.807934761047363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:37:47.111985
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_44_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_33_9619.jpg', 2), ('/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_24_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_14_10641.jpg', 2), ('/home/nano/Desktop/images/12072025/23/36/image_12072025_23_37_04_9645.jpg', 2), ('/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_54_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_44_10616.jpg', '/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_33_9619.jpg', '/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_24_9612.jpg', '/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_14_10641.jpg', '/home/nano/Desktop/images/12072025/23/36/image_12072025_23_37_04_9645.jpg', '/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_44_10616.jpg
/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_33_9619.jpg
/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_24_9612.jpg
/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_14_10641.jpg
/home/nano/Desktop/images/12072025/23/36/image_12072025_23_37_04_9645.jpg
/home/nano/Desktop/images/12072025/23/36/image_12072025_23_36_54_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947795","1371947801","1371947804","1371947807","1371947797","1371947799"],"photo_ids_order":["1371947795","1371947797","1371947799","1371947801","1371947804","1371947807"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e064f3dcc422c6db0a5783ed1d301bec.jpg","text":"TemporaryFile(/tmp/multipartBody2644303343891658330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356329024,"filename":"image_12072025_23_37_44_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5d7dacdc9f83540e666d5917612674a5.jpg","text":"TemporaryFile(/tmp/multipartBody2443690393998408343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356329024,"filename":"image_12072025_23_37_14_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/16807cef4becd370322241bea634e4d1.jpg","text":"TemporaryFile(/tmp/multipartBody5950442838590778269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356329024,"filename":"image_12072025_23_37_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/26e1c932fc0f7ad1ff69573d8549dee0.jpg","text":"TemporaryFile(/tmp/multipartBody2433630766495597836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356329024,"filename":"image_12072025_23_36_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0cf6c24bd1a12389208f79b6abd7b329.jpg","text":"TemporaryFile(/tmp/multipartBody6806044818692897046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356329024,"filename":"image_12072025_23_37_33_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fae73f6ca6782a1b6bacd132d0cbe922.jpg","text":"TemporaryFile(/tmp/multipartBody6284453355017931140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356329024,"filename":"image_12072025_23_37_24_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947799","file1":"1371947797","file0":"1371947795","file4":"1371947804","file5":"1371947807","file3":"1371947801"},"map_files_photo_id_array":[{"photo_id":"1371947807","filename":"file5"},{"photo_id":"1371947799","filename":"file2"},{"photo_id":"1371947804","filename":"file4"},{"photo_id":"1371947797","filename":"file1"},{"photo_id":"1371947795","filename":"file0"},{"photo_id":"1371947801","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947795":["hashtag1","hashtag2"]},{"1371947801":["hashtag1","hashtag2"]},{"1371947804":["hashtag1","hashtag2"]},{"1371947807":["hashtag1","hashtag2"]},{"1371947797":["hashtag1","hashtag2"]},{"1371947799":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947795, 1371947801, 1371947804, 1371947807, 1371947797, 1371947799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.95919942855835 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:38:32.224928
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/38/image_12072025_23_38_44_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/23/38/image_12072025_23_38_34_10626.jpg', 2), ('/home/nano/Desktop/images/12072025/23/38/image_12072025_23_38_14_10667.jpg', 2), ('/home/nano/Desktop/images/12072025/23/37/image_12072025_23_38_03_9620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_54_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/38/image_12072025_23_38_44_9612.jpg', '/home/nano/Desktop/images/12072025/23/38/image_12072025_23_38_34_10626.jpg', '/home/nano/Desktop/images/12072025/23/38/image_12072025_23_38_14_10667.jpg', '/home/nano/Desktop/images/12072025/23/37/image_12072025_23_38_03_9620.jpg', '/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_54_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/38/image_12072025_23_38_44_9612.jpg
/home/nano/Desktop/images/12072025/23/38/image_12072025_23_38_34_10626.jpg
/home/nano/Desktop/images/12072025/23/38/image_12072025_23_38_14_10667.jpg
/home/nano/Desktop/images/12072025/23/37/image_12072025_23_38_03_9620.jpg
/home/nano/Desktop/images/12072025/23/37/image_12072025_23_37_54_9608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947814","1371947816","1371947819","1371947813","1371947812"],"photo_ids_order":["1371947812","1371947813","1371947814","1371947816","1371947819"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7cd653aaea11a48e4a80f14447c27d05.jpg","text":"TemporaryFile(/tmp/multipartBody8864301910345189092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356374011,"filename":"image_12072025_23_38_14_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/92583ef7e4952534d1540a417f70b755.jpg","text":"TemporaryFile(/tmp/multipartBody5282950177304919033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356374011,"filename":"image_12072025_23_38_03_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6c1bdc664d63ffcc360dc7b525bf03f7.jpg","text":"TemporaryFile(/tmp/multipartBody2670210543105119947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356374011,"filename":"image_12072025_23_37_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a94d91e77d331c465a563c360ed8fc2b.jpg","text":"TemporaryFile(/tmp/multipartBody1516696101645025872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356374011,"filename":"image_12072025_23_38_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/872d326e4098fcf5fccb33d63d2e3333.jpg","text":"TemporaryFile(/tmp/multipartBody8257537810210875958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356374011,"filename":"image_12072025_23_38_44_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947814","file1":"1371947813","file0":"1371947812","file4":"1371947819","file3":"1371947816"},"map_files_photo_id_array":[{"photo_id":"1371947814","filename":"file2"},{"photo_id":"1371947819","filename":"file4"},{"photo_id":"1371947813","filename":"file1"},{"photo_id":"1371947812","filename":"file0"},{"photo_id":"1371947816","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947814":["hashtag1","hashtag2"]},{"1371947816":["hashtag1","hashtag2"]},{"1371947819":["hashtag1","hashtag2"]},{"1371947813":["hashtag1","hashtag2"]},{"1371947812":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947814, 1371947816, 1371947819, 1371947813, 1371947812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.800361156463623 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:39:03.248259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_34_10626.jpg', 2), ('/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_23_9634.jpg', 2), ('/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_14_9662.jpg', 2), ('/home/nano/Desktop/images/10072025/14/45/image_10072025_14_46_04_10627.jpg', 2), ('/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_53_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_44_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_34_10626.jpg', '/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_23_9634.jpg', '/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_14_9662.jpg', '/home/nano/Desktop/images/10072025/14/45/image_10072025_14_46_04_10627.jpg', '/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_53_9613.jpg', '/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_44_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_34_10626.jpg
/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_23_9634.jpg
/home/nano/Desktop/images/10072025/14/46/image_10072025_14_46_14_9662.jpg
/home/nano/Desktop/images/10072025/14/45/image_10072025_14_46_04_10627.jpg
/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_53_9613.jpg
/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_44_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947823","1371947828","1371947831","1371947825","1371947830","1371947827"],"photo_ids_order":["1371947823","1371947825","1371947827","1371947828","1371947830","1371947831"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6964b626d4d6de5426eb2b03eb91c519.jpg","text":"TemporaryFile(/tmp/multipartBody870376727213893281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356406313,"filename":"image_10072025_14_46_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d49f3cef1aa743a4cbe7ac16a2050ad9.jpg","text":"TemporaryFile(/tmp/multipartBody2481148034242031667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356406313,"filename":"image_10072025_14_46_04_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a9ccf38b845abf1c6de3c022777fa565.jpg","text":"TemporaryFile(/tmp/multipartBody2304300319175431773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356406313,"filename":"image_10072025_14_45_44_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/88bc9ddcd3603b8665cd8436ebc4e972.jpg","text":"TemporaryFile(/tmp/multipartBody715109539153353069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356406313,"filename":"image_10072025_14_46_23_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3f434224136d392465167026dbd8f34f.jpg","text":"TemporaryFile(/tmp/multipartBody7545444443385023225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356406313,"filename":"image_10072025_14_45_53_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7dbb07fa57c4766492d1d9604eb682a4.jpg","text":"TemporaryFile(/tmp/multipartBody7745135540905190759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356406313,"filename":"image_10072025_14_46_14_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947827","file1":"1371947825","file0":"1371947823","file4":"1371947830","file5":"1371947831","file3":"1371947828"},"map_files_photo_id_array":[{"photo_id":"1371947831","filename":"file5"},{"photo_id":"1371947827","filename":"file2"},{"photo_id":"1371947830","filename":"file4"},{"photo_id":"1371947825","filename":"file1"},{"photo_id":"1371947823","filename":"file0"},{"photo_id":"1371947828","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947823":["hashtag1","hashtag2"]},{"1371947828":["hashtag1","hashtag2"]},{"1371947831":["hashtag1","hashtag2"]},{"1371947825":["hashtag1","hashtag2"]},{"1371947830":["hashtag1","hashtag2"]},{"1371947827":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947823, 1371947828, 1371947831, 1371947825, 1371947830, 1371947827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31335425376892 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:39:47.326899
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/39/image_12072025_23_39_34_10627.jpg', 2), ('/home/nano/Desktop/images/12072025/23/39/image_12072025_23_39_23_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/23/39/image_12072025_23_39_14_9649.jpg', 2), ('/home/nano/Desktop/images/12072025/23/38/image_12072025_23_39_04_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/23/38/image_12072025_23_38_53_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/39/image_12072025_23_39_34_10627.jpg', '/home/nano/Desktop/images/12072025/23/39/image_12072025_23_39_23_9606.jpg', '/home/nano/Desktop/images/12072025/23/39/image_12072025_23_39_14_9649.jpg', '/home/nano/Desktop/images/12072025/23/38/image_12072025_23_39_04_10640.jpg', '/home/nano/Desktop/images/12072025/23/38/image_12072025_23_38_53_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/39/image_12072025_23_39_34_10627.jpg
/home/nano/Desktop/images/12072025/23/39/image_12072025_23_39_23_9606.jpg
/home/nano/Desktop/images/12072025/23/39/image_12072025_23_39_14_9649.jpg
/home/nano/Desktop/images/12072025/23/38/image_12072025_23_39_04_10640.jpg
/home/nano/Desktop/images/12072025/23/38/image_12072025_23_38_53_9606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947835","1371947837","1371947839","1371947833","1371947842"],"photo_ids_order":["1371947833","1371947835","1371947837","1371947839","1371947842"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3634bb70b35c333c7c8de8c4fb720361.jpg","text":"TemporaryFile(/tmp/multipartBody1037426490203084439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356450487,"filename":"image_12072025_23_39_23_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3b51456793e6d72f3aa3aa0d38c99ebe.jpg","text":"TemporaryFile(/tmp/multipartBody8699332133555643305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356450487,"filename":"image_12072025_23_39_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/09faef774e7dabe73421e76f2b88c753.jpg","text":"TemporaryFile(/tmp/multipartBody233193077918510138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356450487,"filename":"image_12072025_23_39_04_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c1d9606d8fd4ad1781428377399f2ed5.jpg","text":"TemporaryFile(/tmp/multipartBody5969052982821161623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356450487,"filename":"image_12072025_23_39_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50090060f1c9f667c517fc46a3e08a6e.jpg","text":"TemporaryFile(/tmp/multipartBody2250654155557444494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356450487,"filename":"image_12072025_23_38_53_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947837","file1":"1371947835","file0":"1371947833","file4":"1371947842","file3":"1371947839"},"map_files_photo_id_array":[{"photo_id":"1371947837","filename":"file2"},{"photo_id":"1371947842","filename":"file4"},{"photo_id":"1371947835","filename":"file1"},{"photo_id":"1371947833","filename":"file0"},{"photo_id":"1371947839","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947835":["hashtag1","hashtag2"]},{"1371947837":["hashtag1","hashtag2"]},{"1371947839":["hashtag1","hashtag2"]},{"1371947833":["hashtag1","hashtag2"]},{"1371947842":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947835, 1371947837, 1371947839, 1371947833, 1371947842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.25441312789917 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:40:17.422062
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/40/image_12072025_23_40_44_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/40/image_12072025_23_40_34_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/23/40/image_12072025_23_40_24_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/23/39/image_12072025_23_40_04_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/23/39/image_12072025_23_39_54_10617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/40/image_12072025_23_40_44_10618.jpg', '/home/nano/Desktop/images/12072025/23/40/image_12072025_23_40_34_9607.jpg', '/home/nano/Desktop/images/12072025/23/40/image_12072025_23_40_24_10615.jpg', '/home/nano/Desktop/images/12072025/23/39/image_12072025_23_40_04_9625.jpg', '/home/nano/Desktop/images/12072025/23/39/image_12072025_23_39_54_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/40/image_12072025_23_40_44_10618.jpg
/home/nano/Desktop/images/12072025/23/40/image_12072025_23_40_34_9607.jpg
/home/nano/Desktop/images/12072025/23/40/image_12072025_23_40_24_10615.jpg
/home/nano/Desktop/images/12072025/23/39/image_12072025_23_40_04_9625.jpg
/home/nano/Desktop/images/12072025/23/39/image_12072025_23_39_54_10617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947847","1371947846","1371947849","1371947845","1371947848"],"photo_ids_order":["1371947845","1371947846","1371947847","1371947848","1371947849"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8d8c3e9fb64c33f7ee4aaa1197e525f8.jpg","text":"TemporaryFile(/tmp/multipartBody1437947475975379674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356478975,"filename":"image_12072025_23_40_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d0c63ad2b09f1c903010980fb7ced14b.jpg","text":"TemporaryFile(/tmp/multipartBody6657409845946746037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356478975,"filename":"image_12072025_23_40_34_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1767361505f37593b825131d56350b72.jpg","text":"TemporaryFile(/tmp/multipartBody4489510191496941513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356478975,"filename":"image_12072025_23_39_54_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ebd282d2ef0b05639610892d587884f3.jpg","text":"TemporaryFile(/tmp/multipartBody1655401410165192356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356478975,"filename":"image_12072025_23_40_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/76c160bee882ad424e17acddeb46e1b7.jpg","text":"TemporaryFile(/tmp/multipartBody1242088002390604806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356478975,"filename":"image_12072025_23_40_04_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947847","file1":"1371947846","file0":"1371947845","file4":"1371947849","file3":"1371947848"},"map_files_photo_id_array":[{"photo_id":"1371947847","filename":"file2"},{"photo_id":"1371947849","filename":"file4"},{"photo_id":"1371947846","filename":"file1"},{"photo_id":"1371947845","filename":"file0"},{"photo_id":"1371947848","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947847":["hashtag1","hashtag2"]},{"1371947846":["hashtag1","hashtag2"]},{"1371947849":["hashtag1","hashtag2"]},{"1371947845":["hashtag1","hashtag2"]},{"1371947848":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947847, 1371947846, 1371947849, 1371947845, 1371947848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.013395309448242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:40:47.430376
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_33_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_24_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_14_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/14/44/image_10072025_14_45_03_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_54_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_44_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_33_9607.jpg', '/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_24_9613.jpg', '/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_14_10633.jpg', '/home/nano/Desktop/images/10072025/14/44/image_10072025_14_45_03_9614.jpg', '/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_54_9620.jpg', '/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_44_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_33_9607.jpg
/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_24_9613.jpg
/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_14_10633.jpg
/home/nano/Desktop/images/10072025/14/44/image_10072025_14_45_03_9614.jpg
/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_54_9620.jpg
/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_44_10655.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.285517692565918 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:41:03.199646
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_33_9607.jpg', 2), ('/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_24_9613.jpg', 2), ('/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_14_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/14/44/image_10072025_14_45_03_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_54_9620.jpg', 2), ('/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_44_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_33_9607.jpg', '/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_24_9613.jpg', '/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_14_10633.jpg', '/home/nano/Desktop/images/10072025/14/44/image_10072025_14_45_03_9614.jpg', '/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_54_9620.jpg', '/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_44_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_33_9607.jpg
/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_24_9613.jpg
/home/nano/Desktop/images/10072025/14/45/image_10072025_14_45_14_10633.jpg
/home/nano/Desktop/images/10072025/14/44/image_10072025_14_45_03_9614.jpg
/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_54_9620.jpg
/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_44_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947874","1371947870","1371947864","1371947873","1371947867","1371947872"],"photo_ids_order":["1371947864","1371947867","1371947870","1371947872","1371947873","1371947874"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f689370c5496c73945a7da9d803c1e72.jpg","text":"TemporaryFile(/tmp/multipartBody4188970726602133984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356526299,"filename":"image_10072025_14_44_44_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/11fe95c8fe9bbd39c8b3939837dcb8cd.jpg","text":"TemporaryFile(/tmp/multipartBody6825532298026464773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356526299,"filename":"image_10072025_14_45_14_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cdd323a187ce035ce15f1a745096bdc6.jpg","text":"TemporaryFile(/tmp/multipartBody7167066713293752875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356526299,"filename":"image_10072025_14_45_33_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/521c057a372adff88595e2c1bf1b179e.jpg","text":"TemporaryFile(/tmp/multipartBody983799770672366388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356526299,"filename":"image_10072025_14_44_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/98f885ecacd2f7bdb2b97c618909fad9.jpg","text":"TemporaryFile(/tmp/multipartBody8706229861096662474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356526299,"filename":"image_10072025_14_45_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e4de4d7a05e4320473db85735a0a0952.jpg","text":"TemporaryFile(/tmp/multipartBody7009746439153662803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356526299,"filename":"image_10072025_14_45_03_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947870","file1":"1371947867","file0":"1371947864","file4":"1371947873","file5":"1371947874","file3":"1371947872"},"map_files_photo_id_array":[{"photo_id":"1371947874","filename":"file5"},{"photo_id":"1371947870","filename":"file2"},{"photo_id":"1371947873","filename":"file4"},{"photo_id":"1371947867","filename":"file1"},{"photo_id":"1371947864","filename":"file0"},{"photo_id":"1371947872","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947874":["hashtag1","hashtag2"]},{"1371947870":["hashtag1","hashtag2"]},{"1371947864":["hashtag1","hashtag2"]},{"1371947873":["hashtag1","hashtag2"]},{"1371947867":["hashtag1","hashtag2"]},{"1371947872":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947874, 1371947870, 1371947864, 1371947873, 1371947867, 1371947872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66916227340698 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:41:47.530111
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_44_10619.jpg', 2), ('/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_33_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_24_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_14_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/23/40/image_12072025_23_41_04_9613.jpg', 2), ('/home/nano/Desktop/images/12072025/23/40/image_12072025_23_40_54_9608.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_44_10619.jpg', '/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_33_9613.jpg', '/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_24_9617.jpg', '/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_14_10646.jpg', '/home/nano/Desktop/images/12072025/23/40/image_12072025_23_41_04_9613.jpg', '/home/nano/Desktop/images/12072025/23/40/image_12072025_23_40_54_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_44_10619.jpg
/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_33_9613.jpg
/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_24_9617.jpg
/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_14_10646.jpg
/home/nano/Desktop/images/12072025/23/40/image_12072025_23_41_04_9613.jpg
/home/nano/Desktop/images/12072025/23/40/image_12072025_23_40_54_9608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947883","1371947879","1371947888","1371947881","1371947890","1371947886"],"photo_ids_order":["1371947879","1371947881","1371947883","1371947886","1371947888","1371947890"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/50b87f6699aeb508e4536c701d732200.jpg","text":"TemporaryFile(/tmp/multipartBody5614195521631693362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356569543,"filename":"image_12072025_23_41_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/def553d9a045fad14c5c5495be352272.jpg","text":"TemporaryFile(/tmp/multipartBody8280075635249268299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356569543,"filename":"image_12072025_23_41_44_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3828e2616318771ee0b8188dcd5c7d4b.jpg","text":"TemporaryFile(/tmp/multipartBody8463248694375421792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356569543,"filename":"image_12072025_23_41_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/729fd0bc63aec30097a82c883ff5c080.jpg","text":"TemporaryFile(/tmp/multipartBody920985877724574710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356569543,"filename":"image_12072025_23_41_33_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce0483119ebf57883166c440fc4b538a.jpg","text":"TemporaryFile(/tmp/multipartBody542403591182254690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356569543,"filename":"image_12072025_23_40_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f80f35cbc8af402b8ac7f10135b4dc01.jpg","text":"TemporaryFile(/tmp/multipartBody3657335642909539089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356569543,"filename":"image_12072025_23_41_14_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947883","file1":"1371947881","file0":"1371947879","file4":"1371947888","file5":"1371947890","file3":"1371947886"},"map_files_photo_id_array":[{"photo_id":"1371947890","filename":"file5"},{"photo_id":"1371947883","filename":"file2"},{"photo_id":"1371947888","filename":"file4"},{"photo_id":"1371947881","filename":"file1"},{"photo_id":"1371947879","filename":"file0"},{"photo_id":"1371947886","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947883":["hashtag1","hashtag2"]},{"1371947879":["hashtag1","hashtag2"]},{"1371947888":["hashtag1","hashtag2"]},{"1371947881":["hashtag1","hashtag2"]},{"1371947890":["hashtag1","hashtag2"]},{"1371947886":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947883, 1371947879, 1371947888, 1371947881, 1371947890, 1371947886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.832398653030396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:42:32.621564
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/42/image_12072025_23_42_44_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/23/42/image_12072025_23_42_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/23/41/image_12072025_23_42_04_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_54_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/42/image_12072025_23_42_44_9607.jpg', '/home/nano/Desktop/images/12072025/23/42/image_12072025_23_42_34_10623.jpg', '/home/nano/Desktop/images/12072025/23/41/image_12072025_23_42_04_10646.jpg', '/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/42/image_12072025_23_42_44_9607.jpg
/home/nano/Desktop/images/12072025/23/42/image_12072025_23_42_34_10623.jpg
/home/nano/Desktop/images/12072025/23/41/image_12072025_23_42_04_10646.jpg
/home/nano/Desktop/images/12072025/23/41/image_12072025_23_41_54_9631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947895","1371947897","1371947894","1371947893"],"photo_ids_order":["1371947893","1371947894","1371947895","1371947897"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/053bd89ec13bbba73ed6236737053257.jpg","text":"TemporaryFile(/tmp/multipartBody8161589291565107610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356614172,"filename":"image_12072025_23_42_04_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d58e87a0583bbc1689ad9669b20a4cd8.jpg","text":"TemporaryFile(/tmp/multipartBody7631378018144264256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356614172,"filename":"image_12072025_23_41_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59127bf5274a406eb2620891cb443649.jpg","text":"TemporaryFile(/tmp/multipartBody6522551390568509707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356614172,"filename":"image_12072025_23_42_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/59a587dc57b507449661190a40b217b3.jpg","text":"TemporaryFile(/tmp/multipartBody7599102126601892087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356614172,"filename":"image_12072025_23_42_44_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947895","file1":"1371947894","file0":"1371947893","file3":"1371947897"},"map_files_photo_id_array":[{"photo_id":"1371947895","filename":"file2"},{"photo_id":"1371947894","filename":"file1"},{"photo_id":"1371947893","filename":"file0"},{"photo_id":"1371947897","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947895":["hashtag1","hashtag2"]},{"1371947897":["hashtag1","hashtag2"]},{"1371947894":["hashtag1","hashtag2"]},{"1371947893":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947895, 1371947897, 1371947894, 1371947893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.887224674224854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:43:03.436801
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_33_9621.jpg', 2), ('/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_24_10651.jpg', 2), ('/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_13_9631.jpg', 2), ('/home/nano/Desktop/images/10072025/14/43/image_10072025_14_44_03_9597.jpg', 2), ('/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_54_10603.jpg', 2), ('/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_43_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_33_9621.jpg', '/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_24_10651.jpg', '/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_13_9631.jpg', '/home/nano/Desktop/images/10072025/14/43/image_10072025_14_44_03_9597.jpg', '/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_54_10603.jpg', '/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_43_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_33_9621.jpg
/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_24_10651.jpg
/home/nano/Desktop/images/10072025/14/44/image_10072025_14_44_13_9631.jpg
/home/nano/Desktop/images/10072025/14/43/image_10072025_14_44_03_9597.jpg
/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_54_10603.jpg
/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_43_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947905","1371947913","1371947907","1371947909","1371947912","1371947911"],"photo_ids_order":["1371947905","1371947907","1371947909","1371947911","1371947912","1371947913"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9712b9c4c5ea3652661f7082e7bb3603.jpg","text":"TemporaryFile(/tmp/multipartBody6803456872907722084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356646761,"filename":"image_10072025_14_44_33_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a24dea55f469e4e5c1cb1ae80b0276f8.jpg","text":"TemporaryFile(/tmp/multipartBody1062474651432223045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356646761,"filename":"image_10072025_14_43_43_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/278ccb6583436b887049484d54f54130.jpg","text":"TemporaryFile(/tmp/multipartBody5528891048864063166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356646761,"filename":"image_10072025_14_44_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/45acfa8317a603fae143f5abaa5c30e0.jpg","text":"TemporaryFile(/tmp/multipartBody3297838640129632299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356646761,"filename":"image_10072025_14_44_13_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/28916d2bd3dd5449bdeaaeeb0bf2df87.jpg","text":"TemporaryFile(/tmp/multipartBody5166385902310268104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356646761,"filename":"image_10072025_14_43_54_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b3aabef78455e2c473a10dc7b61bf542.jpg","text":"TemporaryFile(/tmp/multipartBody8304805493487869243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356646761,"filename":"image_10072025_14_44_03_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947909","file1":"1371947907","file0":"1371947905","file4":"1371947912","file5":"1371947913","file3":"1371947911"},"map_files_photo_id_array":[{"photo_id":"1371947913","filename":"file5"},{"photo_id":"1371947909","filename":"file2"},{"photo_id":"1371947912","filename":"file4"},{"photo_id":"1371947907","filename":"file1"},{"photo_id":"1371947905","filename":"file0"},{"photo_id":"1371947911","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947905":["hashtag1","hashtag2"]},{"1371947913":["hashtag1","hashtag2"]},{"1371947907":["hashtag1","hashtag2"]},{"1371947909":["hashtag1","hashtag2"]},{"1371947912":["hashtag1","hashtag2"]},{"1371947911":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947905, 1371947913, 1371947907, 1371947909, 1371947912, 1371947911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15762257575989 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:43:47.828512
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_44_9625.jpg', 2), ('/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_34_9614.jpg', 2), ('/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/23/42/image_12072025_23_43_04_10622.jpg', 2), ('/home/nano/Desktop/images/12072025/23/42/image_12072025_23_42_53_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_44_9625.jpg', '/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_34_9614.jpg', '/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_14_9626.jpg', '/home/nano/Desktop/images/12072025/23/42/image_12072025_23_43_04_10622.jpg', '/home/nano/Desktop/images/12072025/23/42/image_12072025_23_42_53_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_44_9625.jpg
/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_34_9614.jpg
/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_14_9626.jpg
/home/nano/Desktop/images/12072025/23/42/image_12072025_23_43_04_10622.jpg
/home/nano/Desktop/images/12072025/23/42/image_12072025_23_42_53_9628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947922","1371947927","1371947924","1371947926","1371947920"],"photo_ids_order":["1371947920","1371947922","1371947924","1371947926","1371947927"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fee1c8289426c106805dc3dd53a8c778.jpg","text":"TemporaryFile(/tmp/multipartBody3017470685330494923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356689556,"filename":"image_12072025_23_43_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a997788ad1a360de656c0c0b75941852.jpg","text":"TemporaryFile(/tmp/multipartBody8470888018826011516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356689556,"filename":"image_12072025_23_42_53_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6ce222a368087b1dbe69546821a4aa4a.jpg","text":"TemporaryFile(/tmp/multipartBody752960607822737065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356689556,"filename":"image_12072025_23_43_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e1d47022b0582218cac65e31537e4124.jpg","text":"TemporaryFile(/tmp/multipartBody5805663752064342340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356689556,"filename":"image_12072025_23_43_04_10622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ce8904a7348e2d23ee4b5ecf243f3155.jpg","text":"TemporaryFile(/tmp/multipartBody6104920200989019132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356689556,"filename":"image_12072025_23_43_44_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947924","file1":"1371947922","file0":"1371947920","file4":"1371947927","file3":"1371947926"},"map_files_photo_id_array":[{"photo_id":"1371947924","filename":"file2"},{"photo_id":"1371947927","filename":"file4"},{"photo_id":"1371947922","filename":"file1"},{"photo_id":"1371947920","filename":"file0"},{"photo_id":"1371947926","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947922":["hashtag1","hashtag2"]},{"1371947927":["hashtag1","hashtag2"]},{"1371947924":["hashtag1","hashtag2"]},{"1371947926":["hashtag1","hashtag2"]},{"1371947920":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947922, 1371947927, 1371947924, 1371947926, 1371947920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.820873022079468 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:44:16.927629
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_24_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_13_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/23/43/image_12072025_23_44_04_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_34_9610.jpg', '/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_24_10635.jpg', '/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_13_9646.jpg', '/home/nano/Desktop/images/12072025/23/43/image_12072025_23_44_04_9616.jpg', '/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_34_9610.jpg
/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_24_10635.jpg
/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_13_9646.jpg
/home/nano/Desktop/images/12072025/23/43/image_12072025_23_44_04_9616.jpg
/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_54_10619.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4219238758087158 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:44:31.936305
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_24_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_13_9646.jpg', 2), ('/home/nano/Desktop/images/12072025/23/43/image_12072025_23_44_04_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_34_9610.jpg', '/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_24_10635.jpg', '/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_13_9646.jpg', '/home/nano/Desktop/images/12072025/23/43/image_12072025_23_44_04_9616.jpg', '/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_34_9610.jpg
/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_24_10635.jpg
/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_13_9646.jpg
/home/nano/Desktop/images/12072025/23/43/image_12072025_23_44_04_9616.jpg
/home/nano/Desktop/images/12072025/23/43/image_12072025_23_43_54_10619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947937","1371947936","1371947944","1371947938","1371947941"],"photo_ids_order":["1371947936","1371947937","1371947938","1371947941","1371947944"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/441d0b026945ca3105a6fa34ce8d03dc.jpg","text":"TemporaryFile(/tmp/multipartBody1627813007737041819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356733807,"filename":"image_12072025_23_44_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0f5db56ae636a36e28cf64ba8bb2e3d5.jpg","text":"TemporaryFile(/tmp/multipartBody3959598692240088594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356733807,"filename":"image_12072025_23_44_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3d52af4791ed95f27e10426ebb619797.jpg","text":"TemporaryFile(/tmp/multipartBody7283287794677783139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356733807,"filename":"image_12072025_23_43_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9377cf245e470ecbf0f244fbf95d2ed6.jpg","text":"TemporaryFile(/tmp/multipartBody8425675101742943612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356733807,"filename":"image_12072025_23_44_13_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4f4a013bdeb693650854fcbea54c336a.jpg","text":"TemporaryFile(/tmp/multipartBody6698350225691738778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356733807,"filename":"image_12072025_23_44_04_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947938","file1":"1371947937","file0":"1371947936","file4":"1371947944","file3":"1371947941"},"map_files_photo_id_array":[{"photo_id":"1371947938","filename":"file2"},{"photo_id":"1371947944","filename":"file4"},{"photo_id":"1371947937","filename":"file1"},{"photo_id":"1371947936","filename":"file0"},{"photo_id":"1371947941","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947937":["hashtag1","hashtag2"]},{"1371947936":["hashtag1","hashtag2"]},{"1371947944":["hashtag1","hashtag2"]},{"1371947938":["hashtag1","hashtag2"]},{"1371947941":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947937, 1371947936, 1371947944, 1371947938, 1371947941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.531298875808716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:45:02.711875
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_34_10603.jpg', 2), ('/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_23_9599.jpg', 2), ('/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_13_9609.jpg', 2), ('/home/nano/Desktop/images/10072025/14/42/image_10072025_14_43_04_10638.jpg', 2), ('/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_53_9632.jpg', 2), ('/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_44_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_34_10603.jpg', '/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_23_9599.jpg', '/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_13_9609.jpg', '/home/nano/Desktop/images/10072025/14/42/image_10072025_14_43_04_10638.jpg', '/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_53_9632.jpg', '/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_34_10603.jpg
/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_23_9599.jpg
/home/nano/Desktop/images/10072025/14/43/image_10072025_14_43_13_9609.jpg
/home/nano/Desktop/images/10072025/14/42/image_10072025_14_43_04_10638.jpg
/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_53_9632.jpg
/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_44_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947952","1371947955","1371947951","1371947954","1371947957","1371947956"],"photo_ids_order":["1371947951","1371947952","1371947954","1371947955","1371947956","1371947957"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2a6b920209c3429501bb98f0bf775792.jpg","text":"TemporaryFile(/tmp/multipartBody2671297689598554201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356766413,"filename":"image_10072025_14_43_23_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/618eafc9fa29340410f9bf3f51425ade.jpg","text":"TemporaryFile(/tmp/multipartBody3097467303712160176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356766413,"filename":"image_10072025_14_43_04_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/4715485103b5f2478604b8838eb12afd.jpg","text":"TemporaryFile(/tmp/multipartBody123673345760404016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356766413,"filename":"image_10072025_14_43_34_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b8087e09309f2264aa60fcf44939f4e2.jpg","text":"TemporaryFile(/tmp/multipartBody8370413969349846398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356766413,"filename":"image_10072025_14_43_13_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a42054622a8500becc77a1f5bf71d34b.jpg","text":"TemporaryFile(/tmp/multipartBody6184789884369578982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356766413,"filename":"image_10072025_14_42_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2800f0854c6d62863e7e6c0e1f97079b.jpg","text":"TemporaryFile(/tmp/multipartBody4559231368442879914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356766413,"filename":"image_10072025_14_42_53_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947954","file1":"1371947952","file0":"1371947951","file4":"1371947956","file5":"1371947957","file3":"1371947955"},"map_files_photo_id_array":[{"photo_id":"1371947957","filename":"file5"},{"photo_id":"1371947954","filename":"file2"},{"photo_id":"1371947956","filename":"file4"},{"photo_id":"1371947952","filename":"file1"},{"photo_id":"1371947951","filename":"file0"},{"photo_id":"1371947955","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947952":["hashtag1","hashtag2"]},{"1371947955":["hashtag1","hashtag2"]},{"1371947951":["hashtag1","hashtag2"]},{"1371947954":["hashtag1","hashtag2"]},{"1371947957":["hashtag1","hashtag2"]},{"1371947956":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947952, 1371947955, 1371947951, 1371947954, 1371947957, 1371947956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26401400566101 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:45:46.991889
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_44_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_33_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_24_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_14_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_54_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_44_10617.jpg', '/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_33_9610.jpg', '/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_24_9607.jpg', '/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_14_10632.jpg', '/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_54_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_44_10617.jpg
/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_33_9610.jpg
/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_24_9607.jpg
/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_14_10632.jpg
/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_54_9605.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8963849544525146 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:46:02.643253
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_44_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_33_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_24_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_14_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_54_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_44_10617.jpg', '/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_33_9610.jpg', '/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_24_9607.jpg', '/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_14_10632.jpg', '/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_54_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_44_10617.jpg
/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_33_9610.jpg
/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_24_9607.jpg
/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_14_10632.jpg
/home/nano/Desktop/images/12072025/23/44/image_12072025_23_44_54_9605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947982","1371947978","1371947974","1371947979","1371947970"],"photo_ids_order":["1371947970","1371947974","1371947978","1371947979","1371947982"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ac4590d96aec3a65a7f1314b0b8a2c6d.jpg","text":"TemporaryFile(/tmp/multipartBody6019395596423684217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356824124,"filename":"image_12072025_23_44_54_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/265efc99dd26e0413d04fa9b43d6dbde.jpg","text":"TemporaryFile(/tmp/multipartBody7696858888676225501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356824124,"filename":"image_12072025_23_45_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d4099636376b918ecae250159e9f262f.jpg","text":"TemporaryFile(/tmp/multipartBody5891040112186515039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356824124,"filename":"image_12072025_23_45_33_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/86064a468be2fc11a7984042d4f9c502.jpg","text":"TemporaryFile(/tmp/multipartBody7989623075451611023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356824124,"filename":"image_12072025_23_45_14_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/184bbbc86fb5e5545e5c3f62c0944480.jpg","text":"TemporaryFile(/tmp/multipartBody56500323689461370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356824124,"filename":"image_12072025_23_45_44_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947978","file1":"1371947974","file0":"1371947970","file4":"1371947982","file3":"1371947979"},"map_files_photo_id_array":[{"photo_id":"1371947978","filename":"file2"},{"photo_id":"1371947982","filename":"file4"},{"photo_id":"1371947974","filename":"file1"},{"photo_id":"1371947970","filename":"file0"},{"photo_id":"1371947979","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947982":["hashtag1","hashtag2"]},{"1371947978":["hashtag1","hashtag2"]},{"1371947974":["hashtag1","hashtag2"]},{"1371947979":["hashtag1","hashtag2"]},{"1371947970":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947982, 1371947978, 1371947974, 1371947979, 1371947970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.363305807113647 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:46:32.117049
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/46/image_12072025_23_46_44_9615.jpg', 2), ('/home/nano/Desktop/images/12072025/23/46/image_12072025_23_46_34_10625.jpg', 2), ('/home/nano/Desktop/images/12072025/23/46/image_12072025_23_46_23_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/23/45/image_12072025_23_46_04_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/46/image_12072025_23_46_44_9615.jpg', '/home/nano/Desktop/images/12072025/23/46/image_12072025_23_46_34_10625.jpg', '/home/nano/Desktop/images/12072025/23/46/image_12072025_23_46_23_9606.jpg', '/home/nano/Desktop/images/12072025/23/45/image_12072025_23_46_04_10635.jpg', '/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/46/image_12072025_23_46_44_9615.jpg
/home/nano/Desktop/images/12072025/23/46/image_12072025_23_46_34_10625.jpg
/home/nano/Desktop/images/12072025/23/46/image_12072025_23_46_23_9606.jpg
/home/nano/Desktop/images/12072025/23/45/image_12072025_23_46_04_10635.jpg
/home/nano/Desktop/images/12072025/23/45/image_12072025_23_45_54_9606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947988","1371947990","1371947984","1371947983","1371947985"],"photo_ids_order":["1371947983","1371947984","1371947985","1371947988","1371947990"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/8e6f3f9759d5385ba80ed076fde8aadb.jpg","text":"TemporaryFile(/tmp/multipartBody7000684418384153163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356853595,"filename":"image_12072025_23_46_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52df61cc049fce4a4df9b9f9301f7c1c.jpg","text":"TemporaryFile(/tmp/multipartBody1379813922385092090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356853595,"filename":"image_12072025_23_45_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/049e8719fee2311bbee3806b46f53561.jpg","text":"TemporaryFile(/tmp/multipartBody5146582648664220109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356853595,"filename":"image_12072025_23_46_34_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/affc2006a0a4066881b797667c3f06dd.jpg","text":"TemporaryFile(/tmp/multipartBody4444936414368729604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356853595,"filename":"image_12072025_23_46_44_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/73ac856175545b38dd02b9c640d9752b.jpg","text":"TemporaryFile(/tmp/multipartBody4938626798874914646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356853595,"filename":"image_12072025_23_46_23_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947985","file1":"1371947984","file0":"1371947983","file4":"1371947990","file3":"1371947988"},"map_files_photo_id_array":[{"photo_id":"1371947985","filename":"file2"},{"photo_id":"1371947990","filename":"file4"},{"photo_id":"1371947984","filename":"file1"},{"photo_id":"1371947983","filename":"file0"},{"photo_id":"1371947988","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371947988":["hashtag1","hashtag2"]},{"1371947990":["hashtag1","hashtag2"]},{"1371947984":["hashtag1","hashtag2"]},{"1371947983":["hashtag1","hashtag2"]},{"1371947985":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371947988, 1371947990, 1371947984, 1371947983, 1371947985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.252163410186768 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:47:02.774205
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_34_10654.jpg', 2), ('/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_23_9671.jpg', 2), ('/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_14_9635.jpg', 2), ('/home/nano/Desktop/images/10072025/14/41/image_10072025_14_42_04_10673.jpg', 2), ('/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_53_9609.jpg', 2), ('/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_44_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_34_10654.jpg', '/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_23_9671.jpg', '/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_14_9635.jpg', '/home/nano/Desktop/images/10072025/14/41/image_10072025_14_42_04_10673.jpg', '/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_53_9609.jpg', '/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_44_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_34_10654.jpg
/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_23_9671.jpg
/home/nano/Desktop/images/10072025/14/42/image_10072025_14_42_14_9635.jpg
/home/nano/Desktop/images/10072025/14/41/image_10072025_14_42_04_10673.jpg
/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_53_9609.jpg
/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_44_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371947994","1371948003","1371947996","1371947999","1371948005","1371948001"],"photo_ids_order":["1371947994","1371947996","1371947999","1371948001","1371948003","1371948005"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f13504d97d1c4e0292d4c3d8daec921a.jpg","text":"TemporaryFile(/tmp/multipartBody4372593590448005017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356886105,"filename":"image_10072025_14_42_34_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0979b21c899f56f002076e74c1444398.jpg","text":"TemporaryFile(/tmp/multipartBody7296567049296100190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356886105,"filename":"image_10072025_14_41_53_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e8f96e2c4436f37b0db47e3939bcea3.jpg","text":"TemporaryFile(/tmp/multipartBody3765359945534241234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356886105,"filename":"image_10072025_14_42_23_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/82216290198be04aa0ddbc13d8174fd4.jpg","text":"TemporaryFile(/tmp/multipartBody192767221192218381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356886105,"filename":"image_10072025_14_42_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b59a9896d5d3ec5f259e566ec1ea282.jpg","text":"TemporaryFile(/tmp/multipartBody290597614198518335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356886105,"filename":"image_10072025_14_41_44_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2347f8707642288131e04fad0001e1fe.jpg","text":"TemporaryFile(/tmp/multipartBody6260562189309825166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356886105,"filename":"image_10072025_14_42_04_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371947999","file1":"1371947996","file0":"1371947994","file4":"1371948003","file5":"1371948005","file3":"1371948001"},"map_files_photo_id_array":[{"photo_id":"1371948005","filename":"file5"},{"photo_id":"1371947999","filename":"file2"},{"photo_id":"1371948003","filename":"file4"},{"photo_id":"1371947996","filename":"file1"},{"photo_id":"1371947994","filename":"file0"},{"photo_id":"1371948001","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371947994":["hashtag1","hashtag2"]},{"1371948003":["hashtag1","hashtag2"]},{"1371947996":["hashtag1","hashtag2"]},{"1371947999":["hashtag1","hashtag2"]},{"1371948005":["hashtag1","hashtag2"]},{"1371948001":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371947994, 1371948003, 1371947996, 1371947999, 1371948005, 1371948001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33880281448364 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:47:47.313494
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/47/image_12072025_23_47_34_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/23/47/image_12072025_23_47_24_10616.jpg', 2), ('/home/nano/Desktop/images/12072025/23/47/image_12072025_23_47_14_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/23/46/image_12072025_23_47_04_9634.jpg', 2), ('/home/nano/Desktop/images/12072025/23/46/image_12072025_23_46_54_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/47/image_12072025_23_47_34_9606.jpg', '/home/nano/Desktop/images/12072025/23/47/image_12072025_23_47_24_10616.jpg', '/home/nano/Desktop/images/12072025/23/47/image_12072025_23_47_14_9626.jpg', '/home/nano/Desktop/images/12072025/23/46/image_12072025_23_47_04_9634.jpg', '/home/nano/Desktop/images/12072025/23/46/image_12072025_23_46_54_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/47/image_12072025_23_47_34_9606.jpg
/home/nano/Desktop/images/12072025/23/47/image_12072025_23_47_24_10616.jpg
/home/nano/Desktop/images/12072025/23/47/image_12072025_23_47_14_9626.jpg
/home/nano/Desktop/images/12072025/23/46/image_12072025_23_47_04_9634.jpg
/home/nano/Desktop/images/12072025/23/46/image_12072025_23_46_54_10616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948012","1371948009","1371948014","1371948017","1371948019"],"photo_ids_order":["1371948009","1371948012","1371948014","1371948017","1371948019"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7ad5f43f4b5b30e991157ead6cf086f4.jpg","text":"TemporaryFile(/tmp/multipartBody2916337287413853735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356929191,"filename":"image_12072025_23_47_24_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/681de0be8bd723a064e7478d3824ee88.jpg","text":"TemporaryFile(/tmp/multipartBody114859810187604035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356929191,"filename":"image_12072025_23_47_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a53d314bd670b818af41797e2a96d0fe.jpg","text":"TemporaryFile(/tmp/multipartBody6803107500109288736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356929191,"filename":"image_12072025_23_47_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2fa99c5c00d7e384f61043f078a87ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4918362076546057297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356929191,"filename":"image_12072025_23_47_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fe8320df451cd49166a9a84d3641ae02.jpg","text":"TemporaryFile(/tmp/multipartBody1950000595766569005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356929191,"filename":"image_12072025_23_46_54_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948014","file1":"1371948012","file0":"1371948009","file4":"1371948019","file3":"1371948017"},"map_files_photo_id_array":[{"photo_id":"1371948014","filename":"file2"},{"photo_id":"1371948019","filename":"file4"},{"photo_id":"1371948012","filename":"file1"},{"photo_id":"1371948009","filename":"file0"},{"photo_id":"1371948017","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371948012":["hashtag1","hashtag2"]},{"1371948009":["hashtag1","hashtag2"]},{"1371948014":["hashtag1","hashtag2"]},{"1371948017":["hashtag1","hashtag2"]},{"1371948019":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371948012, 1371948009, 1371948014, 1371948017, 1371948019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.006500482559204 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:48:17.404612
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_44_10617.jpg', 2), ('/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_34_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_24_9607.jpg', 2), ('/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_14_10649.jpg', 2), ('/home/nano/Desktop/images/12072025/23/47/image_12072025_23_47_43_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_44_10617.jpg', '/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_34_9605.jpg', '/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_24_9607.jpg', '/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_14_10649.jpg', '/home/nano/Desktop/images/12072025/23/47/image_12072025_23_47_43_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_44_10617.jpg
/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_34_9605.jpg
/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_24_9607.jpg
/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_14_10649.jpg
/home/nano/Desktop/images/12072025/23/47/image_12072025_23_47_43_9616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948030","1371948027","1371948026","1371948029","1371948031"],"photo_ids_order":["1371948026","1371948027","1371948029","1371948030","1371948031"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/1ad217b87dc0a6c077cc27009050929d.jpg","text":"TemporaryFile(/tmp/multipartBody1194745322988206496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356958948,"filename":"image_12072025_23_48_14_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c3524947d9191d6ca96e76dab5bf34d.jpg","text":"TemporaryFile(/tmp/multipartBody488364262827490315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356958948,"filename":"image_12072025_23_48_34_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/717d5e2f860585ff7c1fb6721a638d27.jpg","text":"TemporaryFile(/tmp/multipartBody7818117419208889657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356958948,"filename":"image_12072025_23_48_44_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/95d22013eae450ca61a11ec54928273c.jpg","text":"TemporaryFile(/tmp/multipartBody2640624229651021804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356958948,"filename":"image_12072025_23_48_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ff2eeeb79c51f92a89ebfdbfa7d44813.jpg","text":"TemporaryFile(/tmp/multipartBody3767512371752197186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356958948,"filename":"image_12072025_23_47_43_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948029","file1":"1371948027","file0":"1371948026","file4":"1371948031","file3":"1371948030"},"map_files_photo_id_array":[{"photo_id":"1371948029","filename":"file2"},{"photo_id":"1371948031","filename":"file4"},{"photo_id":"1371948027","filename":"file1"},{"photo_id":"1371948026","filename":"file0"},{"photo_id":"1371948030","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371948030":["hashtag1","hashtag2"]},{"1371948027":["hashtag1","hashtag2"]},{"1371948026":["hashtag1","hashtag2"]},{"1371948029":["hashtag1","hashtag2"]},{"1371948031":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371948030, 1371948027, 1371948026, 1371948029, 1371948031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.029740571975708 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:48:47.436337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_33_9647.jpg', 2), ('/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_23_9619.jpg', 2), ('/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_14_10669.jpg', 2), ('/home/nano/Desktop/images/10072025/14/40/image_10072025_14_41_03_9624.jpg', 2), ('/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_54_9633.jpg', 2), ('/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_44_10623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_33_9647.jpg', '/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_23_9619.jpg', '/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_14_10669.jpg', '/home/nano/Desktop/images/10072025/14/40/image_10072025_14_41_03_9624.jpg', '/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_54_9633.jpg', '/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_44_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_33_9647.jpg
/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_23_9619.jpg
/home/nano/Desktop/images/10072025/14/41/image_10072025_14_41_14_10669.jpg
/home/nano/Desktop/images/10072025/14/40/image_10072025_14_41_03_9624.jpg
/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_54_9633.jpg
/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_44_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948042","1371948036","1371948039","1371948047","1371948043","1371948037"],"photo_ids_order":["1371948036","1371948037","1371948039","1371948042","1371948043","1371948047"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5a81f4782f0ac63ab985427834804962.jpg","text":"TemporaryFile(/tmp/multipartBody208980358248628137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356990685,"filename":"image_10072025_14_41_03_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5229788196c6754b3edeb5edb93ef7e8.jpg","text":"TemporaryFile(/tmp/multipartBody7628137193350617252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356990685,"filename":"image_10072025_14_41_33_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9288137a308d0793161ce549cb4b5a58.jpg","text":"TemporaryFile(/tmp/multipartBody1980515353717749770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356990685,"filename":"image_10072025_14_41_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb92d3ffaf667571f5be7e15be275a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3651793728710459076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356990685,"filename":"image_10072025_14_40_44_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2378a8cb1477a74d601a48ec7b7fdcf7.jpg","text":"TemporaryFile(/tmp/multipartBody139185459476723520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356990685,"filename":"image_10072025_14_40_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/87e5e4aed7a0a90c4d0356cff11516d8.jpg","text":"TemporaryFile(/tmp/multipartBody5516331952361627110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752356990685,"filename":"image_10072025_14_41_23_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948039","file1":"1371948037","file0":"1371948036","file4":"1371948043","file5":"1371948047","file3":"1371948042"},"map_files_photo_id_array":[{"photo_id":"1371948047","filename":"file5"},{"photo_id":"1371948039","filename":"file2"},{"photo_id":"1371948043","filename":"file4"},{"photo_id":"1371948037","filename":"file1"},{"photo_id":"1371948036","filename":"file0"},{"photo_id":"1371948042","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371948042":["hashtag1","hashtag2"]},{"1371948036":["hashtag1","hashtag2"]},{"1371948039":["hashtag1","hashtag2"]},{"1371948047":["hashtag1","hashtag2"]},{"1371948043":["hashtag1","hashtag2"]},{"1371948037":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371948042, 1371948036, 1371948039, 1371948047, 1371948043, 1371948037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16175556182861 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:49:32.529230
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/49/image_12072025_23_49_44_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/23/49/image_12072025_23_49_34_10623.jpg', 2), ('/home/nano/Desktop/images/12072025/23/49/image_12072025_23_49_14_10646.jpg', 2), ('/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/49/image_12072025_23_49_44_9605.jpg', '/home/nano/Desktop/images/12072025/23/49/image_12072025_23_49_34_10623.jpg', '/home/nano/Desktop/images/12072025/23/49/image_12072025_23_49_14_10646.jpg', '/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/49/image_12072025_23_49_44_9605.jpg
/home/nano/Desktop/images/12072025/23/49/image_12072025_23_49_34_10623.jpg
/home/nano/Desktop/images/12072025/23/49/image_12072025_23_49_14_10646.jpg
/home/nano/Desktop/images/12072025/23/48/image_12072025_23_48_54_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948057","1371948059","1371948056","1371948055"],"photo_ids_order":["1371948055","1371948056","1371948057","1371948059"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/551036f2dfb10bb4229e329fcab68585.jpg","text":"TemporaryFile(/tmp/multipartBody4048889329461496555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357033904,"filename":"image_12072025_23_49_14_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ce0ad4f6cca1dcc9f15ed62a149f336.jpg","text":"TemporaryFile(/tmp/multipartBody3002795706532715150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357033904,"filename":"image_12072025_23_48_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5ccf66b1ee6d707b1e630552f6f502f5.jpg","text":"TemporaryFile(/tmp/multipartBody8797828437110803286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357033904,"filename":"image_12072025_23_49_34_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/515b0bb545493ca5fad7756e110953d1.jpg","text":"TemporaryFile(/tmp/multipartBody1493508979993025620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357033904,"filename":"image_12072025_23_49_44_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948057","file1":"1371948056","file0":"1371948055","file3":"1371948059"},"map_files_photo_id_array":[{"photo_id":"1371948057","filename":"file2"},{"photo_id":"1371948056","filename":"file1"},{"photo_id":"1371948055","filename":"file0"},{"photo_id":"1371948059","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371948057":["hashtag1","hashtag2"]},{"1371948059":["hashtag1","hashtag2"]},{"1371948056":["hashtag1","hashtag2"]},{"1371948055":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371948057, 1371948059, 1371948056, 1371948055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.586575746536255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:50:03.209799
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_33_9617.jpg', 2), ('/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_24_9653.jpg', 2), ('/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_14_10652.jpg', 2), ('/home/nano/Desktop/images/10072025/14/39/image_10072025_14_40_03_9625.jpg', 2), ('/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_54_10645.jpg', 2), ('/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_43_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_33_9617.jpg', '/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_24_9653.jpg', '/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_14_10652.jpg', '/home/nano/Desktop/images/10072025/14/39/image_10072025_14_40_03_9625.jpg', '/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_54_10645.jpg', '/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_43_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_33_9617.jpg
/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_24_9653.jpg
/home/nano/Desktop/images/10072025/14/40/image_10072025_14_40_14_10652.jpg
/home/nano/Desktop/images/10072025/14/39/image_10072025_14_40_03_9625.jpg
/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_54_10645.jpg
/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_43_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948071","1371948074","1371948068","1371948076","1371948072","1371948075"],"photo_ids_order":["1371948068","1371948071","1371948072","1371948074","1371948075","1371948076"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c0825f20d7b95fd068fcfa25bde16f0.jpg","text":"TemporaryFile(/tmp/multipartBody318530740874483046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357067103,"filename":"image_10072025_14_40_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6280330d8181251dc4e4b7cc415943b3.jpg","text":"TemporaryFile(/tmp/multipartBody2653711410555644451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357067103,"filename":"image_10072025_14_40_03_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3da7b8b798decfe24164eedf97a5ee66.jpg","text":"TemporaryFile(/tmp/multipartBody2972434333612212201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357067103,"filename":"image_10072025_14_40_33_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3fd6492c36b0f7d120fc960f486d1fe7.jpg","text":"TemporaryFile(/tmp/multipartBody7736027717744541379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357067103,"filename":"image_10072025_14_39_43_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f5db6c08f8dc2f5da14d0b50b8d0ed56.jpg","text":"TemporaryFile(/tmp/multipartBody1857021967042484812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357067103,"filename":"image_10072025_14_40_14_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cbaa71d75f903738790abe6e4613a81c.jpg","text":"TemporaryFile(/tmp/multipartBody5338141267921125983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357067103,"filename":"image_10072025_14_39_54_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948072","file1":"1371948071","file0":"1371948068","file4":"1371948075","file5":"1371948076","file3":"1371948074"},"map_files_photo_id_array":[{"photo_id":"1371948076","filename":"file5"},{"photo_id":"1371948072","filename":"file2"},{"photo_id":"1371948075","filename":"file4"},{"photo_id":"1371948071","filename":"file1"},{"photo_id":"1371948068","filename":"file0"},{"photo_id":"1371948074","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371948071":["hashtag1","hashtag2"]},{"1371948074":["hashtag1","hashtag2"]},{"1371948068":["hashtag1","hashtag2"]},{"1371948076":["hashtag1","hashtag2"]},{"1371948072":["hashtag1","hashtag2"]},{"1371948075":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371948071, 1371948074, 1371948068, 1371948076, 1371948072, 1371948075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.86726927757263 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:50:47.691954
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/50/image_12072025_23_50_44_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/23/50/image_12072025_23_50_23_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/23/50/image_12072025_23_50_14_9639.jpg', 2), ('/home/nano/Desktop/images/12072025/23/49/image_12072025_23_50_04_10635.jpg', 2), ('/home/nano/Desktop/images/12072025/23/49/image_12072025_23_49_53_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/50/image_12072025_23_50_44_9605.jpg', '/home/nano/Desktop/images/12072025/23/50/image_12072025_23_50_23_9628.jpg', '/home/nano/Desktop/images/12072025/23/50/image_12072025_23_50_14_9639.jpg', '/home/nano/Desktop/images/12072025/23/49/image_12072025_23_50_04_10635.jpg', '/home/nano/Desktop/images/12072025/23/49/image_12072025_23_49_53_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/50/image_12072025_23_50_44_9605.jpg
/home/nano/Desktop/images/12072025/23/50/image_12072025_23_50_23_9628.jpg
/home/nano/Desktop/images/12072025/23/50/image_12072025_23_50_14_9639.jpg
/home/nano/Desktop/images/12072025/23/49/image_12072025_23_50_04_10635.jpg
/home/nano/Desktop/images/12072025/23/49/image_12072025_23_49_53_9618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948080","1371948086","1371948088","1371948082","1371948084"],"photo_ids_order":["1371948080","1371948082","1371948084","1371948086","1371948088"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8b8ad415dc115b85f5dfd5c4aca3d87.jpg","text":"TemporaryFile(/tmp/multipartBody7938757146639427472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357109413,"filename":"image_12072025_23_50_44_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9f291a0e37c8a4accc77e72c5428b76c.jpg","text":"TemporaryFile(/tmp/multipartBody8513942054229390333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357109413,"filename":"image_12072025_23_50_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c10c61085587d1bd07a933b51996081d.jpg","text":"TemporaryFile(/tmp/multipartBody1445310384745517074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357109413,"filename":"image_12072025_23_49_53_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7c1730df44398bdd84f1e00858ea42aa.jpg","text":"TemporaryFile(/tmp/multipartBody8104118007589299902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357109413,"filename":"image_12072025_23_50_23_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12a48a01279f292fa5a61302e866924e.jpg","text":"TemporaryFile(/tmp/multipartBody2552213288439043806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357109413,"filename":"image_12072025_23_50_14_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948084","file1":"1371948082","file0":"1371948080","file4":"1371948088","file3":"1371948086"},"map_files_photo_id_array":[{"photo_id":"1371948084","filename":"file2"},{"photo_id":"1371948088","filename":"file4"},{"photo_id":"1371948082","filename":"file1"},{"photo_id":"1371948080","filename":"file0"},{"photo_id":"1371948086","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371948080":["hashtag1","hashtag2"]},{"1371948086":["hashtag1","hashtag2"]},{"1371948088":["hashtag1","hashtag2"]},{"1371948082":["hashtag1","hashtag2"]},{"1371948084":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371948080, 1371948086, 1371948088, 1371948082, 1371948084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.344781398773193 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:51:16.829077
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_43_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_34_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_24_10624.jpg', 2), ('/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_14_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/23/50/image_12072025_23_51_04_9622.jpg', 2), ('/home/nano/Desktop/images/12072025/23/50/image_12072025_23_50_54_10624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_43_9604.jpg', '/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_34_9610.jpg', '/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_24_10624.jpg', '/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_14_9641.jpg', '/home/nano/Desktop/images/12072025/23/50/image_12072025_23_51_04_9622.jpg', '/home/nano/Desktop/images/12072025/23/50/image_12072025_23_50_54_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_43_9604.jpg
/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_34_9610.jpg
/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_24_10624.jpg
/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_14_9641.jpg
/home/nano/Desktop/images/12072025/23/50/image_12072025_23_51_04_9622.jpg
/home/nano/Desktop/images/12072025/23/50/image_12072025_23_50_54_10624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948095","1371948092","1371948091","1371948094","1371948096","1371948090"],"photo_ids_order":["1371948090","1371948091","1371948092","1371948094","1371948095","1371948096"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/076e8c573bd251bd83addcce44f1726a.jpg","text":"TemporaryFile(/tmp/multipartBody1567879713913961766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357138681,"filename":"image_12072025_23_51_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3e26a473f5108589360c4d1f4a019ab0.jpg","text":"TemporaryFile(/tmp/multipartBody6998244109430131823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357138681,"filename":"image_12072025_23_51_24_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9ee13aebfcefe897514a7d556b0165e2.jpg","text":"TemporaryFile(/tmp/multipartBody6526031736583244937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357138681,"filename":"image_12072025_23_51_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/35d43b7e9f6bcebd92ff1f7c98945e38.jpg","text":"TemporaryFile(/tmp/multipartBody5869210976649466906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357138681,"filename":"image_12072025_23_51_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/63598a1bde62426e842989056b6d257c.jpg","text":"TemporaryFile(/tmp/multipartBody5324301036679699678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357138681,"filename":"image_12072025_23_50_54_10624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f87468e68bb1498190b92e1e28bfbbbc.jpg","text":"TemporaryFile(/tmp/multipartBody3573138061358524666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357138681,"filename":"image_12072025_23_51_43_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948092","file1":"1371948091","file0":"1371948090","file4":"1371948095","file5":"1371948096","file3":"1371948094"},"map_files_photo_id_array":[{"photo_id":"1371948096","filename":"file5"},{"photo_id":"1371948092","filename":"file2"},{"photo_id":"1371948095","filename":"file4"},{"photo_id":"1371948091","filename":"file1"},{"photo_id":"1371948090","filename":"file0"},{"photo_id":"1371948094","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371948095":["hashtag1","hashtag2"]},{"1371948092":["hashtag1","hashtag2"]},{"1371948091":["hashtag1","hashtag2"]},{"1371948094":["hashtag1","hashtag2"]},{"1371948096":["hashtag1","hashtag2"]},{"1371948090":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371948095, 1371948092, 1371948091, 1371948094, 1371948096, 1371948090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.60382080078125 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:52:02.401165
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_33_9618.jpg', 2), ('/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_24_10611.jpg', 2), ('/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_13_9639.jpg', 2), ('/home/nano/Desktop/images/10072025/14/38/image_10072025_14_39_04_9608.jpg', 2), ('/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_54_10640.jpg', 2), ('/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_43_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_33_9618.jpg', '/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_24_10611.jpg', '/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_13_9639.jpg', '/home/nano/Desktop/images/10072025/14/38/image_10072025_14_39_04_9608.jpg', '/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_54_10640.jpg', '/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_43_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_33_9618.jpg
/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_24_10611.jpg
/home/nano/Desktop/images/10072025/14/39/image_10072025_14_39_13_9639.jpg
/home/nano/Desktop/images/10072025/14/38/image_10072025_14_39_04_9608.jpg
/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_54_10640.jpg
/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_43_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948114","1371948107","1371948116","1371948112","1371948115","1371948109"],"photo_ids_order":["1371948107","1371948109","1371948112","1371948114","1371948115","1371948116"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/b4c8ff64203cb0ec8b3538cd0adc0845.jpg","text":"TemporaryFile(/tmp/multipartBody2856322094670593499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357185691,"filename":"image_10072025_14_39_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/14145c61bc620cec0e4b0aa0dc661270.jpg","text":"TemporaryFile(/tmp/multipartBody4680737036787087167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357185691,"filename":"image_10072025_14_39_33_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e60dcc62616f7842ad7e2fc6995fedc2.jpg","text":"TemporaryFile(/tmp/multipartBody5068255352649016528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357185691,"filename":"image_10072025_14_38_43_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ebe90b5bba9c8ef040d7cc069a3682f6.jpg","text":"TemporaryFile(/tmp/multipartBody4310378900739419277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357185691,"filename":"image_10072025_14_39_13_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0243bf8f1e557e9be90bb8b5a73ff75f.jpg","text":"TemporaryFile(/tmp/multipartBody2733096623444252890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357185691,"filename":"image_10072025_14_38_54_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c8adf0558b6bc40dba7c3aad823c9922.jpg","text":"TemporaryFile(/tmp/multipartBody5956720605568460549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357185691,"filename":"image_10072025_14_39_24_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948112","file1":"1371948109","file0":"1371948107","file4":"1371948115","file5":"1371948116","file3":"1371948114"},"map_files_photo_id_array":[{"photo_id":"1371948116","filename":"file5"},{"photo_id":"1371948112","filename":"file2"},{"photo_id":"1371948115","filename":"file4"},{"photo_id":"1371948109","filename":"file1"},{"photo_id":"1371948107","filename":"file0"},{"photo_id":"1371948114","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371948114":["hashtag1","hashtag2"]},{"1371948107":["hashtag1","hashtag2"]},{"1371948116":["hashtag1","hashtag2"]},{"1371948112":["hashtag1","hashtag2"]},{"1371948115":["hashtag1","hashtag2"]},{"1371948109":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371948114, 1371948107, 1371948116, 1371948112, 1371948115, 1371948109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12376046180725 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:52:46.873791
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/52/image_12072025_23_52_33_9608.jpg', 2), ('/home/nano/Desktop/images/12072025/23/52/image_12072025_23_52_24_9606.jpg', 2), ('/home/nano/Desktop/images/12072025/23/52/image_12072025_23_52_14_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_54_10619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/52/image_12072025_23_52_33_9608.jpg', '/home/nano/Desktop/images/12072025/23/52/image_12072025_23_52_24_9606.jpg', '/home/nano/Desktop/images/12072025/23/52/image_12072025_23_52_14_10640.jpg', '/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_54_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/52/image_12072025_23_52_33_9608.jpg
/home/nano/Desktop/images/12072025/23/52/image_12072025_23_52_24_9606.jpg
/home/nano/Desktop/images/12072025/23/52/image_12072025_23_52_14_10640.jpg
/home/nano/Desktop/images/12072025/23/51/image_12072025_23_51_54_10619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948123","1371948119","1371948124","1371948121"],"photo_ids_order":["1371948119","1371948121","1371948123","1371948124"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e35af937c0f8ef2ac540c8c35d02d5ca.jpg","text":"TemporaryFile(/tmp/multipartBody3412958475335460589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357228295,"filename":"image_12072025_23_52_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2d04c3848965cebbd8b921e394c5ba6e.jpg","text":"TemporaryFile(/tmp/multipartBody2019355820768112408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357228295,"filename":"image_12072025_23_52_33_9608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/0d29b5633db0f80be482fcdd05f1b468.jpg","text":"TemporaryFile(/tmp/multipartBody3335516196794289922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357228295,"filename":"image_12072025_23_51_54_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/31596f741d39caeb688f0f6ac62dd4a0.jpg","text":"TemporaryFile(/tmp/multipartBody1621358318822661249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357228295,"filename":"image_12072025_23_52_24_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948123","file1":"1371948121","file0":"1371948119","file3":"1371948124"},"map_files_photo_id_array":[{"photo_id":"1371948123","filename":"file2"},{"photo_id":"1371948121","filename":"file1"},{"photo_id":"1371948119","filename":"file0"},{"photo_id":"1371948124","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371948123":["hashtag1","hashtag2"]},{"1371948119":["hashtag1","hashtag2"]},{"1371948124":["hashtag1","hashtag2"]},{"1371948121":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371948123, 1371948119, 1371948124, 1371948121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.850225925445557 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:53:16.970640
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_44_9609.jpg', 2), ('/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_24_9604.jpg', 2), ('/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_14_10640.jpg', 2), ('/home/nano/Desktop/images/12072025/23/52/image_12072025_23_53_03_9630.jpg', 2), ('/home/nano/Desktop/images/12072025/23/52/image_12072025_23_52_44_10618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_44_9609.jpg', '/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_34_10618.jpg', '/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_24_9604.jpg', '/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_14_10640.jpg', '/home/nano/Desktop/images/12072025/23/52/image_12072025_23_53_03_9630.jpg', '/home/nano/Desktop/images/12072025/23/52/image_12072025_23_52_44_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_44_9609.jpg
/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_34_10618.jpg
/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_24_9604.jpg
/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_14_10640.jpg
/home/nano/Desktop/images/12072025/23/52/image_12072025_23_53_03_9630.jpg
/home/nano/Desktop/images/12072025/23/52/image_12072025_23_52_44_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948135","1371948131","1371948134","1371948137","1371948136","1371948133"],"photo_ids_order":["1371948131","1371948133","1371948134","1371948135","1371948136","1371948137"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/956f4040701b68933422105139b8dbd4.jpg","text":"TemporaryFile(/tmp/multipartBody2741397115194304852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357258697,"filename":"image_12072025_23_53_14_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6e1875808ccb9d9d63ad38e84a7ac42c.jpg","text":"TemporaryFile(/tmp/multipartBody8055347240767601615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357258697,"filename":"image_12072025_23_53_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e03e5338936717b6729bf4f5f53f6324.jpg","text":"TemporaryFile(/tmp/multipartBody7010414361051874406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357258697,"filename":"image_12072025_23_53_24_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/34efcaf81f7e868da867c7b445790594.jpg","text":"TemporaryFile(/tmp/multipartBody2116579251458899776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357258697,"filename":"image_12072025_23_52_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/30a5d9cdbc1b106641aacb3a59e73b0b.jpg","text":"TemporaryFile(/tmp/multipartBody8877477605733616197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357258697,"filename":"image_12072025_23_53_03_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6dcb13baa115b141dba55bb273386c99.jpg","text":"TemporaryFile(/tmp/multipartBody3781608975321261646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357258697,"filename":"image_12072025_23_53_34_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948134","file1":"1371948133","file0":"1371948131","file4":"1371948136","file5":"1371948137","file3":"1371948135"},"map_files_photo_id_array":[{"photo_id":"1371948137","filename":"file5"},{"photo_id":"1371948134","filename":"file2"},{"photo_id":"1371948136","filename":"file4"},{"photo_id":"1371948133","filename":"file1"},{"photo_id":"1371948131","filename":"file0"},{"photo_id":"1371948135","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371948135":["hashtag1","hashtag2"]},{"1371948131":["hashtag1","hashtag2"]},{"1371948134":["hashtag1","hashtag2"]},{"1371948137":["hashtag1","hashtag2"]},{"1371948136":["hashtag1","hashtag2"]},{"1371948133":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371948135, 1371948131, 1371948134, 1371948137, 1371948136, 1371948133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.445818424224854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:54:03.070882
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_34_10631.jpg', 2), ('/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_23_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_13_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/14/37/image_10072025_14_38_04_10625.jpg', 2), ('/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_53_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_44_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_34_10631.jpg', '/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_23_9615.jpg', '/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_13_9651.jpg', '/home/nano/Desktop/images/10072025/14/37/image_10072025_14_38_04_10625.jpg', '/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_53_9614.jpg', '/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_44_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_34_10631.jpg
/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_23_9615.jpg
/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_13_9651.jpg
/home/nano/Desktop/images/10072025/14/37/image_10072025_14_38_04_10625.jpg
/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_53_9614.jpg
/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_44_9613.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.114994525909424 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:54:17.119507
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_44_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_34_9612.jpg', 2), ('/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_24_10615.jpg', 2), ('/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_14_9632.jpg', 2), ('/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_53_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_44_9616.jpg', '/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_34_9612.jpg', '/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_24_10615.jpg', '/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_14_9632.jpg', '/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_53_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_44_9616.jpg
/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_34_9612.jpg
/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_24_10615.jpg
/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_14_9632.jpg
/home/nano/Desktop/images/12072025/23/53/image_12072025_23_53_53_9615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948152","1371948155","1371948149","1371948154","1371948151"],"photo_ids_order":["1371948149","1371948151","1371948152","1371948154","1371948155"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23cd4cec8eaba35f3f09f592c41333b1.jpg","text":"TemporaryFile(/tmp/multipartBody8608186672535112625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357318549,"filename":"image_12072025_23_54_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/805d217ea8e1d506f291c8ebb3702658.jpg","text":"TemporaryFile(/tmp/multipartBody7305999127160009094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357318549,"filename":"image_12072025_23_53_53_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/cdb14865006c173351d2c29f4cf73a88.jpg","text":"TemporaryFile(/tmp/multipartBody3754876938775261429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357318549,"filename":"image_12072025_23_54_44_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7459d812a2b6b72edc4987d21e89443a.jpg","text":"TemporaryFile(/tmp/multipartBody1527541902060081441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357318549,"filename":"image_12072025_23_54_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ec6cf6b7473757d8a97b3a42ad4f128d.jpg","text":"TemporaryFile(/tmp/multipartBody3708144210540403523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357318549,"filename":"image_12072025_23_54_34_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948152","file1":"1371948151","file0":"1371948149","file4":"1371948155","file3":"1371948154"},"map_files_photo_id_array":[{"photo_id":"1371948152","filename":"file2"},{"photo_id":"1371948155","filename":"file4"},{"photo_id":"1371948151","filename":"file1"},{"photo_id":"1371948149","filename":"file0"},{"photo_id":"1371948154","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371948152":["hashtag1","hashtag2"]},{"1371948155":["hashtag1","hashtag2"]},{"1371948149":["hashtag1","hashtag2"]},{"1371948154":["hashtag1","hashtag2"]},{"1371948151":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371948152, 1371948155, 1371948149, 1371948154, 1371948151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.32232689857483 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:54:47.070419
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_34_10631.jpg', 2), ('/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_23_9615.jpg', 2), ('/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_13_9651.jpg', 2), ('/home/nano/Desktop/images/10072025/14/37/image_10072025_14_38_04_10625.jpg', 2), ('/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_53_9614.jpg', 2), ('/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_44_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_34_10631.jpg', '/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_23_9615.jpg', '/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_13_9651.jpg', '/home/nano/Desktop/images/10072025/14/37/image_10072025_14_38_04_10625.jpg', '/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_53_9614.jpg', '/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_44_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_34_10631.jpg
/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_23_9615.jpg
/home/nano/Desktop/images/10072025/14/38/image_10072025_14_38_13_9651.jpg
/home/nano/Desktop/images/10072025/14/37/image_10072025_14_38_04_10625.jpg
/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_53_9614.jpg
/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_44_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948161","1371948170","1371948164","1371948166","1371948169","1371948160"],"photo_ids_order":["1371948160","1371948161","1371948164","1371948166","1371948169","1371948170"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2e301910c259fd4e40e055345643e0f8.jpg","text":"TemporaryFile(/tmp/multipartBody4352564056661949809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357350222,"filename":"image_10072025_14_38_23_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/21720d143f73d60b59194cbfcb1f404a.jpg","text":"TemporaryFile(/tmp/multipartBody5219212113198751212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357350222,"filename":"image_10072025_14_37_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3c68057207dc83d2cc417545027f1a08.jpg","text":"TemporaryFile(/tmp/multipartBody4070161523058293556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357350222,"filename":"image_10072025_14_38_13_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/08b7c496ca96cd6ebacd113f1c00d17a.jpg","text":"TemporaryFile(/tmp/multipartBody3037306644273692541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357350222,"filename":"image_10072025_14_38_04_10625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/81cc4e46e6b2c54e239fce0478b12528.jpg","text":"TemporaryFile(/tmp/multipartBody6867237380271859278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357350222,"filename":"image_10072025_14_37_53_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/6184fe13b94b0491db13e8ee151f533d.jpg","text":"TemporaryFile(/tmp/multipartBody9077623987090714550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357350222,"filename":"image_10072025_14_38_34_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948164","file1":"1371948161","file0":"1371948160","file4":"1371948169","file5":"1371948170","file3":"1371948166"},"map_files_photo_id_array":[{"photo_id":"1371948170","filename":"file5"},{"photo_id":"1371948164","filename":"file2"},{"photo_id":"1371948169","filename":"file4"},{"photo_id":"1371948161","filename":"file1"},{"photo_id":"1371948160","filename":"file0"},{"photo_id":"1371948166","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371948161":["hashtag1","hashtag2"]},{"1371948170":["hashtag1","hashtag2"]},{"1371948164":["hashtag1","hashtag2"]},{"1371948166":["hashtag1","hashtag2"]},{"1371948169":["hashtag1","hashtag2"]},{"1371948160":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371948161, 1371948170, 1371948164, 1371948166, 1371948169, 1371948160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.459930658340454 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:55:32.170079
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_44_10620.jpg', 2), ('/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_34_9605.jpg', 2), ('/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_24_10632.jpg', 2), ('/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_13_9640.jpg', 2), ('/home/nano/Desktop/images/12072025/23/54/image_12072025_23_55_04_9641.jpg', 2), ('/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_54_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_44_10620.jpg', '/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_34_9605.jpg', '/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_24_10632.jpg', '/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_13_9640.jpg', '/home/nano/Desktop/images/12072025/23/54/image_12072025_23_55_04_9641.jpg', '/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_54_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_44_10620.jpg
/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_34_9605.jpg
/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_24_10632.jpg
/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_13_9640.jpg
/home/nano/Desktop/images/12072025/23/54/image_12072025_23_55_04_9641.jpg
/home/nano/Desktop/images/12072025/23/54/image_12072025_23_54_54_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948179","1371948173","1371948172","1371948177","1371948180","1371948174"],"photo_ids_order":["1371948172","1371948173","1371948174","1371948177","1371948179","1371948180"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/19026421a3240beabc56c235fde5def4.jpg","text":"TemporaryFile(/tmp/multipartBody932092143363043297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357394096,"filename":"image_12072025_23_55_04_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/411296dc15edbe48b2afecf3fa35bca8.jpg","text":"TemporaryFile(/tmp/multipartBody3776828231510925792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357394096,"filename":"image_12072025_23_55_34_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/e2da87c664fdf3cad78eae8948330edf.jpg","text":"TemporaryFile(/tmp/multipartBody2175606973892288336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357394096,"filename":"image_12072025_23_55_44_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/52957b453165f1ab180eee0940330025.jpg","text":"TemporaryFile(/tmp/multipartBody1452581541835888925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357394096,"filename":"image_12072025_23_55_13_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/fc04893faa5888daf316f4c8ba9ce83c.jpg","text":"TemporaryFile(/tmp/multipartBody1797071765003747402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357394096,"filename":"image_12072025_23_54_54_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d1b851cc412ca9de9e60242976c65904.jpg","text":"TemporaryFile(/tmp/multipartBody7575675607225109286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357394096,"filename":"image_12072025_23_55_24_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948174","file1":"1371948173","file0":"1371948172","file4":"1371948179","file5":"1371948180","file3":"1371948177"},"map_files_photo_id_array":[{"photo_id":"1371948180","filename":"file5"},{"photo_id":"1371948174","filename":"file2"},{"photo_id":"1371948179","filename":"file4"},{"photo_id":"1371948173","filename":"file1"},{"photo_id":"1371948172","filename":"file0"},{"photo_id":"1371948177","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371948179":["hashtag1","hashtag2"]},{"1371948173":["hashtag1","hashtag2"]},{"1371948172":["hashtag1","hashtag2"]},{"1371948177":["hashtag1","hashtag2"]},{"1371948180":["hashtag1","hashtag2"]},{"1371948174":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371948179, 1371948173, 1371948172, 1371948177, 1371948180, 1371948174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.734227657318115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:56:17.272571
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_44_10621.jpg', 2), ('/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_33_9616.jpg', 2), ('/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_24_9617.jpg', 2), ('/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_14_10638.jpg', 2), ('/home/nano/Desktop/images/12072025/23/55/image_12072025_23_56_04_9610.jpg', 2), ('/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_54_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_44_10621.jpg', '/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_33_9616.jpg', '/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_24_9617.jpg', '/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_14_10638.jpg', '/home/nano/Desktop/images/12072025/23/55/image_12072025_23_56_04_9610.jpg', '/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_44_10621.jpg
/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_33_9616.jpg
/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_24_9617.jpg
/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_14_10638.jpg
/home/nano/Desktop/images/12072025/23/55/image_12072025_23_56_04_9610.jpg
/home/nano/Desktop/images/12072025/23/55/image_12072025_23_55_54_9614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948336","1371948377","1371948478","1371948430","1371948310","1371948282"],"photo_ids_order":["1371948282","1371948310","1371948336","1371948377","1371948430","1371948478"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/f2321048769ceaf875f3c09824ca7c45.jpg","text":"TemporaryFile(/tmp/multipartBody3849044797046674179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357439110,"filename":"image_12072025_23_56_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/9d3d0964bf0e925f76490a5e571985dd.jpg","text":"TemporaryFile(/tmp/multipartBody9050397953582743337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357439110,"filename":"image_12072025_23_56_14_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/d6fabe8238efd638c68d028a07b61c57.jpg","text":"TemporaryFile(/tmp/multipartBody7392322534364021612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357439110,"filename":"image_12072025_23_55_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/aa6d25bae5c1147489fe414c00f2ad2f.jpg","text":"TemporaryFile(/tmp/multipartBody5456794989827391524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357439110,"filename":"image_12072025_23_56_04_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c6cc990f52999e2e990915df08811298.jpg","text":"TemporaryFile(/tmp/multipartBody1580940590279646657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357439110,"filename":"image_12072025_23_56_33_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/bb4ccb85e91d21f496dfee897c9dc026.jpg","text":"TemporaryFile(/tmp/multipartBody1073585494161205794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357439110,"filename":"image_12072025_23_56_44_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948336","file1":"1371948310","file0":"1371948282","file4":"1371948430","file5":"1371948478","file3":"1371948377"},"map_files_photo_id_array":[{"photo_id":"1371948478","filename":"file5"},{"photo_id":"1371948336","filename":"file2"},{"photo_id":"1371948430","filename":"file4"},{"photo_id":"1371948310","filename":"file1"},{"photo_id":"1371948282","filename":"file0"},{"photo_id":"1371948377","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371948336":["hashtag1","hashtag2"]},{"1371948377":["hashtag1","hashtag2"]},{"1371948478":["hashtag1","hashtag2"]},{"1371948430":["hashtag1","hashtag2"]},{"1371948310":["hashtag1","hashtag2"]},{"1371948282":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371948336, 1371948377, 1371948478, 1371948430, 1371948310, 1371948282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.65966033935547 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:57:02.846739
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24774034
  datou_current_id : 3262192
in upload_from_sqlite, uploading in 24774034
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_34_10628.jpg', 2), ('/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_23_9616.jpg', 2), ('/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_14_10633.jpg', 2), ('/home/nano/Desktop/images/10072025/14/36/image_10072025_14_37_03_9637.jpg', 2), ('/home/nano/Desktop/images/10072025/14/36/image_10072025_14_36_53_9605.jpg', 2), ('/home/nano/Desktop/images/10072025/14/36/image_10072025_14_36_44_10620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_34_10628.jpg', '/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_23_9616.jpg', '/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_14_10633.jpg', '/home/nano/Desktop/images/10072025/14/36/image_10072025_14_37_03_9637.jpg', '/home/nano/Desktop/images/10072025/14/36/image_10072025_14_36_53_9605.jpg', '/home/nano/Desktop/images/10072025/14/36/image_10072025_14_36_44_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3262192&datou=0
/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_34_10628.jpg
/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_23_9616.jpg
/home/nano/Desktop/images/10072025/14/37/image_10072025_14_37_14_10633.jpg
/home/nano/Desktop/images/10072025/14/36/image_10072025_14_37_03_9637.jpg
/home/nano/Desktop/images/10072025/14/36/image_10072025_14_36_53_9605.jpg
/home/nano/Desktop/images/10072025/14/36/image_10072025_14_36_44_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371948801","1371948825","1371948890","1371948940","1371948844","1371948852"],"photo_ids_order":["1371948801","1371948825","1371948844","1371948852","1371948890","1371948940"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/23ef29841e580a13ad029ed7dacfe218.jpg","text":"TemporaryFile(/tmp/multipartBody4894159956830478161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357486356,"filename":"image_10072025_14_37_34_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/3146cf17f060bcc94b5d820d3b00f139.jpg","text":"TemporaryFile(/tmp/multipartBody27427672277247969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357486356,"filename":"image_10072025_14_37_23_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2369eafb1653fc63d0f2ca5dbe9cf7b3.jpg","text":"TemporaryFile(/tmp/multipartBody5128105213769092505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357486356,"filename":"image_10072025_14_36_53_9605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/a6c33567847cc95f157b45175cf3806c.jpg","text":"TemporaryFile(/tmp/multipartBody1871903453317020263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357486356,"filename":"image_10072025_14_36_44_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/12b0ffa8cdbcf05b800821e7e18b02e4.jpg","text":"TemporaryFile(/tmp/multipartBody3091256662530846704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357486356,"filename":"image_10072025_14_37_14_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/7922c0539df0fef3acebe6fc632520f7.jpg","text":"TemporaryFile(/tmp/multipartBody8213367354490126438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357486356,"filename":"image_10072025_14_37_03_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371948844","file1":"1371948825","file0":"1371948801","file4":"1371948890","file5":"1371948940","file3":"1371948852"},"map_files_photo_id_array":[{"photo_id":"1371948940","filename":"file5"},{"photo_id":"1371948844","filename":"file2"},{"photo_id":"1371948890","filename":"file4"},{"photo_id":"1371948825","filename":"file1"},{"photo_id":"1371948801","filename":"file0"},{"photo_id":"1371948852","filename":"file3"}],"portfolio_id":24774034,"hashtag_by_photo_ids":[{"1371948801":["hashtag1","hashtag2"]},{"1371948825":["hashtag1","hashtag2"]},{"1371948890":["hashtag1","hashtag2"]},{"1371948940":["hashtag1","hashtag2"]},{"1371948844":["hashtag1","hashtag2"]},{"1371948852":["hashtag1","hashtag2"]}],"comms":"Portfolio 24774034 used, photo_id : ArrayBuffer(1371948801, 1371948825, 1371948890, 1371948940, 1371948844, 1371948852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74756383895874 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 30 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:57:47.404622
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_44_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_24_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_14_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_44_9623.jpg', '/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_34_10618.jpg', '/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_24_9626.jpg', '/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_14_9628.jpg', '/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_44_9623.jpg
/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_34_10618.jpg
/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_24_9626.jpg
/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_14_9628.jpg
/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_54_9626.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -P https -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-07-12 23:58:02.926760
  port_id : 24862864
  datou_current_id : 3273661
in upload_from_sqlite, uploading in 24862864
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250712 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_44_9623.jpg', 2), ('/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_34_10618.jpg', 2), ('/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_24_9626.jpg', 2), ('/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_14_9628.jpg', 2), ('/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_54_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_44_9623.jpg', '/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_34_10618.jpg', '/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_24_9626.jpg', '/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_14_9628.jpg', '/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_54_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=3273661&datou=0
/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_44_9623.jpg
/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_34_10618.jpg
/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_24_9626.jpg
/home/nano/Desktop/images/12072025/23/57/image_12072025_23_57_14_9628.jpg
/home/nano/Desktop/images/12072025/23/56/image_12072025_23_56_54_9626.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371949088","1371949084","1371949087","1371949083","1371949086"],"photo_ids_order":["1371949083","1371949084","1371949086","1371949087","1371949088"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/dbf0ddc7f9ad6f0b3d5975098e016775.jpg","text":"TemporaryFile(/tmp/multipartBody8978010597456128296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357544081,"filename":"image_12072025_23_56_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/2b64bd353a030563ffa47f634e24e878.jpg","text":"TemporaryFile(/tmp/multipartBody2488237216543084428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357544081,"filename":"image_12072025_23_57_34_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/5589a1484b71675f1bbe93aff78652bd.jpg","text":"TemporaryFile(/tmp/multipartBody4357275936905476644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357544081,"filename":"image_12072025_23_57_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/ded36cc95314583591548123433c2d17.jpg","text":"TemporaryFile(/tmp/multipartBody2701167781532545246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357544081,"filename":"image_12072025_23_57_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/12/c45bfc7f84475eb922a9d28cb48a4564.jpg","text":"TemporaryFile(/tmp/multipartBody8667059293865169616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752357544081,"filename":"image_12072025_23_57_24_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371949086","file1":"1371949084","file0":"1371949083","file4":"1371949088","file3":"1371949087"},"map_files_photo_id_array":[{"photo_id":"1371949086","filename":"file2"},{"photo_id":"1371949088","filename":"file4"},{"photo_id":"1371949084","filename":"file1"},{"photo_id":"1371949083","filename":"file0"},{"photo_id":"1371949087","filename":"file3"}],"portfolio_id":24862864,"hashtag_by_photo_ids":[{"1371949088":["hashtag1","hashtag2"]},{"1371949084":["hashtag1","hashtag2"]},{"1371949087":["hashtag1","hashtag2"]},{"1371949083":["hashtag1","hashtag2"]},{"1371949086":["hashtag1","hashtag2"]}],"comms":"Portfolio 24862864 used, photo_id : ArrayBuffer(1371949088, 1371949084, 1371949087, 1371949083, 1371949086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.77625823020935 secondes ---
